Advertisement
Ppnikabut

Untitled

Jun 20th, 2025 (edited)
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.29 KB | None | 0 0
  1. -- FF2 Script: Jump Peak Freeze + GUI + FPS + Texture Removal
  2.  
  3. local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Lighting = game:GetService("Lighting") local lp = Players.LocalPlayer local StatsService = game:GetService("Stats")
  4.  
  5. repeat wait() until lp and lp.Character and lp:FindFirstChild("PlayerGui") local char = lp.Character local humanoid = char:WaitForChild("Humanoid") local hrp = char:WaitForChild("HumanoidRootPart")
  6.  
  7. -- FPS Unlocker
  8. if setfpscap then pcall(function() setfpscap(120) end) end
  9.  
  10. -- Remove all textures
  11. local function removeTextures() for _, obj in ipairs(game:GetDescendants()) do if obj:IsA("Texture") or obj:IsA("Decal") or obj:IsA("SurfaceAppearance") or obj:IsA("ShirtGraphic") then pcall(function() obj:Destroy() end) end end end removeTextures() game.DescendantAdded:Connect(function(obj) if obj:IsA("Texture") or obj:IsA("Decal") or obj:IsA("SurfaceAppearance") or obj:IsA("ShirtGraphic") then pcall(function() obj:Destroy() end) end end)
  12.  
  13. -- GUI
  14. local gui = Instance.new("ScreenGui") gui.Name = "JumpControlGui" gui.ResetOnSpawn = false gui.IgnoreGuiInset = false gui.Parent = lp:WaitForChild("PlayerGui")
  15.  
  16. local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 200, 0, 100) frame.Position = UDim2.new(0.5, -100, 0.5, -50) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) frame.Active = true frame.Draggable = true frame.Parent = gui
  17.  
  18. local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(1, 0, 0.5, 0) toggleButton.Position = UDim2.new(0, 0, 0, 0) toggleButton.BackgroundColor3 = Color3.fromRGB(0, 170, 0) toggleButton.Font = Enum.Font.SourceSansBold toggleButton.TextSize = 16 toggleButton.TextColor3 = Color3.new(1, 1, 1) toggleButton.Text = "Freeze: ON" toggleButton.Parent = frame
  19.  
  20. local minimizeButton = Instance.new("TextButton") minimizeButton.Size = UDim2.new(1, 0, 0.5, 0) minimizeButton.Position = UDim2.new(0, 0, 0.5, 0) minimizeButton.BackgroundColor3 = Color3.fromRGB(100, 100, 100) minimizeButton.Font = Enum.Font.SourceSansBold minimizeButton.TextSize = 14 minimizeButton.TextColor3 = Color3.new(1, 1, 1) minimizeButton.Text = "Shrink" minimizeButton.Parent = frame
  21.  
  22. local freezeEnabled = true local minimized = false
  23.  
  24. toggleButton.MouseButton1Click:Connect(function() freezeEnabled = not freezeEnabled toggleButton.Text = freezeEnabled and "Freeze: ON" or "Freeze: OFF" toggleButton.BackgroundColor3 = freezeEnabled and Color3.fromRGB(0, 170, 0) or Color3.fromRGB(170, 0, 0) end)
  25.  
  26. minimizeButton.MouseButton1Click:Connect(function() minimized = not minimized frame.Size = minimized and UDim2.new(0, 120, 0, 30) or UDim2.new(0, 200, 0, 100) toggleButton.Visible = not minimized minimizeButton.Text = minimized and "Expand" or "Shrink" end)
  27.  
  28. -- FPS and Ping Display
  29. local statsLabel = Instance.new("TextLabel") statsLabel.Size = UDim2.new(0, 300, 0, 20) statsLabel.Position = UDim2.new(1, -310, 0, 5) statsLabel.AnchorPoint = Vector2.new(0, 0) statsLabel.BackgroundTransparency = 1 statsLabel.TextColor3 = Color3.new(1, 1, 1) statsLabel.TextStrokeTransparency = 0.5 statsLabel.Font = Enum.Font.SourceSansBold statsLabel.TextSize = 16 statsLabel.TextXAlignment = Enum.TextXAlignment.Right statsLabel.Text = "FPS: -- | Ping: --" statsLabel.Parent = gui
  30.  
  31. local frameCounter, totalTime = 0, 0 RunService.RenderStepped:Connect(function(dt) frameCounter += 1 totalTime += dt if totalTime >= 1 then local fps = frameCounter frameCounter, totalTime = 0, 0
  32.  
  33. local ping = "N/A"
  34.     local success, result = pcall(function()
  35.         return math.floor(lp:GetNetworkPing() * 1000)
  36.     end)
  37.     if success and result then
  38.         ping = result .. " ms"
  39.     end
  40.  
  41.     statsLabel.Text = "FPS: " .. fps .. " | Ping: " .. ping
  42. end
  43.  
  44. end)
  45.  
  46. -- Freeze at Peak Jump
  47. local jumping = false local frozen = false humanoid.StateChanged:Connect(function(_, newState) if not freezeEnabled then return end if newState == Enum.HumanoidStateType.Jumping then jumping = true elseif newState == Enum.HumanoidStateType.Freefall and jumping and not frozen then task.spawn(function() while hrp.Velocity.Y > 0 do task.wait() end frozen = true local wasAnchored = hrp.Anchored hrp.Anchored = true wait(0.85) hrp.Anchored = wasAnchored frozen = false jumping = false end) elseif newState == Enum.HumanoidStateType.Landed then jumping = false end end)
  48.  
  49.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement