Advertisement
Guest User

RAWR

a guest
Apr 28th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.74 KB | None | 0 0
  1.  
  2.  
  3. --[[
  4. @MADE COMPLETELY BY iFRACTAL
  5. dont take credit nooobs asd
  6.  
  7. ]]--
  8.  
  9.  
  10.  
  11.  
  12.  
  13. p = game.Players.LocalPlayer
  14.  
  15.  
  16.  
  17. jum = true
  18.  
  19.  
  20. yes = true
  21. tra = .1
  22.  
  23. char = p.Character
  24.  
  25. slam = true
  26.  
  27.  
  28.  
  29. player = game.Players.LocalPlayer
  30.  
  31.  
  32.  
  33. pchar=p.Character
  34.  
  35.  
  36. pchar.Head.Jumping.SoundId = "http://www.roblox.com/asset/?id=2767090"
  37.  
  38.  
  39. Lightning = function(Start,End,Times,Offset,Color,Thickness)
  40.  
  41. local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
  42.  
  43. for i=1,Times do
  44.  
  45. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true
  46.  
  47. li.Material = "Neon"
  48.  
  49. li:BreakJoints()
  50.  
  51. li.Transparency = 0 li.BrickColor = Color
  52.  
  53. li.formFactor = "Custom" li.CanCollide = false
  54.  
  55. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  56.  
  57. local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  58.  
  59. local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
  60.  
  61. if Times == i then
  62.  
  63. local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
  64.  
  65. li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
  66.  
  67. else
  68.  
  69. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  70.  
  71. end
  72.  
  73. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p Spawn(function() for i=1,10 do wait()
  74.  
  75.  
  76.  
  77. li.Transparency = li.Transparency+tra end li:Destroy() end)
  78.  
  79.  
  80.  
  81. end
  82.  
  83. end
  84.  
  85.  
  86.  
  87. m = p:GetMouse()
  88.  
  89.  
  90.  
  91. humanoid = pchar.Humanoid
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. humanoid.WalkSpeed = 80
  106.  
  107. humanoid.MaxHealth= 1000000000000000000000000000000
  108.  
  109. wait()
  110.  
  111. humanoid.Health= 1000000000000000000000000000000
  112.  
  113.  
  114.  
  115. humanoid.JumpPower = 50
  116.  
  117.  
  118.  
  119. shoot = true
  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. anglespeed = 3
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171. RightShoulder = Instance.new("Weld",pchar.Torso)
  172.  
  173.  
  174.  
  175. RightShoulder.Part0 = pchar.Torso
  176.  
  177.  
  178.  
  179. RightShoulder.Part1 = pchar['Right Arm']
  180.  
  181.  
  182.  
  183. RightShoulder.C0 = CFrame.new(1,0.5,0)
  184.  
  185.  
  186.  
  187. RightShoulder.C1 = CFrame.new(-0.5,0.5,0)
  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. LeftShoulder = Instance.new("Weld",pchar.Torso)
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269. LeftShoulder.Part0 = pchar.Torso
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279. LeftShoulder.Part1 = pchar['Left Arm']
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289. LeftShoulder.C0 = CFrame.new(-1,0.5,0)
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299. LeftShoulder.C1 = CFrame.new(0.5,0.5,0)
  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. as = 0.3
  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. -- From 0,0,0 to 10,22,3 with lerps
  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. deg = math.deg
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583. rad = math.rad
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593. asin = math.asin
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603. atan2 = math.atan2
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613. cos = math.cos
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623. sin = math.sin
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633. rad = math.sin
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643. function getAngles(cf) -- this is for later
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653. local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663. return atan2(-m12,m22),asin(m02),atan2(-m01,m00)
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673. end
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683. Lerp = {
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693. Number = function(C1,C2,inc)
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703. return C1 + (C2 - C1) * inc
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713. end;
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723. CFrame = function(a,b,m)
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733. local c,d={a:components()},{b:components()}
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743. table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*m end)
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753. return CFrame.new(unpack(c))
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763. end;
  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. rod = Instance.new("Part",char)
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857. rod.Size = Vector3. new(0.3,0.3,7)
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867. rod.BrickColor = BrickColor.new("Really black")
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877. rod.TopSurface = 0
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887. rod.CanCollide = false
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903. rod:BreakJoints()
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915. rod.BottomSurface = 0
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925. rw = Instance.new("Weld",rod)
  926.  
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935. rw.Part0 = rod
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945. rw.Part1 = char["Left Arm"]
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955. rw.C0 = CFrame.new(0,1,0)
  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. tasselh = Instance.new("Part",char)
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993. tasselh.Size = Vector3. new(0.35,0.35,0.5)
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003. tasselh.BrickColor = BrickColor.new("Magenta")
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.  
  1011.  
  1012.  
  1013. tasselh.TopSurface = 0
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023. tasselh.CanCollide = false
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031. tasselh:BreakJoints()
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051. tasselh.BottomSurface = 0
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061. thw = Instance.new("Weld",tasselh)
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071. thw.Part0 = tasselh
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081. thw.Part1 = rod
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091. thw.C0 = CFrame.new(0,0,1)
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137. tassel = Instance.new("Part",char)
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147. tassel.Size = Vector3. new(0.37,0.37,0.15)
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157. tassel.BrickColor = BrickColor.new("Really black")
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167. tassel.TopSurface = 0
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177. tassel.CanCollide = false
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187. tassel:BreakJoints()
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205. tassel.BottomSurface = 0
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215. tw = Instance.new("Weld",tassel)
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225. tw.Part0 = tassel
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235. tw.Part1 = tasselh
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245. tw.C0 = CFrame.new(0,0,0)
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267. capers={}
  1268.  
  1269.  
  1270.  
  1271. torso=game.Players.LocalPlayer.Character.Torso
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281. local WorldUp = Vector3.new(0,1,0)
  1282.  
  1283.  
  1284.  
  1285. function look2(Vec1,Vec2)
  1286.  
  1287.  
  1288.  
  1289. local Orig = Vec1
  1290.  
  1291.  
  1292.  
  1293. Vec1 = Vec1+Vector3.new(0,1,0)
  1294.  
  1295.  
  1296.  
  1297. Vec2 = Vec2+Vector3.new(0,1,0)
  1298.  
  1299.  
  1300.  
  1301. local Forward = (Vec2-Vec1).unit
  1302.  
  1303.  
  1304.  
  1305. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  1306.  
  1307.  
  1308.  
  1309. local Right = Up:Cross(Forward).unit
  1310.  
  1311.  
  1312.  
  1313. Forward = -Forward
  1314.  
  1315.  
  1316.  
  1317. Right = -Right
  1318.  
  1319.  
  1320.  
  1321. return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  1322.  
  1323.  
  1324.  
  1325. end
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335. function look(CFr,Vec2)
  1336.  
  1337.  
  1338.  
  1339. local A = Vector3.new(0,0,0)
  1340.  
  1341.  
  1342.  
  1343. local B = CFr:inverse()*Vec2
  1344.  
  1345.  
  1346.  
  1347. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  1348.  
  1349.  
  1350.  
  1351. if B.Z > 0 then
  1352.  
  1353.  
  1354.  
  1355. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  1356.  
  1357.  
  1358.  
  1359. elseif B.Z == 0 then
  1360.  
  1361.  
  1362.  
  1363. if B.Y > 0 then
  1364.  
  1365.  
  1366.  
  1367. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  1368.  
  1369.  
  1370.  
  1371. elseif B.Y < 0 then
  1372.  
  1373.  
  1374.  
  1375. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  1376.  
  1377.  
  1378.  
  1379. else
  1380.  
  1381.  
  1382.  
  1383. CF = CFr
  1384.  
  1385.  
  1386.  
  1387. end
  1388.  
  1389.  
  1390.  
  1391. end
  1392.  
  1393.  
  1394.  
  1395. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  1396.  
  1397.  
  1398.  
  1399. local Up = Vector3.new(X,Y,Z)
  1400.  
  1401.  
  1402.  
  1403. local Forward = (Vec2-CFr.p).unit
  1404.  
  1405.  
  1406.  
  1407. local Right = Up:Cross(Forward)
  1408.  
  1409.  
  1410.  
  1411. Forward = -Forward
  1412.  
  1413.  
  1414.  
  1415. Right = -Right
  1416.  
  1417.  
  1418.  
  1419. return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  1420.  
  1421.  
  1422.  
  1423. end
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433. function simulate(j,d,m,r,t)
  1434.  
  1435.  
  1436.  
  1437. local joint = j
  1438.  
  1439.  
  1440.  
  1441. for i,v in ipairs(t) do
  1442.  
  1443.  
  1444.  
  1445. if v[1]:FindFirstChild("Weld") then
  1446.  
  1447.  
  1448.  
  1449. local stiff = m.CFrame.lookVector*0.03
  1450.  
  1451.  
  1452.  
  1453. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  1454.  
  1455.  
  1456.  
  1457. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  1458.  
  1459.  
  1460.  
  1461. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  1462.  
  1463.  
  1464.  
  1465. local pos = joint.p+(dir*(d*0.5))
  1466.  
  1467.  
  1468.  
  1469. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  1470.  
  1471.  
  1472.  
  1473. local inv = v[1].Weld.Part0.CFrame
  1474.  
  1475.  
  1476.  
  1477. local rel1 = inv:inverse()*pos
  1478.  
  1479.  
  1480.  
  1481. local rel2 = inv:inverse()*(pos-(dir*dis))
  1482.  
  1483.  
  1484.  
  1485. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  1486.  
  1487.  
  1488.  
  1489. v[1].Weld.C0 = cf
  1490.  
  1491.  
  1492.  
  1493. v[2] = inv*cf
  1494.  
  1495.  
  1496.  
  1497. --v[1].CFrame = cf
  1498.  
  1499.  
  1500.  
  1501. end
  1502.  
  1503.  
  1504.  
  1505. end
  1506.  
  1507.  
  1508.  
  1509. end
  1510.  
  1511.  
  1512.  
  1513. for i=1,8 do
  1514.  
  1515.  
  1516.  
  1517. local cp = Instance.new("Part",char)
  1518.  
  1519.  
  1520.  
  1521. cp.Anchored = false
  1522.  
  1523.  
  1524.  
  1525. cp.BrickColor = BrickColor.new("Really black")
  1526.  
  1527.  
  1528.  
  1529. cp.CanCollide = false
  1530.  
  1531.  
  1532.  
  1533. cp.FormFactor="Custom"
  1534.  
  1535.  
  1536.  
  1537. cp.Material = "SmoothPlastic"
  1538.  
  1539.  
  1540.  
  1541. cp.TopSurface = "SmoothNoOutlines"
  1542.  
  1543.  
  1544.  
  1545. cp.BottomSurface = "SmoothNoOutlines"
  1546.  
  1547.  
  1548.  
  1549. cp.RightSurface = "SmoothNoOutlines"
  1550.  
  1551.  
  1552.  
  1553. cp.LeftSurface = "SmoothNoOutlines"
  1554.  
  1555.  
  1556.  
  1557. cp.FrontSurface = "SmoothNoOutlines"
  1558.  
  1559.  
  1560.  
  1561. cp.BackSurface = "SmoothNoOutlines"
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571. cp.Size=Vector3.new(2.6,.2,0.2)
  1572.  
  1573.  
  1574.  
  1575. cp:BreakJoints()
  1576.  
  1577.  
  1578.  
  1579. mesh = Instance.new("BlockMesh",cp)
  1580.  
  1581.  
  1582.  
  1583. mesh.Scale = Vector3.new(1,1,4)
  1584.  
  1585.  
  1586.  
  1587. local w = Instance.new("Motor6D",cp)
  1588.  
  1589.  
  1590.  
  1591. w.Part0 = capers[i-1] and capers[i-1][1] or torso
  1592.  
  1593.  
  1594.  
  1595. w.Part1 = cp
  1596.  
  1597.  
  1598.  
  1599. w.Name = "Weld"
  1600.  
  1601.  
  1602.  
  1603. --table.insert(capers,cp)
  1604.  
  1605.  
  1606.  
  1607. capers[i] = {cp,cp.CFrame}
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617. end
  1618.  
  1619.  
  1620.  
  1621. game:service"RunService".Stepped:connect(function()
  1622.  
  1623.  
  1624.  
  1625. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),capers)
  1626.  
  1627.  
  1628.  
  1629. end)
  1630.  
  1631. jum = true
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637. funm = false
  1638.  
  1639.  
  1640.  
  1641. angle = 0
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657. yes = true
  1658.  
  1659.  
  1660.  
  1661. sin = math.sin
  1662.  
  1663.  
  1664.  
  1665. function updateanims()
  1666.  
  1667.  
  1668.  
  1669. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  1670.  
  1671.  
  1672.  
  1673. anglespeed = 1/2
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681. LerpTo.RightArm = CFrame.new(0.7,0.5,0) * CFrame.Angles(-0.8,0,-0.5)
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  1704.  
  1705.  
  1706.  
  1707. anglespeed = 2
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727. LerpTo.RightArm = CFrame.new(1,0.5,0) * CFrame.Angles(-sin(angle)*.6,0,rad(3))
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750. end
  1751. end
  1752.  
  1753. Spawn(function()
  1754.  
  1755. while wait()do
  1756.  
  1757. angle = (angle % 100) + anglespeed/10
  1758.  
  1759. end
  1760.  
  1761. end)
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799. ---------
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809. LerpTo = { -- this is where your lerp stuff would go if you had more than one arm to lerp
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829. LeftArm = CFrame.new(-1,0.5,0);
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845. RightArm = CFrame.new(1,0.5,0);
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.  
  1857.  
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863.  
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873. Staff = CFrame.new(0,1,0);
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901. }
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910. function stream(origin,dir,length,size)
  1911. local parts = {}
  1912. for i = 1,length do
  1913. local p = Instance.new("Part",char)
  1914. p.Anchored = true
  1915. p.Transparency = 0
  1916. p.TopSurface = 0
  1917. p.BottomSurface = 0
  1918. p.CanCollide = false
  1919. p.BrickColor = BrickColor.new("Magenta")
  1920. p.Size = Vector3.new(1,1,1) -- for now
  1921. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  1922. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  1923. game:GetService("Debris"):AddItem(p,1)
  1924. end
  1925. Spawn(function()
  1926. while parts do
  1927. for i,v in pairs(parts) do
  1928. if v[1].Parent == char then
  1929. v[1].CFrame = v[1].CFrame*v[2]
  1930. else
  1931. parts = nil
  1932. break
  1933. end
  1934. end
  1935. wait(0.02)
  1936. end
  1937. end)
  1938. end
  1939. ---
  1940. m.KeyDown:connect(function(k)
  1941. if k == "p" then
  1942. wait(2)
  1943. for i = 1,3 do
  1944. ends1 = Instance.new("Part",pchar)
  1945. ends1:BreakJoints()
  1946. ends1.Size = Vector3.new(1,1,1)
  1947. ends1.BrickColor = BrickColor.new("Magenta")
  1948. endw1 = Instance.new("Weld",ends1)
  1949. endw1.Part0 = ends1
  1950. endw1.Part1 = pchar.Torso
  1951. endm1 = Instance.new("SpecialMesh",ends1)
  1952. endm1.MeshType = "FileMesh"
  1953. endm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1954. endm1.Scale = Vector3.new(1,1,1)
  1955. endw1.C0 = CFrame.new(0,0,900)
  1956. for i = 1,20,1 do wait()
  1957. endm1.Scale = Vector3.new(i,i,1)
  1958.  
  1959. end
  1960. ends1:Remove()
  1961. end
  1962. end
  1963. end)
  1964. m.KeyDown:connect(function(k)
  1965. if k == "p" then
  1966. rng11= Instance.new("Part",rod)
  1967. humanoid.WalkSpeed = 0
  1968. rng11:BreakJoints()
  1969. tra = 0.5
  1970. rng11.Size = Vector3.new(1,1,1)
  1971.  
  1972. rng11.Anchored = false
  1973.  
  1974. rng11:BreakJoints()
  1975.  
  1976. rng11.BrickColor = BrickColor.new("Magenta")
  1977.  
  1978.  
  1979.  
  1980. rngm11 = Instance.new("SpecialMesh",rng11)
  1981.  
  1982. rngm11.MeshType = "Sphere"
  1983.  
  1984. rng11.Transparency =0
  1985.  
  1986. rng11.Material = "Neon"
  1987.  
  1988. rngm11.Scale = Vector3.new(1,1,1)
  1989.  
  1990. rinw11 = Instance.new("Weld",rng11)
  1991.  
  1992. rinw11.Part0 = rng11
  1993.  
  1994. rinw11.Part1 = tasselh
  1995.  
  1996. rinw11.C0 = CFrame.new(0,0,0)
  1997.  
  1998. ends = Instance.new("Part",pchar)
  1999. ends:BreakJoints()
  2000. ends.Size = Vector3.new(1,1,1)
  2001. endw = Instance.new("Weld",ends)
  2002. endw.Part0 = ends
  2003. endw.Part1 = pchar.Torso
  2004.  
  2005. endw.C0 = CFrame.new(0,0,900)
  2006. s122 = Instance.new("Sound",rod)
  2007. s122.SoundId = "rbxassetid://181004943"
  2008. s122.Volume = .7
  2009. s122.Pitch = .9
  2010. s122:Play()
  2011.  
  2012. LerpTo.LeftArm = CFrame.new(-1,0.5,-0.5) * CFrame.Angles(math.rad(120),math.rad(0),math.rad(0))
  2013. for i = 0.5,2.5,0.05 do wait()
  2014.  
  2015. rngm11.Scale = Vector3.new(i,i,i)
  2016.  
  2017. end
  2018. damageb = Instance.new("Part",pchar)
  2019. damageb.Size = Vector3.new(3,3,200)
  2020. damageb.Transparency = 1
  2021. damageb:BreakJoints()
  2022. damageb.Anchored = true
  2023.  
  2024. s22 = Instance.new("Sound",rod)
  2025. s22.SoundId = "rbxassetid://228343271"
  2026. s22.Volume = .7
  2027. s22.Pitch = 1.4
  2028. s22:Play()
  2029. for i = 1,40 do wait()
  2030.  
  2031. damageb.CanCollide = false
  2032.  
  2033.  
  2034. damageb.CanCollide = true
  2035.  
  2036.  
  2037. damageb.CFrame = pchar.Torso.CFrame *CFrame.new(-1,1,-105)
  2038. damageb.Touched:connect(function(h)
  2039. local x = h.Parent:FindFirstChild("Humanoid")
  2040. if x then
  2041. if x.Parent.Name == game.Players.LocalPlayer.Name then
  2042. safe = true
  2043. else safe = false
  2044. end
  2045. if x then
  2046.  
  2047.  
  2048.  
  2049.  
  2050. wait(0.2)
  2051. x.Parent.Humanoid:TakeDamage(1)
  2052. wait()
  2053. safe = true
  2054.  
  2055. end
  2056. end
  2057. end)
  2058.  
  2059. Lightning(
  2060.  
  2061. tassel.CFrame.p,ends.Position,math.random(5,10),math.random(0,0),BrickColor.new("Magenta"),1
  2062.  
  2063. )
  2064.  
  2065. LerpTo.LeftArm = CFrame.new(-1,0.5,-1.1) * CFrame.Angles(math.rad(90),math.rad(-40),math.rad(0))
  2066.  
  2067. end
  2068. safe = true
  2069. for i = 3,0,-0.2 do wait()
  2070.  
  2071. rngm11.Scale = Vector3.new(i,i,i)
  2072.  
  2073. end
  2074. damageb:Remove()
  2075. ends:Remove()
  2076. rng11:Remove()
  2077. humanoid.WalkSpeed = 9
  2078. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  2079. end
  2080. end)
  2081.  
  2082.  
  2083.  
  2084.  
  2085. m.KeyDown:connect(function(k)
  2086.  
  2087. if k == "x" then
  2088.  
  2089. lightning = true
  2090.  
  2091. tasselh.Material = "Neon"
  2092.  
  2093. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(120),0,0)
  2094.  
  2095. LerpTo.Staff = CFrame.new(0,1,2) * CFrame.Angles(math.rad(30),0,0)
  2096.  
  2097. repeat wait()
  2098.  
  2099. s1 = Instance.new("Sound",rod)
  2100.  
  2101. s1.SoundId = "rbxassetid://207825136"
  2102.  
  2103. s1.Pitch = 0.8
  2104.  
  2105. wait() s1:Play()
  2106.  
  2107. Lightning(
  2108.  
  2109. tasselh.CFrame.p,m.hit.p,math.random(5,10),math.random(-1.5,1.5),BrickColor.new("Magenta"),.2
  2110.  
  2111. )
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117. for i,v in pairs(workspace:children()) do
  2118.  
  2119. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  2120.  
  2121. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  2122.  
  2123. if (v:findFirstChild("Torso").Position - player:GetMouse().hit.p).magnitude < 4 then
  2124.  
  2125. if v.Name ~= p.Name then
  2126.  
  2127. v.Humanoid:TakeDamage(40)
  2128.  
  2129. v.Humanoid.PlatformStand = true
  2130.  
  2131. wait(0.1)
  2132.  
  2133. v.Humanoid.PlatformStand = false
  2134.  
  2135. end
  2136.  
  2137. end
  2138.  
  2139. end
  2140.  
  2141. end
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153. end
  2154.  
  2155. until lightning == false
  2156.  
  2157. end
  2158.  
  2159.  
  2160.  
  2161. end)
  2162.  
  2163. m.KeyUp:connect(function(k)
  2164.  
  2165. if k == "x" then
  2166.  
  2167. lightning = false
  2168.  
  2169. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(90),0,0)
  2170.  
  2171. LerpTo.Staff = CFrame.new(0,1,0.5) * CFrame.Angles(math.rad(0),0,0)
  2172.  
  2173. tasselh.Material = "Plastic"
  2174.  
  2175. end
  2176.  
  2177. end)
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190. m.KeyDown:connect(function(k)
  2191.  
  2192. if k == "f" then
  2193.  
  2194. if slam == true then
  2195.  
  2196. s2 = Instance.new("Sound",rod)
  2197.  
  2198. s2.Pitch = 1.6
  2199.  
  2200. s2.SoundId = "http://www.roblox.com/asset/?id=2101148"
  2201.  
  2202.  
  2203.  
  2204.  
  2205.  
  2206. slam = false
  2207.  
  2208.  
  2209.  
  2210. tasselh.Material = "Neon"
  2211.  
  2212. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(120),0,0)
  2213.  
  2214. LerpTo.Staff = CFrame.new(0,1,0.5) * CFrame.Angles(math.rad(30),0,0)
  2215.  
  2216. wait(0.5)
  2217.  
  2218. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(60),0,0)
  2219.  
  2220. LerpTo.Staff = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-30),0,0)
  2221.  
  2222. for i,v in pairs(workspace:children()) do
  2223.  
  2224. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  2225.  
  2226. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  2227.  
  2228. if (v:findFirstChild("Torso").Position - player.Character.Torso.Position).magnitude < 10 then
  2229.  
  2230. if v.Name ~= p.Name then
  2231.  
  2232. v.Humanoid:TakeDamage(10)
  2233.  
  2234. v.Humanoid.PlatformStand = true
  2235.  
  2236.  
  2237.  
  2238. end
  2239.  
  2240. end
  2241.  
  2242. end
  2243.  
  2244. end
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252. end
  2253.  
  2254. s2:Play()
  2255.  
  2256. rng = Instance.new("Part",rod)
  2257.  
  2258. rng:BreakJoints()
  2259.  
  2260. rng.Size = Vector3.new(1,1,1)
  2261.  
  2262. rng.Anchored = true
  2263.  
  2264. rng.BrickColor = BrickColor.new("Magenta")
  2265.  
  2266. rng.CFrame = rod.CFrame * CFrame.new(0,0,4) * CFrame.Angles(0,0,math.rad(90))
  2267.  
  2268. rngm = Instance.new("SpecialMesh",rng)
  2269.  
  2270. rngm.MeshType = "FileMesh"
  2271.  
  2272. rng.Transparency =1
  2273.  
  2274. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2275.  
  2276. rngm.Scale = Vector3.new(1,1,1)
  2277.  
  2278. wait(0.2)
  2279.  
  2280. rng.Transparency =0
  2281.  
  2282. tasselh.Material = "Plastic"
  2283.  
  2284. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(90),0,0)
  2285.  
  2286. LerpTo.Staff = CFrame.new(0,1,0) * CFrame.Angles(math.rad(0),0,0)
  2287.  
  2288. for i = 1,10,1 do wait()
  2289.  
  2290. rngm.Scale = Vector3.new(1+i*1.5,1+i*1.5,0.1)
  2291.  
  2292. rng.Transparency = i/10
  2293.  
  2294. end
  2295.  
  2296. rng:Remove()
  2297.  
  2298.  
  2299.  
  2300. slam = true
  2301.  
  2302. end
  2303.  
  2304. end
  2305.  
  2306. end)
  2307.  
  2308. s = Instance.new("Sound",rod)
  2309.  
  2310. s.SoundId = "rbxassetid://392838370"
  2311.  
  2312. s.Volume = 1
  2313.  
  2314. m.KeyDown:connect(function(k)
  2315.  
  2316. if k == "r" then
  2317.  
  2318. if shoot == true then
  2319.  
  2320. shoot = false
  2321.  
  2322. wait()
  2323.  
  2324. s:Play()
  2325.  
  2326. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(160),0,0)
  2327.  
  2328. LerpTo.Staff = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-40),0,0)
  2329.  
  2330.  
  2331.  
  2332. rng1 = Instance.new("Part",rod)
  2333.  
  2334. rng1:BreakJoints()
  2335.  
  2336. rng1.Size = Vector3.new(1,1,1)
  2337.  
  2338. rng1.Anchored = false
  2339.  
  2340. rng1:BreakJoints()
  2341.  
  2342. rng1.BrickColor = BrickColor.new("Magenta")
  2343.  
  2344.  
  2345.  
  2346. rngm1 = Instance.new("SpecialMesh",rng1)
  2347.  
  2348. rngm1.MeshType = "Sphere"
  2349.  
  2350. rng1.Transparency =0
  2351.  
  2352. rng1.Material = "Neon"
  2353.  
  2354. rngm1.Scale = Vector3.new(1,1,1)
  2355.  
  2356. rinw1 = Instance.new("Weld",rng1)
  2357.  
  2358. rinw1.Part0 = rng1
  2359.  
  2360. rinw1.Part1 = rod
  2361.  
  2362. rinw1.C0 = CFrame.new(0,0,5)
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370. rng11= Instance.new("Part",rod)
  2371.  
  2372. rng11:BreakJoints()
  2373.  
  2374. rng11.Size = Vector3.new(1,1,1)
  2375.  
  2376. rng11.Anchored = false
  2377.  
  2378. rng11:BreakJoints()
  2379.  
  2380. rng11.BrickColor = BrickColor.new("Really black")
  2381.  
  2382.  
  2383.  
  2384. rngm11 = Instance.new("SpecialMesh",rng11)
  2385.  
  2386. rngm11.MeshType = "Sphere"
  2387.  
  2388. rng11.Transparency =0.7
  2389.  
  2390. rng11.Material = "Neon"
  2391.  
  2392. rngm11.Scale = Vector3.new(1,1,1)
  2393.  
  2394. rinw11 = Instance.new("Weld",rng11)
  2395.  
  2396. rinw11.Part0 = rng11
  2397.  
  2398. rinw11.Part1 = rng1
  2399.  
  2400. rinw11.C0 = CFrame.new(0,0,0)
  2401.  
  2402. for i = 0.5,1,0.2 do wait()
  2403.  
  2404. rngm1.Scale = Vector3.new(i,i,i)
  2405.  
  2406. end
  2407.  
  2408. wait(0.1)
  2409.  
  2410. for i = 1,2,0.2 do wait()
  2411.  
  2412. rngm1.Scale = Vector3.new(i,i,i)
  2413.  
  2414.  
  2415.  
  2416. rngm11.Scale = Vector3.new(i*1.5,i*1.5,i*1.5)
  2417.  
  2418.  
  2419.  
  2420. end
  2421.  
  2422. wait(0.2)
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432. LerpTo.LeftArm = CFrame.new(-1,0.5,-0.4) * CFrame.Angles(math.rad(90),0,0)
  2433.  
  2434. LerpTo.Staff = CFrame.new(0,0,4) * CFrame.Angles(math.rad(90),0,0)
  2435.  
  2436. wait(.3)
  2437.  
  2438. rinw1:Remove()
  2439.  
  2440. rng1.Velocity = CFrame.new(rng1.Position,rod.Position).lookVector * -500
  2441.  
  2442. ypcall(function()
  2443.  
  2444. rng1.Touched:connect(function(h)
  2445.  
  2446. x = h.Parent.Humanoid
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452. if x:IsA("Humanoid") then
  2453.  
  2454. if x then
  2455.  
  2456. if x.Parent.Name == game.Players.LocalPlayer.Name then
  2457.  
  2458. return
  2459.  
  2460. else
  2461.  
  2462. x:TakeDamage(40)
  2463.  
  2464.  
  2465.  
  2466. end
  2467.  
  2468. end
  2469.  
  2470. end
  2471.  
  2472. for i = 1,10,2 do
  2473.  
  2474. rngm1.Scale = Vector3.new(i,i,i)
  2475.  
  2476. rng1.Transparency = i/10
  2477.  
  2478. end
  2479.  
  2480. rng1:Remove()
  2481.  
  2482. rng11:Remove()
  2483.  
  2484. end)
  2485.  
  2486. end)
  2487.  
  2488. local bodyforc = Instance.new("BodyForce", rng1)
  2489.  
  2490.  
  2491.  
  2492. bodyforc.force = Vector3.new(0, rng1:GetMass() * 90, 0)
  2493.  
  2494. wait(0.5)
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(90),0,0)
  2505.  
  2506. LerpTo.Staff = CFrame.new(0,1,0) * CFrame.Angles(math.rad(0),0,0)
  2507.  
  2508. shoot = true
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514. end
  2515.  
  2516. end
  2517.  
  2518. end)
  2519.  
  2520. m.KeyDown:connect(function(k)
  2521.  
  2522. if k == "q" then
  2523.  
  2524.  
  2525.  
  2526. lightning2 = true
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532. l1 = Instance.new("Part",pchar)
  2533.  
  2534. l1.Size = Vector3.new(1,1,1)
  2535.  
  2536. l1.Transparency = 1
  2537.  
  2538. l1.CanCollide = false
  2539. l1:BreakJoints()
  2540.  
  2541. wait()
  2542. l1w = Instance.new("Weld",l1)
  2543.  
  2544. l1w.Part0 = l1
  2545.  
  2546. l1w.Part1 = char.Torso
  2547.  
  2548. l1w.C0 = CFrame.new(0,3,-7)
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555.  
  2556. top = Instance.new("Part",pchar)
  2557.  
  2558. top.Transparency = 0
  2559.  
  2560. top.Material = "Neon"
  2561.  
  2562. top.CanCollide = false
  2563.  
  2564. top.Size = Vector3.new(1,1,1)
  2565.  
  2566. top.BrickColor = BrickColor.new("Magenta")
  2567.  
  2568. top.TopSurface = 0
  2569.  
  2570. top.BottomSurface = 0
  2571. top:BreakJoints()
  2572.  
  2573. wait()
  2574. topw = Instance.new("Weld",top)
  2575.  
  2576. topw.Part0 = top
  2577.  
  2578. topw.Part1 = char.Torso
  2579.  
  2580. topw.C0 = CFrame.new(0,-7,0)
  2581.  
  2582. topm = Instance.new("SpecialMesh",top)
  2583.  
  2584. topm.MeshType = "Sphere"
  2585.  
  2586.  
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594. l2 = Instance.new("Part",pchar)
  2595.  
  2596. l2.Size = Vector3.new(1,1,1)
  2597.  
  2598. l2.Transparency = 1
  2599.  
  2600. l2.CanCollide = false
  2601. l2:BreakJoints()
  2602.  
  2603. wait()
  2604. l2w = Instance.new("Weld",l2)
  2605.  
  2606. l2w.Part0 = l2
  2607.  
  2608. l2w.Part1 = char.Torso
  2609.  
  2610. l2w.C0 = CFrame.new(0,3,7)
  2611.  
  2612.  
  2613. l2:BreakJoints()
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622. l3 = Instance.new("Part",pchar)
  2623.  
  2624. l3.Size = Vector3.new(1,1,1)
  2625.  
  2626. l3.Transparency = 1
  2627.  
  2628. l3.CanCollide = false
  2629. l3:BreakJoints()
  2630.  
  2631. wait()
  2632. l3w = Instance.new("Weld",l3)
  2633.  
  2634.  
  2635.  
  2636. l3w.Part0 = l3
  2637.  
  2638. l3w.Part1 = char.Torso
  2639.  
  2640. l3w.C0 = CFrame.new(-7,3,0)
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646. l4 = Instance.new("Part",pchar)
  2647.  
  2648. l4.Transparency = 1
  2649.  
  2650. l4.CanCollide = false
  2651.  
  2652. l4.Size = Vector3.new(1,1,1)
  2653. l4:BreakJoints()
  2654.  
  2655. wait()
  2656. l4w = Instance.new("Weld",l4)
  2657.  
  2658. l4w.Part0 = l4
  2659.  
  2660. l4w.Part1 = char.Torso
  2661.  
  2662. l4w.C0 = CFrame.new(7,3,0)
  2663.  
  2664.  
  2665.  
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672. l5 = Instance.new("Part",pchar)
  2673.  
  2674. l5.Size = Vector3.new(1,1,1)
  2675.  
  2676. l5.Transparency = 1
  2677.  
  2678. l5.CanCollide = false
  2679. l5:BreakJoints()
  2680.  
  2681. wait()
  2682. l5w = Instance.new("Weld",l5)
  2683.  
  2684. l5w.Part0 = l5
  2685.  
  2686. l5w.Part1 = char.Torso
  2687.  
  2688. l5w.C0 = CFrame.new(0,2,-7)
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700. l6 = Instance.new("Part",pchar)
  2701.  
  2702. l6.Size = Vector3.new(1,1,1)
  2703.  
  2704. l6.Transparency = 1
  2705.  
  2706. l6.CanCollide = false
  2707.  
  2708. l6:BreakJoints()
  2709.  
  2710. wait()
  2711. l6w = Instance.new("Weld",l6)
  2712.  
  2713. l6w.Part0 = l6
  2714.  
  2715. l6w.Part1 = char.Torso
  2716.  
  2717. l6w.C0 = CFrame.new(0,2,7)
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728. l7 = Instance.new("Part",pchar)
  2729.  
  2730. l7.Size = Vector3.new(1,1,1)
  2731.  
  2732.  
  2733.  
  2734.  
  2735. l7.Transparency = 1
  2736.  
  2737. l7.CanCollide = false
  2738. l7:BreakJoints()
  2739. wait()
  2740. l7w = Instance.new("Weld",l7)
  2741. l7w.Part0 = l7
  2742.  
  2743. l7w.Part1 = char.Torso
  2744.  
  2745. l7w.C0 = CFrame.new(-7,2,0)
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751. l8 = Instance.new("Part",pchar)
  2752.  
  2753. l8.Transparency = 1
  2754.  
  2755. l8.CanCollide = false
  2756.  
  2757. l8.Size = Vector3.new(1,1,1)
  2758. l8:BreakJoints()
  2759.  
  2760. wait()
  2761. l8w = Instance.new("Weld",l8)
  2762.  
  2763. l8w.Part0 = l8
  2764.  
  2765. l8w.Part1 = char.Torso
  2766.  
  2767. l8w.C0 = CFrame.new(7,2,0)
  2768.  
  2769. repeat wait()
  2770.  
  2771. for i,v in pairs(workspace:children()) do
  2772.  
  2773. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  2774.  
  2775. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  2776.  
  2777. if (v:findFirstChild("Torso").Position - player.Character.Torso.Position).magnitude < 9 then
  2778.  
  2779. if v.Name ~= p.Name then
  2780.  
  2781. v.Humanoid:TakeDamage(10)
  2782.  
  2783. v.Humanoid.PlatformStand = true
  2784.  
  2785.  
  2786.  
  2787. end
  2788.  
  2789. end
  2790.  
  2791. end
  2792.  
  2793. end
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805. end
  2806.  
  2807. s1 = Instance.new("Sound",rod)
  2808.  
  2809. s1.SoundId = "rbxassetid://207825136"
  2810.  
  2811. s1.Pitch = 0.4
  2812.  
  2813. wait() s1:Play()
  2814.  
  2815. Lightning(
  2816.  
  2817. top.CFrame.p,l5.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2818.  
  2819. )
  2820.  
  2821. Lightning(
  2822.  
  2823. top.CFrame.p,l6.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2824.  
  2825. )
  2826.  
  2827. Lightning(
  2828.  
  2829. top.CFrame.p,l7.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2830.  
  2831. )
  2832.  
  2833. Lightning(
  2834.  
  2835. top.CFrame.p,l8.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2836.  
  2837. )
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844.  
  2845. Lightning(
  2846.  
  2847. l5.CFrame.p,l1.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2848.  
  2849. )
  2850.  
  2851. Lightning(
  2852.  
  2853. l6.CFrame.p,l2.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2854.  
  2855. )
  2856.  
  2857. Lightning(
  2858.  
  2859. l7.CFrame.p,l3.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2860.  
  2861. )
  2862.  
  2863. Lightning(
  2864.  
  2865. l8.CFrame.p,l4.CFrame.p,math.random(5,10),math.random(-1,1),BrickColor.new("Magenta"),.2
  2866.  
  2867. )
  2868.  
  2869. until lightning2 == false
  2870.  
  2871. end
  2872.  
  2873.  
  2874.  
  2875. end)
  2876.  
  2877. m.KeyUp:connect(function(k)
  2878.  
  2879. if k == "q" then
  2880.  
  2881. lightning2 = false
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887. l1:Remove()
  2888.  
  2889. l2:Remove()
  2890.  
  2891. l3:Remove()
  2892.  
  2893. l4:Remove()
  2894.  
  2895. top:Remove()
  2896.  
  2897. l5:Remove()
  2898.  
  2899. l6:Remove()
  2900.  
  2901. l7:Remove()
  2902.  
  2903. l8:Remove()
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909. end
  2910.  
  2911. end)
  2912.  
  2913. LerpTo.LeftArm = CFrame.new(-1,0.5,0) * CFrame.Angles(math.rad(90),0,0)
  2914.  
  2915.  
  2916.  
  2917.  
  2918. function hum()
  2919.  
  2920.  
  2921. humState = humanoid:GetState()
  2922. if humState == Enum.HumanoidStateType.Jumping then
  2923. if jum == true then
  2924. jum = false
  2925. yes = false
  2926. rng = Instance.new("Part",pchar)
  2927.  
  2928. rng:BreakJoints()
  2929.  
  2930. rng.Size = Vector3.new(1,1,1)
  2931.  
  2932. rng.Anchored = true
  2933. rng.CanCollide = false
  2934.  
  2935. rng.BrickColor = BrickColor.new("Magenta")
  2936.  
  2937. rng.CFrame = rod.CFrame * CFrame.new(2,2,4) * CFrame.Angles(0,0,math.rad(90))
  2938.  
  2939. rngm = Instance.new("SpecialMesh",rng)
  2940.  
  2941. rngm.MeshType = "FileMesh"
  2942.  
  2943. rng.Transparency =0
  2944.  
  2945. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2946.  
  2947. rngm.Scale = Vector3.new(1,1,1)
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954. for i = 1,10,1 do wait()
  2955.  
  2956. rngm.Scale = Vector3.new(1+i*1.5,1+i*1.5,0.1)
  2957.  
  2958. rng.Transparency = i/10
  2959.  
  2960.  
  2961. end
  2962.  
  2963. end
  2964. else
  2965. if jum == false
  2966. then
  2967.  
  2968. jum = true
  2969. end
  2970. end
  2971. end
  2972.  
  2973.  
  2974.  
  2975.  
  2976.  
  2977. RunService = game:service'RunService'
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987. RunService.RenderStepped:connect(function()
  2988.  
  2989.  
  2990.  
  2991. hum()
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997. updateanims()
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023. LeftShoulder.C0 = Lerp.CFrame(LeftShoulder.C0,LerpTo.LeftArm,as)
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033. RightShoulder.C0 = Lerp.CFrame(RightShoulder.C0,LerpTo.RightArm,as)
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049. rw.C0 = Lerp.CFrame(rw.C0,LerpTo.Staff,as)
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.  
  3070.  
  3071.  
  3072.  
  3073.  
  3074.  
  3075.  
  3076.  
  3077. end)
  3078.  
  3079.  
  3080.  
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086.  
  3087. -----------
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113.  
  3114.  
  3115.  
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125. ----------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement