Answered by
4 years ago Edited 4 years ago
you’re gonna have to use the Touched
event using this
01 | local Player = game.Players.LocalPlayer |
02 | local Character = Player.Character or Player.CharacterAdded:Wait() |
03 | local Dummy = game.Workspace.dummy |
05 | Dummy.Touched:Connect( function (hit) |
06 | if hit.Parent = = Character:FindFirstChild(“Humanoid”) then |
07 | local Animation = Instance.new(“Animation”) |
08 | Animation.AnimationId = “animation id” |
09 | local humanoid = Character:WaitForChild(“Humanoid”) |
10 | local AnimationTrack = humanoid:LoadAnimation(Animation) |