I have been trying to make animations for my game Parkour Centex and when I play the animations in the game at the end they come back to the place they started from. Here is a place where you could see the animation problem (The keys to play the anim are "f" and "q") : ** https://www.roblox.com/games/448233878/RBLX-Testing-Place**.

Script :

player = game.Players.LocalPlayer
mouse = player:GetMouse()

function KeyD(key)
	key = key:lower()
	hotkey = script.Hotkey
	local char = player.Character
	if key == hotkey.Value then 
		local dance = Instance.new("Animation")
		dance.AnimationId = "http://www.roblox.com/asset/?id=461193468"
		local animloader =char.Humanoid:LoadAnimation(dance)
		animloader:Play()
	end
end

mouse.KeyDown:connect(KeyD)

3 comments

0

And how should we fix it without the script ? xD

0

OK sure its a Keydown script.

0

You could just go to my place and see the animtions there