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: A Self Destruct Script Need Help

Previous Thread :: Next Thread 
Profucious is not online. Profucious
Joined: 28 May 2012
Total Posts: 6087
23 Jun 2012 10:28 PM
So as a security method, I want the entire server, to self destruct after 2 minutes, UNLESS, your are one of the following people: SantaCruz81, Profucious, hi765. Here is what I have so far: (If you can improve please do!)

HR = {"hi765","Profucious","SantaCruz81"}

Game.Players.PlayerAdded:connect(function(Player)
Player.CharacterAdded:connect(function(Char)
for i = 1, #HR do
if string.lower(HR[i]) == string.lower(Player.Name) then

wait(120)

elseif game.Workspace:getChildren.Part.Anchored = false
then
instance.new.("Explosion").Part
end
end
end


function onEntered(player)

I am stuck on how to explode the parts AFTER they are unanchored, killing any trespassers. Thanks!
Report Abuse
Profucious is not online. Profucious
Joined: 28 May 2012
Total Posts: 6087
23 Jun 2012 10:53 PM
Some help please?
Report Abuse
SantaCruz81 is not online. SantaCruz81
Joined: 21 Nov 2010
Total Posts: 5331
23 Jun 2012 11:11 PM
Would I have to re-write the script entirely or what? Or is this entire forum just a massive *facepalm*
Report Abuse
Profucious is not online. Profucious
Joined: 28 May 2012
Total Posts: 6087
24 Jun 2012 12:25 PM
Bump.
Report Abuse
Profucious is not online. Profucious
Joined: 28 May 2012
Total Posts: 6087
24 Jun 2012 01:37 PM
Why won't anyone help me. D:
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