View difference between Paste ID: TjBqpP8p and VkjkFrAL
SHOW: | | - or go back to the newest paste.
1
p = game.Players.LocalPlayer
2
char = p.Character
3
pchar = p.Character
4
as=0.3
5
explode = true
6
tra = 0.1
7
blast = true
8
player = p
9
humanoid = char.Humanoid
10
torso = char.Torso
11
torsoj = char.HumanoidRootPart.RootJoint
12
original = torsoj.C0
13
laser = true
14
active= false
15
function hum()
16
humState = humanoid:GetState()
17
if humState == Enum.HumanoidStateType.Jumping then
18
19
local rng = Instance.new("Part", char)
20
21
        rng.Anchored = true
22
23
    rng.BrickColor = BrickColor.new("Really black")
24
25
     rng.CanCollide = false
26
27
    rng.FormFactor = 3
28
29
        rng.Name = "Ring"
30
31
     rng.Size = Vector3.new(1, 1, 1)
32
33
        rng.Transparency = 0
34
35
     rng.TopSurface = 0
36
37
     rng.BottomSurface = 0
38
39
  rng.Material = "Neon"
40
41
     rng.Position = torso.Position - Vector3.new(0,3,0)
42
43
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
44
45
        local rngm = Instance.new("SpecialMesh", rng)
46
47
 rngm.MeshId= "http://www.roblox.com/asset/?id=3270017"
48
49
        rngm.Scale = Vector3.new(1, 1.3, 2)
50
51
        
52
53
 
54
55
 
56
57
        
58
59
     
60
61
wait(0.1)
62
63
          
64
65
     coroutine.wrap(function()
66
67
        for i = 1, 5, 0.5 do
68
69
        rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
70
71
      rng.Transparency = i/4
72
73
       
74
75
          wait()
76
77
        
78
79
 
80
81
            end
82
83
           
84
85
              wait()
86
87
 
88
89
            rng:Destroy()
90
91
        
92
93
        
94
95
  
96
97
 
98
99
 
100
101
 wait()
102
103
end)()
104
105
 
106
107
 
108
109
 
110
111
 
112
113
end
114
115
116
117
118
119
120
121
122
123
124
end
125
126
Lightning = function(Start,End,Times,Offset,Color,Thickness)
127
128
129
130
131
    local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
132
133
134
135
136
    for i=1,Times do 
137
138
139
140
141
  local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true  
142
143
144
145
146
li.Material = "Neon"
147
148
149
150
151
152
153
154
155
156
157
158
159
160
li.Transparency = 0 li.BrickColor = Color
161
162
163
164
165
        li.formFactor = "Custom" li.CanCollide = false 
166
167
168
169
170
li.Size = Vector3.new(Thickness,Thickness,magz/Times) 
171
172
173
174
175
local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) 
176
177
178
179
180
  local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz 
181
182
183
184
185
        if Times == i then 
186
187
188
189
190
            local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
191
192
193
194
195
            li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
196
197
198
199
200
        else
201
202
203
204
205
            li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
206
207
208
209
210
        end
211
212
213
214
215
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p Spawn(function() for i=1,10 do wait() 
216
217
218
219
220
221
222
223
224
225
226
227
228
229
li.Transparency = li.Transparency+tra end li:Destroy() end)
230
231
232
233
234
    end
235
236
237
238
239
end
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
Lightning2 = function(Start,End,Times,Offset,Color,Thickness)
268
269
270
271
272
    local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
273
274
275
276
277
    for i=1,Times do 
278
279
280
281
282
  local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true  
283
284
285
286
287
li.Material = "Neon"
288
289
290
291
292
293
294
295
296
297
298
299
300
301
li.Transparency = 0 li.BrickColor = Color
302
303
304
305
306
        li.formFactor = "Custom" li.CanCollide = false 
307
308
309
310
311
li.Size = Vector3.new(Thickness,Thickness,magz/Times) 
312
313
314
315
316
local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) 
317
318
319
320
321
  local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz 
322
323
324
325
326
        if Times == i then 
327
328
329
330
331
            local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
332
333
334
335
336
            li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
337
338
339
340
341
        else
342
343
344
345
346
            li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
347
348
349
350
351
        end
352
353
354
355
356
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p Spawn(function() for i=1,10 do wait() 
357
358
359
360
361
362
363
364
365
366
367
368
369
370
li.Transparency = li.Transparency+.5 end li:Destroy() end)
371
372
373
374
375
    end
