I have the gamepass but when I touch a part, it does not tp me to the other part.
local GamePassService = game:GetService("GamePassService")
local GamePassID = 444803445
script.Parent.Touched:connect(function(hit)
local Player = game.Players:GetPlayerFromCharacter(hit.Parent)
if GamePassService:PlayerHasPass(Player, GamePassID) then
local Character = hit.Parent
Character:MoveTo(script.Parent.Parent.GPTp)
end
end)
