local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local LocalPlayer = Players.LocalPlayer local ZoneFloorsFolder = workspace:WaitForChild("MAPPARTS"):WaitForChild("Parts"):WaitForChild("GroundFloor"):WaitForChild("ZoneFloors") local CheckerZone = workspace:WaitForChild("Map"):WaitForChild("ShopStands"):WaitForChild("SurfBoards"):WaitForChild("Surfboard"):WaitForChild("Meshes/untitled_Cube") local targetParent = Cloneref and Cloneref(CoreGui) or LocalPlayer:WaitForChild("PlayerGui") if targetParent:FindFirstChild("RarityTeleporterUI") then targetParent.RarityTeleporterUI:Destroy() end local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "RarityTeleporterUI" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = targetParent local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 240, 0, 340) MainFrame.Position = UDim2.new(0.05, 0, 0.3, 0) MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 8) MainCorner.Parent = MainFrame local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 35) Title.BackgroundTransparency = 1 Title.Text = "Open Source Teleporter" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Title.Font = Enum.Font.SourceSansBold Title.Parent = MainFrame local ScrollFrame = Instance.new("ScrollingFrame") ScrollFrame.Size = UDim2.new(1, -20, 1, -95) ScrollFrame.Position = UDim2.new(0, 10, 0, 40) ScrollFrame.BackgroundTransparency = 1 ScrollFrame.BorderSizePixel = 0 ScrollFrame.ScrollBarThickness = 4 ScrollFrame.CanvasSize = UDim2.new(0, 0, 0, 0) ScrollFrame.Parent = MainFrame local UIListLayout = Instance.new("UIListLayout") UIListLayout.Padding = UDim.new(0, 5) UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Parent = ScrollFrame UIListLayout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() ScrollFrame.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y) end) local function teleportToModel(targetModel) local char = LocalPlayer.Character if char and targetModel then local modelCFrame = targetModel:GetPivot() char:PivotTo(modelCFrame + Vector3.new(0, 9, 0)) end end local function buildButton(text, color, parent) local btn = Instance.new("TextButton") btn.BackgroundColor3 = color btn.BorderSizePixel = 0 btn.Text = text btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.SourceSansBold btn.TextSize = 13 btn.Parent = parent local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 5) corner.Parent = btn return btn end local BaseButton = buildButton("Teleport to Safety", Color3.fromRGB(35, 105, 190), MainFrame) BaseButton.Size = UDim2.new(1, -20, 0, 35) BaseButton.Position = UDim2.new(0, 10, 1, -45) BaseButton.MouseButton1Click:Connect(function() local char = LocalPlayer.Character if char and CheckerZone then local checkerCFRAME = CheckerZone:GetPivot() char:PivotTo(checkerCFRAME + Vector3.new(0, 9, 0)) end end) local rarityOrder = { ["Common"] = 1, ["Rare"] = 2, ["Epic"] = 3, ["Legendary"] = 4, ["Mythic"] = 5, ["Secret"] = 6, ["God"] = 7, ["OG"] = 8, ["Divine"] = 9, ["Transcendent"] = 10 } local howmanythingsnamedgod = 0 for _, child in pairs(ZoneFloorsFolder:GetChildren()) do if child:IsA("Model") or child:IsA("BasePart") then local buttonText = child.Name if buttonText == "God" then howmanythingsnamedgod = howmanythingsnamedgod + 1 if howmanythingsnamedgod == 2 then buttonText = "OG" end end local ZoneButton = buildButton(buttonText, Color3.fromRGB(45, 45, 45), ScrollFrame) ZoneButton.Size = UDim2.new(1, 0, 0, 30) ZoneButton.LayoutOrder = rarityOrder[buttonText] or 99 ZoneButton.MouseButton1Click:Connect(function() teleportToModel(child) end) end end