376
377
378
379
380
end
381
382
383
384
385
m = p:GetMouse()
386
387
388
389
390
391
392
393
394
395
396
397
398
399
RightShoulder = Instance.new("Weld",pchar.Torso)
400
401
402
403
404
RightShoulder.Part0 = pchar.Torso
405
406
407
408
409
RightShoulder.Part1 = pchar['Right Arm']
410
411
412
413
414
RightShoulder.C0 = CFrame.new(1,0.5,0)  
415
416
417
418
419
RightShoulder.C1 = CFrame.new(-0.5,0.5,0) 
420
421
422
423
424
425
426
427
428
429
430
431
432
433
Torso2 = pchar.HumanoidRootPart.RootJoint
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
LeftShoulder = Instance.new("Weld",pchar.Torso)
457
458
459
460
461
LeftShoulder.Part0 = pchar.Torso
462
463
464
465
466
LeftShoulder.Part1 = pchar['Left Arm']
467
468
469
470
471
LeftShoulder.C0 = CFrame.new(-1,0.5,0)  
472
473
474
475
476
LeftShoulder.C1 = CFrame.new(0.5,0.5,0) 
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
RightHip = Instance.new("Weld",pchar.Torso)
509
510
511
512
513
RightHip.Part0 = pchar.Torso
514
515
516
517
518
RightHip.Part1 = pchar['Right Leg']
519
520
521
522
523
RightHip.C0 = CFrame.new(0.5,-2,0)  
524
525
526
527
528
RightHip.C1 = CFrame.new(0,1.5,0) 
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
LeftHip = Instance.new("Weld",pchar.Torso)
570
571
572
573
574
LeftHip.Part0 = pchar.Torso
575
576
577
578
579
LeftHip.Part1 = pchar['Left Leg']
580
581
582
583
584
LeftHip.C0 = CFrame.new(-0.5,-2,0)  
585
586
587
588
589
LeftHip.C1 = CFrame.new(0,1.5,0) 
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
Neck = Instance.new("Weld",pchar.Torso)
622
623
624
625
626
Neck.Part0 = pchar.Torso
627
628
629
630
631
Neck.Part1 = pchar['Head']
632
633
634
635
636
Neck.C0 = CFrame.new(0,1.5,0)
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
-- From 0,0,0 to 10,22,3 with lerps
665
666
667
668
669
670
671
672
673
674
675
676
677
678
deg = math.deg
679
680
681
682
683
rad = math.rad
684
685
686
687
688
asin = math.asin
689
690
691
692
693
atan2 = math.atan2
694
695
696
697
698
cos = math.cos
699
700
701
702
703
sin = math.sin
704
705
706
707
708
rad = math.sin
709
710
711
712
713
function getAngles(cf) -- this is for later
714
715
716
717
718
    local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()
719
720
721
722
723
    return atan2(-m12,m22),asin(m02),atan2(-m01,m00)
724
725
726
727
728
end
729
730
731
732
733
Lerp = {
734
735
736
737
738
    Number = function(C1,C2,inc)
739
740
741
742
743
        return C1 + (C2 - C1) * inc
744
745
746
747
748
    end;
749
750
751
752
753
    CFrame = function(a,b,m)
754
755
756
757
758
                local c,d={a:components()},{b:components()}
759
760
761
762
763
                table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*m end)
764
765
766
767
768
                return CFrame.new(unpack(c))
769
770
771
772
773
        end;
774
775
776
777
778
}
779
780
781
782
783
local Jumping = false
784
785
786
787
788
humanoid.Jumping:connect(function()
789
790
791
792
793
if Jumping then return end
794
795
796
797
798
print'asd im jumping'
799
800
801
802
803
Jumping = true
804
805
806
807
808
repeat wait() until Vector3.new(0, torso.Velocity.y, 0).magnitude < 3
809
810
811
812
813
print'asd jump over'
814
815
816
817
818
Jumping = false
819
820
821
822
823
end)
824
825
826
827
828
local Falling= false
829
830
831
832
833
humanoid.FreeFalling:connect(function()
834
835
836
837
838
if Jumping then return end
839
840
841
842
843
print'asd im fallin'
844
845
846
847
848
Falling = true
849
850
851
852
853
854
855
856
857
858
859
860
861
862
repeat wait() until Vector3.new(0, torso.Velocity.y, 0).magnitude < 100
863
864
865
866
867
print'hit ground!'
868
869
870
871
872
Falling = false
873
874
875
876
877
end)
878
879
880
881
882
-----------
883
884
885
886
887
angle = 0
888
889
890
891
892
sin = math.sin
893
894
895
896
897
rad = math.rad
898
899
900
901
902
903
904
905
--------------------------------------------------BEAM START
906
907
908
909
910
mouse = p:GetMouse()
911
912
913
914
915
mouse.KeyDown:connect(function(k)
916
917
918
919
920
if k == "x" then
921
922
923
924
925
if laser == true then
926
927
928
929
930
laser = false
931
932
explode = false
933
934
active = true
935
936
humanoid.WalkSpeed = 0
937
938
humanoid.JumpPower = 0
939
940
ends = Instance.new("Part",char)
941
942
ends.Anchored = true
943
944
ends.Transparency = 1
945
946
ends:BreakJoints()
947
948
ends.CFrame = char.Torso.CFrame * CFrame.new(-20,-3,0)
949
950
951
952
953
tra = 1
954
955
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(0,math.rad(90),0)
956
957
LerpTo.Body = CFrame.new(0,0,0) * 
958
959
CFrame.Angles(math.rad(-90),0,math.rad(-280))
960
961
LerpTo.LeftArm = CFrame.new(-1.3,0.2,0) * CFrame.Angles(math.rad(00),0,math.rad(-80))
962
963
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,math.rad(40))
964
965
966
967
968
orb = Instance.new("Part",char)
969
970
971
972
973
s122 = Instance.new("Sound",orb)
974
975
        s122.SoundId = "rbxassetid://181004943"
976
977
        s122.Volume = .7
978
979
        s122.Pitch = .9
980
981
        s122:Play()
