#How do i make a script to stop all animations playing 😠!?!?
155 messages · Page 1 of 1 (latest)
for i,v in ipairs(animator:GetPlayingAnimationTracks()) do
end
it returns animationtracks
What the sigma.
you can do v:Stop()
this is Lowkey, skibidi toilet.
rizz ohio
animator as in humanoid.Animator
i didnt even know :GetPlayingAnimationTracks() was a function
ACK it didnt work what am i doing wrong
im like extremely new to scripting and whatnot.... i put the script in a buttonlabel and i made it a local script and then i saved, should i do anything to fix it..?
nuh uh bcs idk what im doing 💔
add v:Stop() inside that function
also i suggest you maybe ermmm learn basic scripting
i am trying but i loose focus and info so quick.. i cant remember a single detail...
basically
practice
ive watched like 5000 tutorials and still dunno what im doing ...
** You are now Level 1! **
.
learning scripting isn't watching 10 videos and trying to memorise all of them
do you have adhd
i know
exactly
yes i think
my mum thinks i have it and i think i do too
💀
you haven't been diagnosed with it?
its so annoying to sit through a really boring tutorial where i forget everything within 2 minutes 
practice
No, so idk if i do have it or not but i think i might
so uhm.. how do i do that teehee......
based on your situation means you do have some kind of it
you know the code i sent
add v:Stop() in it
middle
like this?
you have to define animator
ye
make an instance called animator
okay :3
doesn't he have to add the animator
animator is added by default
or are animators in humanoid by default
all my games have animator added in manually
💀
humanoid:LoadAnimation() 😡
animator:LoadAnimation() 🙂
OH
i forgot to mention
im tryna make a gui button stop all animations when clicked
i forgot to mentaion that oopsie daisy
just add mouse button 1 up function
iiiii would if i knew how to
local char = game.Players.LocalPlayer.Character
what are u saying bro
help what am i doign!!!>!!?!?
he's saying it's a gui script
i hope he made it a local script
ok i did

no
do you not know how basic coding works
if you define something with something that no no exist
it no no work
i think i already said no. i dont.
I know absolutley nothing about scripting at all besides a little bit of printing and brick colours and whatever
i can sorta read scripts but i forget how to write them and what to do immiedelykefo,eks'
im just gonna go watch a tutorial even tho ive been looking for one for like an entire hour 💀 toodles!
what the skibidi is forum docs
** You are now Level 2! **
forums, docs
can i just copy and paste a full script bcs when someone gives me a script and doesnt add smth and doesnt tell me in detail what to do i get rly confused and i just wanna finish my game 💔
not like he's trying to make a triple a roblox game here
oh he needs a script that stops all animations
chat gpt sux
lemme ask chatgpt
he no no understand shit
and im not asking JUST you im just asking for one in general dood
if u dont got time just don do it and ill wait for someone else to help
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
-- Function to stop all animations
local function stopAllAnimations()
local animations = humanoid:GetPlayingAnimationTracks()
for _, animationTrack in pairs(animations) do
animationTrack:Stop()
end
end
-- Call the function to stop animations
stopAllAnimations()
also i tried already that shit did not work!
does that look like it'd work chat
local script
yeah it's chatgpt
okily dokily
but it should work
So do i make a local script, cnp the script in then finish? or do i need anything else?
nuh uh i wanna make a script where when i click a button it stops custom animations
im tryna make a rp game and the animations were going good till i got to the looping parts :'))
(looping parts as in, the animations that loop and dont stop)
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local button = script.Parent
function stopAllAnimations()
local animations = humanoid:GetPlayingAnimationTracks()
for _, animationTrack in pairs(animations) do
animationTrack:Stop()
end
end
button.MouseButton1Click:Connect(function()
stopAllAnimations()
end
```example
ooo oki
sorry for all the question btw but do i put that in a local script then finish up there or do i needa add anythin?
it should be a script inside your button
local script or normal script
local
okay :3
not like he told you 423924392349 times to make it local
can u actually stop being fucking rude dawg
like oooh sorry i forget things or dont realise they said smth scaryyy
how am i rude if i just point out facts
accept the truth!!!!
but seriously i didn't mean for it to offend you
ur literally saying shit like "are u dyslexic" or "not like he told u 4932894320 times blah blah" like read back on that?????/ maybe????? like how can u read that and think "oh yes this wont make anyone feel like its backhanded or rude at all!"
anywho
does it work now
because i dont have the same fucking brain as you of course iim not gonna view things the exact same as you
😔
also no it doesnt idk whats going on but im just gonna give up on it 💀
never gonna give you up!!
Im putting the local script into the button. Im cnping the script into the local script... and nothing happens
idk what to do anymore so i might just scrap the entire game its too stressfull for me 💀
lil rickroller 🦹
new rapper name
fr
already is
it doesn't stop animations?
no
i think my roblox is broken
All i wanted was a Buttonlabel that stops all animations when u click it dawg
that stops all animations on the person clicking it btw..
** You are now Level 3! **
if i make a textbutton in a label in gui thingy, get a local script and make it a child of a textbutton, copy and paste the script into the local script and touch NOTHING, will it... stop animations..
it should
OMG i asked the assisant thing on roblox to make the code and it worked...........
wild
thanks for the help guyz but somehow the roblox assisant won but thanksies anyways for helping ^_^!!!!!!!!!