The Animations Won't play after I clone the gui to the playergui and I need help im trying to make a gamepass if someone owns it only that person can see it.
Any reasons why it won't work after I respawn?
local player = game.Players.LocalPlayer
local character = player.Character
repeat wait()
character = player.Character
until character
local hum = character:FindFirstChildOfClass("Humanoid")
local animator = hum:WaitForChild("Animator")
local emote = animator:LoadAnimation(script.Parent.Emote1)
playing = false
script.Parent.MouseButton1Click:connect(function()
if playing == false then
emote:Play()
hum.WalkSpeed = 0
hum.JumpPower = 0
playing = true
