So im trying to make it to were when people get to a certain point in my game they touch a block and a gui pops up to teleport them to another place within the place, the problem is when i touch the block other people that haven’t made it that far yet see there gui as well, the script is a local script in starter character.The gui is a gui in starter gui its enabled is false
local plyr = game.Players.LocalPlayer
local bossbattles = {“4145828571”}
local tps = game:GetService(“TeleportService”)
local ss = game.Workspace.SaveSpots
local b1 = ss:findFirstChild(“7”)
b1.Touched:connect(function(hit)
local thegui = plyr.PlayerGui:findFirstChild(“FirstBossGui”)
thegui.Enabled = true
local gb = thegui.Now
gb.MouseButton1Click:connect(function()
tps:Teleport(bossbattles[1],plyr)
end)
end)