|
| 27 Mar 2017 11:50 PM |
game.Workspace.ChildAdded:connect(function(child) wait(1) if child.Parent == workspace then child:remove() end end)
I checked explorer and it shows it being in PlayerHolder but it's removing it?
R$0 |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Mar 2017 11:53 PM |
wait() local i1 = Instance.new("Folder", workspace) i1.Name = ("PlayerHolder")
R$0 |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2017 11:56 PM |
Any instance that is added to game.Workspace will fire that function. If the folder 'PlayerHolder' is added while the event is being ran, it will be removed.
|
|
|
| Report Abuse |
|
|
|
| 28 Mar 2017 12:01 AM |
Oh thanks, what am I even thinking lol
I changed it to
script.Name = math.random() repeat wait(0.001) until workspace:FindFirstChild("PlayerHolder") game.Workspace.ChildAdded:connect(function(child) wait(0.362) if child.Parent == workspace then child:remove() end end)
R$10,592 |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
| |
|