--======================================================== -- SPOZI HUB V2.0 -- SINGLE LOCAL SCRIPT -- For your own Roblox experience --======================================================== local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- CONFIGURATION local Config = { Speed = 28, Jump = 50, FlySpeed = 50, Theme = Color3.fromRGB(110, 65, 255) } local flying = false local minimized = false local noclip = false local currentTab = "Movement" local savedPosition = nil local connections = {} -- CLEANUP OLD GUI local old = playerGui:FindFirstChild("SpoziHub") if old then old:Destroy() end --======================================================== -- GUI HELPERS --======================================================== local gui = Instance.new("ScreenGui") gui.Name = "SpoziHub" gui.ResetOnSpawn = false gui.IgnoreGuiInset = true gui.Parent = playerGui local function corner(object, radius) local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, radius) c.Parent = object return c end local function stroke(object, color, thickness) local s = Instance.new("UIStroke") s.Color = color s.Thickness = thickness or 1 s.Parent = object return s end local function tween(object, properties, duration) local t = TweenService:Create( object, TweenInfo.new(duration or 0.3, Enum.EasingStyle.Quint), properties ) t:Play() return t end local function createLabel(parent, text, size, position, color) local label = Instance.new("TextLabel") label.Size = size label.Position = position label.BackgroundTransparency = 1 label.Text = text label.TextColor3 = color or Color3.new(1,1,1) label.Font = Enum.Font.GothamBold label.TextScaled = true label.Parent = parent return label end local function notify(title, message) local box = Instance.new("Frame") box.Size = UDim2.fromOffset(260, 75) box.Position = UDim2.new(1, 280, 0, 25) box.BackgroundColor3 = Color3.fromRGB(17,17,27) box.Parent = gui box.ZIndex = 20 corner(box, 12) stroke(box, Config.Theme, 2) createLabel( box, title, UDim2.new(0.9,0,0.35,0), UDim2.fromScale(0.05,0.08), Config.Theme ).ZIndex = 21 createLabel( box, message, UDim2.new(0.9,0,0.3,0), UDim2.fromScale(0.05,0.52), Color3.new(1,1,1) ).ZIndex = 21 tween(box, { Position = UDim2.new(1,-275,0,25) },0.5) task.delay(3,function() if box.Parent then tween(box,{ Position=UDim2.new(1,280,0,25) },0.4) task.wait(0.5) box:Destroy() end end) end --======================================================== -- LOADING SCREEN --======================================================== local loading = Instance.new("Frame") loading.Size = UDim2.fromScale(1,1) loading.BackgroundColor3 = Color3.fromRGB(5,5,12) loading.Parent = gui local loadingCard = Instance.new("Frame") loadingCard.AnchorPoint = Vector2.new(0.5,0.5) loadingCard.Position = UDim2.fromScale(0.5,0.5) loadingCard.Size = UDim2.fromOffset(330,190) loadingCard.BackgroundColor3 = Color3.fromRGB(17,17,28) loadingCard.Parent = loading corner(loadingCard,18) stroke(loadingCard,Config.Theme,2) createLabel( loadingCard, "⚡ SPOZI HUB", UDim2.new(0.9,0,0.25,0), UDim2.fromScale(0.05,0.12), Config.Theme ) local loadingStatus = createLabel( loadingCard, "Initializing...", UDim2.new(0.9,0,0.15,0), UDim2.fromScale(0.05,0.43), Color3.new(1,1,1) ) local barBack = Instance.new("Frame") barBack.Size = UDim2.new(0.8,0,0,9) barBack.Position = UDim2.fromScale(0.1,0.72) barBack.BackgroundColor3 = Color3.fromRGB(40,40,55) barBack.Parent = loadingCard corner(barBack,10) local bar = Instance.new("Frame") bar.Size = UDim2.fromScale(0,1) bar.BackgroundColor3 = Config.Theme bar.Parent = barBack corner(bar,10) local steps = { {"Loading interface...",0.2}, {"Preparing movement...",0.45}, {"Loading settings...",0.7}, {"Almost ready...",1} } for _,step in ipairs(steps) do loadingStatus.Text = step[1] tween(bar,{Size=UDim2.fromScale(step[2],1)},0.6) task.wait(0.65) end --======================================================== -- MAIN WINDOW --======================================================== local main = Instance.new("Frame") main.AnchorPoint = Vector2.new(0.5,0.5) main.Position = UDim2.fromScale(0.5,0.5) main.Size = UDim2.fromOffset(360,400) main.BackgroundColor3 = Color3.fromRGB(12,12,20) main.Visible = false main.Parent = gui corner(main,16) stroke(main,Config.Theme,2) local header = Instance.new("Frame") header.Size = UDim2.new(1,0,0,55) header.BackgroundColor3 = Color3.fromRGB(25,18,45) header.Parent = main corner(header,14) createLabel( header, "⚡ SPOZI HUB", UDim2.new(0.7,0,0.65,0), UDim2.fromScale(0.05,0.15), Config.Theme ) local minimizeButton = Instance.new("TextButton") minimizeButton.Size = UDim2.fromOffset(35,35) minimizeButton.Position = UDim2.new(1,-45,0,10) minimizeButton.Text = "—" minimizeButton.TextColor3 = Color3.new(1,1,1) minimizeButton.BackgroundColor3 = Color3.fromRGB(55,40,85) minimizeButton.Parent = header corner(minimizeButton,8) --======================================================== -- DRAG SYSTEM --======================================================== local dragging = false local dragStart local startPosition header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPosition = main.Position end end) UIS.InputChanged:Connect(function(input) if dragging and ( input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch ) then local delta = input.Position - dragStart main.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) --======================================================== -- CONTENT AREA --======================================================== local content = Instance.new("ScrollingFrame") content.Position = UDim2.fromOffset(10,110) content.Size = UDim2.new(1,-20,1,-120) content.BackgroundTransparency = 1 content.BorderSizePixel = 0 content.ScrollBarThickness = 3 content.CanvasSize = UDim2.new(0,0,0,0) content.Parent = main local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0,10) layout.Parent = content layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() content.CanvasSize = UDim2.new( 0,0,0,layout.AbsoluteContentSize.Y + 15 ) end) local function clearContent() for _,item in ipairs(content:GetChildren()) do if item:IsA("GuiObject") and item ~= layout then item:Destroy() end end end local function button(text, callback) local b = Instance.new("TextButton") b.Size = UDim2.new(1,-5,0,42) b.BackgroundColor3 = Color3.fromRGB(30,25,45) b.Text = text b.TextColor3 = Color3.new(1,1,1) b.Font = Enum.Font.GothamBold b.TextSize = 14 b.Parent = content corner(b,9) stroke(b,Config.Theme,1) b.Activated:Connect(callback) return b end local function textBox(placeholder, defaultValue) local box = Instance.new("TextBox") box.Size = UDim2.new(1,-5,0,42) box.BackgroundColor3 = Color3.fromRGB(25,25,38) box.PlaceholderText = placeholder box.Text = tostring(defaultValue) box.TextColor3 = Color3.new(1,1,1) box.Font = Enum.Font.GothamBold box.TextSize = 14 box.ClearTextOnFocus = false box.Parent = content corner(box,9) stroke(box,Config.Theme,1) return box end --======================================================== -- CHARACTER HELPERS --======================================================== local function getCharacter() local character = player.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end return character, humanoid end --======================================================== -- MOVEMENT TAB --======================================================== local function movementTab() clearContent() button("SPEED: "..Config.Speed,function() local box = textBox("Enter speed",Config.Speed) box.FocusLost:Connect(function(enter) if not enter then return end local value = tonumber(box.Text) if not value then notify("ERROR","Enter a valid number") return end Config.Speed = math.clamp(value,0,100) local _,humanoid = getCharacter() if humanoid then humanoid.WalkSpeed = Config.Speed end notify("SPEED UPDATED",tostring(Config.Speed)) end) end) button("JUMP POWER: "..Config.Jump,function() local box = textBox("Enter jump power",Config.Jump) box.FocusLost:Connect(function(enter) if not enter then return end local value = tonumber(box.Text) if not value then return end Config.Jump = math.clamp(value,0,150) local _,humanoid = getCharacter() if humanoid then humanoid.UseJumpPower = true humanoid.JumpPower = Config.Jump end notify("JUMP UPDATED",tostring(Config.Jump)) end) end) button("FLY: "..(flying and "ON" or "OFF"),function() flying = not flying notify("FLIGHT",flying and "Enabled" or "Disabled") movementTab() end) button("SAVE POSITION",function() local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if root then savedPosition = root.CFrame notify("POSITION SAVED","Location stored") end end) button("RETURN TO SAVED POSITION",function() local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if root and savedPosition then root.CFrame = savedPosition notify("TELEPORT","Returned to saved location") else notify("ERROR","No saved location") end end) button("RESET CHARACTER",function() local _,humanoid = getCharacter() if humanoid then humanoid.Health = 0 end end) end --======================================================== -- VISUALS TAB --======================================================== local function visualsTab() clearContent() button("SHOW NPC NAMES",function() notify("VISUALS","Use your own game's NPC display system") end) button("SHOW OBJECT NAMES",function() notify("VISUALS","Object visualization selected") end) button("REMOVE VISUALS",function() notify("VISUALS","No external visualizers active") end) end --======================================================== -- SETTINGS TAB --======================================================== local function settingsTab() clearContent() button("PURPLE THEME",function() Config.Theme = Color3.fromRGB(110,65,255) notify("THEME","Purple selected") end) button("RED THEME",function() Config.Theme = Color3.fromRGB(255,45,65) notify("THEME","Red selected") end) button("RESET SETTINGS",function() Config.Speed = 28 Config.Jump = 50 flying = false notify("SETTINGS","Defaults restored") end) button("CLOSE HUB",function() gui:Destroy() end) end --======================================================== -- TAB NAVIGATION --======================================================== local tabs = Instance.new("Frame") tabs.Position = UDim2.fromOffset(10,65) tabs.Size = UDim2.new(1,-20,0,38) tabs.BackgroundTransparency = 1 tabs.Parent = main local function createTab(name,x,callback) local b = Instance.new("TextButton") b.Size = UDim2.new(1/3,-5,1,0) b.Position = UDim2.new(x,0,0,0) b.Text = name b.TextColor3 = Color3.new(1,1,1) b.BackgroundColor3 = Color3.fromRGB(35,25,55) b.Font = Enum.Font.GothamBold b.TextSize = 12 b.Parent = tabs corner(b,7) b.Activated:Connect(callback) end createTab("MOVEMENT",0,movementTab) createTab("VISUALS",1/3,visualsTab) createTab("SETTINGS",2/3,settingsTab) --======================================================== -- FLY CONTROLLER --======================================================== local vertical = 0 RunService.RenderStepped:Connect(function() if not flying then return end local character,humanoid = getCharacter() if not character then return end local root = character:FindFirstChild("HumanoidRootPart") if not root then return end local move = humanoid.MoveDirection local y = 0 if UIS:IsKeyDown(Enum.KeyCode.Space) then y = 1 elseif UIS:IsKeyDown(Enum.KeyCode.LeftControl) then y = -1 end root.AssemblyLinearVelocity = move * Config.FlySpeed + Vector3.new(0,y*Config.FlySpeed,0) end) --======================================================== -- RESPAWN SUPPORT --======================================================== player.CharacterAdded:Connect(function(character) local humanoid = character:WaitForChild("Humanoid") task.wait(0.25) humanoid.WalkSpeed = Config.Speed humanoid.UseJumpPower = true humanoid.JumpPower = Config.Jump notify("SPOZI HUB","Character reloaded") end) --======================================================== -- MINIMIZE --======================================================== minimizeButton.Activated:Connect(function() minimized = not minimized content.Visible = not minimized tabs.Visible = not minimized main.Size = minimized and UDim2.fromOffset(360,55) or UDim2.fromOffset(360,400) end) --======================================================== -- START --======================================================== movementTab() task.wait(0.5) tween(loadingCard,{ Size=UDim2.fromOffset(0,0) },0.4) task.wait(0.4) loading:Destroy() main.Visible = true notify("SPOZI HUB","Successfully loaded!") print("[SPOZI HUB] Version 2.0 loaded")