982
983
984
985
986
orb.Size = Vector3.new(1,1,1)
987
988
989
990
991
orb.Material = "Neon"
992
993
994
995
996
orb.BrickColor = BrickColor.new("Really black")
997
998
999
1000
1001
orbm = Instance.new("SpecialMesh",orb)
1002
1003
1004
1005
1006
orbm.MeshType = "Sphere"
1007
1008
1009
1010
1011
orb:BreakJoints()
1012
1013
1014
1015
1016
orbw = Instance.new("Weld",orb)
1017
1018
1019
1020
1021
orbw.Part0 = orb
1022
1023
1024
1025
1026
orbw.Part1 = char["Left Arm"]
1027
1028
1029
1030
1031
orbw.C0 = CFrame.new(0,2,0)
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
for i = 1,4,0.1 do wait()
1043
1044
1045
1046
1047
orbm.Scale = Vector3.new(i,i,i)
1048
1049
1050
1051
1052
end
1053
1054
s1222 = Instance.new("Sound",orb)
1055
1056
        s1222.SoundId = "rbxassetid://245029978"
1057
1058
        s1222.Volume = 1
1059
1060
        s1222.Pitch = 1
1061
1062
        s1222:Play()
1063
1064
        
1065
1066
1067
1068
1069
1070
1071
1072
        
1073
1074
s1222 = Instance.new("Sound",orb)
1075
1076
        s1222.SoundId = "rbxassetid://245029978"
1077
1078
        s1222.Volume = 1
1079
1080
        s1222.Pitch = 1
1081
1082
        s1222:Play()
1083
1084
        
1085
1086
s1222 = Instance.new("Sound",orb)
1087
1088
        s1222.SoundId = "rbxassetid://245029978"
1089
1090
        s1222.Volume = 1
1091
1092
        s1222.Pitch = 1
1093
1094
        s1222:Play()
1095
1096
        wait(0.2)
