Hello, I’m a very, very new developer and I’ve tried so many things to fix this, but nothing helps. I’ve set up a gamepass for a Gravity Coil, and I buy it, it goes into the players backpack, but it just doesn’t work. It doesn’t make them jump higher. However, when I put the tool into the starter pack, it works just fine.
Here’s the script:
local MarketPlaceService = game:GetService(“MarketplaceService”)
local GamepassId = 20466826
local Tool = script.GravityCoil
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
if MarketPlaceService:UserOwnsGamePassAsync(Player.UserId, GamepassId) then
local ToolClone = Tool:Clone()
ToolClone.Parent = Player.Backpack
end
end)
end)
Can any scripters please let me know what the issue is? I’m sorry for acting so dumb, but I just have no idea what I’m doing wrong.