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: why isnt this working...

Previous Thread :: Next Thread 
SpecSlayer is not online. SpecSlayer
Joined: 03 Dec 2011
Total Posts: 19969
06 Mar 2014 09:59 PM
admin = { "SpecSlayer","StormTamer" }
game.Players.PlayerAdded:connect(function(nP)
for _,v in pairs(admin) do
if nP.Name == v then
nP.Chatted:connect(function(msg)
if msg == "!load REAPER" then
x = game.Lighting.Reaper:Clone()
game.StarterPack.Children:remove()
M = Instance.new("Message")
M.Parent = game.Workspace
M.Text = "RCL LOADED"
wait(0.1)
x.Parent = game.StarterPack
wait(2)
M:Remove()
end
end)
end
end
end)

- [WIJ] SpecSlayer
Report Abuse
Adam335 is not online. Adam335
Joined: 19 Feb 2011
Total Posts: 21464
06 Mar 2014 09:59 PM
"for _,v in pairs(admin) do"

I'm not sure I'm right about this, but wouldn't it be;
for i,v in pairs(admin) do
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
06 Mar 2014 10:00 PM
Output?

●▂▂●
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
06 Mar 2014 10:02 PM
First off:
game.StarterPack.Children:remove()

"Children" is not a member
game.StarterPack:ClearAllChildren()
Works
Also,are you intending on killing everyone afterwards?because it won't be in theirbackpacks till they reset..
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