|
| 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 |
|
|
|
| 13 Mar 2016 11:25 AM |
bump
E = MC^2/Energy = Mass x 300,000km/s^2 |
|
|
| Report Abuse |
|
|
|
| 13 Mar 2016 11:29 AM |
fdh E = MC^2/Energy = Mass x 300,000km/s^2 |
|
|
| Report Abuse |
|
|
|
| 13 Mar 2016 11:31 AM |
help?
E = MC^2/Energy = Mass x 300,000km/s^2 |
|
|
| Report Abuse |
|
|
|
| 13 Mar 2016 11:32 AM |
bump
E = MC^2/Energy = Mass x 300,000km/s^2 |
|
|
| Report Abuse |
|
|
|
| 13 Mar 2016 11:35 AM |
...
size should be
UDim2.new(Exp/Lvl, 0, 1, 0) |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|