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 » Scripting Helpers
Home Search
 

Re: How do I get to the players gui?

Previous Thread :: Next Thread 
Glocks is not online. Glocks
Joined: 12 Jun 2009
Total Posts: 647
19 Jul 2013 09:14 PM
I thought this was it but its not working

game.Players.LocalPlayer.PlayerGui
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
19 Jul 2013 09:15 PM
That works in a localscript.
Report Abuse
kinglime is not online. kinglime
Joined: 27 Jun 2008
Total Posts: 2751
19 Jul 2013 09:15 PM
in local script you can do


local ply = game.Players.LocalPlayer
game.Players[ply.Name].PlayerGui
Report Abuse
Glocks is not online. Glocks
Joined: 12 Jun 2009
Total Posts: 647
19 Jul 2013 09:20 PM
whats a localscript? is it just a script in the workspace or something?
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
19 Jul 2013 09:22 PM
@King, or you could just do:

local ply = game.Players.LocalPlayer
ply.PlayerGui
Report Abuse
kinglime is not online. kinglime
Joined: 27 Jun 2008
Total Posts: 2751
19 Jul 2013 09:23 PM
:o lol nice
that should help a lot xD
Report Abuse
ZachBloxx is not online. ZachBloxx
Joined: 26 Jun 2013
Total Posts: 2833
19 Jul 2013 09:23 PM
@Glocks, a local script is a client-sided script.
Report Abuse
kinglime is not online. kinglime
Joined: 27 Jun 2008
Total Posts: 2751
19 Jul 2013 09:24 PM
Glocks, Insert > Basic Objects > LocalScript
Report Abuse
Glocks is not online. Glocks
Joined: 12 Jun 2009
Total Posts: 647
19 Jul 2013 09:38 PM
I still dont know whats the diffrence from a script and a localscript?
Report Abuse
kinglime is not online. kinglime
Joined: 27 Jun 2008
Total Posts: 2751
19 Jul 2013 09:40 PM
a localscript runs on a users computer
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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