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
 

Script Help, Admin Script (Just one cmd, need help!)

Previous Thread :: Next Thread 
almsup is not online. almsup
Joined: 27 Nov 2012
Total Posts: 21
29 Dec 2013 05:11 PM
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
if msg.lower == "team randoms" or "team random" then
for i=1, #admins do
if admins[i]:lower() == newPlayer.Name:lower() then
local a = game.Players.NumPlayers
if a >= 2 then
local p = a / 2
game.Players.
end
end
end
end
end)
end)

_-Scriptin-_
-_Scriptin_-
Report Abuse
almsup is not online. almsup
Joined: 27 Nov 2012
Total Posts: 21
29 Dec 2013 05:12 PM
It's supposed to add how ever many players dived by two to 1 team, then the same amount to the other. (Red, Blue)
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
29 Dec 2013 05:13 PM
msg:lower()
Report Abuse
almsup is not online. almsup
Joined: 27 Nov 2012
Total Posts: 21
29 Dec 2013 05:14 PM
Well I know that, I was going to fix it, I need to know how to get it to add the number of players divided by two to a team
Report Abuse
almsup is not online. almsup
Joined: 27 Nov 2012
Total Posts: 21
29 Dec 2013 05:26 PM
No help here? Fine, i'll check with a group.
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