--================================================== -- TOANA HUB 2.5 -- MOBILE + PC | KEYBINDS | WELCOME POPUP --================================================== local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local Config = { Speed = 16, Jump = 50, Fly = false, Noclip = false, ESP = false, FlySpeed = 50, Theme = Color3.fromRGB(145,80,255) } local savedPosition local highlights = {} local collisionCache = {} local keybinds = {} local waitingForKey local flyHeight = 0 local speedEnabled = false local jumpEnabled = false local infiniteJumpEnabled = false local themes = { Color3.fromRGB(145,80,255), Color3.fromRGB(0,180,255), Color3.fromRGB(0,220,140), Color3.fromRGB(255,80,120), Color3.fromRGB(255,160,40) } local themeIndex = 1 --================================================== -- CHARACTER --================================================== local function getCharacter() return player.Character end local function getHumanoid() local char = getCharacter() return char and char:FindFirstChildOfClass("Humanoid") end local function getRoot() local char = getCharacter() return char and char:FindFirstChild("HumanoidRootPart") end --================================================== -- GUI PARENT --================================================== local guiParent = player:WaitForChild("PlayerGui") if typeof(gethui) == "function" then local success, result = pcall(gethui) if success and result then guiParent = result end end local old = guiParent:FindFirstChild("TOANA_HUB_21") if old then old:Destroy() end --================================================== -- GUI --================================================== local gui = Instance.new("ScreenGui") gui.Name = "TOANA_HUB_21" gui.ResetOnSpawn = false gui.DisplayOrder = 999 gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling gui.Parent = guiParent local function corner(obj, radius) local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0,radius or 9) c.Parent = obj end --================================================== -- TOANA WELCOME POPUP --================================================== local SITE_URL = "https://toana.ct.ws" local DISCORD_URL = "https://discord.gg/hqcuy33zTf" local popup = Instance.new("Frame") popup.Name = "ToanaWelcomePopup" popup.Size = UDim2.fromOffset(360,245) popup.Position = UDim2.new(0.5,-180,0.5,-122) popup.BackgroundColor3 = Color3.fromRGB(18,13,30) popup.BorderSizePixel = 0 popup.ZIndex = 100 popup.Parent = gui corner(popup,16) local popupStroke = Instance.new("UIStroke") popupStroke.Color = Config.Theme popupStroke.Thickness = 2 popupStroke.Parent = popup -- BARRE BLANCHE local popupDragBar = Instance.new("Frame") popupDragBar.Size = UDim2.new(0,9,1,0) popupDragBar.Position = UDim2.new(0,-15,0,0) popupDragBar.BackgroundColor3 = Color3.new(1,1,1) popupDragBar.BorderSizePixel = 0 popupDragBar.ZIndex = 103 popupDragBar.Active = true popupDragBar.Parent = popup corner(popupDragBar,5) -- TITRE local popupTitle = Instance.new("TextLabel") popupTitle.Size = UDim2.new(1,-60,0,42) popupTitle.Position = UDim2.fromOffset(15,12) popupTitle.BackgroundTransparency = 1 popupTitle.Text = "WELCOME TO TOANA HUB" popupTitle.TextColor3 = Color3.new(1,1,1) popupTitle.TextSize = 19 popupTitle.Font = Enum.Font.GothamBold popupTitle.TextXAlignment = Enum.TextXAlignment.Left popupTitle.ZIndex = 101 popupTitle.Parent = popup -- BOUTON FERMER local popupClose = Instance.new("TextButton") popupClose.Size = UDim2.fromOffset(30,30) popupClose.Position = UDim2.new(1,-40,0,10) popupClose.BackgroundColor3 = Color3.fromRGB(180,50,70) popupClose.Text = "X" popupClose.TextColor3 = Color3.new(1,1,1) popupClose.TextSize = 15 popupClose.Font = Enum.Font.GothamBold popupClose.ZIndex = 105 popupClose.Parent = popup corner(popupClose,8) -- SOUS-TITRE local popupSubtitle = Instance.new("TextLabel") popupSubtitle.Size = UDim2.new(1,-30,0,38) popupSubtitle.Position = UDim2.fromOffset(15,58) popupSubtitle.BackgroundTransparency = 1 popupSubtitle.Text = "Find TOANA on internet and Discord !" popupSubtitle.TextColor3 = Color3.fromRGB(190,185,205) popupSubtitle.TextSize = 12 popupSubtitle.Font = Enum.Font.Gotham popupSubtitle.TextWrapped = true popupSubtitle.ZIndex = 101 popupSubtitle.Parent = popup -- BOUTONS SITE ET DISCORD local function makePopupButton(name,y,color,url) local button = Instance.new("TextButton") button.Size = UDim2.new(1,-40,0,43) button.Position = UDim2.fromOffset(20,y) button.BackgroundColor3 = color button.Text = name button.TextColor3 = Color3.new(1,1,1) button.TextSize = 14 button.Font = Enum.Font.GothamBold button.ZIndex = 102 button.Parent = popup corner(button,9) button.MouseButton1Click:Connect(function() popupSubtitle.Text = "COPY" if typeof(setclipboard) == "function" then pcall(setclipboard,url) end end) end makePopupButton( "COPY INTERNET LINK", 112, Color3.fromRGB(105,65,190), SITE_URL ) makePopupButton( "COPY DISCORD LINK", 165, Color3.fromRGB(65,95,190), DISCORD_URL ) -- FERMETURE popupClose.MouseButton1Click:Connect(function() popup.Visible = false end) -- DEPLACEMENT AVEC LA BARRE local popupDragging = false local popupDragStart local popupStartPosition popupDragBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then popupDragging = true popupDragStart = input.Position popupStartPosition = popup.Position end end) UIS.InputChanged:Connect(function(input) if not popupDragging then return end if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then local delta = input.Position - popupDragStart popup.Position = UDim2.new( popupStartPosition.X.Scale, popupStartPosition.X.Offset + delta.X, popupStartPosition.Y.Scale, popupStartPosition.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then popupDragging = false end end) --================================================== -- UI HELPERS --================================================== local function makeButton(parent, name, callback, height) local b = Instance.new("TextButton") b.Size = UDim2.new(1,-5,0,height or 40) b.BackgroundColor3 = Color3.fromRGB(36,36,50) b.TextColor3 = Color3.new(1,1,1) b.Text = name b.Font = Enum.Font.GothamSemibold b.TextSize = 13 b.AutoButtonColor = true b.Parent = parent corner(b,9) b.MouseButton1Click:Connect(callback) return b end local function makeInput(parent, name, value) local box = Instance.new("TextBox") box.Size = UDim2.new(1,-5,0,38) box.BackgroundColor3 = Color3.fromRGB(36,36,50) box.TextColor3 = Color3.new(1,1,1) box.PlaceholderText = name box.PlaceholderColor3 = Color3.fromRGB(160,160,170) box.Text = tostring(value or "") box.Font = Enum.Font.Gotham box.TextSize = 13 box.ClearTextOnFocus = false box.Parent = parent corner(box,9) return box end local function makeLabel(parent, name) local label = Instance.new("TextLabel") label.Size = UDim2.new(1,-5,0,27) label.BackgroundTransparency = 1 label.Text = name label.TextColor3 = Config.Theme label.TextSize = 14 label.Font = Enum.Font.GothamBold label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = parent return label end --================================================== -- FLOATING BUTTON --================================================== --================================================== -- FLOATING TOANA ICON --================================================== local floating = Instance.new("ImageButton") floating.Name = "TOANA_FLOAT" floating.Size = UDim2.fromOffset(58,58) floating.Position = UDim2.new(0,18,0.45,0) floating.BackgroundTransparency = 1 floating.Image = "rbxassetid://74403880033096" floating.ImageTransparency = 0 floating.ScaleType = Enum.ScaleType.Fit floating.Active = true floating.Parent = gui corner(floating,30) --================================================== -- MAIN MENU --================================================== local main = Instance.new("Frame") main.Name = "Main" main.Size = UDim2.new(0,340,0,510) main.Position = UDim2.new(0.5,-170,0.5,-255) main.BackgroundColor3 = Color3.fromRGB(18,18,27) main.BorderSizePixel = 0 main.Active = true main.Visible = false main.Parent = gui corner(main,15) local outline = Instance.new("UIStroke") outline.Color = Config.Theme outline.Thickness = 2 outline.Parent = main --================================================== -- WHITE DRAG BAR --================================================== local dragBar = Instance.new("Frame") dragBar.Name = "WhiteDragBar" dragBar.Size = UDim2.new(0,9,1,0) dragBar.Position = UDim2.new(0,-15,0,0) dragBar.BackgroundColor3 = Color3.new(1,1,1) dragBar.BorderSizePixel = 0 dragBar.Active = true dragBar.Parent = main corner(dragBar,5) local barDragging = false local barDragStart local barStartPosition dragBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then barDragging = true barDragStart = input.Position barStartPosition = main.Position end end) UIS.InputChanged:Connect(function(input) if not barDragging then return end if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then local delta = input.Position - barDragStart main.Position = UDim2.new( barStartPosition.X.Scale, barStartPosition.X.Offset + delta.X, barStartPosition.Y.Scale, barStartPosition.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then barDragging = false end end) --================================================== -- TITLE --================================================== local title = Instance.new("TextLabel") title.Size = UDim2.new(1,-55,0,45) title.Position = UDim2.fromOffset(12,0) title.BackgroundTransparency = 1 title.Text = "TOANA HUB 2.5" title.TextColor3 = Color3.new(1,1,1) title.TextSize = 21 title.Font = Enum.Font.GothamBold title.TextXAlignment = Enum.TextXAlignment.Left title.Parent = main local close = Instance.new("TextButton") close.Size = UDim2.fromOffset(35,35) close.Position = UDim2.new(1,-43,0,5) close.Text = "X" close.TextColor3 = Color3.new(1,1,1) close.BackgroundColor3 = Color3.fromRGB(180,50,70) close.Font = Enum.Font.GothamBold close.Parent = main corner(close,8) local function toggleMenu() main.Visible = not main.Visible end close.MouseButton1Click:Connect(function() main.Visible = false end) local scroll = Instance.new("ScrollingFrame") scroll.Size = UDim2.new(1,-20,1,-60) scroll.Position = UDim2.fromOffset(10,50) scroll.BackgroundTransparency = 1 scroll.BorderSizePixel = 0 scroll.ScrollBarThickness = 4 scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y scroll.CanvasSize = UDim2.new(0,0,0,0) scroll.Parent = main local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0,8) layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Parent = scroll --================================================== -- ACTION ROWS + KEYBINDS --================================================== local actions = {} local displayNames = {} local keyButtons = {} local function makeActionRow(parent, feature, label, callback) local row = Instance.new("Frame") row.Size = UDim2.new(1,-5,0,40) row.BackgroundTransparency = 1 row.Parent = parent local actionButton = Instance.new("TextButton") actionButton.Size = UDim2.new(0.61,-4,1,0) actionButton.BackgroundColor3 = Color3.fromRGB(36,36,50) actionButton.TextColor3 = Color3.new(1,1,1) actionButton.Text = label actionButton.Font = Enum.Font.GothamSemibold actionButton.TextSize = 12 actionButton.Parent = row corner(actionButton,8) local bindButton = Instance.new("TextButton") bindButton.Size = UDim2.new(0.39,0,1,0) bindButton.Position = UDim2.new(0.61,0,0,0) bindButton.BackgroundColor3 = Color3.fromRGB(75,55,115) bindButton.TextColor3 = Color3.new(1,1,1) bindButton.Text = "DEFINE" bindButton.Font = Enum.Font.GothamSemibold bindButton.TextSize = 11 bindButton.Parent = row corner(bindButton,8) actionButton.MouseButton1Click:Connect(callback) bindButton.MouseButton1Click:Connect(function() waitingForKey = feature bindButton.Text = "APPUYER..." bindButton.BackgroundColor3 = Color3.fromRGB(180,110,40) end) actions[feature] = callback displayNames[feature] = label keyButtons[feature] = bindButton return actionButton end --================================================== -- SPEED --================================================== makeLabel(scroll,"MOVE") local speedInput = makeInput(scroll,"Speed (0-100)",16) local speedButton local function applySpeed() local hum = getHumanoid() if hum then hum.WalkSpeed = Config.Speed end end local function toggleSpeed() speedEnabled = not speedEnabled Config.Speed = speedEnabled and math.clamp(tonumber(speedInput.Text) or 32,0,100) or 16 applySpeed() speedButton.Text = "SPEED : "..(speedEnabled and "ON" or "OFF") end makeButton(scroll,"APPLY SPEED",function() Config.Speed = math.clamp(tonumber(speedInput.Text) or 16,0,100) applySpeed() end) --================================================== -- JUMP --================================================== local jumpInput = makeInput(scroll,"JUMP POWER (0-150)",50) local jumpButton local function applyJump() local hum = getHumanoid() if hum then hum.UseJumpPower = true hum.JumpPower = Config.Jump end end makeButton(scroll,"APPLY JUMP",function() Config.Jump = math.clamp(tonumber(jumpInput.Text) or 50,0,150) applyJump() end) --================================================== -- INFINITE JUMP --================================================== local infiniteJumpButton local function toggleInfiniteJump() infiniteJumpEnabled = not infiniteJumpEnabled infiniteJumpButton.Text = "FLY : " .. (infiniteJumpEnabled and "ON" or "OFF") end infiniteJumpButton = makeActionRow( scroll, "InfiniteJump", "FLY : OFF", toggleInfiniteJump ) UIS.JumpRequest:Connect(function() if not infiniteJumpEnabled then return end local hum = getHumanoid() if hum and hum.Health > 0 then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) --================================================== -- NOCLIP --================================================== local noclipButton local function toggleNoclip() Config.Noclip = not Config.Noclip if not Config.Noclip then for part,original in pairs(collisionCache) do if part and part.Parent then part.CanCollide = original end end table.clear(collisionCache) end noclipButton.Text = "NOCLIP : "..(Config.Noclip and "ON" or "OFF") end noclipButton = makeActionRow(scroll,"Noclip","NOCLIP : OFF",toggleNoclip) --================================================== -- ESP --================================================== --================================================== -- TELEPORT PLAYER --================================================== makeLabel(scroll,"TP") local targetInput = makeInput(scroll,"PLAYER NAME","") local function teleportToPlayer() local target = Players:FindFirstChild(targetInput.Text) local root = getRoot() local targetRoot = target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") if root and targetRoot and target ~= player then local char = getCharacter() if char then char:PivotTo(targetRoot.CFrame * CFrame.new(0,0,-4)) end end end makeActionRow(scroll,"TeleportPlayer","TP TO PLAYER",teleportToPlayer) --================================================== -- SAVE / RETURN POSITION --================================================== local function savePosition() local root = getRoot() if root then savedPosition = root.CFrame print("TOANA : SAVE POSITION") end end local function returnPosition() local char = getCharacter() local root = getRoot() if char and root and savedPosition then char:PivotTo(savedPosition) root.AssemblyLinearVelocity = Vector3.zero root.AssemblyAngularVelocity = Vector3.zero end end makeActionRow(scroll,"SavePosition","SAVE POSITION",savePosition) makeActionRow(scroll,"ReturnPosition","RETURN POSITION",returnPosition) makeButton(scroll,"ERASE POSITION",function() savedPosition = nil end) --================================================== -- THEMES --================================================== --================================================== -- KEYBOARD --================================================== UIS.InputBegan:Connect(function(input,processed) if waitingForKey then if input.UserInputType == Enum.UserInputType.Keyboard then local feature = waitingForKey if input.KeyCode == Enum.KeyCode.Escape then keyButtons[feature].Text = keybinds[feature] and keybinds[feature].Name or "DEFIND" keyButtons[feature].BackgroundColor3 = Color3.fromRGB(75,55,115) waitingForKey = nil return end keybinds[feature] = input.KeyCode keyButtons[feature].Text = input.KeyCode.Name keyButtons[feature].BackgroundColor3 = Color3.fromRGB(40,125,80) waitingForKey = nil end return end if processed or input.UserInputType ~= Enum.UserInputType.Keyboard then return end if input.KeyCode == Enum.KeyCode.RightControl then toggleMenu() return end for feature,key in pairs(keybinds) do if input.KeyCode == key and actions[feature] then actions[feature]() end end end) --================================================== -- FLOATING BUTTON DRAG + CLICK --================================================== local dragging = false local moved = false local dragStart local startPos floating.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true moved = false dragStart = input.Position startPos = floating.Position end end) UIS.InputChanged:Connect(function(input) if not dragging then return end if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then local delta = input.Position - dragStart if delta.Magnitude > 8 then moved = true end floating.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) UIS.InputEnded:Connect(function(input) if not dragging then return end if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then if not moved then toggleMenu() end dragging = false end end) --================================================== -- FLY + NOCLIP UPDATE --================================================== RunService.Heartbeat:Connect(function() local char = getCharacter() local root = getRoot() local hum = getHumanoid() if not char or not root or not hum then return end if Config.Noclip then for _,part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then if collisionCache[part] == nil then collisionCache[part] = part.CanCollide end part.CanCollide = false end end end if Config.Fly then local camera = workspace.CurrentCamera local direction = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then direction += camera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then direction -= camera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then direction -= camera.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then direction += camera.CFrame.RightVector end direction += Vector3.yAxis * flyHeight root.AssemblyLinearVelocity = direction.Magnitude > 0 and direction.Unit * Config.FlySpeed or Vector3.zero flyHeight = 0 end end) --================================================== -- PLAYER EVENTS --================================================== Players.PlayerAdded:Connect(function(target) target.CharacterAdded:Connect(function() task.wait(1) refreshESP() end) end) Players.PlayerRemoving:Connect(function(target) if highlights[target] then highlights[target]:Destroy() highlights[target] = nil end end) player.CharacterAdded:Connect(function() task.wait(1) applySpeed() applyJump() table.clear(collisionCache) refreshESP() end) if invincibleEnabled then local hum = getHumanoid() if hum then hum.MaxHealth = math.huge hum.Health = hum.MaxHealth end end print("================================") print(" TOANA HUB 2.5") print(" LOADED SUCCESSFULLY") print("================================")