|
| 14 May 2012 09:51 PM |
How do you create a pokemon GUI where you have to be on a specific level to become that pokemon?
Ex: you must be on level 50 to become Mewtwo.
I have the normal GUI where you don't have to be on a level to become them... |
|
|
| Report Abuse |
|
|
|
| 14 May 2012 09:55 PM |
What the heck is a "Mewtwo".
Answer to Your Problems: wiki.roblox.com |
|
|
| Report Abuse |
|
|
|
| 14 May 2012 09:56 PM |
| lol really? you don't know what is it? & thanks. |
|
|
| Report Abuse |
|
|
|
| 14 May 2012 10:00 PM |
| Sounds like some kind of Insect, or a Footpolish Company |
|
|
| Report Abuse |
|
|
lalola3
|
  |
| Joined: 23 Nov 2008 |
| Total Posts: 1035 |
|
| |
|
Twala
|
  |
| Joined: 01 Nov 2008 |
| Total Posts: 6799 |
|
|
| 14 May 2012 10:03 PM |
Something to the effect of
if player.Level.Value == 50 then canPlay == true
Then when they actually click the Gui, It checks if canPlay == true |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 15 May 2012 05:03 PM |
| the script is very long, you won't read it all...I can make it into a model if you wish. |
|
|
| Report Abuse |
|
|
| |
|
bluepen16
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1870 |
|
|
| 16 May 2012 08:59 PM |
@, Twala
"if player.Level.Value >= 50 then canPlay == true"
You needed the >= for equal to or greater than. Otherwise it'd have to be the exact level with ==. |
|
|
| Report Abuse |
|
|
|
| 16 May 2012 09:03 PM |
| @ bluepen16, can I add that anywhere to the script? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
juriaan
|
  |
| Joined: 25 Nov 2008 |
| Total Posts: 939 |
|
|
| 17 May 2012 04:21 PM |
Where do you have your Level value ?
But this would work (Inside a LocalScript and if your Value is called Level inside leaderstats. Put this in a Button)
plr = Game.Players.LocalPlayer
script.Parent.MouseButton2Down:connect(function() if plr.leaderstats.Level.Value >= 50 then -- Your Custom code here end end)
|
|
|
| Report Abuse |
|
|
| |
|
bluepen16
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1870 |
|
|
| 17 May 2012 05:04 PM |
"@ bluepen16, can I add that anywhere to the script?"
No, like juliaan said, you'd need his script. Anyways, you'd need the script inside the button that you are clicking. For instance:
You have a GUI on the side to open the pokemon.
Inside the window is mini-windows the the pokemon's name.
You would have to put the script inside your "Mewtew" or whatever th name is, button.
You can do this in all the buttons, just change the level value:
change >= 50 to >= 20 |
|
|
| Report Abuse |
|
|
|
| 17 May 2012 05:56 PM |
Heres the GUI if it helps.
http://www.roblox.com/Mewtwo-GUI-item?id=81071416 |
|
|
| Report Abuse |
|
|
| |
|
bluepen16
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1870 |
|
| |
|
|
| 17 May 2012 06:23 PM |
| Ok, thank you so much bluepen16! |
|
|
| Report Abuse |
|
|
bluepen16
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1870 |
|
|
| 17 May 2012 06:24 PM |
| You do not have the part to determin the level of the player. |
|
|
| Report Abuse |
|
|
bluepen16
|
  |
| Joined: 13 Nov 2008 |
| Total Posts: 1870 |
|
|
| 17 May 2012 06:46 PM |
Might work:
OPEN IT UP BEFOER YOU TRY IT, IT HAS A SCRIPT IN IT THAT I ADDED:
http://www.roblox.com/Mewtwo-test-item?id=81075985
If not, I don't know. |
|
|
| Report Abuse |
|
|
|
| 17 May 2012 07:25 PM |
And also, for the position of where the if then statement. You put it before whatever will happen if you are above level 50.
Heres an example.
--Blabla. if (condition) then --What will happen if you are level 50 and over end
~thedestroyer115, the most helpful builder!~
|
|
|
| Report Abuse |
|
|