SHOW:
|
|
- or go back to the newest paste.
1 | print("YESSIR") | |
2 | local lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/8pmX8/rektsky4roblox/main/NewRektskyUiLib.lua"))() | |
3 | local getasset = getsynasset or getcustomasset | |
4 | local ScreenGuitwo = game:GetService("CoreGui").RektskyNotificationGui | |
5 | local lplr = game:GetService("Players").LocalPlayer | |
6 | local cam = game:GetService("Workspace").CurrentCamera | |
7 | function runcode(func) | |
8 | func() | |
9 | end | |
10 | ||
11 | lib:CreateWindow() | |
12 | local Tabs = { | |
13 | ["Combat"] = lib:CreateTab("Combat",Color3.fromRGB(255, 0, 0),"combat"), | |
14 | ["Blatant"] = lib:CreateTab("Blatant",Color3.fromRGB(0, 0, 255),"movement"), | |
15 | ["Render"] = lib:CreateTab("Render",Color3.fromRGB(255, 0, 0),"render"), | |
16 | ["Utility"] = lib:CreateTab("Utility",Color3.fromRGB(0, 0, 255),"player"), | |
17 | ["World"] = lib:CreateTab("World",Color3.fromRGB(255, 0, 0),"world"), | |
18 | ["Exploits"] = lib:CreateTab("Exploits",Color3.fromRGB(0, 0, 255),"exploit") | |
19 | } | |
20 | local KnitClient = debug.getupvalue(require(lplr.PlayerScripts.TS.knit).setup, 6) | |
21 | local Client = require(game:GetService("ReplicatedStorage").TS.remotes).default.Client | |
22 | local cam = game:GetService("Workspace").CurrentCamera | |
23 | local uis = game:GetService("UserInputService") | |
24 | function getremote(tab) | |
25 | for i,v in pairs(tab) do | |
26 | if v == "Client" then | |
27 | return tab[i + 1] | |
28 | end | |
29 | end | |
30 | return "" | |
31 | end | |
32 | ||
33 | ||
34 | ||
35 | local bedwars = { | |
36 | ["Projectile"] = Client:Get(getremote(debug.getconstants(debug.getupvalues(getmetatable(KnitClient.Controllers.ProjectileController)["launchProjectileWithValues"])[2]))), | |
37 | ["KnockbackTable"] = debug.getupvalue(require(game:GetService("ReplicatedStorage").TS.damage["knockback-util"]).KnockbackUtil.calculateKnockbackVelocity, 1), | |
38 | ["CombatConstant"] = require(game:GetService("ReplicatedStorage").TS.combat["combat-constant"]).CombatConstant, | |
39 | ["SprintController"] = KnitClient.Controllers.SprintController, | |
40 | ["ShopItems"] = debug.getupvalue(require(game:GetService("ReplicatedStorage").TS.games.bedwars.shop["bedwars-shop"]).BedwarsShop.getShopItem, 2), | |
41 | ["PickupRemote"] = getremote(debug.getconstants(getmetatable(KnitClient.Controllers.ItemDropController).checkForPickup)), | |
42 | ["DamageController"] = require(lplr.PlayerScripts.TS.controllers.global.damage["damage-controller"]).DamageController, | |
43 | ["DamageTypes"] = require(game:GetService("ReplicatedStorage").TS.damage["damage-type"]).DamageType, | |
44 | ["SwordRemote"] = getremote(debug.getconstants((KnitClient.Controllers.SwordController).attackEntity)), | |
45 | ["PingController"] = require(lplr.PlayerScripts.TS.controllers.game.ping["ping-controller"]).PingController, | |
46 | ["DamageIndicator"] = KnitClient.Controllers.DamageIndicatorController.spawnDamageIndicator, | |
47 | ["ClientHandlerStore"] = require(lplr.PlayerScripts.TS.ui.store).ClientStore, | |
48 | ["SwordController"] = KnitClient.Controllers.SwordController, | |
49 | ["BlockCPSConstants"] = require(game:GetService("ReplicatedStorage").TS["shared-constants"]).CpsConstants, | |
50 | ["BalloonController"] = KnitClient.Controllers.BalloonController, | |
51 | ["ViewmodelController"] = KnitClient.Controllers.ViewmodelController, | |
52 | } | |
53 | function getQueueType() | |
54 | local state = bedwars["ClientHandlerStore"]:getState() | |
55 | return state.Game.queueType or "bedwars_test" | |
56 | end | |
57 | function CreateNotification(title,text,delay2) | |
58 | spawn(function() | |
59 | if ScreenGuitwo:FindFirstChild("Background") then ScreenGuitwo:FindFirstChild("Background"):Destroy() end | |
60 | local frame = Instance.new("Frame") | |
61 | frame.Size = UDim2.new(0, 100, 0, 115) | |
62 | frame.Position = UDim2.new(0.5, 0, 0, -115) | |
63 | frame.BorderSizePixel = 0 | |
64 | frame.AnchorPoint = Vector2.new(0.5, 0) | |
65 | frame.BackgroundTransparency = 0.5 | |
66 | frame.BackgroundColor3 = Color3.new(0, 0, 0) | |
67 | frame.Name = "Background" | |
68 | frame.Parent = ScreenGuitwo | |
69 | local frameborder = Instance.new("Frame") | |
70 | frameborder.Size = UDim2.new(1, 0, 0, 8) | |
71 | frameborder.BorderSizePixel = 0 | |
72 | frameborder.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
73 | frameborder.Parent = frame | |
74 | local frametitle = Instance.new("TextLabel") | |
75 | frametitle.Font = Enum.Font.SourceSansLight | |
76 | frametitle.BackgroundTransparency = 1 | |
77 | frametitle.Position = UDim2.new(0, 0, 0, 30) | |
78 | frametitle.TextColor3 = Color3.fromRGB(255, 255, 255) | |
79 | frametitle.Size = UDim2.new(1, 0, 0, 28) | |
80 | frametitle.Text = " "..title | |
81 | frametitle.TextSize = 24 | |
82 | frametitle.TextXAlignment = Enum.TextXAlignment.Left | |
83 | frametitle.TextYAlignment = Enum.TextYAlignment.Top | |
84 | frametitle.Parent = frame | |
85 | local frametext = Instance.new("TextLabel") | |
86 | frametext.Font = Enum.Font.SourceSansLight | |
87 | frametext.BackgroundTransparency = 1 | |
88 | frametext.Position = UDim2.new(0, 0, 0, 68) | |
89 | frametext.TextColor3 = Color3.new(1, 1, 1) | |
90 | frametext.Size = UDim2.new(1, 0, 0, 28) | |
91 | frametext.Text = " "..text | |
92 | frametext.TextSize = 24 | |
93 | frametext.TextXAlignment = Enum.TextXAlignment.Left | |
94 | frametext.TextYAlignment = Enum.TextYAlignment.Top | |
95 | frametext.Parent = frame | |
96 | local textsize = game:GetService("TextService"):GetTextSize(frametitle.Text, frametitle.TextSize, frametitle.Font, Vector2.new(100000, 100000)) | |
97 | local textsize2 = game:GetService("TextService"):GetTextSize(frametext.Text, frametext.TextSize, frametext.Font, Vector2.new(100000, 100000)) | |
98 | if textsize2.X > textsize.X then textsize = textsize2 end | |
99 | frame.Size = UDim2.new(0, textsize.X + 38, 0, 115) | |
100 | pcall(function() | |
101 | frame:TweenPosition(UDim2.new(0.5, 0, 0, 20), Enum.EasingDirection.InOut, Enum.EasingStyle.Quad, 0.15) | |
102 | game:GetService("Debris"):AddItem(frame, delay2 + 0.15) | |
103 | end) | |
104 | end) | |
105 | end | |
106 | function IsAlive(plr) | |
107 | plr = plr or lplr | |
108 | if not plr.Character then return false end | |
109 | if not plr.Character:FindFirstChild("Head") then return false end | |
110 | if not plr.Character:FindFirstChild("Humanoid") then return false end | |
111 | if plr.Character:FindFirstChild("Humanoid").Health < 0.11 then return false end | |
112 | return true | |
113 | end | |
114 | function CanWalk(plr) | |
115 | plr = plr or lplr | |
116 | if not plr.Character then return false end | |
117 | if not plr.Character:FindFirstChild("Humanoid") then return false end | |
118 | local state = plr.Character:FindFirstChild("Humanoid"):GetState() | |
119 | if state == Enum.HumanoidStateType.Dead then | |
120 | return false | |
121 | end | |
122 | if state == Enum.HumanoidStateType.Ragdoll then | |
123 | return false | |
124 | end | |
125 | return true | |
126 | end | |
127 | function GetMatchState() | |
128 | return bedwars["ClientHandlerStore"]:getState().Game.matchState | |
129 | end | |
130 | ||
131 | runcode(function() | |
132 | local BedwarsSwords = require(game:GetService("ReplicatedStorage").TS.games.bedwars["bedwars-swords"]).BedwarsSwords | |
133 | function hashFunc(vec) | |
134 | return {value = vec} | |
135 | end | |
136 | local function GetInventory(plr) | |
137 | if not plr then | |
138 | return {items = {}, armor = {}} | |
139 | end | |
140 | ||
141 | local suc, ret = pcall(function() | |
142 | return require(game:GetService("ReplicatedStorage").TS.inventory["inventory-util"]).InventoryUtil.getInventory(plr) | |
143 | end) | |
144 | ||
145 | if not suc then | |
146 | return {items = {}, armor = {}} | |
147 | end | |
148 | ||
149 | if plr.Character and plr.Character:FindFirstChild("InventoryFolder") then | |
150 | local invFolder = plr.Character:FindFirstChild("InventoryFolder").Value | |
151 | if not invFolder then return ret end | |
152 | for i,v in next, ret do | |
153 | for i2, v2 in next, v do | |
154 | if typeof(v2) == 'table' and v2.itemType then | |
155 | v2.instance = invFolder:FindFirstChild(v2.itemType) | |
156 | end | |
157 | end | |
158 | if typeof(v) == 'table' and v.itemType then | |
159 | v.instance = invFolder:FindFirstChild(v.itemType) | |
160 | end | |
161 | end | |
162 | end | |
163 | ||
164 | return ret | |
165 | end | |
166 | local function getSword() | |
167 | local highest, returning = -9e9, nil | |
168 | for i,v in next, GetInventory(lplr).items do | |
169 | local power = table.find(BedwarsSwords, v.itemType) | |
170 | if not power then continue end | |
171 | if power > highest then | |
172 | returning = v | |
173 | highest = power | |
174 | end | |
175 | end | |
176 | return returning | |
177 | end | |
178 | local Anims = { | |
179 | ["Slow"] = { | |
180 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(220), math.rad(100), math.rad(100)),Time = 0.25}, | |
181 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.25} | |
182 | }, | |
183 | ["Weird"] = { | |
184 | {CFrame = CFrame.new(0, 0, 1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),Time = 0.25}, | |
185 | {CFrame = CFrame.new(0, 0, -1.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),Time = 0.25}, | |
186 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.25} | |
187 | }, | |
188 | ["Self"] = { | |
189 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(90)),Time = 0.25}, | |
190 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.25} | |
191 | }, | |
192 | ["Butcher"] = { | |
193 | {CFrame = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)),Time = 0.3}, | |
194 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.3} | |
195 | }, | |
196 | ["VerticalSpin"] = { | |
197 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-90), math.rad(8), math.rad(5)), Time = 0.25}, | |
198 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(180), math.rad(3), math.rad(13)), Time = 0.25}, | |
199 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(-5), math.rad(8)), Time = 0.25}, | |
200 | {CFrame = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Time = 0.25} | |
201 | } | |
202 | } | |
203 | local VMAnim = false | |
204 | local HitRemote = Client:Get(bedwars["SwordRemote"]) | |
205 | local origC0 = game:GetService("ReplicatedStorage").Assets.Viewmodel.RightHand.RightWrist.C0 | |
206 | local DistVal = {["Value"] = 21} | |
207 | local Tick = {["Value"] = 0.03} | |
208 | local AttackAnim = {["Enabled"] = true} | |
209 | local CurrentAnim = {["Value"] = "Slow"} | |
210 | local Enabled = false | |
211 | local KillAura = Tabs["Combat"]:CreateToggle({ | |
212 | ["Name"] = "Aura", | |
213 | ["Callback"] = function(Callback) | |
214 | Enabled = Callback | |
215 | if Enabled then | |
216 | spawn(function() | |
217 | repeat task.wait() until GetMatchState() ~= 0 | |
218 | if not Enabled then return end | |
219 | while task.wait(Tick["Value"]) do | |
220 | if not Enabled then return end | |
221 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
222 | if v.Team ~= lplr.Team and IsAlive(v) and IsAlive(lplr) and not v.Character:FindFirstChildOfClass("ForceField") then | |
223 | local mag = (v.Character:FindFirstChild("HumanoidRootPart").Position - lplr.Character:FindFirstChild("HumanoidRootPart").Position).Magnitude | |
224 | if mag < DistVal["Value"] then | |
225 | local sword = getSword() | |
226 | spawn(function() | |
227 | if AttackAnim["Enabled"] then | |
228 | local anim = Instance.new("Animation") | |
229 | anim.AnimationId = "rbxassetid://4947108314" | |
230 | local loader = lplr.Character:FindFirstChild("Humanoid"):FindFirstChild("Animator") | |
231 | loader:LoadAnimation(anim):Play() | |
232 | if not VMAnim then | |
233 | VMAnim = true | |
234 | for i,v in pairs(Anims[CurrentAnim["Value"]]) do | |
235 | game:GetService("TweenService"):Create(cam.Viewmodel.RightHand.RightWrist,TweenInfo.new(v.Time),{C0 = origC0 * v.CFrame}):Play() | |
236 | task.wait(v.Time-0.01) | |
237 | end | |
238 | VMAnim = false | |
239 | end | |
240 | end | |
241 | end) | |
242 | if sword ~= nil then | |
243 | bedwars["SwordController"].lastAttack = game:GetService("Workspace"):GetServerTimeNow() - 0.11 | |
244 | HitRemote:SendToServer({ | |
245 | ["weapon"] = sword.tool, | |
246 | ["entityInstance"] = v.Character, | |
247 | ["validate"] = { | |
248 | ["raycast"] = { | |
249 | ["cameraPosition"] = hashFunc(cam.CFrame.Position), | |
250 | ["cursorDirection"] = hashFunc(Ray.new(cam.CFrame.Position, v.Character:FindFirstChild("HumanoidRootPart").Position).Unit.Direction) | |
251 | }, | |
252 | ["targetPosition"] = hashFunc(v.Character:FindFirstChild("HumanoidRootPart").Position), | |
253 | ["selfPosition"] = hashFunc(lplr.Character:FindFirstChild("HumanoidRootPart").Position + ((lplr.Character:FindFirstChild("HumanoidRootPart").Position - v.Character:FindFirstChild("HumanoidRootPart").Position).magnitude > 14 and (CFrame.lookAt(lplr.Character:FindFirstChild("HumanoidRootPart").Position, v.Character:FindFirstChild("HumanoidRootPart").Position).LookVector * 4) or Vector3.new(0, 0, 0))), | |
254 | }, | |
255 | ["chargedAttack"] = {["chargeRatio"] = 1}, | |
256 | }) | |
257 | end | |
258 | end | |
259 | end | |
260 | end | |
261 | end | |
262 | end) | |
263 | end | |
264 | end | |
265 | }) | |
266 | DistVal = KillAura:CreateSlider({ | |
267 | ["Name"] = "Range", | |
268 | ["Function"] = function() end, | |
269 | ["Min"] = 0, | |
270 | ["Max"] = 30, | |
271 | ["Default"] = 18, | |
272 | ["Round"] = 1 | |
273 | }) | |
274 | Tick = KillAura:CreateSlider({ | |
275 | ["Name"] = "Slowness", | |
276 | ["Function"] = function() end, | |
277 | ["Min"] = 0, | |
278 | ["Max"] = 1, | |
279 | ["Default"] = 0.38 | |
280 | }) | |
281 | CurrentAnim = KillAura:CreateDropDown({ | |
282 | ["Name"] = "VMAnimation", | |
283 | ["Function"] = function(v) | |
284 | CurrentAnim["Value"] = v | |
285 | end, | |
286 | ["List"] = {"Slow","VerticalSpin"}, | |
287 | ["Default"] = "Slow" | |
288 | }) | |
289 | AttackAnim = KillAura:CreateOptionTog({ | |
290 | ["Name"] = "Animation", | |
291 | ["Default"] = true, | |
292 | ["Func"] = function(v) | |
293 | AttackAnim["Enabled"] = v | |
294 | end | |
295 | }) | |
296 | end) | |
297 | ||
298 | local function findplayers(arg) | |
299 | for i,v in pairs(game:GetService("Players"):GetChildren()) do if v.Name:lower():sub(1, arg:len()) == arg:lower() then return v end end | |
300 | return nil | |
301 | end | |
302 | ||
303 | local PlayerCrasher = {["Enabled"] = false} | |
304 | local PlayerCrasherPower = {["Value"] = 50} | |
305 | local PlayerCrasherDelay = {["Value"] = 0} | |
306 | local targetedplayer | |
307 | local RunService = game:GetService("RunService") | |
308 | runcode(function() | |
309 | local Enabled = false | |
310 | local Crash = Tabs["Exploits"]:CreateToggle({ | |
311 | ["Name"] = "Crasher", | |
312 | ["Callback"] = function(Callback) | |
313 | Enabled = Callback | |
314 | if Enabled then | |
315 | getgenv().FunnyCrash = true | |
316 | ||
317 | for i,v in pairs(game.Players:GetChildren()) do | |
318 | if v.Name == game.Players.LocalPlayer.Name then | |
319 | else | |
320 | local args = {[1] = {["player"] = v}} | |
321 | game:GetService("ReplicatedStorage"):FindFirstChild("events-@easy-games/lobby:shared/event/[email protected]").inviteToParty:FireServer(unpack(args)) | |
322 | end | |
323 | end | |
324 | ||
325 | for i,v in pairs(game:GetService("ReplicatedStorage"):GetDescendants()) do | |
326 | if (v.Name:find("arty") or v.Name:find("otification"))and v:IsA("RemoteEvent") then | |
327 | for i2,v2 in pairs(getconnections(v.OnClientEvent)) do | |
328 | v2:Disable() | |
329 | end | |
330 | end | |
331 | end | |
332 | ||
333 | spawn(function() | |
334 | while FunnyCrash == true do | |
335 | for i = 135, 9999999 do | |
336 | local args = {[1] = {["queueType"] = "bedwars_to1"}} | |
337 | game:GetService("ReplicatedStorage"):FindFirstChild("events-@easy-games/lobby:shared/event/[email protected]").joinQueue:FireServer(unpack(args)) | |
338 | game:GetService("ReplicatedStorage"):FindFirstChild("events-@easy-games/lobby:shared/event/[email protected]").leaveQueue:FireServer() | |
339 | wait() | |
340 | end | |
341 | end | |
342 | end) | |
343 | else | |
344 | FunnyCrash = false | |
345 | end | |
346 | end | |
347 | }) | |
348 | end) | |
349 | ||
350 | ||
351 | runcode(function() | |
352 | local Enabled = false | |
353 | local Sprint = Tabs["Render"]:CreateToggle({ | |
354 | ["Name"] = "auto sprint", | |
355 | ["Callback"] = function(Callback) | |
356 | Enabled = Callback | |
357 | if Enabled then | |
358 | spawn(function() | |
359 | repeat | |
360 | task.wait() | |
361 | if not bedwars["SprintController"].sprinting then | |
362 | bedwars["SprintController"]:startSprinting() | |
363 | end | |
364 | until not Enabled | |
365 | end) | |
366 | else | |
367 | bedwars["SprintController"]:stopSprinting() | |
368 | end | |
369 | end | |
370 | }) | |
371 | end) | |
372 | ||
373 | runcode(function() | |
374 | local Value = {["Value"] = 18} | |
375 | local Enabled = false | |
376 | local Reach = Tabs["Combat"]:CreateToggle({ | |
377 | ["Name"] = "Reach", | |
378 | ["Callback"] = function(Callback) | |
379 | Enabled = Callback | |
380 | if Enabled then | |
381 | bedwars["CombatConstant"].RAYCAST_SWORD_CHARACTER_DISTANCE = Value["Value"] - 0.001 | |
382 | else | |
383 | bedwars["CombatConstant"].RAYCAST_SWORD_CHARACTER_DISTANCE = 14.4 | |
384 | end | |
385 | end | |
386 | }) | |
387 | Value = Reach:CreateSlider({ | |
388 | ["Name"] = "Amount", | |
389 | ["Function"] = function() end, | |
390 | ["Min"] = 1, | |
391 | ["Max"] = 25, | |
392 | ["Default"] = 25, | |
393 | }) | |
394 | end) | |
395 | ||
396 | runcode(function() | |
397 | local Value = {["Value"] = 0} | |
398 | local Enabled = false | |
399 | local Velocity = Tabs["Combat"]:CreateToggle({ | |
400 | ["Name"] = "Anti KB", | |
401 | ["Callback"] = function(Callback) | |
402 | Enabled = Callback | |
403 | if Enabled then | |
404 | bedwars["KnockbackTable"]["kbDirectionStrength"] = 0 | |
405 | bedwars["KnockbackTable"]["kbUpwardStrength"] = 0 | |
406 | else | |
407 | bedwars["KnockbackTable"]["kbDirectionStrength"] = 100 | |
408 | bedwars["KnockbackTable"]["kbUpwardStrength"] = 100 | |
409 | end | |
410 | end | |
411 | }) | |
412 | end) | |
413 | ||
414 | runcode(function() | |
415 | local Enabled = false | |
416 | local NoFall = Tabs["Combat"]:CreateToggle({ | |
417 | ["Name"] = "NoFall", | |
418 | ["Callback"] = function(Callback) | |
419 | Enabled = Callback | |
420 | if Enabled then | |
421 | spawn(function() | |
422 | repeat | |
423 | task.wait(0.5) | |
424 | Client:Get("GroundHit"):SendToServer() | |
425 | until not Enabled | |
426 | end) | |
427 | end | |
428 | end | |
429 | }) | |
430 | end) | |
431 | ||
432 | runcode(function() | |
433 | local Connection | |
434 | local FOV = {["Value"] = 120} | |
435 | local Enabled = false | |
436 | local FOVChanger = Tabs["Render"]:CreateToggle({ | |
437 | ["Name"] = "FOVChanger", | |
438 | ["Callback"] = function(Callback) | |
439 | Enabled = Callback | |
440 | if Enabled then | |
441 | cam.FieldOfView = FOV["Value"] | |
442 | Connection = cam:GetPropertyChangedSignal("FieldOfView"):Connect(function() | |
443 | cam.FieldOfView = FOV["Value"] | |
444 | end) | |
445 | else | |
446 | Connection:Disconnect() | |
447 | cam.FieldOfView = 80 | |
448 | end | |
449 | end | |
450 | }) | |
451 | FOV = FOVChanger:CreateSlider({ | |
452 | ["Name"] = "FOV", | |
453 | ["Function"] = function() end, | |
454 | ["Min"] = 30, | |
455 | ["Max"] = 120, | |
456 | ["Default"] = 100, | |
457 | ["Round"] = 1 | |
458 | }) | |
459 | end) | |
460 | ||
461 | runcode(function() | |
462 | local Enabled = false | |
463 | local TexturePack = Tabs["Render"]:CreateToggle({ | |
464 | ["Name"] = "pack", | |
465 | ["Callback"] = function(Callback) | |
466 | Enabled = Callback | |
467 | if Enabled then | |
468 | local obj = game:GetObjects("rbxassetid://11144793662")[1] | |
469 | obj.Name = "Part" | |
470 | obj.Parent = game:GetService("ReplicatedStorage") | |
471 | for i,v in pairs(obj:GetChildren()) do | |
472 | if string.lower(v.Name):find("cross") then | |
473 | for i2,b in pairs(v:GetChildren()) do | |
474 | b:Destroy() | |
475 | end | |
476 | end | |
477 | end | |
478 | shared.con = game:GetService("ReplicatedStorage").ChildAdded:Connect(function(v) | |
479 | for i,x in pairs(obj:GetChildren()) do | |
480 | x:Clone().Parent = v | |
481 | end | |
482 | shared.con:Disconnect() | |
483 | end) | |
484 | loadstring(game:HttpGet("https://raw.githubusercontent.com/eLeCtRaDoMiNuS/milkwareclient/main/texture.lua"))() | |
485 | end | |
486 | end | |
487 | })end) | |
488 | runcode(function() | |
489 | local Messages = {"Ez!","Thump!","Kpow!","bye bye!","L!","best aura!","goofy!","bozo!","Pow!","Kid!!"} | |
490 | local old | |
491 | local Enabled = false | |
492 | local FunnyIndicator = Tabs["Render"]:CreateToggle({ | |
493 | ["Name"] = "indicator", | |
494 | ["Callback"] = function(Callback) | |
495 | Enabled = Callback | |
496 | if Enabled then | |
497 | old = debug.getupvalue(bedwars["DamageIndicator"],10,{Create}) | |
498 | debug.setupvalue(bedwars["DamageIndicator"],10,{ | |
499 | Create = function(self,obj,...) | |
500 | spawn(function() | |
501 | pcall(function() | |
502 | obj.Parent.Text = Messages[math.random(1,#Messages)] | |
503 | obj.Parent.TextColor3 = Color3.fromHSV(tick()%5/5,1,1) | |
504 | end) | |
505 | end) | |
506 | return game:GetService("TweenService"):Create(obj,...) | |
507 | end | |
508 | }) | |
509 | else | |
510 | debug.setupvalue(bedwars["DamageIndicator"],10,{ | |
511 | Create = old | |
512 | }) | |
513 | old = nil | |
514 | end | |
515 | end | |
516 | }) | |
517 | end) | |
518 | ||
519 | runcode(function() | |
520 | local Enabled = false | |
521 | function texturemainfunction() | |
522 | local blocks = game:GetService("CollectionService"):GetTagged("block") | |
523 | for i,v in pairs(blocks) do | |
524 | if v:GetAttribute("PlacedByUserId") == 0 then | |
525 | v.Material = (Enabled and Enum.Material.SmoothPlastic or (v.Name:find("glass") and enum.Material.SmoothPlastic or Enum.Material.Fabric)) | |
526 | for i2,v2 in pairs(v:GetChildren()) do | |
527 | if v2:IsA("Texture") then | |
528 | v2.Transparency = (Enabled and 1) or 0 | |
529 | end | |
530 | end | |
531 | end | |
532 | end | |
533 | end | |
534 | local FPSBoost = Tabs["World"]:CreateToggle({ | |
535 | ["Name"] = "Texture Disbler", | |
536 | ["Callback"] = function(Callback) | |
537 | Enabled = Callback | |
538 | if Enabled then | |
539 | texturemainfunction() | |
540 | else | |
541 | texturemainfunction() | |
542 | end | |
543 | end | |
544 | }) | |
545 | end) | |
546 | ||
547 | runcode(function() | |
548 | local Enabled = false | |
549 | local CameraFix = Tabs["Render"]:CreateToggle({ | |
550 | ["Name"] = "CameraFix", | |
551 | ["Callback"] = function(Callback) | |
552 | Enabled = Callback | |
553 | if Enabled then | |
554 | spawn(function() | |
555 | repeat | |
556 | task.wait() | |
557 | UserSettings():GetService("UserGameSettings").RotationType = ((cam.CFrame.Position - cam.Focus.Position).Magnitude <= 0.5 and Enum.RotationType.CameraRelative or Enum.RotationType.MovementRelative) | |
558 | until not Enabled | |
559 | end) | |
560 | end | |
561 | end | |
562 | }) | |
563 | end) | |
564 | ||
565 | runcode(function() | |
566 | local Connection | |
567 | local Enabled = false | |
568 | local Smaller = {["Value"] = 3} | |
569 | local SmallItems = Tabs["Render"]:CreateToggle({ | |
570 | ["Name"] = "SmallWeapons", | |
571 | ["Callback"] = function(Callback) | |
572 | Enabled = Callback | |
573 | if Enabled then | |
574 | Connection = cam.Viewmodel.ChildAdded:Connect(function(v) | |
575 | if v:FindFirstChild("Handle") then | |
576 | pcall(function() | |
577 | v:FindFirstChild("Handle").Size = v:FindFirstChild("Handle").Size / tostring(Smaller["Value"]) | |
578 | end) | |
579 | end | |
580 | end) | |
581 | else | |
582 | Connection:Disconnect() | |
583 | end | |
584 | end | |
585 | }) | |
586 | Smaller = SmallItems:CreateSlider({ | |
587 | ["Name"] = "Value", | |
588 | ["Function"] = function() end, | |
589 | ["Min"] = 0, | |
590 | ["Max"] = 10, | |
591 | ["Default"] = 3, | |
592 | ["Round"] = 1 | |
593 | }) | |
594 | end) | |
595 | ||
596 | runcode(function() | |
597 | local SpeedVal = {["Value"] = 0.11} | |
598 | local Enabled = false | |
599 | local Mode = {["Value"] = "CFrame"} | |
600 | local Speed = Tabs["Blatant"]:CreateToggle({ | |
601 | ["Name"] = "Speed", | |
602 | ["Callback"] = function(Callback) | |
603 | Enabled = Callback | |
604 | if Enabled then | |
605 | spawn(function() | |
606 | repeat task.wait() until GetMatchState() ~= 0 | |
607 | while task.wait() do | |
608 | if not Enabled then return end | |
609 | if IsAlive(lplr) and isnetworkowner(lplr.Character:FindFirstChild("HumanoidRootPart")) then | |
610 | local hum = lplr.Character:FindFirstChild("Humanoid") | |
611 | if hum.MoveDirection.Magnitude > 0 then | |
612 | lplr.Character:TranslateBy(hum.MoveDirection * SpeedVal["Value"]) | |
613 | end | |
614 | end | |
615 | end | |
616 | end) | |
617 | end | |
618 | end | |
619 | }) | |
620 | SpeedVal = Speed:CreateSlider({ | |
621 | ["Name"] = "Speed", | |
622 | ["Function"] = function() end, | |
623 | ["Min"] = 0, | |
624 | ["Max"] = 0.1, | |
625 | ["Default"] = 0.08, | |
626 | }) | |
627 | end) | |
628 | ||
629 | runcode(function() | |
630 | local Connection | |
631 | local Connection2 | |
632 | local flydown = false | |
633 | local flyup = false | |
634 | local usedballoon = false | |
635 | local usedfireball = false | |
636 | local olddeflate | |
637 | local velo | |
638 | local Enabled = false | |
639 | local Mode = {["Value"] = "Normal", "Long"} | |
640 | local Fly = Tabs["Blatant"]:CreateToggle({ | |
641 | ["Name"] = "Float Fly", | |
642 | ["Callback"] = function(Callback) | |
643 | Enabled = Callback | |
644 | if Enabled then | |
645 | spawn(function() | |
646 | if lplr.Character:FindFirstChild("InventoryFolder").Value:FindFirstChild("balloon") then | |
647 | usedballoon = true | |
648 | olddeflate = bedwars["BalloonController"].deflateBalloon | |
649 | bedwars["BalloonController"].inflateBalloon() | |
650 | bedwars["BalloonController"].deflateBalloon = function() end | |
651 | end | |
652 | ||
653 | velo = Instance.new("BodyVelocity") | |
654 | velo.MaxForce = Vector3.new(0,9e9,0) | |
655 | velo.Parent = lplr.Character:FindFirstChild("HumanoidRootPart") | |
656 | Connection = uis.InputBegan:Connect(function(input) | |
657 | if input.KeyCode == Enum.KeyCode.Space then | |
658 | flyup = true | |
659 | end | |
660 | if input.KeyCode == Enum.KeyCode.LeftShift then | |
661 | flydown = true | |
662 | end | |
663 | end) | |
664 | Connection2 = uis.InputEnded:Connect(function(input) | |
665 | if input.KeyCode == Enum.KeyCode.Space then | |
666 | flyup = false | |
667 | end | |
668 | if input.KeyCode == Enum.KeyCode.LeftShift then | |
669 | flydown = false | |
670 | end | |
671 | end) | |
672 | spawn(function() | |
673 | while task.wait() do | |
674 | if not Enabled then return end | |
675 | if Mode["Value"] == "Long" then | |
676 | for i = 1,7 do | |
677 | task.wait() | |
678 | if not Enabled then return end | |
679 | velo.Velocity = Vector3.new(0,i*1.25+(flyup and 40 or 0)+(flydown and -40 or 0),0) | |
680 | end | |
681 | for i = 1,7 do | |
682 | task.wait() | |
683 | if not Enabled then return end | |
684 | velo.Velocity = Vector3.new(0,-i*1+(flyup and 40 or 0)+(flydown and -40 or 0),0) | |
685 | end | |
686 | elseif Mode["Value"] == "FunnyOld" then | |
687 | for i = 1,15 do | |
688 | task.wait(0.01) | |
689 | if not Enabled then return end | |
690 | velo.Velocity = Vector3.new(0,i*1,0) | |
691 | end | |
692 | elseif Mode["Value"] == "Funny" then | |
693 | for i = 2,30,2 do | |
694 | task.wait(0.01) | |
695 | if not Enabled then return end | |
696 | velo.Velocity = Vector3.new(0,25 + i,0) | |
697 | end | |
698 | elseif Mode["Value"] == "Moonsoon" then | |
699 | for i = 1,10 do | |
700 | task.wait() | |
701 | if not Enabled then return end | |
702 | velo.Velocity = Vector3.new(0,-i*0.7,0) | |
703 | end | |
704 | elseif Mode["Value"] == "Bounce" then | |
705 | for i = 1,15 do | |
706 | task.wait() | |
707 | if not Enabled then return end | |
708 | velo.Velocity = Vector3.new(0,i*1.25+(flyup and 40 or 0)+(flydown and -40 or 0),0) | |
709 | end | |
710 | for i = 1,15 do | |
711 | task.wait() | |
712 | if not Enabled then return end | |
713 | velo.Velocity = Vector3.new(0,-i*1+(flyup and 40 or 0)+(flydown and -40 or 0),0) | |
714 | end | |
715 | elseif Mode["Value"] == "Bounce2" then | |
716 | for i = 1,15 do | |
717 | task.wait() | |
718 | if not Enabled then return end | |
719 | velo.Velocity = Vector3.new(0,i*1.25+(flyup and 40 or 0)+(flydown and -40 or 0),0) | |
720 | end | |
721 | velo.Velocity = Vector3.new(0,0,0) | |
722 | task.wait(0.05) | |
723 | for i = 1,15 do | |
724 | task.wait() | |
725 | if not Enabled then return end | |
726 | velo.Velocity = Vector3.new(0,-i*1+(flyup and 40 or 0)+(flydown and -40 or 0),0) | |
727 | end | |
728 | task.wait(0.05) | |
729 | velo.Velocity = Vector3.new(0,0,0) | |
730 | else | |
731 | Mode["Value"] = "Long" | |
732 | lib["ToggleFuncs"]["Fly"](true) | |
733 | task.wait(0.1) | |
734 | lib["ToggleFuncs"]["Fly"](true) | |
735 | end | |
736 | end | |
737 | end) | |
738 | end) | |
739 | else | |
740 | velo:Destroy() | |
741 | Connection:Disconnect() | |
742 | Connection2:Disconnect() | |
743 | flyup = false | |
744 | flydown = false | |
745 | if usedballoon == true then | |
746 | usedballoon = false | |
747 | bedwars["BalloonController"].deflateBalloon = olddeflate | |
748 | bedwars["BalloonController"].deflateBalloon() | |
749 | olddeflate = nil | |
750 | end | |
751 | end | |
752 | end | |
753 | }) | |
754 | end) | |
755 | ||
756 | runcode(function() | |
757 | local Expand = {["Value"] = 1} | |
758 | local function getwool() | |
759 | for i,v in pairs(lplr.Character:FindFirstChild("InventoryFolder").Value:GetChildren()) do | |
760 | if string.lower(v.Name):find("wool") then | |
761 | return { | |
762 | Obj = v, | |
763 | Amount = v:GetAttribute("Amount") | |
764 | } | |
765 | end | |
766 | end | |
767 | return nil | |
768 | end | |
769 | local function getwoolamount() | |
770 | local value = 0 | |
771 | for i,v in pairs(lplr.Character:FindFirstChild("InventoryFolder").Value:GetChildren()) do | |
772 | if string.lower(v.Name):find("wool") then | |
773 | value = value + v:GetAttribute("Amount") | |
774 | end | |
775 | end | |
776 | return value | |
777 | end | |
778 | local function getpos() | |
779 | local primpart = lplr.Character.PrimaryPart | |
780 | local x = math.round(primpart.Position.X/3) | |
781 | local y = math.round(primpart.Position.Y/3) | |
782 | local z = math.round(primpart.Position.Z/3) | |
783 | local realexpand = Expand["Value"] + 1 | |
784 | return Vector3.new(x,y-1,z) + (lplr.Character:FindFirstChild("HumanoidRootPart").CFrame.LookVector * math.round(Expand["Value"])) | |
785 | end | |
786 | local ui | |
787 | spawn(function() | |
788 | ui = Instance.new("ScreenGui",game:GetService("CoreGui")) | |
789 | ui.Name = "ScaffoldUI" | |
790 | ui.Enabled = false | |
791 | if syn then syn.protect_gui(ui) end | |
792 | local label = Instance.new("TextLabel") | |
793 | label.TextSize = 16 | |
794 | label.Position = UDim2.new(0.4404,0,0.4700,0) | |
795 | label.Size = UDim2.new(0.1181,0,0.1374,0) | |
796 | label.BackgroundColor3 = Color3.fromRGB(255,255,255) | |
797 | label.BackgroundTransparency = 1 | |
798 | label.Text = "Blocks Left: 0" | |
799 | label.TextColor3 = Color3.fromRGB(255,255,255) | |
800 | label.Parent = ui | |
801 | end) | |
802 | local old | |
803 | local Enabled = false | |
804 | local ShowAmount = {["Enabled"] = false} | |
805 | local Scaffold = Tabs["Blatant"]:CreateToggle({ | |
806 | ["Name"] = "Scaffold", | |
807 | ["Callback"] = function(Callback) | |
808 | Enabled = Callback | |
809 | if Enabled then | |
810 | ui.Enabled = true | |
811 | spawn(function() | |
812 | old = bedwars["BlockCPSConstants"].BLOCK_PLACE_CPS | |
813 | bedwars["BlockCPSConstants"].BLOCK_PLACE_CPS = 9999 | |
814 | while task.wait() do | |
815 | if not Enabled then return end | |
816 | if IsAlive(lplr) then | |
817 | spawn(function() | |
818 | ui.TextLabel.Text = "BlocksLeft: "..getwoolamount() | |
819 | end) | |
820 | if getwool() ~= nil then | |
821 | game:GetService("ReplicatedStorage").rbxts_include.node_modules:FindFirstChild("@rbxts").net.out._NetManaged.PlaceBlock:InvokeServer({ | |
822 | ["position"] = getpos(), | |
823 | ["blockType"] = getwool().Obj.Name | |
824 | }) | |
825 | end | |
826 | end | |
827 | end | |
828 | end) | |
829 | else | |
830 | ui.Enabled = false | |
831 | bedwars["BlockCPSConstants"].BLOCK_PLACE_CPS = old | |
832 | end | |
833 | end | |
834 | }) | |
835 | ShowAmount = Scaffold:CreateOptionTog({ | |
836 | ["Name"] = "ShowAmount", | |
837 | ["Default"] = true, | |
838 | ["Func"] = function(v) | |
839 | ShowAmount["Enabled"] = v | |
840 | if Enabled then | |
841 | ui.Enabled = v | |
842 | end | |
843 | end | |
844 | }) | |
845 | end) | |
846 | ||
847 | runcode(function() | |
848 | local velo | |
849 | local Enabled = false | |
850 | local HighJump = Tabs["Blatant"]:CreateToggle({ | |
851 | ["Name"] = "super jump", | |
852 | ["Callback"] = function(Callback) | |
853 | Enabled = Callback | |
854 | if Enabled then | |
855 | local hrp = lplr.Character:FindFirstChild("HumanoidRootPart") | |
856 | velo = Instance.new("BodyVelocity") | |
857 | velo.Velocity = Vector3.new(0,0,0) | |
858 | velo.MaxForce = Vector3.new(0,9e9,0) | |
859 | velo.Parent = hrp | |
860 | spawn(function() | |
861 | while task.wait() do | |
862 | if not Enabled then return end | |
863 | for i = 1,30 do | |
864 | task.wait() | |
865 | if not Enabled then return end | |
866 | velo.Velocity = velo.Velocity + Vector3.new(0,i*0.25,0) | |
867 | end | |
868 | end | |
869 | end) | |
870 | else | |
871 | if velo then | |
872 | velo:Destroy() | |
873 | velo = nil | |
874 | end | |
875 | end | |
876 | end | |
877 | }) | |
878 | end) | |
879 | ||
880 | runcode(function() | |
881 | local ui | |
882 | spawn(function() | |
883 | ui = Instance.new("ScreenGui",game:GetService("CoreGui")) | |
884 | ui.Name = "BetterFlyUI" | |
885 | ui.Enabled = false | |
886 | if syn then syn.protect_gui(ui) end | |
887 | local label = Instance.new("TextLabel") | |
888 | label.TextSize = 16 | |
889 | label.Position = UDim2.new(0.4404,0,0.4700,0) | |
890 | label.Size = UDim2.new(0.1181,0,0.1374,0) | |
891 | label.BackgroundColor3 = Color3.fromRGB(255,255,255) | |
892 | label.BackgroundTransparency = 1 | |
893 | label.Text = "Safe\nStuds: 0\nY: 0\nTime: 0" | |
894 | label.TextColor3 = Color3.fromRGB(255,255,255) | |
895 | label.Parent = ui | |
896 | end) | |
897 | local velo | |
898 | local part | |
899 | local clone | |
900 | local Enabled = false | |
901 | local BetterFly = Tabs["Blatant"]:CreateToggle({ | |
902 | ["Name"] = "inf fly", | |
903 | ["Callback"] = function(Callback) | |
904 | Enabled = Callback | |
905 | if Enabled then | |
906 | spawn(function() | |
907 | local char = lplr.Character | |
908 | local starttick = tick() | |
909 | local startpos = char:FindFirstChild("HumanoidRootPart").Position | |
910 | ui.Enabled = true | |
911 | char.Archivable = true | |
912 | clone = char:Clone() | |
913 | velo = Instance.new("BodyVelocity") | |
914 | velo.MaxForce = Vector3.new(9e9,9e9,9e9) | |
915 | velo.Parent = char:FindFirstChild("HumanoidRootPart") | |
916 | clone.Parent = game:GetService("Workspace") | |
917 | cam.CameraSubject = clone:FindFirstChild("Humanoid") | |
918 | part = Instance.new("Part") | |
919 | part.Anchored = true | |
920 | part.Size = Vector3.new(10,1,10) | |
921 | part.Transparency = 1 | |
922 | part.CFrame = clone:FindFirstChild("HumanoidRootPart").CFrame - Vector3.new(0,5,0) | |
923 | part.Parent = game:GetService("Workspace") | |
924 | for i,v in pairs(char:GetChildren()) do | |
925 | if string.lower(v.ClassName):find("part") and v.Name ~= "HumanoidRootPart" then | |
926 | v.Transparency = 1 | |
927 | end | |
928 | if v:IsA("Accessory") then | |
929 | v:FindFirstChild("Handle").Transparency = 1 | |
930 | end | |
931 | end | |
932 | char:FindFirstChild("Head"):FindFirstChild("face").Transparency = 1 | |
933 | spawn(function() | |
934 | while task.wait() do | |
935 | if not Enabled then | |
936 | local studs = (startpos - char:FindFirstChild("HumanoidRootPart").Position).Magnitude | |
937 | local time_ = math.abs(starttick - tick()) | |
938 | ||
939 | return | |
940 | end | |
941 | local studs = (startpos - char:FindFirstChild("HumanoidRootPart").Position).Magnitude | |
942 | local Y = char:FindFirstChild("HumanoidRootPart").Position.Y | |
943 | local calctime = math.abs(starttick - tick()) | |
944 | if isnetworkowner(char:FindFirstChild("HumanoidRootPart")) then | |
945 | ui.TextLabel.TextColor3 = Color3.fromRGB(255,255,255) | |
946 | ui.TextLabel.Text = "Safe\nStuds: "..math.floor(studs).."\nY: "..math.floor(Y).."\nTime: "..math.floor(calctime) | |
947 | else | |
948 | ui.TextLabel.TextColor3 = Color3.fromRGB(255,255,255) | |
949 | ui.TextLabel.Text = "Unsafe\nStuds: "..math.floor(studs).."\nY: "..math.floor(Y).."\nTime: "..math.floor(calctime) | |
950 | end | |
951 | end | |
952 | end) | |
953 | spawn(function() | |
954 | while task.wait() do | |
955 | if not Enabled then return end | |
956 | for i = 2,30,2 do | |
957 | task.wait(0.01) | |
958 | if not Enabled then return end | |
959 | part.CFrame = CFrame.new(clone:FindFirstChild("HumanoidRootPart").CFrame.X,part.CFrame.Y,clone:FindFirstChild("HumanoidRootPart").CFrame.Z) | |
960 | clone:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(char:FindFirstChild("HumanoidRootPart").CFrame.X,clone:FindFirstChild("HumanoidRootPart").CFrame.Y,char:FindFirstChild("HumanoidRootPart").CFrame.Z) | |
961 | clone:FindFirstChild("HumanoidRootPart").Rotation = char:FindFirstChild("HumanoidRootPart").Rotation | |
962 | if char:FindFirstChild("Humanoid").MoveDirection.Magnitude > 0 then | |
963 | velo.Velocity = lplr.Character:FindFirstChild("HumanoidRootPart").CFrame.LookVector * char:FindFirstChild("Humanoid").WalkSpeed + Vector3.new(0,150 + i,0) | |
964 | else | |
965 | velo.Velocity = Vector3.new(0,150 + i,0) | |
966 | end | |
967 | end | |
968 | end | |
969 | end) | |
970 | end) | |
971 | else | |
972 | for i,v in pairs(lplr.Character:GetChildren()) do | |
973 | if string.lower(v.ClassName):find("part") and v.Name ~= "HumanoidRootPart" then | |
974 | v.Transparency = 0 | |
975 | end | |
976 | if v:IsA("Accessory") then | |
977 | v:FindFirstChild("Handle").Transparency = 0 | |
978 | end | |
979 | end | |
980 | lplr.Character:FindFirstChild("Head"):FindFirstChild("face").Transparency = 0 | |
981 | cam.CameraSubject = lplr.Character:FindFirstChild("Humanoid") | |
982 | task.delay(0.1, function() velo:Destroy() end) | |
983 | velo.Velocity = Vector3.new(0,-100,0) | |
984 | velo:Destroy() | |
985 | part:Destroy() | |
986 | clone:Destroy() | |
987 | ui.Enabled = false | |
988 | end | |
989 | end | |
990 | }) | |
991 | end) | |
992 | ||
993 | runcode(function() | |
994 | local Speed = {["Value"] = 30} | |
995 | local Enabled = false | |
996 | local Spider = Tabs["Blatant"]:CreateToggle({ | |
997 | ["Name"] = "Spider", | |
998 | ["Callback"] = function(Callback) | |
999 | Enabled = Callback | |
1000 | if Enabled then | |
1001 | spawn(function() | |
1002 | while task.wait() do | |
1003 | if not Enabled then return end | |
1004 | if IsAlive(lplr) then | |
1005 | local param = RaycastParams.new() | |
1006 | param.FilterDescendantsInstances = {game:GetService("CollectionService"):GetTagged("block")} | |
1007 | param.FilterType = Enum.RaycastFilterType.Whitelist | |
1008 | local ray = game:GetService("Workspace"):Raycast(lplr.Character:FindFirstChild("Head").Position-Vector3.new(0,3,0),lplr.Character:FindFirstChild("Humanoid").MoveDirection*3,param) | |
1009 | local ray2 = game:GetService("Workspace"):Raycast(lplr.Character:FindFirstChild("Head").Position,lplr.Character:FindFirstChild("Humanoid").MoveDirection*3,param) | |
1010 | if ray or ray2 then | |
1011 | local velo = Vector3.new(0,Speed["Value"]/100,0) | |
1012 | lplr.Character:TranslateBy(velo) | |
1013 | local old = lplr.Character:FindFirstChild("HumanoidRootPart").Velocity | |
1014 | lplr.Character:FindFirstChild("HumanoidRootPart").Velocity = Vector3.new(old.X,velo.Y*70,old.Z) | |
1015 | end | |
1016 | else | |
1017 | task.wait() | |
1018 | end | |
1019 | end | |
1020 | end) | |
1021 | end | |
1022 | end | |
1023 | }) | |
1024 | Speed = Spider:CreateSlider({ | |
1025 | ["Name"] = "Speed", | |
1026 | ["Function"] = function() end, | |
1027 | ["Min"] = 0, | |
1028 | ["Max"] = 30, | |
1029 | ["Default"] = 30, | |
1030 | ["Round"] = 1 | |
1031 | }) | |
1032 | end) | |
1033 | ||
1034 | runcode(function() | |
1035 | local Enabled = false | |
1036 | local AutoPlayAgain = Tabs["Utility"]:CreateToggle({ | |
1037 | ["Name"] = "AutoPlay", | |
1038 | ["Callback"] = function(Callback) | |
1039 | Enabled = Callback | |
1040 | if Enabled then | |
1041 | spawn(function() | |
1042 | repeat task.wait(3) until GetMatchState() == 2 or not Enabled | |
1043 | if not Enabled then return end | |
1044 | game:GetService("ReplicatedStorage"):FindFirstChild("events-@easy-games/lobby:shared/event/[email protected]").joinQueue:FireServer({["queueType"] = getQueueType()}) | |
1045 | return | |
1046 | end) | |
1047 | end | |
1048 | end | |
1049 | }) | |
1050 | end) | |
1051 | ||
1052 | runcode(function() | |
1053 | local Connection | |
1054 | local Enabled = false | |
1055 | local NoClickDelay = Tabs["Utility"]:CreateToggle({ | |
1056 | ["Name"] = "RemoveName", | |
1057 | ["Callback"] = function(Callback) | |
1058 | Enabled = Callback | |
1059 | if Enabled then | |
1060 | lplr.Character:WaitForChild("Head"):WaitForChild("NameTag"):Destroy() | |
1061 | Connection = lplr.CharacterAdded:Connect(function(v) | |
1062 | v:WaitForChild("Head"):WaitForChild("NameTag"):Destroy() | |
1063 | end) | |
1064 | else | |
1065 | Connection:Disconnect() | |
1066 | end | |
1067 | end | |
1068 | }) | |
1069 | end) | |
1070 | ||
1071 | runcode(function() | |
1072 | local Enabled = false | |
1073 | local Skywars = Tabs["Utility"]:CreateToggle({ | |
1074 | ["Name"] = "AutoFish", | |
1075 | ["Callback"] = function(Callback) | |
1076 | Enabled = Callback | |
1077 | if Enabled then | |
1078 | oldfish = bedwars["FishermanTable"].startMinigame | |
1079 | bedwars["FishermanTable"].startMinigame = function(Self, dropdata, func) func({win = true}) end | |
1080 | else | |
1081 | bedwars["FishermanTable"].startMinigame = oldfish | |
1082 | oldfish = nil | |
1083 | end | |
1084 | end | |
1085 | }) | |
1086 | end) | |
1087 | ||
1088 | runcode(function() | |
1089 | local Connection | |
1090 | local Enabled = false | |
1091 | local ShopTierBypass = Tabs["Utility"]:CreateToggle({ | |
1092 | ["Name"] = "ShopTierBypass", | |
1093 | ["Callback"] = function(Callback) | |
1094 | Enabled = Callback | |
1095 | if Enabled then | |
1096 | for i,v in pairs(bedwars["ShopItems"]) do | |
1097 | v["tiered"] = nil | |
1098 | v["nextTier"] = nil | |
1099 | end | |
1100 | end | |
1101 | end | |
1102 | }) | |
1103 | end) | |
1104 | ||
1105 | runcode(function() | |
1106 | local AntiVoiding = false | |
1107 | local Connection | |
1108 | local part | |
1109 | local YPos | |
1110 | local Enabled = false | |
1111 | local Mode = {["Value"] = "VeloHop"} | |
1112 | local AntiVoid = Tabs["World"]:CreateToggle({ | |
1113 | ["Name"] = "AntiVoid", | |
1114 | ["Callback"] = function(Callback) | |
1115 | Enabled = Callback | |
1116 | if Enabled then | |
1117 | if not YPos then | |
1118 | local blocks = game:GetService("CollectionService"):GetTagged("block") | |
1119 | local blockraycast = RaycastParams.new() | |
1120 | blockraycast.FilterType = Enum.RaycastFilterType.Whitelist | |
1121 | blockraycast.FilterDescendantsInstances = blocks | |
1122 | local lowestpos = 99999 | |
1123 | for i,v in pairs(blocks) do | |
1124 | local newray = game:GetService("Workspace"):Raycast(v.Position+Vector3.new(0,800,0),Vector3.new(0,-1000,0),blockraycast) | |
1125 | if i % 200 == 0 then | |
1126 | task.wait(0.06) | |
1127 | end | |
1128 | if newray and newray.Position.Y < lowestpos then | |
1129 | lowestpos = newray.Position.Y | |
1130 | end | |
1131 | end | |
1132 | YPos = lowestpos - 8 | |
1133 | end | |
1134 | part = Instance.new("Part") | |
1135 | part.Anchored = true | |
1136 | part.Size = Vector3.new(5000,3,5000) | |
1137 | part.Material = Enum.Material.Neon | |
1138 | part.Color = Color3.fromRGB(255, 255, 255) | |
1139 | part.Transparency = 0.5 | |
1140 | part.Position = Vector3.new(0,YPos,0) | |
1141 | part.Parent = game:GetService("Workspace") | |
1142 | Connection = part.Touched:Connect(function(v) | |
1143 | if v.Parent.Name == lplr.Name and IsAlive(lplr) and not AntiVoiding then | |
1144 | AntiVoiding = true | |
1145 | if Mode["Value"] == "Velocity" then | |
1146 | for i = 1,25 do | |
1147 | task.wait() | |
1148 | lplr.Character:FindFirstChild("HumanoidRootPart").Velocity = lplr.Character:FindFirstChild("HumanoidRootPart").Velocity + Vector3.new(0,7,0) | |
1149 | end | |
1150 | elseif Mode["Value"] == "Normal" then | |
1151 | for i = 1,3 do | |
1152 | task.wait(0.3) | |
1153 | lplr.Character:FindFirstChild("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) | |
1154 | end | |
1155 | end | |
1156 | task.wait(0.25) | |
1157 | AntiVoiding = false | |
1158 | end | |
1159 | end) | |
1160 | else | |
1161 | part:Destroy() | |
1162 | Connection:Disconnect() | |
1163 | AntiVoiding = false | |
1164 | end | |
1165 | end | |
1166 | }) | |
1167 | Mode = AntiVoid:CreateDropDown({ | |
1168 | ["Name"] = "Mode", | |
1169 | ["Function"] = function() end, | |
1170 | ["List"] = {"Normal"}, | |
1171 | ["Default"] = "Normal" | |
1172 | }) | |
1173 | end) | |
1174 | ||
1175 | runcode(function() | |
1176 | local MaxStuds = {["Value"] = 30} | |
1177 | local function ChestStealerFunc() | |
1178 | for i,v in pairs(game:GetService("CollectionService"):GetTagged("chest")) do | |
1179 | local mag = (lplr.Character:FindFirstChild("HumanoidRootPart").Position - v.Position).Magnitude | |
1180 | if mag < MaxStuds["Value"] then | |
1181 | local chest = v:FindFirstChild("ChestFolderValue") | |
1182 | chest = chest and chest.Value or nil | |
1183 | local chestitems = chest and chest:GetChildren() or {} | |
1184 | if #chestitems > 0 then | |
1185 | Client:GetNamespace("Inventory"):Get("SetObservedChest"):SendToServer(chest) | |
1186 | for i3,v3 in pairs(chestitems) do | |
1187 | if v3:IsA("Accessory") then | |
1188 | pcall(function() | |
1189 | Client:GetNamespace("Inventory"):Get("ChestGetItem"):CallServer(v.ChestFolderValue.Value,v3) | |
1190 | end) | |
1191 | end | |
1192 | end | |
1193 | Client:GetNamespace("Inventory"):Get("SetObservedChest"):SendToServer(nil) | |
1194 | end | |
1195 | end | |
1196 | end | |
1197 | end | |
1198 | local Enabled = false | |
1199 | local ChestStealer = Tabs["World"]:CreateToggle({ | |
1200 | ["Name"] = "ChestStealer", | |
1201 | ["Callback"] = function(Callback) | |
1202 | Enabled = Callback | |
1203 | if Enabled then | |
1204 | spawn(function() | |
1205 | while task.wait(0.01) do | |
1206 | if Enabled == false then return end | |
1207 | if IsAlive(lplr) then | |
1208 | ChestStealerFunc() | |
1209 | end | |
1210 | end | |
1211 | end) | |
1212 | end | |
1213 | end | |
1214 | }) | |
1215 | MaxStuds = ChestStealer:CreateSlider({ | |
1216 | ["Name"] = "Distance", | |
1217 | ["Function"] = function() end, | |
1218 | ["Min"] = 0, | |
1219 | ["Max"] = 30, | |
1220 | ["Default"] = 30, | |
1221 | ["Round"] = 1 | |
1222 | }) | |
1223 | end) | |
1224 | ||
1225 | runcode(function() | |
1226 | local Enabled = false | |
1227 | local StoneExploit = Tabs["Exploits"]:CreateToggle({ | |
1228 | ["Name"] = "SwordExploit", | |
1229 | ["Callback"] = function(Callback) | |
1230 | Enabled = Callback | |
1231 | if Enabled then | |
1232 | spawn(function() | |
1233 | if GetMatchState() ~= 0 then | |
1234 | return | |
1235 | end | |
1236 | lplr.Character:WaitForChild("InventoryFolder").Value:WaitForChild("stone_sword") | |
1237 | Client:GetNamespace("Inventory"):Get("SetObservedChest"):SendToServer(game:GetService("ReplicatedStorage").Inventories:FindFirstChild(lplr.Name.."_personal")) | |
1238 | Client:GetNamespace("Inventory"):Get("ChestGiveItem"):CallServer( | |
1239 | game:GetService("ReplicatedStorage").Inventories:FindFirstChild(lplr.Name.."_personal"), | |
1240 | lplr.Character:FindFirstChild("InventoryFolder").Value:FindFirstChild("stone_sword") | |
1241 | ) | |
1242 | Client:GetNamespace("Inventory"):Get("SetObservedChest"):SendToServer(nil) | |
1243 | repeat task.wait() until GetMatchState() == 1 | |
1244 | task.wait(1) | |
1245 | Client:GetNamespace("Inventory"):Get("SetObservedChest"):SendToServer(game:GetService("ReplicatedStorage").Inventories:FindFirstChild(lplr.Name.."_personal")) | |
1246 | Client:GetNamespace("Inventory"):Get("ChestGetItem"):CallServer( | |
1247 | game:GetService("ReplicatedStorage").Inventories:FindFirstChild(lplr.Name.."_personal"), | |
1248 | game:GetService("ReplicatedStorage").Inventories:FindFirstChild(lplr.Name.."_personal").stone_sword | |
1249 | ) | |
1250 | Client:GetNamespace("Inventory"):Get("SetObservedChest"):SendToServer(nil) | |
1251 | end) | |
1252 | end | |
1253 | end | |
1254 | }) | |
1255 | end) | |
1256 | ||
1257 | runcode(function() | |
1258 | local BreakingMsg = false | |
1259 | local params = RaycastParams.new() | |
1260 | params.IgnoreWater = true | |
1261 | function NukerFunction(part) | |
1262 | local raycastResult = game:GetService("Workspace"):Raycast(part.Position + Vector3.new(0,24,0),Vector3.new(0,-27,0),params) | |
1263 | if raycastResult then | |
1264 | local targetblock = raycastResult.Instance | |
1265 | for i,v in pairs(targetblock:GetChildren()) do | |
1266 | if v:IsA("Texture") then | |
1267 | v:Destroy() | |
1268 | end | |
1269 | end | |
1270 | targetblock.Color = Color3.fromRGB(51, 51, 255) | |
1271 | targetblock.Material = Enum.Material.Neon | |
1272 | game:GetService("ReplicatedStorage").rbxts_include.node_modules:FindFirstChild("@rbxts").net.out._NetManaged.DamageBlock:InvokeServer({ | |
1273 | ["blockRef"] = { | |
1274 | ["blockPosition"] = Vector3.new(math.round(targetblock.Position.X/3),math.round(targetblock.Position.Y/3),math.round(targetblock.Position.Z/3)) | |
1275 | }, | |
1276 | ["hitPosition"] = Vector3.new(math.round(targetblock.Position.X/3),math.round(targetblock.Position.Y/3),math.round(targetblock.Position.Z/3)), | |
1277 | ["hitNormal"] = Vector3.new(math.round(targetblock.Position.X/3),math.round(targetblock.Position.Y/3),math.round(targetblock.Position.Z/3)) | |
1278 | }) | |
1279 | if BreakingMsg == false then | |
1280 | BreakingMsg = true | |
1281 | print("Breaking bed") | |
1282 | spawn(function() | |
1283 | task.wait(3) | |
1284 | BreakingMsg = false | |
1285 | end) | |
1286 | end | |
1287 | end | |
1288 | end | |
1289 | function GetBeds() | |
1290 | local beds = {} | |
1291 | for i,v in pairs(game:GetService("Workspace"):GetChildren()) do | |
1292 | if string.lower(v.Name) == "bed" and v:FindFirstChild("Covers") ~= nil and v:FindFirstChild("Covers").BrickColor ~= lplr.Team.TeamColor then | |
1293 | table.insert(beds,v) | |
1294 | end | |
1295 | end | |
1296 | return beds | |
1297 | end | |
1298 | local Enabled = false | |
1299 | local Distance = {["Value"] = 30} | |
1300 | local Animation = {["Enabled"] = false} | |
1301 | local Nuker = Tabs["World"]:CreateToggle({ | |
1302 | ["Name"] = "Nuker", | |
1303 | ["Callback"] = function(Callback) | |
1304 | Enabled = Callback | |
1305 | if Enabled then | |
1306 | spawn(function() | |
1307 | while task.wait(0.1) do | |
1308 | if not Enabled then return end | |
1309 | spawn(function() | |
1310 | if lplr:GetAttribute("DenyBlockBreak") == true then | |
1311 | lplr:SetAttribute("DenyBlockBreak",nil) | |
1312 | end | |
1313 | end) | |
1314 | if IsAlive(lplr) then | |
1315 | local beds = GetBeds() | |
1316 | for i,v in pairs(beds) do | |
1317 | local mag = (v.Position - lplr.Character.PrimaryPart.Position).Magnitude | |
1318 | if mag < Distance["Value"] then | |
1319 | NukerFunction(v) | |
1320 | end | |
1321 | end | |
1322 | end | |
1323 | end | |
1324 | end) | |
1325 | end | |
1326 | end | |
1327 | }) | |
1328 | Distance = Nuker:CreateSlider({ | |
1329 | ["Name"] = "Distance", | |
1330 | ["Function"] = function() end, | |
1331 | ["Min"] = 0, | |
1332 | ["Max"] = 30, | |
1333 | ["Default"] = 30, | |
1334 | ["Round"] = 1 | |
1335 | }) | |
1336 | end) | |
1337 | ||
1338 | runcode(function() | |
1339 | function GetBeds() | |
1340 | local beds = {} | |
1341 | for i,v in pairs(game:GetService("Workspace"):GetChildren()) do | |
1342 | if string.lower(v.Name) == "bed" and v:FindFirstChild("Covers") ~= nil and v:FindFirstChild("Covers").BrickColor ~= lplr.Team.TeamColor then | |
1343 | table.insert(beds,v) | |
1344 | end | |
1345 | end | |
1346 | return beds | |
1347 | end | |
1348 | function GetPlayers() | |
1349 | local players = {} | |
1350 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1351 | if v.Team ~= lplr.Team and IsAlive(v) then | |
1352 | table.insert(players,v) | |
1353 | end | |
1354 | end | |
1355 | return players | |
1356 | end | |
1357 | local Enabled = false | |
1358 | local AutoWin = Tabs["Exploits"]:CreateToggle({ | |
1359 | ["Name"] = "Auto win", | |
1360 | ["Callback"] = function(Callback) | |
1361 | Enabled = Callback | |
1362 | if Enabled then | |
1363 | spawn(function() | |
1364 | if GetMatchState() ~= 1 then | |
1365 | repeat task.wait() until GetMatchState() == 1 or not Enabled | |
1366 | if not Enabled then return end | |
1367 | end | |
1368 | local start = tick() | |
1369 | local beds = GetBeds() | |
1370 | for i,v in pairs(beds) do | |
1371 | repeat | |
1372 | task.wait(0.01) | |
1373 | if lplr:GetAttribute("DenyBlockBreak") == true then | |
1374 | lplr:SetAttribute("DenyBlockBreak",nil) | |
1375 | end | |
1376 | lplr.Character:FindFirstChild("HumanoidRootPart").CFrame = v.CFrame + Vector3.new(0,3,0) | |
1377 | local x = math.round(v.Position.X/3) | |
1378 | local y = math.round(v.Position.Y/3) | |
1379 | local z = math.round(v.Position.Z/3) | |
1380 | game:GetService("ReplicatedStorage").rbxts_include.node_modules:FindFirstChild("@rbxts").net.out._NetManaged.DamageBlock:InvokeServer({ | |
1381 | ["blockRef"] = { | |
1382 | ["blockPosition"] = Vector3.new(x,y,z) | |
1383 | }, | |
1384 | ["hitPosition"] = Vector3.new(x,y,z), | |
1385 | ["hitNormal"] = Vector3.new(x,y,z) | |
1386 | }) | |
1387 | until not v:FindFirstChild("Covers") or not v or not Enabled | |
1388 | if not Enabled then return end | |
1389 | end | |
1390 | local players = GetPlayers() | |
1391 | for i,v in pairs(players) do | |
1392 | repeat | |
1393 | task.wait(0.01) | |
1394 | lplr.Character:FindFirstChild("HumanoidRootPart").CFrame = v.Character:FindFirstChild("HumanoidRootPart").CFrame + Vector3.new(0,3,0) | |
1395 | until not IsAlive(v) | |
1396 | end | |
1397 | CreateNotification("AutoWin","Took "..math.abs(start - tick()).." Seconds/Ticks to win Game",5) | |
1398 | end) | |
1399 | end | |
1400 | end | |
1401 | }) | |
1402 | end) | |
1403 | ||
1404 | runcode(function() | |
1405 | local Enabled = false | |
1406 | local Skywars = Tabs["Exploits"]:CreateToggle({ | |
1407 | ["Name"] = "Trumpet Aura", | |
1408 | ["Callback"] = function(Callback) | |
1409 | Enabled = Callback | |
1410 | if Enabled then | |
1411 | getgenv().Aura = true | |
1412 | spawn(function() | |
1413 | while Aura == true do | |
1414 | local args = {[1] = "TRUMPET_PLAY"} | |
1415 | game:GetService("ReplicatedStorage"):FindFirstChild("events-@easy-games/game-core:shared/[email protected]").useAbility:FireServer(unpack(args)) | |
1416 | game:GetService("ReplicatedStorage").rbxts_include.node_modules:FindFirstChild("@rbxts").net.out._NetManaged.ldzwbijyvmlYiTzzalrcvgOmClbeekhiDc:InvokeServer() | |
1417 | wait() | |
1418 | end | |
1419 | end) | |
1420 | else | |
1421 | getgenv().Aura = false | |
1422 | end | |
1423 | end | |
1424 | }) | |
1425 | end) | |
1426 | ||
1427 | ||
1428 | runcode(function() | |
1429 | function HasTNT() | |
1430 | if IsAlive(lplr) and lplr.Character:FindFirstChild("InventoryFolder").Value:FindFirstChild("tnt") then | |
1431 | return true | |
1432 | end | |
1433 | return false | |
1434 | end | |
1435 | function getpos() | |
1436 | local x = math.round(lplr.Character.PrimaryPart.Position.X/3) | |
1437 | local y = math.round(lplr.Character.PrimaryPart.Position.Y/3) | |
1438 | local z = math.round(lplr.Character.PrimaryPart.Position.Z/3) | |
1439 | return Vector3.new(x,y,z) | |
1440 | end | |
1441 | local Speed = {["Value"] = 90} | |
1442 | local Up = {["Value"] = 5} | |
1443 | local velo | |
1444 | local Enabled = false | |
1445 | local TNTFly = Tabs["Blatant"]:CreateToggle({ | |
1446 | ["Name"] = "TNTFly", | |
1447 | ["Callback"] = function(Callback) | |
1448 | Enabled = Callback | |
1449 | if Enabled then | |
1450 | velo = Instance.new("BodyVelocity") | |
1451 | velo.MaxForce = Vector3.new(9e9,9e9,9e9) | |
1452 | velo.Velocity = Vector3.new(0,0.5,0) | |
1453 | velo.Parent = lplr.Character:FindFirstChild("HumanoidRootPart") | |
1454 | if not HasTNT() then | |
1455 | lib["ToggleFuncs"]["TNTFly"](true) | |
1456 | return | |
1457 | end | |
1458 | game:GetService("ReplicatedStorage").rbxts_include.node_modules:FindFirstChild("@rbxts").net.out._NetManaged.PlaceBlock:InvokeServer({ | |
1459 | ["position"] = getpos(), | |
1460 | ["blockType"] = "tnt" | |
1461 | }) | |
1462 | task.wait(3) | |
1463 | lplr.Character:FindFirstChild("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) | |
1464 | velo.Velocity = lplr.Character:FindFirstChild("HumanoidRootPart").CFrame.LookVector * Speed["Value"] + Vector3.new(0,Up["Value"],0) | |
1465 | lplr.Character:FindFirstChild("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping) | |
1466 | else | |
1467 | velo:Destroy() | |
1468 | end | |
1469 | end | |
1470 | }) | |
1471 | Speed = TNTFly:CreateSlider({ | |
1472 | ["Name"] = "Speed", | |
1473 | ["Function"] = function() end, | |
1474 | ["Min"] = 0, | |
1475 | ["Max"] = 125, | |
1476 | ["Default"] = 80, | |
1477 | ["Round"] = 1 | |
1478 | }) | |
1479 | Up = TNTFly:CreateSlider({ | |
1480 | ["Name"] = "Height", | |
1481 | ["Function"] = function() end, | |
1482 | ["Min"] = 10, | |
1483 | ["Max"] = 100, | |
1484 | ["Default"] = 25, | |
1485 | ["Round"] = 1 | |
1486 | }) | |
1487 | end) | |
1488 | ||
1489 | runcode(function() | |
1490 | local Enabled = false | |
1491 | local vulflyys = Tabs["Blatant"]:CreateToggle({ | |
1492 | ["Name"] = "fly v2", | |
1493 | ["Callback"] = function(Callback) | |
1494 | Enabled = Callback | |
1495 | if Enabled then | |
1496 | velo = Instance.new("BodyVelocity") | |
1497 | ||
1498 | velo.MaxForce = Vector3.new(0,9e9,0) | |
1499 | velo.Parent = lplr.Character:FindFirstChild("HumanoidRootPart") | |
1500 | spawn(function() | |
1501 | repeat | |
1502 | task.wait(0.1) | |
1503 | ||
1504 | velo.Velocity = Vector3.new(0,1,0) | |
1505 | task.wait(0.15) | |
1506 | velo.Velocity = Vector3.new(0,0.1,0) | |
1507 | ||
1508 | task.wait(0.15) | |
1509 | velo.Velocity = Vector3.new(1,0,0) | |
1510 | task.wait(0.15) | |
1511 | velo.Velocity = Vector3.new(0.1,0,0) | |
1512 | task.wait(0.15) | |
1513 | velo.Velocity = Vector3.new(0,0,1) | |
1514 | task.wait(0.15) | |
1515 | velo.Velocity = Vector3.new(0,0,0.1) | |
1516 | ||
1517 | ||
1518 | ||
1519 | until not Enabled | |
1520 | end) | |
1521 | else | |
1522 | velo:Destroy() | |
1523 | for i,v in pairs(lplr.Character:FindFirstChild("HumanoidRootPart"):GetChildren()) do | |
1524 | if v:IsA("BodyVelocity") then | |
1525 | v:Destroy() | |
1526 | end | |
1527 | end | |
1528 | end | |
1529 | ||
1530 | ||
1531 | ||
1532 | end | |
1533 | ||
1534 | }) | |
1535 | end) | |
1536 | ||
1537 | -- skys | |
1538 | runcode(function() | |
1539 | local Enabled = false | |
1540 | local NoFall = Tabs["World"]:CreateToggle({ | |
1541 | ["Name"] = "space sky", | |
1542 | ["Callback"] = function(Callback) | |
1543 | Enabled = Callback | |
1544 | if Enabled then | |
1545 | game.Lighting.Ambient = Color3.fromRGB(70, 70, 70) | |
1546 | local tint = Instance.new("ColorCorrectionEffect", game.Lighting) | |
1547 | tint.TintColor = Color3.fromRGB(70, 70, 70) | |
1548 | local newsky = Instance.new("Sky", game.Lighting) | |
1549 | newsky.SkyboxBk = "rbxassetid://159454299" | |
1550 | newsky.SkyboxDn = "rbxassetid://159454296" | |
1551 | newsky.SkyboxFt = "rbxassetid://159454293" | |
1552 | newsky.SkyboxLf = "rbxassetid://159454286" | |
1553 | newsky.SkyboxRt = "rbxassetid://159454300" | |
1554 | newsky.SkyboxUp = "rbxassetid://159454288" | |
1555 | newsky.MoonAngularSize = 0 | |
1556 | newsky.SunAngularSize = 0 | |
1557 | newsky.StarCount = 3e3 | |
1558 | table.insert(TempAssets, newsky) | |
1559 | table.insert(TempAssets, tint) | |
1560 | else | |
1561 | print("Disabled next round") | |
1562 | end | |
1563 | end | |
1564 | }) | |
1565 | end) | |
1566 | ||
1567 | ||
1568 | runcode(function() | |
1569 | local Enabled = false | |
1570 | local NoFall = Tabs["World"]:CreateToggle({ | |
1571 | ["Name"] = "void sky", | |
1572 | ["Callback"] = function(Callback) | |
1573 | Enabled = Callback | |
1574 | if Enabled then | |
1575 | game.Lighting.Ambient = Color3.fromRGB(255, 255, 255) | |
1576 | local tint = Instance.new("ColorCorrectionEffect", game.Lighting) | |
1577 | tint.TintColor = Color3.fromRGB(255, 255, 255) | |
1578 | local newsky = Instance.new("Sky", game.Lighting) | |
1579 | newsky.SkyboxBk = "rbxassetid://2670643994" | |
1580 | newsky.SkyboxDn = "rbxassetid://2670643994" | |
1581 | newsky.SkyboxFt = "rbxassetid://2670643365" | |
1582 | newsky.SkyboxLf = "rbxassetid://2670643214" | |
1583 | newsky.SkyboxRt = "rbxassetid://2670643070" | |
1584 | newsky.SkyboxUp = "rbxassetid://2670644173" | |
1585 | newsky.MoonAngularSize = 0 | |
1586 | newsky.SunAngularSize = 0 | |
1587 | newsky.StarCount = 3e3 | |
1588 | table.insert(TempAssets, newsky) | |
1589 | table.insert(TempAssets, tint) | |
1590 | else | |
1591 | print("Disabled next round") | |
1592 | end | |
1593 | end | |
1594 | }) | |
1595 | end) |