Beartikal
|
  |
| Joined: 16 Jan 2012 |
| Total Posts: 275 |
|
|
| 20 Jun 2017 10:18 PM |
If I made Player Stats handled on the Server, how would I make a Exp Bar Gui on the client and still handle the scripts on the server?
i like pie |
|
|
| Report Abuse |
|
|
Beartikal
|
  |
| Joined: 16 Jan 2012 |
| Total Posts: 275 |
|
| |
|
cabbler
|
  |
| Joined: 19 Jun 2015 |
| Total Posts: 735 |
|
|
| 20 Jun 2017 10:38 PM |
| That's a great opportunity to use the leaderstats values passively. |
|
|
| Report Abuse |
|
|
Beartikal
|
  |
| Joined: 16 Jan 2012 |
| Total Posts: 275 |
|
| |
|
|
| 20 Jun 2017 10:55 PM |
Put the values in replicated storage, then have the server handle the EXP/Leveling. the client can index it still, and changes that the clients make won't replicate to the server.
|
|
|
| Report Abuse |
|
|
|
| 20 Jun 2017 11:04 PM |
when you change the exp, fire a remote event telling the client to update the exp bar with an argument that represents their exp
|
|
|
| Report Abuse |
|
|
Beartikal
|
  |
| Joined: 16 Jan 2012 |
| Total Posts: 275 |
|
|
| 21 Jun 2017 12:18 AM |
| What if the player has to key press "e" to punch for exp, wouldn't this have to happen on the client?? |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2017 12:34 AM |
Have a remote event for XP changed
It's delightful! It's delicious! It's delovely! |
|
|
| Report Abuse |
|
|