There seems to be a "argument 1 missing or nil on line 8" please may someone point it out :P
goku
local id = 3352345245 -- not the real id :P
local part = script.Parent
script.Parent.Touched:Connect(function(pepe)
if game.Players:GetPlayerFromCharacter(pepe.Parent) then
local player = game.Players.LocalPlayer
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player,id) then
part.CanCollide = false
wait(0.5)
part.CanCollide = true
end
end
end)

1 comment
Hurrah! it works - thanks for the quick awnser aswell(i aspire to become half the scriptier yah are :P)