Kobertum
|
  |
| Joined: 04 Oct 2013 |
| Total Posts: 2335 |
|
|
| 30 Aug 2015 01:15 AM |
i have a script that works in studio, but doesn't work in online mode or w/e
local Players = game:GetService('Players') local Player = Players.LocalPlayer local gui = Instance.new('ScreenGui', Player:WaitForChild("PlayerGui"))
it's say that the player is a nil value in the developer console, i don't see what's wrong here
add 8k to my postcount - prestigist / frigidem / azeekee1 | something something tsl hype something |
|
|
| Report Abuse |
|
|
GianniKun
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 8101 |
|
|
| 30 Aug 2015 01:17 AM |
wtf amateur lol. Put this in a local script
_______________________ wait(3) local Player = game.Players.LocalPlayer local gui = Instance.new("ScreenGui").Parent = Player.PlayerGui
_______________________
you still need to call it though, it should only be referencing right now. |
|
|
| Report Abuse |
|
|
GianniKun
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 8101 |
|
|
| 30 Aug 2015 01:18 AM |
oops lol I failed hard
_______________________ wait(3) local Player = game.Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Parent = Player.PlayerGui
_______________________
|
|
|
| Report Abuse |
|
|