local id = 102974509
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:connect(function()
if game:GetService("GamePassService"):PlayerHasPass(player,id) then
script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-1417.952, 91.83, -13395.761)
else
script.Parent.Text = "You don't have the GamePass!"
wait(3)
script.Parent.Text = "Teleport to morphs [GamePass only]"
end
end)
This works in PlaySolo, and this is a localscript in a textbutton in StarterGui.

1 comment
Did you add a ClickDetector?