|
| 04 Apr 2015 03:07 PM |
| So Basically what I want to make is basically a script you put in a weapon so that when the person holding the weapon kills someone, the person who is killed gets teleported to a new location when they respawn next time. |
|
|
| Report Abuse |
|
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Apr 2015 03:10 PM |
| Just use custom spawns or a regular SpawnLocation? |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2015 03:11 PM |
| That isn't what I am trying to do. I'm trying to do a sort of thing so that the person killed will spawn in a jail. its sort of like a police/criminal thing. |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 04 Apr 2015 03:13 PM |
We try to help and fix your scripts. Not make stuff for you
unless you give me 91919 robux. |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2015 03:14 PM |
| I'm not asking for help with a whole script. Just how I would go about making it. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Apr 2015 03:15 PM |
Okay. Well Just change the teamcolor of the player when he dies.
game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(c) c.Humanoid.Died:connect(function() p.TeamColor = BrickColor.new("Bright blue") --color of jail spawn end) end) wait() end) |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2015 03:40 PM |
| But this would apply to all players right? What I need to do is have one police team one criminals team, one jailed team. So police shouldn't go to jail obviously. so I need a tool adjusted version of this. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Apr 2015 04:51 PM |
| What do you mean tool adjusted version? You can have the script find the child of the player and see if he has the gun in either his character or backpack.. |
|
|
| Report Abuse |
|
|