1097
1098
for i = 1,30 do wait()
1099
1100
1101
1102
1103
ends.CFrame = char.Torso.CFrame * CFrame.new(-20,-3,0)
1104
1105
Lightning(
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
orb.CFrame.p,ends.Position,math.random(5,10),math.random(0,0),BrickColor.new("Really black"),1
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
)
1134
1135
1136
1137
1138
Lightning2(
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
orb.CFrame.p,ends.Position,math.random(5,10),math.random(2,2),BrickColor.new("Really red"),0.2
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
)
1167
1168
1169
1170
1171
1172
1173
1174
end
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
for i = 3,0,-0.3 do wait()
1189
1190
1191
1192
1193
orbm.Scale = Vector3.new(i,i,i)
1194
1195
1196
1197
1198
end
1199
1200
1201
1202
1203
active = false
1204
1205
ends:Remove()
1206
1207
orb:Remove()
1208
1209
LerpTo.Body = original
1210
1211
wait(1)
1212
1213
1214
1215
1216
explode = true
1217
1218
1219
1220
1221
1222
1223
1224
laser = true
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
tra = 0.1
1239
1240
1241
1242
1243
humanoid.WalkSpeed = 16
1244
1245
humanoid.JumpPower = 50
1246
1247
1248
1249
1250
1251
1252
1253
end
1254
1255
1256
1257
1258
end
1259
1260
1261
1262
1263
end)
1264
1265
mouse.KeyDown:connect(function(k)
1266
1267
if k == "x" then
1268
1269
wait(2)
1270
1271
1272
1273
1274
for i = 1,5 do wait()
1275
1276
1277
1278
1279
for i,v in pairs(workspace:children()) do
1280
1281
1282
1283
1284
                    if v:IsA("Model") and v:findFirstChild("Humanoid") then
1285
1286
1287
1288
1289
                        if v:findFirstChild("Head") and v:findFirstChild("Torso") then
1290
1291
1292
1293
1294
                            if (v:findFirstChild("Torso").Position - ends.Position).magnitude < 10 then
1295
1296
1297
1298
1299
if v.Name ~= p.Name then 
1300
1301
1302
1303
1304
                                v.Humanoid:TakeDamage(20)
1305
1306
1307
1308
1309
v.Humanoid.PlatformStand = true
1310
1311
1312
1313
1314
wait(0.1)
1315
1316
1317
1318
1319
v.Humanoid.PlatformStand = false
1320
1321
1322
1323
1324
                            end
1325
1326
1327
1328
1329
                        end
1330
1331
1332
1333
1334
               end
1335
1336
1337
1338
1339
                end
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
end
1390
1391
1392
1393
1394
end
1395
1396
1397
1398
1399
end
1400
1401
end)
1402
1403
1404
1405
1406
mouse.KeyDown:connect(function(k)
1407
1408
1409
1410
1411
if k == "x" then
1412
1413
1414
1415
1416
if laser == true then
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
wait(1.3)
1431
1432
1433
1434
1435
for i = 1,30 do wait()
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
local rng = Instance.new("Part", char)
1459
1460
1461
1462
1463
--[[sound = Instance.new("Sound",rng)
1464
1465
1466
1467
1468
 
1469
1470
1471
1472
1473
sound.SoundId="http://www.roblox.com/asset/?id= 165970126"
1474
1475
1476
1477
1478
wait()
1479
1480
1481
1482
1483
sound:Play()]]--
1484
1485
1486
1487
1488
        rng.Anchored = true
1489
1490
1491
1492
1493
    rng.BrickColor = BrickColor.new("Really black")
1494
1495
1496
1497
1498
     rng.CanCollide = false
1499
1500
1501
1502
1503
    rng.FormFactor = 3
1504
1505
1506
1507
1508
    rng:BreakJoints()
1509
1510
1511
1512
1513
        rng.Name = "Ring"
1514
1515
1516
1517
1518
     rng.Size = Vector3.new(1, 1, 1)
1519
1520
1521
1522
1523
        rng.Transparency = 0
1524
1525
1526
1527
1528
     rng.TopSurface = 0
1529
1530
1531
1532
1533
     rng.BottomSurface = 0
1534
1535
1536
1537
1538
  rng.Material = "Neon"
1539
1540
1541
1542
1543
     rng.Position = torso.Position - Vector3.new(0,2,0)
1544
1545
1546
1547
1548
        rng.CFrame = ends.CFrame*
1549
1550
1551
1552
1553
        CFrame.Angles(math.random(),math.random(),math.random())
1554
1555
1556
1557
1558
        local rngm = Instance.new("BlockMesh", rng)
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
        rngm.Scale = Vector3.new(1, 1.3, 2)
1573
1574
1575
1576
1577
        
1578
1579
1580
1581
1582
 
1583
1584
1585
1586
1587
 
1588
1589
1590
1591
1592
        local rng1 = Instance.new("Part", char)
1593
1594
1595
1596
1597
     
1598
1599
        rng1.Anchored = true
1600
1601
1602
1603
1604
    rng1.BrickColor = BrickColor.new("Really black")
1605
1606
1607
1608
1609
     rng1.CanCollide = false
1610
1611
1612
1613
1614
    rng1.FormFactor = 3
1615
1616
1617
1618
1619
    rng1:BreakJoints()
1620
1621
1622
1623
1624
        rng1.Name = "Ring"
1625
1626
1627
1628
1629
     rng1.Size = Vector3.new(1, 1, 1)
1630
1631
1632
1633
1634
        rng1.Transparency = 0
1635
1636
1637
1638
1639
     rng1.TopSurface = 0
1640
1641
1642
1643
1644
     rng1.BottomSurface = 0
1645
1646
1647
1648
1649
  rng1.Material = "Neon"
1650
1651
1652
1653
1654
     rng1.Position = torso.Position - Vector3.new(0,2,0)
1655
1656
1657
1658
1659
        rng1.CFrame = ends.CFrame*
1660
1661
1662
1663
1664
        CFrame.Angles(math.random(),math.random(),math.random())
1665
1666
1667
1668
1669
        local rngm1 = Instance.new("SpecialMesh", rng1)
1670
1671
1672
1673
1674
1675
1676
1677
rngm1.MeshType = "Sphere"
1678
1679
1680
1681
1682
        rngm1.Scale = Vector3.new(1, 1.3, 2)
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
    local rng11 = Instance.new("Part", char)
1700
1701
1702
1703
1704
     
1705
1706
        rng11.Anchored = true
1707
1708
1709
1710
1711
    rng11.BrickColor = BrickColor.new("Really black")
1712
1713
1714
1715
1716
     rng11.CanCollide = false
1717
1718
1719
1720
1721
    rng11.FormFactor = 3
1722
1723
1724
1725
1726
    rng11:BreakJoints()
1727
1728
1729
1730
1731
        rng11.Name = "Ring"
1732
1733
1734
1735
1736
     rng11.Size = Vector3.new(1, 1, 1)
1737
1738
1739
1740
1741
        rng11.Transparency = 0
1742
1743
1744
1745
1746
     rng11.TopSurface = 0
1747
1748
1749
1750
1751
     rng11.BottomSurface = 0
1752
1753
1754
1755
1756
  rng11.Material = "Neon"
1757
1758
1759
1760
1761
     
1762
1763
1764
1765
1766
        rng11.CFrame = ends.CFrame*        CFrame.Angles(math.rad(90),0,math.rad(0))
1767
1768
1769
1770
1771
        local rngm11 = Instance.new("SpecialMesh", rng11)
1772
1773
1774
1775
1776
1777
1778
1779
rngm11.MeshId =  "http://www.roblox.com/asset/?id=3270017"
1780
1781
1782
1783
1784
        rngm11.Scale = Vector3.new(1, 1.3, 2)
1785
1786
1787
1788
1789
1790
1791
1792
          
1793
1794
1795
1796
1797
     coroutine.wrap(function()
1798
1799
1800
1801
1802
        for i = 1, 5, 0.4 do 
1803
1804
1805
1806
1807
        rngm.Scale = Vector3.new(i,i,i)
1808
1809
1810
1811
1812
      rng.Transparency = 0
1813
1814
rngm1.Scale = Vector3.new(i*4,i*4,i*4)
1815
1816
1817
1818
1819
      rng1.Transparency = i/5
1820
1821
       
1822
1823
rngm11.Scale = Vector3.new(1+i*5,1+i*5,1)
1824
1825
1826
1827
1828
      rng11.Transparency = i/5
1829
1830
1831
1832
1833
          wait()
1834
1835
1836
1837
1838
        
1839
1840
1841
1842
1843
 
1844
1845
1846
1847
1848
            end
1849
1850
1851
1852
1853
           
1854
1855
1856
1857
1858
              wait()
1859
1860
1861
1862
1863
 
1864
1865
1866
1867
1868
            rng:Destroy()
1869
1870
1871
1872
1873
            rng1:Destroy()
1874
1875
   rng11:Destroy()
1876
1877
        
1878
1879
1880
1881
1882
  
1883
1884
1885
1886
1887
 
1888
1889
1890
1891
1892
 
1893
1894
1895
1896
1897
 wait()
1898
1899
1900
1901
1902
end)()
1903
1904
1905
1906
1907
 
1908
1909
1910
1911
1912
 
1913
1914
1915
1916
1917
 
1918
1919
1920
1921
1922
 end
1923
1924
end
1925
1926
end
1927
1928
end)
1929
1930
1931
1932
1933
1934
1935
1936
---------------------------------------------EXPLODE---------------------------------------
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
mouse.KeyDown:connect(function(k)
1948
1949
if k == "f" then
1950
1951
if explode == true then
1952
1953
explode = false
1954
1955
laser = false
1956
1957
active = true
1958
1959
humanoid.WalkSpeed = 0
1960
1961
humanoid.JumpPower = 0
1962
1963
LerpTo.Body = original * CFrame.new(0,0,5)
1964
1965
LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(90),0,math.rad(60))
1966
1967
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.rad(90),0,math.rad(-60))
1968
1969
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(-10),0,0)
1970
1971
LerpTo.LeftLeg = CFrame.new(-0.5,0.7,-1) * CFrame.Angles(rad(-20),0,0)
1972
1973
LerpTo.RightLeg = CFrame.new(0.5,0.7,-1) * CFrame.Angles(rad(-20),0,0)
1974
1975
for i = 1,10 do
1976
1977
local rng = Instance.new("Part", char)
1978
1979
        rng.Anchored = true
