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: Stupid EXP issue

Previous Thread :: Next Thread 
uknowdudes is not online. uknowdudes
Joined: 10 Jan 2011
Total Posts: 993
13 Mar 2016 11:23 AM
I made a script self explanatory, here
--[[Move Exp Bar]]
local Exp = p.Data.EXP.Value
local Lvl = p.Data.Level.Value
local val = (Exp / Lvl)
--s.EXP.Experience.Position = UDim2.new( 0, EXP2+(1-val)/EXP, 0, 0)
s.EXP.Experience.Size = UDim2.new( 0, EXP*val, 1.011, 0)

This script is supposed to be so like, when the player trains, their EXP bar move up to the maximum, this is what i'm getting though.
https://gyazo.com/f76806a106023f0e2b9b1a15ad37cc0a
In fact it's nowhere near the end of the bar, please help
https://gyazo.com/071e0010ed2719bd23b6bb6562fb9136

E = MC^2/Energy = Mass x 300,000km/s^2
Report Abuse
uknowdudes is not online. uknowdudes
Joined: 10 Jan 2011
Total Posts: 993
13 Mar 2016 11:25 AM
bump

E = MC^2/Energy = Mass x 300,000km/s^2
Report Abuse
uknowdudes is not online. uknowdudes
Joined: 10 Jan 2011
Total Posts: 993
13 Mar 2016 11:29 AM

fdh
E = MC^2/Energy = Mass x 300,000km/s^2
Report Abuse
uknowdudes is not online. uknowdudes
Joined: 10 Jan 2011
Total Posts: 993
13 Mar 2016 11:31 AM
help?

E = MC^2/Energy = Mass x 300,000km/s^2
Report Abuse
uknowdudes is not online. uknowdudes
Joined: 10 Jan 2011
Total Posts: 993
13 Mar 2016 11:32 AM
bump

E = MC^2/Energy = Mass x 300,000km/s^2
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
13 Mar 2016 11:35 AM
...

size should be

UDim2.new(Exp/Lvl, 0, 1, 0)
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
13 Mar 2016 11:36 AM
and in fact i'm not sure why you're bothering with Position? I think you're overthinking things
Report Abuse
uknowdudes is not online. uknowdudes
Joined: 10 Jan 2011
Total Posts: 993
13 Mar 2016 11:45 AM
yeah that's going OVER the bar, bump

E = MC^2/Energy = Mass x 300,000km/s^2
Report Abuse
uknowdudes is not online. uknowdudes
Joined: 10 Jan 2011
Total Posts: 993
13 Mar 2016 11:48 AM
actually nvm, made a mistake
Thanks c;

E = MC^2/Energy = Mass x 300,000km/s^2
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
13 Mar 2016 11:52 AM
np
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