Mintacle
|
  |
| Joined: 28 Aug 2013 |
| Total Posts: 498 |
|
|
| 12 Sep 2014 05:47 PM |
I want to know if this is possible for example
Player A has: 150 DMG points
Player B has: 10 DMG points
Now I would use an instance to create a value in the workspace followed by Two string values which has Player A's and Player B's name in them.
Clone a script that gets the players stats and adds them together to make the value in workspace 160 DMG points.
Is this possible? And if so there are mannnnnnnnny bugs that can affect this like someone leaving a game, how would I deal with this? |
|
|
| Report Abuse |
|
|
|
| 12 Sep 2014 05:48 PM |
you literally just said in english what the script should do, just convert it to lua, it's not difficult.
as for the leaving, use the playerremoving event in players and check if the player leaving is one of those involved, if they are then do something about it. |
|
|
| Report Abuse |
|
|
Mintacle
|
  |
| Joined: 28 Aug 2013 |
| Total Posts: 498 |
|
|
| 12 Sep 2014 05:50 PM |
| Yeah thanks aha, the hardest part atm for me is a good way to turn players into a tool |
|
|
| Report Abuse |
|
|
Mintacle
|
  |
| Joined: 28 Aug 2013 |
| Total Posts: 498 |
|
|
| 12 Sep 2014 05:51 PM |
| When the player is a tool and is being wielded by another player stats combine, but what's the best way to make the player "change" into a tool so someone can hold it? |
|
|
| Report Abuse |
|
|