1980
1981
    rng.BrickColor = BrickColor.new("Really black")
1982
1983
     rng.CanCollide = false
1984
1985
    rng.FormFactor = 3
1986
1987
        rng.Name = "Ring"
1988
1989
     rng.Size = Vector3.new(1, 1, 1)
1990
1991
        rng.Transparency = 1
1992
1993
     rng.TopSurface = 0
1994
1995
     rng.BottomSurface = 0
1996
1997
  rng.Material = "Neon"
1998
1999
     rng.Position = torso.Position - Vector3.new(0,8,0)
2000
2001
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
2002
2003
        local rngm = Instance.new("SpecialMesh", rng)
2004
2005
 rngm.MeshId= "http://www.roblox.com/asset/?id=3270017"
2006
2007
        rngm.Scale = Vector3.new(1, 1.3, 2)
2008
2009
        
2010
2011
 
2012
2013
 
2014
2015
        
2016
2017
     
2018
2019
wait(0.1)
2020
2021
          
2022
2023
     coroutine.wrap(function()
2024
2025
        for i = 1, 10, 0.2 do
2026
2027
        rngm.Scale = Vector3.new(2 + i*4, 2 + i*4, 1)
2028
2029
      rng.Transparency = i/4
2030
2031
       
2032
2033
          wait()
2034
2035
        
2036
2037
 
2038
2039
            end
2040
2041
           
2042
2043
              wait()
2044
2045
 
2046
2047
            rng:Destroy()
2048
2049
        
2050
2051
        
2052
2053
  
2054
2055
 
2056
2057
 
2058
2059
 wait()
2060
2061
end)()
2062
2063
 
2064
2065
 
2066
2067
 
2068
2069
 
2070
2071
end
2072
2073
2074
2075
2076
LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(-10),0,math.rad(-20))
2077
2078
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.rad(-10),0,math.rad(20))
2079
2080
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(20),0,0)
2081
2082
LerpTo.LeftLeg = CFrame.new(-0.5,-0.5,0) * CFrame.Angles(rad(-10),0,rad(-20))
2083
2084
LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(rad(-10),0,rad(20))
2085
2086
for i = 1,1 do
2087
2088
local rng = Instance.new("Part", char)
2089
2090
        rng.Anchored = true
2091
2092
    rng.BrickColor = BrickColor.new("Really black")
2093
2094
     rng.CanCollide = false
2095
2096
    rng.FormFactor = 3
2097
2098
        rng.Name = "Ring"
2099
2100
     rng.Size = Vector3.new(1, 1, 1)
2101
2102
        rng.Transparency = 0
2103
2104
     rng.TopSurface = 0
2105
2106
     rng.BottomSurface = 0
2107
2108
  rng.Material = "Neon"
2109
2110
     rng.Position = torso.Position 
2111
2112
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
2113
2114
        local rngm = Instance.new("SpecialMesh", rng)
2115
2116
 rngm.MeshType = "Sphere"
2117
2118
        rngm.Scale = Vector3.new(1, 1.3, 2)
2119
2120
        
2121
2122
        
2123
2124
for i,v in pairs(workspace:children()) do
2125
2126
2127
2128
2129
                    if v:IsA("Model") and v:findFirstChild("Humanoid") then
2130
2131
2132
2133
2134
                        if v:findFirstChild("Head") and v:findFirstChild("Torso") then
2135
2136
2137
2138
2139
                            if (v:findFirstChild("Torso").Position - char.Torso.Position).magnitude < 30 then
2140
2141
2142
2143
2144
if v.Name ~= p.Name then 
2145
2146
2147
2148
2149
                                v.Humanoid:TakeDamage(40)
2150
2151
2152
2153
2154
v.Humanoid.PlatformStand = true
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
                            end
