--// EK HUB local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local TeleportService = game:GetService("TeleportService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer --// GUI local gui = Instance.new("ScreenGui") gui.Name = "EKHub" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") --// TOP BAR local top = Instance.new("Frame") top.Size = UDim2.new(1, 0, 0, 40) top.BackgroundColor3 = Color3.fromRGB(20, 20, 20) top.BorderSizePixel = 0 top.Parent = gui local title = Instance.new("TextLabel") title.Size = UDim2.new(0, 200, 1, 0) title.Position = UDim2.new(0, 10, 0, 0) title.BackgroundTransparency = 1 title.Text = "EK HUB" title.TextColor3 = Color3.fromRGB(255, 140, 0) title.Font = Enum.Font.SourceSansBold title.TextSize = 22 title.Parent = top local stats = Instance.new("TextLabel") stats.Size = UDim2.new(0, 300, 1, 0) stats.Position = UDim2.new(0.3, 0, 0, 0) stats.BackgroundTransparency = 1 stats.TextColor3 = Color3.fromRGB(0, 255, 120) stats.Font = Enum.Font.SourceSans stats.TextSize = 16 stats.Text = "FPS: ... | Ping: ..." stats.Parent = top --// FPS + PING local fps = 0 local last = tick() RunService.RenderStepped:Connect(function() fps += 1 if tick() - last >= 1 then local ping = math.floor(player:GetNetworkPing() * 1000) stats.Text = "FPS: " .. fps .. " | Ping: " .. ping .. "ms" fps = 0 last = tick() end end) --// MAIN PANEL local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 220, 0, 180) frame.Position = UDim2.new(0.02, 0, 0.2, 0) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) frame.BorderSizePixel = 0 frame.Parent = gui Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10) --// BUTTON CREATOR local function button(text, y) local b = Instance.new("TextButton") b.Size = UDim2.new(0, 200, 0, 30) b.Position = UDim2.new(0, 10, 0, y) b.BackgroundColor3 = Color3.fromRGB(255, 140, 0) b.Text = text b.TextColor3 = Color3.fromRGB(0, 0, 0) b.Font = Enum.Font.SourceSansBold b.TextSize = 14 b.Parent = frame Instance.new("UICorner", b).CornerRadius = UDim.new(0, 6) return b end --// TELEPORTS (ANPASSEN!) local function tp(pos) local char = player.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.CFrame = CFrame.new(pos) end end -- PLACEHOLDER POSITIONS local BRAIN_POS = Vector3.new(100, 5, 100) local MIDDLE_POS = Vector3.new(0, 5, 0) --// BUTTONS local tpBrain = button("TP Brain", 10) tpBrain.MouseButton1Click:Connect(function() tp(BRAIN_POS) end) local tpMid = button("TP Middle", 50) tpMid.MouseButton1Click:Connect(function() tp(MIDDLE_POS) end) --// SETTINGS (simple toggle) local settingsBtn = button("Settings", 90) local settingsOpen = false local settingsFrame = Instance.new("Frame") settingsFrame.Size = UDim2.new(0, 180, 0, 100) settingsFrame.Position = UDim2.new(0, 250, 0, 200) settingsFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) settingsFrame.Visible = false settingsFrame.Parent = gui Instance.new("UICorner", settingsFrame).CornerRadius = UDim.new(0, 8) local rejoinBtn = Instance.new("TextButton") rejoinBtn.Size = UDim2.new(1, -20, 0, 30) rejoinBtn.Position = UDim2.new(0, 10, 0, 10) rejoinBtn.BackgroundColor3 = Color3.fromRGB(0, 255, 120) rejoinBtn.Text = "Rejoin" rejoinBtn.Font = Enum.Font.SourceSansBold rejoinBtn.TextSize = 14 rejoinBtn.Parent = settingsFrame Instance.new("UICorner", rejoinBtn).CornerRadius = UDim.new(0, 6) rejoinBtn.MouseButton1Click:Connect(function() TeleportService:Teleport(game.PlaceId, player) end) settingsBtn.MouseButton1Click:Connect(function() settingsOpen = not settingsOpen settingsFrame.Visible = settingsOpen end) --// KEYBIND (GUI TOGGLE) local toggleKey = Enum.KeyCode.RightShift UserInputService.InputBegan:Connect(function(input, gp) if gp then return end if input.KeyCode == toggleKey then frame.Visible = not frame.Visible settingsFrame.Visible = false end end)