|
| 17 Nov 2012 08:37 PM |
texture = "http://www.roblox.com/asset/?id=98060841" local Points = 4500 ------------------------------------------------------------------------------------------------------------------------
function checkOkToLetIn(name) for i = 1,#permission do if (string.upper(name) == string.upper(permission[i])) then return true end end return false end
game.Players.PlayerAdded:connect(function(p) local stats = p:findFirstChild("leaderstats") Wait(15) print("Player Joined") if p.Character.Torso.roblox.Texture == texture then print("Indeed Player is VIP") p:findFirstChild("leaderstats").Money.Value = Points elseif (checkOkToLetIn(p.Name)) then p:findFirstChild("leaderstats").Money.Value = Points
end end)
if checkShirt(char.Character) then local rbx = char.Character:findFirstChild("Shirt Graphic") if rbx.Graphic then char.Character.Humanoid.MaxHealth = 250 char.Character.Humanoid.Health = 250 local weps = game.Lighting.Level2:GetChildren() for i =1, #weps do if weps[i].className == "Tool" or weps[i].className == "HopperBin" then local weps2 = weps[i]:clone() weps2.Parent = char.Backpack end end end
game.Workspace.ChildAdded:connect(new)
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 17 Nov 2012 09:03 PM |
| Seems correct to me.. The script takes weapons from a Level assigned in the Lighting. Possibly the texture is incorrect, but I don't know. My VIP won't give the Points, Weapons or anything.. |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2012 09:10 PM |
| Should I remove the 2 at the end of weps? Idk if that causes the problem or not. |
|
|
| Report Abuse |
|
|
|
| 17 Nov 2012 09:19 PM |
Output?
- I script and people liek it. |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Nov 2012 09:38 PM |
We can't help you unless you show us the error.
Open the output
Run the game
Check what error is in there. |
|
|
| Report Abuse |
|
|