2172
2173
2174
2175
2176
                        end
2177
2178
2179
2180
2181
               end
2182
2183
2184
2185
2186
                end
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
end
2237
2238
        
2239
2240
        
2241
2242
        local rng1 = Instance.new("Part", char)
2243
2244
        rng1.Anchored = true
2245
2246
    rng1.BrickColor = BrickColor.new("Really black")
2247
2248
     rng1.CanCollide = false
2249
2250
    rng1.FormFactor = 3
2251
2252
        rng1.Name = "Ring"
2253
2254
     rng1.Size = Vector3.new(1, 1, 1)
2255
2256
        rng1.Transparency = 0
2257
2258
     rng1.TopSurface = 0
2259
2260
     rng1.BottomSurface = 0
2261
2262
  rng1.Material = "Neon"
2263
2264
     rng1.Position = torso.Position - Vector3.new(0,7,0)
2265
2266
        rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
2267
2268
        local rngm1 = Instance.new("SpecialMesh", rng1)
2269
2270
 rngm1.MeshId= "http://www.roblox.com/asset/?id=20329976"
2271
2272
        rngm1.Scale = Vector3.new(1, 1.3, 2)
2273
2274
        
2275
2276
 
2277
2278
 
2279
2280
 
2281
2282
 
2283
2284
    local rng11 = Instance.new("Part", char)
2285
2286
        rng11.Anchored = true
2287
2288
    rng11.BrickColor = BrickColor.new("Really black")
2289
2290
     rng11.CanCollide = false
2291
2292
    rng11.FormFactor = 3
2293
2294
        rng11.Name = "Ring"
2295
2296
     rng11.Size = Vector3.new(1, 1, 1)
2297
2298
        rng11.Transparency = 0
2299
2300
     rng11.TopSurface = 0
2301
2302
     rng11.BottomSurface = 0
2303
2304
  rng11.Material = "Neon"
2305
2306
     rng11.Position = torso.Position
2307
2308
        rng11.CFrame = rng11.CFrame * 
2309
2310
        CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
2311
2312
        local rngm11 = Instance.new("SpecialMesh", rng11)
2313
2314
 rngm11.MeshId="http://www.roblox.com/asset/?id=3270017"
2315
2316
        rngm11.Scale = Vector3.new(1, 1.3, 2)
2317
2318
        sound = Instance.new("Sound",char.Torso)
2319
2320
        sound.Pitch = 1
2321
2322
 sound.SoundId="http://www.roblox.com/asset/?id=165970126"
2323
2324
wait()
2325
2326
sound:Play()
2327
2328
2329
2330
2331
        
2332
2333
     
2334
2335
wait(0.1)
2336
2337
          
2338
2339
     coroutine.wrap(function()
2340
2341
        for i = 1, 5, 0.2 do
2342
2343
        rngm.Scale = Vector3.new(2 + i*6, 2 + i*6, 2+i*6)
2344
2345
      rng.Transparency = i/5
2346
2347
       rngm1.Scale = Vector3.new(2 + i*6, 2 + i*6, 2 + i*6)
2348
2349
      rng1.Transparency = i/5
2350
2351
      rngm11.Scale = Vector3.new(2 + i*6, 2 + i*6, 0.5)
2352
2353
      rng11.Transparency = i/5
2354
2355
          wait()
2356
2357
        
2358
2359
 
2360
2361
            end
2362
2363
           
2364
2365
              wait()
2366
2367
 
2368
2369
            rng:Destroy()
2370
2371
        
2372
2373
              rng1:Destroy()
2374
2375
                    rng11:Destroy()
2376
2377
  
2378
2379
 
2380
2381
 
2382
2383
 wait()
2384
2385
end)()
2386
2387
 
2388
2389
 
2390
2391
 
2392
2393
 
