How to MAKE Animations Play When A Part Gets Touched.. (Roblox Studio)

preview_player
Показать описание
🛠Thanks so much for watching, hope you guys have a great day! Subscribe 😎🛠

⌚Timed Chapters:

📝Tags:
#roblox #robloxstudio #lua #robloxstudiotutorial #tutorial #howto #robloxanimation

❓What is Roblox Studio?
🔎Roblox Studio lets you create anything and release with one click to smartphones, tablets, desktops, consoles, and virtual reality devices.

❓Who am I?
🔎I am a Roblox Studio, and Blender, Tutorial YouTuber that you should Subscribe to :)
Рекомендации по теме
Комментарии
Автор

local anim = script.Animation
local humanoid = script.Parent.Humanoid
local animTrack = humanoid:LoadAnimation(anim)

local debounce = nil


local player =
if player and debounce == nil then
debounce = true
animTrack:Play()
wait(1) -- Change this to however much time you want to wait until the animation can play again.
debounce = nil
end
end)

rustysillyband
Автор

Player: *touches random part*

Rig: *has a seizure*

lunar
Автор

For people who dont know how to find the id, when you make the id and publish it, dont press cancel and look at the thing below the name of the animation and youll see the id and you can write it on a paper or copy and paste

classicsonicsim
Автор

how to make the easiest basic jumpscare:

spongeroffical
Автор

Alright Guys If You Need To Do A Custom Avatar then heres The Steps:
add the animationcontroller into a humanoid you insert
make ur animation
insert a script the add an animation inside it
copy this script:
local anim = script.Animation
local humanoid = script.Parent.Humanoid
local animTrack = humanoid:LoadAnimation(anim)

local debounce = nil


local player =
if player and debounce == nil then
debounce = true
animTrack:Play()
wait(1) -- Change this to however much time you want to wait until the animation can play again.
debounce = nil
end
end)

make sure to change the part to your parts name

And Test it!

NOTJACKDOODS
Автор

Dude, thank you so much. I couldn't find out how to do this, but you made it easy. You are an absolute life saver thank you so much. you earned a subscriber

battlestevieonyt
Автор

You don’t know how helpful this video was, I’m just glad it was short and easy this is one of my favorite tutorials ever!

Jlian_VR
Автор

My brother has been wanting something like this forever. Thank you for a tutorial that is simple and makes sense 👍

zazmraz
Автор

Tip for beginners it looks better if the block is invisible

Tackiejuice
Автор

If anyones wondering how to make the person disapear after it's over, you need to place another part in the same spot as the animations player, and put this script in the part:


wait(6)

end)


Make sure to change the number after 'wait' to however long it takes to play the animation.

i was gonna ask how to do this, but i figured it out myself lol

AgentGilded
Автор

OMG DUDE YOU ARE SUCH A LIFE SAVER THANK YOU SO MUCH THIS WILL MAKE MY GAME 10X

Soosvr
Автор

I don’t even make roblox things I just okay it but it’s fun to watch these types of videos!

Polygonfella
Автор

I found this vid months ago and forgot to comment and like, thank you SO MUCH. Underrated fr!

tiamckay
Автор

Thank you I'm gonna start learning from you dude I really wanna get good at animation and start my own channel hopefully I learn fast

Yuri-not_real
Автор

thank you so much i actually needed this!!

YinTB
Автор

Cool! i just want to know how to make the player do the animation

deaththor
Автор

YO TYSM IT GOT STRAIGHT TO THE POINT IT WORKS

Duncan_TDA
Автор

Tip to everyone if it's not working:
Make sure you rename the "Part" in it to the part you want to use to trigger the animation
I named mine "CutscenePart"


ladybugbee
Автор

Thx man for this video, it was HELPFUL.

MelonMM-el
Автор

I am so glad I subscribed to you because now I get recommended awesome videos like this. Also, I'm a game dev so I should know this, but how do I enable the outline thing when hovering over something in studio?

StarLeaderX