Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I have made a script but its only works in test mode. Can you please help me?

I have made a script but its only works in test mode. Please help me. This is the Script: wait(0.01) local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:wait() local animate = character.Animate local mouse = player:GetMouse() -------EDIT ONLY THESE THINGS BELOW!!!! animate.jump.JumpAnim.AnimationId = "rbxassetid://850697034" -- Jumping --

1 comment

0

Is it a local script located in StarterGui ?

1 answer

wait(0.01)
game.Players.PlayerAdded:connect(function(p)
	local Animate = p.Character.Animate
	local mouse = p:GetMouse()
	animate.jump.JumpAnim.AnimationId = "rbxassetid://850697034" 
end)

I hope this works.. I haven't used the animate function in a long time..

This discussion is preserved as it was. New answers, comments, and votes are closed.