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: Will this work?

Previous Thread :: Next Thread 
Vampyroteuthiss is not online. Vampyroteuthiss
Joined: 17 Jun 2010
Total Posts: 11541
01 Dec 2013 12:38 AM
Whats the error here? It is using some stuff I usually dont use like getchildren and functions like that.

--Nothing to see here

game.Players.PlayerAdded(connect:function(player)
if game.Players.findFirstChild("Vampyroteuthiss") then
print("Our Creator is here!")
end
else child = game.Workspace:GetChildren() then
child:Destoy()
print("All gone :3")
end)

Report Abuse
Vampyroteuthiss is not online. Vampyroteuthiss
Joined: 17 Jun 2010
Total Posts: 11541
01 Dec 2013 12:41 AM
I found an error. New one below.

--Nothing to see here

game.Players.PlayerAdded:connect(function(player)
if game.Players.findFirstChild("Vampyroteuthiss") then
print("Our Creator is here!")
else child = game.Workspace:GetChildren()
child:Destoy()
print("All gone :3")
end
end)

diggity dawg reportin 4 diggity dooty
Report Abuse
CodyTheBuildingKid is not online. CodyTheBuildingKid
Joined: 13 Dec 2011
Total Posts: 4399
01 Dec 2013 12:42 AM
game.Players.PlayerAdded:connect(function(player)
if player.Name == "Vampyroteuthiss" then
print("Our Creator is here!")
else child = game.Workspace:GetChildren()
for i,v in pairs(child) do v:Destroy() end
print("All gone :3")
end
end)
Report Abuse
Andrew1234567mmm is not online. Andrew1234567mmm
Joined: 14 Oct 2009
Total Posts: 691
01 Dec 2013 12:42 AM
game.Players:findFirstChild("Vampyroteuthiss")
Report Abuse
Vampyroteuthiss is not online. Vampyroteuthiss
Joined: 17 Jun 2010
Total Posts: 11541
01 Dec 2013 12:47 AM
Thanks cody

diggity dawg reportin 4 diggity dooty
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