Rojhann10

Untitled

Jul 9th, 2025
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. -- LocalScript (StarterPlayerScripts or executor)
  2.  
  3. local player = game:GetService("Players").LocalPlayer
  4. local guiName = "FPS_GUI"
  5.  
  6. -- Prevent duplicates
  7. if player:WaitForChild("PlayerGui"):FindFirstChild(guiName) then return end
  8.  
  9. local screenGui = Instance.new("ScreenGui", player.PlayerGui)
  10. screenGui.Name = guiName
  11. screenGui.ResetOnSpawn = false
  12. screenGui.IgnoreGuiInset = true
  13.  
  14. -- Frame
  15. local frame = Instance.new("Frame", screenGui)
  16. frame.Size = UDim2.new(0, 300, 0, 180)
  17. frame.Position = UDim2.new(0.5, -150, 0.5, -90)
  18. frame.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  19. frame.BackgroundTransparency = 0.4
  20. frame.BorderSizePixel = 0
  21. frame.Active = true
  22. frame.Draggable = true
  23. Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 20)
  24.  
  25. -- Green border
  26. local stroke = Instance.new("UIStroke", frame)
  27. stroke.Color = Color3.fromRGB(144, 238, 144)
  28. stroke.Thickness = 2
  29. stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  30.  
  31. -- Title
  32. local title = Instance.new("TextLabel", frame)
  33. title.Text = "FPS BOOSTER"
  34. title.Font = Enum.Font.GothamBold
  35. title.TextSize = 20
  36. title.TextColor3 = Color3.fromRGB(0, 255, 0)
  37. title.BackgroundTransparency = 1
  38. title.Size = UDim2.new(1, 0, 0, 30)
  39. title.Position = UDim2.new(0, 0, 0, 5)
  40.  
  41. -- Output Label
  42. local output = Instance.new("TextLabel", frame)
  43. output.Text = ""
  44. output.Font = Enum.Font.Gotham
  45. output.TextSize = 16
  46. output.TextColor3 = Color3.fromRGB(0, 255, 0)
  47. output.BackgroundTransparency = 1
  48. output.Size = UDim2.new(1, 0, 0, 20)
  49. output.Position = UDim2.new(0, 0, 1, -25)
  50.  
  51. -- Button
  52. local button = Instance.new("TextButton", frame)
  53. button.Text = "On"
  54. button.Font = Enum.Font.Gotham
  55. button.TextSize = 18
  56. button.TextColor3 = Color3.fromRGB(255, 255, 255)
  57. button.Size = UDim2.new(0, 180, 0, 40)
  58. button.Position = UDim2.new(0.5, -90, 0.7, 0)
  59. button.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  60. button.BackgroundTransparency = 0.3
  61. Instance.new("UICorner", button).CornerRadius = UDim.new(0, 15)
  62.  
  63. local stroke2 = Instance.new("UIStroke", button)
  64. stroke2.Color = Color3.fromRGB(144, 238, 144)
  65. stroke2.Thickness = 2
  66. stroke2.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  67.  
  68. -- Boost Logic
  69. local boosted = false
  70.  
  71. local function boostAll()
  72. -- Safe FPS Cap (very high, no freeze)
  73. if setfpscap then
  74. setfpscap(1000)
  75. elseif setfpscapinternal then
  76. setfpscapinternal(1000)
  77. end
  78.  
  79. -- Mild visual cleanup (no lag)
  80. local lighting = game:GetService("Lighting")
  81. lighting.FogEnd = 100000 -- not too extreme
  82. lighting.FogStart = 100000
  83. lighting.Brightness = 3
  84. lighting.GlobalShadows = false
  85.  
  86. -- Anti-AFK
  87. local vu = game:GetService("VirtualUser")
  88. player.Idled:Connect(function()
  89. vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
  90. wait(1)
  91. vu:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
  92. end)
  93.  
  94. -- Output
  95. local msg = "🎯 FPS: 1000 (SAFE) | Anti-AFK βœ… | πŸ‡ΊπŸ‡Έ USA"
  96. output.Text = msg
  97. print(msg)
  98. end
  99.  
  100. -- Click
  101. button.MouseButton1Click:Connect(function()
  102. if not boosted then
  103. boosted = true
  104. button.Text = "Boosted"
  105. boostAll()
  106. end
  107. end)
Advertisement
Add Comment
Please, Sign In to add comment