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
 

Less than and greater than help!

Previous Thread :: Next Thread 
Cautionary is not online. Cautionary
Joined: 07 Jun 2012
Total Posts: 5647
12 Apr 2014 02:27 PM
if player.leaderstats.Tokens.Value >= 8 and <= 16 then

i have no idea why its underlined in red
Report Abuse
devRaver is not online. devRaver
Joined: 08 Apr 2013
Total Posts: 531
12 Apr 2014 02:27 PM
if player.leaderstats.Tokens.Value >= 8 and player.leaderstats.Tokens.Value <= 16 then
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
12 Apr 2014 03:12 PM
^ What he said.
Report Abuse
youssef04 is not online. youssef04
Joined: 22 Jan 2011
Total Posts: 1745
12 Apr 2014 04:17 PM
You must define the stat instead of what 2 above said, do something like this:

Stat = Player.Leaderstats.Tokens.Value
if Stat = > 8 and Stat = < 16 then
print("YOU ARE GRANTED!")
PUT REST OF SCRIPT HERE.
Report Abuse
youssef04 is not online. youssef04
Joined: 22 Jan 2011
Total Posts: 1745
12 Apr 2014 04:18 PM
INGORE THE ONE ABOVE, THIS IS THE FIXED ONE

Stat = Player.leaderstats.Tokens.Value
if Stat = < 8 and Stat = > 16 then
print("YOU ARE GRANTED!")
PUT REST OF SCRIPT HERE.
Report Abuse
youssef04 is not online. youssef04
Joined: 22 Jan 2011
Total Posts: 1745
12 Apr 2014 04:19 PM
IGNORE ALL I SAID, HERE IS THE FIXED ONE.

Stat = Player.Leaderstats.Tokens.Value
if Stat > = 8 and Stat < = 16 then
print("YOU ARE GRANTED!")
PUT REST OF SCRIPT HERE.
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
12 Apr 2014 04:21 PM
Stat = Player.Leaderstats.Tokens
if Stat.Value > = 8 and Stat.Value < = 16 then
print("YOU ARE GRANTED!")
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