SHOW:
|
|
- or go back to the newest paste.
1 | - | --[[game:GetService("StarterGui"):SetCore("SendNotification", { |
1 | + | game:GetService("StarterGui"):SetCore("SendNotification", { |
2 | Title = "Loading Anti-lag...", | |
3 | Text = "Executing Script..", | |
4 | Icon = "rbxassetid://6238537240", | |
5 | - | Duration = 3, |
5 | + | Duration = 5, |
6 | - | })]] |
6 | + | }) |
7 | task.wait(1.2) | |
8 | - | local RunService = game:GetService("RunService") |
8 | + | local _G = _G |
9 | - | local time1 = os.clock() |
9 | + | |
10 | - | --local noti = "Took %f seconds to load" |
10 | + | local dt = os.clock() |
11 | - | local player = game.Players.LocalPlayer |
11 | + | local noti = "Took %f seconds to load" |
12 | - | --local char = player.Character or player.CharacterAdded:Wait() |
12 | + | local player = game.Players.LocalPlayer |
13 | - | local honeycomb = player:FindFirstChild("Honeycomb") or nil |
13 | + | --local char = player.Character or player.CharacterAdded:Wait() |
14 | - | local options = getgenv().settings |
14 | + | local honeycomb = player:FindFirstChild("Honeycomb") or nil |
15 | - | getgenv() = nil |
15 | + | local hiveclaimed_time = honeycomb and os.clock() or 0 |
16 | - | --local connections = {} |
16 | + | local options = _G.settings |
17 | - | local l = game.Lighting |
17 | + | local connections = {} |
18 | - | local t = workspace.Terrain |
18 | + | --[[local prefix = "" |
19 | - | t.WaterWaveSize = 0 |
19 | + | local chat |
20 | - | t.WaterWaveSpeed = 0 |
20 | + | local speed = 28]] |
21 | - | t.WaterReflectance = 0 |
21 | + | local l = game.Lighting |
22 | - | t.WaterTransparency = 0 |
22 | + | local t = workspace.Terrain |
23 | - | l.GlobalShadows = false |
23 | + | t.WaterWaveSize = 0 |
24 | - | l.FogEnd = 9e9 |
24 | + | t.WaterWaveSpeed = 0 |
25 | - | --[[local ignore = { |
25 | + | t.WaterReflectance = 0 |
26 | - | ["Union"] = |
26 | + | t.WaterTransparency = 0 |
27 | l.GlobalShadows = false | |
28 | - | }]] |
28 | + | l.FogEnd = 9e9 |
29 | - | --local Debris = game:GetService("Debris") |
29 | + | --[[local ignore = { |
30 | - | settings().Rendering.QualityLevel = "Level01" |
30 | + | ["Union"] = |
31 | ||
32 | - | local function onPlayerAdded(p, meta) |
32 | + | }]] |
33 | - | local warning = p == player and "You are processed" or ((not meta) and (p.Name.." Joined")) or p.Name.."is processsed" |
33 | + | |
34 | - | print(warning) |
34 | + | settings().Rendering.QualityLevel = "Level01" |
35 | - | warning = nil |
35 | + | |
36 | - | p.CharacterAdded:Connect(function(c) |
36 | + | if connections then |
37 | - | task.wait(0.5) |
37 | + | for _,v in pairs(connections) do |
38 | - | for _,v in pairs(c:GetDescendants()) do |
38 | + | v:Disconnect() |
39 | - | if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then |
39 | + | end |
40 | - | v.Material = "Plastic" |
40 | + | end |
41 | - | v.Reflectance = 0 |
41 | + | |
42 | - | v.CastShadow = false |
42 | + | local function onPlayerAdded(p, meta) |
43 | - | if p ~= player then |
43 | + | if p == player and not meta then return end |
44 | - | v.CanQuery = false |
44 | + | warn(p.Name.." Joined") |
45 | - | v.CanTouch = false |
45 | + | connections.p = p.CharacterAdded:Connect(function(c) |
46 | - | if v:FindFirstAncestorWhichIsA("Accessory") or v:FindFirstAncestorWhichIsA("Tool") then |
46 | + | task.wait(1) |
47 | - | v.Transparency = 1 |
47 | + | |
48 | - | end |
48 | + | |
49 | - | end |
49 | + | |
50 | v.Reflectance = 0 | |
51 | v.CastShadow = false | |
52 | pcall(function() | |
53 | - | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then |
53 | + | v.CanQuery = false |
54 | if p ~= player then | |
55 | - | pcall(function() |
55 | + | v.Transparency = (v:FindFirstAncestorWhichIsA("Accessory") or v:FindFirstAncestorWhichIsA("Tool")) and 1 |
56 | - | v.Lifetime = NumberRange.new(0) |
56 | + | v.Enabled = false |
57 | - | v.Rate = 0 |
57 | + | |
58 | - | end) |
58 | + | |
59 | - | elseif v:IsA("Decal") or v:IsA("Texture") then |
59 | + | |
60 | - | v.Transparency = 1 |
60 | + | v.TextureID = 10385902758728957 |
61 | - | pcall(function() |
61 | + | |
62 | - | v.Enabled = false |
62 | + | |
63 | - | end) |
63 | + | |
64 | - | v:Destroy() |
64 | + | |
65 | - | elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then |
65 | + | |
66 | - | v.Enabled = false |
66 | + | |
67 | - | v:Destroy() |
67 | + | |
68 | - | elseif v:IsA("SurfaceGui") then |
68 | + | elseif v:IsA("SurfaceGui") and p ~= player then |
69 | - | v.Active = false |
69 | + | v.Active = false |
70 | - | v.Enabled = false |
70 | + | v.Enabled = false |
71 | end | |
72 | end | |
73 | end) | |
74 | end | |
75 | ||
76 | - | for _, p in pairs(game.Players:GetPlayers()) do |
76 | + | game.Players.PlayerAdded:Connect(onPlayerAdded) |
77 | - | onPlayerAdded(p, true) |
77 | + | |
78 | - | local c = p.Character or p.CharacterAdded:Wait() |
78 | + | onPlayerAdded(player, true) |
79 | ||
80 | - | --[[v.Transparency = (v:FindFirstAncestorWhichIsA("Accessory") or v:FindFirstAncestorWhichIsA("Tool")) and 1 |
80 | + | for _, e in pairs(l:GetChildren()) do |
81 | - | v.Enabled = false]] |
81 | + | pcall(function() |
82 | - | if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then |
82 | + | e.Enabled = false |
83 | - | v.Material = "Plastic" |
83 | + | |
84 | - | v.Reflectance = 0 |
84 | + | end |
85 | - | v.CastShadow = false |
85 | + | |
86 | - | if p ~= player then |
86 | + | for i, v in pairs(game:GetDescendants()) do |
87 | - | v.CanTouch = false |
87 | + | if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then |
88 | - | v.CanQuery = false |
88 | + | v.Material = "Plastic" |
89 | - | if v:FindFirstAncestorWhichIsA("Accessory") or v:FindFirstAncestorWhichIsA("Tool") then |
89 | + | v.Reflectance = 0 |
90 | - | v.Transparency = 1 |
90 | + | v.CastShadow = false |
91 | - | v.CanCollide = false |
91 | + | v.CanQuery = false |
92 | - | v:Destroy() |
92 | + | if v:IsA("MeshPart") and v.Name ~= "PlanterBulb" then |
93 | - | end |
93 | + | v.TextureID = 10385902758728957 |
94 | - | end |
94 | + | |
95 | - | if v:IsA("MeshPart") then |
95 | + | if v.Name == "Part" and v:FindFirstAncestor("Decorations") then continue end |
96 | - | v.TextureID = 10385902758728957 |
96 | + | if v:FindFirstAncestor("Decorations") or v:FindFirstAncestor("Honeycombs") or v:FindFirstAncestor("Vicious Bee Claimer") then |
97 | - | end |
97 | + | v.Transparency = v.Parent ~= "TreatBooth" and 1 or 0 |
98 | - | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then |
98 | + | 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 |
99 | v.CanCollide = false | |
100 | - | pcall(function() |
100 | + | end |
101 | - | v.Lifetime = NumberRange.new(0) |
101 | + | elseif v.Name == "FieldDecos" or v:FindFirstAncestor("FieldDecos") or v.Name == "Rose" or v.Name == "Clover" or v.Name == "SpiderWeb" then |
102 | - | v.Rate = 0 |
102 | + | |
103 | - | end) |
103 | + | elseif v:FindFirstAncestor("Shops") then |
104 | - | elseif v:IsA("Decal") or v:IsA("Texture") then |
104 | + | |
105 | - | v.Transparency = 1 |
105 | + | v.CanCollide = false |
106 | - | pcall(function() |
106 | + | elseif v:FindFirstAncestor("Gates") and v.Name ~= "Frame" and v.Name ~= "Door" then |
107 | - | v.Enabled = false |
107 | + | v:Destroy() |
108 | - | end) |
108 | + | |
109 | - | --v:Destroy() |
109 | + | elseif (v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance")) then |
110 | - | elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then |
110 | + | if (v:FindFirstAncestor("C") and options.token_decal) then continue end |
111 | - | v.Enabled = false |
111 | + | v.Transparency = 1 |
112 | - | --v:Destroy() |
112 | + | |
113 | - | elseif v:IsA("SurfaceGui") then |
113 | + | |
114 | - | v.Active = false |
114 | + | |
115 | - | v.Enabled = false |
115 | + | if v:FindFirstAncestor("Flowers") and not options.Flowers then |
116 | v:Destroy() | |
117 | - | end --ender for loop |
117 | + | end |
118 | - | c = nil |
118 | + | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then |
119 | v.Enabled = false | |
120 | elseif v:IsA("Explosion") then | |
121 | - | game.Players.PlayerAdded:Connect(onPlayerAdded) |
121 | + | --v.BlastPressure = 1 |
122 | --v.BlastRadius = 1 | |
123 | - | for _, e in pairs(l:GetChildren()) do |
123 | + | v:Destroy() |
124 | elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or v:IsA("Sparkles") then | |
125 | - | e.Enabled = false |
125 | + | v.Enabled = false |
126 | elseif v:IsA("SurfaceGui") and (v:FindFirstAncestor("Vicious Bee Claimer") or v:FindFirstAncestor("NPCs")) then | |
127 | v.Active = false | |
128 | v.Enabled = false | |
129 | - | for _, v in pairs(game:GetDescendants()) do |
129 | + | |
130 | - | if options.honeycomb and v:FindFirstAncestor("Honeycombs") then continue end |
130 | + | end |
131 | ||
132 | - | v.Material = (v.Name == "Crosshair" and options.targets) and v.Material or "Plastic" |
132 | + | if not honeycomb then |
133 | - | v.Reflectance = v.Name == "PollenHazePlane" and v.Reflectance or 0 |
133 | + | local z |
134 | - | v.CastShadow = false |
134 | + | z = player.ChildAdded:Connect(function(c) |
135 | - | v.Transparency = (v.Name == "PollenHazePlane" and 1) or (v.Name == "Bubble" and options.bubbletransparency) or v.Transparency |
135 | + | if c.Name ~= "Honeycomb" then return end |
136 | - | v.CanQuery = not v:FindFirstAncestor("Bees") and not v:FindFirstAncestor("Honeycombs") and not v.Name == "Bubble" and v:FindFirstAncestor("workspace") and false |
136 | + | honeycomb = c |
137 | - | v.CanTouch = not v:FindFirstAncestor("Bees") and not v:FindFirstAncestor("Honeycombs") and not v.Name == "Bubble" and v:FindFirstAncestor("workspace") and false |
137 | + | hiveclaimed_time = os.clock() |
138 | - | if v:IsA("MeshPart") and v.Name ~= "PlanterBulb" and |
138 | + | z:Disconnect() |
139 | - | not options.meshtexture then |
139 | + | |
140 | - | v.TextureID = (v.Name == "Crosshair" and options.targets) and v.TextureID or 10385902758728957 |
140 | + | end |
141 | - | v.Transparency = (v.Name == "Ripple" and not options.ripple or v.Name == "Orb" or v.Name == "Gumdrop" or v.Name == "Part") and 1 or v.Transparency |
141 | + | |
142 | connections.a = game.Workspace.Bees.ChildAdded:Connect(function(c) | |
143 | - | if v.Name == "Part" and v:FindFirstAncestor("Decorations") then continue end |
143 | + | task.wait(1) |
144 | - | if v:FindFirstAncestor("Decorations") or v:FindFirstAncestor("Honeycombs") or v:FindFirstAncestor("Vicious Bee Claimer") then |
144 | + | if os.clock() - hiveclaimed_time >= 2 or _G.beevisibility then |
145 | - | v.Transparency = v.Parent ~= "TreatBooth" and 1 or 0 |
145 | + | if c:IsA("BasePart") or c:IsA("Union") or c:IsA("TrussPart") or c:IsA("MeshPart") or c:IsA("UnionOperation") then |
146 | - | 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 |
146 | + | c.Material = "Plastic" |
147 | - | v.CanCollide = false |
147 | + | c.Reflectance = 0 |
148 | - | v.CanQuery = false |
148 | + | c.CastShadow = false |
149 | - | v.CanTouch = false |
149 | + | |
150 | - | end |
150 | + | c.CanQuery = false |
151 | - | elseif v.Name == "FieldDecos" or v:FindFirstAncestor("FieldDecos") or v.Name == "Rose" or v.Name == "Clover" or v.Name == "SpiderWeb" then |
151 | + | if c:IsA("MeshPart") then |
152 | - | v.Transparency = 1 |
152 | + | c.TextureID = 10385902758728957 |
153 | end | |
154 | - | v.CanQuery = false |
154 | + | |
155 | - | v.CanTouch = false |
155 | + | |
156 | for _,v in pairs(c:GetDescendants()) do | |
157 | - | elseif v:FindFirstAncestor("Shops") or v:FindFirstAncestor("Buildings") then |
157 | + | |
158 | - | --[[if not v:FindFirstAncestorWhichIsA("Tool") and not v:FindFirstAncestorWhichIsA("Accessory") then |
158 | + | |
159 | - | v:Destroy() |
159 | + | |
160 | - | continue end]] |
160 | + | |
161 | - | v.Transparency = 1 |
161 | + | v.Transparency = 1 |
162 | v.CanQuery = false | |
163 | - | v.CanQuery = false |
163 | + | |
164 | - | elseif v:FindFirstAncestor("Gates") and v.Name ~= "Frame" and v.Name ~= "Door" then |
164 | + | v.TextureID = 10385902758728957 |
165 | - | v.Transparency = 1 |
165 | + | |
166 | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then | |
167 | - | v.CanQuery = false |
167 | + | v.Enabled = false |
168 | - | v.CanTouch = false |
168 | + | |
169 | v:Destroy() | |
170 | --[[pcall(function() | |
171 | - | elseif (v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance")) and v.Name ~= "FrontDecal" and v.Name ~= "BackDecal" then |
171 | + | |
172 | - | if v:FindFirstAncestor("C") and (not options.token_decal or v:FindFirstAncestor("Collectibles")) then |
172 | + | end)]] |
173 | - | if not v:IsA("SurfaceAppearance") then |
173 | + | elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then |
174 | - | v.Transparency = 1 |
174 | + | v.Enabled = false |
175 | - | end |
175 | + | |
176 | - | pcall(function() |
176 | + | RunService.RenderStepped:Wait() |
177 | - | v.Enabled = false |
177 | + | |
178 | - | end) |
178 | + | |
179 | - | --v:Destroy() |
179 | + | |
180 | - | continue; |
180 | + | connections.b = game.Workspace.Honeycombs.DescendantAdded:Connect(function(v) |
181 | - | elseif not v:FindFirstAncestor("C") and v:FindFirstAncestor(workspace.Name) then |
181 | + | if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then |
182 | v.Material = "Plastic" | |
183 | - | pcall(function() |
183 | + | |
184 | - | v.Enabled = false |
184 | + | v.Transparency = 1 |
185 | - | end) |
185 | + | |
186 | v.CanQuery = false | |
187 | - | continue end; |
187 | + | elseif v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance") then |
188 | - | v.Transparency = (not v:FindFirstAncestor("C") or v:FindFirstAncestor(workspace.Name)) and 1 |
188 | + | |
189 | pcall(function() | |
190 | v.Enabled = false | |
191 | end) | |
192 | - | if v:FindFirstAncestor("Flowers") and not options.Flowers then |
192 | + | end |
193 | - | v.Enabled = false |
193 | + | |
194 | - | v:Destroy() |
194 | + | |
195 | connections.c = game.Workspace.Balloons.FieldBalloons.DescendantAdded:Connect(function(v) | |
196 | - | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then |
196 | + | if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then |
197 | v.Material = "Plastic" | |
198 | - | pcall(function() |
198 | + | |
199 | - | v.Lifetime = NumberRange.new(0) |
199 | + | |
200 | - | v.Rate = 0 |
200 | + | v.Transparency = options.BalloonTransparency or v.Transparency |
201 | if v:IsA("MeshPart") then | |
202 | - | --if v:IsA("Trail") then v:Destroy() end |
202 | + | v.TextureID = 10385902758728957 |
203 | - | elseif v:IsA("Explosion") then |
203 | + | |
204 | - | v.BlastPressure = 1 |
204 | + | |
205 | - | v.BlastRadius = 1 |
205 | + | |
206 | - | v.Visible = false |
206 | + | |
207 | - | v:Destroy() |
207 | + | |
208 | - | elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or v:IsA("Sparkles") then |
208 | + | |
209 | v.Enabled = false | |
210 | - | elseif v:IsA("SurfaceGui") and (not v:FindFirstAncestor("Honeycombs")) --[[(v:FindFirstAncestor("Vicious Bee Claimer") or v:FindFirstAncestor("NPCs"))]] then |
210 | + | |
211 | - | v.Active = false |
211 | + | end |
212 | - | v.Enabled = false |
212 | + | |
213 | - | elseif v:IsA("Tool") and v.Parent == workspace then |
213 | + | |
214 | - | v.Enabled = false |
214 | + | connections.d = game.Workspace.Gadgets.DescendantAdded:Connect(function(v) |
215 | - | v:Destroy() |
215 | + | |
216 | - | elseif v:IsA("Humanoid") and not game.Players:GetPlayerFromCharacter(v:FindFirstAncestorWhichIsA("Model")) and not v:FindFirstAncestor("Cubs") then |
216 | + | |
217 | - | v:Destroy() |
217 | + | |
218 | - | elseif v:FindFirstAncestor("HiveBalloons") then |
218 | + | |
219 | - | if v:IsA("SpecialMesh") then |
219 | + | |
220 | - | v:Destroy() |
220 | + | v.TextureID = 10385902758728957 |
221 | - | elseif v:IsA("Beam") or v:IsA("RopeConstraint") then |
221 | + | |
222 | - | v.Enabled = false |
222 | + | |
223 | - | elseif string.match(string.lower(v.Name), "body") then |
223 | + | v.Enabled = false |
224 | - | v.Transparency = 1 |
224 | + | |
225 | - | v.CanTouch = false |
225 | + | |
226 | - | v.CanQuery = false |
226 | + | |
227 | - | end |
227 | + | |
228 | ||
229 | if not options.Frogs then | |
230 | connections.e = game.Workspace.Frogs.DescendantAdded:Connect(function(v) | |
231 | - | --[[local a = ]]game.Workspace.Bees.ChildAdded:Connect(function(c) |
231 | + | print(v:GetFullName().."\n -"..v.ClassName) |
232 | - | task.wait(1) |
232 | + | |
233 | - | if not options.beevisibility then |
233 | + | --[[v.Material = "Plastic" |
234 | - | if c:IsA("BasePart") or c:IsA("Union") or c:IsA("TrussPart") or c:IsA("MeshPart") or c:IsA("UnionOperation") then |
234 | + | |
235 | - | c.Material = "Plastic" |
235 | + | |
236 | - | c.Reflectance = 0 |
236 | + | |
237 | - | c.CastShadow = false |
237 | + | |
238 | - | c.Transparency = 1 |
238 | + | |
239 | - | c.CanTouch = false |
239 | + | |
240 | - | if c:IsA("MeshPart") then |
240 | + | |
241 | - | c.TextureID = 10385902758728957 |
241 | + | |
242 | elseif v:IsA("Decal") or v:IsA("Texture") then | |
243 | v:Destroy() | |
244 | end | |
245 | - | |
245 | + | |
246 | - | if not options.low_beedetail then return end |
246 | + | end |
247 | ||
248 | local deco = game.Workspace.Decorations | |
249 | ||
250 | for _,v in pairs(deco:GetDescendants()) do | |
251 | if v.Name == "TreatBooth" then | |
252 | - | v.Transparency = 1 |
252 | + | for _,c in pairs (v:GetChildren()) do |
253 | - | v.CanTouch = false |
253 | + | c.CanCollide = true |
254 | - | v.CanQuery = false |
254 | + | c.Transparency = v.Name ~= "Canopy" and 0 or 1 |
255 | end | |
256 | end | |
257 | end | |
258 | - | --[[if #v:GetChildren() == 0 and options.beevisibility then |
258 | + | |
259 | - | v:Destroy() |
259 | + | if not options.NPCs then |
260 | for _, v in pairs(workspace.NPCs:GetDescendants()) do | |
261 | if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then | |
262 | v.Material = "Plastic" | |
263 | - | pcall(function() |
263 | + | |
264 | - | v.Lifetime = NumberRange.new(0) |
264 | + | |
265 | - | v.Rate = 0 |
265 | + | v.Transparency = 1 |
266 | - | end) |
266 | + | v.CanQuery = false |
267 | if v:IsA("MeshPart") then | |
268 | - | v.Transparency = 1 |
268 | + | v.TextureID = 10385902758728957 |
269 | - | pcall(function() |
269 | + | v.CanCollide = false |
270 | end | |
271 | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then | |
272 | v.Enabled = false | |
273 | - | v.Enabled = false |
273 | + | |
274 | - | --v:Destroy() |
274 | + | |
275 | pcall(function() | |
276 | - | RunService.RenderStepped:Wait() |
276 | + | |
277 | end) | |
278 | elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then | |
279 | v.Enabled = false | |
280 | - | if not options.honeycomb then |
280 | + | |
281 | - | --[[local b = ]]game.Workspace.Honeycombs.DescendantAdded:Connect(function(v) |
281 | + | |
282 | end | |
283 | ||
284 | if options.low_beedetail then | |
285 | - | v.Transparency = 1 |
285 | + | for _, c in pairs(workspace.Bees:GetChildren()) do |
286 | if not honeycomb then | |
287 | - | elseif v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance") then |
287 | + | c.Transparency = 1 |
288 | - | if not v:IsA("SurfaceAppearance") then |
288 | + | end |
289 | - | v.Transparency = 1 |
289 | + | |
290 | - | end |
290 | + | |
291 | - | pcall(function() |
291 | + | |
292 | v.Reflectance = 0 | |
293 | v.CastShadow = false | |
294 | - | end |
294 | + | v.Transparency = 1 |
295 | v.CanQuery = false | |
296 | - | end |
296 | + | |
297 | v.TextureID = 10385902758728957 | |
298 | - | --[[local c = ]]game.Workspace.Balloons.DescendantAdded:Connect(function(v) |
298 | + | |
299 | - | wait(0.5) |
299 | + | |
300 | - | if v:FindFirstAncestor("FieldBalloons") then |
300 | + | v.Enabled = false |
301 | - | if v:IsA("BasePart") or v:IsA("Union") or v:IsA("TrussPart") or v:IsA("MeshPart") or v:IsA("UnionOperation") then |
301 | + | |
302 | - | v.Material = "Plastic" |
302 | + | |
303 | - | v.Reflectance = 0 |
303 | + | elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then |
304 | - | v.CastShadow = false |
304 | + | v.Enabled = false |
305 | - | if v.Name ~= "BalloonRoot" then |
305 | + | |
306 | - | v.Transparency = options.localballoononly and (v.Parent:WaitForChild("PlayerName", 2).Value == player.Name and (options.BalloonTransparency or v.Transparency) or 1) or ((v.Parent:WaitForChild("PlayerName", 2).Value == player.Name) and (options.BalloonTransparency or v.Transparency) or (options.BalloonTransparency and options.BalloonTransparency * 1.2) or v.Transparency) |
306 | + | |
307 | end | |
308 | - | elseif v:IsA("Beam") or v:IsA("RopeConstraint") then |
308 | + | end |
309 | ||
310 | - | end |
310 | + | if options.no_path then |
311 | - | elseif v:FindFirstAncestor("HiveBalloons") then |
311 | + | for _, v in pairs(workspace.Paths:GetChildren()) do |
312 | - | if v:IsA("SpecialMesh") then |
312 | + | v:Destroy() |
313 | - | v:Destroy() |
313 | + | |
314 | - | elseif v:IsA("Beam") or v:IsA("RopeConstraint") then |
314 | + | end |
315 | - | v.Enabled = false |
315 | + | |
316 | - | elseif string.match(string.lower(v.Name), "body") then |
316 | + | if not options.leaderboard then |
317 | - | v.Transparency = 1 |
317 | + | for _,v in pairs(workspace.Leaderboards:GetDescendants()) do |
318 | - | end |
318 | + | if v:IsA("SurfaceGui") then |
319 | v.Active = false | |
320 | v.Enabled = false | |
321 | end | |
322 | - | --[[local d]] game.Workspace.Gadgets.DescendantAdded:Connect(function(v) |
322 | + | |
323 | - | task.wait(0.5) |
323 | + | end |
324 | ||
325 | --local d = game.Workspace.Collectibles.ChildAdded | |
326 | --[[game.Workspace.DescendantAdded:Connect(function(v) | |
327 | if v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then | |
328 | - | v.CanQuery = false |
328 | + | v.Enabled = false |
329 | - | v.CanTouch = false |
329 | + | elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then |
330 | v.Transparency = 1 | |
331 | - | v:Destroy() |
331 | + | elseif v:IsA("Fire") or v:IsA("Smoke") or v:IsA("Sparkles") then |
332 | v.Enabled = false | |
333 | elseif v:IsA("MeshPart") or v:IsA("UnionOperation") then | |
334 | - | v.Enabled = false |
334 | + | v.Material = "Plastic" |
335 | - | pcall(function() |
335 | + | v.Reflectance = 0 |
336 | - | v.Lifetime = NumberRange.new(0) |
336 | + | |
337 | - | v.Rate = 0 |
337 | + | end)]] |
338 | - | end) |
338 | + | |
339 | - | v:Destroy() |
339 | + | local time1 = os.clock()-dt-0.5 |
340 | time1 = string.gsub(time1, "[%p]0+$", "") | |
341 | time1 = string.format("Took %f seconds to load", time1) | |
342 | - | pcall(function() |
342 | + | |
343 | - | v.Enabled = false |
343 | + | game:GetService("StarterGui"):SetCore("SendNotification", { |
344 | - | end) |
344 | + | Title = "Anti-lag Loaded", |
345 | - | v:Destroy() |
345 | + | Text = time1, |
346 | Icon = "rbxassetid://6238537240", | |
347 | Duration = 5, | |
348 | }) | |
349 | - | if not options.Frogs then |
349 | + | |
350 | - | --[[local e = ]]game.Workspace.Frogs.DescendantAdded:Connect(function(v) |
350 | + | --local delta, noti |
351 | - | task.wait(0.5) |
351 | + | |
352 | --[[while true do | |
353 | - | v.Material = "Plastic" |
353 | + | task.wait(5*60) |
354 | - | v.Reflectance = 0 |
354 | + | local last = os.clock() |
355 | - | v.CastShadow = false |
355 | + | game:GetService("StarterGui"):SetCore("SendNotification", { |
356 | - | v.Transparency = 1 |
356 | + | Title = "Notification", |
357 | - | v.CanQuery = false |
357 | + | Text = "Clearning Flowers...", |
358 | - | --[[if #v:GetChildren() == 0 then |
358 | + | |
359 | - | v:Destroy() |
359 | + | |
360 | }) | |
361 | - | elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then |
361 | + | for _,v in pairs(workspace.Flowers:GetDescendants()) do |
362 | if v:IsA("Decal") or v:IsA("Texture") or v:IsA("SurfaceAppearance") then | |
363 | - | pcall(function() |
363 | + | v.Transparency = 1 |
364 | - | v.Lifetime = NumberRange.new(0) |
364 | + | |
365 | - | v.Rate = 0 |
365 | + | RunService.RenderStepped:Wait() |
366 | - | end) |
366 | + | |
367 | - | elseif v:IsA("Decal") or v:IsA("Texture") then |
367 | + | |
368 | - | v.Transparency = 1 |
368 | + | delta = os.clock()-last |
369 | - | pcall(function() |
369 | + | delta = string.gsub(delta, "[%p]0+$", "") |
370 | - | v.Enabled = false |
370 | + | noti = string.format("Took %f to clean flowers" , delta) |
371 | - | end) |
371 | + | game:GetService("StarterGui"):SetCore("SendNotification", { |
372 | - | v:Destroy() |
372 | + | Title = "Cleaning Flowers", |
373 | Text = noti, | |
374 | Icon = "rbxassetid://6238537240", | |
375 | Duration = 3, | |
376 | }) | |
377 | - | for _,v in pairs(game.Workspace.Decorations:GetDescendants()) do |
377 | + | end]] |