this is the code to destroy the animate script and activate the new one
function onPlayerRespawned(newPlayer)
while true do
if newPlayer.Character:findFirstChild("Animate")~=nil then break end
wait()
end
newPlayer.Character.Animate.Disabled = false
local c = script.Animate_:Clone()
c.Parent = newPlayer.Character
c.Disabled = false
newPlayer.Character.Animate.Disabled = true
end
newPlayer.Character.Animate_.Disabled = false
end
function onPlayerEntered(newPlayer)
newPlayer.Changed:connect(function (property)
if (property == "Character") then
onPlayerRespawned(newPlayer)
end
end)
end
game.Players.PlayerAdded:connect(onPlayerEntered)
the animate script is from this link ungroup it in studio to get script http://www.roblox.com/Animate-script-for-scripting-helpers-item?id=269571496

3 comments
put it in a code block.
okk
also i cant do the animate script one