--//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
