Why it isn’t works?
part.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:FindFirstChild(hit.Parent.Name)
player.playerstats.BankRob.Value = true
end
end)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserID, GamepassID) then -- this line don't works
![]()