game.Players.PlayerAdded:connect(function(player)
while true do
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, 7384369) then
if player.Backpack:FindFirstChild("GravityCoil") == nil and player.Character:FindFirstChild("GravityCoil") == nil then
print(player.Name .. " got an item!")
local b = game.Lighting:FindFirstChild("GravityCoil"):Clone()
b.Parent = player.Backpack
end
end
wait(1)
end
end)
local MS = game:GetService("MarketplaceService") game.Players.PlayerAdded:Connect(function(plr) repeat wait() until plr.Character if MS:UserOwnsGamePassAsync(plr.UserId, 7384369) then if plr.Backpack:FindFirstChild("GravityCoil") == nil and plr.Character:FindFirstChild("GravityCoil") == nil then print(plr.Name .. " got an item!") local b = game.Lighting:FindFirstChild("GravityCoil"):Clone() b.Parent = plr.Backpack end end end)
~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~game.Players.PlayerAdded:connect(function(player)
while true do
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, 7384369) then
if player.Backpack:FindFirstChild("GravityCoil") == nil and player.Character:FindFirstChild("GravityCoil") == nil then
print(player.Name .. " got an item!")
local b = game.Lighting:FindFirstChild("GravityCoil"):Clone()
b.Parent = player.Backpack
end
end
wait(1)
end
end)