I'm trying to make an animation button, where once you press the button an animation will play, but i dont know why my script isn't working. This is what I have so far:
local emoteButton = script.Parent local player = game.Players.LocalPlayer local character = player.Character local humanoid = character:WaitForChild("Humanoid") local animation = humanoid:LoadAnimation(script.Animation) emoteButton.MouseButton1Click:Connect(function() animation:Play() end)
Just Watch This :D https://www.youtube.com/watch?v=p0Me0OmT1hQ