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 » Scripters
Home Search
 

Re: Admin Chatted

Previous Thread :: Next Thread 
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
29 Aug 2015 03:33 PM
elseif string.sub(msg,1,8):lower() == "kill>all" then
local GetPlayers = game.Players:GetChildren()
PlayerCount = #GetPlayers do
GetPlayers[PlayerCount].Character.Humanoid.Health = 0
--kill everyone
end

why arent you working.. :(, no errors in console
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
29 Aug 2015 03:43 PM
Helpful bump
Report Abuse
TwelthTitan is not online. TwelthTitan
Joined: 17 Jan 2015
Total Posts: 198
29 Aug 2015 03:45 PM
so by the looks of it you are making an admin.
is there any crashes before that certain piece starts? like a wait() to stop it crashing etc


:nbc me, omg
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
29 Aug 2015 03:46 PM
Yes there is.
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
29 Aug 2015 03:47 PM
Im actually the stupidest person on this forum and did something in a previous part of the script to edit some values so it wouldnt work... /thread,
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
29 Aug 2015 03:48 PM
Nevermind, didnt fix the problem
Report Abuse
DefineCode is not online. DefineCode
Joined: 09 Apr 2012
Total Posts: 1060
29 Aug 2015 04:31 PM
elseif msg:sub(1,8):lower() == "kill>all" then
for _,Player in pairs(game.Players:GetPlayers()) do
Player.Character.Humanoid.Health = 0
end
end
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
29 Aug 2015 08:42 PM
Didnt work... :/
Report Abuse
DefineCode is not online. DefineCode
Joined: 09 Apr 2012
Total Posts: 1060
29 Aug 2015 10:58 PM
Then it is a problem with another part of your code.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
29 Aug 2015 11:00 PM
Put if above the string.sub(blah, 1, 5):lower() == "kill>" :]
Report Abuse
Bobafettisawesome29 is not online. Bobafettisawesome29
Joined: 11 Aug 2015
Total Posts: 126
29 Aug 2015 11:00 PM
elseif msg:sub(1,8):lower() == "kill>all" then
for _,Player in pairs(game.Players:GetPlayers()) do
Player.Character:BreakJoints()
end
end

???
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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