Advertisement
Jaden11

Welcome GUI Script

Dec 7th, 2014
471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. local GUI = script.Parent
  2.  
  3.  
  4.  
  5. Join = (function (Plyr)
  6. local GuiClone = GUI:Clone()
  7. if not Plyr.Character then
  8. Plyr.CharacterAdded:wait()
  9. end
  10. GuiClone.Frame.Visible = false --Set visible to false to be handled by local script
  11. GuiClone.Parent = Plyr:findFirstChild"PlayerGui"
  12. end)
  13.  
  14.  
  15. --------
  16. --Main--
  17. --------
  18. wait(1)
  19.  
  20. game.Players.PlayerAdded:connect(Join)
  21. for _,v in next, game.Players:GetPlayers() do
  22. Join(v)
  23. end
  24.  
  25. --1TrueWork
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement