#How do I make an animation not return to the starting point? How do I follow it?
1 messages · Page 1 of 1 (latest)
local press = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://74660767484989"
local track = humanoid:LoadAnimation(animation)
press.InputBegan:Connect(function(input,stop)
if stop then return end
if input.KeyCode == Enum.KeyCode.H then
track:Play()
task.wait(3)
track:Stop()
end
end)
the script i use
- sry for qaulity
Try :Pause instead of :Stop
Unless that doesn't exist
yeah i banned him
lo