|
| 02 Sep 2012 01:35 AM |
Can someone please make me a scripts that makes the words "à ƒÂ± n00b" appear on the screen of ONLY the person who died? Please?
|
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Sep 2012 01:41 AM |
| Use the died event and the GetPlayerFromCharacter method. |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Sep 2012 01:42 AM |
| I gave you script in other thread, now shoo noob |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Sep 2012 01:45 AM |
game:GetService('Players').PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) for _, child in next, character:GetChildren() do if child:IsA('Humanoid') then local g = game.Players:GetPlayerFromCharacter(player.Parent) local m = Instance.new("Message") m.Parent = g.PlayerGui print("HAHA YOU NOB.") end end end) end) end)
something like dis |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Sep 2012 01:48 AM |
I did
Game.Players.PlayerAdded:connect(function(NewPlayer) NewPlayer.CharacterAdded:connect(function(Character) Character.Humanoid.Died:connect(function(Died) local m = Instance.new("Message", NewPlayer.PlayerGui) wait(5) m:Destroy() end) end) end) |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2012 01:48 AM |
wait game:GetService('Players').PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) for _, child in next, character:GetChildren() do if child:IsA('Humanoid') then local g = game.Players:GetPlayerFromCharacter(player.Parent)--looks in Players for the Player of the Character (hit.Parent) local m = Instance.new("Message") m.Parent = g.PlayerGui child.Died:connect(function() print("HAHA YOU NOB.") end) end end end) end)
|
|
|
| Report Abuse |
|
|
|
| 02 Sep 2012 01:49 AM |
| Lolz we never set the text >.<@ |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Usering
|
  |
| Joined: 18 Aug 2012 |
| Total Posts: 10281 |
|
|
| 02 Sep 2012 02:12 AM |
@robot
local g = game.Players:GetPlayerFromCharacter(player.Parent)
the parent of player is Players...
you also don't need to re-define the player as the .PlayerAdded did that.
~Don't get mad as to what I said, get mad at me as a person |
|
|
| Report Abuse |
|
|