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: ServerStorage Gui Clone issue

Previous Thread :: Next Thread 
hourtan is not online. 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
MahouReikon is not online. MahouReikon
Joined: 15 Feb 2014
Total Posts: 1359
29 Dec 2015 12:53 PM
.... local players PlayerGui pls


The Legend of Heroes Sen no Kiseki
Report Abuse
Voidion is not online. 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 is not online. hourtan
Joined: 28 Jun 2011
Total Posts: 2300
29 Dec 2015 12:59 PM
Thank you.
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