2394
2395
end
2396
2397
wait(1)
2398
2399
humanoid.WalkSpeed = 16
2400
2401
humanoid.JumpPower = 50
2402
2403
LerpTo.Body = original
2404
2405
LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(0),0,math.rad(0))
2406
2407
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(math.rad(0),0,math.rad(0))
2408
2409
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(0),0,0)
2410
2411
LerpTo.LeftLeg = CFrame.new(-0.5,-0.5,0) * CFrame.Angles(rad(0),0,rad(0))
2412
2413
LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(rad(0),0,rad(0))
2414
2415
wait(1)
2416
2417
laser = true
2418
2419
explode = true
2420
2421
active = false
2422
2423
2424
2425
2426
end
2427
2428
end
2429
2430
end)
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
-----------------------------------------------------
2451
2452
2453
2454
2455
2456
2457
2458
m.KeyDown:connect(function(k)
2459
2460
if k == "h" then
2461
2462
if blast == true then
2463
2464
blast = false
2465
2466
active = true
2467
2468
laser = false
2469
2470
explode = false
2471
2472
2473
2474
2475
2476
2477
2478
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,math.rad(40))
2479
2480
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(-10),0,0)
2481
2482
wait(0.2)
2483
2484
2485
2486
2487
ball1 = Instance.new("Part",char)
2488
2489
2490
2491
2492
ball1.Size = Vector3.new(0.1,0.1,0.1)
2493
2494
ball1.BrickColor = BrickColor.new("Really black")
2495
2496
ball1:BreakJoints()
2497
2498
ball1.Transparency = 1
2499
2500
ball1w = Instance.new("Weld",ball1)
2501
2502
ball1w.Part0 = ball1
2503
2504
ball1.Material = "Neon"
2505
2506
ball1w.Part1 = char["Right Arm"]
2507
2508
ball1w.C0 = CFrame.new(0,1.5,0)
2509
2510
ball1m = Instance.new("SpecialMesh",ball1)
2511
2512
ball1m.MeshType = "Sphere"
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
ball = Instance.new("Part",char)
2527
2528
2529
2530
2531
ball.Size = Vector3.new(0.1,0.1,0.1)
2532
2533
ball.BrickColor = BrickColor.new("Really black")
2534
2535
ball:BreakJoints()
2536
2537
ballw = Instance.new("Weld",ball)
2538
2539
ballw.Part0 = ball
2540
2541
ball.Material = "Neon"
2542
2543
ballw.Part1 = char["Right Arm"]
2544
2545
ballw.C0 = CFrame.new(0,1.5,0)
2546
2547
ballm = Instance.new("SpecialMesh",ball)
2548
2549
ballm.MeshType = "Sphere"
2550
2551
for i = 1,5.5,.2 do wait()
2552
2553
ballm.Scale = Vector3.new(i,i,i)
2554
2555
end
2556
2557
wait(0.5)
2558
2559
LerpTo.Body = original * CFrame.Angles(0,0,rad(-60))
2560
2561
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(rad(70),0,math.rad(10))
2562
2563
LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(85),0,math.rad(0))
2564
2565
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(0,rad(70),0)
2566
2567
wait(0.1)
2568
2569
LerpTo.Body = original * CFrame.Angles(0,0,rad(-270))
2570
2571
LerpTo.RightArm = CFrame.new(1,0.5,-0.5) * CFrame.Angles(rad(90),0,math.rad(90))
2572
2573
LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(0),0,math.rad(-20))
2574
2575
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(0,rad(-90),0)
2576
2577
wait()
2578
2579
ballw:Remove()
2580
2581
local ry = Ray.new(
2582
2583
   ball.CFrame.p,                           
2584
2585
    (mouse.Hit.p - ball1.CFrame.p).unit * 500
2586
2587
) 
2588
2589
local ig = game.Players.LocalPlayer.Character
2590
2591
 
2592
2593
local hit,position = Workspace:FindPartOnRay(ry, ig)
2594
2595
2596
2597
2598
if hit then
2599
2600
2601
2602
2603
bp = Instance.new("BodyPosition",ball)
2604
2605
bp.MaxForce = Vector3.new(100,100,100)
2606
2607
bp.Position = position
2608
2609
bp.P  = 400
2610
2611
bp.D = 100
2612
2613
        
2614
2615
else
2616
2617
ball:Remove()
2618
2619
LerpTo.RightArm = CFrame.new(1,0.5,0)
2620
2621
active = false
2622
2623
    laser = true
2624
2625
    blast = true
2626
2627
    explode = true
2628
2629
    LerpTo.LeftArm = CFrame.new(-1,0.5,0)
2630
2631
    LerpTo.Body = original
2632
2633
    LerpTo.Head = CFrame.new(0,1.5,0)
2634
2635
end
2636
2637
2638
2639
2640
wait() 
2641
2642
2643
2644
2645
LerpTo.RightArm = CFrame.new(1,0.5,-0.5) * CFrame.Angles(rad(90),0,math.rad(0))
2646
2647
repeat 
2648
2649
2650
2651
2652
--bp.Position = position
2653
2654
wait() until (ball.Position-position).magnitude < 6
2655
2656
sound = Instance.new("Sound",char.Torso)
2657
2658
        sound.Pitch = 1
2659
2660
 sound.SoundId="http://www.roblox.com/asset/?id=165970126"
2661
2662
wait()
2663
2664
sound:Play()
2665
2666
for i,v in pairs(workspace:children()) do
2667
2668
2669
2670
2671
                    if v:IsA("Model") and v:findFirstChild("Humanoid") then
2672
2673
2674
2675
2676
                        if v:findFirstChild("Head") and v:findFirstChild("Torso") then
2677
2678
2679
2680
2681
                            if (v:findFirstChild("Torso").Position - ball.Position).magnitude < 15 then
2682
2683
2684
2685
2686
if v.Name ~= p.Name then 
2687
2688
2689
2690
2691
                                v.Humanoid:TakeDamage(40)
2692
2693
2694
2695
2696
v.Humanoid.PlatformStand = true
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
                            end
2714
2715
2716
2717
2718
                        end
2719
2720
2721
2722
2723
               end
2724
2725
2726
2727
2728
                end
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
end
2779
2780
for i = 5,100,10 do wait()
2781
2782
ballm.Scale = Vector3.new(i,i,i)
2783
2784
ball.Transparency= i/100
2785
2786
end
2787
2788
ball:Remove()
2789
2790
2791
2792
2793
wait(0.5)
2794
2795
LerpTo.RightArm = CFrame.new(1,0.5,0)
2796
2797
2798
2799
2800
    LerpTo.LeftArm = CFrame.new(-1,0.5,0)
2801
2802
    LerpTo.Body = original
2803
2804
    LerpTo.Head = CFrame.new(0,1.5,0)
2805
2806
    active = false
2807
2808
    laser = true
2809
2810
    blast = true
2811
2812
    explode = true
