-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathminerscave.lua
More file actions
1856 lines (1656 loc) · 54.2 KB
/
minerscave.lua
File metadata and controls
1856 lines (1656 loc) · 54.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
local AkaliNotif = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/Dynissimo/main/Scripts/AkaliNotif.lua"))(); -- Notif Library
if not getgenv().bytehubLoaded then
getgenv().bytehubLoaded = true
-- Services --
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")
local Lighting = game:GetService("Lighting")
local Camera = game.Workspace.CurrentCamera
local Players = game:GetService("Players")
-- Variables --
local player = game:GetService("Players").LocalPlayer
local LP = game.Players.LocalPlayer
local Character = player.Character
local Gamemode = Instance.new("IntValue")
Gamemode.Name = "Gamemode"
Gamemode.Parent = game.Players.LocalPlayer.Character
local ESP = loadstring(game:HttpGet("https://kiriot22.com/releases/ESP.lua"))()
local metaBlocks = game.ReplicatedFirst:FindFirstChild("MetaBlocks")
local blocks = workspace.Blocks
local strafeEnabled = false
local features = {}
local usetables = false
local isMobile
local isPC
local hasGiveExploit
local delay = 0
local useTaskSpawn = false
local clockTimeConnection = nil
local strafeEnabled = false
local radius = 10
local speed = 2
local strafeRange = 50 -- how close they must be to strafe
local wasEnabled = false
local selectedTargeting = "nearest"
local RANGE_SQ = 16*16
local whitelist = {
"sbjmp",
"CraftBloxPro9999",
"CraftTopiaIsAwesome",
"MinersCraftPro9999",
"Epicguy_616161"
}
-- Remotes --
local gameremotes = ReplicatedStorage.GameRemotes
local GameRemotes = ReplicatedStorage.GameRemotes
local Demo = gameremotes:FindFirstChild("Demo") or Workspace:FindFirstChild("Demo")
local abb = gameremotes.AcceptBreakBlock
local bb = gameremotes.BreakBlock
local Attack = gameremotes:WaitForChild("Attack")
local moveitems = gameremotes:FindFirstChild("MoveItem") or gameremotes:FindFirstChild("MoveItems")
local sortitems = gameremotes:FindFirstChild("SortItem") or gameremotes:FindFirstChild("SortItems")
local useblock = gameremotes.UseBlock
local hbConn
local timeAcc = 0
local CrosshairSettings = {
Visible = false,
Size = 35,
Thickness = 2.5,
Color = Color3.fromRGB(188, 50, 252),
Transparency = 1,
HorizontalLine = Drawing.new("Line"),
VerticalLine = Drawing.new("Line")
}
loadstring(game:HttpGet("https://raw.githubusercontent.com/Pixeluted/adoniscries/refs/heads/main/Source.lua",true))()
wait()
-- Anti Kick --
local oldhmmi
local oldhmmnc
oldhmmi = hookmetamethod(game, "__index", function(self, method)
if self == player and method:lower() == "kick" then
return error("Expected ':' not '.' calling member function Kick", 2)
end
return oldhmmi(self, method)
end)
oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
if self == player and getnamecallmethod():lower() == "kick" then
return
end
return oldhmmnc(self, ...)
end)
-- Functions --
if game.ReplicatedStorage:FindFirstChild("admingui") then
hasGiveExploit = true
local Notify = AkaliNotif.Notify;
Notify({
Description = "Might want to try giving urself stuff ;) (Dupe Tab)!";
Title = "Give Exploit Detected!";
Duration = 3;
});
else
hasGiveExploit = false
end
if not table.find(whitelist, player.Name) then
loadstring(game:HttpGet("https://raw.githubusercontent.com/screengui/bytehub/refs/heads/main/Byte%20Hub/BSAdmin",true))()
loadstring(game:HttpGet("https://raw.githubusercontent.com/screengui/bytehub/refs/heads/main/Byte%20Hub/BSAdminHelper",true))()
end
--[[_G.ArmorAntiLag = game.Players.LocalPlayer.PlayerGui.HUDGui.Inventory.Mirror.VPFrame[""].ChildAdded:Connect(function(child)
if child:IsA("UnionOperation") then
task.wait()
child:Destroy()
end
end)]]--
local function getLowestHealthNearbyPlayer()
local lowestHealth = math.huge
local targetPlayer = nil
local localHRP = LP.Character and LP.Character:FindFirstChild("HumanoidRootPart")
if not localHRP then return nil end
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LP and player.Character then
local humanoid = player.Character:FindFirstChildOfClass("Humanoid")
local targetHRP = player.Character:FindFirstChild("HumanoidRootPart")
if humanoid and targetHRP and humanoid.Health > 0 then
local distance = (targetHRP.Position - localHRP.Position).Magnitude
if distance <= strafeRange and humanoid.Health < lowestHealth then
lowestHealth = humanoid.Health
targetPlayer = player
end
end
end
end
return targetPlayer
end
local function getClosestPlayer()
local closest = nil
local shortest = math.huge
local hrp = LP.Character and LP.Character:FindFirstChild("HumanoidRootPart")
if not hrp then return nil end
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LP and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
local dist = (hrp.Position - player.Character.HumanoidRootPart.Position).Magnitude
if dist < shortest then
shortest = dist
closest = player
end
end
end
return closest
end
local function changeTorsoSize(player, size, Massless, transparency)
local character = player.Character or player.CharacterAdded:Wait()
local torso = character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso")
if torso then
torso.Size = size
torso.Massless = Massless
torso.Transparency = transparency
end
end
local function getPlayerNames()
local t = {}
for _, p in ipairs(Players:GetPlayers()) do
table.insert(t, p.Name)
end
return t
end
function chestdupe(mode)
if mode == 1 then
sortitems:InvokeServer(36)
elseif mode == 2 then
for i = 36, 62 do
task.spawn(function()
sortitems:InvokeServer(i)
end)
end
end
end
local originalSettings = {}
function conv(txt)
local str = ""
string.gsub(txt,"%d+",function(e)
str = str .. e
end)
return str;
end
if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then
isPC = true
local Notify = AkaliNotif.Notify;
Notify({
Description = "PC Detected, Infinite Health might not work...";
Title = "PC Detected!";
Duration = 3;
});
elseif UserInputService.TouchEnabled then
isMobile = true
local Notify = AkaliNotif.Notify;
Notify({
Description = "Mobile Device Detected, executing button...";
Title = "Mobile Device Detected!";
Duration = 3;
});
loadstring(game:HttpGet("https://raw.githubusercontent.com/screengui/sidescripts/refs/heads/main/open%20button%20for%20mobile.lua",true))()
end
loadstring(game:HttpGet("https://raw.githubusercontent.com/screengui/archives/main/inv-viewerV2.lua",true))()
game.Players.LocalPlayer.PlayerGui.invviewer.Enabled = false
loadstring(game:HttpGet("https://rawscripts.net/raw/Baseplate-adonis-and-newindex-bypass-source-12378",true))()
local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
local Window = Fluent:CreateWindow({
Title = "Minecraft (Byte Hub) v4.4",
SubTitle = "by PurpleApple",
TabWidth = 160,
Size = UDim2.fromOffset(560, 300),
Acrylic = false,
Theme = "Rose",
MinimizeKey = Enum.KeyCode.LeftShift -- Used when theres no MinimizeKeybind
})
local Tabs = {
Credits = Window:AddTab({ Title = "Credits", Icon = "info" }),
cs = Window:AddTab({ Title = "Combat", Icon = "swords" }),
lp = Window:AddTab({ Title = "Player", Icon = "user" }),
vs = Window:AddTab({ Title = "Visuals", Icon = "eye" }),
wr = Window:AddTab({ Title = "World", Icon = "globe" }),
dt = Window:AddTab({ Title = "Dupe", Icon = "copy" }),
ot = Window:AddTab({ Title = "Others", Icon = "list" }),
st = Window:AddTab({ Title = "Settings", Icon = "settings" }),
}
local Options = Fluent.Options
local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
Tabs.Credits:AddParagraph({
Title = "Made by PurpleApple",
Content = "UI Library: Fluent\nv4.4\nDupe Gui: Argentum\nScaffold: Obos\nOpen-Sourced\nSocials:"
})
Tabs.Credits:AddButton({
Title = "YouTube",
Description = "My YouTube Channel",
Callback = function()
setclipboard("https://youtube.com/@inconsistenttutorialuploader")
end
})
Tabs.Credits:AddButton({
Title = "Discord",
Description = "My Discord Server",
Callback = function()
setclipboard("https://discord.gg/9y7JM7Anne")
end
})
Tabs.Credits:AddButton({
Title = "GitHub",
Description = "My GitHub Page",
Callback = function()
setclipboard("https://github.com/screengui")
end
})
Tabs.Credits:AddButton({
Title = "ScriptBlox",
Description = "My ScriptBlox Account",
Callback = function()
setclipboard("https://scriptblox.com/u/tycoonman95")
end
})
local katog = Tabs.cs:AddToggle("Kill Aura",
{
Title = "Kill Aura",
Description = "Attacks people within your reach",
Default = false,
Callback = function(k)
ka = k
local function attackLoop()
while ka do
local lpChar = game.Players.LocalPlayer.Character
local lpHRP = lpChar and lpChar:FindFirstChild("HumanoidRootPart")
if lpHRP then
local target =
selectedTargeting == "lowest" and getLowestHealthNearbyPlayer()
or getClosestPlayer()
if target and target.Character then
local tHRP = target.Character:FindFirstChild("HumanoidRootPart")
if tHRP then
local d = lpHRP.Position - tHRP.Position
if (d.X*d.X + d.Z*d.Z) <= RANGE_SQ then
Attack:InvokeServer(target.Character)
end
end
end
end
task.wait(delay)
end
end
if ka then
task.spawn(attackLoop)
end
end
})
local Toggle = Tabs.cs:AddToggle("Toggle", {
Title = "Target Strafe",
Description = "Circles around your target",
Default = false,
Callback = function(t)
ts = t
if not ts then
if hbConn then
hbConn:Disconnect()
hbConn = nil
end
return
end
hbConn = RunService.Heartbeat:Connect(function(dt)
if not ts then return end
local lpChar = LP.Character
local lpHRP = lpChar and lpChar:FindFirstChild("HumanoidRootPart")
if not lpHRP then return end
local target =
selectedTargeting == "lowest" and getLowestHealthNearbyPlayer()
or getClosestPlayer()
local tChar = target and target.Character
local tHRP = tChar and tChar:FindFirstChild("HumanoidRootPart")
if not tHRP then return end
timeAcc += dt * speed
local offset = Vector3.new(
math.cos(timeAcc) * radius,
0,
math.sin(timeAcc) * radius
)
local targetPos = tHRP.Position
lpHRP.CFrame = CFrame.new(targetPos + offset, targetPos)
end)
end
})
local hboxtog = Tabs.cs:AddToggle("HitboxToggle",
{
Title = "Hitbox Expander",
Description = "Expands other player's hitboxes\nCredits to Ket Hub",
Default = false,
Callback = function(h)
he = h
if he then
connection = RunService.Heartbeat:Connect(function()
for _, player in ipairs(game.Players:GetPlayers()) do
if player ~= game.Players.LocalPlayer then
changeTorsoSize(player, Vector3.new(10, 10, 10), true, 0.999)
end
end
end)
else
if connection then connection:Disconnect() end
for _, player in ipairs(game.Players:GetPlayers()) do
if player ~= game.Players.LocalPlayer then
changeTorsoSize(player, Vector3.new(2, 2, 1), true, 0)
end
end
end
end
})
local acltog = Tabs.cs:AddToggle("Auto Combat Log",
{
Title = "Auto Combat Log",
Description = "Automatically leaves when you have less than 30% hp",
Default = false,
Callback = function(c)
cl = c
local function checkHealth()
local character = player.Character
if not character then return end
local humanoid = character:FindFirstChildOfClass("Humanoid")
if not humanoid then return end
local healthThreshold = humanoid.MaxHealth * 0.4
if humanoid.Health <= healthThreshold then
game:Shutdown()
end
end
local function healthLoop()
while cl do
checkHealth()
task.wait()
end
end
if useTaskSpawn then
task.spawn(healthLoop) -- Runs the loop asynchronously
else
healthLoop() -- Runs normally (blocking)
end
end
})
local acttog = Tabs.cs:AddToggle("Auto Combat TP",
{
Title = "Auto Safe Zone",
Description = "Auto Combat Log, but it teleports you to a safe zone.",
Default = false,
Callback = function(c2)
ctp = c2
local function checkHealth2()
local character = player.Character
if not character then return end
local humanoid = character:FindFirstChild("Humanoid")
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if not humanoid or not humanoidRootPart then return end
local healthThreshold = humanoid.MaxHealth * 0.4
if humanoid.Health <= healthThreshold then
local teleportPosition = CFrame.new(1000 * 3, 60 * 3, 1000 * 3)
humanoidRootPart.CFrame = teleportPosition
end
end
local function tpLoop()
while ctp do
checkHealth2()
task.wait(0.25)
end
end
if useTaskSpawn then
task.spawn(tpLoop)
else
tpLoop()
end
end
})
Tabs.cs:AddButton({
Title = "Arcade Recode Client",
Description = "Executes Arcade Recode Client",
Callback = function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/screengui/archives/main/Arcade%20Recode%20Client",true))()
end
})
local nftog = Tabs.lp:AddToggle("No Fall",
{
Title = "No Fall",
Description = "Removes Fall Damage",
Default = false,
Callback = function(n)
nf = n
if nf then
if Demo.Parent == GameRemotes then
Demo.Parent = Workspace
end
else
if Demo.Parent == Workspace then
Demo.Parent = GameRemotes
end
end
end
})
local sptog = Tabs.lp:AddToggle("Sprint",
{
Title = "Sprint",
Description = "Makes you a tiny bit faster",
Default = false,
Callback = function(s)
sp = s
if not sp then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 12
else
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 20
end
end
})
Tabs.lp:AddButton({
Title = "Immortality",
Description = "Put an item in\nthe first inventory slot",
Callback = function()
game.ReplicatedStorage.GameRemotes.MoveItem:InvokeServer(101, 9, true)
end
})
local eattog = Tabs.lp:AddToggle("EatToggle",
{
Title = "Auto Eat",
Description = "Automatically eats for you",
Default = false,
Callback = function(aeat)
ae = aeat
while ae do
game:GetService("ReplicatedStorage"):WaitForChild("GameRemotes"):WaitForChild("ConsumeItem"):InvokeServer(game:GetService("Players").LocalPlayer.Character:WaitForChild("Inventory"), game.Players.LocalPlayer.Character.SelectedSlot.Value)
end
end
})
local jetog = Tabs.lp:AddToggle("Jesus",
{
Title = "Jesus",
Description = "Walk On Water",
Default = false,
Callback = function(j)
je = j
local fluidFolder = Workspace:FindFirstChild("Fluid")
if not fluidFolder then return end
local function isWater(part)
return part:IsA("BasePart")
and (part.Name == "Water" or part.Name == "Lava")
end
if je then
-- ENABLE: set collide ON (scan once)
for _, obj in ipairs(fluidFolder:GetDescendants()) do
if isWater(obj) then
obj.CanCollide = true
end
end
-- handle newly added water
_G.jesusConn = fluidFolder.DescendantAdded:Connect(function(obj)
if isWater(obj) then
obj.CanCollide = true
end
end)
else
-- DISABLE: disconnect listener
if _G.jesusConn then
_G.jesusConn:Disconnect()
_G.jesusConn = nil
end
-- FORCE reset existing parts (scan once)
for _, obj in ipairs(fluidFolder:GetDescendants()) do
if isWater(obj) then
obj.CanCollide = false
end
end
end
end
})
local Toggle = Tabs.lp:AddToggle("Toggle",
{
Title = "Infinite Health",
Description = "Increases your hp (only works with emerald leggings)",
Default = false,
Callback = function(infihp)
infh = infihp
local function healthLoop()
while infh do
moveitems:InvokeServer(101, 9, true)
moveitems:InvokeServer(9, 101, true)
task.wait()
end
end
if useTaskSpawn then
task.spawn(healthLoop)
else
healthLoop()
end
end
})
local Input = Tabs.lp:AddInput("Input", {
Title = "Walkspeed",
Description = "Sets your walkspeed amount (Default: 12)",
Default = "12",
Placeholder = "Enter a number",
Numeric = false, -- Ensure input is numeric
Finished = false,
Callback = function(ws)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(ws)
end
})
local Input = Tabs.lp:AddInput("Jumppower", {
Title = "Jumppower",
Description = "Sets your jumppower amount (Default: 25)",
Default = "25",
Placeholder = "Enter a number",
Numeric = false,
Finished = false,
Callback = function(jp)
game.Players.LocalPlayer.Character.Humanoid.JumpPower = tonumber(jp)
end
})
local xinput = Tabs.lp:AddInput("xinput", {
Title = "X Coordinate:",
Description = "Input Description",
Default = "",
Placeholder = "Placeholder",
Numeric = false,
Finished = false,
Callback = function(xi)
xip = xi
end
})
local yinput = Tabs.lp:AddInput("yinput", {
Title = "Y Coordinate:",
Description = "Input Description",
Default = "",
Placeholder = "Placeholder",
Numeric = false,
Finished = false,
Callback = function(yi)
yip = yi
end
})
local zinput = Tabs.lp:AddInput("zinput", {
Title = "Z Coordinate:",
Description = "Input Description",
Default = "",
Placeholder = "Placeholder",
Numeric = false,
Finished = false,
Callback = function(zi)
zip = zi
end
})
Tabs.lp:AddButton({
Title = "Teleport to Coordinates",
Description = "Teleports to the given coordinates",
Callback = function()
local xtppos = math.floor(xip * 3)
local ytppos = math.floor(yip * 3)
local ztppos = math.floor(zip * 3)
local humanroot = game.Players.LocalPlayer.Character.HumanoidRootPart
humanroot.CFrame = CFrame.new(xtppos, ytppos, ztppos)
end
})
Tabs.lp:AddDropdown("PlayerTP", {
Title = "Teleport to Player",
Description = "Teleports to selected player",
Values = getPlayerNames(),
Default = getPlayerNames()[1],
Callback = function(Value)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game.Players[Value].Character.HumanoidRootPart.Position)
end
})
local chp = Tabs.vs:AddToggle("CH+",
{
Title = "Crosshair+",
Description = "Makes your crosshair look cooler",
Default = false,
Callback = function(ch)
chplus = ch
if not chplus then
CrosshairSettings.HorizontalLine.Visible = false
CrosshairSettings.VerticalLine.Visible = false
for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.HUDGui:GetChildren()) do
if v.Name == "Crosshair" then
v.Visible = true
end
end
return
end
local ViewportSize = Camera.ViewportSize / 2
local Axis_X, Axis_Y = ViewportSize.X, ViewportSize.Y
local Real_Size = CrosshairSettings.Size / 2
for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.HUDGui:GetChildren()) do
if v.Name == "Crosshair" then
v.Visible = false
end
end
CrosshairSettings.HorizontalLine.Color = CrosshairSettings.Color
CrosshairSettings.HorizontalLine.Thickness = CrosshairSettings.Thickness
CrosshairSettings.HorizontalLine.Visible = true
CrosshairSettings.HorizontalLine.Transparency = CrosshairSettings.Transparency
CrosshairSettings.HorizontalLine.From = Vector2.new(Axis_X - Real_Size, Axis_Y)
CrosshairSettings.HorizontalLine.To = Vector2.new(Axis_X + Real_Size, Axis_Y)
CrosshairSettings.VerticalLine.Color = CrosshairSettings.Color
CrosshairSettings.VerticalLine.Thickness = CrosshairSettings.Thickness
CrosshairSettings.VerticalLine.Visible = true
CrosshairSettings.VerticalLine.Transparency = CrosshairSettings.Transparency
CrosshairSettings.VerticalLine.From = Vector2.new(Axis_X, Axis_Y - Real_Size)
CrosshairSettings.VerticalLine.To = Vector2.new(Axis_X, Axis_Y + Real_Size)
end
})
local rbchtog = Tabs.vs:AddToggle("Toggle", {
Title = "Rainbow Crosshair",
Description = "Makes Crosshair Rainbow\n(Must have Crosshair+ disabled)",
Default = false,
Callback = function(chpr)
chr = chpr
local CrosshairSettings2 = {
Visible = false,
Size = 35,
Thickness = 2.5,
Color = Color3.fromRGB(188, 50, 252),
Transparency = 1,
HorizontalLine = Drawing.new("Line"),
VerticalLine = Drawing.new("Line")
}
local function RainbowCrosshair()
if not chr then
CrosshairSettings2.HorizontalLine.Visible = false
CrosshairSettings2.VerticalLine.Visible = false
for i, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.HUDGui:GetChildren()) do
if v.Name == "Crosshair" then
v.Visible = true
end
end
return
end
local ViewportSize = Camera.ViewportSize / 2
local Axis_X, Axis_Y = ViewportSize.X, ViewportSize.Y
local Real_Size = CrosshairSettings.Size / 2
for i, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.HUDGui:GetChildren()) do
if v.Name == "Crosshair" then
v.Visible = false
end
end
local hue = (tick() * 0.2) % 1
local rainbowColor = Color3.fromHSV(hue, 1, 1)
CrosshairSettings2.HorizontalLine.Color = rainbowColor
CrosshairSettings2.HorizontalLine.Thickness = CrosshairSettings.Thickness
CrosshairSettings2.HorizontalLine.Visible = true
CrosshairSettings2.HorizontalLine.Transparency = CrosshairSettings.Transparency
CrosshairSettings2.HorizontalLine.From = Vector2.new(Axis_X - Real_Size, Axis_Y)
CrosshairSettings2.HorizontalLine.To = Vector2.new(Axis_X + Real_Size, Axis_Y)
CrosshairSettings2.VerticalLine.Color = rainbowColor
CrosshairSettings2.VerticalLine.Thickness = CrosshairSettings.Thickness
CrosshairSettings2.VerticalLine.Visible = true
CrosshairSettings2.VerticalLine.Transparency = CrosshairSettings.Transparency
CrosshairSettings2.VerticalLine.From = Vector2.new(Axis_X, Axis_Y - Real_Size)
CrosshairSettings2.VerticalLine.To = Vector2.new(Axis_X, Axis_Y + Real_Size)
end
RunService.RenderStepped:Connect(RainbowCrosshair)
end
})
local fbtog = Tabs.vs:AddToggle("Fullbright",
{
Title = "Fullbright",
Description = "Makes it very bright",
Default = false,
Callback = function(f)
fb = f
local function Enable()
if not originalSettings.Brightness then
originalSettings.Brightness = Lighting.Brightness
originalSettings.ClockTime = Lighting.ClockTime
originalSettings.FogEnd = Lighting.FogEnd
originalSettings.GlobalShadows = Lighting.GlobalShadows
originalSettings.OutdoorAmbient = Lighting.OutdoorAmbient
end
Lighting.Brightness = 2
Lighting.ClockTime = 14
Lighting.FogEnd = 100000
Lighting.GlobalShadows = false
Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
clockTimeConnection = Lighting:GetPropertyChangedSignal("ClockTime"):Connect(function()
if Lighting.ClockTime < 6 or Lighting.ClockTime > 15 then
Lighting.ClockTime = 14
end
end)
end
local function Disable()
if clockTimeConnection then
clockTimeConnection:Disconnect()
clockTimeConnection = nil
end
if originalSettings.Brightness then
Lighting.Brightness = originalSettings.Brightness
Lighting.ClockTime = originalSettings.ClockTime
Lighting.FogEnd = originalSettings.FogEnd
Lighting.GlobalShadows = originalSettings.GlobalShadows
Lighting.OutdoorAmbient = originalSettings.OutdoorAmbient
end
end
if fb then
Enable()
else
Disable()
end
end
})
local Toggle = Tabs.vs:AddToggle("Toggle",
{
Title = "X-Ray",
Description = "Makes you see ores through blocks",
Default = false,
Callback = function(x)
xr = x
local humanroot2 = game.Players.LocalPlayer.Character.HumanoidRootPart
if xr then
wasEnabled = true
for _, v in pairs(game.ReplicatedFirst.MetaBlocks:GetChildren()) do
if v.Name == "Stone" or v.Name == "Dirt" then
for _, texture in pairs(v:GetChildren()) do
texture.Transparency = 1
end
end
end
for _, v in pairs(game.ReplicatedFirst.Blocks:GetChildren()) do
if v.Name == "Stone" or v.Name == "Dirt" then
v.Transparency = 1
end
end
local pos = humanroot2.Position
task.wait()
humanroot2.CFrame = CFrame.new(30000, 180, 30000)
task.wait()
humanroot2.CFrame = CFrame.new(pos)
elseif not xr then
for _, v in pairs(game.ReplicatedFirst.MetaBlocks:GetChildren()) do
if v.Name == "Stone" or v.Name == "Dirt" then
for _, texture in pairs(v:GetChildren()) do
texture.Transparency = 0
end
end
end
for _, v in pairs(game.ReplicatedFirst.Blocks:GetChildren()) do
if v.Name == "Stone" or v.Name == "Dirt" then
v.Transparency = 0
end
end
if wasEnabled then
local pos = humanroot2.Position
task.wait()
humanroot2.CFrame = CFrame.new(30000, 180, 30000)
task.wait()
humanroot2.CFrame = CFrame.new(pos)
wasEnabled = false
end
end
end
})
local cesptog = Tabs.vs:AddToggle("Chest ESP",
{
Title = "Chest ESP",
Description = "Makes you see chests through blocks",
Default = false,
Callback = function(c)
cesp = c
if not cesp then return end
local function findChestParts()
local childParts = {}
for _, folder in pairs(workspace.Blocks:GetChildren()) do
if folder:IsA("Folder") then
for _, item in pairs(folder:GetChildren()) do
if item.Name == "Chest" then
table.insert(childParts, item)
end
end
end
end
return childParts
end
local function outlinePart(part)
if not part:FindFirstChild("BoxHandleAdornment") then
local a = Instance.new("BoxHandleAdornment")
a.Adornee = part
a.AlwaysOnTop = true
a.ZIndex = 0
a.Size = part.Size
a.Transparency = 0.5
a.Color = BrickColor.new("Bright orange")
a.Parent = part
end
end
local function chestLoop()
while cesp do
local chestParts = findChestParts()
for _, part in ipairs(chestParts) do
outlinePart(part)
end
task.wait(1)
end
for _, descendant in ipairs(workspace:GetDescendants()) do
local highlight = descendant:FindFirstChild("BoxHandleAdornment")
if highlight then
highlight:Destroy()
end
end
end
if useTaskSpawn then
task.spawn(chestLoop)
else
chestLoop()
end
end
})
local lesptog = Tabs.vs:AddToggle("Lava ESP",
{
Title = "Lava ESP",
Description = "Makes you see lava through blocks",
Default = false,
Callback = function(l)
lesp = l
if not lesp then return end
local function findLava()
local lavaBlocks = {}
for _, folder in pairs(workspace.Fluid:GetChildren()) do
if folder:IsA("Folder") then
for _, item in pairs(folder:GetChildren()) do
if item.Name == "Lava" then
table.insert(lavaBlocks, item)
end
end
end
end
return lavaBlocks
end
local function createOutline(target)
if not target:FindFirstChild("BoxHandleAdornment") then
local b = Instance.new("BoxHandleAdornment")
b.Adornee = target
b.AlwaysOnTop = true
b.ZIndex = 0
b.Size = target.Size
b.Transparency = 0.5
b.Color = BrickColor.new("Deep orange")
b.Parent = target
end
end
local function lavaLoop()
while lesp do
local lavaParts = findLava()
for _, part in ipairs(lavaParts) do
createOutline(part)
end
task.wait()
end