This is a script I made in which the character will move 5 studs forward. The problem is the character will go back to where it was. Please help, thank you! <3

script.Parent.Equipped:Connect(function(mouse)
	mouse.Button1Down:Connect(function()
		local slash = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Slash)
		slash:Play()		
	end)
end)