How to Script CUSTOM ANIMATIONS in Roblox Studio (BEGINNER FRIENDLY)
Вставка
- Опубліковано 29 вер 2024
- In this video, I teach you how to script an animation that will play whenever a user presses a key or sends a chat message in roblox. Scripting this kind of animation on key press or chat message sent is a very simple task, as you'll see in this roblox video.
Twitter: / script_ing
hi, i typed in the script from the video. I may need some tips
thats not seconds, that's frames and every second is 30 frames
How do you make it so you have to dubbletap w to play the animation
if youre trying to do the running script thing, im also here 😭
What if i want my NPC to do animation and not me? pls help, i was making the game and my npc haves one animation from start, when i open the door i want my NPC to have another animation, what should i code then 😢
Then make it as maybe a idle check his other vid
I tried everything it never works, I've been trying all day & I did everything step by step but I just feel like there's something wrong with my studio. I was wondering if you have any suggestions to help make this work.
Hi. What are you confused about? It could be that the animation is not owned by you
Roblox requires you to own the animation before you can use it
What do you type if you want the key what you press for the animation space?
Good question. I believe can do
if key:byte() == 30 then
please write the script in comments or description :c @@scripting
what if you want to use the mouse button instead of a key?
Use
player:GetMouse().Button1Down:Connect
Instead of the mouse.KeyDown:Connect
@@scripting what about the if statement?
it keeps stopping the animation in game how do i loop it
Turn on Looped in the animation editor. I will upload a video to help you with this soon. Make sure you’re subscribed
alright ill trust you
What if you've already got the animation as a child in the script? Or is that bad practice?
Should be fine
what if you want to punch to do damage
That’s for a new video 😊
could you do a video that playes a block animation and then allows it to block a punch? i haven't seen anything on that@@scripting
roblox devs on their way making money off of toxic emotes
It happens. I’m just here to educate!
local anim = player.Character.Humanoid:LoadAnimation(animation)