Pizzarius
|
  |
| Joined: 12 Mar 2011 |
| Total Posts: 260 |
|
|
| 05 Jun 2016 02:54 PM |
local player = script.Parent.Parent.Parent local storage = game.ServerStorage local midnight = storage.Midnight local phase = storage.Phaseflame
if player.Name == "fruit09" or player.Name == "Pizzarius" then midnight:clone().Parent = player.Backpack phase:clone().Parent = player.Backpack end
Halo, Owner of Hydra Studios. |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2016 03:02 PM |
I could be wrong, but I'm pretty sure a client can't access the server storage. You have to keep things in replicated storage.
On another note, you should be using a local script since it's client sided (unless you have a reason to use a regular script). With a local script, the player object can be accessed via game.Players.LocalPlayer instead of the path you have above.
|
|
|
| Report Abuse |
|
|
Pizzarius
|
  |
| Joined: 12 Mar 2011 |
| Total Posts: 260 |
|
|
| 05 Jun 2016 03:11 PM |
There is no error but it didnt work.
Halo, Owner of Hydra Studios. |
|
|
| Report Abuse |
|
|
| |
|
Pizzarius
|
  |
| Joined: 12 Mar 2011 |
| Total Posts: 260 |
|
|
| 05 Jun 2016 03:12 PM |
I did
Halo, Owner of Hydra Studios. |
|
|
| Report Abuse |
|
|
|
| 05 Jun 2016 03:13 PM |
add a wait(10) to the top of the script, and see if it works after 10 seconds
|
|
|
| Report Abuse |
|
|
Pizzarius
|
  |
| Joined: 12 Mar 2011 |
| Total Posts: 260 |
|
|
| 05 Jun 2016 03:16 PM |
Didn't work
Halo, Owner of Hydra Studios. |
|
|
| Report Abuse |
|
|