Hello, I want to know why my VIP door is cancollide off when I join with me owning the gamepass but when someone else joins, it sets cancollide on for everyone.
Here's the script:
game.Players.PlayerAdded:Connect(function(plr)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(plr.UserId, 8565645) then
script.Parent.CanCollide = false
script.Parent.Transparency = 0.8
else
script.Parent.CanCollide = true
script.Parent.Transparency = 0
end
end)
The script is in a VIP door and it is a script, not a local script or module script.
Thanks!

4 comments
If you want one specific player to be able to walk through, you have to use a LocalScript
I changed it to local script and now it doesn't even work for me.
I'll give you an answer
Okay, thanks!