|
| 20 Apr 2013 04:29 PM |
Like. for a "_____ has joined the game" script. What would you do? |
|
|
| Report Abuse |
|
|
| |
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
|
| 20 Apr 2013 04:35 PM |
| http://wiki.roblox.com/index.php/PlayerAdded |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 04:38 PM |
@1WOOF I mean like not that specifically
how do you make it so it goes to the humanoid, like maybe to make you spawn with 10000 health. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
|
| 20 Apr 2013 04:40 PM |
@Rain,
You learn basic Rbx.Lua? |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 04:41 PM |
@1Woof1 yeah, and I have a fair amount of knowledge on scripting. I just dont know how to make it not for a specific player. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
|
| 20 Apr 2013 04:42 PM |
@Rain,
NOT for a specific player or FOR a specific player? |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 04:45 PM |
@1WOOF1 NOT for a specific player. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
|
| 20 Apr 2013 04:46 PM |
local NotForThisGuyCauseHesANubOrSomething = 'Telamon'
game.Players.PlayerAdded:connect(function(p) if p.Name ~= NotForThisGuyCauseHesANubOrSomething then repeat wait() until p.Character and p.Character:findFirstChild('Humanoid') p.Character.Humanoid.MaxHealth = 999999 wait() p.Character.Humanoid.Health = 999999 end end) |
|
|
| Report Abuse |
|
|
|
| 20 Apr 2013 04:48 PM |
Concatenation is a method used for things like this. Here is an example:
function Enter(plr) local p = plr.Name x = Instance.new("Message", Workspace) x.Text = p.."has entered the server." wait(5) x:Destroy() end game.Players.ChildAdded:connect(Enter) |
|
|
| Report Abuse |
|
|