generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: PlayerGUI Help

Previous Thread :: Next Thread 
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
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
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
01 May 2016 02:18 PM
local script?
Report Abuse
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
01 May 2016 03:01 PM
I tried with both.. still can't find LocalPlayer...
Report Abuse
Alimegacorn is not online. Alimegacorn
Joined: 24 May 2013
Total Posts: 899
01 May 2016 03:16 PM
try setting a variable
also check your other scripts to make sure they dont affect this
Report Abuse
imaginaryUberlyuber is not online. imaginaryUberlyuber
Joined: 15 Jul 2012
Total Posts: 208
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
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
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
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
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
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
01 May 2016 04:35 PM
I got the PlayerGui working.. i need help with the DataModel error up here ^
Report Abuse
Trioxide is not online. 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
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
02 May 2016 02:35 AM
Oh.. but i need them... can they access.. RepStorage/Lighting?
Report Abuse
TjazBuilder is not online. TjazBuilder
Joined: 27 Sep 2013
Total Posts: 845
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image