This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local dummy = script.Parent | |
| local humanoid = dummy:WaitForChild("Humanoid") | |
| local root = dummy:WaitForChild("HumanoidRootPart") | |
| local Players = game:GetService("Players") | |
| local Debris = game:GetService("Debris") | |
| local RunService = game:GetService("RunService") | |
| local atkRange = 5 | |
| local chaseRange = 40 |