Any ideas why when I make an emote button, it’s a very slow and unenthusiastic emote? Any help appreciated.
local animPlaying = false
local player = game.Players.LocalPlayer
local character = player.Character
local hum = character:WaitForChild("Humanoid")
local emote = hum:LoadAnimation(script.Parent.Animation)
script.Parent.MouseButton1Click:Connect(function(player)
if animPlaying == false then
emote:Play()
character.HumanoidRootPart.Anchored = true
animPlaying = true
elseif animPlaying == true then
emote:Stop()
character.HumanoidRootPart.Anchored = false
animPlaying = false
end
end)