`ID = 154872414 Door = script.Parent Door.Touched:connect(function(hit) if hit.Parent.Humanoid then -- 1 Player = game.Players:GetPlayerFromCharacter(hit.Parent) -- 2 if game:GetService("GamePassService"):PlayerHasPass(Player, ID) then -- 3 script.Parent.CanCollide = false -- 4 script.Parent.Transparency = 0.5 wait(2) script.Parent.CanCollide = true script.Parent.Transparency = 0 end end end)
--1 Checks whether the part that touched the door is human or not. However, there is the issue with hats.. the event disconnects if the part was a hat. --2 If the part is part of a human, it gets the player from the part's parent, which is the character model. --3 If the player has the pass.. --4 Then the player can walk through the door. I'd suggest making the character teleport, though, if you don't want others mooching of the player with the pass`I tried one of your and it didn't work out so can you help me! here what I tried! and do a working one if they work and doesn't work anymore!

1 comment
FIRST lol