Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Edit by basstracker1970
- -------------------------
- ----SCRIPT NAME
- -----WATER POWERS
- -------------------------
- wait(0.016666666666666666)
- script.Name = "Water"
- local Player = game.Players.LocalPlayer
- repeat
- wait()
- until Player
- script.Parent = Player.PlayerGui or nil
- local Character = Player.Character
- repeat
- wait()
- until Character
- local AnimTable = {}
- AnimTable.CWK1 = {}
- AnimTable.CWK2 = {}
- AnimTable.CWK3 = {}
- AnimTable.CWK4 = {}
- AnimTable.CWSC = {}
- AnimTable.CWGC = {}
- AnimTable.CWRT = {}
- AnimTable.CWL = {}
- AnimTable.CWK1.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- elseif i == 2 then
- 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),}
- end
- return tab
- end
- AnimTable.CWK2.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- elseif i == 2 then
- 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),}
- end
- return tab
- end
- AnimTable.CWK3.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- elseif i == 2 then
- 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),}
- end
- return tab
- end
- AnimTable.CWK4.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- end
- return tab
- end
- AnimTable.CWSC.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- elseif i == 2 then
- 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),}
- elseif i == 3 then
- 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),}
- elseif i == 4 then
- 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),}
- end
- return tab
- end
- AnimTable.CWGC.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- elseif i == 2 then
- 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),}
- end
- return tab
- end
- AnimTable.CWRT.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- elseif i == 2 then
- 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),}
- elseif i == 3 then
- 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),}
- elseif i == 4 then
- 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),}
- elseif i == 5 then
- 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),}
- end
- return tab
- end
- AnimTable.CWL.Animation = function(i)
- local tab = nil
- if i == 1 then
- 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),}
- elseif i == 2 then
- 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),}
- elseif i== 3 then
- tab = {CFrame.new(0.0698860288, -0.148965836, -0.967333913, 0.571148038, 0, -0.820847094, 0, 1, 0, 0.820847094, 0, 0.571148038),
- 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),
- 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),
- 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),
- 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),
- 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),}
- end
- return tab
- end
- ANIMTABLETEMPLATE = function(i)
- local tab = nil
- if i == 1 then
- end
- return tab
- end
- wait(0.016666666666666666)
- Effects = {}
- local Player = game.Players.localPlayer
- local Mouse = Player:GetMouse()
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local Head = Character.Head
- local RootPart = Character.HumanoidRootPart
- local Torso = Character.Torso
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Camera = game.Workspace.CurrentCamera
- local RootJoint = RootPart.RootJoint
- local Equipped = false
- local Attack = false
- local Anim = "Idle"
- local Idle = 0
- local Combo = 1
- local TorsoVelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
- local Velocity = RootPart.Velocity.y
- local Sine = 0
- local Change = 1
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Instance.new("Motor", part0)
- w.Part0 = part0
- w.Part1 = part1
- w.C0 = c0
- w.C1 = c1
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- local laser = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true and resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- local co1 = 17
- local co2 = 20
- local co3 = 30
- local co4 = 60
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local skillcolorscheme = BrickColor.new("Cyan").Color
- local scrn = Instance.new("ScreenGui", Player.PlayerGui)
- function makeframe(par, trans, pos, size, color)
- local frame = Instance.new("Frame", par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- function makelabel(par, text)
- local label = Instance.new("TextLabel", par)
- label.BackgroundTransparency = 1
- label.Size = UDim2.new(1, 0, 1, 0)
- label.Position = UDim2.new(0, 0, 0, 0)
- label.TextColor3 = Color3.new(255, 255, 255)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.Legacy
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- text1 = Instance.new("TextLabel", framesk1)
- text1.BackgroundTransparency = 1
- text1.Size = UDim2.new(1, 0, 1, 0)
- text1.Position = UDim2.new(0, 0, 0, 0)
- text1.TextColor3 = Color3.new(0, 255, 255)
- text1.TextStrokeTransparency = 0
- text1.FontSize = Enum.FontSize.Size18
- text1.Font = Enum.Font.Legacy
- text1.BorderSizePixel = 0
- text1.TextScaled = true
- text1.Text = [[
- [Z]
- Water Seeking Missles]]
- text2 = Instance.new("TextLabel", framesk2)
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Position = UDim2.new(0, 0, 0, 0)
- text2.TextColor3 = Color3.new(0, 255, 255)
- text2.TextStrokeTransparency = 0
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = Enum.Font.Legacy
- text2.BorderSizePixel = 0
- text2.TextScaled = true
- text2.Text = [[
- [X]
- Water Field]]
- text3 = Instance.new("TextLabel", framesk3)
- text3.BackgroundTransparency = 1
- text3.Size = UDim2.new(1, 0, 1, 0)
- text3.Position = UDim2.new(0, 0, 0, 0)
- text3.TextColor3 = Color3.new(0, 255, 255)
- text3.TextStrokeTransparency = 0
- text3.FontSize = Enum.FontSize.Size18
- text3.Font = Enum.Font.Legacy
- text3.BorderSizePixel = 0
- text3.TextScaled = false
- text3.Text = [[
- [C]
- Water Rush]]
- text4 = Instance.new("TextLabel", framesk4)
- text4.BackgroundTransparency = 1
- text4.Size = UDim2.new(1, 0, 1, 0)
- text4.Position = UDim2.new(0, 0, 0, 0)
- text4.TextColor3 = Color3.new(0, 255, 255)
- text4.TextStrokeTransparency = 0
- text4.FontSize = Enum.FontSize.Size18
- text4.Font = Enum.Font.Legacy
- text4.BorderSizePixel = 0
- text4.TextScaled = true
- text4.Text = [[
- [V]
- Water Overflow Cannon]]
- ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
- ArtificialHB.Name = "Heartbeat"
- Player.PlayerGui:WaitForChild("Heartbeat")
- frame = 0.03333333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- Player.PlayerGui.Heartbeat:Fire()
- local gg = false
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
- gg = true
- end
- if gg == true then
- return
- end
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- Player.PlayerGui.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- Player.PlayerGui.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- local Model = Create("Model")({
- Parent = Character,
- Name = "WeaponModel"
- })
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- if Size == Vector3.new() then
- Part.Size = Vector3.new(0.2, 0.2, 0.2)
- else
- Part.Size = Size
- end
- return Part
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- },
- Sound = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace
- })
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 10)
- end))
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local Particle = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return Particle
- end
- },
- CreateTemplate = {}
- }
- function RayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(pos)
- local list = game.Workspace:children()
- local torso
- local dist = 1000
- local temp, human, temp2
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and dist > temp.Position - pos.magnitude then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = temp.Position - pos.magnitude
- end
- end
- end
- end
- return torso, dist
- end
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- h.Health = h.Health - Damage
- if laser == false then
- 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)
- else
- end
- else
- h.Health = h.Health - Damage / 2
- if laser == false then
- 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)
- else
- end
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- })
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Cyan"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition")({
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- local BodGy = Create("BodyGyro")({
- maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
- P = 20000,
- Parent = hit.Parent.Torso,
- cf = hit.Parent.Torso.CFrame
- })
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true
- })
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = 0.03333333333333333
- local Pos = Pos or Vector3.new(0, 0, 0)
- local Text = Text or ""
- local Time = Time or 2
- local Color = Color or Color3.new(0, 255, 255)
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart
- })
- local TextLabel = Create("TextLabel")({
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui
- })
- game.Debris:AddItem(EffectPart, Time)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if Magnitude >= mag and c.Name ~= Player.Name then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, "rbxassetid://" .. HitSound, HitPitch)
- end
- end
- end
- end
- end
- HandleR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "HandleR", Vector3.new(1, 0.400000006, 1))
- 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))
- 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))
- Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002))
- 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))
- CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- SpearR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SpearR", Vector3.new(0.875999987, 3.59699988, 0.896999836))
- 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))
- CFuncs.Mesh.Create("BlockMesh", SpearR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- CrossbowR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "CrossbowR", Vector3.new(0.481999904, 2.08100009, 0.941000104))
- 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))
- CFuncs.Mesh.Create("BlockMesh", CrossbowR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- SlicerR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SlicerR", Vector3.new(0.699000001, 2.79800034, 0.910999656))
- 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))
- CFuncs.Mesh.Create("BlockMesh", SlicerR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- HandleL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "HandleL", Vector3.new(1, 0.400000006, 1))
- 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))
- 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))
- Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Cyan", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002))
- 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))
- CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- SpearL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SpearL", Vector3.new(0.875999987, 3.59699988, 0.896999836))
- 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))
- CFuncs.Mesh.Create("BlockMesh", SpearL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- CrossbowL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "CrossbowL", Vector3.new(0.481999904, 2.08100009, 0.941000104))
- 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))
- CFuncs.Mesh.Create("BlockMesh", CrossbowL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- SlicerL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Cyan", "SlicerL", Vector3.new(0.699000001, 2.79800034, 0.910999656))
- 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))
- CFuncs.Mesh.Create("BlockMesh", SlicerL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
- 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))
- local UltModel = Instance.new("Model", Character)
- UltModel.Name = "ShaunneCrystal"
- CenterMostLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "CenterMostLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992))
- CenterLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "CenterLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992))
- 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))
- 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))
- Layer2 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "Layer2", Vector3.new(7.46199989, 3.18199992, 7.46199989))
- 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))
- 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))
- Layer3 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Cyan", "Layer3", Vector3.new(15.1339998, 3.87899995, 15.1350002))
- 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))
- 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))
- UltModel.PrimaryPart = CenterMostLayer
- print(UltModel.PrimaryPart)
- EffectModel = Instance.new("Model", Character)
- EffectModel.Name = "Effects"
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 3 then
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh,
- Part
- })
- elseif Type == 4 then
- table.insert(Effects, {
- prt,
- "Block2Fire",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- if parent == nil then
- prt.Parent = EffectModel
- else
- prt.Parent = parent
- end
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Blood = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Blood",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Blast = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Block4",
- delay,
- x3,
- y3,
- z3,
- msh,
- Part
- })
- end
- },
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- game:GetService("Debris"):AddItem(prt, 10)
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Elec = {
- Create = function(brickcolor, cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- 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)
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 10)
- xval = math.random() / 9
- yval = math.random() / 9
- zval = math.random() / 9
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- eul1 = math.random(-50, 50)
- eul2 = math.random(-50, 50)
- eul3 = math.random(-50, 50)
- euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
- euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
- table.insert(Effects, {
- prt,
- "Elec",
- 0.05,
- x,
- y,
- z,
- xval,
- yval,
- zval,
- msh,
- euld,
- euld2
- })
- end
- },
- Elec2 = {
- Create = function(brickcolor, cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- 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)
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 10)
- xval = math.random() / 7
- yval = math.random() / 7
- zval = math.random() / 7
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- eul1 = math.random(-50, 50)
- eul2 = math.random(-50, 50)
- eul3 = math.random(-50, 50)
- euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3)
- euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3)
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval,
- msh,
- euld,
- euld2
- })
- end
- },
- Clone = {
- Create = function()
- for _, v in pairs(Torso.Parent:children()) do
- if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
- local c = CFuncs.Part.Create(EffectModel, "Neon", 0, 0.5, BrickColor.new("Bright blue"), "Effect", v.Size)
- c.Anchored = true
- c.CFrame = v.CFrame
- game:GetService("Debris"):AddItem(c, 5)
- local cmsh
- if v.Name == "Head" then
- cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
- else
- cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- end
- table.insert(Effects, {
- c,
- "Cylinder",
- 0.05,
- 0.1,
- 0.1,
- 0.1,
- cmsh
- })
- end
- end
- end
- },
- EffectTemplate = {}
- }
- function Attackone()
- Attack = true
- for i = 1, 2 do
- 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)
- 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)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- CFuncs.Sound.Create("333476017", SlicerR, 0.3, 1.5)
- CFuncs.Sound.Create("338594711", SlicerR, 0.3, 1.3)
- SlicerR.Transparency = 0.2
- for i = 0, 1, 0.16 do
- swait()
- PlayAnimationFromTable(AnimTable.CWK1.Animation(1), 0.35, false)
- end
- MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
- CFuncs.Sound.Create("338594594", SlicerR, 1, 1.1)
- for i = 0, 1, 0.15 do
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * 30
- PlayAnimationFromTable(AnimTable.CWK1.Animation(2), 0.5, false)
- SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- SlicerR.Transparency = 1
- Attack = false
- end
- function Attacktwo()
- Attack = true
- for i = 1, 2 do
- 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)
- 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)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- CFuncs.Sound.Create("333476017", SlicerL, 0.3, 1.4)
- CFuncs.Sound.Create("338594711", SlicerL, 0.3, 1.2)
- SlicerL.Transparency = 0.2
- for i = 0, 1, 0.16 do
- swait()
- PlayAnimationFromTable(AnimTable.CWK2.Animation(1), 0.35, false)
- end
- MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
- CFuncs.Sound.Create("338594594", SlicerL, 1, 0.9)
- for i = 0, 1, 0.15 do
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * 30
- PlayAnimationFromTable(AnimTable.CWK2.Animation(2), 0.55, false)
- SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, -0.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.55)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- SlicerL.Transparency = 1
- Attack = false
- end
- function Attackthree()
- Attack = true
- for i = 1, 2 do
- 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)
- 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)
- 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)
- 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)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- CFuncs.Sound.Create("333476017", SpearL, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", SpearL, 0.2, 1.3)
- CFuncs.Sound.Create("333476017", SpearR, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", SpearR, 0.2, 1.3)
- SpearR.Transparency = 0.2
- SpearL.Transparency = 0.2
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable(AnimTable.CWK3.Animation(1), 0.4, false)
- end
- MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
- MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
- CFuncs.Sound.Create("338594594", SpearR, 0.5, 1)
- CFuncs.Sound.Create("338594594", SpearL, 0.5, 1)
- for i = 0, 1, 0.15 do
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * 40
- PlayAnimationFromTable(AnimTable.CWK3.Animation(2), 0.5, false)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- end
- 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)
- 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)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- SpearR.Transparency = 1
- SpearL.Transparency = 1
- Attack = false
- end
- function Attackfour()
- Attack = true
- for i = 1, 2 do
- 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)
- 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)
- 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)
- 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)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- CFuncs.Sound.Create("333476017", SlicerL, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", SlicerL, 0.2, 1.3)
- CFuncs.Sound.Create("333476017", SlicerR, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", SlicerR, 0.2, 1.3)
- SlicerR.Transparency = 0.2
- SlicerL.Transparency = 0.2
- for i = 0, 1, 0.12 do
- swait()
- PlayAnimationFromTable(AnimTable.CWK4.Animation(1), 0.35, false)
- end
- MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
- MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1)
- CFuncs.Sound.Create("338594594", SlicerR, 0.5, 1)
- CFuncs.Sound.Create("338594594", SlicerL, 0.5, 1)
- CFuncs.Sound.Create("199145327", Torso, 0.5, 1)
- Humanoid.Jump = true
- RootPart.Velocity = RootPart.CFrame.lookVector * 50
- for i = 0, 1, 0.13 do
- swait()
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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)
- }, 0.5, false, i)
- SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- end
- 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)
- 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)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- SlicerR.Transparency = 1
- SlicerL.Transparency = 1
- Attack = false
- end
- function newBezier(startpos, pos2, pos3, endpos, t)
- local A = clerp(startpos, pos2, t)
- local B = clerp(pos2, pos3, t)
- local C = clerp(pos3, endpos, t)
- local lerp1 = clerp(A, B, t)
- local lerp2 = clerp(B, C, t)
- local cubic = clerp(lerp1, lerp2, t)
- return cubic
- end
- local IceHitSounds = {
- "338594737",
- "338594687",
- "338594666",
- "338594648",
- "338594606",
- "338594574",
- "338594556",
- "338594524",
- "338594467"
- }
- function Mortar(Target)
- local newball = Instance.new("Part", workspace)
- newball.Anchored = true
- newball.Shape = "Ball"
- newball.Material = "Neon"
- newball.Size = Vector3.new(2, 2, 2)
- newball.CanCollide = false
- newball.CFrame = Target.CFrame
- newball.BrickColor = BrickColor.new("Cyan")
- newball.Transparency = 0.5
- local Cys = Instance.new("SpecialMesh", newball)
- Cys.MeshType = "FileMesh"
- Cys.MeshId = "rbxassetid://9756362"
- Cys.Scale = Vector3.new(1, 1, 1)
- local A1 = Create("Attachment")({
- Parent = newball,
- Position = Vector3.new(0, 1, 0)
- })
- local A2 = Create("Attachment")({
- Parent = newball,
- Position = Vector3.new(0, -1, 0)
- })
- local Trail = Create("Trail")({
- Parent = newball,
- LightEmission = 1,
- FaceCamera = true,
- Texture = "rbxassetid://945758042",
- Attachment0 = A1,
- Attachment1 = A2,
- Lifetime = 0.5,
- MinLength = 0,
- Transparency = NumberSequence.new(0.3, 1),
- Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- })
- local onefourth = Target.Position:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
- local threefourths = Target.Position:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
- local MPos = Mouse.Hit.p
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.07 do
- swait()
- newball.CFrame = CFrame.new(newBezier(Target.Position, onefourth, threefourths, MPos, i))
- end
- CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], newball, 1, math.random(1, 2))
- for i = 1, 5 do
- 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)
- end
- Effects.Block.Create(BrickColor.new("Cyan"), newball.CFrame, 3, 3, 3, 1, 1, 1, 0.05, 3, newball)
- newball.Transparency = 1
- MagnitudeDamage(newball, 4, 15, 25, math.random(1, 3), "Normal", "", 1)
- game:GetService("Debris"):AddItem(newball, 5)
- end))
- end
- function ShootCrystals()
- Attack = true
- Humanoid.AutoRotate = false
- for i = 1, 2 do
- 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)
- 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)
- 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)
- 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)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowR.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowL.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
- CFuncs.Sound.Create("333476017", CrossbowL, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", CrossbowL, 0.2, 1.3)
- CFuncs.Sound.Create("333476017", CrossbowR, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", CrossbowR, 0.2, 1.3)
- CrossbowR.Transparency = 0.2
- CrossbowL.Transparency = 0.2
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable(AnimTable.CWSC.Animation(1), 0.4, false)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- end
- Humanoid.WalkSpeed = 5
- for i = 0, 1, 0.15 do
- swait()
- local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
- local direction = aim.lookVector
- local headingA = math.atan2(direction.x, direction.z)
- headingA = math.deg(headingA)
- RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
- PlayAnimationFromTable(AnimTable.CWSC.Animation(2), 0.35, false)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.35)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.35)
- end
- CFuncs.Sound.Create("301033949", CrossbowR, 1, 1.2)
- CFuncs.Sound.Create("334325056", CrossbowR, 1, 1.3)
- CFuncs.Sound.Create("338594467", CrossbowR, 1, 1.1)
- CFuncs.Sound.Create("301033949", CrossbowL, 1, 1.2)
- CFuncs.Sound.Create("334325056", CrossbowL, 1, 1.3)
- CFuncs.Sound.Create("338594467", CrossbowL, 1, 1.1)
- 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)
- Effects.Block.Create(BrickColor.new("Cyan"), CrossbowR.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
- 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)
- Effects.Block.Create(BrickColor.new("Cyan"), CrossbowL.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
- for i = 1, 3 do
- Mortar(CrossbowR)
- Mortar(CrossbowL)
- end
- for i = 0, 1, 0.3 do
- swait()
- local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
- local direction = aim.lookVector
- local headingA = math.atan2(direction.x, direction.z)
- headingA = math.deg(headingA)
- RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
- PlayAnimationFromTable(AnimTable.CWSC.Animation(3), 0.5, false)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
- end
- for i = 0, 1, 0.2 do
- swait()
- local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
- local direction = aim.lookVector
- local headingA = math.atan2(direction.x, direction.z)
- headingA = math.deg(headingA)
- RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
- PlayAnimationFromTable(AnimTable.CWSC.Animation(4), 0.45, false)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.45)
- end
- Humanoid.WalkSpeed = 16
- 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)
- 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)
- Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowR.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), CrossbowL.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
- CrossbowR.Transparency = 1
- CrossbowL.Transparency = 1
- Humanoid.AutoRotate = true
- Attack = false
- end
- local CrystalNumb = 0
- local Crystals = {}
- local Increase = 0
- local Inc2 = 0
- local IceMaterializeSounds = {
- "333476017",
- "333475981",
- "333475957",
- "333475929"
- }
- function GroundCrystals()
- Attack = true
- Humanoid.WalkSpeed = 10
- Effects.Block.Create(SlicerR.BrickColor, SlicerR.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.1, 3, SlicerR)
- Effects.Block.Create(SlicerR.BrickColor, SlicerL.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.1, 3, SlicerL)
- for i = 0, 1, 0.1 do
- swait()
- PlayAnimationFromTable(AnimTable.CWGC.Animation(1), 0.3, false)
- end
- for i = 1, 2 do
- 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)
- 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)
- 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)
- 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)
- end
- Effects.Block.Create(SlicerR.BrickColor, SlicerR.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.06, 3, SlicerR)
- Effects.Block.Create(SlicerR.BrickColor, SlicerL.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.06, 3, SlicerL)
- for i = 1, 8 do
- CrystalNumb = CrystalNumb + 1
- print(CrystalNumb)
- local base = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Part1", Vector3.new(1, 1, 1))
- base.Anchored = true
- base.CFrame = RootPart.CFrame * CFrame.new(0, 25, 0)
- local crystall = CFuncs.Part.Create(base, "SmoothPlastic", 0.4, 0.3, SlicerR.BrickColor, "Crystal", Vector3.new(2, 2, 2))
- 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))
- crystall.Anchored = false
- crystall.CFrame = base.CFrame
- CFuncs.Sound.Create(IceMaterializeSounds[math.random(1, #IceMaterializeSounds)], crystall, 0.5, math.random(1, 2))
- Effects.Block.Create(SlicerR.BrickColor, crystall.CFrame, 1, 1, 1, 2, 2, 2, 0.1, 3, crystall)
- local A1 = Create("Attachment")({
- Parent = crystall,
- Position = Vector3.new(0, 1, 0)
- })
- local A2 = Create("Attachment")({
- Parent = crystall,
- Position = Vector3.new(0, -1, 0)
- })
- local Trail = Create("Trail")({
- Parent = crystall,
- LightEmission = 1,
- FaceCamera = true,
- Texture = "rbxassetid://945758042",
- Attachment0 = A1,
- Attachment1 = A2,
- Lifetime = 0.5,
- MinLength = 0,
- Transparency = NumberSequence.new(0.3, 1),
- Color = ColorSequence.new(BrickColor.new("Cyan").Color)
- })
- table.insert(Crystals, crystall)
- end
- Humanoid.WalkSpeed = 5
- for i = 0, 1, 0.03 do
- swait()
- Inc2 = Inc2 + 0.003
- Increase = Increase + 0.15 + Inc2
- PlayAnimationFromTable(AnimTable.CWGC.Animation(2), 0.3, false)
- end
- MagnitudeDamage(RootPart, 20, 25, 30, math.random(1, 3), "Knockdown", "", 1)
- for e = 1, #Crystals do
- Effects.Block.Create(SlicerR.BrickColor, Crystals[e].CFrame, 1, 1, 1, 2, 2, 2, 0.1, 3, Crystals[e])
- CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], Crystals[e].Parent, 0.5, math.random(1, 2))
- CrystalNumb = CrystalNumb - 1
- Crystals[e].Parent = nil
- for i = 1, 4 do
- 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)
- 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)
- end
- for i = 1, 10 do
- local brokecryst = CFuncs.Part.Create(workspace, "SmoothPlastic", 0.4, 0.5, SlicerR.BrickColor, "Crystal", Vector3.new(1, 1, 1))
- 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()))
- brokecryst.CanCollide = false
- 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))
- brokecryst.Velocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
- game:GetService("Debris"):AddItem(brokecryst, 4)
- end
- end
- for i = 1, 10 do
- for e = 1, #Crystals do
- print(#Crystals)
- table.remove(Crystals, e)
- end
- end
- Humanoid.WalkSpeed = 16
- Increase = 0
- Inc2 = 0
- CrystalNumb = 0
- Attack = false
- end
- local bep = false
- local blur = function(limb)
- coroutine.resume(coroutine.create(function()
- local memedon = {}
- for i = 1, 6 do
- local b1 = Instance.new("Part")
- b1.Size = Vector3.new(1, 2, 1)
- b1.CFrame = limb.CFrame * CFrame.new(math.random(-5, 5) / 10, math.random(-5, 5) / 10, math.random(-5, 5) / 10)
- b1.CanCollide = false
- b1.BrickColor = BrickColor.new("Cyan")
- b1.Material = "Neon"
- b1.Anchored = true
- b1.Transparency = 0.8
- b1.Locked = true
- b1.Parent = EffectModel
- local b2 = Instance.new("BlockMesh", b1)
- RemoveOutlines(b1)
- table.insert(Effects, {
- b1,
- "Cylinder",
- 0.07,
- 0.1,
- 0.1,
- 0.1,
- b2
- })
- table.insert(memedon, b1)
- end
- local num = 0
- end))
- end
- local Hit = true
- function ShaunneNoDontRapeThem()
- Attack = true
- for i = 1, 2 do
- 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)
- 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)
- 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)
- 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)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
- CFuncs.Sound.Create("333476017", SpearL, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", SpearL, 0.2, 1.3)
- CFuncs.Sound.Create("333476017", SpearR, 0.2, 1.5)
- CFuncs.Sound.Create("338594711", SpearR, 0.2, 1.3)
- SpearR.Transparency = 0.2
- SpearL.Transparency = 0.2
- for i = 0, 1, 0.15 do
- swait()
- PlayAnimationFromTable(AnimTable.CWRT.Animation(1), 0.35, false)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- end
- MagnitudeDamage(RootPart, 15, 25, 30, math.random(1, 3), "Snare", "", 1)
- CFuncs.Sound.Create("763716870", RootPart, 1, 1)
- CFuncs.Sound.Create("320557537", RootPart, 1, 0.8)
- for i = 0, 1, 0.2 do
- swait()
- 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)
- 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)
- RootPart.Velocity = RootPart.CFrame.lookVector * 70
- PlayAnimationFromTable(AnimTable.CWRT.Animation(2), 0.45, false)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- end
- if Hit == true then
- for i = 1, 4 do
- for i = 0, 1, 0.6 do
- swait()
- blur(RightArm)
- blur(LeftLeg)
- PlayAnimationFromTable(AnimTable.CWRT.Animation(3), 0.6, false)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- end
- MagnitudeDamage(SpearR, 5, 5, 12, math.random(1, 3), "Normal", "", 1)
- CFuncs.Sound.Create("338594594", SlicerR, 0.5, math.random(8, 9) / 10)
- for i = 0, 1, 0.6 do
- swait()
- blur(LeftArm)
- blur(RightLeg)
- PlayAnimationFromTable(AnimTable.CWRT.Animation(4), 0.6, false)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- end
- MagnitudeDamage(SpearL, 5, 5, 12, math.random(1, 3), "Normal", "", 1)
- CFuncs.Sound.Create("338594594", SlicerL, 0.5, math.random(8, 9) / 10)
- end
- for i = 0, 1, 0.12 do
- swait()
- PlayAnimationFromTable(AnimTable.CWRT.Animation(5), 0.5, false)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
- end
- end
- 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)
- 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)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- Effects.Sphere.Create(BrickColor.new("Cyan"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
- SpearR.Transparency = 1
- SpearL.Transparency = 1
- Attack = false
- end
- local Hold = false
- local Add = 0
- function Laser()
- Attack = true
- laser = true
- CFuncs.Sound.Create("333476017", CenterLayer, 1, 1.2)
- CFuncs.Sound.Create("338594711", CenterLayer, 1, 1)
- CFuncs.Sound.Create("338594747", CenterLayer, 1, 0.8)
- for i = 1, 4 do
- 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)
- 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)
- end
- Effects.Sphere.Create(BrickColor.new("Cyan"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
- CenterLayer.Transparency = 0.2
- Layer2.Transparency = 0.2
- Layer3.Transparency = 0.2
- Humanoid.AutoRotate = false
- Humanoid.WalkSpeed = 5
- for i = 0, 1, 0.1 do
- swait()
- local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
- local direction = aim.lookVector
- local headingA = math.atan2(direction.x, direction.z)
- local headingA = math.deg(headingA)
- RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3)
- Add = Add + 1
- Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6)
- Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6)
- CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3)
- PlayAnimationFromTable(AnimTable.CWL.Animation(1), 0.3, false)
- end
- Humanoid.WalkSpeed = 3
- for i = 0, 1, 0.05 do
- swait()
- local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
- local direction = aim.lookVector
- local headingA = math.atan2(direction.x, direction.z)
- local headingA = math.deg(headingA)
- RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3)
- Add = Add + 5
- Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6)
- Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6)
- CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3)
- PlayAnimationFromTable(AnimTable.CWL.Animation(2), 0.2, false)
- end
- CFuncs.Sound.Create("338594626", CenterLayer, 1, 0.9)
- Humanoid.WalkSpeed = 0
- local RightEyeLaserPart = CFuncs.Part.Create(EffectModel, "Neon", 0, 0.5, "Cyan", "Effect", Vector3.new())
- RightEyeLaserPart.Anchored = true
- local RightEyeLaserMesh = CFuncs.Mesh.Create("SpecialMesh", RightEyeLaserPart, "Cylinder", "", Vector3.new(0, 0, 0), Vector3.new(0, 10, 10))
- local SoundPrt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, "Cyan", "Effect", Vector3.new())
- SoundPrt.Anchored = true
- for i = 0, 1, 0.01 do
- swait()
- local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
- local direction = aim.lookVector
- local headingA = math.atan2(direction.x, direction.z)
- local headingA = math.deg(headingA)
- RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3)
- PlayAnimationFromTable(AnimTable.CWL.Animation(3), 0.3, false)
- Add = Add + 10
- MagnitudeDamage(SoundPrt, 17, 0.5, 1.5, math.random(1, 3), "Normal", "", 1)
- Effects.Block.Create(SlicerR.BrickColor, CenterLayer.CFrame, 3, 3, 3, 4, 4, 4, 0.1, 3, CenterLayer)
- Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6)
- Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6)
- CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3)
- local POSITION1 = CenterLayer.Position
- local POSITION2 = Mouse.hit.p
- local MAINPOSITION = CFrame.new((POSITION1 + POSITION2) / 2, POSITION2)
- local RightEyeLaserHit, RightEyeLaserPosition = RayCast(POSITION1, MAINPOSITION.lookVector, 1999, Character)
- local LASERMAGNITUDE = (POSITION1 - RightEyeLaserPosition).magnitude
- SoundPrt.Position = RightEyeLaserPosition
- CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], SoundPrt, 0.5, math.random(1, 2))
- RightEyeLaserMesh.Scale = Vector3.new(LASERMAGNITUDE * 5, 26, 26)
- RightEyeLaserPart.CFrame = CFrame.new((POSITION1 + RightEyeLaserPosition) / 2, RightEyeLaserPosition) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
- 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)
- Effects.Block.Create(SlicerR.BrickColor, CFrame.new(SoundPrt.Position), 7, 7, 7, 10, 10, 10, 0.15, 3, SoundPrt)
- 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)
- 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)
- end
- for i = 1, 4 do
- 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)
- 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)
- end
- SoundPrt:remove()
- Effects.Sphere.Create(BrickColor.new("Cyan"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
- Humanoid.WalkSpeed = 16
- Humanoid.AutoRotate = true
- RightEyeLaserPart:remove()
- CenterLayer.Transparency = 1
- Layer2.Transparency = 1
- Layer3.Transparency = 1
- Add = 0
- laser = false
- Attack = false
- end
- Mouse.Button1Down:connect(function()
- if Attack == false and Combo == 1 then
- Combo = 2
- Attackone()
- elseif Attack == false and Combo == 2 then
- Combo = 3
- Attacktwo()
- elseif Attack == false and Combo == 3 then
- Combo = 4
- Attackthree()
- elseif Attack == false and Combo == 4 then
- Combo = 1
- Attackfour()
- end
- end)
- Mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Attack == false and Key == "z" and cooldown1 >= co1 then
- cooldown1 = 0
- ShootCrystals()
- elseif Attack == false and Key == "x" and cooldown2 >= co2 then
- cooldown2 = 0
- GroundCrystals()
- elseif Attack == false and Key == "c" and cooldown3 >= co3 then
- cooldown3 = 0
- ShaunneNoDontRapeThem()
- elseif Attack == false and Key == "v" and cooldown4 >= co4 then
- cooldown4 = 0
- Laser()
- end
- end)
- numbb = 0
- datnumb = 0
- function updateskills()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 0.03333333333333333
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 0.03333333333333333
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 0.03333333333333333
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 0.03333333333333333
- end
- end
- while true do
- swait()
- updateskills()
- bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
- bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
- bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
- bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
- CenterMostLayer.Anchored = true
- UltModel:SetPrimaryPartCFrame(RootPart.CFrame * CFrame.new(0, 10, 0))
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- Velocity = RootPart.Velocity.y
- Sine = Sine + Change
- local hit, pos = RayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if Attack == false then
- Change = 1
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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)
- }, 0.3, false)
- SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if Attack == false then
- Change = 1
- PlayAnimationFromTable({
- 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),
- 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),
- 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),
- 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),
- 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),
- 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)
- }, 0.3, false)
- SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- elseif TorsoVelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if Attack == false then
- Change = 1
- PlayAnimationFromTable({
- 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),
- 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),
- 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)),
- 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)),
- 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),
- 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)
- }, 0.3, false)
- SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- elseif TorsoVelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if Attack == false then
- Change = 2.6
- PlayAnimationFromTable({
- 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),
- 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),
- 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)),
- 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)),
- 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)),
- 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))
- }, 0.3, false)
- SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- end
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Ice" then
- if Thing[6] <= Thing[5] then
- Thing[6] = Thing[6] + 0.05
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.4, 0)
- else
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block4" then
- Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0)
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2Fire" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- if Thing[1].Transparency >= 0.3 then
- Thing[1].BrickColor = BrickColor.new("Bright red")
- else
- Thing[1].BrickColor = BrickColor.new("Bright yellow")
- end
- elseif Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- Mesh = Thing[10]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, 0.2)
- Thing[1].Rotation = Vector3.new(0, 0, 0)
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- datnumb = 0
- BaseNumb = 6.28
- BaseNumb = BaseNumb / CrystalNumb
- for d, Crystal in pairs(Crystals) do
- datnumb = datnumb + BaseNumb
- Crystal.Anchored = true
- if Crystal.ClassName == "Part" and #Crystals ~= 0 then
- 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)
- numbb = numbb + 0.05
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement