Auddacity
|
  |
| Joined: 31 May 2009 |
| Total Posts: 428 |
|
|
| 07 Jul 2017 09:55 PM |
game.Players.PlayerAdded:connect(function() local player = game.Players.LocalPlayer game.Lighting.Chute:Clone().Parent = player end)
--the chute is inside Lighting --the local script is inside StarterPlayer StarterPlayerScripts
|
|
|
| Report Abuse |
|
|
|
| 07 Jul 2017 09:59 PM |
Remove the game.Players.PlayerAdded stuff, you don't need it since you're using a local script
|
|
|
| Report Abuse |
|
|
Auddacity
|
  |
| Joined: 31 May 2009 |
| Total Posts: 428 |
|
|
| 07 Jul 2017 10:01 PM |
Thanks, just never used the StarterPlayer service before.
|
|
|
| Report Abuse |
|
|
|
| 07 Jul 2017 10:06 PM |
Objects in Lighting might not replicate to the client, so the Chute may not exist in the client's game.
Also, ReplicatedStorage replaced Lighting as the place to put stuff that you: 1) want to hide from the Workspace 2) want to replicate to the client's game when they connect |
|
|
| Report Abuse |
|
|