-- AMIR TOKYO HUB MENU local player = game.Players.LocalPlayer local gui = Instance.new("ScreenGui",player.PlayerGui) -- MAIN FRAME local main = Instance.new("Frame",gui) main.Size = UDim2.new(0,600,0,350) main.Position = UDim2.new(0.5,-300,0.5,-175) main.BackgroundColor3 = Color3.fromRGB(20,20,20) main.Active = true main.Draggable = true -- TOP BAR local top = Instance.new("Frame",main) top.Size = UDim2.new(1,0,0,40) top.BackgroundColor3 = Color3.fromRGB(0,170,255) local title = Instance.new("TextLabel",top) title.Size = UDim2.new(1,0,1,0) title.BackgroundTransparency = 1 title.Text = "🔥 AMIR TOKYO HUB" title.TextScaled = true title.TextColor3 = Color3.new(1,1,1) -- CLOSE BUTTON local close = Instance.new("TextButton",top) close.Size = UDim2.new(0,40,1,0) close.Position = UDim2.new(1,-40,0,0) close.Text = "X" close.MouseButton1Click:Connect(function() gui:Destroy() end) -- LEFT TAB MENU local tabs = Instance.new("Frame",main) tabs.Size = UDim2.new(0,150,1,-40) tabs.Position = UDim2.new(0,0,0,40) tabs.BackgroundColor3 = Color3.fromRGB(30,30,30) -- CONTENT AREA local content = Instance.new("Frame",main) content.Size = UDim2.new(1,-150,1,-40) content.Position = UDim2.new(0,150,0,40) content.BackgroundColor3 = Color3.fromRGB(40,40,40) ------------------------------------------------ -- TAB BUTTON FUNCTION ------------------------------------------------ local function createTab(name,posY) local button = Instance.new("TextButton",tabs) button.Size = UDim2.new(1,0,0,40) button.Position = UDim2.new(0,0,0,posY) button.Text = name button.BackgroundColor3 = Color3.fromRGB(45,45,45) button.TextColor3 = Color3.new(1,1,1) local page = Instance.new("Frame",content) page.Size = UDim2.new(1,0,1,0) page.Visible = false page.BackgroundTransparency = 1 button.MouseButton1Click:Connect(function() for _,v in pairs(content:GetChildren()) do v.Visible = false end page.Visible = true end) return page end -- TABS local playerTab = createTab("Player",0) local teleportTab = createTab("Teleport",45) local trollTab = createTab("Troll",90) local vehicleTab = createTab("Vehicle",135) local settingsTab = createTab("Settings",180) playerTab.Visible = true