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 |
|
|
|
| 06 Oct 2012 07:23 AM |
| needs to be >= for it to work |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 06 Oct 2012 08:10 AM |
@ shay
He can have brackets... |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 08:11 AM |
| can he? i never use them... |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 06 Oct 2012 08:58 AM |
@mark
You can also use the not operator. |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 06 Oct 2012 09:16 AM |
| @Dark, the answer is 25. :3 |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
| |
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 06 Oct 2012 09:28 AM |
| i got JL = -6x-13 probably wrong cause it made no sense to meh |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 09:29 AM |
| oh you asked what is JL last time... |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 06 Oct 2012 09:30 AM |
| Someone answer my equation >.> |
|
|
| Report Abuse |
|
|
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 |
|
|