Naco88
|
  |
| Joined: 30 Oct 2009 |
| Total Posts: 665 |
|
|
| 16 Apr 2017 04:48 AM |
So I have created a localbin inside the player and when accessing it (player.LocalBin.Part) in studio works fine.
However in game it doesn't seem to work,
I have printed all the children of player and localbin just doesn't seem to exist in game. it isn't there.
And understandably my error is "LocalBin is not a valid member of Model"
Anyone know why this is happening and why it works in studio?
|
|
|
| Report Abuse |
|
|
NilLogic
|
  |
| Joined: 08 Apr 2016 |
| Total Posts: 1369 |
|
|
| 16 Apr 2017 04:48 AM |
| And I'm workin my strut but I know it don't matter all we need in this world is some love. |
|
|
| Report Abuse |
|
|
StephTilo
|
  |
| Joined: 01 Jun 2013 |
| Total Posts: 83 |
|
|
| 16 Apr 2017 04:52 AM |
| Whilst I can't tell you why that error specifically is occurring, I can tell you that the Studio works a little differently than a public server. You can simulate a mock-up server by going into "TEST" in the tab and clicking the "Start" button next to the "Pair Test Device" button. Local Servers act the same as Public ones to my understanding. |
|
|
| Report Abuse |
|
|
Naco88
|
  |
| Joined: 30 Oct 2009 |
| Total Posts: 665 |
|
| |
|
|
| 16 Apr 2017 10:00 AM |
Use WaitForChild, it probably didn't load yet.
|
|
|
| Report Abuse |
|
|
|
| 16 Apr 2017 10:03 AM |
Actually it probably removed itself because it realized it's hacky
|
|
|
| Report Abuse |
|
|