dude6354
|
  |
| Joined: 04 Apr 2009 |
| Total Posts: 205 |
|
|
| 23 Apr 2013 06:46 PM |
| How what would i do if i want something to happen when a player spawns. for example: Player spawns, a GUI shows up for him. |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2013 06:48 PM |
Put it in StarterGui...?
Next time ask in Script Helpers. |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2013 06:48 PM |
Game.Players.ChildAdded:connect(function(Player) Player.CharacterAdded:connect(function() print("RESPAWNED") end) end) |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2013 06:49 PM |
Oh. Derp. This isn't scripters =D So I was just mean to a random person asking for help for nothing.
Very sorry about that, didn't mean to. Thought this was Scripters, which has a habit of getting spammed with help requests.
But yes, scripters in PlayerGui get put in the Player's PlayerGui on spawn and StarterPack goes in backpack. |
|
|
| Report Abuse |
|
|
ForceSky
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 2379 |
|
|
| 23 Apr 2013 06:53 PM |
If you prefer anonymous functions:
game.Workspace.ForceSky.Humanoid.Died:connect(function() repeat wait() until game.Players.ForceSky.Character print("DA GUY HAS RESPAUNED!") end)
If you don't:
function CHEESE() repeat wait() until game.Players.ForceSky.Character print("Respauned, da guy has") end game.Workspace.ForceSky.Humanoid.Died:connect(CHEESE) |
|
|
| Report Abuse |
|
|
dude6354
|
  |
| Joined: 04 Apr 2009 |
| Total Posts: 205 |
|
|
| 23 Apr 2013 06:57 PM |
| Sorry guys, i just realised after i posted this i just needed to put it in started GUI. i havent played roblox in a while so im dumb lol. anyway, i realised also that thi is the wrong section to post this in. oops. |
|
|
| Report Abuse |
|
|
ForceSky
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 2379 |
|
|
| 23 Apr 2013 06:58 PM |
| This is the right section to post this in. You might have missed Render's apology. Also, if you want to do something other than a GUI, then you could use mine's or LuaPenguin's. |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2013 06:59 PM |
| No, it's the right section =P I'm just dumb and thought it wasn't. If you need any help, please do post it here. |
|
|
| Report Abuse |
|
|