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
 

Problem with GUI

Previous Thread :: Next Thread 
megarshark is not online. megarshark
Joined: 12 Sep 2011
Total Posts: 156
20 Apr 2016 06:32 AM
Hi my intro GUI, it works great but every time they die or reset it shows up again how do i make it so they only shows once?



El sol, la luna y las estrellas todo precioso , pero no tanto como usted .
Report Abuse
Illisium is not online. Illisium
Joined: 28 Sep 2010
Total Posts: 6
20 Apr 2016 06:39 AM
Not sure if it will work but try this.

Make a Script,
put your ScreenGui in it (child of the script you just made),
paste my code in the script,
change GUINAME to the name of your ScreenGui,
and then press play.

If I'm correct it should only run when a player gets added to the game (joins)
and only for the player that joins.

I believe you put it in StarterGui which makes it load on respawn / join :)

local gui = script.GUINAME

game.Players.PlayerAdded:connect(function(player)
local cl = gui:Clone()
cl.Parent = player.PlayerGui
end)


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