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 someone HELP me how to create this?

Previous Thread :: Next Thread 
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
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
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
14 May 2012 09:55 PM
What the heck is a "Mewtwo".

Answer to Your Problems: wiki.roblox.com
Report Abuse
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
14 May 2012 09:56 PM
lol really? you don't know what is it? & thanks.
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
14 May 2012 10:00 PM
Sounds like some kind of Insect, or a Footpolish Company
Report Abuse
lalola3 is not online. lalola3
Joined: 23 Nov 2008
Total Posts: 1035
14 May 2012 10:01 PM
XD
Report Abuse
Twala is not online. 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
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
15 May 2012 04:40 PM
do I add that anywhere> ?
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
15 May 2012 04:44 PM
Post the script.

† KMXD †
Report Abuse
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
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
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
16 May 2012 08:52 PM
Bump!
Report Abuse
bluepen16 is not online. 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
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
16 May 2012 09:03 PM
@ bluepen16, can I add that anywhere to the script?
Report Abuse
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
16 May 2012 09:12 PM
Bump!
Report Abuse
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
16 May 2012 09:53 PM
Bump!!
Report Abuse
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
17 May 2012 04:18 PM
Bump!!!
Report Abuse
juriaan is not online. 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
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 May 2012 04:21 PM
Problem?
Report Abuse
bluepen16 is not online. 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
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
17 May 2012 05:56 PM
Heres the GUI if it helps.


http://www.roblox.com/Mewtwo-GUI-item?id=81071416
Report Abuse
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
17 May 2012 06:17 PM
Bump!
Report Abuse
bluepen16 is not online. bluepen16
Joined: 13 Nov 2008
Total Posts: 1870
17 May 2012 06:20 PM
I'll take a look.
Report Abuse
HoodBandit is not online. HoodBandit
Joined: 04 Mar 2010
Total Posts: 742
17 May 2012 06:23 PM
Ok, thank you so much bluepen16!
Report Abuse
bluepen16 is not online. 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 is not online. 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
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
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
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