local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://35154961"
local track = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
local HeadThrowACTIVE = false
HeadThrow.MouseButton1Click:connect(function()
HeadThrowACTIVE = not HeadThrowACTIVE
if HeadThrowACTIVE then
HeadThrow.BackgroundColor3 = loc
while wait() do
if track.IsPlaying == false then
if HeadThrowACTIVE then
track:Play(.1, 1, 1)
end
end
end
else
track:Stop()
HeadThrow.BackgroundColor3 = col
end
end)
To embed this project on your website, copy the following code and paste it into your website's HTML: