|
| 01 May 2016 02:17 PM |
Evrytime i want to do anything with PlayerGUI ... i do it like this: game.Players.LocalPlayer.PlayerGui.* but it can't find the "LocalPlayer" for some odd reason... maybe i'm wrong? Who knows!
Please answer me how to get the *.PlayerGui Ex: game.Players.LocalPlayer.* is wrong (the star represents the continious stuff i scritped) |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 May 2016 03:01 PM |
| I tried with both.. still can't find LocalPlayer... |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 03:16 PM |
try setting a variable also check your other scripts to make sure they dont affect this |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 03:22 PM |
IN A LOCALSCRIPT:
Player = game.Players.LocalPlayer
If you just want to create an extra GUI, then use StarterGui. See the tutorial on Roblox Wiki:
http://wiki.roblox.com/index.php?title=AllTutorials#User_Interface |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 03:22 PM |
| But if i use StarterGui it shows to everyone the same GUI at the same time... i need help! |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 03:37 PM |
I'm actually gonna try doing
Player = game.Players.LocalPlayer PlayerGui = Player:WaitForChild("PlayerGui")
I'll see...
BY THE WAY! Does anybody know why when i type "game.ServerStorage.*" it in outpus says: "ServerStorage is not a valid member of DataModel"?
I tried doing serverstorage = Game:Get...BLABLALBALBA then guis = serverstorage:WaitFor...BLAHVLBAHBLA
and it still didn't work! |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 04:35 PM |
| I got the PlayerGui working.. i need help with the DataModel error up here ^ |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
|
| 01 May 2016 04:59 PM |
"Does anybody know why when i type "game.ServerStorage.* [blah]"
Sounds like you're using a LocalScript, LocalScripts can't access ServerStorage. |
|
|
| Report Abuse |
|
|
|
| 02 May 2016 02:35 AM |
| Oh.. but i need them... can they access.. RepStorage/Lighting? |
|
|
| Report Abuse |
|
|
|
| 02 May 2016 03:00 AM |
| GUYS! I don't need any help anymore, thanks for the replies! I have to thank the most to Trioxide, for fixing my nooby problem :D |
|
|
| Report Abuse |
|
|
Jammer622
|
  |
| Joined: 19 Nov 2008 |
| Total Posts: 1739 |
|
|
| 02 May 2016 03:24 AM |
*im replying anyways in the case that you haven't read over http://wiki.roblox.com/index.php?title=RemoteFunction_and_RemoteEvent_Tutorial
could be useful for you if Trioxide hasn't explained it already. |
|
|
| Report Abuse |
|
|