yoshiegg6
|
  |
| Joined: 20 Jul 2012 |
| Total Posts: 3191 |
|
|
| 02 Dec 2014 07:14 AM |
| So, lets say I want a player to spawn with something if they have something. But it has to stay even after they reset. How would I do this? Ex, player.zombie = true. |
|
|
| Report Abuse |
|
|
yoshiegg6
|
  |
| Joined: 20 Jul 2012 |
| Total Posts: 3191 |
|
|
| 02 Dec 2014 07:15 AM |
| So, if they are a zombie they would spawn with tools. If they aren't they'd spawn with something different. I can't use teams tho. |
|
|
| Report Abuse |
|
|
yoshiegg6
|
  |
| Joined: 20 Jul 2012 |
| Total Posts: 3191 |
|
| |
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 03 Dec 2014 05:55 PM |
local iszombie = Instance.new ("BoolValue",player) iszombie = false |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2014 06:00 PM |
in PlayerAdded
local isZombie = Instance.new("BoolValue") isZombie.Value = true isZombie.Parent = player
don't use what max did
|
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 03 Dec 2014 06:01 PM |
| Nothing wrong with what I did. |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2014 06:04 PM |
"Nothing wrong with what I did."
besides the fact that you must do iszombie.Value and not iszombie = true
it is better practice to set the parent later because of WaitForChild |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
| |
|