Skip to content

Instantly share code, notes, and snippets.

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