|
| 29 Jul 2011 06:29 AM |
Ohi Forumers :) I've created a gui. But the problem is that when you reset or be killed it appears another time :\ Do you know/have any Script to make the Gui only viewable at first, when you enter at the Place?
Thanks very much! |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 06:32 AM |
function entered(Player) game.Lighting.Gui:Clone.Parent = Player.PlayerGui end game.Players.PlayerAdded:connect(entered) |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 06:47 AM |
Thanks very much matt1020304050. I've tried but it doesn't work :( I changed the name of the ScreenGui to Gui, of course xDD Well, thanks very much for your help. |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 06:48 AM |
Put the Gui inside lighting.
-Wiki.roblox.com, the RBX.Lua reference |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 06:50 AM |
| I've put the Gui in the Lighting lol |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 06:54 AM |
| I've put the Gui in the Lighting, changed the name, I've put the text in a Script, then in a LocalScript because it wasn't working... Can you help me a little more? Please |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 06:58 AM |
| Well, thanks for your time and help :( |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 07:05 AM |
Matt, did it wrong. its clone() and I can condense it to 3 lines instead of 4.
game.Players.PlayerAdded:connect(function(p) game.Lighting:FindFirstChild("Your Gui"):clone().Parent = p.PlayerGui end)
‹•º`¨´º•¸ ~ Mitch ~ ¸•º`¨´º•› |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Jul 2011 07:17 AM |
lol The gui does not appear. I think I'm going to delete the Gui xD because the gui is like a film (with the CameraPosition=Attack) but if people dies it shouldn't appear, so thanks for your help, I know you did it with a lot of effort :D |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 07:38 AM |
game.Player.ChildAdded:connect(function(player) game.Lighting.Gui:clone().Parent = player.PlayerGui end) |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 07:43 AM |
game.Players.ChildAdded:connect(function(player) game.Lighting.Gui:clone().Parent = player.PlayerGui end) |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 07:54 AM |
Well, thanks all you. Doesn't work -.- At the end I've deleted the Gui, so thanks VERY MUCH all you :) |
|
|
| Report Abuse |
|
|
|
| 29 Jul 2011 01:31 PM |
Sorry, forgot the parenthesis.
But, with that fixed it should be working - upon player enter. |
|
|
| Report Abuse |
|
|