My VIP script isn't working correctly - whenever you reset, it cycles through random VIP characters without even having the VIP.
-PLEASE STOP MAKING COMMENTS ABOUT THE TABBING, I CAN STILL READ IT
local GPS = game:GetService("MarketplaceService")
if GPS:PlayerOwnsAsset(p, script.Parent.Rex.Value) or GPS:PlayerOwnsAsset(p, script.Parent.Sat.Value) or GPS:PlayerOwnsAsset(p, script.Parent.Fusion.Value) then
for _,v in pairs(game.ReplicatedStorage.Game_Tools[suit.Tools.Value]:GetChildren()) do
if v:IsA("HopperBin") or v:IsA("Tool") then
if p:FindFirstChild'Backpack' then
v:clone().Parent = p.Backpack
end
end
end
if GPS:PlayerOwnsAsset(p, script.Parent.Rex.Value) and GPS:PlayerOwnsAsset(p, script.Parent.Sat.Value) then
for _,v in pairs(game.ReplicatedStorage.Game_Tools[suit.Tools.Value]:GetChildren()) do
if v:IsA("HopperBin") or v:IsA("Tool") then
if p:FindFirstChild'Backpack' then
v:clone().Parent = p.Backpack
end
end
end
else
if suit then
print('Error! Missing tools for: '..c.Name)
else
print('Error! Missing suit for: '..c.Name)
end
end
wait(0.15)
db.Value = false
end
--Your code block had too many ends. This is just telling me that if this isn't your entire script, you may have more issues than player detection.
--[[
end
end
end
]]--

8 comments
fix your tabbing
It's not just about you being able to read it; if your code isn't tabbed, people aren't going to want to help you fix your problem because it isn't as readable. So, fix your tabbing, please.
Listen, it's easier to detect an error when you tab your code. I am willing to bet most users prefer to see a code pretabbed than to have to find out where ends meet. Heck I'll tab your code for you if you are just going to delete a post and make a new one to get rid of my comment.
Well what about it needs to be fixed?
Or.. "tabbed" >_>
http://wiki.roblox.com/index.php?title=Writing_Clean_Code#Indenting
Edited for tabbing.
http://wiki.roblox.com/index.php?title=Lua_Style_Guide#Indentation