I can't find information anywhere about this so I wanted to ask you guys to see if you know how to do it.
you’re gonna have to use the Touched
event using this
local Player = game.Players.LocalPlayer local Character = Player.Character or Player.CharacterAdded:Wait() local Dummy = game.Workspace.dummy Dummy.Touched:Connect(function(hit) if hit.Parent == Character:FindFirstChild(“Humanoid”) then local Animation = Instance.new(“Animation”) Animation.AnimationId = “animation id” local humanoid = Character:WaitForChild(“Humanoid”) local AnimationTrack = humanoid:LoadAnimation(Animation) AnimationTrack:Play() end end)