|
| 19 Feb 2013 11:55 PM |
Ok so here I a script I am using:
game.Players.PlayerAdded:connect(onPlayerRespawned) function onPlayerRespawned(newPlayer) wait(1) if newPlayer.Name:lower( ) == "chewit9", "pumpkinrpg" then gui=Instance.new("BillboardGui") gui.Parent=newPlayer.Character.Head gui.Adornee=newPlayer.Character.Head gui.Size=UDim2.new(3,0,2,0) gui.StudsOffset=Vector3.new(0,2,0) text=Instance.new("ImageLabel") text.Image = "http://www.roblox.com/asset/?id=107299293" text.Size=UDim2.new(1.25,0,1.75,0) text.Position=UDim2.new(-0.125,0,-1.1,0) text.BackgroundTransparency = 1 text.Parent=gui w = game.Lighting.WepsGroup:GetChildren() for i = 1,#w do w[i]:Clone().Parent = newPlayer.Backpack end end end
function onPlayerEntered(newPlayer) newPlayer.Changed:connect(function (property) if (property == "Character") then onPlayerRespawned(newPlayer) end end) end
game.Players.PlayerAdded:connect(onPlayerEntered)
As you can see on one of the top line it says: ''if newPlayer.Name:lower( ) == "chewit9", "pumpkinrpg" then ''
I am having one problem, it doesn't work because there is two names. It works with one, but not with two, how can I fix this? |
|
|
| Report Abuse |
|
| |
cart6157
|
  |
| Joined: 28 Feb 2009 |
| Total Posts: 2194 |
|
|
| 20 Feb 2013 12:17 AM |
if newPlayer.Name == "name" or newPlayer.Name == "name" then
end |
|
|
| Report Abuse |
|
|
| 20 Feb 2013 12:27 AM |
@cart
Could you put that in my script and paste it, just so I can paste the whole thing? Thanks. |
|
|
| Report Abuse |
|
|
| 20 Feb 2013 04:20 AM |
| Pumpkin U a narb or someit do It yourself Low PLOX!!@ |
|
|
| Report Abuse |
|