can someone teach me how to make an touchpad that someone will touch it and the animation will run on the npc
If you have a part in workspace called TouchPad and your NPC has a humanoid, this should work in a script inside the NPC:
local anim = Instance.new("Animation") anim.AnimationId = ""--enter id inside quotes workspace.TouchPad.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local track = script.Parent.Humanoid:LoadAnimation(anim) track.Priority = Enum.AnimationPriority.Action track:Play() end end)