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: Value Help

Previous Thread :: Next Thread 
SilentSippycup is not online. SilentSippycup
Joined: 22 Apr 2012
Total Posts: 1168
24 Aug 2015 01:31 PM
Ok, so I am making a game where I have a specific area where a goalie can go and every other player on the field cannot. I have a bool called "isGoalie" and is by default set to false. then, the area checks onTouched players and if they aren't a goalie, they are teleported to a point outside of the area. i got the teleport part to work but I have no idea how to check the bool before teleporting the players. the bool is under player.storage.isGoalie.

how would i get the value? would i do this:

h is the player that the teleport is detecting

h.storage.isGoalie.Value == true

???
Report Abuse
SilentSippycup is not online. SilentSippycup
Joined: 22 Apr 2012
Total Posts: 1168
24 Aug 2015 01:39 PM
https://gyazo.com/efe4cc9b2c5dc60b5b7c668c995e53c7
Report Abuse
SilentSippycup is not online. SilentSippycup
Joined: 22 Apr 2012
Total Posts: 1168
24 Aug 2015 01:41 PM
the reason i put the isGoalie inside of storage is because i plan to have much more in storage and i wanna keep it all in one place
Report Abuse
Vortilis is not online. Vortilis
Joined: 06 Jul 2014
Total Posts: 14163
24 Aug 2015 01:50 PM
touchended()
Report Abuse
SilentSippycup is not online. SilentSippycup
Joined: 22 Apr 2012
Total Posts: 1168
24 Aug 2015 01:52 PM
thanks
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