hourtan
|
  |
| Joined: 28 Jun 2011 |
| Total Posts: 2300 |
|
|
| 29 Dec 2015 12:51 PM |
I'm trying to clone a gui from serverstorage to startergui, but its not working? Heres my script:
local Stage = script.Parent.Parent.Parent.Parent.Parent.ScreenGui script.Parent.MouseButton1Up:connect(function() local ScreenGUI2 = game.ServerStorage.ScreenGuiI:Clone(game.StarterGui) Stage:Destroy() end)
I'm not getting any console output either. |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2015 12:53 PM |
.... local players PlayerGui pls
The Legend of Heroes Sen no Kiseki |
|
|
| Report Abuse |
|
|
Voidion
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 2668 |
|
|
| 29 Dec 2015 12:56 PM |
Put the Gui in ReplicatedStorage instead.
local Player = game.Players.LocalPlayer local Stage = Player.PlayerGui.ScreenGui script.Parent.MouseButton1Up:connect(function() local ScreenGUI2 = game.ReplicatedStorage.ScreenGuiI:Clone() ScreenGUI2.Parent = Player.PlayerGui Stage:Destroy() end) |
|
|
| Report Abuse |
|
|
hourtan
|
  |
| Joined: 28 Jun 2011 |
| Total Posts: 2300 |
|
| |
|