Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Services
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local Lighting = game:GetService("Lighting")
- local Workspace = game:GetService("Workspace")
- local Stats = game:GetService("Stats")
- local LocalPlayer = Players.LocalPlayer
- local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
- -- ๐ SKYBOX Setup (unchanged)
- Lighting.FogEnd = 1e9
- Lighting.Brightness = 3
- Lighting.GlobalShadows = false
- Lighting.ClockTime = 14
- Lighting.OutdoorAmbient = Color3.fromRGB(20, 30, 60)
- Lighting.Ambient = Color3.fromRGB(40, 50, 90)
- for _, v in pairs(Lighting:GetChildren()) do
- if v:IsA("Sky") then v:Destroy() end
- end
- local sky = Instance.new("Sky", Lighting)
- local galaxyId = "rbxassetid://1234567890"
- sky.SkyboxBk = galaxyId
- sky.SkyboxDn = galaxyId
- sky.SkyboxFt = galaxyId
- sky.SkyboxLf = galaxyId
- sky.SkyboxRt = galaxyId
- sky.SkyboxUp = galaxyId
- -- ๐ฟ STRONG CLEAN FUNCTION (100x stronger version)
- local function strongClean(char)
- for _, obj in ipairs(Workspace:GetDescendants()) do
- if (obj:IsA("ParticleEmitter") or obj:IsA("Trail") or obj:IsA("Smoke") or
- obj:IsA("Fire") or obj:IsA("Sparkles") or obj:IsA("Beam") or
- obj:IsA("PointLight") or obj:IsA("SurfaceLight") or obj:IsA("SpotLight") or
- obj:IsA("Sound") or obj:IsA("MeshPart") or obj:IsA("Decal") or
- obj:IsA("Texture") or obj:IsA("Explosion") or obj:IsA("ShirtGraphic") or
- obj:IsA("Fire") or obj:IsA("ParticleEmitter") or obj:IsA("Smoke")) and
- (not char or not obj:IsDescendantOf(char)) then
- pcall(function() obj:Destroy() end)
- end
- end
- for _, effect in pairs(Lighting:GetChildren()) do
- if effect:IsA("PostEffect") or effect:IsA("ColorCorrectionEffect") or
- effect:IsA("BlurEffect") or effect:IsA("BloomEffect") or
- effect:IsA("SunRaysEffect") then
- pcall(function() effect:Destroy() end)
- end
- end
- Lighting.GlobalShadows = false
- Lighting.FogEnd = 1e10
- Lighting.Brightness = 1
- end
- -- ๐งผ CLEAN PLAYER CHARACTER (unchanged)
- local function cleanChar(char)
- if not char then return end
- for _, v in pairs(char:GetDescendants()) do
- if v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Smoke") or
- v:IsA("Fire") or v:IsA("Sparkles") or v:IsA("Sound") then
- pcall(function() v:Destroy() end)
- end
- end
- end
- -- ๐ง TOOL AUTO-EQUIP (unchanged)
- local toolEquipCooldown = false
- local function grabTools()
- if toolEquipCooldown then return end
- toolEquipCooldown = true
- task.spawn(function()
- for _, tool in ipairs(LocalPlayer.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- pcall(function()
- LocalPlayer.Character:WaitForChild("Humanoid"):EquipTool(tool)
- end)
- end
- end
- task.wait(1)
- toolEquipCooldown = false
- end)
- end
- -- ๐ง ON CHARACTER LOAD (unchanged)
- local function onCharacterAdded(char)
- task.wait(0.05)
- strongClean(char)
- cleanChar(char)
- task.wait(0.1)
- grabTools()
- end
- LocalPlayer.CharacterAdded:Connect(onCharacterAdded)
- onCharacterAdded(Character)
- -- ๐ TERRAIN TWEAK (unchanged)
- pcall(function()
- Workspace.Terrain.WaterWaveSize = 0
- Workspace.Terrain.WaterTransparency = 1
- Workspace.Terrain.WaterReflectance = 0
- Workspace.Terrain.WaterColor = Color3.new(0, 0, 0)
- end)
- -- ๐ง AUTO-CLEANER WITH MASSIVE BOOST (much stronger version)
- local lagStrikes = 0
- local lagCooldown = false
- local function megaClean()
- -- Run the strongClean and cleanChar multiple times rapidly for massive lag clearing
- for i = 1, 10 do
- strongClean(LocalPlayer.Character)
- cleanChar(LocalPlayer.Character)
- task.wait(0.05)
- end
- end
- RunService.Heartbeat:Connect(function(dt)
- if lagCooldown then return end
- local fps = 1 / dt
- local mem = Stats:GetTotalMemoryUsageMb()
- if fps < 30 or mem > 250 then
- lagStrikes += 1
- if lagStrikes >= 1 then -- trigger quicker
- lagCooldown = true
- -- Massive cleaning burst
- task.spawn(megaClean)
- grabTools()
- -- Set minimal graphics for max FPS boost
- Lighting.FogEnd = 1e11
- Lighting.Brightness = 0.5
- Lighting.GlobalShadows = false
- -- Restore settings after 15 seconds
- task.delay(15, function()
- Lighting.FogEnd = 1e9
- Lighting.Brightness = 3
- Lighting.GlobalShadows = false
- lagCooldown = false
- end)
- lagStrikes = 0
- end
- else
- lagStrikes = 0
- end
- end)
- -- ๐ FPS DISPLAY - PSYCHO HA STYLE (unchanged)
- local playerGui = LocalPlayer:WaitForChild("PlayerGui")
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "FPSCounter"
- screenGui.ResetOnSpawn = false
- screenGui.IgnoreGuiInset = true
- screenGui.Parent = playerGui
- local fpsLabel = Instance.new("TextLabel")
- fpsLabel.Name = "FPSDisplay"
- fpsLabel.Size = UDim2.new(0, 140, 0, 36)
- fpsLabel.Position = UDim2.new(0, 15, 1, -50)
- fpsLabel.BackgroundColor3 = Color3.fromRGB(10, 10, 25)
- fpsLabel.BorderSizePixel = 2
- fpsLabel.BorderColor3 = Color3.fromRGB(255, 215, 0)
- fpsLabel.Text = "FPS: --"
- fpsLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
- fpsLabel.Font = Enum.Font.SourceSansBold
- fpsLabel.TextScaled = true
- fpsLabel.Parent = screenGui
- local corner = Instance.new("UICorner", fpsLabel)
- corner.CornerRadius = UDim.new(0, 6)
- local stroke = Instance.new("UIStroke", fpsLabel)
- stroke.Thickness = 2
- stroke.Color = Color3.fromRGB(184, 134, 11)
- -- ๐๐ ROTATING EMOJI beside FPS text (unchanged)
- local emoji = Instance.new("TextLabel")
- emoji.Name = "FPSFace"
- emoji.Size = UDim2.new(0, 36, 0, 36)
- emoji.Position = UDim2.new(0, 155, 1, -50)
- emoji.BackgroundTransparency = 1
- emoji.Text = "๐"
- emoji.TextScaled = true
- emoji.Font = Enum.Font.SourceSansBold
- emoji.TextColor3 = Color3.fromRGB(0, 255, 0)
- emoji.Parent = screenGui
- local rotation = 0
- RunService.RenderStepped:Connect(function()
- rotation += 3
- emoji.Rotation = rotation % 360
- end)
- -- ๐ฏ LIVE FPS UPDATER with emoji color & text changes
- local frames = 0
- local lastTime = tick()
- RunService.RenderStepped:Connect(function()
- frames += 1
- if tick() - lastTime >= 1 then
- local fps = frames
- fpsLabel.Text = "FPS: " .. fps
- if fps >= 30 then
- fpsLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
- emoji.Text = "๐"
- emoji.TextColor3 = Color3.fromRGB(0, 255, 0)
- elseif fps >= 15 then
- fpsLabel.TextColor3 = Color3.fromRGB(255, 170, 0)
- emoji.Text = "๐"
- emoji.TextColor3 = Color3.fromRGB(255, 170, 0)
- else
- fpsLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
- emoji.Text = "๐"
- emoji.TextColor3 = Color3.fromRGB(255, 0, 0)
- end
- frames = 0
- lastTime = tick()
- end
- end)
- print("[๐ก๏ธ] Psycho Anti-Lag Loaded: 100x Stronger | FPS UI Themed | Safe + Compatible")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement