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: gskdfkgks

Previous Thread :: Next Thread 
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
24 Jul 2012 10:38 PM
Well then. Would this work, and is this how you're supposed to do this?
-------------------
p = game.Players.GetPlayers()
if p.isH|tman = true then
lbfkvbkdfgkdf
-------------------
I'm just wondering, is that how you can check all the players to see if one of them is enabled, then if it is it does what I please. Would that work?
Report Abuse
SpleenYanks is not online. SpleenYanks
Joined: 24 Aug 2008
Total Posts: 921
24 Jul 2012 10:40 PM
for i,Player in next, game:service("Players"):GetPlayers() do
if Player.isH|tman == true then
--Wutever here
end
end
Report Abuse
BobbyisLOLZ is not online. BobbyisLOLZ
Joined: 17 Aug 2010
Total Posts: 8045
24 Jul 2012 10:43 PM
When making a if statement, you have to have two = signs
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
24 Jul 2012 10:59 PM
@Bobby, says the guy who put 'a' before 'if'.
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
24 Jul 2012 11:41 PM
@Spleen
Output:
Workspace.tehchooser:2: 'then' expected near '|'
Edited script:
for i,Player in next, game:service("Players"):GetPlayers() do
if Player.isH|tman == true then
print("Script is working succesfully. Good job!")
end
end
-----------------------------------------------------------
-=Robo=-
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
24 Jul 2012 11:47 PM
Strings in Roblox objects cannot take special characters such as:
|
£
☼
♠
etc.
Report Abuse
thek00lkid is not online. thek00lkid
Joined: 18 Jun 2011
Total Posts: 2778
24 Jul 2012 11:50 PM
'Tis a shame.

◘_•
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