Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- LocalScript (StarterPlayerScripts or executor)
- local player = game:GetService("Players").LocalPlayer
- local guiName = "FPS_GUI"
- -- Prevent duplicates
- if player:WaitForChild("PlayerGui"):FindFirstChild(guiName) then return end
- local screenGui = Instance.new("ScreenGui", player.PlayerGui)
- screenGui.Name = guiName
- screenGui.ResetOnSpawn = false
- screenGui.IgnoreGuiInset = true
- -- Frame
- local frame = Instance.new("Frame", screenGui)
- frame.Size = UDim2.new(0, 300, 0, 180)
- frame.Position = UDim2.new(0.5, -150, 0.5, -90)
- frame.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- frame.BackgroundTransparency = 0.4
- frame.BorderSizePixel = 0
- frame.Active = true
- frame.Draggable = true
- Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 20)
- -- Green border
- local stroke = Instance.new("UIStroke", frame)
- stroke.Color = Color3.fromRGB(144, 238, 144)
- stroke.Thickness = 2
- stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- -- Title
- local title = Instance.new("TextLabel", frame)
- title.Text = "FPS BOOSTER"
- title.Font = Enum.Font.GothamBold
- title.TextSize = 20
- title.TextColor3 = Color3.fromRGB(0, 255, 0)
- title.BackgroundTransparency = 1
- title.Size = UDim2.new(1, 0, 0, 30)
- title.Position = UDim2.new(0, 0, 0, 5)
- -- Output Label
- local output = Instance.new("TextLabel", frame)
- output.Text = ""
- output.Font = Enum.Font.Gotham
- output.TextSize = 16
- output.TextColor3 = Color3.fromRGB(0, 255, 0)
- output.BackgroundTransparency = 1
- output.Size = UDim2.new(1, 0, 0, 20)
- output.Position = UDim2.new(0, 0, 1, -25)
- -- Button
- local button = Instance.new("TextButton", frame)
- button.Text = "On"
- button.Font = Enum.Font.Gotham
- button.TextSize = 18
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.Size = UDim2.new(0, 180, 0, 40)
- button.Position = UDim2.new(0.5, -90, 0.7, 0)
- button.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- button.BackgroundTransparency = 0.3
- Instance.new("UICorner", button).CornerRadius = UDim.new(0, 15)
- local stroke2 = Instance.new("UIStroke", button)
- stroke2.Color = Color3.fromRGB(144, 238, 144)
- stroke2.Thickness = 2
- stroke2.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- -- Boost Logic
- local boosted = false
- local function boostAll()
- -- Safe FPS Cap (very high, no freeze)
- if setfpscap then
- setfpscap(1000)
- elseif setfpscapinternal then
- setfpscapinternal(1000)
- end
- -- Mild visual cleanup (no lag)
- local lighting = game:GetService("Lighting")
- lighting.FogEnd = 100000 -- not too extreme
- lighting.FogStart = 100000
- lighting.Brightness = 3
- lighting.GlobalShadows = false
- -- Anti-AFK
- local vu = game:GetService("VirtualUser")
- player.Idled:Connect(function()
- vu:Button2Down(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
- wait(1)
- vu:Button2Up(Vector2.new(0,0), workspace.CurrentCamera.CFrame)
- end)
- -- Output
- local msg = "π― FPS: 1000 (SAFE) | Anti-AFK β | πΊπΈ USA"
- output.Text = msg
- print(msg)
- end
- -- Click
- button.MouseButton1Click:Connect(function()
- if not boosted then
- boosted = true
- button.Text = "Boosted"
- boostAll()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment