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
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
|
| 19 Jul 2013 09:15 PM |
| That works in a localscript. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 27 Jun 2008 |
| Total Posts: 2751 |
|
|
| 19 Jul 2013 09:24 PM |
| Glocks, Insert > Basic Objects > LocalScript |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 27 Jun 2008 |
| Total Posts: 2751 |
|
|
| 19 Jul 2013 09:40 PM |
| a localscript runs on a users computer |
|
|
| Report Abuse |
|
|