#bug animation
1 messages · Page 1 of 1 (latest)
can't you just do animaton:stop() in the same function that deletes the bed
Or use a remote event to connect the bed delete and the anim
okayy i will tryy
how do i do this
no...
They're essential
You should learn
It will worth your time
(If you're an scripter)
yea im
thx brotha
bro
i don't understand
i don't find the fonction to destroy the bed
@sturdy coral
can you show the script
im not sure 100% sure but if loaded then might be stopping it?
idk bro im stuck :/
i can try to just put the animation stop at the end
nahh not working
@sturdy coral how can fix my problem :C
i copied the script and tool in studio and it works for me. so can you show me your explorer for the tool?
can you send the model ? so i test in priv
this is literally all i did
cant you just insert the model into the tool and weld it
uhh
** You are now Level 7! **
can you friend minionkim on roblox? i need to be a firend to share a model
okok suree
ok you should have permission now
i didnt weld eeverything but it works enough to give you the idea
can you see it now?
can you show the script for the green thing that gets rid of your tool then?
if the item is deleted the script doesnt detect it as an unequip
can you show the next 27 lines
click on this arrow to see more
local function onChildRemoved(child)
if child:IsA("Tool") then
for i, animation in pairs(Humanoid:GetPlayingAnimationTracks()) do
if animation.Name == "Idle" then animation:Stop() end -- Name animations same as tools
end
end
end
Character.ChildRemoved:Connect(onChildRemoved)
where do i put this
in a local script in starterplayer. thats where the script you gave me was right?
also replace "Idle" witht hename of the animator
this is for the green part (sell) in serverScriptService
** You are now Level 6! **
the name of my animator is "Animation" if yours is different replacce the line i mentioned earlier
make another local script inside startercharacter
you gived me only the next part
local Players = game:GetService("Players")
local lp = Players.LocalPlayer
local char = lp.Character or lp.CharacterAdded:Wait()
local humanoid = char:FindFirstChildOfClass("Humanoid")
-- Helper to get character and humanoid
local function onChildRemoved(child)
if child:IsA("Tool") then
for i, animation in pairs(humanoid:GetPlayingAnimationTracks()) do
if animation.Name == "Animation" then animation:Stop() end -- Name animations same as tools
end
end
end
char.ChildRemoved:Connect(onChildRemoved)
nice