2813
2814
end
2815
2816
end
2817
2818
end)
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
function updateanims()
2890
2891
2892
2893
2894
if active == false then
2895
2896
2897
2898
2899
    if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 and not Jumping then
2900
2901
2902
2903
2904
        anglespeed = 1/2
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(-sin(angle)*.1,0,0)
2928
2929
2930
2931
2932
       
2933
2934
2935
2936
2937
         LerpTo.LeftLeg = CFrame.new(-0.5,-0.5,0) * CFrame.Angles(sin(angle)*.1,0,0)
2938
2939
2940
2941
2942
LerpTo.Head = CFrame.new(0,1.5,0)
2943
2944
2945
2946
2947
            LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(sin(angle)*0.3,0,rad(0.1))
2948
2949
2950
2951
2952
       
2953
2954
2955
2956
2957
            LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(sin(angle)*0.3,0,rad(-0.1))
2958
2959
2960
2961
2962
            
2963
2964
2965
2966
2967
       
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
    elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 and not Jumping then
2982
2983
2984
2985
2986
        anglespeed = 3
2987
2988
2989
2990
2991
 
2992
2993
2994
2995
2996
LerpTo.RightLeg = CFrame.new(0.5,-0.65,0) * CFrame.Angles(-sin(angle*1)*0.8,0,0)
2997
2998
2999
3000
3001
       
3002
3003
3004
3005
3006
         LerpTo.LeftLeg = CFrame.new(-0.5,-0.65,0) * CFrame.Angles(sin(angle*1)*0.8,0,0)
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
LerpTo.Head = CFrame.new(0,1.5,0)
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
            LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(-sin(angle)*.8,0,rad(3))
3035
3036
3037
3038
3039
       
3040
3041
3042
3043
3044
         LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(sin(angle)*.8,0,rad(-3))
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
  elseif Falling then
3068
3069
3070
3071
3072
LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(0,0,-rad(20))
3073
3074
3075
3076
3077
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,rad(20))
3078
3079
3080
3081
3082
LerpTo.LeftLeg = CFrame.new(-0.5,-0.2,-0.3) * CFrame.Angles(0,rad(5),0)
3083
3084
3085
3086
3087
LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(0,rad(-0.1),0)
3088
3089
3090
3091
3092
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(-10),0,0)
3093
3094
3095
3096
3097
    elseif Jumping and not Falling then
3098
3099
3100
3101
3102
    print'asd this is seeing the jump!'
3103
3104
3105
3106
3107
    
3108
3109
3110
3111
3112
       
3113
3114
3115
3116
3117
LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(0,0,-rad(20))
3118
3119
3120
3121
3122
LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(0,0,rad(20))
3123
3124
3125
3126
3127
LerpTo.LeftLeg = CFrame.new(-0.5,-0.2,-0.3) * CFrame.Angles(0,rad(5),0)
3128
3129
3130
3131
3132
LerpTo.RightLeg = CFrame.new(0.5,-0.5,0) * CFrame.Angles(0,rad(-0.1),0)
3133
3134
3135
3136
3137
LerpTo.Head = CFrame.new(0,1.5,0) * CFrame.Angles(rad(10),0,0)
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
end
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
end
3175
3176
3177
3178
3179
end
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
Spawn(function()
3221
3222
3223
3224
3225
    while wait()do
3226
3227
3228
3229
3230
        angle = (angle % 100) + anglespeed/10 
3231
3232
3233
3234
3235
        end 
3236
3237
3238
3239
3240
end)
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
---------
3327
3328
3329
3330
3331
LerpTo = { -- this is where your lerp stuff would go if you had more than one arm to lerp
3332
3333
3334
3335
3336
    RightArm = CFrame.new(1,0.5,0);
3337
3338
3339
3340
3341
    LeftArm = CFrame.new(-1,0.5,0);
3342
3343
3344
3345
3346
LeftLeg = CFrame.new(-0.5,-0.5,0);
3347
3348
3349
3350
3351
RightLeg = CFrame.new(0.5,-0.5,0);
3352
3353
3354
3355
3356
3357
3358
3359
Body = CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),0,math.rad(0));
3360
3361
3362
3363
3364
Head = CFrame.new(0,1.5,0);
3365
3366
3367
3368
3369
}
3370
3371
3372
3373
3374
---
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
RunService = game:service'RunService'
3389
3390
3391
3392
3393
RunService.RenderStepped:connect(function()
3394
3395
3396
3397
3398
updateanims()
3399
3400
3401
3402
3403
hum()
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
    RightShoulder.C0 = Lerp.CFrame(RightShoulder.C0,LerpTo.RightArm,as)
3421
3422
3423
3424
3425
    LeftShoulder.C0 = Lerp.CFrame(LeftShoulder.C0,LerpTo.LeftArm,as)
3426
3427
3428
3429
3430
RightHip.C0 = Lerp.CFrame(RightHip.C0,LerpTo.RightLeg,as)
3431
3432
3433
3434
3435
    LeftHip.C0 = Lerp.CFrame(LeftHip.C0,LerpTo.LeftLeg,as)
3436
3437
3438
3439
3440
 Neck.C0 = Lerp.CFrame(Neck.C0,LerpTo.Head,as)
3441
3442
3443
3444
3445
torsoj.C0 = Lerp.CFrame(torsoj.C0,LerpTo.Body,as)
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
end)