Run it
Copy the script and paste it into your executor.
--Make sure you put what zone you in example: if your at the Start you put Zone_1
local Z = workspace:WaitForChild("ZoneContainer"):WaitForChild("Zone_2"):WaitForChild("DummyContainer")
local Player = game:GetService("Players").LocalPlayer
local Char = Player.Character or Player.CharacterAdded:Wait()
_G.auto = true
local Zx = Z:GetChildren()
if #Zx > 0 then
local ran = Zx[(math.random(1, #Zx))]
Char:MoveTo(ran.Dummy.HumanoidRootPart.Position)
while _G.auto == true do
task.wait(0.001)
local At = ran:GetAttribute('RealHealth')
if At == 0 then print('dummy died')
args = {ran,}
:():():():():():():():():():((args))
Its a prototype for like an event game it basically just picks a random NPC inside DummyContainer and the player moves to one of the NPC's and attacks it with a remoteevent