generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: AB error

Previous Thread :: Next Thread 
ownage8941 is not online. ownage8941
Joined: 29 Dec 2010
Total Posts: 735
16 Sep 2011 01:09 PM
Player = ownage8941
while true do
if game.Workspace.findfirstchild("Player") == false then
game.Players.Findfirstchildren:Remove()
end
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
16 Sep 2011 01:13 PM
Fail.. here fix:

player = "ownage8941"
while wait() do
if game.Players:FindFirstChild(player) == nil then
game.Players:GetChildren():Remove()
end
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
16 Sep 2011 01:15 PM
You tried looking for something named "Player", as it was a string..

Perhaps..

Player = "ownage8941"

while wait() do
if not game.Workspace.FindFirstChild(Player) then
local z = game.Players:GetChildren()
for i=1, #z do
z[i]: Remove()
end
end
end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image