|
| 26 Jun 2014 01:22 PM |
Someone gave me a script to use so there is a spawn that only spawns a specific person (me), but I never scripted before and I don't know how to fill this out, my team is Dark orange and is called lvl45sandslash. Here is the script he gave me, he is offline
UOnlySpawnPoint = Path to part you want to spawn at
game.Players.ChildAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) if char.Name == "YourNameHere" then char.Torso.CFrame = CFrame.new(UOnlySpawnPoint.Position+Vector3.new(0,5,0)) end end) end)
|
|
|
| Report Abuse |
|
|
JustinJsT
|
  |
| Joined: 26 Sep 2010 |
| Total Posts: 7818 |
|
|
| 26 Jun 2014 01:23 PM |
| Put your name in the YourNameHere? |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2014 01:23 PM |
| I did, but it spawns me in Neutral |
|
|
| Report Abuse |
|
|
JustinJsT
|
  |
| Joined: 26 Sep 2010 |
| Total Posts: 7818 |
|
|
| 26 Jun 2014 01:25 PM |
| I don't know if their is a way to disable Neutral, sorry |
|
|
| Report Abuse |
|
|
JustinJsT
|
  |
| Joined: 26 Sep 2010 |
| Total Posts: 7818 |
|
|
| 26 Jun 2014 01:32 PM |
| Why can't you steal some free model scripts? |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2014 01:32 PM |
| Those are outdated and too long |
|
|
| Report Abuse |
|
|
JustinJsT
|
  |
| Joined: 26 Sep 2010 |
| Total Posts: 7818 |
|
| |
|
Phyclops
|
  |
| Joined: 27 Sep 2012 |
| Total Posts: 5895 |
|
|
| 26 Jun 2014 01:36 PM |
did you change line 1? UOnlySpawnPoint = Path to part you want to spawn at
did you put the path?
example: UOnlySpawnPoint=game.Workspace.Part
or wherever your part is |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2014 01:37 PM |
| Is the UOnlySpawnPoint the team like DarkOrange? |
|
|
| Report Abuse |
|
|
Phyclops
|
  |
| Joined: 27 Sep 2012 |
| Total Posts: 5895 |
|
|
| 26 Jun 2014 03:16 PM |
no. UOnlySpawnPoint is the brick that you want to spawn at.
example: name a part "Hey" and put it in workspace then try this:
UOnlySpawnPoint = game.Workspace["Hey"] game.Players.ChildAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) if char.Name == "YourNameHere" then char.Torso.CFrame = CFrame.new(UOnlySpawnPoint.Position+Vector3.new(0,5,0)) end end) end) |
|
|
| Report Abuse |
|
|