trying to put an animation to the player it when u touch it.
Heres the script:
local debounce = false function onTouch(part) local human = part.Parent:findFirstChild("Humanoid") if (human ~= nil) and debounce == false then debounce = true human.WalkSpeed = 25-- or whatever number human.JumpPower = 150 game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) wait() print("Animations Changing") if Character:findFirstChild("Animate") then Character.Animate.idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=295233235" Character.Animate.idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=295233235" end end) end) wait(2) debounce = false end end script.Parent.Touched:connect(onTouch)