FAXFR

XDDA MENU!! PUBLIC22

Nov 9th, 2025
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 34.18 KB | Gaming | 0 0
  1. -- SERVICES
  2. local Players = game:GetService("Players")
  3. local RunService = game:GetService("RunService")
  4. local UserInputService = game:GetService("UserInputService")
  5. local TweenService = game:GetService("TweenService")
  6. local Lighting = game:GetService("Lighting")
  7. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  8.  
  9. local player = Players.LocalPlayer
  10. local character = player.Character or player.CharacterAdded:Wait()
  11. local humanoid = character:WaitForChild("Humanoid")
  12. local hrp = character:WaitForChild("HumanoidRootPart")
  13.  
  14. -- CONSTANTS
  15. local GOD_HEALTH = 1e30
  16. local FLY_SPEED = 50
  17. local JUMP_POWER_MULTIPLIER = 3
  18.  
  19. -- STATE VARIABLES
  20. local isFlying = false
  21. local isNoclip = false
  22. local isInvisible = false
  23. local godMode = false
  24. local soulOn = false
  25. local speedMultiplier = 1
  26. local jumpPowerMultiplier = 1
  27. local forceJump = false
  28. local chatSpam = false
  29. local bodyVelocity = nil
  30. local bodyGyro = nil
  31. local noclippedParts = {}
  32. local nameTags = {}
  33. local espBoxes = {}
  34. local espLines = {}
  35.  
  36. -- NEW FEATURES STATE
  37. local espEnabled = false
  38. local xRayEnabled = false
  39. local superJumpEnabled = false
  40. local nightVisionEnabled = false
  41. local noClipParts = {}
  42.  
  43. -- COMBINED STATE
  44. local state = {
  45.     flying = false,
  46.     noclip = false,
  47.     forceJump = false,
  48.     spam = false,
  49.     flyBV = nil,
  50.     conns = {}
  51. }
  52.  
  53. -- CONNECTIONS
  54. local connections = {}
  55.  
  56. -- UTILITY FUNCTIONS
  57. local function mk(parent, className, props)
  58.     local obj = Instance.new(className)
  59.     if props then for k,v in pairs(props) do obj[k] = v end end
  60.     obj.Parent = parent
  61.     return obj
  62. end
  63.  
  64. local function safeNum(text, fallback)
  65.     local n = tonumber(tostring(text))
  66.     if not n or n <= 0 then return fallback end
  67.     return n
  68. end
  69.  
  70. -- GUI SETUP
  71. local screenGui = Instance.new("ScreenGui")
  72. screenGui.Name = "PremiumUtilityPro"
  73. screenGui.ResetOnSpawn = false
  74. screenGui.Parent = player:WaitForChild("PlayerGui")
  75.  
  76. -- Main Container with modern design
  77. local mainFrame = Instance.new("Frame")
  78. mainFrame.Size = UDim2.new(0, 600, 0, 650)
  79. mainFrame.Position = UDim2.new(0, 20, 0.5, -325)
  80. mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 25)
  81. mainFrame.BackgroundTransparency = 0.1
  82. mainFrame.Active = true
  83. mainFrame.Draggable = true
  84. mainFrame.Parent = screenGui
  85.  
  86. -- Add gradient and shadow effects
  87. local gradient = Instance.new("UIGradient")
  88. gradient.Color = ColorSequence.new({
  89.     ColorSequenceKeypoint.new(0, Color3.fromRGB(30, 30, 40)),
  90.     ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 20, 25))
  91. })
  92. gradient.Parent = mainFrame
  93.  
  94. local stroke = Instance.new("UIStroke")
  95. stroke.Color = Color3.fromRGB(60, 60, 80)
  96. stroke.Thickness = 2
  97. stroke.Parent = mainFrame
  98.  
  99. local function createUICorner(obj, radius)
  100.     local corner = Instance.new("UICorner")
  101.     corner.CornerRadius = UDim.new(0, radius or 8)
  102.     corner.Parent = obj
  103.     return corner
  104. end
  105.  
  106. createUICorner(mainFrame, 12)
  107.  
  108. -- Header with icon
  109. local header = Instance.new("Frame")
  110. header.Size = UDim2.new(1, 0, 0, 45)
  111. header.BackgroundColor3 = Color3.fromRGB(35, 35, 45)
  112. header.Parent = mainFrame
  113. createUICorner(header, 12)
  114.  
  115. local headerGradient = Instance.new("UIGradient")
  116. headerGradient.Color = ColorSequence.new({
  117.     ColorSequenceKeypoint.new(0, Color3.fromRGB(80, 120, 255)),
  118.     ColorSequenceKeypoint.new(1, Color3.fromRGB(120, 80, 255))
  119. })
  120. headerGradient.Parent = header
  121.  
  122. local title = Instance.new("TextLabel")
  123. title.Size = UDim2.new(1, -10, 1, 0)
  124. title.Position = UDim2.new(0, 10, 0, 0)
  125. title.Text = "⚡ PREMIUM UTILITY PRO"
  126. title.Font = Enum.Font.GothamBlack
  127. title.TextSize = 18
  128. title.TextColor3 = Color3.new(1, 1, 1)
  129. title.BackgroundTransparency = 1
  130. title.TextXAlignment = Enum.TextXAlignment.Left
  131. title.Parent = header
  132.  
  133. local subtitle = Instance.new("TextLabel")
  134. subtitle.Size = UDim2.new(1, -10, 0, 20)
  135. subtitle.Position = UDim2.new(0, 10, 0, 25)
  136. subtitle.Text = "Ultimate Combined Edition"
  137. subtitle.Font = Enum.Font.Gotham
  138. subtitle.TextSize = 12
  139. subtitle.TextColor3 = Color3.fromRGB(200, 200, 255)
  140. subtitle.BackgroundTransparency = 1
  141. subtitle.TextXAlignment = Enum.TextXAlignment.Left
  142. subtitle.Parent = header
  143.  
  144. -- Control buttons in header
  145. local btnClose = mk(header, "TextButton", {
  146.     Text = "X", Size = UDim2.new(0, 34, 0, 26),
  147.     Position = UDim2.new(1, -38, 0, 5),
  148.     BackgroundColor3 = Color3.fromRGB(160, 40, 40),
  149.     TextColor3 = Color3.new(1, 1, 1),
  150.     AutoButtonColor = true
  151. })
  152. createUICorner(btnClose, 6)
  153.  
  154. local btnMin = mk(header, "TextButton", {
  155.     Text = "—", Size = UDim2.new(0, 34, 0, 26),
  156.     Position = UDim2.new(1, -76, 0, 5),
  157.     BackgroundColor3 = Color3.fromRGB(70, 70, 70),
  158.     TextColor3 = Color3.new(1, 1, 1),
  159.     AutoButtonColor = true
  160. })
  161. createUICorner(btnMin, 6)
  162.  
  163. -- Scroll frame for organized layout
  164. local scrollFrame = Instance.new("ScrollingFrame")
  165. scrollFrame.Size = UDim2.new(1, -10, 1, -60)
  166. scrollFrame.Position = UDim2.new(0, 5, 0, 50)
  167. scrollFrame.BackgroundTransparency = 1
  168. scrollFrame.ScrollBarThickness = 4
  169. scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 1200)
  170. scrollFrame.Parent = mainFrame
  171.  
  172. -- Modern button creation function
  173. local function createModernButton(text, yOffset, color, icon, widthScale)
  174.     local buttonContainer = Instance.new("Frame")
  175.     buttonContainer.Size = UDim2.new(widthScale or 1, widthScale and -6 or 0, 0, 36)
  176.     buttonContainer.Position = UDim2.new(0, 0, 0, yOffset)
  177.     buttonContainer.BackgroundTransparency = 1
  178.     buttonContainer.Parent = scrollFrame
  179.    
  180.     local btn = Instance.new("TextButton")
  181.     btn.Size = UDim2.new(1, -10, 1, 0)
  182.     btn.Position = UDim2.new(0, 5, 0, 0)
  183.     btn.Text = "  " .. (icon or "⚡") .. "  " .. text
  184.     btn.Font = Enum.Font.GothamSemibold
  185.     btn.TextSize = 14
  186.     btn.BackgroundColor3 = color
  187.     btn.TextColor3 = Color3.new(1, 1, 1)
  188.     btn.TextXAlignment = Enum.TextXAlignment.Left
  189.     btn.Parent = buttonContainer
  190.    
  191.     createUICorner(btn, 6)
  192.    
  193.     local buttonStroke = Instance.new("UIStroke")
  194.     buttonStroke.Color = Color3.fromRGB(100, 100, 120)
  195.     buttonStroke.Thickness = 1
  196.     buttonStroke.Parent = btn
  197.    
  198.     local status = Instance.new("TextLabel")
  199.     status.Size = UDim2.new(0, 60, 1, 0)
  200.     status.Position = UDim2.new(1, -65, 0, 0)
  201.     status.Text = "OFF"
  202.     status.Font = Enum.Font.GothamBold
  203.     status.TextSize = 12
  204.     status.TextColor3 = Color3.fromRGB(255, 80, 80)
  205.     status.BackgroundTransparency = 1
  206.     status.TextXAlignment = Enum.TextXAlignment.Right
  207.     status.Parent = btn
  208.    
  209.     return btn, status
  210. end
  211.  
  212. -- Update button status function
  213. local function updateButtonStatus(button, statusLabel, isActive)
  214.     statusLabel.Text = isActive and "ON" or "OFF"
  215.     statusLabel.TextColor3 = isActive and Color3.fromRGB(80, 255, 80) or Color3.fromRGB(255, 80, 80)
  216.    
  217.     local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  218.     local tween = TweenService:Create(button, tweenInfo, {
  219.         BackgroundColor3 = isActive and Color3.fromRGB(
  220.             math.min(button.BackgroundColor3.R * 255 + 30, 255),
  221.             math.min(button.BackgroundColor3.G * 255 + 30, 255),
  222.             math.min(button.BackgroundColor3.B * 255 + 30, 255)
  223.         ) or button.BackgroundColor3
  224.     })
  225.     tween:Play()
  226. end
  227.  
  228. -- Create organized sections
  229. local function createSection(title, yOffset)
  230.     local section = Instance.new("Frame")
  231.     section.Size = UDim2.new(1, 0, 0, 30)
  232.     section.Position = UDim2.new(0, 0, 0, yOffset)
  233.     section.BackgroundTransparency = 1
  234.     section.Parent = scrollFrame
  235.    
  236.     local label = Instance.new("TextLabel")
  237.     label.Size = UDim2.new(1, -10, 1, 0)
  238.     label.Position = UDim2.new(0, 10, 0, 0)
  239.     label.Text = "┃ " .. title
  240.     label.Font = Enum.Font.GothamBold
  241.     label.TextSize = 14
  242.     label.TextColor3 = Color3.fromRGB(170, 170, 255)
  243.     label.BackgroundTransparency = 1
  244.     label.TextXAlignment = Enum.TextXAlignment.Left
  245.     label.Parent = section
  246.    
  247.     return yOffset + 35
  248. end
  249.  
  250. -- Create input field function
  251. local function createInputField(yOffset, placeholder, defaultValue)
  252.     local container = Instance.new("Frame")
  253.     container.Size = UDim2.new(1, 0, 0, 34)
  254.     container.Position = UDim2.new(0, 0, 0, yOffset)
  255.     container.BackgroundTransparency = 1
  256.     container.Parent = scrollFrame
  257.    
  258.     local input = Instance.new("TextBox")
  259.     input.Size = UDim2.new(1, -10, 1, 0)
  260.     input.Position = UDim2.new(0, 5, 0, 0)
  261.     input.PlaceholderText = placeholder
  262.     input.Text = tostring(defaultValue)
  263.     input.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
  264.     input.TextColor3 = Color3.new(1, 1, 1)
  265.     input.Font = Enum.Font.Gotham
  266.     input.TextSize = 14
  267.     input.ClearTextOnFocus = false
  268.     input.Parent = container
  269.    
  270.     createUICorner(input, 6)
  271.    
  272.     return input, container
  273. end
  274.  
  275. -- Create buttons in organized sections
  276. local yPos = 0
  277.  
  278. -- MOVEMENT SECTION
  279. yPos = createSection("MOVEMENT", yPos)
  280. local btnFly, flyStatus = createModernButton("Flight Mode", yPos, Color3.fromRGB(0, 150, 200), "🚀")
  281. local btnDash, dashStatus = createModernButton("Quick Dash", yPos + 40, Color3.fromRGB(80, 80, 180), "💨", 0.48)
  282. local btnNoclip, noclipStatus = createModernButton("Noclip", yPos + 40, Color3.fromRGB(120, 100, 255), "👻", 0.48)
  283. local btnSpeed, speedStatus = createModernButton("Speed Hack", yPos + 80, Color3.fromRGB(255, 150, 0), "💨")
  284. local btnSuperJump, jumpStatus = createModernButton("Super Jump", yPos + 120, Color3.fromRGB(0, 200, 100), "🦘")
  285. local btnForceJump, forceJumpStatus = createModernButton("Force Jump", yPos + 160, Color3.fromRGB(200, 100, 255), "🔝", 0.48)
  286. local btnApplySpeed, applySpeedStatus = createModernButton("Apply Speed", yPos + 160, Color3.fromRGB(60, 60, 60), "📝", 0.48)
  287.  
  288. -- Speed inputs
  289. yPos = yPos + 200
  290. local speedInputLabel = Instance.new("TextLabel")
  291. speedInputLabel.Size = UDim2.new(1, -10, 0, 20)
  292. speedInputLabel.Position = UDim2.new(0, 10, 0, yPos)
  293. speedInputLabel.Text = "Fly/Dash Speed:"
  294. speedInputLabel.Font = Enum.Font.Gotham
  295. speedInputLabel.TextSize = 12
  296. speedInputLabel.TextColor3 = Color3.new(1, 1, 1)
  297. speedInputLabel.BackgroundTransparency = 1
  298. speedInputLabel.TextXAlignment = Enum.TextXAlignment.Left
  299. speedInputLabel.Parent = scrollFrame
  300.  
  301. local flySpeedInput, flySpeedContainer = createInputField(yPos + 25, "Fly/Dash Speed", "120")
  302.  
  303. yPos = yPos + 70
  304. local walkInputLabel = Instance.new("TextLabel")
  305. walkInputLabel.Size = UDim2.new(1, -10, 0, 20)
  306. walkInputLabel.Position = UDim2.new(0, 10, 0, yPos)
  307. walkInputLabel.Text = "Walk Speed:"
  308. walkInputLabel.Font = Enum.Font.Gotham
  309. walkInputLabel.TextSize = 12
  310. walkInputLabel.TextColor3 = Color3.new(1, 1, 1)
  311. walkInputLabel.BackgroundTransparency = 1
  312. walkInputLabel.TextXAlignment = Enum.TextXAlignment.Left
  313. walkInputLabel.Parent = scrollFrame
  314.  
  315. local walkSpeedInput, walkSpeedContainer = createInputField(yPos + 25, "Walk Speed", "16")
  316.  
  317. -- VISUAL SECTION
  318. yPos = yPos + 70
  319. yPos = createSection("VISUAL", yPos)
  320. local btnESP, espStatus = createModernButton("ESP Boxes", yPos, Color3.fromRGB(255, 100, 150), "📦")
  321. local btnXRay, xrayStatus = createModernButton("X-Ray Vision", yPos + 40, Color3.fromRGB(100, 255, 150), "👁️")
  322. local btnNightVision, nightVisionStatus = createModernButton("Night Vision", yPos + 80, Color3.fromRGB(200, 200, 0), "🌙")
  323. local btnInvis, invisStatus = createModernButton("Invisibility", yPos + 120, Color3.fromRGB(180, 180, 180), "🎭")
  324.  
  325. -- COMBAT SECTION
  326. yPos = yPos + 165
  327. yPos = createSection("COMBAT", yPos)
  328. local btnGod, godStatus = createModernButton("God Mode", yPos, Color3.fromRGB(255, 80, 80), "🛡️")
  329. local btnSoul, soulStatus = createModernButton("Soul Found", yPos + 40, Color3.fromRGB(150, 100, 255), "👻")
  330.  
  331. -- UTILITY SECTION
  332. yPos = yPos + 85
  333. yPos = createSection("UTILITY", yPos)
  334. local btnReset, resetStatus = createModernButton("Reset All", yPos, Color3.fromRGB(255, 60, 60), "🔄")
  335. local btnHide, hideStatus = createModernButton("Hide GUI", yPos + 40, Color3.fromRGB(100, 100, 100), "👁️")
  336.  
  337. -- CHAT SPAM SECTION
  338. yPos = yPos + 85
  339. yPos = createSection("CHAT SPAM", yPos)
  340. local chatSpamInput, chatSpamContainer = createInputField(yPos, "Spam message", "Premium Utility Pro Activated!")
  341. local btnChatSpam, chatSpamStatus = createModernButton("Toggle Chat Spam", yPos + 40, Color3.fromRGB(80, 80, 180), "💬")
  342.  
  343. -- TELEPORT SECTION
  344. yPos = yPos + 85
  345. yPos = createSection("TELEPORT PLAYERS", yPos)
  346.  
  347. -- Create teleport dropdown
  348. local tpDropdown = mk(scrollFrame, "Frame", {
  349.     Size = UDim2.new(1, -10, 0, 150),
  350.     Position = UDim2.new(0, 5, 0, yPos),
  351.     BackgroundColor3 = Color3.fromRGB(36, 36, 38),
  352.     ClipsDescendants = true
  353. })
  354. createUICorner(tpDropdown, 6)
  355.  
  356. local function refreshPlayers()
  357.     for i, v in pairs(tpDropdown:GetChildren()) do
  358.         if v:IsA("TextButton") then v:Destroy() end
  359.     end
  360.    
  361.     for i, plr in pairs(Players:GetPlayers()) do
  362.         if plr ~= player then
  363.             local btn = mk(tpDropdown, "TextButton", {
  364.                 Text = plr.Name,
  365.                 Size = UDim2.new(1, -10, 0, 28),
  366.                 Position = UDim2.new(0, 5, 0, (i-1) * 32),
  367.                 BackgroundColor3 = Color3.fromRGB(60, 60, 60),
  368.                 TextColor3 = Color3.fromRGB(255, 255, 255),
  369.                 Font = Enum.Font.Gotham,
  370.                 TextSize = 14
  371.             })
  372.             createUICorner(btn, 4)
  373.            
  374.             btn.MouseButton1Click:Connect(function()
  375.                 local char = player.Character
  376.                 local target = plr.Character
  377.                 if char and target then
  378.                     local hrp = char:FindFirstChild("HumanoidRootPart")
  379.                     local thrp = target:FindFirstChild("HumanoidRootPart")
  380.                     if hrp and thrp then
  381.                         hrp.CFrame = thrp.CFrame + Vector3.new(0, 3, 0)
  382.                     end
  383.                 end
  384.             end)
  385.         end
  386.     end
  387. end
  388.  
  389. -- Speed Slider with modern design
  390. yPos = yPos + 160
  391. local speedSection = Instance.new("Frame")
  392. speedSection.Size = UDim2.new(1, 0, 0, 60)
  393. speedSection.Position = UDim2.new(0, 0, 0, yPos)
  394. speedSection.BackgroundTransparency = 1
  395. speedSection.Parent = scrollFrame
  396.  
  397. local speedLabel = Instance.new("TextLabel")
  398. speedLabel.Size = UDim2.new(1, -10, 0, 20)
  399. speedLabel.Position = UDim2.new(0, 10, 0, 0)
  400. speedLabel.Text = "Speed Multiplier: 1x"
  401. speedLabel.Font = Enum.Font.Gotham
  402. speedLabel.TextSize = 12
  403. speedLabel.TextColor3 = Color3.new(1, 1, 1)
  404. speedLabel.BackgroundTransparency = 1
  405. speedLabel.TextXAlignment = Enum.TextXAlignment.Left
  406. speedLabel.Parent = speedSection
  407.  
  408. local sliderContainer = Instance.new("Frame")
  409. sliderContainer.Size = UDim2.new(1, -20, 0, 25)
  410. sliderContainer.Position = UDim2.new(0, 10, 0, 25)
  411. sliderContainer.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
  412. sliderContainer.Parent = speedSection
  413. createUICorner(sliderContainer, 12)
  414.  
  415. local sliderFill = Instance.new("Frame")
  416. sliderFill.Size = UDim2.new(0.1, 0, 1, 0)
  417. sliderFill.BackgroundColor3 = Color3.fromRGB(0, 200, 255)
  418. sliderFill.Parent = sliderContainer
  419. createUICorner(sliderFill, 12)
  420.  
  421. local fillGradient = Instance.new("UIGradient")
  422. fillGradient.Color = ColorSequence.new({
  423.     ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 150, 255)),
  424.     ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 255, 200))
  425. })
  426. fillGradient.Parent = sliderFill
  427.  
  428. -- Update scroll frame canvas size
  429. scrollFrame.CanvasSize = UDim2.new(0, 0, 0, yPos + 100)
  430.  
  431. -- Status bar
  432. local statusBar = mk(mainFrame, "TextLabel", {
  433.     Text = "Premium Utility Pro - Ready",
  434.     Size = UDim2.new(1, -12, 0, 28),
  435.     Position = UDim2.new(0, 6, 1, -36),
  436.     BackgroundTransparency = 1,
  437.     TextColor3 = Color3.fromRGB(190, 190, 190),
  438.     Font = Enum.Font.Gotham,
  439.     TextSize = 13,
  440.     TextXAlignment = Enum.TextXAlignment.Left
  441. })
  442.  
  443. -- FUNCTIONS FOR COMBINED FEATURES
  444.  
  445. local function setStatus(txt)
  446.     statusBar.Text = "Premium Utility Pro - " .. txt
  447. end
  448.  
  449. -- Enhanced Flight System (Combined)
  450. local function enableFly()
  451.     if isFlying then return end
  452.    
  453.     local char = player.Character or player.CharacterAdded:Wait()
  454.     local hrp = char:FindFirstChild("HumanoidRootPart")
  455.     if not hrp then return end
  456.    
  457.     bodyVelocity = Instance.new("BodyVelocity")
  458.     bodyGyro = Instance.new("BodyGyro")
  459.    
  460.     bodyVelocity.Velocity = Vector3.new(0, 0, 0)
  461.     bodyVelocity.MaxForce = Vector3.new(40000, 40000, 40000)
  462.     bodyVelocity.P = 10000
  463.    
  464.     bodyGyro.MaxTorque = Vector3.new(40000, 40000, 40000)
  465.     bodyGyro.P = 10000
  466.     bodyGyro.CFrame = hrp.CFrame
  467.    
  468.     bodyVelocity.Parent = hrp
  469.     bodyGyro.Parent = hrp
  470.    
  471.     connections.flight = RunService.Heartbeat:Connect(function()
  472.         if not isFlying then return end
  473.        
  474.         local look = workspace.CurrentCamera.CFrame.LookVector
  475.         local right = workspace.CurrentCamera.CFrame.RightVector
  476.         local mv = Vector3.new()
  477.        
  478.         if UserInputService:IsKeyDown(Enum.KeyCode.W) then mv = mv + Vector3.new(look.X, 0, look.Z) end
  479.         if UserInputService:IsKeyDown(Enum.KeyCode.S) then mv = mv - Vector3.new(look.X, 0, look.Z) end
  480.         if UserInputService:IsKeyDown(Enum.KeyCode.D) then mv = mv + Vector3.new(right.X, 0, right.Z) end
  481.         if UserInputService:IsKeyDown(Enum.KeyCode.A) then mv = mv - Vector3.new(right.X, 0, right.Z) end
  482.         if UserInputService:IsKeyDown(Enum.KeyCode.Space) then mv = mv + Vector3.new(0, 1, 0) end
  483.         if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then mv = mv - Vector3.new(0, 1, 0) end
  484.        
  485.         local sp = safeNum(flySpeedInput.Text, 120)
  486.         if bodyVelocity then
  487.             bodyVelocity.Velocity = (mv.Magnitude > 0 and mv.Unit * sp or Vector3.new(0, 0, 0))
  488.         end
  489.         if bodyGyro then
  490.             bodyGyro.CFrame = CFrame.new(hrp.Position, hrp.Position + hrp.CFrame.LookVector)
  491.         end
  492.     end)
  493.    
  494.     isFlying = true
  495.     updateButtonStatus(btnFly, flyStatus, true)
  496.     setStatus("Fly enabled")
  497. end
  498.  
  499. local function disableFly()
  500.     if bodyVelocity then bodyVelocity:Destroy() bodyVelocity = nil end
  501.     if bodyGyro then bodyGyro:Destroy() bodyGyro = nil end
  502.     if connections.flight then
  503.         connections.flight:Disconnect()
  504.         connections.flight = nil
  505.     end
  506.    
  507.     isFlying = false
  508.     updateButtonStatus(btnFly, flyStatus, false)
  509.     setStatus("Fly disabled")
  510. end
  511.  
  512. -- Quick Dash Function
  513. local function quickDash()
  514.     local char = player.Character
  515.     if not char then return end
  516.     local hrp = char:FindFirstChild("HumanoidRootPart")
  517.     if not hrp then return end
  518.    
  519.     local dir = workspace.CurrentCamera.CFrame.LookVector
  520.     local dist = safeNum(flySpeedInput.Text, 120) / 8
  521.     hrp.CFrame = hrp.CFrame + dir * dist
  522.     setStatus("Quick dash executed")
  523. end
  524.  
  525. -- Apply Walk Speed
  526. local function applyWalkSpeed()
  527.     local char = player.Character
  528.     if not char then return end
  529.     local hum = char:FindFirstChildOfClass("Humanoid")
  530.     if hum then
  531.         hum.WalkSpeed = safeNum(walkSpeedInput.Text, 16)
  532.         setStatus("Walk speed applied: " .. hum.WalkSpeed)
  533.     end
  534. end
  535.  
  536. -- Force Jump
  537. local function toggleForceJump()
  538.     forceJump = not forceJump
  539.     updateButtonStatus(btnForceJump, forceJumpStatus, forceJump)
  540.     setStatus("Force jump: " .. (forceJump and "ON" or "OFF"))
  541. end
  542.  
  543. -- Chat Spam
  544. local function toggleChatSpam()
  545.     chatSpam = not chatSpam
  546.     updateButtonStatus(btnChatSpam, chatSpamStatus, chatSpam)
  547.    
  548.     if chatSpam then
  549.         connections.spam = RunService.Heartbeat:Connect(function()
  550.             local chatEvents = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents")
  551.             if chatEvents then
  552.                 local sayMessage = chatEvents:FindFirstChild("SayMessageRequest")
  553.                 if sayMessage then
  554.                     sayMessage:FireServer(chatSpamInput.Text, "All")
  555.                 end
  556.             end
  557.             task.wait(0.5)
  558.         end)
  559.         setStatus("Chat spam enabled")
  560.     else
  561.         if connections.spam then
  562.             connections.spam:Disconnect()
  563.             connections.spam = nil
  564.         end
  565.         setStatus("Chat spam disabled")
  566.     end
  567. end
  568.  
  569. -- NEW FEATURE 1: ESP BOXES
  570. local function updateESP()
  571.     for player, box in pairs(espBoxes) do
  572.         if box then box:Remove() end
  573.     end
  574.     espBoxes = {}
  575.    
  576.     if not espEnabled then return end
  577.    
  578.     for _, plr in pairs(Players:GetPlayers()) do
  579.         if plr ~= player and plr.Character then
  580.             local char = plr.Character
  581.             local hrp = char:FindFirstChild("HumanoidRootPart")
  582.             if hrp then
  583.                 local box = Instance.new("BoxHandleAdornment")
  584.                 box.Name = "ESP_" .. plr.Name
  585.                 box.Adornee = hrp
  586.                 box.AlwaysOnTop = true
  587.                 box.ZIndex = 10
  588.                 box.Size = Vector3.new(4, 6, 2)
  589.                 box.Color3 = plr.Team and plr.Team.TeamColor.Color or Color3.new(1, 0, 0)
  590.                 box.Transparency = 0.3
  591.                 box.Parent = hrp
  592.                 espBoxes[plr] = box
  593.             end
  594.         end
  595.     end
  596. end
  597.  
  598. -- NEW FEATURE 2: X-RAY VISION
  599. local function updateXRay()
  600.     if xRayEnabled then
  601.         for _, part in pairs(workspace:GetDescendants()) do
  602.             if part:IsA("BasePart") and part.Transparency < 0.5 and part.Name ~= "HumanoidRootPart" then
  603.                 part.LocalTransparencyModifier = 0.8
  604.                 noClipParts[part] = part.Transparency
  605.             end
  606.         end
  607.     else
  608.         for part, _ in pairs(noClipParts) do
  609.             if part.Parent then
  610.                 part.LocalTransparencyModifier = 0
  611.             end
  612.         end
  613.         noClipParts = {}
  614.     end
  615. end
  616.  
  617. -- NEW FEATURE 3: SUPER JUMP
  618. local function updateSuperJump()
  619.     if humanoid then
  620.         if superJumpEnabled then
  621.             humanoid.JumpPower = 50 * JUMP_POWER_MULTIPLIER
  622.         else
  623.             humanoid.JumpPower = 50
  624.         end
  625.     end
  626. end
  627.  
  628. -- NEW FEATURE 4: NIGHT VISION
  629. local function updateNightVision()
  630.     if nightVisionEnabled then
  631.         Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  632.         Lighting.Brightness = 2
  633.         Lighting.ClockTime = 12
  634.     else
  635.         Lighting.Ambient = Color3.new(0, 0, 0)
  636.         Lighting.Brightness = 1
  637.     end
  638. end
  639.  
  640. -- Enhanced Invisibility
  641. local function setInvisibility(state)
  642.     for _, obj in pairs(character:GetDescendants()) do
  643.         if obj:IsA("BasePart") or obj:IsA("Decal") then
  644.             if obj.Name ~= "HumanoidRootPart" then
  645.                 obj.Transparency = state and 1 or 0
  646.             end
  647.         elseif obj:IsA("Accessory") and obj:FindFirstChild("Handle") then
  648.             obj.Handle.Transparency = state and 1 or 0
  649.         end
  650.     end
  651. end
  652.  
  653. -- Enhanced Soul Found (Name Tags)
  654. local function updateNameTag(plr)
  655.     local head = plr.Character and plr.Character:FindFirstChild("Head")
  656.     if head and not nameTags[plr] then
  657.         local tag = Instance.new("BillboardGui")
  658.         tag.Size = UDim2.new(0, 200, 0, 50)
  659.         tag.Adornee = head
  660.         tag.AlwaysOnTop = true
  661.         tag.Name = "SoulTag"
  662.         tag.Parent = head
  663.  
  664.         local textLabel = Instance.new("TextLabel")
  665.         textLabel.Size = UDim2.new(1, 0, 0.6, 0)
  666.         textLabel.BackgroundTransparency = 1
  667.         textLabel.TextColor3 = Color3.new(1, 1, 1)
  668.         textLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  669.         textLabel.TextStrokeTransparency = 0
  670.         textLabel.Font = Enum.Font.GothamBold
  671.         textLabel.TextSize = 14
  672.         textLabel.Text = plr.Name
  673.         textLabel.Parent = tag
  674.  
  675.         local teamLabel = Instance.new("TextLabel")
  676.         teamLabel.Size = UDim2.new(1, 0, 0.4, 0)
  677.         teamLabel.Position = UDim2.new(0, 0, 0.6, 0)
  678.         teamLabel.BackgroundTransparency = 1
  679.         teamLabel.TextColor3 = Color3.fromRGB(200, 200, 255)
  680.         teamLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
  681.         teamLabel.TextStrokeTransparency = 0
  682.         teamLabel.Font = Enum.Font.Gotham
  683.         teamLabel.TextSize = 12
  684.         teamLabel.Text = "TEAM: " .. (plr.Team and plr.Team.Name or "None")
  685.         teamLabel.Parent = tag
  686.  
  687.         nameTags[plr] = tag
  688.     end
  689. end
  690.  
  691. -- Slider logic
  692. local dragging = false
  693. sliderContainer.InputBegan:Connect(function(input)
  694.     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  695.         dragging = true
  696.     end
  697. end)
  698.  
  699. UserInputService.InputEnded:Connect(function(input)
  700.     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  701.         dragging = false
  702.     end
  703. end)
  704.  
  705. local function updateSpeedSlider()
  706.     if dragging then
  707.         local mouseX = UserInputService:GetMouseLocation().X
  708.         local guiX = sliderContainer.AbsolutePosition.X
  709.         local percent = math.clamp((mouseX - guiX) / sliderContainer.AbsoluteSize.X, 0, 1)
  710.         sliderFill.Size = UDim2.new(percent, 0, 1, 0)
  711.         speedMultiplier = math.floor(percent * 9 + 1)
  712.         speedLabel.Text = string.format("Speed Multiplier: %dx", speedMultiplier)
  713.         if humanoid then
  714.             humanoid.WalkSpeed = 16 * speedMultiplier
  715.         end
  716.         updateButtonStatus(btnSpeed, speedStatus, speedMultiplier > 1)
  717.     end
  718. end
  719.  
  720. -- BUTTON CONNECTIONS
  721.  
  722. -- Flight
  723. btnFly.MouseButton1Click:Connect(function()
  724.     if isFlying then
  725.         disableFly()
  726.     else
  727.         enableFly()
  728.     end
  729. end)
  730.  
  731. -- Dash
  732. btnDash.MouseButton1Click:Connect(quickDash)
  733.  
  734. -- Noclip
  735. btnNoclip.MouseButton1Click:Connect(function()
  736.     isNoclip = not isNoclip
  737.     updateButtonStatus(btnNoclip, noclipStatus, isNoclip)
  738.     setStatus("Noclip: " .. (isNoclip and "ON" or "OFF"))
  739. end)
  740.  
  741. -- Apply Speed
  742. btnApplySpeed.MouseButton1Click:Connect(applyWalkSpeed)
  743.  
  744. -- Force Jump
  745. btnForceJump.MouseButton1Click:Connect(toggleForceJump)
  746.  
  747. -- ESP
  748. btnESP.MouseButton1Click:Connect(function()
  749.     espEnabled = not espEnabled
  750.     updateButtonStatus(btnESP, espStatus, espEnabled)
  751.     updateESP()
  752.     setStatus("ESP: " .. (espEnabled and "ON" or "OFF"))
  753. end)
  754.  
  755. -- X-Ray
  756. btnXRay.MouseButton1Click:Connect(function()
  757.     xRayEnabled = not xRayEnabled
  758.     updateButtonStatus(btnXRay, xrayStatus, xRayEnabled)
  759.     updateXRay()
  760.     setStatus("X-Ray: " .. (xRayEnabled and "ON" or "OFF"))
  761. end)
  762.  
  763. -- Super Jump
  764. btnSuperJump.MouseButton1Click:Connect(function()
  765.     superJumpEnabled = not superJumpEnabled
  766.     updateButtonStatus(btnSuperJump, jumpStatus, superJumpEnabled)
  767.     updateSuperJump()
  768.     setStatus("Super Jump: " .. (superJumpEnabled and "ON" or "OFF"))
  769. end)
  770.  
  771. -- Night Vision
  772. btnNightVision.MouseButton1Click:Connect(function()
  773.     nightVisionEnabled = not nightVisionEnabled
  774.     updateButtonStatus(btnNightVision, nightVisionStatus, nightVisionEnabled)
  775.     updateNightVision()
  776.     setStatus("Night Vision: " .. (nightVisionEnabled and "ON" or "OFF"))
  777. end)
  778.  
  779. -- Invisibility
  780. btnInvis.MouseButton1Click:Connect(function()
  781.     isInvisible = not isInvisible
  782.     updateButtonStatus(btnInvis, invisStatus, isInvisible)
  783.     setInvisibility(isInvisible)
  784.     setStatus("Invisibility: " .. (isInvisible and "ON" or "OFF"))
  785. end)
  786.  
  787. -- God Mode
  788. btnGod.MouseButton1Click:Connect(function()
  789.     godMode = not godMode
  790.     updateButtonStatus(btnGod, godStatus, godMode)
  791.     if godMode and humanoid then
  792.         humanoid.MaxHealth = GOD_HEALTH
  793.         humanoid.Health = GOD_HEALTH
  794.     else
  795.         humanoid.MaxHealth = 100
  796.         humanoid.Health = 100
  797.     end
  798.     setStatus("God Mode: " .. (godMode and "ON" or "OFF"))
  799. end)
  800.  
  801. -- Soul Found
  802. btnSoul.MouseButton1Click:Connect(function()
  803.     soulOn = not soulOn
  804.     updateButtonStatus(btnSoul, soulStatus, soulOn)
  805.    
  806.     if not soulOn then
  807.         for _, tag in pairs(nameTags) do
  808.             if tag then tag:Destroy() end
  809.         end
  810.         nameTags = {}
  811.     else
  812.         for _, plr in pairs(Players:GetPlayers()) do
  813.             if plr ~= player then
  814.                 updateNameTag(plr)
  815.             end
  816.         end
  817.     end
  818.     setStatus("Soul Found: " .. (soulOn and "ON" or "OFF"))
  819. end)
  820.  
  821. -- Chat Spam
  822. btnChatSpam.MouseButton1Click:Connect(toggleChatSpam)
  823.  
  824. -- Reset All Function
  825. btnReset.MouseButton1Click:Connect(function()
  826.     -- Reset all states
  827.     isFlying, isNoclip, isInvisible = false, false, false
  828.     godMode, soulOn, espEnabled = false, false, false
  829.     xRayEnabled, superJumpEnabled, nightVisionEnabled = false, false, false
  830.     speedMultiplier, jumpPowerMultiplier = 1, 1
  831.     forceJump, chatSpam = false, false
  832.    
  833.     -- Update UI
  834.     updateButtonStatus(btnFly, flyStatus, false)
  835.     updateButtonStatus(btnNoclip, noclipStatus, false)
  836.     updateButtonStatus(btnSpeed, speedStatus, false)
  837.     updateButtonStatus(btnSuperJump, jumpStatus, false)
  838.     updateButtonStatus(btnESP, espStatus, false)
  839.     updateButtonStatus(btnXRay, xrayStatus, false)
  840.     updateButtonStatus(btnNightVision, nightVisionStatus, false)
  841.     updateButtonStatus(btnInvis, invisStatus, false)
  842.     updateButtonStatus(btnGod, godStatus, false)
  843.     updateButtonStatus(btnSoul, soulStatus, false)
  844.     updateButtonStatus(btnForceJump, forceJumpStatus, false)
  845.     updateButtonStatus(btnChatSpam, chatSpamStatus, false)
  846.    
  847.     -- Reset character properties
  848.     if humanoid then
  849.         humanoid.WalkSpeed = 16
  850.         humanoid.JumpPower = 50
  851.         humanoid.MaxHealth = 100
  852.         humanoid.Health = 100
  853.     end
  854.    
  855.     -- Cleanup effects
  856.     if bodyVelocity then bodyVelocity:Destroy() end
  857.     if bodyGyro then bodyGyro:Destroy() end
  858.     setInvisibility(false)
  859.     updateESP()
  860.     updateXRay()
  861.     updateNightVision()
  862.    
  863.     -- Reset slider
  864.     sliderFill.Size = UDim2.new(0.1, 0, 1, 0)
  865.     speedLabel.Text = "Speed Multiplier: 1x"
  866.    
  867.     -- Cleanup tags and connections
  868.     for _, tag in pairs(nameTags) do
  869.         if tag then tag:Destroy() end
  870.     end
  871.     nameTags = {}
  872.    
  873.     for name, connection in pairs(connections) do
  874.         connection:Disconnect()
  875.     end
  876.     connections = {}
  877.    
  878.     setStatus("All features reset")
  879. end)
  880.  
  881. -- Hide GUI
  882. btnHide.MouseButton1Click:Connect(function()
  883.     mainFrame.Visible = false
  884.     local unhideBtn = Instance.new("TextButton")
  885.     unhideBtn.Size = UDim2.new(0, 120, 0, 40)
  886.     unhideBtn.Position = UDim2.new(0, 20, 0, 20)
  887.     unhideBtn.Text = "👁️ SHOW GUI"
  888.     unhideBtn.Font = Enum.Font.GothamBold
  889.     unhideBtn.TextSize = 14
  890.     unhideBtn.BackgroundColor3 = Color3.fromRGB(80, 80, 255)
  891.     unhideBtn.TextColor3 = Color3.new(1,1,1)
  892.     unhideBtn.Parent = screenGui
  893.     createUICorner(unhideBtn, 8)
  894.    
  895.     local stroke = Instance.new("UIStroke")
  896.     stroke.Color = Color3.fromRGB(120, 120, 255)
  897.     stroke.Thickness = 2
  898.     stroke.Parent = unhideBtn
  899.    
  900.     unhideBtn.MouseButton1Click:Connect(function()
  901.         mainFrame.Visible = true
  902.         unhideBtn:Destroy()
  903.     end)
  904. end)
  905.  
  906. -- Window controls
  907. btnClose.MouseButton1Click:Connect(function()
  908.     for name, connection in pairs(connections) do
  909.         connection:Disconnect()
  910.     end
  911.     if bodyVelocity then bodyVelocity:Destroy() end
  912.     if bodyGyro then bodyGyro:Destroy() end
  913.     screenGui:Destroy()
  914. end)
  915.  
  916. btnMin.MouseButton1Click:Connect(function()
  917.     mainFrame.Visible = false
  918. end)
  919.  
  920. -- Dragging functionality
  921. do
  922.     local dragging = false
  923.     local dragStart
  924.     local startPos
  925.    
  926.     header.InputBegan:Connect(function(input)
  927.         if input.UserInputType == Enum.UserInputType.MouseButton1 then
  928.             dragging = true
  929.             dragStart = input.Position
  930.             startPos = mainFrame.Position
  931.             input.Changed:Connect(function()
  932.                 if input.UserInputState == Enum.UserInputState.End then
  933.                     dragging = false
  934.                 end
  935.             end)
  936.         end
  937.     end)
  938.    
  939.     header.InputChanged:Connect(function(input)
  940.         if input.UserInputType == Enum.UserInputType.MouseMovement and dragging then
  941.             local delta = input.Position - dragStart
  942.             mainFrame.Position = UDim2.new(
  943.                 startPos.X.Scale, startPos.X.Offset + delta.X,
  944.                 startPos.Y.Scale, startPos.Y.Offset + delta.Y
  945.             )
  946.         end
  947.     end)
  948. end
  949.  
  950. -- Main game loop
  951. connections.mainLoop = RunService.Stepped:Connect(function()
  952.     -- Update slider if dragging
  953.     updateSpeedSlider()
  954.    
  955.     -- Noclip logic
  956.     if isNoclip and character then
  957.         for _, part in pairs(character:GetDescendants()) do
  958.             if part:IsA("BasePart") then
  959.                 part.CanCollide = false
  960.             end
  961.         end
  962.     end
  963.    
  964.     -- Force jump logic
  965.     if forceJump and humanoid then
  966.         humanoid.Jump = true
  967.     end
  968.    
  969.     -- God mode maintenance
  970.     if godMode and humanoid then
  971.         humanoid.MaxHealth = GOD_HEALTH
  972.         humanoid.Health = GOD_HEALTH
  973.     end
  974. end)
  975.  
  976. -- Player management
  977. connections.playerAdded = Players.PlayerAdded:Connect(function(plr)
  978.     plr.CharacterAdded:Connect(function()
  979.         if soulOn or espEnabled then
  980.             wait(1)
  981.             if soulOn then updateNameTag(plr) end
  982.             if espEnabled then updateESP() end
  983.         end
  984.         refreshPlayers()
  985.     end)
  986. end)
  987.  
  988. connections.playerRemoving = Players.PlayerRemoving:Connect(function(plr)
  989.     if nameTags[plr] then nameTags[plr]:Destroy() end
  990.     if espBoxes[plr] then espBoxes[plr]:Remove() end
  991.     refreshPlayers()
  992. end)
  993.  
  994. -- Character respawn handling
  995. connections.characterAdded = player.CharacterAdded:Connect(function(char)
  996.     character = char
  997.     hrp = character:WaitForChild("HumanoidRootPart")
  998.     humanoid = character:WaitForChild("Humanoid")
  999.    
  1000.     -- Restore states
  1001.     if godMode then
  1002.         humanoid.MaxHealth = GOD_HEALTH
  1003.         humanoid.Health = GOD_HEALTH
  1004.     end
  1005.     if isInvisible then setInvisibility(true) end
  1006.     if superJumpEnabled then updateSuperJump() end
  1007.     if speedMultiplier > 1 then humanoid.WalkSpeed = 16 * speedMultiplier end
  1008.    
  1009.     refreshPlayers()
  1010. end)
  1011.  
  1012. -- Initial refresh
  1013. refreshPlayers()
  1014.  
  1015. -- Cleanup function
  1016. local function cleanup()
  1017.     for name, connection in pairs(connections) do
  1018.         connection:Disconnect()
  1019.     end
  1020.     if bodyVelocity then bodyVelocity:Destroy() end
  1021.     if bodyGyro then bodyGyro:Destroy() end
  1022.     for _, tag in pairs(nameTags) do
  1023.         if tag then tag:Destroy() end
  1024.     end
  1025.     for _, box in pairs(espBoxes) do
  1026.         if box then box:Remove() end
  1027.     end
  1028.     updateXRay() -- Reset xray
  1029.     updateNightVision() -- Reset night vision
  1030. end
  1031.  
  1032. -- Auto cleanup when script is destroyed
  1033. screenGui.Destroying:Connect(cleanup)
  1034.  
  1035. setStatus("Premium Utility Pro Loaded!")
Advertisement
Add Comment
Please, Sign In to add comment