Repository navigation
Expand file tree
/
Copy pathslcnoscripterfixedMYPC.lua
More file actions
3001 lines (2908 loc) · 151 KB
/
Copy pathslcnoscripterfixedMYPC.lua
File metadata and controls
3001 lines (2908 loc) · 151 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")
Model1 = Instance.new("Model")
Part2 = Instance.new("Part")
Motor6D3 = Instance.new("Motor6D")
Part4 = Instance.new("Part")
Motor6D5 = Instance.new("Motor6D")
Motor6D6 = Instance.new("Motor6D")
Motor6D7 = Instance.new("Motor6D")
Motor6D8 = Instance.new("Motor6D")
Motor6D9 = Instance.new("Motor6D")
Part10 = Instance.new("Part")
Part11 = Instance.new("Part")
Part12 = Instance.new("Part")
Part13 = Instance.new("Part")
Humanoid14 = Instance.new("Humanoid")
Folder15 = Instance.new("Folder")
Pants16 = Instance.new("Pants")
Shirt17 = Instance.new("Shirt")
Part18 = Instance.new("Part")
Part19 = Instance.new("Part")
SpecialMesh20 = Instance.new("SpecialMesh")
Weld21 = Instance.new("Weld")
Part22 = Instance.new("Part")
SpecialMesh23 = Instance.new("SpecialMesh")
Weld24 = Instance.new("Weld")
ForceField25 = Instance.new("ForceField")
Folder26 = Instance.new("Folder")
Part27 = Instance.new("Part")
Weld28 = Instance.new("Weld")
Part29 = Instance.new("Part")
Weld30 = Instance.new("Weld")
Part31 = Instance.new("Part")
Weld32 = Instance.new("Weld")
Part33 = Instance.new("Part")
SpecialMesh34 = Instance.new("SpecialMesh")
Weld35 = Instance.new("Weld")
Part36 = Instance.new("Part")
SpecialMesh37 = Instance.new("SpecialMesh")
Weld38 = Instance.new("Weld")
Part39 = Instance.new("Part")
SpecialMesh40 = Instance.new("SpecialMesh")
Weld41 = Instance.new("Weld")
Part42 = Instance.new("Part")
SpecialMesh43 = Instance.new("SpecialMesh")
Weld44 = Instance.new("Weld")
Part45 = Instance.new("Part")
ParticleEmitter46 = Instance.new("ParticleEmitter")
Trail47 = Instance.new("Trail")
Folder0.Name = "SLC"
Folder0.Parent = mas
Model1.Name = "LightCharacter"
Model1.Parent = Folder0
Model1.PrimaryPart = Part2
Part2.Name = "HumanoidRootPart"
Part2.Parent = Model1
Part2.CFrame = CFrame.new(-88.9537201, 16.7373466, 64.4193802, -0.984808385, -0.173546225, -0.00584222563, -0.173546135, 0.982560933, 0.0667518601, -0.00584418979, 0.0667516887, -0.997752488)
Part2.Orientation = Vector3.new(-3.8269999027252197, -179.6649932861328, -10.017000198364258)
Part2.Position = Vector3.new(-88.95372009277344, 16.737346649169922, 64.41938018798828)
Part2.Rotation = Vector3.new(-176.1719970703125, -0.33500000834465027, 170.00599670410156)
Part2.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part2.Transparency = 1
Part2.Size = Vector3.new(2, 2, 1)
Part2.BottomSurface = Enum.SurfaceType.Smooth
Part2.CanCollide = false
Part2.CustomPhysicalProperties = PhysicalProperties.new(100, 0.300000012, 0.5, 1, 1)
Part2.Locked = true
Part2.TopSurface = Enum.SurfaceType.Smooth
Motor6D3.Name = "RootJoint"
Motor6D3.Parent = Part2
Motor6D3.MaxVelocity = 0.10000000149011612
Motor6D3.C0 = CFrame.new(0, 0.032165695, -1.40600709e-09, -1, 8.44439185e-08, -2.26266756e-08, 3.53712012e-16, 0.258818984, 0.965925872, 8.74227766e-08, 0.965925872, -0.258819014)
Motor6D3.C1 = CFrame.new(0, 0, 0, -1, 8.74227268e-08, 1.01246907e-21, 3.82136712e-15, 4.37113528e-08, 1, 8.74227268e-08, 1, -4.37113599e-08)
Motor6D3.Part0 = Part2
Motor6D3.Part1 = Part4
Motor6D3.part1 = Part4
Part4.Name = "Torso"
Part4.Parent = Model1
Part4.CFrame = CFrame.new(-88.9593048, 16.7689514, 64.421524, -0.984808385, -0.166120693, -0.0505602024, -0.173546121, 0.931804359, 0.318782747, -0.00584418559, 0.322714448, -0.946478367)
Part4.Orientation = Vector3.new(-18.589000701904297, -176.94200134277344, -10.550000190734863)
Part4.Position = Vector3.new(-88.95930480957031, 16.768951416015625, 64.42152404785156)
Part4.Rotation = Vector3.new(-161.38600158691406, -2.8980000019073486, 170.4250030517578)
Part4.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part4.Size = Vector3.new(2, 2, 1)
Part4.BottomSurface = Enum.SurfaceType.Smooth
Part4.CustomPhysicalProperties = PhysicalProperties.new(100, 0.300000012, 0.5, 1, 1)
Part4.Locked = true
Part4.Material = Enum.Material.SmoothPlastic
Part4.TopSurface = Enum.SurfaceType.Smooth
Motor6D5.Name = "Left Hip"
Motor6D5.Parent = Part4
Motor6D5.MaxVelocity = 0.10000000149011612
Motor6D5.C0 = CFrame.new(-1, -1.13216567, 0, 0.342020154, 0.0818995982, -0.936116815, -0.163175911, 0.986236572, 0.0266664606, 0.925416589, 0.14363125, 0.350676835)
Motor6D5.C1 = CFrame.new(-0.5, 1, 0, -4.37113918e-08, -0, -1, 0, 1, -0, 1, 0, -4.37113918e-08)
Motor6D5.Part0 = Part4
Motor6D5.Part1 = Part10
Motor6D5.part1 = Part10
Motor6D6.Name = "Left Shoulder"
Motor6D6.Parent = Part4
Motor6D6.MaxVelocity = 0.10000000149011612
Motor6D6.C0 = CFrame.new(-1.00245762, 0.523578882, 0.0244561452, -0.0673661381, 0.0671040267, -0.995469153, -0.242154032, 0.966803789, 0.0815589428, 0.967896283, 0.246551186, -0.0488803275)
Motor6D6.C1 = CFrame.new(0.5, 0.499975681, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
Motor6D6.Part0 = Part4
Motor6D6.Part1 = Part12
Motor6D6.part1 = Part12
Motor6D7.Name = "Right Shoulder"
Motor6D7.Parent = Part4
Motor6D7.MaxVelocity = 0.10000000149011612
Motor6D7.C0 = CFrame.new(1.0019027, 0.537878335, 0.0346295051, 2.47025964e-05, -0.0871481597, 0.996195376, -0.794666886, 0.60473454, 0.0529224835, -0.607045829, -0.791644692, -0.0692388117)
Motor6D7.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
Motor6D7.Part0 = Part4
Motor6D7.Part1 = Part13
Motor6D7.part1 = Part13
Motor6D8.Name = "Neck"
Motor6D8.Parent = Part4
Motor6D8.MaxVelocity = 0.10000000149011612
Motor6D8.C0 = CFrame.new(0, 1, 0, -0.996194601, -1.92179914e-06, -0.0871578082, -0.083380565, -0.291180104, 0.953027725, -0.0253804531, 0.956668317, 0.290071845)
Motor6D8.C1 = CFrame.new(0, -0.5, 0, -1, 8.74227268e-08, 1.01246907e-21, 3.82136712e-15, 4.37113528e-08, 1, 8.74227268e-08, 1, -4.37113599e-08)
Motor6D8.Part0 = Part4
Motor6D8.Part1 = Part18
Motor6D8.part1 = Part18
Motor6D9.Name = "Right Hip"
Motor6D9.Parent = Part4
Motor6D9.MaxVelocity = 0.10000000149011612
Motor6D9.C0 = CFrame.new(1, -1.13216567, 0, 0.173648208, -0.0686967075, 0.982408822, 0.254886985, 0.966708004, 0.022545591, -0.951251268, 0.246488214, 0.185377002)
Motor6D9.C1 = CFrame.new(0.5, 1, 0, -4.37113918e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113918e-08)
Motor6D9.Part0 = Part4
Motor6D9.Part1 = Part11
Motor6D9.part1 = Part11
Part10.Name = "Left Leg"
Part10.Parent = Model1
Part10.CFrame = CFrame.new(-87.9845352, 14.7874384, 64.0390701, -0.89973551, -0.251751751, -0.356506735, -0.299097091, 0.950553298, 0.0836025476, 0.317831576, 0.181850299, -0.930544853)
Part10.Orientation = Vector3.new(-4.796000003814697, -159.03700256347656, -17.465999603271484)
Part10.Position = Vector3.new(-87.98453521728516, 14.78743839263916, 64.03907012939453)
Part10.Rotation = Vector3.new(-174.86599731445312, -20.88599967956543, 164.3679962158203)
Part10.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part10.Size = Vector3.new(1, 2, 1)
Part10.BottomSurface = Enum.SurfaceType.Smooth
Part10.CanCollide = false
Part10.CustomPhysicalProperties = PhysicalProperties.new(100, 0.300000012, 0.5, 1, 1)
Part10.Locked = true
Part10.Material = Enum.Material.SmoothPlastic
Part10.TopSurface = Enum.SurfaceType.Smooth
Part11.Name = "Right Leg"
Part11.Parent = Model1
Part11.CFrame = CFrame.new(-89.1603394, 14.5943623, 64.058197, -0.980602443, -0.105399601, 0.165256798, -0.0903901681, 0.991280973, 0.0958736688, -0.173920959, 0.0790763497, -0.981579661)
Part11.Orientation = Vector3.new(-5.501999855041504, 170.4429931640625, -5.210000038146973)
Part11.Position = Vector3.new(-89.16033935546875, 14.594362258911133, 64.05819702148438)
Part11.Rotation = Vector3.new(-174.42100524902344, 9.51200008392334, 173.86500549316406)
Part11.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part11.Size = Vector3.new(1, 2, 1)
Part11.BottomSurface = Enum.SurfaceType.Smooth
Part11.CanCollide = false
Part11.CustomPhysicalProperties = PhysicalProperties.new(100, 0.300000012, 0.5, 1, 1)
Part11.Locked = true
Part11.Material = Enum.Material.SmoothPlastic
Part11.TopSurface = Enum.SurfaceType.Smooth
Part12.Name = "Left Arm"
Part12.Parent = Model1
Part12.CFrame = CFrame.new(-87.4560852, 17.0712929, 64.5732803, -0.969269156, -0.239156395, 0.0576325022, -0.233174592, 0.967822671, 0.0945995897, -0.0784021318, 0.0782540292, -0.993845761)
Part12.Orientation = Vector3.new(-5.427999973297119, 176.68099975585938, -13.545999526977539)
Part12.Position = Vector3.new(-87.45608520507812, 17.071292877197266, 64.57328033447266)
Part12.Rotation = Vector3.new(-174.56300354003906, 3.303999900817871, 166.13999938964844)
Part12.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part12.Size = Vector3.new(1, 2, 1)
Part12.BottomSurface = Enum.SurfaceType.Smooth
Part12.CanCollide = false
Part12.CustomPhysicalProperties = PhysicalProperties.new(100, 0.300000012, 0.5, 1, 1)
Part12.Locked = true
Part12.Material = Enum.Material.SmoothPlastic
Part12.TopSurface = Enum.SurfaceType.Smooth
Part13.Name = "Right Arm"
Part13.Parent = Model1
Part13.CFrame = CFrame.new(-90.5429611, 16.8713608, 64.1223984, -0.986352384, 0.0253910311, -0.162678629, -0.14564459, 0.326255798, 0.933994055, 0.0767899305, 0.944940448, -0.318105131)
Part13.Orientation = Vector3.new(-69.06600189208984, -152.9149932861328, -24.05699920654297)
Part13.Position = Vector3.new(-90.54296112060547, 16.871360778808594, 64.12239837646484)
Part13.Rotation = Vector3.new(-108.80799865722656, -9.362000465393066, -178.52499389648438)
Part13.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part13.Size = Vector3.new(1, 2, 1)
Part13.BottomSurface = Enum.SurfaceType.Smooth
Part13.CanCollide = false
Part13.CustomPhysicalProperties = PhysicalProperties.new(100, 0.300000012, 0.5, 1, 1)
Part13.Locked = true
Part13.Material = Enum.Material.SmoothPlastic
Part13.TopSurface = Enum.SurfaceType.Smooth
Humanoid14.Parent = Model1
Humanoid14.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
Humanoid14.Health = 1
Humanoid14.LeftLeg = Part10
Humanoid14.MaxHealth = 999
Humanoid14.MaxSlopeAngle = 89.9000015258789
Humanoid14.RightLeg = Part11
Humanoid14.Torso = Part2
Humanoid14.WalkSpeed = 50
Humanoid14.maxHealth = 999
Folder15.Name = "Effects"
Folder15.Parent = Model1
Pants16.Name = "SuitPants"
Pants16.Parent = Model1
Pants16.PantsTemplate = "http://www.roblox.com/asset/?id=424584709"
Shirt17.Name = "SuitShirt"
Shirt17.Parent = Model1
Shirt17.ShirtTemplate = "http://www.roblox.com/asset/?id=424584670"
Part18.Name = "Head"
Part18.Parent = Model1
Part18.CFrame = CFrame.new(-89.1689987, 18.1985722, 64.760994, -0.996195257, -0.0871499777, 3.67686152e-06, -0.0871004686, 0.995631218, 0.0336467922, -0.00293596834, 0.0335184336, -0.999433875)
Part18.Orientation = Vector3.new(-1.9279999732971191, 180, -5)
Part18.Position = Vector3.new(-89.16899871826172, 18.198572158813477, 64.76099395751953)
Part18.Rotation = Vector3.new(-178.07200622558594, 0, 175)
Part18.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part18.Transparency = 1
Part18.Size = Vector3.new(2, 1, 1)
Part18.BottomSurface = Enum.SurfaceType.Smooth
Part18.CanCollide = false
Part18.CustomPhysicalProperties = PhysicalProperties.new(100, 0.300000012, 0.5, 1, 1)
Part18.Locked = true
Part18.Material = Enum.Material.Neon
Part18.TopSurface = Enum.SurfaceType.Smooth
Part19.Name = "NeonParts"
Part19.Parent = Part18
Part19.CFrame = CFrame.new(-89.1689987, 18.1985722, 64.760994, -0.996195257, -0.0871499777, 3.67686152e-06, -0.0871004686, 0.995631218, 0.0336467922, -0.00293596834, 0.0335184336, -0.999433875)
Part19.Orientation = Vector3.new(-1.9279999732971191, 180, -5)
Part19.Position = Vector3.new(-89.16899871826172, 18.198572158813477, 64.76099395751953)
Part19.Rotation = Vector3.new(-178.07200622558594, 0, 175)
Part19.Color = Color3.new(0.972549, 0.972549, 0.972549)
Part19.Size = Vector3.new(1.1700010299682617, 1.1700010299682617, 1.16998291015625)
Part19.CanCollide = false
Part19.Locked = true
Part19.Material = Enum.Material.Neon
SpecialMesh20.Parent = Part19
SpecialMesh20.MeshId = "rbxassetid://18679047918"
SpecialMesh20.MeshType = Enum.MeshType.FileMesh
Weld21.Parent = Part19
Weld21.C1 = CFrame.new(0, 0, 0, 1, 4.44082434e-16, 0, -4.44082434e-16, 1, 0, 0, 0, 1)
Weld21.Part0 = Part18
Weld21.Part1 = Part19
Weld21.part1 = Part19
Part22.Name = "Outer"
Part22.Parent = Part18
Part22.CFrame = CFrame.new(-89.1671982, 18.1984062, 64.7705917, -3.63461504e-06, -0.0871499777, -0.996195257, -0.0336467735, 0.995631218, -0.0871004686, 0.999433875, 0.0335184187, -0.00293592457)
Part22.Orientation = Vector3.new(4.997000217437744, -90.16899871826172, -1.9359999895095825)
Part22.Position = Vector3.new(-89.16719818115234, 18.198406219482422, 64.77059173583984)
Part22.Rotation = Vector3.new(91.93099975585938, -85, 90.00199890136719)
Part22.Color = Color3.new(0.498039, 0.498039, 0.498039)
Part22.Size = Vector3.new(1.19998300075531, 1.1999729871749878, 1.1999889612197876)
Part22.CanCollide = false
Part22.Locked = true
Part22.Material = Enum.Material.SmoothPlastic
SpecialMesh23.Parent = Part22
SpecialMesh23.MeshId = "rbxassetid://18679062079"
SpecialMesh23.MeshType = Enum.MeshType.FileMesh
Weld24.Parent = Part22
Weld24.C0 = CFrame.new(0, 0, 0, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
Weld24.C1 = CFrame.new(-0.00959974155, 0, 0.0018081665, -4.37124825e-08, 1.48886556e-08, 1, 1.01462689e-15, 1, -1.48886556e-08, -1, 3.63806818e-16, -4.37124825e-08)
Weld24.Part0 = Part18
Weld24.Part1 = Part22
Weld24.part1 = Part22
ForceField25.Parent = Model1
ForceField25.Visible = false
Folder26.Name = "MegaGunnModel"
Folder26.Parent = Model1
Part27.Name = "Joint"
Part27.Parent = Folder26
Part27.CFrame = CFrame.new(-90.5932693, 16.3977242, 63.2290115, -0.986352384, 0.148211762, 0.0717083439, -0.14564459, -0.988530755, 0.0398306251, 0.0767899305, 0.0288431346, 0.996625781)
Part27.Orientation = Vector3.new(-2.2829999923706055, 4.114999771118164, -171.61900329589844)
Part27.Position = Vector3.new(-90.59326934814453, 16.397724151611328, 63.22901153564453)
Part27.Rotation = Vector3.new(-2.2890000343322754, 4.111999988555908, -171.4550018310547)
Part27.Transparency = 1
Part27.Size = Vector3.new(1.0039602518081665, 1.0039602518081665, 1.0039602518081665)
Part27.BottomSurface = Enum.SurfaceType.Smooth
Part27.CanCollide = false
Part27.CustomPhysicalProperties = PhysicalProperties.new(9.99999975e-05, 0.300000012, 0.5, 1, 1)
Part27.Locked = true
Part27.TopSurface = Enum.SurfaceType.Smooth
Weld28.Parent = Part27
Weld28.C0 = CFrame.new(0.049999997, -1, -0.150000006, 1, -0, 0, 0, -0.291495591, 0.956567764, -0, -0.956567764, -0.291495591)
Weld28.Part0 = Part13
Weld28.Part1 = Part27
Weld28.part1 = Part27
Part29.Name = "Hole"
Part29.Parent = Folder26
Part29.CFrame = CFrame.new(-90.6038666, 14.7442589, 59.9423981, 0.0717083886, 0.148211762, 0.986352384, 0.0398306325, -0.988530755, 0.14564459, 0.996625781, 0.0288431346, -0.0767899752)
Part29.Orientation = Vector3.new(-8.375, 94.4520034790039, 177.6929931640625)
Part29.Position = Vector3.new(-90.60386657714844, 14.744258880615234, 59.94239807128906)
Part29.Rotation = Vector3.new(-117.80000305175781, 80.52300262451172, -64.18099975585938)
Part29.Transparency = 1
Part29.Size = Vector3.new(0.20079202950000763, 0.20079202950000763, 0.20079202950000763)
Part29.BottomSurface = Enum.SurfaceType.Smooth
Part29.CanCollide = false
Part29.CustomPhysicalProperties = PhysicalProperties.new(9.99999975e-05, 0.300000012, 0.5, 1, 1)
Part29.Locked = true
Part29.TopSurface = Enum.SurfaceType.Smooth
Weld30.Parent = Part29
Weld30.C1 = CFrame.new(3.34217167, -1.53814697, -0.00110816956, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
Weld30.Part0 = Part27
Weld30.Part1 = Part29
Weld30.part1 = Part29
Part31.Name = "Hole2"
Part31.Parent = Folder26
Part31.CFrame = CFrame.new(-91.0197754, 14.5132408, 54.1619492, 0.0717083886, 0.148211762, 0.986352384, 0.0398306325, -0.988530755, 0.14564459, 0.996625781, 0.0288431346, -0.0767899752)
Part31.Orientation = Vector3.new(-8.375, 94.4520034790039, 177.6929931640625)
Part31.Position = Vector3.new(-91.019775390625, 14.513240814208984, 54.161949157714844)
Part31.Rotation = Vector3.new(-117.80000305175781, 80.52300262451172, -64.18099975585938)
Part31.Transparency = 1
Part31.Size = Vector3.new(0.20079202950000763, 0.20079202950000763, 0.20079202950000763)
Part31.BottomSurface = Enum.SurfaceType.Smooth
Part31.CanCollide = false
Part31.CustomPhysicalProperties = PhysicalProperties.new(9.99999975e-05, 0.300000012, 0.5, 1, 1)
Part31.Locked = true
Part31.TopSurface = Enum.SurfaceType.Smooth
Weld32.Parent = Part31
Weld32.C1 = CFrame.new(9.14218998, -1.53814697, -0.00110816956, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
Weld32.Part0 = Part27
Weld32.Part1 = Part31
Weld32.part1 = Part31
Part33.Name = "Base"
Part33.Parent = Folder26
Part33.CFrame = CFrame.new(-90.5510101, 15.0235291, 61.1654205, -0.054096099, 0.155507088, 0.986352384, 0.727161348, -0.670832336, 0.14564465, 0.684325755, 0.725116074, -0.0767899752)
Part33.Orientation = Vector3.new(-8.375, 94.4520034790039, 132.6929931640625)
Part33.Position = Vector3.new(-90.55101013183594, 15.023529052734375, 61.16542053222656)
Part33.Rotation = Vector3.new(-117.80000305175781, 80.52300262451172, -109.18099975585938)
Part33.Color = Color3.new(1, 1, 1)
Part33.Size = Vector3.new(9.324540138244629, 8.58290958404541, 1.4686700105667114)
Part33.CanCollide = false
Part33.CustomPhysicalProperties = PhysicalProperties.new(9.99999975e-05, 0.400000006, 0.25, 1, 1)
Part33.Locked = true
Part33.Material = Enum.Material.Metal
SpecialMesh34.Parent = Part33
SpecialMesh34.MeshId = "rbxassetid://6080721391"
SpecialMesh34.Scale = Vector3.new(2.000000476837158, 2.0000007152557373, 2.0000009536743164)
SpecialMesh34.MeshType = Enum.MeshType.FileMesh
Weld35.Parent = Part33
Weld35.C1 = CFrame.new(2.41373444, 0.567920685, 0, 1.12379617e-08, -0.707106829, 0.707106829, -7.30561709e-08, 0.707106829, 0.707106829, -1, -5.96049574e-08, -4.3712074e-08)
Weld35.Part0 = Part27
Weld35.Part1 = Part33
Weld35.part1 = Part33
Part36.Name = "GunAdditions"
Part36.Parent = Folder26
Part36.CFrame = CFrame.new(-90.3701019, 15.3585196, 64.1426926, 0.092501007, 0.136207089, -0.986352384, -0.876008093, -0.459771007, -0.14564459, -0.473333985, 0.877524853, 0.0767898858)
Part36.Orientation = Vector3.new(8.375, -85.5479965209961, -117.69300079345703)
Part36.Position = Vector3.new(-90.37010192871094, 15.358519554138184, 64.14269256591797)
Part36.Rotation = Vector3.new(62.20000076293945, -80.52300262451172, -55.819000244140625)
Part36.Color = Color3.new(1, 1, 1)
Part36.Size = Vector3.new(4.125400066375732, 5.027339935302734, 1.2047390937805176)
Part36.CanCollide = false
Part36.CustomPhysicalProperties = PhysicalProperties.new(9.99999975e-05, 0.400000006, 0.25, 1, 1)
Part36.Locked = true
Part36.Material = Enum.Material.Metal
SpecialMesh37.Parent = Part36
SpecialMesh37.MeshId = "rbxassetid://18679068904"
SpecialMesh37.MeshType = Enum.MeshType.FileMesh
Weld38.Parent = Part36
Weld38.C0 = CFrame.new(0, 0.899999976, -0.5, -2.18556924e-08, 3.78551732e-08, 1, 0.866025448, 0.49999997, 0, -0.49999997, 0.866025448, -4.37113883e-08)
Weld38.C1 = CFrame.new(0.530899048, -1.29299164, -0.0013961792, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Weld38.Part0 = Part27
Weld38.Part1 = Part36
Weld38.part1 = Part36
Part39.Name = "NeonParts"
Part39.Parent = Folder26
Part39.CFrame = CFrame.new(-90.4544907, 15.0602684, 62.0278664, -0.678515911, -0.731077254, -0.0717081949, -0.730429411, 0.681819856, -0.0398306027, 0.0780118555, 0.0253524594, -0.996625781)
Part39.Orientation = Vector3.new(2.2829999923706055, -175.88499450683594, -46.97100067138672)
Part39.Position = Vector3.new(-90.4544906616211, 15.06026840209961, 62.02786636352539)
Part39.Rotation = Vector3.new(177.71099853515625, -4.111999988555908, 132.86500549316406)
Part39.Color = Color3.new(0.972549, 0.972549, 0.972549)
Part39.Size = Vector3.new(2.0008599758148193, 2.2143499851226807, 8.927220344543457)
Part39.CanCollide = false
Part39.CustomPhysicalProperties = PhysicalProperties.new(9.99999975e-05, 0.300000012, 0.200000003, 1, 1)
Part39.Locked = true
Part39.Material = Enum.Material.Neon
SpecialMesh40.Parent = Part39
SpecialMesh40.MeshId = "rbxassetid://18679108664"
SpecialMesh40.VertexColor = Vector3.new(111111, 11111, 1111)
SpecialMesh40.MeshType = Enum.MeshType.FileMesh
Weld41.Parent = Part39
Weld41.C0 = CFrame.new(1.29999995, 1, -2.5, -0.207911655, -0.978147626, -1.50995803e-07, -0.978147626, 0.207911655, 0, 3.13937889e-08, 1.47696184e-07, -1)
Weld41.C1 = CFrame.new(0.850805283, 1.07305908, 1.2595787, -0.772622705, -0.634865463, -1.78418952e-13, 0.634865463, -0.772622705, 1.46607159e-13, -2.30926389e-13, -1.37642127e-20, 1)
Weld41.Part0 = Part27
Weld41.Part1 = Part39
Weld41.part1 = Part39
Part42.Name = "Ultra-Fabulous Hair"
Part42.Parent = Model1
Part42.CFrame = CFrame.new(-89.35186, 18.6835499, 64.7772751, 0.996195257, -0.0871496722, -3.71111901e-06, 0.0871002078, 0.995631218, -0.0336470306, 0.00293602259, 0.0335186906, 0.999433875)
Part42.Orientation = Vector3.new(1.9279999732971191, 0, 5)
Part42.Position = Vector3.new(-89.35186004638672, 18.683549880981445, 64.77727508544922)
Part42.Rotation = Vector3.new(1.9279999732971191, 0, 5)
Part42.Color = Color3.new(1, 1, 1)
Part42.Size = Vector3.new(1.74399995803833, 1.5418449640274048, 1.4467949867248535)
Part42.CanCollide = false
Part42.Locked = true
Part42.Material = Enum.Material.SmoothPlastic
SpecialMesh43.Parent = Part42
SpecialMesh43.MeshId = "rbxassetid://5589314244"
SpecialMesh43.MeshType = Enum.MeshType.FileMesh
Weld44.Parent = Part42
Weld44.C1 = CFrame.new(0.139995575, -0.499999046, 3.81469727e-06, -1.00000012, -1.09503162e-08, -8.33533704e-08, 8.02538125e-09, 1.00000012, -2.23517418e-08, 9.1502443e-08, 2.23517418e-08, -1.00000012)
Weld44.Part0 = Part18
Weld44.Part1 = Part42
Part45.Name = "SomeEffectIDK"
Part45.Parent = Folder0
Part45.CFrame = CFrame.new(-89.0943451, 16.3655205, 70.0475769, 1, 0, 0, 0, 1, 0, 0, 0, 1)
Part45.Position = Vector3.new(-89.09434509277344, 16.365520477294922, 70.04757690429688)
Part45.Color = Color3.new(0, 0, 0)
Part45.Size = Vector3.new(1, 1, 1)
Part45.BottomSurface = Enum.SurfaceType.Smooth
Part45.Locked = true
Part45.TopSurface = Enum.SurfaceType.Smooth
Part45.Shape = Enum.PartType.Ball
ParticleEmitter46.Parent = mas
ParticleEmitter46.Speed = NumberRange.new(0.699999988079071, 0.699999988079071)
ParticleEmitter46.Rotation = NumberRange.new(180, 180)
ParticleEmitter46.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(1, 1, 1))
ParticleEmitter46.Texture = "rbxasset://textures/particles/smoke_main.dds"
ParticleEmitter46.Transparency = NumberSequence.new(0,1)
ParticleEmitter46.Size = NumberSequence.new(0.10178089141845703,0)
ParticleEmitter46.Acceleration = Vector3.new(0, -0.30000001192092896, 0)
ParticleEmitter46.Drag = 5
ParticleEmitter46.LockedToPart = true
ParticleEmitter46.Rate = 16
ParticleEmitter46.RotSpeed = NumberRange.new(360, 360)
ParticleEmitter46.SpreadAngle = Vector2.new(8, 6)
ParticleEmitter46.VelocityInheritance = 1
ParticleEmitter46.VelocitySpread = 8
Trail47.Parent = Part45
Trail47.Attachment0 = nil
Trail47.Attachment1 = nil
Trail47.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(1, 1, 1))
Trail47.FaceCamera = true
Trail47.Transparency = NumberSequence.new(0,0.09999996423721313,0.36250001192092896,0.668749988079071,1)
Trail47.MinLength = 0
Trail47.WidthScale = NumberSequence.new(1,0)
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()
warn([[
Oh my goodness! Lightning Cannon for Lua Sandbox?
My life is fulfilled!
- Created by typicaalusername. Keep Yourself Safe. Modified by IAmAVRManYay.
]])
local BaseConnections = {}
local TempConnections = {}
local function addCon(tba,lol)
table.insert(tba,lol)
end
local function disconnectTable(tab)
for i,v in tab do
pcall(function()
v:Disconnect()
end)
end
table.clear(tab)
end
script.Parent = game:GetService("MaterialService")
script.Name = "LightningCannon_typicaal"..owner.UserId --// Changing this will result in everything exploding.
local Assets = script
local folderofcrap = Instance.new("Folder")
for i, v in pairs(script:FindFirstChild("SLC"):GetChildren()) do
local lol = v:Clone()
lol.Parent = folderofcrap
end
folderofcrap["LightCharacter"].Name = "Character"
local function getLerp(lerp,delta)
local delta = delta*60
local cuh = 1-lerp
return 1-cuh ^ delta
end
for i,v in folderofcrap:GetChildren() do
v.Parent = script
end
local function ArtificialRemoteEvent()
local FakeEvent1 = Instance.new("BindableEvent")
return {
FireServer = function(self, ...) FakeEvent1:Fire("Player",...) end;
OnServerEvent = FakeEvent1.Event;
}
end
function swait(num)
if num == 0 or num == nil then
game:GetService("RunService").Heartbeat:Wait()
else
for i = 1,num do
game:GetService("RunService").Heartbeat:Wait()
end
end
end
Swait = swait
local stopeverything = false
game:GetService("RunService").PostSimulation:Wait()
local function randomstring()
local length = math.random(10,20)
local array = {}
for i = 1,length do
array[i] = string.char(math.random(32,126))
end
return table.concat(array)
end
local lplr = owner
local sine = 0
local USERNAME = owner.Name
local peoplez = {1191576743,1823895019,87867914,1308783007,112192467,732341111,115130006,1710676584,1442214824,1615916525,1442218084,1673231425,1310685079,1087181414,984151503,1442167487,1587587028,1441994738,1129585258,1129586211,275036820,1087264812,1087241085,1318469264,1622394251,663322373,1664828681,930999813,1442217078,1442208195,1340979865,1444403544,1664860157,1442285617,1442213697,1442218738,1442229346,1442213021,1124518548,1129587486,1186716325}
local owners = {0,1823895019,0,1308783007,0,0,0,1710676584,1442214824,1615916525,1442218084,1673231425,1310685079,1087181414,984151503,1442167487,1587587028,1441994738,1129585258,1129586211,275036820,1087264812,1087241085,1318469264,1622394251,663322373,1664828681,930999813,1442217078,1442208195,1340979865,1444403544,1664860157,1442285617,1442213697,1442218738,1442229346,1442213021,1124518548,1129587486,1186716325}
local isowner = false
local rickrolling = false
local USERID = owner.UserId
local Player = game:GetService("Players"):FindFirstChild(USERNAME)
local AnimSync = {Value = 0}
local SongSync = {Value = 0}
local taunt = {Value = "None"}
local songid = {Value = "rbxassetid://13734554970"}
local attack = false
local walkspeed = 50
local TauntRemote = ArtificialRemoteEvent()
local songvolume = {Value = 1}
local songpitch = {Value = 1}
local eeevol = songvolume.Value
local eeepitch = songpitch.Value
local ISFLYING = false
local antivoid = nil
local Character = script.Character:Clone()
Character.Name = owner.Name.."'s Lightning Cannon"
Character.Parent = workspace
local currentposition = owner.Character.HumanoidRootPart.CFrame
local ogCharacter = owner.Character
owner.Character = Character
local charpos = {Value = CFrame.new()}
local eeeblock = Instance.new("Part")
local Humanoid = Character.Humanoid
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
local LeftArm = Character["Left Arm"]
local RightArm = Character["Right Arm"]
local LeftLeg = Character["Left Leg"]
local RightLeg = Character["Right Leg"]
local Head = Character.Head
local Torso = Character.Torso
local RootPart = Character.HumanoidRootPart
RootPart.CFrame = currentposition
local RootJoint = RootPart.RootJoint
local Neck = Torso["Neck"]
local RightShoulder = Torso["Right Shoulder"]
local LeftShoulder = Torso["Left Shoulder"]
local RightHip = Torso["Right Hip"]
local LeftHip = Torso["Left Hip"]
local Effects = Character.Effects
local Eyes = Head.NeonParts
local GUN = Character.MegaGunnModel
local GunJoint = GUN.Joint.Weld
local Hole = GUN.Hole
local Holetwo = GUN.Hole2
local shade = Character["Ultra-Fabulous Hair"].Color
local alreadyfixing = false
local eeeblock = Instance.new("Part")
eeeblock.Name = randomstring()
eeeblock.CanCollide = false
eeeblock.Anchored = true
eeeblock.Transparency = 1
eeeblock.CFrame = Torso.CFrame
eeeblock.Parent = Effects
local eee = Instance.new("Sound",eeeblock)
eee.Volume = eeevol
eee.Pitch = eeepitch
eee.SoundId = songid.Value
eee:Play()
eee.Name = randomstring()
eee.Looped = true
eee.TimePosition = SongSync.Value
local funny__ = Instance.new("ObjectValue", Character)
funny__.Value = eee
funny__.Name = "eeesoundval"
local SoundFixCons = {}
addCon(SoundFixCons,eee.DescendantAdded:Connect(function(v)
if stopeverything then return end
if v:IsA("SoundEffect") then
v.Enabled = false
end
game:GetService("Debris"):AddItem(v,.01)
end))
addCon(BaseConnections,TauntRemote.OnServerEvent:Connect(function(plr,taunt2,tauntid)
local tauntval = taunt
local taunt = taunt2
tauntval.Value = taunt
if songid.Value ~= "rbxassetid://"..tostring(tauntid) then
songid.Value = "rbxassetid://"..tostring(tauntid)
eee.TimePosition = 0
end
songpitch.Value = 1
if tauntid == 15986402753 or tauntid == 15990251056 or tauntid == 15986456953 or tauntid == 14005021606 or tauntid == 13672418875 then
songvolume.Value = 3
songpitch.Value = 1
elseif tauntid == 15993696418 then
songvolume.Value = 5
songpitch.Value = .5
else
songvolume.Value = 1
songpitch.Value = 1
end
end))
function chatfunc(textt,glitchy)
local text = string.gsub(textt,"","")
if string.lower(text) == ".stop" then
stopeverything = true
Character:Destroy()
disconnectTable(BaseConnections)
disconnectTable(SoundFixCons)
disconnectTable(TempConnections)
return
end
local chat = coroutine.wrap(function()
local oldthing = eeeblock:FindFirstChild("TalkingBillBoard")
if oldthing then
oldthing:Destroy()
end
local sayingstuff = Instance.new("BillboardGui",eeeblock)
sayingstuff.Size = UDim2.new(0,9999,2,0)
sayingstuff.StudsOffset = Vector3.new(0,5,0)
sayingstuff.Adornee = eeeblock
sayingstuff.Name = "TalkingBillBoard"
local sayingstuff2 = Instance.new("TextLabel",sayingstuff)
sayingstuff2.BackgroundTransparency = 1
sayingstuff2.BorderSizePixel = 0
sayingstuff2.Text = ""
sayingstuff2.Font = "Code"
sayingstuff2.TextScaled = true
sayingstuff2.TextStrokeTransparency = 0
coroutine.resume(coroutine.create(function()
while not stopeverything and sayingstuff2:IsDescendantOf(game) do
local hBRUH,sBRUH,vBRUH = Color3.toHSV(GUN.NeonParts.Color)
sayingstuff2.TextColor3 = Color3.fromHSV(hBRUH,sBRUH,vBRUH/2)
swait()
end
end))
sayingstuff2.TextStrokeColor3 = shade
sayingstuff2.Size = UDim2.new(1,0,1,0)
local sayingstuff3 = Instance.new("TextLabel",sayingstuff)
sayingstuff3.BackgroundTransparency = 1
sayingstuff3.BorderSizePixel = 0
sayingstuff3.Text = ""
sayingstuff3.Font = "Code"
sayingstuff3.TextScaled = true
sayingstuff3.TextStrokeTransparency = 0
coroutine.resume(coroutine.create(function()
while not stopeverything and sayingstuff3:IsDescendantOf(game) do
sayingstuff3.TextColor3 = GUN.NeonParts.Color
swait()
end
end))
sayingstuff3.TextStrokeColor3 = shade
sayingstuff3.Size = UDim2.new(1,0,1,0)
coroutine.resume(coroutine.create(function()
while not stopeverything and sayingstuff ~= nil do
swait()
if glitchy then
local fonts = {"Antique","Arcade","Arial","ArialBold","Bodoni","Cartoon","Code","Fantasy","Garamond","Gotham","GothamBlack","GothamBold","GothamSemibold","Highway","SciFi","SourceSans","SourceSansBold","SourceSansItalic","SourceSansLight","SourceSansSemibold"}
local randomfont = fonts[math.random(1,#fonts)]
sayingstuff2.Font = randomfont
sayingstuff3.Font = randomfont
end
sayingstuff2.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
sayingstuff3.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
end
end))
for i = 1,string.len(text) do
swait(2)
sayingstuff2.Text = string.sub(text,1,i)
sayingstuff3.Text = string.sub(text,1,i)
end
swait(120)
for i = 1,50 do
swait()
sayingstuff2.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
sayingstuff3.Position = sayingstuff2.Position - UDim2.new(0,math.random(-3,3),0,math.random(-3,3))
sayingstuff2.Rotation = sayingstuff2.Rotation + math.random(-2,2)
sayingstuff3.Rotation = sayingstuff3.Rotation + math.random(-2,2)
sayingstuff2.TextStrokeTransparency = i/50
sayingstuff2.TextTransparency = sayingstuff2.TextStrokeTransparency
sayingstuff3.TextStrokeTransparency = sayingstuff2.TextStrokeTransparency
sayingstuff3.TextTransparency = sayingstuff2.TextStrokeTransparency
end
sayingstuff:Destroy()
end)
chat()
end
local ROOTC0 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180))
local NECKC0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180))
local RIGHTSHOULDERC0 = CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
local LEFTSHOULDERC0 = CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0))
local BG = nil
local BV = nil
local soundfixing = false
local function soundfixer()
soundfixing = true
pcall(function()
eeeblock:Destroy()
end)
pcall(function()
eee:Destroy()
end)
eeeblock = Instance.new("Part")
eeeblock.Name = randomstring()
eeeblock.CanCollide = false
eeeblock.Anchored = true
eeeblock.Transparency = 1
if not alreadyfixing then
eeeblock.CFrame = Torso.CFrame
end
eeeblock.Parent = Effects
eee = Instance.new("Sound",eeeblock)
eee.Volume = eeevol
eee.Pitch = eeepitch
eee.SoundId = songid.Value
eee:Play()
eee.Name = randomstring()
eee.Looped = true
eee.TimePosition = SongSync.Value
funny__.Value = eee
addCon(SoundFixCons,eee.DescendantAdded:Connect(function(v)
if stopeverything then return end
if v:IsA("SoundEffect") then
v.Enabled = false
end
game:GetService("Debris"):AddItem(v,.01)
end))
soundfixing = false
end
function roar()
coroutine.resume(coroutine.create(function()
attack = true
walkspeed = 0
local ree = CreateSound(435742675,Head,10,1,false)
ree.EmitterSize = 10000
coroutine.resume(coroutine.create(function()
swait(60)
mdmg(Head.Position,10000)
end))
repeat if stopeverything then return end
local offset = Vector3.new(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
workspace.CurrentCamera.Focus = workspace.CurrentCamera.Focus + offset
workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame + offset
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0,0,3 - .5 * math.sin(sine/50)) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),1)
Neck.C0 = Clerp(Neck.C0,NECKC0 * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-45+math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),1)
RightShoulder.C0 = Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)) * RIGHTSHOULDERC0,1)
LeftShoulder.C0 = Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)) * LEFTSHOULDERC0,1)
RightHip.C0 = Clerp(RightHip.C0,CFrame.new(1,-1,-0.01) * CFrame.Angles(math.rad(-45),math.rad(80),math.rad(0)),1)
LeftHip.C0 = Clerp(LeftHip.C0,CFrame.new(-1,-1,-0.01) * CFrame.Angles(math.rad(-35),math.rad(-80),math.rad(0)),1)
GunJoint.C0 = Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),1)
GUN.Base.Transparency = 1
GUN.GunAdditions.Transparency = 1
GUN.NeonParts.Transparency = 1
game:GetService("RunService").PostSimulation:Wait()
until ree.TimePosition >= 5 or not ree:IsDescendantOf(workspace)
if ree:IsDescendantOf(workspace) then
ree:Destroy()
GUN.Base.Transparency = 0
GUN.GunAdditions.Transparency = 0
GUN.NeonParts.Transparency = 0
walkspeed = 50
attack = false
end
end))
end
local MouseRemote = Instance.new("RemoteEvent",script)
MouseRemote.Name = "MouseRemote"
local function SetupClient()
return NLS([==[
script.Enabled = false
script:Remove()
local args = {...}
local uhhhhicanexplain = args[1]
owner.Character = workspace:WaitForChild(owner.Name.."'s Lightning Cannon")
local mouse = game.Players.LocalPlayer:GetMouse()
local remote1 = args[2]
local input = function(io,a)
if a then return end
local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
remote1:FireServer("i",io)
end
local fakecharthing = workspace:FindFirstChild(owner.Name.."'s Lightning Cannon")
local poop = os.clock()
game:GetService("RunService").RenderStepped:Connect(function()
fakecharthing = workspace:WaitForChild(owner.Name.."'s Lightning Cannon")
if os.clock() - poop >= 1/60 then
poop = os.clock()
remote1:FireServer("m",{Hit = mouse.Hit, Target = mouse.Target})
remote1:FireServer("c",{CFrame = workspace.CurrentCamera.CFrame})
remote1:FireServer("playback", {PlaybackLoudness = fakecharthing:WaitForChild("eeesoundval").Value.PlaybackLoudness})
end
end)
local curcam = workspace.CurrentCamera
game:GetService("RunService").RenderStepped:Connect(function()
curcam = workspace.CurrentCamera
if curcam and fakecharthing then
curcam.CameraSubject = fakecharthing:FindFirstChildOfClass("Humanoid")
end
end)
game:GetService("UserInputService").InputBegan:Connect(input)
game:GetService("UserInputService").InputEnded:Connect(input)
]==],owner:FindFirstChildOfClass("PlayerGui"),script,MouseRemote)
end
local function characterfixer()
alreadyfixing = true
RootJoint.C0 = Clerp(RootJoint.C0,CFrame.new(0,9e9,0),1)
Neck.C0 = Clerp(Neck.C0,CFrame.new(0,9e9,0),1)
RightShoulder.C0 = Clerp(RightShoulder.C0,CFrame.new(0,9e9,0),1)
LeftShoulder.C0 = Clerp(LeftShoulder.C0,CFrame.new(0,9e9,0),1)
RightHip.C0 = Clerp(RightHip.C0,CFrame.new(0,9e9,0),1)
LeftHip.C0 = Clerp(LeftHip.C0,CFrame.new(0,9e9,0),1)
GunJoint.C0 = Clerp(GunJoint.C0,CFrame.new(0,9e9,0),1)
local camerapos = workspace.CurrentCamera.CFrame
local oldcolor = GUN.NeonParts.Color
local headpos = charpos.Value.p
pcall(function()
Character:Destroy()
end)
for i = 1,50 do
local a = Instance.new("Part")
a.Name = randomstring()
a.Anchored = true
a.Position = headpos
a.Shape = "Ball"
a.Color = shade
a.Material = "Neon"
a.CastShadow = false
a.Size = Vector3.new(i*2,i*2,i*2)
a.CanCollide = false
if isowner then
a.Transparency = .99
else
a.Transparency = 1
end
a.Parent = workspace
game:GetService("Debris"):AddItem(a,5-i/50)
end
Character = script.Character:Clone()
Character.Name = owner.Name.."'s Lightning Cannon"
Character.Parent = workspace
Humanoid = Character.Humanoid
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
if lplr.Name == USERNAME and false then
workspace.CurrentCamera.CameraSubject = Humanoid
workspace.CurrentCamera.CameraType = "Scriptable"
workspace.CurrentCamera.CFrame = camerapos
coroutine.resume(coroutine.create(function()
swait(5)
workspace.CurrentCamera.CameraType = "Custom"
end))
end
LeftArm = Character["Left Arm"]
RightArm = Character["Right Arm"]
LeftLeg = Character["Left Leg"]
RightLeg = Character["Right Leg"]
Head = Character.Head
Torso = Character.Torso
RootPart = Character.HumanoidRootPart
RootPart.CFrame = charpos.Value
if lplr.Name == USERNAME then
Player.Character = Character
end
RootJoint = RootPart.RootJoint
Neck = Torso["Neck"]
RightShoulder = Torso["Right Shoulder"]
LeftShoulder = Torso["Left Shoulder"]
RightHip = Torso["Right Hip"]
LeftHip = Torso["Left Hip"]
Effects = Character.Effects
Eyes = Head.NeonParts
GUN = Character.MegaGunnModel
GUN.NeonParts.Color = oldcolor
Eyes.Color = GUN.NeonParts.Color
GunJoint = GUN.Joint.Weld
Hole = GUN.Hole
Holetwo = GUN.Hole2
funny__ = Instance.new("ObjectValue", Character)
funny__.Value = eee
funny__.Name = "eeesoundval"
pcall(function()
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CFrame.new(0 + .5 * math.cos(sine/50),0,3 - .5 * math.sin(sine/50)),1)
Neck.C0 = Clerp(Neck.C0,NECKC0 * CFrame.new(0,0 ,0 + ((1) - 1)) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),1)
RightShoulder.C0 = Clerp(RightShoulder.C0,CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(135 + 8.5 * math.cos(sine/50)),math.rad(0),math.rad(25)) * RIGHTSHOULDERC0,1)
LeftShoulder.C0 = Clerp(LeftShoulder.C0,CFrame.new(-1.5,0.5,0) * CFrame.Angles(math.rad(25 + 8.5 * math.cos(sine/50)),math.rad(0),math.rad(-25 - 5 * math.cos(sine/25))) * LEFTSHOULDERC0,1)
RightHip.C0 = Clerp(RightHip.C0,CFrame.new(1,-0.5,-0.5) * CFrame.Angles(math.rad(-15 + 9 * math.cos(sine/74)),math.rad(80),math.rad(0)) * CFrame.Angles(math.rad(0 + 5 * math.cos(sine/37)),math.rad(0),math.rad(0)),1)
LeftHip.C0 = Clerp(LeftHip.C0,CFrame.new(-1,-1,0) * CFrame.Angles(math.rad(-15 - 9 * math.cos(sine/54)),math.rad(-80),math.rad(0)) * CFrame.Angles(math.rad(0 - 5 * math.cos(sine/41)),math.rad(0),math.rad(0)),1)
GunJoint.C0 = Clerp(GunJoint.C0,CFrame.new(.05,-1,-.15) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),1)
end)
if ISFLYING and lplr.Name == USERNAME then
BG = Instance.new('BodyGyro',RootPart)
BV = Instance.new('BodyVelocity',RootPart)
BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
BG.P = 1e4
BG.CFrame = RootPart.CFrame
BV.Velocity = Vector3.new(0,0,0)
BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
end
for i,v in pairs(Character:GetChildren()) do
if v:IsA("BasePart") then
local shield = Instance.new("Model")
shield.Name = "Lightning Cannon... I'm such an idiot, I just tried to kill a GOD.."
shield.Archivable = false
local shieldpart = Instance.new("Part")
shieldpart.Name = "HumanoidRootPart"
shieldpart.Size = v.Size + Vector3.new(.4,.4,.4)
shieldpart.Transparency = 1
shieldpart.Color = v.Color
shieldpart.CanCollide = false
shieldpart.Massless = true
shieldpart.Parent = shield
local shieldweld = Instance.new("Weld")
shieldweld.Name = randomstring()
shieldweld.Part0 = v
shieldweld.Part1 = shieldpart
shieldweld.Parent = shield
shield.Parent = v
end
end
if isowner then
roar()
end
alreadyfixing = false
end
addCon(BaseConnections,workspace.DescendantRemoving:Connect(function(v)
if stopeverything then return end
if not alreadyfixing then
if v == Character or v:IsDescendantOf(Character) then
if not v:IsDescendantOf(Effects) and not v:IsA("Sound") and not v:IsA("BodyMover") and not v:isA("DataModelMesh") and not v:IsA("SoundEffect") and not v:IsA("ValueBase") and v.Parent.Name ~= "Lightning Cannon... I'm such an idiot, I just tried to kill a GOD.." then
if v:IsA("Model") and v.Name == "Lightning Cannon... I'm such an idiot, I just tried to kill a GOD.." and not v:FindFirstChild("DEBOUNCE BOIII") then
pcall(function()
Instance.new("StringValue",v).Name = "DEBOUNCE BOIII"
v:Destroy()
end)
local yeaboi = v.Parent
local shield = Instance.new("Model")
shield.Name = "Lightning Cannon... I'm such an idiot, I just tried to kill a GOD.."
local shieldpart = Instance.new("Part")
shieldpart.Name = "HumanoidRootPart"
shieldpart.Size = yeaboi.Size + Vector3.new(.4,.4,.4)
shieldpart.Transparency = 1
shieldpart.Color = yeaboi.Color