-
Notifications
You must be signed in to change notification settings - Fork 1
/
Door.lua
1061 lines (861 loc) Β· 33 KB
/
Door.lua
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 library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Giangplay/SB-ok/main/Ui%20library"))()
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hum = char:FindFirstChildOfClass("Humanoid") or char:WaitForChild("Humanoid")
if not fireproximityprompt then
local msg = Instance.new("Message",workspace)
msg.Text = "you have fireproximityprompt function bro get better executor"
task.wait(6)
msg:Destroy()
error("no prox")
end
function esp(what,color,core,name)
local parts
if typeof(what) == "Instance" then
if what:IsA("Model") then
parts = what:GetChildren()
elseif what:IsA("BasePart") then
parts = {what,table.unpack(what:GetChildren())}
end
elseif typeof(what) == "table" then
parts = what
end
local bill
local boxes = {}
for i,v in pairs(parts) do
if v:IsA("BasePart") then
local box = Instance.new("BoxHandleAdornment")
box.Size = v.Size
box.AlwaysOnTop = true
box.ZIndex = 1
box.AdornCullingMode = Enum.AdornCullingMode.Never
box.Color3 = color
box.Transparency = 0.7
box.Adornee = v
box.Parent = game.CoreGui
table.insert(boxes,box)
task.spawn(function()
while box do
if box.Adornee == nil or not box.Adornee:IsDescendantOf(workspace) then
box.Adornee = nil
box.Visible = false
box:Destroy()
end
task.wait()
end
end)
end
end
if core and name then
bill = Instance.new("BillboardGui",game.CoreGui)
bill.AlwaysOnTop = true
bill.Size = UDim2.new(0,400,0,100)
bill.Adornee = core
bill.MaxDistance = 2000
local mid = Instance.new("Frame",bill)
mid.AnchorPoint = Vector2.new(0.5,0.5)
mid.BackgroundColor3 = color
mid.Size = UDim2.new(0,8,0,8)
mid.Position = UDim2.new(0.5,0,0.5,0)
Instance.new("UICorner",mid).CornerRadius = UDim.new(1,0)
Instance.new("UIStroke",mid)
local txt = Instance.new("TextLabel",bill)
txt.AnchorPoint = Vector2.new(0.5,0.5)
txt.BackgroundTransparency = 1
txt.BackgroundColor3 = color
txt.TextColor3 = color
txt.Size = UDim2.new(1,0,0,20)
txt.Position = UDim2.new(0.5,0,0.7,0)
txt.Text = name
Instance.new("UIStroke",txt)
task.spawn(function()
while bill do
if bill.Adornee == nil or not bill.Adornee:IsDescendantOf(workspace) then
bill.Enabled = false
bill.Adornee = nil
bill:Destroy()
end
task.wait()
end
end)
end
local ret = {}
ret.delete = function()
for i,v in pairs(boxes) do
v.Adornee = nil
v.Visible = false
v:Destroy()
end
if bill then
bill.Enabled = false
bill.Adornee = nil
bill:Destroy()
end
end
return ret
end
local entityinfo = game.ReplicatedStorage:WaitForChild("EntityInfo")
function message(text)
local msg = Instance.new("Message",workspace)
msg.Text = tostring(text)
task.wait(5)
msg:Destroy()
--firesignal(entityinfo.Caption.OnClientEvent,tostring(text))
end
local flags = {
speed = 0,
espdoors = false,
espkeys = false,
espitems = false,
espbooks = false,
esprush = false,
espchest = false,
esplocker = false,
esphumans = false,
espgold = false,
goldespvalue = 0,
hintrush = false,
light = false,
instapp = false,
noseek = false,
nogates = false,
nopuzzle = false,
noa90 = false,
noskeledoors = false,
noscreech = false,
getcode = false,
roomsnolock = false,
draweraura = false,
autorooms = false,
}
local DELFLAGS = {table.unpack(flags)}
local esptable = {doors={},keys={},items={},books={},entity={},chests={},lockers={},people={},gold={}}
local window_player = library.window("player")
local window_esp = library.window("esp")
local window_misc = library.window("misc")
window_player.toggle("client glow",false,function(val)
flags.light = val
if val then
local l = Instance.new("PointLight")
l.Range = 10000
l.Brightness = 2
l.Parent = char.PrimaryPart
repeat task.wait() until not flags.light
l:Destroy()
end
end)
window_player.toggle("instant use",false,function(val)
flags.instapp = val
local holdconnect
holdconnect = game:GetService("ProximityPromptService").PromptButtonHoldBegan:Connect(function(p)
fireproximityprompt(p)
end)
repeat task.wait() until not flags.instapp
holdconnect:Disconnect()
end)
local walkspeedslider = window_player.slider("walkspeed",16,25,1,16,function(val)
hum.WalkSpeed = val
flags.speed = val
end)
task.spawn(function()
while true do
if hum.WalkSpeed < flags.speed then
hum.WalkSpeed = flags.speed
end
task.wait()
end
end)
window_esp.toggle("door esp",false,function(val)
flags.espdoors = val
if val then
local function setup(room)
local door = room:WaitForChild("Door"):WaitForChild("Door")
task.wait(0.1)
local h = esp(door,Color3.fromRGB(255,240,0),door,"Door")
table.insert(esptable.doors,h)
door:WaitForChild("Open").Played:Connect(function()
h.delete()
end)
door.AncestryChanged:Connect(function()
h.delete()
end)
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
if room:FindFirstChild("Assets") then
setup(room)
end
end
repeat task.wait() until not flags.espdoors
addconnect:Disconnect()
for i,v in pairs(esptable.doors) do
v.delete()
end
end
end)
window_esp.toggle("key/lever esp",false,function(val)
flags.espkeys = val
if val then
local function check(v)
if v:IsA("Model") and (v.Name == "LeverForGate" or v.Name == "KeyObtain") then
task.wait(0.1)
if v.Name == "KeyObtain" then
local hitbox = v:WaitForChild("Hitbox")
local parts = hitbox:GetChildren()
table.remove(parts,table.find(parts,hitbox:WaitForChild("PromptHitbox")))
local h = esp(parts,Color3.fromRGB(90,255,40),hitbox,"Key")
table.insert(esptable.keys,h)
elseif v.Name == "LeverForGate" then
local h = esp(v,Color3.fromRGB(90,255,40),v.PrimaryPart,"Lever")
table.insert(esptable.keys,h)
v.PrimaryPart:WaitForChild("SoundToPlay").Played:Connect(function()
h.delete()
end)
end
end
end
local function setup(room)
local assets = room:WaitForChild("Assets")
assets.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(assets:GetDescendants()) do
check(v)
end
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
if room:FindFirstChild("Assets") then
setup(room)
end
end
repeat task.wait() until not flags.espkeys
addconnect:Disconnect()
for i,v in pairs(esptable.keys) do
v.delete()
end
end
end)
window_esp.toggle("item esp",false,function(val)
flags.espitems = val
if val then
local function check(v)
if v:IsA("Model") and (v:GetAttribute("Pickup") or v:GetAttribute("PropType")) then
task.wait(0.1)
local part = (v:FindFirstChild("Handle") or v:FindFirstChild("Prop"))
local h = esp(part,Color3.fromRGB(160,190,255),part,v.Name)
table.insert(esptable.items,h)
end
end
local function setup(room)
local assets = room:WaitForChild("Assets")
if assets then
local subaddcon
subaddcon = assets.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(assets:GetDescendants()) do
check(v)
end
task.spawn(function()
repeat task.wait() until not flags.espitems
subaddcon:Disconnect()
end)
end
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
if room:FindFirstChild("Assets") then
setup(room)
end
end
repeat task.wait() until not flags.espitems
addconnect:Disconnect()
for i,v in pairs(esptable.items) do
v.delete()
end
end
end)
window_esp.toggle("book/breaker esp",false,function(val)
flags.espbooks = val
if val then
local function check(v)
if v:IsA("Model") and (v.Name == "LiveHintBook" or v.Name == "LiveBreakerPolePickup") then
task.wait(0.1)
local h = esp(v,Color3.fromRGB(160,190,255),v.PrimaryPart,"Book")
table.insert(esptable.books,h)
v.AncestryChanged:Connect(function()
if not v:IsDescendantOf(room) then
h.delete()
end
end)
end
end
local function setup(room)
if room.Name == "50" or room.Name == "100" then
room.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(room:GetDescendants()) do
check(v)
end
end
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
setup(room)
end
repeat task.wait() until not flags.espbooks
addconnect:Disconnect()
for i,v in pairs(esptable.books) do
v.delete()
end
end
end)
local entitynames = {"RushMoving","AmbushMoving","Snare","A60","A120"}
window_player.label("credits: zoophiliaphobic#6287\noh my dayyzz",20)
window_esp.toggle("entity esp",false,function(val)
flags.esprush = val
if val then
local addconnect
addconnect = workspace.ChildAdded:Connect(function(v)
if table.find(entitynames,v.Name) then
task.wait(0.1)
local h = esp(v,Color3.fromRGB(255,25,25),v.PrimaryPart,v.Name:gsub("Moving",""))
table.insert(esptable.entity,h)
end
end)
local function setup(room)
if room.Name == "50" or room.Name == "100" then
local figuresetup = room:WaitForChild("FigureSetup")
if figuresetup then
local fig = figuresetup:WaitForChild("FigureRagdoll")
task.wait(0.1)
local h = esp(fig,Color3.fromRGB(255,25,25),fig.PrimaryPart,"Figure")
table.insert(esptable.entity,h)
end
else
local assets = room:WaitForChild("Assets")
local function check(v)
if v:IsA("Model") and table.find(entitynames,v.Name) then
task.wait(0.1)
local h = esp(v:WaitForChild("Base"),Color3.fromRGB(255,25,25),v.Base,"Snare")
table.insert(esptable.entity,h)
end
end
assets.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(assets:GetDescendants()) do
check(v)
end
end
end
local roomconnect
roomconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,v in pairs(workspace.CurrentRooms:GetChildren()) do
setup(room)
end
repeat task.wait() until not flags.esprush
addconnect:Disconnect()
roomconnect:Disconnect()
for i,v in pairs(esptable.entity) do
v.delete()
end
end
end)
window_esp.toggle("locker esp",false,function(val)
flags.esplocker = val
if val then
local function check(v)
if v:IsA("Model") then
task.wait(0.1)
if v.Name == "Wardrobe" then
local h = esp(v.PrimaryPart,Color3.fromRGB(145,100,25),v.PrimaryPart,"Closet")
table.insert(esptable.lockers,h)
elseif (v.Name == "Rooms_Locker" or v.Name == "Rooms_Locker_Fridge") then
local h = esp(v.PrimaryPart,Color3.fromRGB(145,100,25),v.PrimaryPart,"Locker")
table.insert(esptable.lockers,h)
end
end
end
local function setup(room)
local assets = room:WaitForChild("Assets")
if assets then
local subaddcon
subaddcon = assets.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(assets:GetDescendants()) do
check(v)
end
task.spawn(function()
repeat task.wait() until not flags.esplocker
subaddcon:Disconnect()
end)
end
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,v in pairs(workspace.CurrentRooms:GetChildren()) do
setup(room)
end
repeat task.wait() until not flags.esplocker
addconnect:Disconnect()
for i,v in pairs(esptable.lockers) do
v.delete()
end
end
end)
window_esp.toggle("chest esp",false,function(val)
flags.espchest = val
if val then
local function check(v)
if v:IsA("Model") then
task.wait(0.1)
if v.Name == "ChestBox" then
warn(v.Name)
local h = esp(v,Color3.fromRGB(205,120,255),v.PrimaryPart,"Chest")
table.insert(esptable.chests,h)
elseif v.Name == "ChestBoxLocked" then
local h = esp(v,Color3.fromRGB(255,120,205),v.PrimaryPart,"Locked Chest")
table.insert(esptable.chests,h)
end
end
end
local function setup(room)
local subaddcon
subaddcon = room.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(room:GetDescendants()) do
check(v)
end
task.spawn(function()
repeat task.wait() until not flags.espchest
subaddcon:Disconnect()
end)
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
if room:FindFirstChild("Assets") then
setup(room)
end
end
repeat task.wait() until not flags.espchest
addconnect:Disconnect()
for i,v in pairs(esptable.chests) do
v.delete()
end
end
end)
window_esp.toggle("player esp",false,function(val)
flags.esphumans = val
if val then
local function personesp(v)
v.CharacterAdded:Connect(function(vc)
local vh = vc:WaitForChild("Humanoid")
local torso = vc:WaitForChild("UpperTorso")
task.wait(0.1)
local h = esp(vc,Color3.fromRGB(255,255,255),torso,v.DisplayName)
table.insert(esptable.people,h)
end)
if v.Character then
local vc = v.Character
local vh = vc:WaitForChild("Humanoid")
local torso = vc:WaitForChild("UpperTorso")
task.wait(0.1)
local h = esp(vc,Color3.fromRGB(255,255,255),torso,v.DisplayName)
table.insert(esptable.people,h)
end
end
local addconnect
addconnect = game.Players.PlayerAdded:Connect(function(v)
if v ~= plr then
personesp(v)
end
end)
for i,v in pairs(game.Players:GetPlayers()) do
if v ~= plr then
personesp(v)
end
end
repeat task.wait() until not flags.esphumans
addconnect:Disconnect()
for i,v in pairs(esptable.people) do
v.delete()
end
end
end)
window_esp.toggle("goldpile esp",false,function(val)
flags.espgold = val
if val then
local function check(v)
if v:IsA("Model") then
task.wait(0.1)
local goldvalue = v:GetAttribute("GoldValue")
if goldvalue and goldvalue >= flags.goldespvalue then
local hitbox = v:WaitForChild("Hitbox")
local h = esp(hitbox:GetChildren(),Color3.fromRGB(255,255,0),hitbox,"GoldPile [".. tostring(goldvalue).."]")
table.insert(esptable.gold,h)
end
end
end
local function setup(room)
local assets = room:WaitForChild("Assets")
local subaddcon
subaddcon = assets.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(assets:GetDescendants()) do
check(v)
end
task.spawn(function()
repeat task.wait() until not flags.espchest
subaddcon:Disconnect()
end)
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
if room:FindFirstChild("Assets") then
setup(room)
end
end
repeat task.wait() until not flags.espgold
addconnect:Disconnect()
for i,v in pairs(esptable.gold) do
v.delete()
end
end
end)
window_esp.slider("minimum gold value",5,150,5,25,function(val)
flags.goldespvalue = val
end)
window_misc.toggle("notify entities",false,function(val)
flags.hintrush = val
if val then
local addconnect
addconnect = workspace.ChildAdded:Connect(function(v)
if table.find(entitynames,v.Name) then
repeat task.wait() until plr:DistanceFromCharacter(v:GetPivot().Position) < 1000 or not v:IsDescendantOf(workspace)
if v:IsDescendantOf(workspace) then
message(v.Name:gsub("Moving",""):lower().." is coming go hide")
end
end
end)
repeat task.wait() until not flags.hintrush
addconnect:Disconnect()
end
end)
window_misc.toggle("disable seek chase",false,function(val)
flags.noseek = val
if val then
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
local trigger = room:WaitForChild("TriggerEventCollision",2)
if trigger then
trigger:Destroy()
end
end)
repeat task.wait() until not flags.noseek
addconnect:Disconnect()
end
end)
window_misc.toggle("delete gates",false,function(val)
flags.nogates = val
if val then
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
local gate = room:WaitForChild("Gate",2)
if gate then
local door = gate:WaitForChild("ThingToOpen",2)
if door then
door:Destroy()
end
end
end)
repeat task.wait() until not flags.nogates
addconnect:Disconnect()
end
end)
window_misc.toggle("delete puzzle door",false,function(val)
flags.nopuzzle = val
if val then
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
local assets = room:WaitForChild("Assets")
local paintings = assets:WaitForChild("Paintings",2)
if paintings then
local door = paintings:WaitForChild("MovingDoor",2)
if door then
door:Destroy()
end
end
end)
repeat task.wait() until not flags.nopuzzle
addconnect:Disconnect()
end
end)
local screechremote = entityinfo:FindFirstChild("Screech")
if screechremote then
window_misc.toggle("harmless screech",false,function(val)
flags.noscreech = val
if val then
screechremote.Parent = nil
repeat task.wait() until not flags.noscreech
screechremote.Parent = entityinfo
end
end)
end
window_misc.toggle("no skeleton doors",false,function(val)
flags.noskeledoors = val
if val then
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
local door = room:WaitForChild("Wax_Door",2)
if door then
door:Destroy()
end
end)
repeat task.wait() until not flags.noskeledoors
addconnect:Disconnect()
end
end)
window_misc.toggle("auto library code",false,function(val)
flags.getcode = val
if val then
local function deciphercode()
local paper = char:FindFirstChild("LibraryHintPaper")
local hints = plr.PlayerGui:WaitForChild("PermUI"):WaitForChild("Hints")
local code = {[1]="_",[2]="_",[3]="_",[4]="_",[5]="_"}
if paper then
for i,v in pairs(paper:WaitForChild("UI"):GetChildren()) do
if v:IsA("ImageLabel") and v.Name ~= "Image" then
for i,img in pairs(hints:GetChildren()) do
if img:IsA("ImageLabel") and img.Visible and v.ImageRectOffset == img.ImageRectOffset then
local num = img:FindFirstChild("TextLabel").Text
code[tonumber(v.Name)] = num
end
end
end
end
end
return code
end
local addconnect
addconnect = char.ChildAdded:Connect(function(v)
if v:IsA("Tool") and v.Name == "LibraryHintPaper" then
task.wait()
local code = table.concat(deciphercode())
if code:find("_") then
message("get all hints first")
else
message("the code is ".. code)
end
end
end)
repeat task.wait() until not flags.getcode
addconnect:Disconnect()
end
end)
window_misc.toggle("A-000 door no locks",false,function(val)
flags.roomsnolock = val
if val then
local function check(room)
local door = room:WaitForChild("RoomsDoor_Entrance",2)
if door then
local prompt = door:WaitForChild("Door"):WaitForChild("EnterPrompt")
prompt.Enabled = true
end
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
check(room)
end)
for i,v in pairs(workspace.CurrentRooms:GetChildren()) do
check(room)
end
repeat task.wait() until not flags.roomsnolock
addconnect:Disconnect()
end
end)
window_misc.toggle("loot aura",false,function(val)
flags.draweraura = val
if val then
local function setup(room)
local function check(v)
if v:IsA("Model") then
if v.Name == "DrawerContainer" then
local knob = v:WaitForChild("Knobs")
if knob then
local prompt = knob:WaitForChild("ActivateEventPrompt")
local interactions = prompt:GetAttribute("Interactions")
if not interactions then
task.spawn(function()
repeat task.wait(0.1)
if plr:DistanceFromCharacter(knob.Position) <= 12 then
fireproximityprompt(prompt)
end
until prompt:GetAttribute("Interactions") or not flags.draweraura
end)
end
end
elseif v.Name == "GoldPile" then
local prompt = v:WaitForChild("LootPrompt")
local interactions = prompt:GetAttribute("Interactions")
if not interactions then
task.spawn(function()
repeat task.wait(0.1)
if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
fireproximityprompt(prompt)
end
until prompt:GetAttribute("Interactions") or not flags.draweraura
end)
end
elseif v.Name:sub(1,8) == "ChestBox" then
local prompt = v:WaitForChild("ActivateEventPrompt")
local interactions = prompt:GetAttribute("Interactions")
if not interactions then
task.spawn(function()
repeat task.wait(0.1)
if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
fireproximityprompt(prompt)
end
until prompt:GetAttribute("Interactions") or not flags.draweraura
end)
end
elseif v.Name == "RolltopContainer" then
local prompt = v:WaitForChild("ActivateEventPrompt")
local interactions = prompt:GetAttribute("Interactions")
if not interactions then
task.spawn(function()
repeat task.wait(0.1)
if plr:DistanceFromCharacter(v.PrimaryPart.Position) <= 12 then
fireproximityprompt(prompt)
end
until prompt:GetAttribute("Interactions") or not flags.draweraura
end)
end
end
end
end
local subaddcon
subaddcon = room.DescendantAdded:Connect(function(v)
check(v)
end)
for i,v in pairs(room:GetDescendants()) do
check(v)
end
task.spawn(function()
repeat task.wait() until not flags.draweraura
subaddcon:Disconnect()
end)
end
local addconnect
addconnect = workspace.CurrentRooms.ChildAdded:Connect(function(room)
setup(room)
end)
for i,room in pairs(workspace.CurrentRooms:GetChildren()) do
if room:FindFirstChild("Assets") then
setup(room)
end
end
repeat task.wait() until not flags.draweraura
addconnect:Disconnect()
end
end)
window_misc.label("bypass anticheat makes it so you CANT pick up ANYTHING so only do this in multiplayer or in the rooms area",32)
window_misc.button("bypass anticheat",function()
local newhum = hum:Clone()
newhum.Name = "humlol"
newhum.Parent = char
task.wait()
hum.Parent = nil
hum = newhum
walkspeedslider.setmax(100)
end)
if game.ReplicatedStorage:WaitForChild("GameData"):WaitForChild("Floor").Value == "Rooms" then
local window_rooms = library.window("the rooms")
local a90remote = game.ReplicatedStorage:WaitForChild("EntityInfo"):WaitForChild("A90")
window_rooms.toggle("harmless A90",false,function(val)
flags.noa90 = val
if val then
local jumpscare = plr.PlayerGui:WaitForChild("MainUI"):WaitForChild("Jumpscare"):FindFirstChild("Jumpscare_A90")
if jumpscare then
jumpscare.Parent = nil
a90remote.Parent = nil
repeat task.wait()
game.SoundService.Main.Volume = 1
until not flags.noa90