Advertisement
memberhero

Water Powers

Feb 9th, 2018
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 106.99 KB | None | 0 0
  1. --Edit by basstracker1970
  2. -------------------------
  3. ----SCRIPT NAME
  4. -----WATER POWERS
  5. -------------------------
  6. wait(0.016666666666666666)
  7. script.Name = "Water"
  8. local Player = game.Players.LocalPlayer
  9. repeat
  10. wait()
  11. until Player
  12. script.Parent = Player.PlayerGui or nil
  13. local Character = Player.Character
  14. repeat
  15. wait()
  16. until Character
  17. local AnimTable = {}
  18. AnimTable.CWK1 = {}
  19. AnimTable.CWK2 = {}
  20. AnimTable.CWK3 = {}
  21. AnimTable.CWK4 = {}
  22. AnimTable.CWSC = {}
  23. AnimTable.CWGC = {}
  24. AnimTable.CWRT = {}
  25. AnimTable.CWL = {}
  26. AnimTable.CWK1.Animation = function(i)
  27. local tab = nil
  28. if i == 1 then
  29. tab = {CFrame.new(-0.151892349, -0.329287052, 0.754517555, 0.584844947, 0.131915063, -0.800346732, 0.0724199936, 0.974255383, 0.213499248, 0.807905853, -0.182825044, 0.560235023),CFrame.new(-5.03659248e-06, 1.49999261, -1.16154552e-05, 0.603224099, 0.012252152, 0.79747808, 0.118606463, 0.987386286, -0.104885325, -0.788704515, 0.157855287, 0.59416163),CFrame.new(1.05401742, 0.554059744, -0.697565079, 0.638667285, 0.664626837, 0.387782931, 0.514997482, 0.00524531305, -0.857175827, -0.571735978, 0.747157276, -0.338931054),CFrame.new(-1.71369791, 0.300288439, 0.236029267, 0.654559433, 0.684759259, 0.320401371, -0.526441276, 0.717009068, -0.456900299, -0.542597234, 0.130395889, 0.829810441),CFrame.new(0.749743402, -1.87152135, 0.371503592, 0.96197176, -0.268669903, 0.0492658615, 0.217973083, 0.863760114, 0.454319954, -0.164615959, -0.426304102, 0.889475465),CFrame.new(-0.831221521, -1.61746895, -0.399951816, 0.793136895, 0.10192845, 0.600453854, -0.0869162083, 0.994748235, -0.0540536046, -0.602809906, -0.00931724533, 0.797830582),}
  30. elseif i == 2 then
  31. tab = {CFrame.new(0.182739869, -0.41835925, -1.2810837, 0.258070022, -0.0312849768, 0.965619624, -0.390427053, 0.910850942, 0.133855492, -0.88372314, -0.411548078, 0.222848833),CFrame.new(-0.0622196794, 1.48740911, -0.102801263, 0.243645445, -0.179999202, -0.953014791, 0.0558240339, 0.983600557, -0.171504185, 0.968256891, -0.011414919, 0.249697953),CFrame.new(1.81909776, 1.13299108, -0.111945078, 0.337379634, -0.70178616, 0.627432823, 0.188995928, -0.602444053, -0.775462866, 0.922201753, 0.380207241, -0.0706176311),CFrame.new(-1.66165102, 0.259617269, -0.0725134909, 0.549519658, 0.529774427, 0.646039605, 0.505683303, 0.404630661, -0.761943877, -0.665065825, 0.745394647, -0.045545578),CFrame.new(1.1680038, -1.3174957, -0.387464821, 0.686599553, -0.35263887, -0.63578856, 0.348167896, 0.927179456, -0.138265491, 0.638247848, -0.126428112, 0.759378552),CFrame.new(-0.499984294, -2.00000286, 1.90734863e-05, 0.933668137, -0.0367877483, -0.356245577, 0.112942785, 0.974199057, 0.195407361, 0.339865029, -0.222681731, 0.913732111),}
  32. end
  33. return tab
  34. end
  35. AnimTable.CWK2.Animation = function(i)
  36. local tab = nil
  37. if i == 1 then
  38. tab = {CFrame.new(0.0169525743, -0.235020161, -0.144565806, 0.571511805, -0.030085817, 0.820042193, -0.143784955, 0.98019582, 0.136169568, -0.8078987, -0.195732221, 0.555867553),CFrame.new(0.0347129852, 1.49305212, -0.031981267, 0.603456318, -0.0946195722, -0.791765869, 0.0141706355, 0.994054079, -0.107993342, 0.797276258, 0.05394914, 0.60120517),CFrame.new(1.57822013, 0.463855296, -0.0422436893, 0.345997751, -0.680482566, 0.645928681, 0.88501668, 0.00814169645, -0.465489447, 0.311498821, 0.732714832, 0.60505408),CFrame.new(-1.20824015, 0.654491067, -0.610135734, 0.713281512, -0.648434043, -0.266013414, -0.364006251, -0.0183877051, -0.931215048, 0.598940074, 0.761048913, -0.249149606),CFrame.new(1.08711112, -1.70764565, -0.14473176, 0.672178984, -0.0714213252, -0.736936212, 0.163160399, 0.985156417, 0.0533448011, 0.7221874, -0.156096041, 0.673854589),CFrame.new(-0.80052346, -1.9978534, 0.166995674, 0.872917593, 0.180595472, -0.453215718, -0.103238873, 0.976305544, 0.19019188, 0.476824224, -0.119231403, 0.870877147),}
  39. elseif i == 2 then
  40. tab = {CFrame.new(-0.0533855557, -0.572838783, -1.16382635, 0.18029806, 0.0521140583, -0.982230484, 0.163907066, 0.983041465, 0.08224383, 0.969859362, -0.175822914, 0.168698579),CFrame.new(2.08616257e-06, 1.49998808, 7.22054392e-06, 0.192786857, 0.0351766944, 0.980610013, 0.051910188, 0.997592211, -0.045991376, -0.979866624, 0.0597701669, 0.190496609),CFrame.new(1.4964211, 0.776764452, -0.645752668, 0.541926682, 0.255059987, 0.800787151, 0.765540302, 0.243360877, -0.595586896, -0.346790552, 0.935799062, -0.0633749366),CFrame.new(-1.96320701, 0.82928896, -0.311049968, 0.446935505, 0.798071802, -0.404141247, -0.336157113, -0.268831253, -0.902622998, -0.829003692, 0.53926909, 0.148127288),CFrame.new(0.83440876, -1.85007596, 0.248660281, 0.966570616, -0.249437988, -0.0593463257, 0.256400645, 0.940319359, 0.223737448, -4.14252281e-06, -0.231474444, 0.972841024),CFrame.new(-0.788819671, -1.47034681, -0.250946462, 0.906865537, 0.0842726827, 0.412908196, -0.179601371, 0.963652849, 0.197779283, -0.381232738, -0.253518105, 0.88903898),}
  41. end
  42. return tab
  43. end
  44. AnimTable.CWK3.Animation = function(i)
  45. local tab = nil
  46. if i == 1 then
  47. tab = {CFrame.new(0, -0.361637652, -0.029531084, 1, 0, 0, 0, 0.933548212, 0.358452082, 0, -0.358452082, 0.933548212),CFrame.new(0, 1.49998784, -3.09944153e-06, 1, 0, 0, 0, 0.970727801, -0.240183622, 0, 0.240186483, 0.970731199),CFrame.new(1.28821671, 0.651483297, -0.531697631, 0.640799224, 0.279139131, 0.715162814, 0.766010404, -0.294406831, -0.571448088, 0.0510352999, 0.914005518, -0.402479172),CFrame.new(-1.22099972, 0.627348781, -0.591412902, 0.735757947, -0.225001752, -0.638775826, -0.673497736, -0.342170328, -0.655225575, -0.0711432546, 0.912301362, -0.403292656),CFrame.new(0.745405793, -1.67590761, -0.784821332, 0.98034966, -0.105031118, -0.166982457, 0.0934308618, 0.992732704, -0.0758888423, 0.173739091, 0.0587958694, 0.983035088),CFrame.new(-0.68275696, -1.84196138, -0.00274020433, 0.965771019, 0.065590404, 0.250966489, -0.15498507, 0.921729922, 0.355519086, -0.208004653, -0.382246107, 0.900345564),}
  48. elseif i == 2 then
  49. tab = {CFrame.new(0, -0.726985335, -1.17034996, 1, 0, 0, 0, 0.847732604, 0.53042376, 0, -0.53042376, 0.847732604),CFrame.new(0, 1.49056506, 0.129294991, 1, 0, 0, 0, 0.927246869, -0.374450386, 0, 0.374450386, 0.927246869),CFrame.new(0.754566193, 1.3271668, -1.49496746, 0.342615873, 0.218127131, 0.913802564, 0.855120122, -0.47523585, -0.207173735, 0.389081538, 0.852391958, -0.349348038),CFrame.new(-0.724712253, 1.21620834, -1.37240911, 0.22590661, -0.141220376, -0.963858366, -0.867955625, -0.478408575, -0.133334816, -0.442288548, 0.866707563, -0.230648667),CFrame.new(0.6815207, -1.30883491, -0.762573123, 0.950795174, -0.189999074, -0.244722918, 0.107529856, 0.943161607, -0.314472526, 0.290561259, 0.27268517, 0.917180538),CFrame.new(-0.619698584, -1.7257967, 0.025360465, 0.948287368, 0.0672112107, 0.310216159, -0.189812005, 0.90340054, 0.384498984, -0.254406661, -0.423498005, 0.869440556),}
  50. end
  51. return tab
  52. end
  53. AnimTable.CWK4.Animation = function(i)
  54. local tab = nil
  55. if i == 1 then
  56. tab = {CFrame.new(0.108305186, -0.5671826, -0.270842731, 0.791199803, 0.228782654, -0.567152083, 0.156043977, 0.821168542, 0.548937619, 0.591314852, -0.522819936, 0.614008248),CFrame.new(1.34110451e-06, 1.49998486, 1.10268593e-06, 0.715822697, 0.0646023899, 0.695287466, 0.153755367, 0.956691027, -0.247187138, -0.681144178, 0.283846259, 0.674888253),CFrame.new(1.7935611, 0.620764732, -0.226760596, 0.453575313, -0.75861299, 0.46773088, 0.882333398, 0.45616284, -0.115782052, -0.125528693, 0.465206921, 0.876254797),CFrame.new(-0.507757127, 0.781420052, -0.945713162, 0.730485141, -0.663531542, -0.161620587, -0.579398513, -0.476861387, -0.660986781, 0.361514211, 0.576482773, -0.732787907),CFrame.new(0.362624645, -1.99315166, -0.0309713781, 0.974365175, 0.0679960251, -0.214450657, -0.0484935045, 0.99430263, 0.0949312598, 0.219683811, -0.0820981562, 0.972110987),CFrame.new(-0.955591679, -1.3094492, -0.606700838, 0.885669172, 0.230244011, 0.403209597, -0.0947392881, 0.939735055, -0.328515768, -0.454548955, 0.252756476, 0.854107499),}
  57. end
  58. return tab
  59. end
  60. AnimTable.CWSC.Animation = function(i)
  61. local tab = nil
  62. if i == 1 then
  63. tab = {CFrame.new(0, -0.364582121, -0.135828197, 1, 0, 0, 0, 0.962674499, 0.270662129, 0, -0.270662129, 0.962674499),CFrame.new(0, 1.49255788, -0.0699044913, 1, 0, 0, 0, 0.994376719, 0.105947614, 0, -0.105947614, 0.994376719),CFrame.new(1.66944075, 0.485801011, 0.270507157, 0.695273817, -0.717601478, 0.040536806, 0.692589104, 0.653832257, -0.304671884, 0.192127883, 0.239905834, 0.951596737),CFrame.new(-1.73298907, 0.635870576, 0.124417752, 0.601695597, 0.757607281, -0.252969623, -0.798568368, 0.576892674, -0.171708018, 0.0158490837, 0.305329472, 0.952114999),CFrame.new(0.726698458, -1.90689051, 0.227306962, 0.956722081, -0.15508312, -0.246236444, 0.205824137, 0.958791733, 0.19584389, 0.205717444, -0.238049537, 0.9492172),CFrame.new(-0.651564598, -1.54221046, -0.72909677, 0.99166882, 0.0876967236, 0.0943519846, -0.0899289995, 0.995754182, 0.019664675, -0.0922268331, -0.0279857218, 0.995344758),}
  64. elseif i == 2 then
  65. tab = {CFrame.new(0, -0.496262431, -0.692510605, 1, 0, 0, 0, 0.927928627, 0.372757912, 0, -0.372757882, 0.927928627),CFrame.new(0, 1.48039484, 0.0677205324, 1, 0, 0, 0, 0.960591495, -0.277968138, 0, 0.277967989, 0.960591376),CFrame.new(1.11488914, 0.815483928, -1.10680556, 0.209865034, 0.152184024, 0.965813994, 0.930936098, -0.333039522, -0.149809003, 0.298855752, 0.930550814, -0.211566925),CFrame.new(-1.0467087, 0.771853447, -1.13966465, 0.377811044, -0.11833059, -0.918290079, -0.892658591, -0.309855908, -0.327337593, -0.245803595, 0.943391323, -0.222695813),CFrame.new(0.692413867, -1.95051146, 0.33237341, 0.981423736, -0.114954025, -0.153600171, 0.165802762, 0.911004305, 0.377598405, 0.0965239629, -0.396051317, 0.913141072),CFrame.new(-0.607094049, -1.45949244, -0.613913655, 0.96013099, 0.098710306, 0.261559606, -0.0547276288, 0.983854294, -0.170405924, -0.274157286, 0.149296939, 0.950029433),}
  66. elseif i == 3 then
  67. tab = {CFrame.new(0, -0.56692934, -0.144851759, 1, 0, 0, 0, 0.898015976, 0.439963013, 0, -0.439963013, 0.898015976),CFrame.new(0, 1.48041141, 0.0677120537, 1, 0, 0, 0, 0.984551787, -0.175124913, 0, 0.175124913, 0.984551787),CFrame.new(1.22292352, 0.774057508, -0.633307338, 0.273979962, 0.0957243443, 0.956959724, 0.917671144, -0.323760033, -0.23034595, 0.287775606, 0.941284418, -0.176547229),CFrame.new(-1.16208148, 0.697517395, -0.554476976, 0.386275351, -0.0126850344, -0.922296524, -0.864113152, -0.354735911, -0.357029378, -0.32264185, 0.934881091, -0.147987261),CFrame.new(0.689520895, -2.01812053, 0.477963388, 0.981428683, -0.0952722281, -0.16652441, 0.165802121, 0.857892811, 0.486344337, 0.0965253115, -0.504919529, 0.857755601),CFrame.new(-0.565395117, -1.46912003, -0.465970367, 0.960126042, 0.0697152466, 0.270735562, -0.054726094, 0.996541619, -0.0625339448, -0.274158806, 0.0452241898, 0.960620522),}
  68. elseif i == 4 then
  69. tab = {CFrame.new(0, -0.496262431, -0.692510605, 1, 0, 0, 0, 0.927928627, 0.372757912, 0, -0.372757882, 0.927928627),CFrame.new(0, 1.48039484, 0.0677205324, 1, 0, 0, 0, 0.960591495, -0.277968138, 0, 0.277967989, 0.960591376),CFrame.new(1.11488914, 0.815483928, -1.10680556, 0.209865034, 0.152184024, 0.965813994, 0.930936098, -0.333039522, -0.149809003, 0.298855752, 0.930550814, -0.211566925),CFrame.new(-1.0467087, 0.771853447, -1.13966465, 0.377811044, -0.11833059, -0.918290079, -0.892658591, -0.309855908, -0.327337593, -0.245803595, 0.943391323, -0.222695813),CFrame.new(0.692413867, -1.95051146, 0.33237341, 0.981423736, -0.114954025, -0.153600171, 0.165802762, 0.911004305, 0.377598405, 0.0965239629, -0.396051317, 0.913141072),CFrame.new(-0.607094049, -1.45949244, -0.613913655, 0.96013099, 0.098710306, 0.261559606, -0.0547276288, 0.983854294, -0.170405924, -0.274157286, 0.149296939, 0.950029433),}
  70. end
  71. return tab
  72. end
  73. AnimTable.CWGC.Animation = function(i)
  74. local tab = nil
  75. if i == 1 then
  76. tab = {CFrame.new(0, -0.20566003, -0.229125962, 1, 0, 0, 0, 0.996707499, 0.0810819641, 0, -0.0810819641, 0.996707499),CFrame.new(0, 1.53752518, -0.0823089778, 1, 0, 0, 0, 0.98128736, 0.192549586, 0, -0.192549586, 0.98128736),CFrame.new(0.367357224, 0.802811444, -0.845572233, 0.433030277, 0.854264557, -0.287605375, 0.317789912, -0.443273693, -0.838163614, -0.843501329, 0.271552145, -0.463427633),CFrame.new(-0.225220516, 0.707535982, -0.951950192, 0.296291471, -0.864982784, 0.404989213, -0.152474418, -0.461428761, -0.873976648, 0.94284898, 0.197201133, -0.268605143),CFrame.new(0.695315897, -1.97602773, 0.0667629242, 0.939918995, -0.0831654817, -0.33111313, 0.115332983, 0.990205824, 0.0786822364, 0.321326435, -0.112143189, 0.940304995),CFrame.new(-0.6706056, -1.97898757, 0.0191945136, 0.986369133, 0.113543861, 0.119095795, -0.121454403, 0.990696847, 0.0613904595, -0.111017309, -0.075018391, 0.990983129),}
  77. elseif i == 2 then
  78. tab = {CFrame.new(0, -0.163508356, -0.0919264182, 1, 0, 0, 0, 0.997498453, -0.0706890374, 0, 0.0706890374, 0.997498453),CFrame.new(0, 1.52805173, -0.0722010434, 1, 0, 0, 0, 0.985189855, 0.171467766, 0, -0.171467766, 0.985189855),CFrame.new(1.96212697, 0.590567589, -0.0139259622, -0.00170227594, -0.999852419, 0.0170949753, 0.0990979075, -0.0171795227, -0.994930983, 0.99507767, 4.36324626e-07, 0.0991127566),CFrame.new(-1.91836369, 0.594181895, 0.0053161867, 0.0221584979, 0.999752164, -0.00238432339, -0.0635930747, -0.000970610301, -0.997975469, -0.997730255, 0.0222652815, 0.0635557398),CFrame.new(0.625418782, -1.95189548, 0.187241942, 0.985762239, -0.101031519, -0.134407952, 0.12330728, 0.97781229, 0.16935043, 0.1143158, -0.183512628, 0.976349115),CFrame.new(-0.677029312, -1.96199811, 0.177327394, 0.985256672, 0.0916881263, 0.144440278, -0.10757295, 0.988498628, 0.106295548, -0.133032948, -0.120266214, 0.983787894),}
  79. end
  80. return tab
  81. end
  82. AnimTable.CWRT.Animation = function(i)
  83. local tab = nil
  84. if i == 1 then
  85. tab = {CFrame.new(-0.00795292854, -0.384064764, 0.11299248, 0.528615892, -2.36309798e-08, -0.848861217, -0.213059962, 0.967988372, -0.132679999, 0.821687818, 0.25099507, 0.511694014),CFrame.new(-2.68220901e-07, 1.49999702, -8.19563866e-07, 0.544339955, -0.231866151, 0.806186795, -3.95812094e-07, 0.961043119, 0.27640456, -0.838870347, -0.150457576, 0.523131788),CFrame.new(0.838785768, 0.280902296, -0.742511868, -0.0107515994, 0.833042622, 0.553106189, 0.883091927, 0.2673904, -0.385553896, -0.469077826, 0.484298736, -0.738526762),CFrame.new(-1.64132452, 0.580213428, -0.0472284108, 0.793852389, 0.567350328, -0.218889222, -0.374160767, 0.171954319, -0.911282361, -0.479377389, 0.805323124, 0.348786443),CFrame.new(1.21653938, -1.56291246, 0.363252759, 0.661763966, -0.546788573, 0.512925863, -0.0134953298, 0.675364316, 0.737361789, -0.749592125, -0.494881511, 0.439552128),CFrame.new(-0.657982945, -1.85949433, 0.0841338634, 0.646389961, -0.164046198, 0.745164096, -0.107228547, 0.947391689, 0.301581144, -0.755435526, -0.274841726, 0.594793916),}
  86. elseif i == 2 then
  87. tab = {CFrame.new(0.16083312, -0.900188684, -1.75947809, 0.726101041, -0.505251586, 0.466367006, 0, 0.678265154, 0.734817266, -0.687588036, -0.533551574, 0.49248904),CFrame.new(0.0884211957, 1.51241243, 0.124472156, 0.63643682, 0.00230714679, -0.771329939, -0.333800852, 0.902332187, -0.272735327, 0.695358098, 0.431041241, 0.575051188),CFrame.new(1.71366334, 1.13957942, -0.668300152, 0.152003616, -0.498493373, 0.853464961, 0.623463035, -0.621673763, -0.474149913, 0.766937971, 0.604173183, 0.216295466),CFrame.new(-1.67867589, 0.544300318, 0.789388001, 0.523349285, 0.65072459, 0.55015552, -0.816696227, 0.567272067, 0.105925977, -0.243159577, -0.504742444, 0.828320682),CFrame.new(0.619942009, -1.04847705, -0.730999351, 0.934003294, -0.177978769, -0.309777349, -0.0494688749, 0.794300199, -0.605508208, 0.3538239, 0.580870628, 0.733074486),CFrame.new(-0.870636225, -1.78253531, -0.225299925, 0.954659462, 0.189998358, 0.229182765, -0.184751749, 0.981784344, -0.0443439633, -0.233431846, -9.7155571e-06, 0.972373962),}
  88. elseif i == 3 then
  89. tab = {CFrame.new(-0.121742666, -0.620092452, -1.67943513, 0.304536849, -0.462613702, 0.832613885, 0, 0.874134839, 0.485683382, -0.952500522, -0.147908509, 0.266206264),CFrame.new(-2.84612179e-06, 1.49999666, -2.52239406e-05, 0.409379959, 0.00759518147, -0.912332416, -0.219797865, 0.971334934, -0.0905409157, 0.885492504, 0.237594351, 0.399314404),CFrame.new(2.02275109, 0.789430499, -0.368479878, 0.398971528, -0.907748222, 0.129710674, 0.0321411267, -0.127529055, -0.991314888, 0.916409016, 0.39967382, -0.0217106733),CFrame.new(-0.969641566, 0.679113448, -0.897032738, 0.307884723, -0.761709154, -0.570093095, -0.880669236, -0.00141075253, -0.47372973, 0.360040009, 0.647917628, -0.671248078),CFrame.new(0.918672383, -1.51448894, -0.351660371, 0.629525602, 0.163050026, -0.759679019, -0.104289874, 0.986617744, 0.125335708, 0.76994884, 0.000324860215, 0.638105631),CFrame.new(-1.23074341, -1.57264483, -0.209208816, 0.588421106, 0.583567441, -0.559651434, -0.38850674, 0.811085522, 0.437267751, 0.709100366, -0.039869234, 0.703979611),}
  90. elseif i == 4 then
  91. tab = {CFrame.new(0.203642905, -0.573814392, -1.77382731, 0.378717095, 0.447589993, -0.810084283, 0.0619900152, 0.861048877, 0.504729629, 0.923434258, -0.241366848, 0.298347801),CFrame.new(-1.17048621e-05, 1.49999046, -2.44379044e-06, 0.682091057, -0.100958988, 0.72426486, 0.241140395, 0.96607852, -0.0924322307, -0.690364599, 0.237696618, 0.683298647),CFrame.new(1.06078076, 0.80849582, -0.748311758, 0.647475243, 0.652814806, 0.393203586, 0.681715548, -0.265515596, -0.681737125, -0.340646327, 0.709460795, -0.616948664),CFrame.new(-1.89710116, 0.920234501, -0.557146072, 0.499809325, 0.839601517, -0.212747097, 0.0701171756, -0.284043074, -0.956246018, -0.86329478, 0.463021606, -0.20083788),CFrame.new(0.766288757, -1.9250567, 0.0748761296, 0.950739324, -0.223817587, 0.214477837, 0.177864999, 0.960524023, 0.213909984, -0.253887832, -0.165224522, 0.953017235),CFrame.new(-0.885928988, -1.43486702, -0.489391685, 0.785221577, 0.114686102, 0.608501673, 8.4489584e-06, 0.982696533, -0.185222626, -0.619214952, 0.145445943, 0.771633506),}
  92. elseif i == 5 then
  93. tab = {CFrame.new(0.16083312, -0.900188684, -1.75947809, 0.726101041, -0.505251586, 0.466367006, 0, 0.678265154, 0.734817266, -0.687588036, -0.533551574, 0.49248904),CFrame.new(0.0884211957, 1.51241243, 0.124472156, 0.63643682, 0.00230714679, -0.771329939, -0.333800852, 0.902332187, -0.272735327, 0.695358098, 0.431041241, 0.575051188),CFrame.new(1.71366334, 1.13957942, -0.668300152, 0.152003616, -0.498493373, 0.853464961, 0.623463035, -0.621673763, -0.474149913, 0.766937971, 0.604173183, 0.216295466),CFrame.new(-1.67867589, 0.544300318, 0.789388001, 0.523349285, 0.65072459, 0.55015552, -0.816696227, 0.567272067, 0.105925977, -0.243159577, -0.504742444, 0.828320682),CFrame.new(0.619942009, -1.04847705, -0.730999351, 0.934003294, -0.177978769, -0.309777349, -0.0494688749, 0.794300199, -0.605508208, 0.3538239, 0.580870628, 0.733074486),CFrame.new(-0.870636225, -1.78253531, -0.225299925, 0.954659462, 0.189998358, 0.229182765, -0.184751749, 0.981784344, -0.0443439633, -0.233431846, -9.7155571e-06, 0.972373962),}
  94. end
  95. return tab
  96. end
  97. AnimTable.CWL.Animation = function(i)
  98. local tab = nil
  99. if i == 1 then
  100. tab = {CFrame.new(0, -0.253685415, 0.0882429183, 1, 0, 0, 0, 0.977680862, -0.210095957, 0, 0.210095972, 0.977680862),CFrame.new(0, 1.4462862, 0.19295451, 1, 0, 0, 0, 0.913028777, -0.407895625, 0, 0.407895654, 0.913028777),CFrame.new(1.39243102, 0.182389453, 0.538144946, 0.918792963, -0.215456322, -0.330754012, 0.29881832, 0.927129626, 0.226138487, 0.257928908, -0.30660978, 0.916222394),CFrame.new(-1.04334688, 1.65674627, -0.587917089, 0.896540999, -0.238391459, 0.373341829, -0.103787318, -0.932421505, -0.3461487, 0.430630744, 0.271588296, -0.860696137),CFrame.new(0.718416214, -1.90937567, 0.00591564178, 0.979649544, -0.152851924, -0.130088702, 0.181671485, 0.950808108, 0.250917614, 0.0853361487, -0.269444734, 0.959227562),CFrame.new(-0.718678296, -1.90826964, 0.00448355079, 0.986484349, 0.122356676, 0.108984582, -0.143349126, 0.966632843, 0.212302253, -0.0793714821, -0.225055665, 0.971107781),}
  101. elseif i == 2 then
  102. tab = {CFrame.new(0.10013479, -0.143830299, -0.451942235, 0.847475171, 0, -0.530835092, 0, 1, 0, 0.530835092, 0, 0.847475171),CFrame.new(-1.34110451e-07, 1.49999225, -1.49011612e-07, 0.835998595, -0.0869612396, 0.541797101, -2.23467236e-08, 0.987362742, 0.158476844, -0.548731685, -0.132486418, 0.825433791),CFrame.new(1.40205204, 0.083444804, 0.452209771, 0.820468843, -0.193516105, -0.537942827, 0.320815116, 0.934691668, 0.153066322, 0.47318989, -0.298166364, 0.828968227),CFrame.new(-1.83595896, 0.962741494, 0.341777205, 0.358613282, 0.842321277, -0.402357757, -0.0719887093, -0.404788762, -0.911572158, -0.930706382, 0.355867088, -0.0845249146),CFrame.new(0.782407403, -1.96572101, 0.0062622726, 0.874029756, -0.119316503, 0.470994592, 0.0822863057, 0.991725862, 0.0985332951, -0.47885412, -0.0473646, 0.87661618),CFrame.new(-0.758317411, -1.87328815, -0.293276608, 0.750417113, -0.0308185779, 0.660242677, -1.17092007e-07, 0.99890995, 0.0466269515, -0.660964668, -0.0349894427, 0.749596238),}
  103. elseif i== 3 then
  104. tab = {CFrame.new(0.0698860288, -0.148965836, -0.967333913, 0.571148038, 0, -0.820847094, 0, 1, 0, 0.820847094, 0, 0.571148038),
  105. CFrame.new(-1.38580799e-06, 1.49999893, -7.15255737e-07, 0.511216879, -0.101910777, 0.853390336, 3.30062058e-08, 0.99294728, 0.118576318, -0.859453678, -0.0606181026, 0.507610321),
  106. CFrame.new(1.57670081, 0.339568764, 0.451578736, 0.818822086, -0.4255808, -0.385242105, 0.496872127, 0.861527085, 0.104351133, 0.287486672, -0.276861012, 0.916896701),
  107. CFrame.new(-1.80835927, 0.442021966, -0.510951519, 0.00182726979, 0.734531105, -0.678575575, -0.975862741, 0.149497747, 0.159197524, 0.218380421, 0.661904931, 0.717074811),
  108. CFrame.new(0.87394166, -1.9502691, -0.0853003263, 0.675905764, -0.144594952, 0.722665131, 0.0929364264, 0.989459693, 0.111053556, -0.731105566, -0.00789980963, 0.682219446),
  109. CFrame.new(-0.709277689, -1.91400969, 0.00511056185, 0.525712013, -0.0445016362, 0.849500775, 3.10972126e-07, 0.998635113, 0.0523138903, -0.850673854, -0.0275014136, 0.524986446),}
  110. end
  111. return tab
  112. end
  113. ANIMTABLETEMPLATE = function(i)
  114. local tab = nil
  115. if i == 1 then
  116. end
  117. return tab
  118. end
  119. wait(0.016666666666666666)
  120. Effects = {}
  121. local Player = game.Players.localPlayer
  122. local Mouse = Player:GetMouse()
  123. local Character = Player.Character
  124. local Humanoid = Character.Humanoid
  125. local Head = Character.Head
  126. local RootPart = Character.HumanoidRootPart
  127. local Torso = Character.Torso
  128. local LeftArm = Character["Left Arm"]
  129. local RightArm = Character["Right Arm"]
  130. local LeftLeg = Character["Left Leg"]
  131. local RightLeg = Character["Right Leg"]
  132. local Camera = game.Workspace.CurrentCamera
  133. local RootJoint = RootPart.RootJoint
  134. local Equipped = false
  135. local Attack = false
  136. local Anim = "Idle"
  137. local Idle = 0
  138. local Combo = 1
  139. local TorsoVelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  140. local Velocity = RootPart.Velocity.y
  141. local Sine = 0
  142. local Change = 1
  143. Humanoid.Animator.Parent = nil
  144. Character.Animate.Parent = nil
  145. local newMotor = function(part0, part1, c0, c1)
  146. local w = Instance.new("Motor", part0)
  147. w.Part0 = part0
  148. w.Part1 = part1
  149. w.C0 = c0
  150. w.C1 = c1
  151. return w
  152. end
  153. function clerp(a, b, t)
  154. return a:lerp(b, t)
  155. end
  156. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  157. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  158. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  159. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  160. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  161. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  162. RootJoint.C1 = CFrame.new(0, 0, 0)
  163. RootJoint.C0 = CFrame.new(0, 0, 0)
  164. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  165. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  166. local rarmc1 = RW.C1
  167. local larmc1 = LW.C1
  168. local rlegc1 = RH.C1
  169. local llegc1 = LH.C1
  170. local resetc1 = false
  171. local laser = false
  172. function PlayAnimationFromTable(table, speed, bool)
  173. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  174. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  175. RW.C0 = clerp(RW.C0, table[3], speed)
  176. LW.C0 = clerp(LW.C0, table[4], speed)
  177. RH.C0 = clerp(RH.C0, table[5], speed)
  178. LH.C0 = clerp(LH.C0, table[6], speed)
  179. if bool == true and resetc1 == false then
  180. resetc1 = true
  181. RootJoint.C1 = RootJoint.C1
  182. Torso.Neck.C1 = Torso.Neck.C1
  183. RW.C1 = rarmc1
  184. LW.C1 = larmc1
  185. RH.C1 = rlegc1
  186. LH.C1 = llegc1
  187. end
  188. end
  189. local co1 = 17
  190. local co2 = 20
  191. local co3 = 30
  192. local co4 = 60
  193. local cooldown1 = 0
  194. local cooldown2 = 0
  195. local cooldown3 = 0
  196. local cooldown4 = 0
  197. local skillcolorscheme = BrickColor.new("Cyan").Color
  198. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  199. function makeframe(par, trans, pos, size, color)
  200. local frame = Instance.new("Frame", par)
  201. frame.BackgroundTransparency = trans
  202. frame.BorderSizePixel = 0
  203. frame.Position = pos
  204. frame.Size = size
  205. frame.BackgroundColor3 = color
  206. return frame
  207. end
  208. function makelabel(par, text)
  209. local label = Instance.new("TextLabel", par)
  210. label.BackgroundTransparency = 1
  211. label.Size = UDim2.new(1, 0, 1, 0)
  212. label.Position = UDim2.new(0, 0, 0, 0)
  213. label.TextColor3 = Color3.new(255, 255, 255)
  214. label.TextStrokeTransparency = 0
  215. label.FontSize = Enum.FontSize.Size32
  216. label.Font = Enum.Font.Legacy
  217. label.BorderSizePixel = 0
  218. label.TextScaled = true
  219. label.Text = text
  220. end
  221. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  222. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  223. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  224. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  225. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  226. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  227. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  228. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  229. text1 = Instance.new("TextLabel", framesk1)
  230. text1.BackgroundTransparency = 1
  231. text1.Size = UDim2.new(1, 0, 1, 0)
  232. text1.Position = UDim2.new(0, 0, 0, 0)
  233. text1.TextColor3 = Color3.new(0, 255, 255)
  234. text1.TextStrokeTransparency = 0
  235. text1.FontSize = Enum.FontSize.Size18
  236. text1.Font = Enum.Font.Legacy
  237. text1.BorderSizePixel = 0
  238. text1.TextScaled = true
  239. text1.Text = [[
  240. [Z]
  241. Water Seeking Missles]]
  242. text2 = Instance.new("TextLabel", framesk2)
  243. text2.BackgroundTransparency = 1
  244. text2.Size = UDim2.new(1, 0, 1, 0)
  245. text2.Position = UDim2.new(0, 0, 0, 0)
  246. text2.TextColor3 = Color3.new(0, 255, 255)
  247. text2.TextStrokeTransparency = 0
  248. text2.FontSize = Enum.FontSize.Size18
  249. text2.Font = Enum.Font.Legacy
  250. text2.BorderSizePixel = 0
  251. text2.TextScaled = true
  252. text2.Text = [[
  253. [X]
  254. Water Field]]
  255. text3 = Instance.new("TextLabel", framesk3)
  256. text3.BackgroundTransparency = 1
  257. text3.Size = UDim2.new(1, 0, 1, 0)
  258. text3.Position = UDim2.new(0, 0, 0, 0)
  259. text3.TextColor3 = Color3.new(0, 255, 255)
  260. text3.TextStrokeTransparency = 0
  261. text3.FontSize = Enum.FontSize.Size18
  262. text3.Font = Enum.Font.Legacy
  263. text3.BorderSizePixel = 0
  264. text3.TextScaled = false
  265. text3.Text = [[
  266. [C]
  267. Water Rush]]
  268. text4 = Instance.new("TextLabel", framesk4)
  269. text4.BackgroundTransparency = 1
  270. text4.Size = UDim2.new(1, 0, 1, 0)
  271. text4.Position = UDim2.new(0, 0, 0, 0)
  272. text4.TextColor3 = Color3.new(0, 255, 255)
  273. text4.TextStrokeTransparency = 0
  274. text4.FontSize = Enum.FontSize.Size18
  275. text4.Font = Enum.Font.Legacy
  276. text4.BorderSizePixel = 0
  277. text4.TextScaled = true
  278. text4.Text = [[
  279. [V]
  280. Water Overflow Cannon]]
  281. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  282. ArtificialHB.Name = "Heartbeat"
  283. Player.PlayerGui:WaitForChild("Heartbeat")
  284. frame = 0.03333333333333333
  285. tf = 0
  286. allowframeloss = false
  287. tossremainder = false
  288. lastframe = tick()
  289. Player.PlayerGui.Heartbeat:Fire()
  290. local gg = false
  291. game:GetService("RunService").Heartbeat:connect(function(s, p)
  292. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  293. gg = true
  294. end
  295. if gg == true then
  296. return
  297. end
  298. tf = tf + s
  299. if tf >= frame then
  300. if allowframeloss then
  301. Player.PlayerGui.Heartbeat:Fire()
  302. lastframe = tick()
  303. else
  304. for i = 1, math.floor(tf / frame) do
  305. Player.PlayerGui.Heartbeat:Fire()
  306. end
  307. lastframe = tick()
  308. end
  309. if tossremainder then
  310. tf = 0
  311. else
  312. tf = tf - frame * math.floor(tf / frame)
  313. end
  314. end
  315. end)
  316. function swait(num)
  317. if num == 0 or num == nil then
  318. ArtificialHB.Event:wait()
  319. else
  320. for i = 0, num do
  321. ArtificialHB.Event:wait()
  322. end
  323. end
  324. end
  325. local RbxUtility = LoadLibrary("RbxUtility")
  326. local Create = RbxUtility.Create
  327. local Model = Create("Model")({
  328. Parent = Character,
  329. Name = "WeaponModel"
  330. })
  331. function RemoveOutlines(part)
  332. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  333. end
  334. CFuncs = {
  335. Part = {
  336. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  337. local Part = Create("Part")({
  338. Parent = Parent,
  339. Reflectance = Reflectance,
  340. Transparency = Transparency,
  341. CanCollide = false,
  342. Locked = true,
  343. BrickColor = BrickColor.new(tostring(BColor)),
  344. Name = Name,
  345. Size = Size,
  346. Material = Material
  347. })
  348. RemoveOutlines(Part)
  349. if Size == Vector3.new() then
  350. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  351. else
  352. Part.Size = Size
  353. end
  354. return Part
  355. end
  356. },
  357. Mesh = {
  358. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  359. local Msh = Create(Mesh)({
  360. Parent = Part,
  361. Offset = OffSet,
  362. Scale = Scale
  363. })
  364. if Mesh == "SpecialMesh" then
  365. Msh.MeshType = MeshType
  366. Msh.MeshId = MeshId
  367. end
  368. return Msh
  369. end
  370. },
  371. Weld = {
  372. Create = function(Parent, Part0, Part1, C0, C1)
  373. local Weld = Create("Weld")({
  374. Parent = Parent,
  375. Part0 = Part0,
  376. Part1 = Part1,
  377. C0 = C0,
  378. C1 = C1
  379. })
  380. return Weld
  381. end
  382. },
  383. Sound = {
  384. Create = function(id, par, vol, pit)
  385. coroutine.resume(coroutine.create(function()
  386. local S = Create("Sound")({
  387. Volume = vol,
  388. Pitch = pit or 1,
  389. SoundId = "rbxassetid://" .. id,
  390. Parent = par or workspace
  391. })
  392. wait()
  393. S:play()
  394. game:GetService("Debris"):AddItem(S, 10)
  395. end))
  396. end
  397. },
  398. ParticleEmitter = {
  399. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  400. local Particle = Create("ParticleEmitter")({
  401. Parent = Parent,
  402. Color = ColorSequence.new(Color1, Color2),
  403. LightEmission = LightEmission,
  404. Size = Size,
  405. Texture = Texture,
  406. Transparency = Transparency,
  407. ZOffset = ZOffset,
  408. Acceleration = Accel,
  409. Drag = Drag,
  410. LockedToPart = LockedToPart,
  411. VelocityInheritance = VelocityInheritance,
  412. EmissionDirection = EmissionDirection,
  413. Enabled = Enabled,
  414. Lifetime = LifeTime,
  415. Rate = Rate,
  416. Rotation = Rotation,
  417. RotSpeed = RotSpeed,
  418. Speed = Speed,
  419. VelocitySpread = VelocitySpread
  420. })
  421. return Particle
  422. end
  423. },
  424. CreateTemplate = {}
  425. }
  426. function RayCast(Position, Direction, Range, Ignore)
  427. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  428. end
  429. function FindNearestTorso(pos)
  430. local list = game.Workspace:children()
  431. local torso
  432. local dist = 1000
  433. local temp, human, temp2
  434. for x = 1, #list do
  435. temp2 = list[x]
  436. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  437. temp = temp2:findFirstChild("Torso")
  438. human = temp2:findFirstChild("Humanoid")
  439. if temp ~= nil and human ~= nil and human.Health > 0 and dist > temp.Position - pos.magnitude then
  440. local dohit = true
  441. if dohit == true then
  442. torso = temp
  443. dist = temp.Position - pos.magnitude
  444. end
  445. end
  446. end
  447. end
  448. return torso, dist
  449. end
  450. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  451. if hit.Parent == nil then
  452. return
  453. end
  454. local h = hit.Parent:FindFirstChild("Humanoid")
  455. for _, v in pairs(hit.Parent:children()) do
  456. if v:IsA("Humanoid") then
  457. h = v
  458. end
  459. end
  460. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  461. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  462. return
  463. end
  464. local c = Create("ObjectValue")({
  465. Name = "creator",
  466. Value = game:service("Players").LocalPlayer,
  467. Parent = h
  468. })
  469. game:GetService("Debris"):AddItem(c, 0.5)
  470. if HitSound ~= nil and HitPitch ~= nil then
  471. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  472. end
  473. local Damage = math.random(minim, maxim)
  474. local blocked = false
  475. local block = hit.Parent:findFirstChild("Block")
  476. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  477. blocked = true
  478. block.Value = block.Value - 1
  479. print(block.Value)
  480. end
  481. if blocked == false then
  482. h.Health = h.Health - Damage
  483. if laser == false then
  484. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Cyan").Color)
  485. else
  486. end
  487. else
  488. h.Health = h.Health - Damage / 2
  489. if laser == false then
  490. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Cyan").Color)
  491. else
  492. end
  493. end
  494. if Type == "Knockdown" then
  495. local hum = hit.Parent.Humanoid
  496. hum.PlatformStand = true
  497. coroutine.resume(coroutine.create(function(HHumanoid)
  498. swait(1)
  499. HHumanoid.PlatformStand = false
  500. end), hum)
  501. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  502. local bodvol = Create("BodyVelocity")({
  503. velocity = angle * knockback,
  504. P = 5000,
  505. maxForce = Vector3.new(8000, 8000, 8000),
  506. Parent = hit
  507. })
  508. local rl = Create("BodyAngularVelocity")({
  509. P = 3000,
  510. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  511. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  512. Parent = hit
  513. })
  514. game:GetService("Debris"):AddItem(bodvol, 0.5)
  515. game:GetService("Debris"):AddItem(rl, 0.5)
  516. elseif Type == "Normal" then
  517. local vp = Create("BodyVelocity")({
  518. P = 500,
  519. maxForce = Vector3.new(math.huge, 0, math.huge),
  520. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  521. })
  522. if knockback > 0 then
  523. vp.Parent = hit.Parent.Torso
  524. end
  525. game:GetService("Debris"):AddItem(vp, 0.5)
  526. elseif Type == "Up" then
  527. local bodyVelocity = Create("BodyVelocity")({
  528. velocity = Vector3.new(0, 20, 0),
  529. P = 5000,
  530. maxForce = Vector3.new(8000, 8000, 8000),
  531. Parent = hit
  532. })
  533. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  534. elseif Type == "DarkUp" then
  535. coroutine.resume(coroutine.create(function()
  536. for i = 0, 1, 0.1 do
  537. swait()
  538. Effects.Block.Create(BrickColor.new("Cyan"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  539. end
  540. end))
  541. local bodyVelocity = Create("BodyVelocity")({
  542. velocity = Vector3.new(0, 20, 0),
  543. P = 5000,
  544. maxForce = Vector3.new(8000, 8000, 8000),
  545. Parent = hit
  546. })
  547. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  548. elseif Type == "Snare" then
  549. local bp = Create("BodyPosition")({
  550. P = 2000,
  551. D = 100,
  552. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  553. position = hit.Parent.Torso.Position,
  554. Parent = hit.Parent.Torso
  555. })
  556. game:GetService("Debris"):AddItem(bp, 1)
  557. elseif Type == "Freeze" then
  558. local BodPos = Create("BodyPosition")({
  559. P = 50000,
  560. D = 1000,
  561. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  562. position = hit.Parent.Torso.Position,
  563. Parent = hit.Parent.Torso
  564. })
  565. local BodGy = Create("BodyGyro")({
  566. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  567. P = 20000,
  568. Parent = hit.Parent.Torso,
  569. cf = hit.Parent.Torso.CFrame
  570. })
  571. hit.Parent.Torso.Anchored = true
  572. coroutine.resume(coroutine.create(function(Part)
  573. swait(1.5)
  574. Part.Anchored = false
  575. end), hit.Parent.Torso)
  576. game:GetService("Debris"):AddItem(BodPos, 3)
  577. game:GetService("Debris"):AddItem(BodGy, 3)
  578. end
  579. local debounce = Create("BoolValue")({
  580. Name = "DebounceHit",
  581. Parent = hit.Parent,
  582. Value = true
  583. })
  584. game:GetService("Debris"):AddItem(debounce, Delay)
  585. c = Instance.new("ObjectValue")
  586. c.Name = "creator"
  587. c.Value = Player
  588. c.Parent = h
  589. game:GetService("Debris"):AddItem(c, 0.5)
  590. end
  591. end
  592. function ShowDamage(Pos, Text, Time, Color)
  593. local Rate = 0.03333333333333333
  594. local Pos = Pos or Vector3.new(0, 0, 0)
  595. local Text = Text or ""
  596. local Time = Time or 2
  597. local Color = Color or Color3.new(0, 255, 255)
  598. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  599. EffectPart.Anchored = true
  600. local BillboardGui = Create("BillboardGui")({
  601. Size = UDim2.new(3, 0, 3, 0),
  602. Adornee = EffectPart,
  603. Parent = EffectPart
  604. })
  605. local TextLabel = Create("TextLabel")({
  606. BackgroundTransparency = 1,
  607. Size = UDim2.new(1, 0, 1, 0),
  608. Text = Text,
  609. Font = "SciFi",
  610. TextColor3 = Color,
  611. TextScaled = true,
  612. Parent = BillboardGui
  613. })
  614. game.Debris:AddItem(EffectPart, Time)
  615. EffectPart.Parent = game:GetService("Workspace")
  616. delay(0, function()
  617. local Frames = Time / Rate
  618. for Frame = 1, Frames do
  619. wait(Rate)
  620. local Percent = Frame / Frames
  621. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  622. TextLabel.TextTransparency = Percent
  623. end
  624. if EffectPart and EffectPart.Parent then
  625. EffectPart:Destroy()
  626. end
  627. end)
  628. end
  629. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  630. for _, c in pairs(workspace:children()) do
  631. local hum = c:findFirstChild("Humanoid")
  632. if hum ~= nil then
  633. local head = c:findFirstChild("Torso")
  634. if head ~= nil then
  635. local targ = head.Position - Part.Position
  636. local mag = targ.magnitude
  637. if Magnitude >= mag and c.Name ~= Player.Name then
  638. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, "rbxassetid://" .. HitSound, HitPitch)
  639. end
  640. end
  641. end
  642. end
  643. end
  644. HandleR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "HandleR", Vector3.new(1, 0.400000006, 1))
  645. HandleRWeld = CFuncs.Weld.Create(Model, Character["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00723838806, 0.675707221, 0.0134029388, 1, -4.37116974E-8, -8.74225918E-8, 4.37112853E-8, 0.999997616, -3.53899009E-6, 8.74228689E-8, 3.53899031E-6, 0.999997139))
  646. CFuncs.Mesh.Create("SpecialMesh", HandleR, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  647. Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002))
  648. PartWeld = CFuncs.Weld.Create(Model, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0450019836, 0, -7.62939453E-6, -1, 3.17863709E-8, -4.8316906E-13, -3.17865023E-8, -0.999995232, 7.07801155E-6, 4.90274488E-13, 7.07802155E-6, 0.999994338))
  649. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  650. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  651. SpearR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SpearR", Vector3.new(0.875999987, 3.59699988, 0.896999836))
  652. SpearRWeld = CFuncs.Weld.Create(Model, HandleR, SpearR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.17698097, 0.0257623792, 0.00958251953, -1, 5.5636022E-8, -5.75539616E-13, 5.56362529E-8, 0.999995232, -6.9905891E-6, -5.61328761E-13, -6.9905991E-6, -0.999994338))
  653. CFuncs.Mesh.Create("BlockMesh", SpearR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  654. CFuncs.Mesh.Create("SpecialMesh", SpearR, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  655. CrossbowR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "CrossbowR", Vector3.new(0.481999904, 2.08100009, 0.941000104))
  656. CrossbowRWeld = CFuncs.Weld.Create(Model, HandleR, CrossbowR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.14098167, -0.0312359333, -0.0534172058, -1, 5.5636022E-8, -5.75539616E-13, 5.56362529E-8, 0.999995232, -6.9905891E-6, -5.61328761E-13, -6.9905991E-6, -0.999994338))
  657. CFuncs.Mesh.Create("BlockMesh", CrossbowR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  658. CFuncs.Mesh.Create("SpecialMesh", CrossbowR, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  659. SlicerR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SlicerR", Vector3.new(0.699000001, 2.79800034, 0.910999656))
  660. SlicerRWeld = CFuncs.Weld.Create(Model, HandleR, SlicerR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.01598167, 0.0887625813, 0.0465831757, -1, 5.5636022E-8, -5.75539616E-13, 5.56362529E-8, 0.999995232, -6.9905891E-6, -5.61328761E-13, -6.9905991E-6, -0.999994338))
  661. CFuncs.Mesh.Create("BlockMesh", SlicerR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  662. CFuncs.Mesh.Create("SpecialMesh", SlicerR, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  663. HandleL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "HandleL", Vector3.new(1, 0.400000006, 1))
  664. HandleLWeld = CFuncs.Weld.Create(Model, Character["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0072555542, 0.675707638, -0.0134048462, -1, 4.37113883E-8, 0, 4.37113137E-8, 0.999998212, -3.5389919E-6, -1.54694278E-13, -3.53899327E-6, -0.999997854))
  665. CFuncs.Mesh.Create("SpecialMesh", HandleL, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  666. Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002))
  667. PartWeld = CFuncs.Weld.Create(Model, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0449981689, 0, -7.62939453E-6, -1, 3.17864064E-8, -1.12492894E-13, -3.17864952E-8, -0.999996424, 7.0780261E-6, 1.12493212E-13, 7.07802519E-6, 0.999995768))
  668. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  669. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  670. SpearL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SpearL", Vector3.new(0.875999987, 3.59699988, 0.896999836))
  671. SpearLWeld = CFuncs.Weld.Create(Model, HandleL, SpearL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.15630722, 0.0257623792, 0.0314159393, -1.00000012, -5.61066109E-8, -5.73693285E-7, -5.61106646E-8, 0.999998212, 6.99052816E-6, 5.73695161E-7, 6.99053453E-6, -0.999997973))
  672. CFuncs.Mesh.Create("BlockMesh", SpearL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  673. CFuncs.Mesh.Create("SpecialMesh", SpearL, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  674. CrossbowL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "CrossbowL", Vector3.new(0.481999904, 2.08100009, 0.941000104))
  675. CrossbowLWeld = CFuncs.Weld.Create(Model, HandleL, CrossbowL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.12031174, -0.0312351584, -0.0315761566, -1.00000012, -5.61066109E-8, -5.73693285E-7, -5.61106646E-8, 0.999998212, 6.99052816E-6, 5.73695161E-7, 6.99053453E-6, -0.999997973))
  676. CFuncs.Mesh.Create("BlockMesh", CrossbowL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  677. CFuncs.Mesh.Create("SpecialMesh", CrossbowL, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  678. SlicerL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SlicerL", Vector3.new(0.699000001, 2.79800034, 0.910999656))
  679. SlicerLWeld = CFuncs.Weld.Create(Model, HandleL, SlicerL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.995315552, 0.0887614489, 0.0684223175, -1.00000012, -5.61066109E-8, -5.73693285E-7, -5.61106646E-8, 0.999998212, 6.99052816E-6, 5.73695161E-7, 6.99053453E-6, -0.999997973))
  680. CFuncs.Mesh.Create("BlockMesh", SlicerL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
  681. CFuncs.Mesh.Create("SpecialMesh", SlicerL, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  682. local UltModel = Instance.new("Model", Character)
  683. UltModel.Name = "ShaunneCrystal"
  684. CenterMostLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "CenterMostLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992))
  685. CenterLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "CenterLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992))
  686. CenterLayerWeld = CFuncs.Weld.Create(UltModel, CenterMostLayer, CenterLayer, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  687. CFuncs.Mesh.Create("SpecialMesh", CenterLayer, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=10470609", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  688. Layer2 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "Layer2", Vector3.new(7.46199989, 3.18199992, 7.46199989))
  689. Layer2Weld = CFuncs.Weld.Create(UltModel, CenterLayer, Layer2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0540008545, -0.142000198, -0.109999895, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  690. CFuncs.Mesh.Create("SpecialMesh", Layer2, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=0", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  691. Layer3 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "Layer3", Vector3.new(15.1339998, 3.87899995, 15.1350002))
  692. Layer3Weld = CFuncs.Weld.Create(UltModel, CenterLayer, Layer3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0540008545, -2.07700253, -0.221999407, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  693. CFuncs.Mesh.Create("SpecialMesh", Layer3, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=0", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  694. UltModel.PrimaryPart = CenterMostLayer
  695. print(UltModel.PrimaryPart)
  696. EffectModel = Instance.new("Model", Character)
  697. EffectModel.Name = "Effects"
  698. Effects = {
  699. Block = {
  700. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
  701. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  702. prt.Anchored = true
  703. prt.CFrame = cframe
  704. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  705. game:GetService("Debris"):AddItem(prt, 10)
  706. if Type == 1 or Type == nil then
  707. table.insert(Effects, {
  708. prt,
  709. "Block1",
  710. delay,
  711. x3,
  712. y3,
  713. z3,
  714. msh
  715. })
  716. elseif Type == 2 then
  717. table.insert(Effects, {
  718. prt,
  719. "Block2",
  720. delay,
  721. x3,
  722. y3,
  723. z3,
  724. msh
  725. })
  726. elseif Type == 3 then
  727. table.insert(Effects, {
  728. prt,
  729. "Block3",
  730. delay,
  731. x3,
  732. y3,
  733. z3,
  734. msh,
  735. Part
  736. })
  737. elseif Type == 4 then
  738. table.insert(Effects, {
  739. prt,
  740. "Block2Fire",
  741. delay,
  742. x3,
  743. y3,
  744. z3,
  745. msh
  746. })
  747. end
  748. end
  749. },
  750. Sphere = {
  751. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
  752. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  753. prt.Anchored = true
  754. prt.CFrame = cframe
  755. if parent == nil then
  756. prt.Parent = EffectModel
  757. else
  758. prt.Parent = parent
  759. end
  760. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  761. game:GetService("Debris"):AddItem(prt, 10)
  762. table.insert(Effects, {
  763. prt,
  764. "Cylinder",
  765. delay,
  766. x3,
  767. y3,
  768. z3,
  769. msh
  770. })
  771. end
  772. },
  773. Blood = {
  774. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  775. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  776. prt.Anchored = true
  777. prt.CFrame = cframe
  778. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  779. game:GetService("Debris"):AddItem(prt, 10)
  780. table.insert(Effects, {
  781. prt,
  782. "Blood",
  783. delay,
  784. x3,
  785. y3,
  786. z3,
  787. msh
  788. })
  789. end
  790. },
  791. Blast = {
  792. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
  793. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  794. prt.Anchored = true
  795. prt.CFrame = cframe
  796. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  797. game:GetService("Debris"):AddItem(prt, 10)
  798. table.insert(Effects, {
  799. prt,
  800. "Block4",
  801. delay,
  802. x3,
  803. y3,
  804. z3,
  805. msh,
  806. Part
  807. })
  808. end
  809. },
  810. Ring = {
  811. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  812. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  813. prt.Anchored = true
  814. prt.CFrame = cframe
  815. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  816. game:GetService("Debris"):AddItem(prt, 10)
  817. table.insert(Effects, {
  818. prt,
  819. "Cylinder",
  820. delay,
  821. x3,
  822. y3,
  823. z3,
  824. msh
  825. })
  826. end
  827. },
  828. Cylinder = {
  829. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  830. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  831. prt.Anchored = true
  832. prt.CFrame = cframe
  833. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  834. game:GetService("Debris"):AddItem(prt, 10)
  835. table.insert(Effects, {
  836. prt,
  837. "Cylinder",
  838. delay,
  839. x3,
  840. y3,
  841. z3,
  842. msh
  843. })
  844. end
  845. },
  846. Head = {
  847. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  848. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  849. prt.Anchored = true
  850. prt.CFrame = cframe
  851. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  852. game:GetService("Debris"):AddItem(prt, 10)
  853. table.insert(Effects, {
  854. prt,
  855. "Cylinder",
  856. delay,
  857. x3,
  858. y3,
  859. z3,
  860. msh
  861. })
  862. end
  863. },
  864. Wave = {
  865. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  866. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  867. prt.Anchored = true
  868. prt.CFrame = cframe
  869. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  870. game:GetService("Debris"):AddItem(prt, 10)
  871. table.insert(Effects, {
  872. prt,
  873. "Cylinder",
  874. delay,
  875. x3,
  876. y3,
  877. z3,
  878. msh
  879. })
  880. end
  881. },
  882. Break = {
  883. Create = function(brickcolor, cframe, x1, y1, z1)
  884. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  885. prt.Anchored = true
  886. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  887. game:GetService("Debris"):AddItem(prt, 10)
  888. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  889. local num = math.random(10, 50) / 1000
  890. table.insert(Effects, {
  891. prt,
  892. "Shatter",
  893. num,
  894. prt.CFrame,
  895. math.random() - math.random(),
  896. 0,
  897. math.random(50, 100) / 100
  898. })
  899. end
  900. },
  901. Elec = {
  902. Create = function(brickcolor, cff, x, y, z)
  903. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  904. prt.Anchored = true
  905. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  906. prt.CFrame = CFrame.new(prt.Position)
  907. game:GetService("Debris"):AddItem(prt, 10)
  908. xval = math.random() / 9
  909. yval = math.random() / 9
  910. zval = math.random() / 9
  911. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  912. eul1 = math.random(-50, 50)
  913. eul2 = math.random(-50, 50)
  914. eul3 = math.random(-50, 50)
  915. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  916. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  917. table.insert(Effects, {
  918. prt,
  919. "Elec",
  920. 0.05,
  921. x,
  922. y,
  923. z,
  924. xval,
  925. yval,
  926. zval,
  927. msh,
  928. euld,
  929. euld2
  930. })
  931. end
  932. },
  933. Elec2 = {
  934. Create = function(brickcolor, cff, x, y, z)
  935. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
  936. prt.Anchored = true
  937. prt.CFrame = cff * CFrame.new(math.random(-x * 100, x * 100) / 100, math.random(-y * 100, y * 100) / 100, math.random(-z * 100, z * 100) / 100)
  938. prt.CFrame = CFrame.new(prt.Position)
  939. game:GetService("Debris"):AddItem(prt, 10)
  940. xval = math.random() / 7
  941. yval = math.random() / 7
  942. zval = math.random() / 7
  943. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  944. eul1 = math.random(-50, 50)
  945. eul2 = math.random(-50, 50)
  946. eul3 = math.random(-50, 50)
  947. euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
  948. euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
  949. table.insert(Effects, {
  950. prt,
  951. "Elec",
  952. 0.1,
  953. x,
  954. y,
  955. z,
  956. xval,
  957. yval,
  958. zval,
  959. msh,
  960. euld,
  961. euld2
  962. })
  963. end
  964. },
  965. Clone = {
  966. Create = function()
  967. for _, v in pairs(Torso.Parent:children()) do
  968. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  969. local c = CFuncs.Part.Create(EffectModel, "Neon", 0, 0.5, BrickColor.new("Bright blue"), "Effect", v.Size)
  970. c.Anchored = true
  971. c.CFrame = v.CFrame
  972. game:GetService("Debris"):AddItem(c, 5)
  973. local cmsh
  974. if v.Name == "Head" then
  975. cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
  976. else
  977. cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  978. end
  979. table.insert(Effects, {
  980. c,
  981. "Cylinder",
  982. 0.05,
  983. 0.1,
  984. 0.1,
  985. 0.1,
  986. cmsh
  987. })
  988. end
  989. end
  990. end
  991. },
  992. EffectTemplate = {}
  993. }
  994. function Attackone()
  995. Attack = true
  996. for i = 1, 2 do
  997. Effects.Break.Create(BrickColor.new("Cyan"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  998. Effects.Block.Create(BrickColor.new("Cyan"), SlicerR.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  999. end
  1000. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1001. CFuncs.Sound.Create("333476017", SlicerR, 0.3, 1.5)
  1002. CFuncs.Sound.Create("338594711", SlicerR, 0.3, 1.3)
  1003. SlicerR.Transparency = 0.2
  1004. for i = 0, 1, 0.16 do
  1005. swait()
  1006. PlayAnimationFromTable(AnimTable.CWK1.Animation(1), 0.35, false)
  1007. end
  1008. MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
  1009. CFuncs.Sound.Create("338594594", SlicerR, 1, 1.1)
  1010. for i = 0, 1, 0.15 do
  1011. swait()
  1012. RootPart.Velocity = RootPart.CFrame.lookVector * 30
  1013. PlayAnimationFromTable(AnimTable.CWK1.Animation(2), 0.5, false)
  1014. SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1015. end
  1016. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1017. SlicerR.Transparency = 1
  1018. Attack = false
  1019. end
  1020. function Attacktwo()
  1021. Attack = true
  1022. for i = 1, 2 do
  1023. Effects.Break.Create(BrickColor.new("Cyan"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1024. Effects.Block.Create(BrickColor.new("Cyan"), SlicerL.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1025. end
  1026. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1027. CFuncs.Sound.Create("333476017", SlicerL, 0.3, 1.4)
  1028. CFuncs.Sound.Create("338594711", SlicerL, 0.3, 1.2)
  1029. SlicerL.Transparency = 0.2
  1030. for i = 0, 1, 0.16 do
  1031. swait()
  1032. PlayAnimationFromTable(AnimTable.CWK2.Animation(1), 0.35, false)
  1033. end
  1034. MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
  1035. CFuncs.Sound.Create("338594594", SlicerL, 1, 0.9)
  1036. for i = 0, 1, 0.15 do
  1037. swait()
  1038. RootPart.Velocity = RootPart.CFrame.lookVector * 30
  1039. PlayAnimationFromTable(AnimTable.CWK2.Animation(2), 0.55, false)
  1040. SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, -0.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.55)
  1041. end
  1042. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1043. SlicerL.Transparency = 1
  1044. Attack = false
  1045. end
  1046. function Attackthree()
  1047. Attack = true
  1048. for i = 1, 2 do
  1049. Effects.Break.Create(BrickColor.new("Cyan"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1050. Effects.Break.Create(BrickColor.new("Cyan"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1051. Effects.Block.Create(BrickColor.new("Cyan"), SpearR.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1052. Effects.Block.Create(BrickColor.new("Cyan"), SpearL.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1053. end
  1054. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1055. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1056. CFuncs.Sound.Create("333476017", SpearL, 0.2, 1.5)
  1057. CFuncs.Sound.Create("338594711", SpearL, 0.2, 1.3)
  1058. CFuncs.Sound.Create("333476017", SpearR, 0.2, 1.5)
  1059. CFuncs.Sound.Create("338594711", SpearR, 0.2, 1.3)
  1060. SpearR.Transparency = 0.2
  1061. SpearL.Transparency = 0.2
  1062. for i = 0, 1, 0.2 do
  1063. swait()
  1064. PlayAnimationFromTable(AnimTable.CWK3.Animation(1), 0.4, false)
  1065. end
  1066. MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
  1067. MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
  1068. CFuncs.Sound.Create("338594594", SpearR, 0.5, 1)
  1069. CFuncs.Sound.Create("338594594", SpearL, 0.5, 1)
  1070. for i = 0, 1, 0.15 do
  1071. swait()
  1072. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1073. PlayAnimationFromTable(AnimTable.CWK3.Animation(2), 0.5, false)
  1074. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1075. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1076. end
  1077. Effects.Break.Create(BrickColor.new("Cyan"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1078. Effects.Break.Create(BrickColor.new("Cyan"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1079. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1080. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1081. SpearR.Transparency = 1
  1082. SpearL.Transparency = 1
  1083. Attack = false
  1084. end
  1085. function Attackfour()
  1086. Attack = true
  1087. for i = 1, 2 do
  1088. Effects.Break.Create(BrickColor.new("Cyan"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1089. Effects.Break.Create(BrickColor.new("Cyan"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1090. Effects.Block.Create(BrickColor.new("Cyan"), SlicerR.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1091. Effects.Block.Create(BrickColor.new("Cyan"), SlicerL.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1092. end
  1093. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1094. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1095. CFuncs.Sound.Create("333476017", SlicerL, 0.2, 1.5)
  1096. CFuncs.Sound.Create("338594711", SlicerL, 0.2, 1.3)
  1097. CFuncs.Sound.Create("333476017", SlicerR, 0.2, 1.5)
  1098. CFuncs.Sound.Create("338594711", SlicerR, 0.2, 1.3)
  1099. SlicerR.Transparency = 0.2
  1100. SlicerL.Transparency = 0.2
  1101. for i = 0, 1, 0.12 do
  1102. swait()
  1103. PlayAnimationFromTable(AnimTable.CWK4.Animation(1), 0.35, false)
  1104. end
  1105. MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
  1106. MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
  1107. CFuncs.Sound.Create("338594594", SlicerR, 0.5, 1)
  1108. CFuncs.Sound.Create("338594594", SlicerL, 0.5, 1)
  1109. CFuncs.Sound.Create("199145327", Torso, 0.5, 1)
  1110. Humanoid.Jump = true
  1111. RootPart.Velocity = RootPart.CFrame.lookVector * 50
  1112. for i = 0, 1, 0.13 do
  1113. swait()
  1114. PlayAnimationFromTable({
  1115. CFrame.new(-0.0698693246, -0.0977724791, 0, 0.0162540004, 0.999867976, 0, -0.999867976, 0.0162540004, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 6 * i, 0),
  1116. CFrame.new(3.58590242E-8, 1.56930101, -0.16012457, 1.00000167, 2.79396772E-8, -2.65426934E-8, 3.7252903E-9, 0.96055311, 0.278098732, 4.8732467E-9, -0.278098851, 0.960554779) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1117. CFrame.new(1.87150276, 0.58960402, 0.0690974891, -0.0319058374, -0.971631706, -0.234337762, 0.98765862, 0.0053204298, -0.156532884, 0.153339073, -0.236439973, 0.959470332) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1118. CFrame.new(-1.89095485, 0.56066519, -0.120469242, -0.0385297611, 0.967873871, -0.248467326, -0.985829175, 0.00380894355, 0.167709529, 0.163268015, 0.25140813, 0.954011321) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1119. CFrame.new(0.697091758, -1.7465874, 0.362060428, 0.979917228, -0.144231498, -0.137675673, 0.191141114, 0.876068652, 0.442693651, 0.0567622073, -0.460120559, 0.886044502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1120. CFrame.new(-0.480323464, -1.17149687, -0.44098556, 0.96340853, -0.12025702, 0.239546567, 0.0388799086, 0.946950197, 0.319020241, -0.265203059, -0.298033178, 0.916975319) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1121. }, 0.5, false, i)
  1122. SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1123. SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1124. end
  1125. Effects.Break.Create(BrickColor.new("Cyan"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1126. Effects.Break.Create(BrickColor.new("Cyan"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1127. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1128. Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1129. SlicerR.Transparency = 1
  1130. SlicerL.Transparency = 1
  1131. Attack = false
  1132. end
  1133. function newBezier(startpos, pos2, pos3, endpos, t)
  1134. local A = clerp(startpos, pos2, t)
  1135. local B = clerp(pos2, pos3, t)
  1136. local C = clerp(pos3, endpos, t)
  1137. local lerp1 = clerp(A, B, t)
  1138. local lerp2 = clerp(B, C, t)
  1139. local cubic = clerp(lerp1, lerp2, t)
  1140. return cubic
  1141. end
  1142. local IceHitSounds = {
  1143. "338594737",
  1144. "338594687",
  1145. "338594666",
  1146. "338594648",
  1147. "338594606",
  1148. "338594574",
  1149. "338594556",
  1150. "338594524",
  1151. "338594467"
  1152. }
  1153. function Mortar(Target)
  1154. local newball = Instance.new("Part", workspace)
  1155. newball.Anchored = true
  1156. newball.Shape = "Ball"
  1157. newball.Material = "Neon"
  1158. newball.Size = Vector3.new(2, 2, 2)
  1159. newball.CanCollide = false
  1160. newball.CFrame = Target.CFrame
  1161. newball.BrickColor = BrickColor.new("Cyan")
  1162. newball.Transparency = 0.5
  1163. local Cys = Instance.new("SpecialMesh", newball)
  1164. Cys.MeshType = "FileMesh"
  1165. Cys.MeshId = "rbxassetid://9756362"
  1166. Cys.Scale = Vector3.new(1, 1, 1)
  1167. local A1 = Create("Attachment")({
  1168. Parent = newball,
  1169. Position = Vector3.new(0, 1, 0)
  1170. })
  1171. local A2 = Create("Attachment")({
  1172. Parent = newball,
  1173. Position = Vector3.new(0, -1, 0)
  1174. })
  1175. local Trail = Create("Trail")({
  1176. Parent = newball,
  1177. LightEmission = 1,
  1178. FaceCamera = true,
  1179. Texture = "rbxassetid://945758042",
  1180. Attachment0 = A1,
  1181. Attachment1 = A2,
  1182. Lifetime = 0.5,
  1183. MinLength = 0,
  1184. Transparency = NumberSequence.new(0.3, 1),
  1185. Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  1186. })
  1187. local onefourth = Target.Position:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1188. local threefourths = Target.Position:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1189. local MPos = Mouse.Hit.p
  1190. coroutine.resume(coroutine.create(function()
  1191. for i = 0, 1, 0.07 do
  1192. swait()
  1193. newball.CFrame = CFrame.new(newBezier(Target.Position, onefourth, threefourths, MPos, i))
  1194. end
  1195. CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], newball, 1, math.random(1, 2))
  1196. for i = 1, 5 do
  1197. Effects.Break.Create(BrickColor.new("Cyan"), newball.CFrame * CFrame.new(0, 0, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1198. end
  1199. Effects.Block.Create(BrickColor.new("Cyan"), newball.CFrame, 3, 3, 3, 1, 1, 1, 0.05, 3, newball)
  1200. newball.Transparency = 1
  1201. MagnitudeDamage(newball, 4, 15, 25, math.random(1, 3), "Normal", "", 1)
  1202. game:GetService("Debris"):AddItem(newball, 5)
  1203. end))
  1204. end
  1205. function ShootCrystals()
  1206. Attack = true
  1207. Humanoid.AutoRotate = false
  1208. for i = 1, 2 do
  1209. Effects.Break.Create(BrickColor.new("Cyan"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1210. Effects.Break.Create(BrickColor.new("Cyan"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1211. Effects.Block.Create(BrickColor.new("Cyan"), CrossbowR.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1212. Effects.Block.Create(BrickColor.new("Cyan"), CrossbowL.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1213. end
  1214. Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowR.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
  1215. Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowL.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
  1216. CFuncs.Sound.Create("333476017", CrossbowL, 0.2, 1.5)
  1217. CFuncs.Sound.Create("338594711", CrossbowL, 0.2, 1.3)
  1218. CFuncs.Sound.Create("333476017", CrossbowR, 0.2, 1.5)
  1219. CFuncs.Sound.Create("338594711", CrossbowR, 0.2, 1.3)
  1220. CrossbowR.Transparency = 0.2
  1221. CrossbowL.Transparency = 0.2
  1222. for i = 0, 1, 0.2 do
  1223. swait()
  1224. PlayAnimationFromTable(AnimTable.CWSC.Animation(1), 0.4, false)
  1225. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1226. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1227. end
  1228. Humanoid.WalkSpeed = 5
  1229. for i = 0, 1, 0.15 do
  1230. swait()
  1231. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1232. local direction = aim.lookVector
  1233. local headingA = math.atan2(direction.x, direction.z)
  1234. headingA = math.deg(headingA)
  1235. RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1236. PlayAnimationFromTable(AnimTable.CWSC.Animation(2), 0.35, false)
  1237. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.35)
  1238. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.35)
  1239. end
  1240. CFuncs.Sound.Create("301033949", CrossbowR, 1, 1.2)
  1241. CFuncs.Sound.Create("334325056", CrossbowR, 1, 1.3)
  1242. CFuncs.Sound.Create("338594467", CrossbowR, 1, 1.1)
  1243. CFuncs.Sound.Create("301033949", CrossbowL, 1, 1.2)
  1244. CFuncs.Sound.Create("334325056", CrossbowL, 1, 1.3)
  1245. CFuncs.Sound.Create("338594467", CrossbowL, 1, 1.1)
  1246. Effects.Break.Create(BrickColor.new("Cyan"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1247. Effects.Block.Create(BrickColor.new("Cyan"), CrossbowR.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
  1248. Effects.Break.Create(BrickColor.new("Cyan"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1249. Effects.Block.Create(BrickColor.new("Cyan"), CrossbowL.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
  1250. for i = 1, 3 do
  1251. Mortar(CrossbowR)
  1252. Mortar(CrossbowL)
  1253. end
  1254. for i = 0, 1, 0.3 do
  1255. swait()
  1256. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1257. local direction = aim.lookVector
  1258. local headingA = math.atan2(direction.x, direction.z)
  1259. headingA = math.deg(headingA)
  1260. RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1261. PlayAnimationFromTable(AnimTable.CWSC.Animation(3), 0.5, false)
  1262. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1263. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  1264. end
  1265. for i = 0, 1, 0.2 do
  1266. swait()
  1267. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1268. local direction = aim.lookVector
  1269. local headingA = math.atan2(direction.x, direction.z)
  1270. headingA = math.deg(headingA)
  1271. RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1272. PlayAnimationFromTable(AnimTable.CWSC.Animation(4), 0.45, false)
  1273. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1274. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
  1275. end
  1276. Humanoid.WalkSpeed = 16
  1277. Effects.Break.Create(BrickColor.new("Cyan"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1278. Effects.Break.Create(BrickColor.new("Cyan"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1279. Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowR.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
  1280. Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowL.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
  1281. CrossbowR.Transparency = 1
  1282. CrossbowL.Transparency = 1
  1283. Humanoid.AutoRotate = true
  1284. Attack = false
  1285. end
  1286. local CrystalNumb = 0
  1287. local Crystals = {}
  1288. local Increase = 0
  1289. local Inc2 = 0
  1290. local IceMaterializeSounds = {
  1291. "333476017",
  1292. "333475981",
  1293. "333475957",
  1294. "333475929"
  1295. }
  1296. function GroundCrystals()
  1297. Attack = true
  1298. Humanoid.WalkSpeed = 10
  1299. Effects.Block.Create(SlicerR.BrickColor, SlicerR.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.1, 3, SlicerR)
  1300. Effects.Block.Create(SlicerR.BrickColor, SlicerL.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.1, 3, SlicerL)
  1301. for i = 0, 1, 0.1 do
  1302. swait()
  1303. PlayAnimationFromTable(AnimTable.CWGC.Animation(1), 0.3, false)
  1304. end
  1305. for i = 1, 2 do
  1306. Effects.Break.Create(BrickColor.new("Cyan"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1307. Effects.Block.Create(BrickColor.new("Cyan"), SlicerR.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1308. Effects.Break.Create(BrickColor.new("Cyan"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1309. Effects.Block.Create(BrickColor.new("Cyan"), SlicerL.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1310. end
  1311. Effects.Block.Create(SlicerR.BrickColor, SlicerR.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.06, 3, SlicerR)
  1312. Effects.Block.Create(SlicerR.BrickColor, SlicerL.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.06, 3, SlicerL)
  1313. for i = 1, 8 do
  1314. CrystalNumb = CrystalNumb + 1
  1315. print(CrystalNumb)
  1316. local base = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Part1", Vector3.new(1, 1, 1))
  1317. base.Anchored = true
  1318. base.CFrame = RootPart.CFrame * CFrame.new(0, 25, 0)
  1319. local crystall = CFuncs.Part.Create(base, "SmoothPlastic", 0.4, 0.3, SlicerR.BrickColor, "Crystal", Vector3.new(2, 2, 2))
  1320. local msh = CFuncs.Mesh.Create("SpecialMesh", crystall, "FileMesh", "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(2, 2, 2))
  1321. crystall.Anchored = false
  1322. crystall.CFrame = base.CFrame
  1323. CFuncs.Sound.Create(IceMaterializeSounds[math.random(1, #IceMaterializeSounds)], crystall, 0.5, math.random(1, 2))
  1324. Effects.Block.Create(SlicerR.BrickColor, crystall.CFrame, 1, 1, 1, 2, 2, 2, 0.1, 3, crystall)
  1325. local A1 = Create("Attachment")({
  1326. Parent = crystall,
  1327. Position = Vector3.new(0, 1, 0)
  1328. })
  1329. local A2 = Create("Attachment")({
  1330. Parent = crystall,
  1331. Position = Vector3.new(0, -1, 0)
  1332. })
  1333. local Trail = Create("Trail")({
  1334. Parent = crystall,
  1335. LightEmission = 1,
  1336. FaceCamera = true,
  1337. Texture = "rbxassetid://945758042",
  1338. Attachment0 = A1,
  1339. Attachment1 = A2,
  1340. Lifetime = 0.5,
  1341. MinLength = 0,
  1342. Transparency = NumberSequence.new(0.3, 1),
  1343. Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  1344. })
  1345. table.insert(Crystals, crystall)
  1346. end
  1347. Humanoid.WalkSpeed = 5
  1348. for i = 0, 1, 0.03 do
  1349. swait()
  1350. Inc2 = Inc2 + 0.003
  1351. Increase = Increase + 0.15 + Inc2
  1352. PlayAnimationFromTable(AnimTable.CWGC.Animation(2), 0.3, false)
  1353. end
  1354. MagnitudeDamage(RootPart, 20, 25, 30, math.random(1, 3), "Knockdown", "", 1)
  1355. for e = 1, #Crystals do
  1356. Effects.Block.Create(SlicerR.BrickColor, Crystals[e].CFrame, 1, 1, 1, 2, 2, 2, 0.1, 3, Crystals[e])
  1357. CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], Crystals[e].Parent, 0.5, math.random(1, 2))
  1358. CrystalNumb = CrystalNumb - 1
  1359. Crystals[e].Parent = nil
  1360. for i = 1, 4 do
  1361. Effects.Break.Create(BrickColor.new("Cyan"), Crystals[e].CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1362. Effects.Block.Create(BrickColor.new("Cyan"), Crystals[e].CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1363. end
  1364. for i = 1, 10 do
  1365. local brokecryst = CFuncs.Part.Create(workspace, "SmoothPlastic", 0.4, 0.5, SlicerR.BrickColor, "Crystal", Vector3.new(1, 1, 1))
  1366. local mshh = CFuncs.Mesh.Create("SpecialMesh", brokecryst, "FileMesh", "http://www.roblox.com/asset/?id=34795798", Vector3.new(0, 0, 0), Vector3.new(math.random() - math.random(), math.random() + math.random(0, 1), math.random() - math.random()))
  1367. brokecryst.CanCollide = false
  1368. brokecryst.CFrame = Crystals[e].CFrame * CFrame.new(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3)) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1369. brokecryst.Velocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
  1370. game:GetService("Debris"):AddItem(brokecryst, 4)
  1371. end
  1372. end
  1373. for i = 1, 10 do
  1374. for e = 1, #Crystals do
  1375. print(#Crystals)
  1376. table.remove(Crystals, e)
  1377. end
  1378. end
  1379. Humanoid.WalkSpeed = 16
  1380. Increase = 0
  1381. Inc2 = 0
  1382. CrystalNumb = 0
  1383. Attack = false
  1384. end
  1385. local bep = false
  1386. local blur = function(limb)
  1387. coroutine.resume(coroutine.create(function()
  1388. local memedon = {}
  1389. for i = 1, 6 do
  1390. local b1 = Instance.new("Part")
  1391. b1.Size = Vector3.new(1, 2, 1)
  1392. b1.CFrame = limb.CFrame * CFrame.new(math.random(-5, 5) / 10, math.random(-5, 5) / 10, math.random(-5, 5) / 10)
  1393. b1.CanCollide = false
  1394. b1.BrickColor = BrickColor.new("Cyan")
  1395. b1.Material = "Neon"
  1396. b1.Anchored = true
  1397. b1.Transparency = 0.8
  1398. b1.Locked = true
  1399. b1.Parent = EffectModel
  1400. local b2 = Instance.new("BlockMesh", b1)
  1401. RemoveOutlines(b1)
  1402. table.insert(Effects, {
  1403. b1,
  1404. "Cylinder",
  1405. 0.07,
  1406. 0.1,
  1407. 0.1,
  1408. 0.1,
  1409. b2
  1410. })
  1411. table.insert(memedon, b1)
  1412. end
  1413. local num = 0
  1414. end))
  1415. end
  1416. local Hit = true
  1417. function ShaunneNoDontRapeThem()
  1418. Attack = true
  1419. for i = 1, 2 do
  1420. Effects.Break.Create(BrickColor.new("Cyan"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1421. Effects.Break.Create(BrickColor.new("Cyan"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1422. Effects.Block.Create(BrickColor.new("Cyan"), SpearR.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1423. Effects.Block.Create(BrickColor.new("Cyan"), SpearL.CFrame * CFrame.new(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 1, 1, 1, 0.1, 1)
  1424. end
  1425. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1426. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
  1427. CFuncs.Sound.Create("333476017", SpearL, 0.2, 1.5)
  1428. CFuncs.Sound.Create("338594711", SpearL, 0.2, 1.3)
  1429. CFuncs.Sound.Create("333476017", SpearR, 0.2, 1.5)
  1430. CFuncs.Sound.Create("338594711", SpearR, 0.2, 1.3)
  1431. SpearR.Transparency = 0.2
  1432. SpearL.Transparency = 0.2
  1433. for i = 0, 1, 0.15 do
  1434. swait()
  1435. PlayAnimationFromTable(AnimTable.CWRT.Animation(1), 0.35, false)
  1436. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1437. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1438. end
  1439. MagnitudeDamage(RootPart, 15, 25, 30, math.random(1, 3), "Snare", "", 1)
  1440. CFuncs.Sound.Create("763716870", RootPart, 1, 1)
  1441. CFuncs.Sound.Create("320557537", RootPart, 1, 0.8)
  1442. for i = 0, 1, 0.2 do
  1443. swait()
  1444. Effects.Wave.Create(BrickColor.new("Cyan"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(math.random(10, 50)), math.rad(0)), 0.5, 0.5, 0.5, 0.8, 0.8, 0.8, 0.15)
  1445. Effects.Wave.Create(BrickColor.new("Cyan"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(math.random(10, 50)), math.rad(0)), 0.5, 0.2, 0.5, 0.8, 0.2, 0.8, 0.15)
  1446. RootPart.Velocity = RootPart.CFrame.lookVector * 70
  1447. PlayAnimationFromTable(AnimTable.CWRT.Animation(2), 0.45, false)
  1448. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1449. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1450. end
  1451. if Hit == true then
  1452. for i = 1, 4 do
  1453. for i = 0, 1, 0.6 do
  1454. swait()
  1455. blur(RightArm)
  1456. blur(LeftLeg)
  1457. PlayAnimationFromTable(AnimTable.CWRT.Animation(3), 0.6, false)
  1458. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1459. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1460. end
  1461. MagnitudeDamage(SpearR, 5, 5, 12, math.random(1, 3), "Normal", "", 1)
  1462. CFuncs.Sound.Create("338594594", SlicerR, 0.5, math.random(8, 9) / 10)
  1463. for i = 0, 1, 0.6 do
  1464. swait()
  1465. blur(LeftArm)
  1466. blur(RightLeg)
  1467. PlayAnimationFromTable(AnimTable.CWRT.Animation(4), 0.6, false)
  1468. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1469. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1470. end
  1471. MagnitudeDamage(SpearL, 5, 5, 12, math.random(1, 3), "Normal", "", 1)
  1472. CFuncs.Sound.Create("338594594", SlicerL, 0.5, math.random(8, 9) / 10)
  1473. end
  1474. for i = 0, 1, 0.12 do
  1475. swait()
  1476. PlayAnimationFromTable(AnimTable.CWRT.Animation(5), 0.5, false)
  1477. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1478. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1479. end
  1480. end
  1481. Effects.Break.Create(BrickColor.new("Cyan"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1482. Effects.Break.Create(BrickColor.new("Cyan"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1483. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1484. Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
  1485. SpearR.Transparency = 1
  1486. SpearL.Transparency = 1
  1487. Attack = false
  1488. end
  1489. local Hold = false
  1490. local Add = 0
  1491. function Laser()
  1492. Attack = true
  1493. laser = true
  1494. CFuncs.Sound.Create("333476017", CenterLayer, 1, 1.2)
  1495. CFuncs.Sound.Create("338594711", CenterLayer, 1, 1)
  1496. CFuncs.Sound.Create("338594747", CenterLayer, 1, 0.8)
  1497. for i = 1, 4 do
  1498. Effects.Break.Create(BrickColor.new("Cyan"), CenterLayer.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1499. Effects.Block.Create(BrickColor.new("Cyan"), CenterLayer.CFrame * CFrame.new(math.random(-500, 500) / 200, math.random(-500, 500) / 200, math.random(-500, 500) / 200) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 4, 4, 4, 5, 5, 5, 0.1, 1)
  1500. end
  1501. Effects.Sphere.Create(BrickColor.new("Cyan"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
  1502. CenterLayer.Transparency = 0.2
  1503. Layer2.Transparency = 0.2
  1504. Layer3.Transparency = 0.2
  1505. Humanoid.AutoRotate = false
  1506. Humanoid.WalkSpeed = 5
  1507. for i = 0, 1, 0.1 do
  1508. swait()
  1509. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1510. local direction = aim.lookVector
  1511. local headingA = math.atan2(direction.x, direction.z)
  1512. local headingA = math.deg(headingA)
  1513. RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3)
  1514. Add = Add + 1
  1515. Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6)
  1516. Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6)
  1517. CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3)
  1518. PlayAnimationFromTable(AnimTable.CWL.Animation(1), 0.3, false)
  1519. end
  1520. Humanoid.WalkSpeed = 3
  1521. for i = 0, 1, 0.05 do
  1522. swait()
  1523. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1524. local direction = aim.lookVector
  1525. local headingA = math.atan2(direction.x, direction.z)
  1526. local headingA = math.deg(headingA)
  1527. RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3)
  1528. Add = Add + 5
  1529. Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6)
  1530. Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6)
  1531. CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3)
  1532. PlayAnimationFromTable(AnimTable.CWL.Animation(2), 0.2, false)
  1533. end
  1534. CFuncs.Sound.Create("338594626", CenterLayer, 1, 0.9)
  1535. Humanoid.WalkSpeed = 0
  1536. local RightEyeLaserPart = CFuncs.Part.Create(EffectModel, "Neon", 0, 0.5, "Cyan", "Effect", Vector3.new())
  1537. RightEyeLaserPart.Anchored = true
  1538. local RightEyeLaserMesh = CFuncs.Mesh.Create("SpecialMesh", RightEyeLaserPart, "Cylinder", "", Vector3.new(0, 0, 0), Vector3.new(0, 10, 10))
  1539. local SoundPrt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, "Cyan", "Effect", Vector3.new())
  1540. SoundPrt.Anchored = true
  1541. for i = 0, 1, 0.01 do
  1542. swait()
  1543. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1544. local direction = aim.lookVector
  1545. local headingA = math.atan2(direction.x, direction.z)
  1546. local headingA = math.deg(headingA)
  1547. RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3)
  1548. PlayAnimationFromTable(AnimTable.CWL.Animation(3), 0.3, false)
  1549. Add = Add + 10
  1550. MagnitudeDamage(SoundPrt, 17, 0.5, 1.5, math.random(1, 3), "Normal", "", 1)
  1551. Effects.Block.Create(SlicerR.BrickColor, CenterLayer.CFrame, 3, 3, 3, 4, 4, 4, 0.1, 3, CenterLayer)
  1552. Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6)
  1553. Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6)
  1554. CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3)
  1555. local POSITION1 = CenterLayer.Position
  1556. local POSITION2 = Mouse.hit.p
  1557. local MAINPOSITION = CFrame.new((POSITION1 + POSITION2) / 2, POSITION2)
  1558. local RightEyeLaserHit, RightEyeLaserPosition = RayCast(POSITION1, MAINPOSITION.lookVector, 1999, Character)
  1559. local LASERMAGNITUDE = (POSITION1 - RightEyeLaserPosition).magnitude
  1560. SoundPrt.Position = RightEyeLaserPosition
  1561. CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], SoundPrt, 0.5, math.random(1, 2))
  1562. RightEyeLaserMesh.Scale = Vector3.new(LASERMAGNITUDE * 5, 26, 26)
  1563. RightEyeLaserPart.CFrame = CFrame.new((POSITION1 + RightEyeLaserPosition) / 2, RightEyeLaserPosition) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  1564. Effects.Cylinder.Create(BrickColor.new("Cyan"), CFrame.new((POSITION1 + RightEyeLaserPosition) / 2, RightEyeLaserPosition) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 15, LASERMAGNITUDE * 5, 7, 7, 0, 7, 0.2)
  1565. Effects.Block.Create(SlicerR.BrickColor, CFrame.new(SoundPrt.Position), 7, 7, 7, 10, 10, 10, 0.15, 3, SoundPrt)
  1566. Effects.Sphere.Create(BrickColor.new("Cyan"), CFrame.new(SoundPrt.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 40, 10, 40, -3, 30, -3, 0.16)
  1567. Effects.Break.Create(BrickColor.new("Cyan"), CFrame.new(SoundPrt.Position) * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1568. end
  1569. for i = 1, 4 do
  1570. Effects.Break.Create(BrickColor.new("Cyan"), CenterLayer.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
  1571. Effects.Block.Create(BrickColor.new("Cyan"), CenterLayer.CFrame * CFrame.new(math.random(-500, 500) / 200, math.random(-500, 500) / 200, math.random(-500, 500) / 200) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 4, 4, 4, 5, 5, 5, 0.1, 1)
  1572. end
  1573. SoundPrt:remove()
  1574. Effects.Sphere.Create(BrickColor.new("Cyan"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
  1575. Humanoid.WalkSpeed = 16
  1576. Humanoid.AutoRotate = true
  1577. RightEyeLaserPart:remove()
  1578. CenterLayer.Transparency = 1
  1579. Layer2.Transparency = 1
  1580. Layer3.Transparency = 1
  1581. Add = 0
  1582. laser = false
  1583. Attack = false
  1584. end
  1585. Mouse.Button1Down:connect(function()
  1586. if Attack == false and Combo == 1 then
  1587. Combo = 2
  1588. Attackone()
  1589. elseif Attack == false and Combo == 2 then
  1590. Combo = 3
  1591. Attacktwo()
  1592. elseif Attack == false and Combo == 3 then
  1593. Combo = 4
  1594. Attackthree()
  1595. elseif Attack == false and Combo == 4 then
  1596. Combo = 1
  1597. Attackfour()
  1598. end
  1599. end)
  1600. Mouse.KeyDown:connect(function(Key)
  1601. Key = Key:lower()
  1602. if Attack == false and Key == "z" and cooldown1 >= co1 then
  1603. cooldown1 = 0
  1604. ShootCrystals()
  1605. elseif Attack == false and Key == "x" and cooldown2 >= co2 then
  1606. cooldown2 = 0
  1607. GroundCrystals()
  1608. elseif Attack == false and Key == "c" and cooldown3 >= co3 then
  1609. cooldown3 = 0
  1610. ShaunneNoDontRapeThem()
  1611. elseif Attack == false and Key == "v" and cooldown4 >= co4 then
  1612. cooldown4 = 0
  1613. Laser()
  1614. end
  1615. end)
  1616. numbb = 0
  1617. datnumb = 0
  1618. function updateskills()
  1619. if cooldown1 <= co1 then
  1620. cooldown1 = cooldown1 + 0.03333333333333333
  1621. end
  1622. if cooldown2 <= co2 then
  1623. cooldown2 = cooldown2 + 0.03333333333333333
  1624. end
  1625. if cooldown3 <= co3 then
  1626. cooldown3 = cooldown3 + 0.03333333333333333
  1627. end
  1628. if cooldown4 <= co4 then
  1629. cooldown4 = cooldown4 + 0.03333333333333333
  1630. end
  1631. end
  1632. while true do
  1633. swait()
  1634. updateskills()
  1635. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1636. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1637. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1638. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1639. CenterMostLayer.Anchored = true
  1640. UltModel:SetPrimaryPartCFrame(RootPart.CFrame * CFrame.new(0, 10, 0))
  1641. for i, v in pairs(Character:GetChildren()) do
  1642. if v:IsA("Part") then
  1643. v.Material = "SmoothPlastic"
  1644. elseif v:IsA("Accessory") then
  1645. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1646. end
  1647. end
  1648. TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1649. Velocity = RootPart.Velocity.y
  1650. Sine = Sine + Change
  1651. local hit, pos = RayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1652. if RootPart.Velocity.y > 1 and hit == nil then
  1653. Anim = "Jump"
  1654. if Attack == false then
  1655. Change = 1
  1656. PlayAnimationFromTable({
  1657. CFrame.new(0, 0.0436773151, -0.0958894566, 1, 0, 0, 0, 0.979366124, 0.202094048, 0, -0.202094033, 0.979366124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1658. CFrame.new(0, 1.50078464, -0.0434546769, 1, 0, 0, 0, 0.990667343, 0.136302382, 0, -0.136302412, 0.990667343) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1659. CFrame.new(1.64024234, 0.193567753, 0.00427898765, 0.892431021, -0.354886115, 0.278608471, 0.407243699, 0.899403036, -0.158829555, -0.19421488, 0.255205929, 0.94718039) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1660. CFrame.new(-1.6411283, 0.235373467, 0.0476976931, 0.854992151, 0.446793675, -0.263370335, -0.496187717, 0.852461219, -0.164643824, 0.150951192, 0.271450311, 0.950541198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1661. CFrame.new(0.55792439, -1.57147515, -0.158797979, 0.997079909, 0.0636449754, -0.0421660356, -0.0447768904, 0.934851587, 0.352215409, 0.061834842, -0.349303246, 0.934978843) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1662. CFrame.new(-0.738243103, -1.88598239, 0.260951996, 0.962180376, 0.154025614, 0.224692196, -0.20719263, 0.94928062, 0.236513555, -0.176866814, -0.274123043, 0.945291162) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1663. }, 0.3, false)
  1664. SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1665. SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1666. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1667. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1668. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1669. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1670. end
  1671. elseif RootPart.Velocity.y < -1 and hit == nil then
  1672. Anim = "Fall"
  1673. if Attack == false then
  1674. Change = 1
  1675. PlayAnimationFromTable({
  1676. CFrame.new(0.0226157792, -0.0212399997, 0.130760044, 0.987825871, 0.0410310999, 0.150055334, 0, 0.964589238, -0.26375708, -0.15556398, 0.260546058, 0.952846169) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1677. CFrame.new(0.0388777852, 1.55246329, -0.167190313, 0.96372503, 0.00389923947, -0.266869605, 0.0835845172, 0.945186496, 0.3156524, 0.253472269, -0.326508105, 0.910574019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1678. CFrame.new(1.72698784, 0.344668627, -0.2057845, 0.711411119, -0.460974425, 0.530468345, 0.667616367, 0.679052651, -0.30524689, -0.219505072, 0.571305454, 0.79084003) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1679. CFrame.new(-1.69352794, 0.405396253, 0.0323119164, 0.614052653, 0.685430944, -0.391310841, -0.764818966, 0.639190793, -0.0805452466, 0.194914013, 0.348741174, 0.916727304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1680. CFrame.new(0.708790183, -1.69872558, -0.272453845, 0.962645173, -0.220248789, -0.157495782, 0.226377994, 0.973794341, 0.021872133, 0.148551151, -0.0567086488, 0.987277567) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1681. CFrame.new(-0.383032143, -1.80201328, -0.0648381114, 0.971793711, -0.202388048, 0.121063158, 0.131539553, 0.891238749, 0.434042007, -0.195740849, -0.405874491, 0.892722249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1682. }, 0.3, false)
  1683. SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1684. SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1685. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1686. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1687. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1688. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1689. end
  1690. elseif TorsoVelocity < 1 and hit ~= nil then
  1691. Anim = "Idle"
  1692. if Attack == false then
  1693. Change = 1
  1694. PlayAnimationFromTable({
  1695. CFrame.new(-0.00494339038, -0.187179431, -0.0102516655, 0.908102989, -4.48240627E-8, -0.418746978, 0.00525700022, 0.999921262, 0.0114003262, 0.418713987, -0.0125540234, 0.908031344) * CFrame.new(0, 0 + 0.1 * math.cos(Sine / 15), 0) * CFrame.Angles(0 + 0.05 * math.cos(Sine / 15), 0, 0),
  1696. CFrame.new(-2.98023224E-6, 1.4999814, -2.16066837E-6, 0.922259212, -0.0458158255, 0.383847713, -1.26543455E-6, 0.992951632, 0.118521124, -0.386572331, -0.109307669, 0.915758491) * CFrame.new(0, 0, 0) * CFrame.Angles(0 - 0.05 * math.cos(Sine / 15), 0, 0),
  1697. CFrame.new(1.61873317, 0.127300918, 0.0172854364, 0.945058942, -0.271521002, 0.182044551, 0.308546096, 0.924859583, -0.222337753, -0.107996315, 0.26629135, 0.957823396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0 + 0.1 * math.cos(Sine / 16.1)),
  1698. CFrame.new(-1.57810247, 0.10962303, 0.154058278, 0.911793768, 0.342925608, -0.225903124, -0.392145157, 0.89038378, -0.231167123, 0.121866047, 0.299363911, 0.946324944) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0 - 0.1 * math.cos(Sine / 16.1)),
  1699. CFrame.new(0.68934989, -1.89844787, 0.0621741712, 0.93759042, -0.0745715201, -0.339652032, 0.100170769, 0.993252575, 0.0584445298, 0.333001763, -0.0888202488, 0.938733697) * CFrame.new(0, 0 - 0.1 * math.cos(Sine / 15), 0 + 0.05 * math.cos(Sine / 15)) * CFrame.Angles(0 - 0.05 * math.cos(Sine / 15), 0, 0),
  1700. CFrame.new(-0.652628422, -1.88196182, -0.136658221, 0.934408009, 0.0507259741, 0.352576375, -0.0779273808, 0.994943142, 0.0633804798, -0.347578436, -0.0866985321, 0.933634162) * CFrame.new(0, 0 - 0.1 * math.cos(Sine / 15), 0 + 0.05 * math.cos(Sine / 15)) * CFrame.Angles(0 - 0.05 * math.cos(Sine / 15), 0, 0)
  1701. }, 0.3, false)
  1702. SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1703. SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1704. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1705. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1706. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1707. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1708. end
  1709. elseif TorsoVelocity > 2 and hit ~= nil then
  1710. Anim = "Walk"
  1711. if Attack == false then
  1712. Change = 2.6
  1713. PlayAnimationFromTable({
  1714. CFrame.new(0, -0.174938306, -0.101783589, 1, 0, 0, 0, 0.979186654, 0.202961922, 0, -0.202961922, 0.979186654) * CFrame.new(0, 0 + 0.1 * math.cos(Sine / 4), 0) * CFrame.Angles(0, 0 + 0.1 * math.sin(Sine / 8), 0),
  1715. CFrame.new(0, 1.49999189, 1.58548355E-5, 1, 0, 0, 0, 0.995475352, -0.0950205326, 0, 0.0950205326, 0.995475352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0 - 0.1 * math.sin(Sine / 8), 0),
  1716. CFrame.new(1.57730746, 0.0719611943, 0.00628598034, 0.976458192, -0.188104928, 0.105574317, 0.200467497, 0.972049892, -0.122196086, -0.0796378255, 0.140483588, 0.986874938) * CFrame.new(-0.05, 0, -0.1 - 0.5 * math.sin(Sine / 8)) * CFrame.Angles(math.rad(30 * math.sin(Sine / 8)), math.rad(0), math.rad(0)),
  1717. CFrame.new(-1.55804253, 0.0689925253, 0.0429513156, 0.964821577, 0.249019504, -0.0843129531, -0.261087656, 0.945191264, -0.196078911, 0.0308643766, 0.211194247, 0.976956785) * CFrame.new(0.05, 0, -0.2 + 0.5 * math.sin(Sine / 8)) * CFrame.Angles(math.rad(-30 * math.sin(Sine / 8)), math.rad(0), math.rad(0)),
  1718. CFrame.new(0.5, -1.64 - 0.5 * math.cos(Sine / 8) / 2, 0 + 1.5 * math.sin(Sine / 8) / 2) * CFrame.Angles(math.rad(-50 * math.sin(Sine / 8)), math.rad(-5), math.rad(0)),
  1719. CFrame.new(-0.5, -1.64 + 0.5 * math.cos(Sine / 8) / 2, 0 - 1.5 * math.sin(Sine / 8) / 2) * CFrame.Angles(math.rad(50 * math.sin(Sine / 8)), math.rad(5), math.rad(0))
  1720. }, 0.3, false)
  1721. SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1722. SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1723. CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1724. CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1725. SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1726. SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1727. end
  1728. end
  1729. if #Effects > 0 then
  1730. for e = 1, #Effects do
  1731. if Effects[e] ~= nil then
  1732. local Thing = Effects[e]
  1733. if Thing ~= nil then
  1734. local Part = Thing[1]
  1735. local Mode = Thing[2]
  1736. local Delay = Thing[3]
  1737. local IncX = Thing[4]
  1738. local IncY = Thing[5]
  1739. if Thing[1].Transparency <= 1 then
  1740. if Thing[2] == "Block1" then
  1741. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1742. Mesh = Thing[7]
  1743. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1744. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1745. elseif Thing[2] == "Ice" then
  1746. if Thing[6] <= Thing[5] then
  1747. Thing[6] = Thing[6] + 0.05
  1748. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.4, 0)
  1749. else
  1750. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1751. end
  1752. elseif Thing[2] == "Shatter" then
  1753. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1754. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1755. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1756. Thing[6] = Thing[6] + Thing[5]
  1757. elseif Thing[2] == "Block2" then
  1758. Thing[1].CFrame = Thing[1].CFrame
  1759. Mesh = Thing[7]
  1760. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1761. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1762. elseif Thing[2] == "Block3" then
  1763. Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1764. Mesh = Thing[7]
  1765. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1766. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1767. elseif Thing[2] == "Block4" then
  1768. Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
  1769. Mesh = Thing[7]
  1770. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1771. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1772. elseif Thing[2] == "Block2Fire" then
  1773. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1774. Mesh = Thing[7]
  1775. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1776. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1777. if Thing[1].Transparency >= 0.3 then
  1778. Thing[1].BrickColor = BrickColor.new("Bright red")
  1779. else
  1780. Thing[1].BrickColor = BrickColor.new("Bright yellow")
  1781. end
  1782. elseif Thing[2] == "Cylinder" then
  1783. Mesh = Thing[7]
  1784. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1785. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1786. elseif Thing[2] == "Blood" then
  1787. Mesh = Thing[7]
  1788. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -0.5, 0)
  1789. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1790. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1791. elseif Thing[2] == "Elec" then
  1792. Mesh = Thing[10]
  1793. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1794. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1795. Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, 0.2)
  1796. Thing[1].Rotation = Vector3.new(0, 0, 0)
  1797. elseif Thing[2] == "Disappear" then
  1798. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1799. end
  1800. else
  1801. Part.Parent = nil
  1802. table.remove(Effects, e)
  1803. end
  1804. end
  1805. end
  1806. end
  1807. end
  1808. datnumb = 0
  1809. BaseNumb = 6.28
  1810. BaseNumb = BaseNumb / CrystalNumb
  1811. for d, Crystal in pairs(Crystals) do
  1812. datnumb = datnumb + BaseNumb
  1813. Crystal.Anchored = true
  1814. if Crystal.ClassName == "Part" and #Crystals ~= 0 then
  1815. Crystal.CFrame = Crystal.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(0, math.rad(360) / #Crystals * d + Increase, 0) * CFrame.new(0, 0, 20 + #Crystals / 3), 0.1)
  1816. numbb = numbb + 0.05
  1817. end
  1818. end
  1819. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement