I tried so hard, but I didn't get it at all, can someone help me? What did I do: In StarterGui > ScreenGui > TextButton > LocalScript > Animation In LocalScript:

wait(3)
local Player = game.Players.LocalPlayer.Character
local animation1 = Player.Humanoid:LoadAnimation(script.Animation1)
local CanEmote = true

script.Parent.MouseButton1Click:Connect(function()
	local emote = math.random(1,1)
	if emote == 1 and CanEmote == true then
		animation1:play()
		CanEmote = false
		wait(2)
		CanEmote = true
	end
end)