|
| 09 May 2014 01:43 PM |
| I would like tips on how to make it so that wen ur picked as Beast then ur leaderstat is Reset... u know wat I mean, so that every Round u complete, u get +1 RW and then wen u get to be the Beast, ur RW is Reset so u cant become the Beast again (wont have much chance anymore) cos I have my leaderstat RW set to chance stat, cos if a player played longer than a player, more rounds, then they get better chance of becoming beast then other people with less RW and so for fairness, I wanna make it so that wen the person becomes the Beast, his RW is reset and he then has the lowest RW and the lowest chance of becoming the beast... sry for making this so confusing... |
|
|
| Report Abuse |
|
|
vvire
|
  |
| Joined: 14 Feb 2014 |
| Total Posts: 34 |
|
|
| 09 May 2014 01:45 PM |
player = game.Players.LocalPlayer RW = player.leaderstats.RW.Value if player.Name == Beast then RW = 0 end |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 01:48 PM |
| thnx, so this will work, 100% garuanteed? so it will make RW 0 and then it will leave it alone cos the player stops being the Beast? |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 01:49 PM |
| also, I dont think u can set a property as a Tag... |
|
|
| Report Abuse |
|
|
vvire
|
  |
| Joined: 14 Feb 2014 |
| Total Posts: 34 |
|
|
| 09 May 2014 01:50 PM |
Not sure, how about this:
player = game.Players.LocalPlayer RW1 = player.leaderstats.RW if player.Name == Beast then RW = RW1.Value RW1.Value = RW end |
|
|
| Report Abuse |
|
|
vvire
|
  |
| Joined: 14 Feb 2014 |
| Total Posts: 34 |
|
|
| 09 May 2014 01:51 PM |
| @Andrius, just realised, that's why I changed it, by the way, this is Youssef04, I am not bothered to log out of my alt :3 |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 01:53 PM |
| lol am Kapitanovas, my account was accidentallty Banned for 1 Day XD |
|
|
| Report Abuse |
|
|
vvire
|
  |
| Joined: 14 Feb 2014 |
| Total Posts: 34 |
|
| |
|
|
| 09 May 2014 02:05 PM |
You people and dem alts... :P
Here's my siggy... Done. |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 02:06 PM |
btw, u said player.Name but isnt the name not editable??? |
|
|
| Report Abuse |
|
|
| |
|
vvire
|
  |
| Joined: 14 Feb 2014 |
| Total Posts: 34 |
|
|
| 09 May 2014 02:07 PM |
It gets the name. It's like in English saying, get the name of the player, if the player's name is the beast then change the RW stats into 0. |
|
|
| Report Abuse |
|
|
vvire
|
  |
| Joined: 14 Feb 2014 |
| Total Posts: 34 |
|
|
| 09 May 2014 02:08 PM |
player = game.Players.LocalPlayer RW1 = player.leaderstats.RW if player.Name == Beast then RW = RW1.Value RW1.Value = RW1.Value - RW end |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 02:16 PM |
| but there's no value in the player and the name cant be changed... |
|
|
| Report Abuse |
|
|
vvire
|
  |
| Joined: 14 Feb 2014 |
| Total Posts: 34 |
|
|
| 09 May 2014 02:18 PM |
| Hold on, is RW a Leadertstat on a LeaderBoard, or is it a Number Value in the player? |
|
|
| Report Abuse |
|
|
|
| 09 May 2014 02:21 PM |
| both... y? u thought that inserting Values isnt possible except for leaderstat values? |
|
|
| Report Abuse |
|
|
| |
|
| |
|