local Y=script.Parent local n=Y:WaitForChild("\072\117\109\097\110\111\105\100")local o=Y.Parent.Parent.Parent local C=o.EmoteID local b=Instance.new("\065\110\105\109\097\116\105\111\110")b.Parent=Y b.AnimationId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..C.Value
--//Setup//--
local NPC = script.Parent

local Humanoid = NPC:WaitForChild("Humanoid")

local EmoteButton = NPC.Parent.Parent.Parent
local EmoteID = EmoteButton.EmoteID

local Animation = Instance.new("Animation")
Animation.Parent = NPC
Animation.AnimationId = "rbxassetid://" .. EmoteID.Value
