Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't bot target team player?

Asked by 4 years ago
Edited 4 years ago

I am trying to get a bot to target a player on a specific team. The output prints test2 with no errors. Please help me fix lines 51 - 57.

001local range = 75
002 
003wait(.1)
004local ammo=29
005local w=.14
006local r=false
007local t=script.Parent
008Spawn(function()
009    local c=t:Clone()
010    wait(1)
011    t.Humanoid.Died:wait()
012    script.Parent.Handle:Destroy()
013    local waiting = math.random(3, 7)
014    wait(waiting)
015    c.Parent=workspace
View all 121 lines...

1 answer

Log in to vote
0
Answered by 4 years ago

Fixed it myself.

Ad

Answer this question