Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Loading Anti-lag...",
- Text = "Executing Script..",
- Icon = "rbxassetid://6238537240",
- Duration = 5,
- })
- task.wait(1.2)
- local _G = _G
- local RunService = game:GetService("RunService")
- local dt = os.clock()
- local noti = "Took %f seconds to load"
- local player = game.Players.LocalPlayer
- --local char = player.Character or player.CharacterAdded:Wait()
- local honeycomb = player:FindFirstChild("Honeycomb") or nil
- local hiveclaimed_time = honeycomb and os.clock() or 0
- local options = _G.settings
- local connections = {}
- --[[local prefix = ""
- local chat
- local speed = 28]]
- local l = game.Lighting
- local t = workspace.Terrain
- t.WaterWaveSize = 0
- t.WaterWaveSpeed = 0
- t.WaterReflectance = 0
- t.WaterTransparency = 0
- l.GlobalShadows = false
- l.FogEnd = 9e9
- --[[local ignore = {
- ["Union"] =
- }]]
- settings().Rendering.QualityLevel = "Level01"
- if connections then
- for _,v in pairs(connections) do
- v:Disconnect()
- end
- end
- local function onPlayerAdded(p, meta)
- if p == player and not meta then return end
- warn(p.Name.." Joined")
- connections.p = p.CharacterAdded:Connect(function(c)
- task.wait(1)
- for _,v in pairs(c:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- pcall(function()
- v.CanQuery = false
- if p ~= player then
- v.Transparency = (v:FindFirstAncestorWhichIsA("Accessory") or v:FindFirstAncestorWhichIsA("Tool")) and 1
- v.Enabled = false
- end
- end)
- if v:IsA("MeshPart") then
- v.TextureID = 10385902758728957
- end
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") then
- v:Destroy()
- elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
- v.Enabled = false
- elseif v:IsA("SurfaceGui") and p ~= player then
- v.Active = false
- v.Enabled = false
- end
- end
- end)
- end
- game.Players.PlayerAdded:Connect(onPlayerAdded)
- onPlayerAdded(player, true)
- for _, e in pairs(l:GetChildren()) do
- pcall(function()
- e.Enabled = false
- end)
- end
- for i, v in pairs(game:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- v.CanQuery = false
- if v:IsA("MeshPart") and v.Name ~= "PlanterBulb" then
- v.TextureID = 10385902758728957
- end
- if v.Name == "Part" and v:FindFirstAncestor("Decorations") then continue end
- if v:FindFirstAncestor("Decorations") or v:FindFirstAncestor("Honeycombs") or v:FindFirstAncestor("Vicious Bee Claimer") then
- v.Transparency = v.Parent ~= "TreatBooth" and 1 or 0
- if (v.Name ~= "Stump" and not v:FindFirstAncestor("StarAmuletBuilding") and not v:FindFirstAncestor("30BeeZone") and not v:FindFirstAncestor("Vicious Bee Claimer")) or (v.Name == "Star" or v.Name == "Wall" or v.Name == "Gate") then
- v.CanCollide = false
- end
- elseif v.Name == "FieldDecos" or v:FindFirstAncestor("FieldDecos") or v.Name == "Rose" or v.Name == "Clover" or v.Name == "SpiderWeb" then
- v:Destroy()
- elseif v:FindFirstAncestor("Shops") then
- v.Transparency = 1
- v.CanCollide = false
- elseif v:FindFirstAncestor("Gates") and v.Name ~= "Frame" and v.Name ~= "Door" then
- v:Destroy()
- end
- elseif (v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance")) then
- if (v:FindFirstAncestor("C") and options.token_decal) then continue end
- v.Transparency = 1
- pcall(function()
- v.Enabled = false
- end)
- if v:FindFirstAncestor("Flowers") and not options.Flowers then
- v:Destroy()
- end
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Explosion") then
- --v.BlastPressure = 1
- --v.BlastRadius = 1
- v:Destroy()
- elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or v:IsA("Sparkles") then
- v.Enabled = false
- elseif v:IsA("SurfaceGui") and (v:FindFirstAncestor("Vicious Bee Claimer") or v:FindFirstAncestor("NPCs")) then
- v.Active = false
- v.Enabled = false
- end
- end
- if not honeycomb then
- local z
- z = player.ChildAdded:Connect(function(c)
- if c.Name ~= "Honeycomb" then return end
- honeycomb = c
- hiveclaimed_time = os.clock()
- z:Disconnect()
- end)
- end
- connections.a = game.Workspace.Bees.ChildAdded:Connect(function(c)
- task.wait(1)
- if os.clock() - hiveclaimed_time >= 2 or _G.beevisibility then
- if c:IsA("BasePart") or c:IsA("Union") or c:IsA("TrussPart") or c:IsA("MeshPart") or c:IsA("UnionOperation") then
- c.Material = "Plastic"
- c.Reflectance = 0
- c.CastShadow = false
- c.Transparency = 1
- c.CanQuery = false
- if c:IsA("MeshPart") then
- c.TextureID = 10385902758728957
- end
- end
- end
- for _,v in pairs(c:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- v.Transparency = 1
- v.CanQuery = false
- if v:IsA("MeshPart") then
- v.TextureID = 10385902758728957
- end
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") then
- v:Destroy()
- --[[pcall(function()
- v.Enabled = false
- end)]]
- elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
- v.Enabled = false
- end
- RunService.RenderStepped:Wait()
- end
- end)
- connections.b = game.Workspace.Honeycombs.DescendantAdded:Connect(function(v)
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.Transparency = 1
- v.CastShadow = false
- v.CanQuery = false
- elseif v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance") then
- v.Transparency = 1
- pcall(function()
- v.Enabled = false
- end)
- end
- end)
- connections.c = game.Workspace.Balloons.FieldBalloons.DescendantAdded:Connect(function(v)
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- v.Transparency = options.BalloonTransparency or v.Transparency
- if v:IsA("MeshPart") then
- v.TextureID = 10385902758728957
- end
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") then
- v.Transparency = 1
- pcall(function()
- v.Enabled = false
- end)
- end
- end)
- connections.d = game.Workspace.Gadgets.DescendantAdded:Connect(function(v)
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- if v:IsA("MeshPart") then
- v.TextureID = 10385902758728957
- end
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") then
- v:Destroy()
- end
- end)
- if not options.Frogs then
- connections.e = game.Workspace.Frogs.DescendantAdded:Connect(function(v)
- print(v:GetFullName().."\n -"..v.ClassName)
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- --[[v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- if v:IsA("MeshPart") then
- v.TextureID = 10385902758728957
- end]]
- v:Destroy()
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") then
- v:Destroy()
- end
- end)
- end
- local deco = game.Workspace.Decorations
- for _,v in pairs(deco:GetDescendants()) do
- if v.Name == "TreatBooth" then
- for _,c in pairs (v:GetChildren()) do
- c.CanCollide = true
- c.Transparency = v.Name ~= "Canopy" and 0 or 1
- end
- end
- end
- if not options.NPCs then
- for _, v in pairs(workspace.NPCs:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- v.Transparency = 1
- v.CanQuery = false
- if v:IsA("MeshPart") then
- v.TextureID = 10385902758728957
- v.CanCollide = false
- end
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") then
- v:Destroy()
- pcall(function()
- v.Enabled = false
- end)
- elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
- v.Enabled = false
- end
- end
- end
- if options.low_beedetail then
- for _, c in pairs(workspace.Bees:GetChildren()) do
- if not honeycomb then
- c.Transparency = 1
- end
- for _,v in pairs(c:GetDescendants()) do
- if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- v.CastShadow = false
- v.Transparency = 1
- v.CanQuery = false
- if v:IsA("MeshPart") then
- v.TextureID = 10385902758728957
- end
- elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") then
- v:Destroy()
- elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
- v.Enabled = false
- end
- end
- end
- end
- if options.no_path then
- for _, v in pairs(workspace.Paths:GetChildren()) do
- v:Destroy()
- end
- end
- if not options.leaderboard then
- for _,v in pairs(workspace.Leaderboards:GetDescendants()) do
- if v:IsA("SurfaceGui") then
- v.Active = false
- v.Enabled = false
- end
- end
- end
- --local d = game.Workspace.Collectibles.ChildAdded
- --[[game.Workspace.DescendantAdded:Connect(function(v)
- if v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
- v.Enabled = false
- elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then
- v.Transparency = 1
- elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then
- v.Enabled = false
- elseif v:IsA("MeshPart") or v:IsA("UnionOperation") then
- v.Material = "Plastic"
- v.Reflectance = 0
- end
- end)]]
- local time1 = os.clock()-dt-0.5
- time1 = string.gsub(time1, "[%p]0+$", "")
- time1 = string.format("Took %f seconds to load", time1)
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Anti-lag Loaded",
- Text = time1,
- Icon = "rbxassetid://6238537240",
- Duration = 5,
- })
- --local delta, noti
- --[[while true do
- task.wait(5*60)
- local last = os.clock()
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Notification",
- Text = "Clearning Flowers...",
- Icon = "rbxassetid://6238537240",
- Duration = 3,
- })
- for _,v in pairs(workspace.Flowers:GetDescendants()) do
- if v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance") then
- v.Transparency = 1
- end
- RunService.RenderStepped:Wait()
- end
- delta = os.clock()-last
- delta = string.gsub(delta, "[%p]0+$", "")
- noti = string.format("Took %f to clean flowers" , delta)
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Cleaning Flowers",
- Text = noti,
- Icon = "rbxassetid://6238537240",
- Duration = 3,
- })
- end]]
Add Comment
Please, Sign In to add comment