|
| 02 Oct 2014 04:53 AM |
So I was wondering if there would be a script allowing someone to spawn as a certain model within the game, basically the model would be in server storage and then when the player joins the team the model within server storage clones and puts all its scripts and functions within the user on the team and then allowing that user to do what the model done in the first place.
Any help will be appreciated.. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 02 Oct 2014 04:58 AM |
You mean like game.Players.PlayerAdded:connect(function(p) p.CharacterAdded:connect(function(char) game.ServerStorage.Model:Clone().Parent = char end) end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Oct 2014 05:07 AM |
| But to a team named zombie, |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 02 Oct 2014 05:09 AM |
Not familiar with teams, but after the Character added line just add an if p.TeamName == "Zombie" then And add an extra end to close it (before the ones with the brackets) |
|
|
| Report Abuse |
|
|
| |
|