|
| 11 Oct 2013 08:09 PM |
I'm making a restaurant and I got spawns for "Worker" and "Customer/Visitor"
How do I put a script for the spawn- (the 'Workers' spawn)- to only add certain people to and no one else can be that team unless I add them to the script?
Please help, I need this urgently. |
|
|
| Report Abuse |
|
|
| |
|
domorox17
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 1710 |
|
|
| 11 Oct 2013 08:12 PM |
| check out the kohls admin script. use a modified thing so that "admins" get on the team u want |
|
|
| Report Abuse |
|
|
|
| 11 Oct 2013 08:16 PM |
@domorox17
That won't help because I have to add a specific script into the Team Spawner, but thanks. |
|
|
| Report Abuse |
|
|
|
| 11 Oct 2013 08:16 PM |
Workers = {"Name","Name2"} -- names
game.Players.PlayerAdded:connect(function(player) if player.Name ~= Workers:lower() then player.TeamColor = BrickColor.new("CustomersTeamColor") return end player.TeamColor = BrickColor.new("TeamColorOfWorker") end) |
|
|
| Report Abuse |
|
|
| |
|