local x=script.Parent local N=x:WaitForChild("\072\117\109\097\110\111\105\100")local J=x.Parent.Parent.Parent local T=J.EmoteID local X=Instance.new("\065\110\105\109\097\116\105\111\110")X.Parent=x X.AnimationId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..T.Value

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
