|
| 05 Nov 2012 08:28 PM |
game.Players.PlayerAdded:connect(function(playa) if playa.userId==game.CreatorId then playa.CharacterAdded:connect(function(char) script.REF:clone().Parent=playa.PlayerGui; end ) end end ) |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 05 Nov 2012 08:30 PM |
game.Players.PlayerAdded:connect(function(playa) if playa.userId==game.CreatorId then script.REF:clone().Parent=game.Players[playa].PlayerGui; --so inefficient but idk. end) end end --extra end? |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2012 08:33 PM |
| trying to get me ref im the only one that can c and use it? |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2012 08:33 PM |
Grammar please I can't understand you....
|
|
|
| Report Abuse |
|
|
|
| 05 Nov 2012 08:34 PM |
game.Players.PlayerAdded:connect(function(player) if player.userId == game.CreatorId then player.CharacterAdded:connect(function(character) script.REF:Clone().Parent = player.PlayerGui -- .Parent = character end) end end)
deathCast(); |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 05 Nov 2012 08:35 PM |
game.Players.PlayerAdded:connect(function(playa) if playa.Name == "Brandonroblox" then script.REF:clone().Parent=game.Players[playa].PlayerGui; end end) |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2012 08:37 PM |
You do realize that the parent setting is wrong..
deathCast(); |
|
|
| Report Abuse |
|
|
| |
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
| |
|
|
| 05 Nov 2012 08:40 PM |
Maybe if you did game.Players[playa.Name] it would work. It's like re-doing the hierarchy.
deathCast(); |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 05 Nov 2012 08:40 PM |
lol.
I thought I was doing pairs.. |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 05 Nov 2012 08:42 PM |
here is the fixed one
game.Players.PlayerAdded:connect(function(playa) if playa.Name == "Brandonroblox" then script.REF:Clone().Parent=game.Players[playa.Name].PlayerGui; end end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Nov 2012 08:47 PM |
But he wants CharacterAdded so it keeps cloning the script.
deathCast(); |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 05 Nov 2012 08:52 PM |
game.Players.PlayerAdded:connect(function(playa) playa.CharacterAdded:connect(function(char) if playa.Name == "Brandonroblox" then
script.REF:clone().Parent=game.Players[playa.Name].PlayerGui; end end) end) |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2012 08:57 PM |
Well, that's not that efficient since it'll check the name every time the player spawns.
deathCast(); |
|
|
| Report Abuse |
|
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 05 Nov 2012 08:58 PM |
but atleast he has something.
plus i want him to make his own script.. |
|
|
| Report Abuse |
|
|