local zones = workspace:WaitForChild("MapZones") local player = game:GetService("Players").LocalPlayer local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui")) gui.ResetOnSpawn = false local banner = Instance.new("TextLabel", gui) banner.AnchorPoint, banner.Visible = Vector2.new(0.5, 0), false banner.Position, banner.Size = UDim2.fromScale(0.5, 0.1), UDim2.fromOffset(220, 35) local active, untilTime = nil, 0 while gui.Parent do local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") local found if root then for _, zone in zones:GetChildren() do if not zone:IsA("BasePart") then continue end local p, half = zone.CFrame:PointToObjectSpace(root.Position), zone.Size / 2 if math.abs(p.X) <= half.X and math.abs(p.Y) <= half.Y and math.abs(p.Z) <= half.Z and (not found or zone.Name < found.Name) then found = zone end end end if found ~= active then active = found if found then banner.Text = found.Name; untilTime = os.clock() + 2 end end banner.Visible = os.clock() < untilTime task.wait(0.1) end