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: Cloning Gui

Previous Thread :: Next Thread 
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
05 Mar 2013 08:59 PM
while true do

wait(60)

script.Parent.Visible = true

player = script.Parent.Parent.Parent.Parent

local g = game.Lighting:FindFirstChild(script.Parent.DNAValue.Value)

g:Clone().Parent = player

local guiexists = player:FindFirstChild(script.Parent.DNAValue.Value)

if guiexists == nil then

else print("DNA ALREADY EXISTS!")

end

end

-- This script is located in the gui it is going to clone, it is suppose to clone the gui every 60 seconds into the playergui. No output.
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
05 Mar 2013 09:15 PM
Bump
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
05 Mar 2013 09:31 PM
bump bump
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
06 Mar 2013 06:18 PM
bump
Report Abuse
kingbowler1040 is not online. kingbowler1040
Joined: 03 Oct 2011
Total Posts: 1202
06 Mar 2013 06:23 PM
Hmm..
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
06 Mar 2013 06:28 PM
while wait(60) do
player = script.Parent.Parent.Parent.Parent
script.Parent.Visible = true
if not player.PlayerGui:FindFirstChild(script.Parent.DNAValue.Value) then

local g = game.Lighting:FindFirstChild(script.Parent.DNAValue.Value)

if not g then print("What gui") end

g:Clone().Parent = player.PlayerGui
end
end
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