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: Can I use => ?

Previous Thread :: Next Thread 
leperdy is not online. leperdy
Joined: 07 Dec 2008
Total Posts: 1406
06 Oct 2012 07:02 AM
I am trying to make a gui script that checks what the players level is, and if its greater then a certain level it grants them passage to the rest of the script How ever I have been getting errors while trying to do so. Please take a look and reply. Please note that the following code is just one line of a larger script.
The line of code:

if (Level.Value => 2) then

The output:

Players.Player1.PlayerGui.ShopGui.SetV:8: ')' expected near '='
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 07:23 AM
needs to be >= for it to work
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 07:24 AM
also remove brackets
Report Abuse
mark298 is not online. mark298
Joined: 24 Oct 2008
Total Posts: 1264
06 Oct 2012 07:35 AM
Yeah, Its >= and <=. Not with the Equals in front.
Like ~= means it doesn't equal this.
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
06 Oct 2012 08:10 AM
@ shay

He can have brackets...
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 08:11 AM
can he? i never use them...
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
06 Oct 2012 08:57 AM
Parentheses are really important.

Ex)

2 + 3 * 5

That could be hard to follow.

(2 + 3) * 5

I now know the answer is 20.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Oct 2012 08:58 AM
@mark

You can also use the not operator.
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 09:07 AM
i know how to do maths...
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
06 Oct 2012 09:15 AM
@Shay
Basic algebra :D :
J is the midpoint of KL
if KJ = 5x - 3 and
KL = 4x + 7
What is JL?
Also include x in your answer :o
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
06 Oct 2012 09:16 AM
@Dark, the answer is 25. :3
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 09:18 AM
im in year 10 taking higher teir paper with non stop algerbraic formulations for my GSCE, i think i know what algebra is
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
06 Oct 2012 09:19 AM
Then solve it? :o!!!
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Oct 2012 09:21 AM
3,9,27...

Solve for the 31 term.

Show me your work.

This is so far my favorite equation in my algebra class. Solve, go!
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 09:22 AM
have you drawn it out as a triangle or what, you don't describe well enough in you question
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
06 Oct 2012 09:23 AM
@Miz,
Me or him? :C
I understand basic algebra, but right now I'm studying geometry, like Angle Bisector Theorem and stuff (Hate Angle Bisector Theorem :( )
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Oct 2012 09:23 AM
Answer me.
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 09:25 AM
you mama... so you using angular equations so KL would be a line between Point K and Point L
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
06 Oct 2012 09:27 AM
"@Shay
Basic algebra :D :
J is the midpoint of KL
if KJ = 5x - 3 and
KL = 4x + 7
What is JL?
Also include x in your answer :o"

For me it looked more like geometry, but what ever:

2(5x-3) = 4x+7
10x - 6 = 4x + 7
10x - 4x = 7 + 6
6x = 13 |:6
x = 2.2 --Rounded it, coz i be to lazey :P

JL = KJ = 5*2.2-3 = 7,8
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
06 Oct 2012 09:27 AM
I'll draw it out :P



K_____________J_____________L
You have to find KL with JL and KJ
You do only need one for this, technically, but you would not be able to find x without the other one, so my question is:
What is KL? :D
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 09:28 AM
i got JL = -6x-13 probably wrong cause it made no sense to meh
Report Abuse
shaythegoon is not online. shaythegoon
Joined: 18 Jul 2010
Total Posts: 630
06 Oct 2012 09:29 AM
oh you asked what is JL last time...
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
06 Oct 2012 09:30 AM
@Zars,
How I do it:
KJ = JL, so
5x - 3 = 4x + 7
5 - 4 = 1
3 + 7 = 10
10/1 = 10
x = 10
5*(10) = 50 - 3 = 47
4*(10) = 40 + 7 = 47
47*2 = 94
KL = 94 :o
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Oct 2012 09:30 AM
Someone answer my equation >.>
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
06 Oct 2012 09:30 AM
I messed that up in the last part, I meant KL, sorry o.O
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