SHOW:
|
|
- or go back to the newest paste.
| 1 | --FIXED BY SCENIUS | |
| 2 | --dont remove credits or ill fuck ur ass until ur rectum pops | |
| 3 | --you should have tried harder | |
| 4 | wait(0.016666666666666666) | |
| 5 | - | script.Name = "XXUNORIBOASSXX" |
| 5 | + | script.Name = "SSJ2Sameen23" |
| 6 | local Player = game.Players.LocalPlayer | |
| 7 | repeat | |
| 8 | wait() | |
| 9 | until Player | |
| 10 | script.Parent = Player.PlayerGui or nil | |
| 11 | local Character = Player.Character | |
| 12 | repeat | |
| 13 | wait() | |
| 14 | until Character | |
| 15 | local AnimTable = {}
| |
| 16 | AnimTable.CWK1 = {}
| |
| 17 | AnimTable.CWK2 = {}
| |
| 18 | AnimTable.CWK3 = {}
| |
| 19 | AnimTable.CWK4 = {}
| |
| 20 | AnimTable.CWSC = {}
| |
| 21 | AnimTable.CWGC = {}
| |
| 22 | AnimTable.CWRT = {}
| |
| 23 | AnimTable.CWL = {}
| |
| 24 | AnimTable.CWK1.Animation = function(i) | |
| 25 | local tab = nil | |
| 26 | if i == 1 then | |
| 27 | 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),}
| |
| 28 | elseif i == 2 then | |
| 29 | 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),}
| |
| 30 | end | |
| 31 | return tab | |
| 32 | end | |
| 33 | AnimTable.CWK2.Animation = function(i) | |
| 34 | local tab = nil | |
| 35 | if i == 1 then | |
| 36 | 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),}
| |
| 37 | elseif i == 2 then | |
| 38 | 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),}
| |
| 39 | end | |
| 40 | return tab | |
| 41 | end | |
| 42 | AnimTable.CWK3.Animation = function(i) | |
| 43 | local tab = nil | |
| 44 | if i == 1 then | |
| 45 | 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),}
| |
| 46 | elseif i == 2 then | |
| 47 | 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),}
| |
| 48 | end | |
| 49 | return tab | |
| 50 | end | |
| 51 | AnimTable.CWK4.Animation = function(i) | |
| 52 | local tab = nil | |
| 53 | if i == 1 then | |
| 54 | 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),}
| |
| 55 | end | |
| 56 | return tab | |
| 57 | end | |
| 58 | AnimTable.CWSC.Animation = function(i) | |
| 59 | local tab = nil | |
| 60 | if i == 1 then | |
| 61 | 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),}
| |
| 62 | elseif i == 2 then | |
| 63 | 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),}
| |
| 64 | elseif i == 3 then | |
| 65 | 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),}
| |
| 66 | elseif i == 4 then | |
| 67 | 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),}
| |
| 68 | end | |
| 69 | return tab | |
| 70 | end | |
| 71 | AnimTable.CWGC.Animation = function(i) | |
| 72 | local tab = nil | |
| 73 | if i == 1 then | |
| 74 | 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),}
| |
| 75 | elseif i == 2 then | |
| 76 | 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),}
| |
| 77 | end | |
| 78 | return tab | |
| 79 | end | |
| 80 | AnimTable.CWRT.Animation = function(i) | |
| 81 | local tab = nil | |
| 82 | if i == 1 then | |
| 83 | 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),}
| |
| 84 | elseif i == 2 then | |
| 85 | 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),}
| |
| 86 | elseif i == 3 then | |
| 87 | 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),}
| |
| 88 | elseif i == 4 then | |
| 89 | 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),}
| |
| 90 | elseif i == 5 then | |
| 91 | 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),}
| |
| 92 | end | |
| 93 | return tab | |
| 94 | end | |
| 95 | AnimTable.CWL.Animation = function(i) | |
| 96 | local tab = nil | |
| 97 | if i == 1 then | |
| 98 | 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),}
| |
| 99 | elseif i == 2 then | |
| 100 | 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),}
| |
| 101 | elseif i== 3 then | |
| 102 | tab = {CFrame.new(0.0698860288, -0.148965836, -0.967333913, 0.571148038, 0, -0.820847094, 0, 1, 0, 0.820847094, 0, 0.571148038),
| |
| 103 | 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), | |
| 104 | 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), | |
| 105 | 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), | |
| 106 | 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), | |
| 107 | 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),} | |
| 108 | end | |
| 109 | return tab | |
| 110 | end | |
| 111 | ANIMTABLETEMPLATE = function(i) | |
| 112 | local tab = nil | |
| 113 | if i == 1 then | |
| 114 | end | |
| 115 | return tab | |
| 116 | end | |
| 117 | wait(0.016666666666666666) | |
| 118 | Effects = {}
| |
| 119 | local Player = game.Players.localPlayer | |
| 120 | local Mouse = Player:GetMouse() | |
| 121 | local Character = Player.Character | |
| 122 | local Humanoid = Character.Humanoid | |
| 123 | local Head = Character.Head | |
| 124 | local RootPart = Character.HumanoidRootPart | |
| 125 | local Torso = Character.Torso | |
| 126 | local LeftArm = Character["Left Arm"] | |
| 127 | local RightArm = Character["Right Arm"] | |
| 128 | local LeftLeg = Character["Left Leg"] | |
| 129 | local RightLeg = Character["Right Leg"] | |
| 130 | local Camera = game.Workspace.CurrentCamera | |
| 131 | local RootJoint = RootPart.RootJoint | |
| 132 | local Equipped = false | |
| 133 | local Attack = false | |
| 134 | local Anim = "Idle" | |
| 135 | local Idle = 0 | |
| 136 | local Combo = 1 | |
| 137 | local TorsoVelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 138 | local Velocity = RootPart.Velocity.y | |
| 139 | local Sine = 0 | |
| 140 | local Change = 1 | |
| 141 | Humanoid.Animator.Parent = nil | |
| 142 | Character.Animate.Parent = nil | |
| 143 | local newMotor = function(part0, part1, c0, c1) | |
| 144 | local w = Instance.new("Motor", part0)
| |
| 145 | w.Part0 = part0 | |
| 146 | w.Part1 = part1 | |
| 147 | w.C0 = c0 | |
| 148 | w.C1 = c1 | |
| 149 | return w | |
| 150 | end | |
| 151 | function clerp(a, b, t) | |
| 152 | return a:lerp(b, t) | |
| 153 | end | |
| 154 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 155 | NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 156 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 157 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 158 | local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 159 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 160 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 161 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 162 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 163 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 164 | local rarmc1 = RW.C1 | |
| 165 | local larmc1 = LW.C1 | |
| 166 | local rlegc1 = RH.C1 | |
| 167 | local llegc1 = LH.C1 | |
| 168 | local resetc1 = false | |
| 169 | local laser = false | |
| 170 | function PlayAnimationFromTable(table, speed, bool) | |
| 171 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 172 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 173 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 174 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 175 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 176 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 177 | if bool == true and resetc1 == false then | |
| 178 | resetc1 = true | |
| 179 | RootJoint.C1 = RootJoint.C1 | |
| 180 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 181 | RW.C1 = rarmc1 | |
| 182 | LW.C1 = larmc1 | |
| 183 | RH.C1 = rlegc1 | |
| 184 | LH.C1 = llegc1 | |
| 185 | end | |
| 186 | end | |
| 187 | local co1 = 17 | |
| 188 | local co2 = 20 | |
| 189 | local co3 = 30 | |
| 190 | local co4 = 60 | |
| 191 | local cooldown1 = 0 | |
| 192 | local cooldown2 = 0 | |
| 193 | local cooldown3 = 0 | |
| 194 | local cooldown4 = 0 | |
| 195 | - | local skillcolorscheme = BrickColor.new("White").Color
|
| 195 | + | local skillcolorscheme = BrickColor.new("Cyan").Color
|
| 196 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 197 | function makeframe(par, trans, pos, size, color) | |
| 198 | local frame = Instance.new("Frame", par)
| |
| 199 | frame.BackgroundTransparency = trans | |
| 200 | frame.BorderSizePixel = 0 | |
| 201 | frame.Position = pos | |
| 202 | frame.Size = size | |
| 203 | frame.BackgroundColor3 = color | |
| 204 | return frame | |
| 205 | end | |
| 206 | function makelabel(par, text) | |
| 207 | local label = Instance.new("TextLabel", par)
| |
| 208 | label.BackgroundTransparency = 1 | |
| 209 | label.Size = UDim2.new(1, 0, 1, 0) | |
| 210 | label.Position = UDim2.new(0, 0, 0, 0) | |
| 211 | label.TextColor3 = Color3.new(255, 255, 255) | |
| 212 | label.TextStrokeTransparency = 0 | |
| 213 | label.FontSize = Enum.FontSize.Size32 | |
| 214 | label.Font = Enum.Font.Legacy | |
| 215 | label.BorderSizePixel = 0 | |
| 216 | label.TextScaled = true | |
| 217 | label.Text = text | |
| 218 | end | |
| 219 | framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 220 | framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 221 | framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 222 | framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme) | |
| 223 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 224 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 225 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 226 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 227 | text1 = Instance.new("TextLabel", framesk1)
| |
| 228 | text1.BackgroundTransparency = 1 | |
| 229 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 230 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 231 | - | text1.TextColor3 = Color3.new(255, 255, 255) |
| 231 | + | text1.TextColor3 = Color3.new(0, 255, 255) |
| 232 | text1.TextStrokeTransparency = 0 | |
| 233 | text1.FontSize = Enum.FontSize.Size18 | |
| 234 | text1.Font = Enum.Font.Legacy | |
| 235 | text1.BorderSizePixel = 0 | |
| 236 | text1.TextScaled = true | |
| 237 | text1.Text = [[ | |
| 238 | [Z] | |
| 239 | - | Crystal Seekers]] |
| 239 | + | Crystalized Missiles]] |
| 240 | text2 = Instance.new("TextLabel", framesk2)
| |
| 241 | text2.BackgroundTransparency = 1 | |
| 242 | text2.Size = UDim2.new(1, 0, 1, 0) | |
| 243 | text2.Position = UDim2.new(0, 0, 0, 0) | |
| 244 | - | text2.TextColor3 = Color3.new(255, 255, 255) |
| 244 | + | text2.TextColor3 = Color3.new(0, 255, 255) |
| 245 | text2.TextStrokeTransparency = 0 | |
| 246 | text2.FontSize = Enum.FontSize.Size18 | |
| 247 | text2.Font = Enum.Font.Legacy | |
| 248 | text2.BorderSizePixel = 0 | |
| 249 | text2.TextScaled = true | |
| 250 | text2.Text = [[ | |
| 251 | [X] | |
| 252 | - | Crystal Castle]] |
| 252 | + | Crystalized Forcefield]] |
| 253 | text3 = Instance.new("TextLabel", framesk3)
| |
| 254 | text3.BackgroundTransparency = 1 | |
| 255 | text3.Size = UDim2.new(1, 0, 1, 0) | |
| 256 | text3.Position = UDim2.new(0, 0, 0, 0) | |
| 257 | - | text3.TextColor3 = Color3.new(255, 255, 255) |
| 257 | + | text3.TextColor3 = Color3.new(0, 255, 255) |
| 258 | text3.TextStrokeTransparency = 0 | |
| 259 | text3.FontSize = Enum.FontSize.Size18 | |
| 260 | text3.Font = Enum.Font.Legacy | |
| 261 | text3.BorderSizePixel = 0 | |
| 262 | text3.TextScaled = false | |
| 263 | text3.Text = [[ | |
| 264 | [C] | |
| 265 | - | Rapid Light]] |
| 265 | + | Rapid Fire OctoPunch]] |
| 266 | text4 = Instance.new("TextLabel", framesk4)
| |
| 267 | text4.BackgroundTransparency = 1 | |
| 268 | text4.Size = UDim2.new(1, 0, 1, 0) | |
| 269 | text4.Position = UDim2.new(0, 0, 0, 0) | |
| 270 | - | text4.TextColor3 = Color3.new(255, 255, 255) |
| 270 | + | text4.TextColor3 = Color3.new(0, 255, 255) |
| 271 | text4.TextStrokeTransparency = 0 | |
| 272 | text4.FontSize = Enum.FontSize.Size18 | |
| 273 | text4.Font = Enum.Font.Legacy | |
| 274 | text4.BorderSizePixel = 0 | |
| 275 | text4.TextScaled = true | |
| 276 | text4.Text = [[ | |
| 277 | [V] | |
| 278 | - | Light Cannon]] |
| 278 | + | Octo Crystal Cannon]] |
| 279 | ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
| |
| 280 | ArtificialHB.Name = "Heartbeat" | |
| 281 | Player.PlayerGui:WaitForChild("Heartbeat")
| |
| 282 | frame = 0.03333333333333333 | |
| 283 | tf = 0 | |
| 284 | allowframeloss = false | |
| 285 | tossremainder = false | |
| 286 | lastframe = tick() | |
| 287 | Player.PlayerGui.Heartbeat:Fire() | |
| 288 | local gg = false | |
| 289 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 290 | if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
| |
| 291 | gg = true | |
| 292 | end | |
| 293 | if gg == true then | |
| 294 | return | |
| 295 | end | |
| 296 | tf = tf + s | |
| 297 | if tf >= frame then | |
| 298 | if allowframeloss then | |
| 299 | Player.PlayerGui.Heartbeat:Fire() | |
| 300 | lastframe = tick() | |
| 301 | else | |
| 302 | for i = 1, math.floor(tf / frame) do | |
| 303 | Player.PlayerGui.Heartbeat:Fire() | |
| 304 | end | |
| 305 | lastframe = tick() | |
| 306 | end | |
| 307 | if tossremainder then | |
| 308 | tf = 0 | |
| 309 | else | |
| 310 | tf = tf - frame * math.floor(tf / frame) | |
| 311 | end | |
| 312 | end | |
| 313 | end) | |
| 314 | function swait(num) | |
| 315 | if num == 0 or num == nil then | |
| 316 | ArtificialHB.Event:wait() | |
| 317 | else | |
| 318 | for i = 0, num do | |
| 319 | ArtificialHB.Event:wait() | |
| 320 | end | |
| 321 | end | |
| 322 | end | |
| 323 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 324 | local Create = RbxUtility.Create | |
| 325 | local Model = Create("Model")({
| |
| 326 | Parent = Character, | |
| 327 | Name = "WeaponModel" | |
| 328 | }) | |
| 329 | function RemoveOutlines(part) | |
| 330 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 331 | end | |
| 332 | CFuncs = {
| |
| 333 | Part = {
| |
| 334 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 335 | local Part = Create("Part")({
| |
| 336 | Parent = Parent, | |
| 337 | Reflectance = Reflectance, | |
| 338 | Transparency = Transparency, | |
| 339 | CanCollide = false, | |
| 340 | Locked = true, | |
| 341 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 342 | Name = Name, | |
| 343 | Size = Size, | |
| 344 | Material = Material | |
| 345 | }) | |
| 346 | RemoveOutlines(Part) | |
| 347 | if Size == Vector3.new() then | |
| 348 | Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 349 | else | |
| 350 | Part.Size = Size | |
| 351 | end | |
| 352 | return Part | |
| 353 | end | |
| 354 | }, | |
| 355 | Mesh = {
| |
| 356 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 357 | local Msh = Create(Mesh)({
| |
| 358 | Parent = Part, | |
| 359 | Offset = OffSet, | |
| 360 | Scale = Scale | |
| 361 | }) | |
| 362 | if Mesh == "SpecialMesh" then | |
| 363 | Msh.MeshType = MeshType | |
| 364 | Msh.MeshId = MeshId | |
| 365 | end | |
| 366 | return Msh | |
| 367 | end | |
| 368 | }, | |
| 369 | Weld = {
| |
| 370 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 371 | local Weld = Create("Weld")({
| |
| 372 | Parent = Parent, | |
| 373 | Part0 = Part0, | |
| 374 | Part1 = Part1, | |
| 375 | C0 = C0, | |
| 376 | C1 = C1 | |
| 377 | }) | |
| 378 | return Weld | |
| 379 | end | |
| 380 | }, | |
| 381 | Sound = {
| |
| 382 | Create = function(id, par, vol, pit) | |
| 383 | coroutine.resume(coroutine.create(function() | |
| 384 | local S = Create("Sound")({
| |
| 385 | Volume = vol, | |
| 386 | Pitch = pit or 1, | |
| 387 | SoundId = "rbxassetid://" .. id, | |
| 388 | Parent = par or workspace | |
| 389 | }) | |
| 390 | wait() | |
| 391 | S:play() | |
| 392 | game:GetService("Debris"):AddItem(S, 10)
| |
| 393 | end)) | |
| 394 | end | |
| 395 | }, | |
| 396 | ParticleEmitter = {
| |
| 397 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 398 | local Particle = Create("ParticleEmitter")({
| |
| 399 | Parent = Parent, | |
| 400 | Color = ColorSequence.new(Color1, Color2), | |
| 401 | LightEmission = LightEmission, | |
| 402 | Size = Size, | |
| 403 | Texture = Texture, | |
| 404 | Transparency = Transparency, | |
| 405 | ZOffset = ZOffset, | |
| 406 | Acceleration = Accel, | |
| 407 | Drag = Drag, | |
| 408 | LockedToPart = LockedToPart, | |
| 409 | VelocityInheritance = VelocityInheritance, | |
| 410 | EmissionDirection = EmissionDirection, | |
| 411 | Enabled = Enabled, | |
| 412 | Lifetime = LifeTime, | |
| 413 | Rate = Rate, | |
| 414 | Rotation = Rotation, | |
| 415 | RotSpeed = RotSpeed, | |
| 416 | Speed = Speed, | |
| 417 | VelocitySpread = VelocitySpread | |
| 418 | }) | |
| 419 | return Particle | |
| 420 | end | |
| 421 | }, | |
| 422 | CreateTemplate = {}
| |
| 423 | } | |
| 424 | function RayCast(Position, Direction, Range, Ignore) | |
| 425 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 426 | end | |
| 427 | function FindNearestTorso(pos) | |
| 428 | local list = game.Workspace:children() | |
| 429 | local torso | |
| 430 | local dist = 1000 | |
| 431 | local temp, human, temp2 | |
| 432 | for x = 1, #list do | |
| 433 | temp2 = list[x] | |
| 434 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
| 435 | temp = temp2:findFirstChild("Torso")
| |
| 436 | human = temp2:findFirstChild("Humanoid")
| |
| 437 | if temp ~= nil and human ~= nil and human.Health > 0 and dist > temp.Position - pos.magnitude then | |
| 438 | local dohit = true | |
| 439 | if dohit == true then | |
| 440 | torso = temp | |
| 441 | dist = temp.Position - pos.magnitude | |
| 442 | end | |
| 443 | end | |
| 444 | end | |
| 445 | end | |
| 446 | return torso, dist | |
| 447 | end | |
| 448 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 449 | if hit.Parent == nil then | |
| 450 | return | |
| 451 | end | |
| 452 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 453 | for _, v in pairs(hit.Parent:children()) do | |
| 454 | if v:IsA("Humanoid") then
| |
| 455 | h = v | |
| 456 | end | |
| 457 | end | |
| 458 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 459 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 460 | return | |
| 461 | end | |
| 462 | local c = Create("ObjectValue")({
| |
| 463 | Name = "creator", | |
| 464 | Value = game:service("Players").LocalPlayer,
| |
| 465 | Parent = h | |
| 466 | }) | |
| 467 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 468 | if HitSound ~= nil and HitPitch ~= nil then | |
| 469 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 470 | end | |
| 471 | local Damage = math.random(minim, maxim) | |
| 472 | local blocked = false | |
| 473 | local block = hit.Parent:findFirstChild("Block")
| |
| 474 | if block ~= nil and block.className == "IntValue" and block.Value > 0 then | |
| 475 | blocked = true | |
| 476 | block.Value = block.Value - 1 | |
| 477 | print(block.Value) | |
| 478 | end | |
| 479 | if blocked == false then | |
| 480 | h.Health = h.Health - Damage | |
| 481 | if laser == false then | |
| 482 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Pastel light blue").Color)
|
| 482 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really red").Color)
|
| 483 | else | |
| 484 | end | |
| 485 | else | |
| 486 | h.Health = h.Health - Damage / 2 | |
| 487 | if laser == false then | |
| 488 | - | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Pastel light blue").Color)
|
| 488 | + | ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really red").Color)
|
| 489 | else | |
| 490 | end | |
| 491 | end | |
| 492 | if Type == "Knockdown" then | |
| 493 | local hum = hit.Parent.Humanoid | |
| 494 | hum.PlatformStand = true | |
| 495 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 496 | swait(1) | |
| 497 | HHumanoid.PlatformStand = false | |
| 498 | end), hum) | |
| 499 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 500 | local bodvol = Create("BodyVelocity")({
| |
| 501 | velocity = angle * knockback, | |
| 502 | P = 5000, | |
| 503 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 504 | Parent = hit | |
| 505 | }) | |
| 506 | local rl = Create("BodyAngularVelocity")({
| |
| 507 | P = 3000, | |
| 508 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 509 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 510 | Parent = hit | |
| 511 | }) | |
| 512 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 513 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 514 | elseif Type == "Normal" then | |
| 515 | local vp = Create("BodyVelocity")({
| |
| 516 | P = 500, | |
| 517 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 518 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 519 | }) | |
| 520 | if knockback > 0 then | |
| 521 | vp.Parent = hit.Parent.Torso | |
| 522 | end | |
| 523 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 524 | elseif Type == "Up" then | |
| 525 | local bodyVelocity = Create("BodyVelocity")({
| |
| 526 | velocity = Vector3.new(0, 20, 0), | |
| 527 | P = 5000, | |
| 528 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 529 | Parent = hit | |
| 530 | }) | |
| 531 | game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
| |
| 532 | elseif Type == "DarkUp" then | |
| 533 | coroutine.resume(coroutine.create(function() | |
| 534 | for i = 0, 1, 0.1 do | |
| 535 | swait() | |
| 536 | - | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
|
| 536 | + | Effects.Block.Create(BrickColor.new("Cyan"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
|
| 537 | end | |
| 538 | end)) | |
| 539 | local bodyVelocity = Create("BodyVelocity")({
| |
| 540 | velocity = Vector3.new(0, 20, 0), | |
| 541 | P = 5000, | |
| 542 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 543 | Parent = hit | |
| 544 | }) | |
| 545 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 546 | elseif Type == "Snare" then | |
| 547 | local bp = Create("BodyPosition")({
| |
| 548 | P = 2000, | |
| 549 | D = 100, | |
| 550 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 551 | position = hit.Parent.Torso.Position, | |
| 552 | Parent = hit.Parent.Torso | |
| 553 | }) | |
| 554 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 555 | elseif Type == "Freeze" then | |
| 556 | local BodPos = Create("BodyPosition")({
| |
| 557 | P = 50000, | |
| 558 | D = 1000, | |
| 559 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 560 | position = hit.Parent.Torso.Position, | |
| 561 | Parent = hit.Parent.Torso | |
| 562 | }) | |
| 563 | local BodGy = Create("BodyGyro")({
| |
| 564 | maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, | |
| 565 | P = 20000, | |
| 566 | Parent = hit.Parent.Torso, | |
| 567 | cf = hit.Parent.Torso.CFrame | |
| 568 | }) | |
| 569 | hit.Parent.Torso.Anchored = true | |
| 570 | coroutine.resume(coroutine.create(function(Part) | |
| 571 | swait(1.5) | |
| 572 | Part.Anchored = false | |
| 573 | end), hit.Parent.Torso) | |
| 574 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 575 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 576 | end | |
| 577 | local debounce = Create("BoolValue")({
| |
| 578 | Name = "DebounceHit", | |
| 579 | Parent = hit.Parent, | |
| 580 | Value = true | |
| 581 | }) | |
| 582 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 583 | c = Instance.new("ObjectValue")
| |
| 584 | c.Name = "creator" | |
| 585 | c.Value = Player | |
| 586 | c.Parent = h | |
| 587 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 588 | end | |
| 589 | end | |
| 590 | function ShowDamage(Pos, Text, Time, Color) | |
| 591 | local Rate = 0.03333333333333333 | |
| 592 | local Pos = Pos or Vector3.new(0, 0, 0) | |
| 593 | local Text = Text or "" | |
| 594 | local Time = Time or 2 | |
| 595 | - | local Color = Color or Color3.new(1, 0, 1) |
| 595 | + | local Color = Color or Color3.new(0, 255, 255) |
| 596 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 597 | EffectPart.Anchored = true | |
| 598 | local BillboardGui = Create("BillboardGui")({
| |
| 599 | Size = UDim2.new(3, 0, 3, 0), | |
| 600 | Adornee = EffectPart, | |
| 601 | Parent = EffectPart | |
| 602 | }) | |
| 603 | local TextLabel = Create("TextLabel")({
| |
| 604 | BackgroundTransparency = 1, | |
| 605 | Size = UDim2.new(1, 0, 1, 0), | |
| 606 | Text = Text, | |
| 607 | Font = "SciFi", | |
| 608 | TextColor3 = Color, | |
| 609 | TextScaled = true, | |
| 610 | Parent = BillboardGui | |
| 611 | }) | |
| 612 | game.Debris:AddItem(EffectPart, Time) | |
| 613 | EffectPart.Parent = game:GetService("Workspace")
| |
| 614 | delay(0, function() | |
| 615 | local Frames = Time / Rate | |
| 616 | for Frame = 1, Frames do | |
| 617 | wait(Rate) | |
| 618 | local Percent = Frame / Frames | |
| 619 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 620 | TextLabel.TextTransparency = Percent | |
| 621 | end | |
| 622 | if EffectPart and EffectPart.Parent then | |
| 623 | EffectPart:Destroy() | |
| 624 | end | |
| 625 | end) | |
| 626 | end | |
| 627 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 628 | for _, c in pairs(workspace:children()) do | |
| 629 | local hum = c:findFirstChild("Humanoid")
| |
| 630 | if hum ~= nil then | |
| 631 | local head = c:findFirstChild("Torso")
| |
| 632 | if head ~= nil then | |
| 633 | local targ = head.Position - Part.Position | |
| 634 | local mag = targ.magnitude | |
| 635 | if Magnitude >= mag and c.Name ~= Player.Name then | |
| 636 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, "rbxassetid://" .. HitSound, HitPitch) | |
| 637 | end | |
| 638 | end | |
| 639 | end | |
| 640 | end | |
| 641 | end | |
| 642 | - | HandleR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Pearl", "HandleR", Vector3.new(1, 0.400000006, 1)) |
| 642 | + | HandleR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Really red", "HandleR", Vector3.new(1, 0.400000006, 1)) |
| 643 | 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)) | |
| 644 | CFuncs.Mesh.Create("SpecialMesh", HandleR, Enum.MeshType.FileMesh, "rbxassetid://1041815895", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 645 | - | Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Medium blue", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002)) |
| 645 | + | Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002)) |
| 646 | 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)) | |
| 647 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 648 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "rbxassetid://1041821004", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 649 | - | SpearR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Pastel Blue", "SpearR", Vector3.new(0.875999987, 3.59699988, 0.896999836)) |
| 649 | + | SpearR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Really red", "SpearR", Vector3.new(0.875999987, 3.59699988, 0.896999836)) |
| 650 | 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)) | |
| 651 | CFuncs.Mesh.Create("BlockMesh", SpearR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 652 | CFuncs.Mesh.Create("SpecialMesh", SpearR, Enum.MeshType.FileMesh, "rbxassetid://1041849814", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 653 | - | CrossbowR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Pastel Blue", "CrossbowR", Vector3.new(0.481999904, 2.08100009, 0.941000104)) |
| 653 | + | CrossbowR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Really red", "CrossbowR", Vector3.new(0.481999904, 2.08100009, 0.941000104)) |
| 654 | 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)) | |
| 655 | CFuncs.Mesh.Create("BlockMesh", CrossbowR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 656 | CFuncs.Mesh.Create("SpecialMesh", CrossbowR, Enum.MeshType.FileMesh, "rbxassetid://1041849185", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 657 | - | SlicerR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Pastel Blue", "SlicerR", Vector3.new(0.699000001, 2.79800034, 0.910999656)) |
| 657 | + | SlicerR = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Really red", "SlicerR", Vector3.new(0.699000001, 2.79800034, 0.910999656)) |
| 658 | 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)) | |
| 659 | CFuncs.Mesh.Create("BlockMesh", SlicerR, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 660 | CFuncs.Mesh.Create("SpecialMesh", SlicerR, Enum.MeshType.FileMesh, "rbxassetid://1041849421", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 661 | - | HandleL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Pearl", "HandleL", Vector3.new(1, 0.400000006, 1)) |
| 661 | + | HandleL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Really red", "HandleL", Vector3.new(1, 0.400000006, 1)) |
| 662 | 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)) | |
| 663 | CFuncs.Mesh.Create("SpecialMesh", HandleL, Enum.MeshType.FileMesh, "rbxassetid://1041815895", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 664 | - | Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Medium blue", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002)) |
| 664 | + | Part = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.10000002, 0.300000012, 1.10000002)) |
| 665 | 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)) | |
| 666 | CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 667 | CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.FileMesh, "rbxassetid://1041821004", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 668 | - | SpearL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Pastel Blue", "SpearL", Vector3.new(0.875999987, 3.59699988, 0.896999836)) |
| 668 | + | SpearL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Really red", "SpearL", Vector3.new(0.875999987, 3.59699988, 0.896999836)) |
| 669 | 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)) | |
| 670 | CFuncs.Mesh.Create("BlockMesh", SpearL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 671 | CFuncs.Mesh.Create("SpecialMesh", SpearL, Enum.MeshType.FileMesh, "rbxassetid://1041849814", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 672 | - | CrossbowL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Pastel Blue", "CrossbowL", Vector3.new(0.481999904, 2.08100009, 0.941000104)) |
| 672 | + | CrossbowL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Really red", "CrossbowL", Vector3.new(0.481999904, 2.08100009, 0.941000104)) |
| 673 | 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)) | |
| 674 | CFuncs.Mesh.Create("BlockMesh", CrossbowL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 675 | CFuncs.Mesh.Create("SpecialMesh", CrossbowL, Enum.MeshType.FileMesh, "rbxassetid://1041849185", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 676 | - | SlicerL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Pastel Blue", "SlicerL", Vector3.new(0.699000001, 2.79800034, 0.910999656)) |
| 676 | + | SlicerL = CFuncs.Part.Create(Model, Enum.Material.SmoothPlastic, 0, 1, "Really red", "SlicerL", Vector3.new(0.699000001, 2.79800034, 0.910999656)) |
| 677 | 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)) | |
| 678 | CFuncs.Mesh.Create("BlockMesh", SlicerL, "", "", Vector3.new(0, 0, 0), Vector3.new(0.770085096, 1, 1))
| |
| 679 | CFuncs.Mesh.Create("SpecialMesh", SlicerL, Enum.MeshType.FileMesh, "rbxassetid://1041849421", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 680 | local UltModel = Instance.new("Model", Character)
| |
| 681 | UltModel.Name = "ShaunneCrystal" | |
| 682 | - | CenterMostLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Pastel light blue", "CenterMostLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992)) |
| 682 | + | CenterMostLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Really red", "CenterMostLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992)) |
| 683 | - | CenterLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Pastel light blue", "CenterLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992)) |
| 683 | + | CenterLayer = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Really red", "CenterLayer", Vector3.new(3.06900001, 10.3599997, 3.18199992)) |
| 684 | 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)) | |
| 685 | CFuncs.Mesh.Create("SpecialMesh", CenterLayer, Enum.MeshType.FileMesh, "rbxassetid://1060701212", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 686 | - | Layer2 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Pastel light blue", "Layer2", Vector3.new(7.46199989, 3.18199992, 7.46199989)) |
| 686 | + | Layer2 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Really red", "Layer2", Vector3.new(7.46199989, 3.18199992, 7.46199989)) |
| 687 | 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)) | |
| 688 | CFuncs.Mesh.Create("SpecialMesh", Layer2, Enum.MeshType.FileMesh, "rbxassetid://1060735987", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 689 | - | Layer3 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Pastel light blue", "Layer3", Vector3.new(15.1339998, 3.87899995, 15.1350002)) |
| 689 | + | Layer3 = CFuncs.Part.Create(UltModel, Enum.Material.Ice, 0, 1, "Really red", "Layer3", Vector3.new(15.1339998, 3.87899995, 15.1350002)) |
| 690 | 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)) | |
| 691 | CFuncs.Mesh.Create("SpecialMesh", Layer3, Enum.MeshType.FileMesh, "rbxassetid://1060743445", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 692 | UltModel.PrimaryPart = CenterMostLayer | |
| 693 | print(UltModel.PrimaryPart) | |
| 694 | EffectModel = Instance.new("Model", Character)
| |
| 695 | EffectModel.Name = "Effects" | |
| 696 | Effects = {
| |
| 697 | Block = {
| |
| 698 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, Part) | |
| 699 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 700 | prt.Anchored = true | |
| 701 | prt.CFrame = cframe | |
| 702 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 703 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 704 | if Type == 1 or Type == nil then | |
| 705 | table.insert(Effects, {
| |
| 706 | prt, | |
| 707 | "Block1", | |
| 708 | delay, | |
| 709 | x3, | |
| 710 | y3, | |
| 711 | z3, | |
| 712 | msh | |
| 713 | }) | |
| 714 | elseif Type == 2 then | |
| 715 | table.insert(Effects, {
| |
| 716 | prt, | |
| 717 | "Block2", | |
| 718 | delay, | |
| 719 | x3, | |
| 720 | y3, | |
| 721 | z3, | |
| 722 | msh | |
| 723 | }) | |
| 724 | elseif Type == 3 then | |
| 725 | table.insert(Effects, {
| |
| 726 | prt, | |
| 727 | "Block3", | |
| 728 | delay, | |
| 729 | x3, | |
| 730 | y3, | |
| 731 | z3, | |
| 732 | msh, | |
| 733 | Part | |
| 734 | }) | |
| 735 | elseif Type == 4 then | |
| 736 | table.insert(Effects, {
| |
| 737 | prt, | |
| 738 | "Block2Fire", | |
| 739 | delay, | |
| 740 | x3, | |
| 741 | y3, | |
| 742 | z3, | |
| 743 | msh | |
| 744 | }) | |
| 745 | end | |
| 746 | end | |
| 747 | }, | |
| 748 | Sphere = {
| |
| 749 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, parent) | |
| 750 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 751 | prt.Anchored = true | |
| 752 | prt.CFrame = cframe | |
| 753 | if parent == nil then | |
| 754 | prt.Parent = EffectModel | |
| 755 | else | |
| 756 | prt.Parent = parent | |
| 757 | end | |
| 758 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 759 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 760 | table.insert(Effects, {
| |
| 761 | prt, | |
| 762 | "Cylinder", | |
| 763 | delay, | |
| 764 | x3, | |
| 765 | y3, | |
| 766 | z3, | |
| 767 | msh | |
| 768 | }) | |
| 769 | end | |
| 770 | }, | |
| 771 | Blood = {
| |
| 772 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 773 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 774 | prt.Anchored = true | |
| 775 | prt.CFrame = cframe | |
| 776 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 777 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 778 | table.insert(Effects, {
| |
| 779 | prt, | |
| 780 | "Blood", | |
| 781 | delay, | |
| 782 | x3, | |
| 783 | y3, | |
| 784 | z3, | |
| 785 | msh | |
| 786 | }) | |
| 787 | end | |
| 788 | }, | |
| 789 | Blast = {
| |
| 790 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Part) | |
| 791 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 792 | prt.Anchored = true | |
| 793 | prt.CFrame = cframe | |
| 794 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1323306", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 795 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 796 | table.insert(Effects, {
| |
| 797 | prt, | |
| 798 | "Block4", | |
| 799 | delay, | |
| 800 | x3, | |
| 801 | y3, | |
| 802 | z3, | |
| 803 | msh, | |
| 804 | Part | |
| 805 | }) | |
| 806 | end | |
| 807 | }, | |
| 808 | Ring = {
| |
| 809 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 810 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 811 | prt.Anchored = true | |
| 812 | prt.CFrame = cframe | |
| 813 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 814 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 815 | table.insert(Effects, {
| |
| 816 | prt, | |
| 817 | "Cylinder", | |
| 818 | delay, | |
| 819 | x3, | |
| 820 | y3, | |
| 821 | z3, | |
| 822 | msh | |
| 823 | }) | |
| 824 | end | |
| 825 | }, | |
| 826 | Cylinder = {
| |
| 827 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 828 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 829 | prt.Anchored = true | |
| 830 | prt.CFrame = cframe | |
| 831 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 832 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 833 | table.insert(Effects, {
| |
| 834 | prt, | |
| 835 | "Cylinder", | |
| 836 | delay, | |
| 837 | x3, | |
| 838 | y3, | |
| 839 | z3, | |
| 840 | msh | |
| 841 | }) | |
| 842 | end | |
| 843 | }, | |
| 844 | Head = {
| |
| 845 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 846 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 847 | prt.Anchored = true | |
| 848 | prt.CFrame = cframe | |
| 849 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 850 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 851 | table.insert(Effects, {
| |
| 852 | prt, | |
| 853 | "Cylinder", | |
| 854 | delay, | |
| 855 | x3, | |
| 856 | y3, | |
| 857 | z3, | |
| 858 | msh | |
| 859 | }) | |
| 860 | end | |
| 861 | }, | |
| 862 | Wave = {
| |
| 863 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 864 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 865 | prt.Anchored = true | |
| 866 | prt.CFrame = cframe | |
| 867 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 868 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 869 | table.insert(Effects, {
| |
| 870 | prt, | |
| 871 | "Cylinder", | |
| 872 | delay, | |
| 873 | x3, | |
| 874 | y3, | |
| 875 | z3, | |
| 876 | msh | |
| 877 | }) | |
| 878 | end | |
| 879 | }, | |
| 880 | Break = {
| |
| 881 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 882 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 883 | prt.Anchored = true | |
| 884 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 885 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 886 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 887 | local num = math.random(10, 50) / 1000 | |
| 888 | table.insert(Effects, {
| |
| 889 | prt, | |
| 890 | "Shatter", | |
| 891 | num, | |
| 892 | prt.CFrame, | |
| 893 | math.random() - math.random(), | |
| 894 | 0, | |
| 895 | math.random(50, 100) / 100 | |
| 896 | }) | |
| 897 | end | |
| 898 | }, | |
| 899 | Elec = {
| |
| 900 | Create = function(brickcolor, cff, x, y, z) | |
| 901 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1)) | |
| 902 | prt.Anchored = true | |
| 903 | 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) | |
| 904 | prt.CFrame = CFrame.new(prt.Position) | |
| 905 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 906 | xval = math.random() / 9 | |
| 907 | yval = math.random() / 9 | |
| 908 | zval = math.random() / 9 | |
| 909 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 910 | eul1 = math.random(-50, 50) | |
| 911 | eul2 = math.random(-50, 50) | |
| 912 | eul3 = math.random(-50, 50) | |
| 913 | euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
| 914 | euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
| 915 | table.insert(Effects, {
| |
| 916 | prt, | |
| 917 | "Elec", | |
| 918 | 0.05, | |
| 919 | x, | |
| 920 | y, | |
| 921 | z, | |
| 922 | xval, | |
| 923 | yval, | |
| 924 | zval, | |
| 925 | msh, | |
| 926 | euld, | |
| 927 | euld2 | |
| 928 | }) | |
| 929 | end | |
| 930 | }, | |
| 931 | Elec2 = {
| |
| 932 | Create = function(brickcolor, cff, x, y, z) | |
| 933 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Part", Vector3.new(1, 1, 1)) | |
| 934 | prt.Anchored = true | |
| 935 | 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) | |
| 936 | prt.CFrame = CFrame.new(prt.Position) | |
| 937 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 938 | xval = math.random() / 7 | |
| 939 | yval = math.random() / 7 | |
| 940 | zval = math.random() / 7 | |
| 941 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 942 | eul1 = math.random(-50, 50) | |
| 943 | eul2 = math.random(-50, 50) | |
| 944 | eul3 = math.random(-50, 50) | |
| 945 | euld = CFrame.fromEulerAnglesXYZ(eul1, eul2, eul3) | |
| 946 | euld2 = CFrame.fromEulerAnglesXYZ(-eul1, -eul2, -eul3) | |
| 947 | table.insert(Effects, {
| |
| 948 | prt, | |
| 949 | "Elec", | |
| 950 | 0.1, | |
| 951 | x, | |
| 952 | y, | |
| 953 | z, | |
| 954 | xval, | |
| 955 | yval, | |
| 956 | zval, | |
| 957 | msh, | |
| 958 | euld, | |
| 959 | euld2 | |
| 960 | }) | |
| 961 | end | |
| 962 | }, | |
| 963 | Clone = {
| |
| 964 | Create = function() | |
| 965 | for _, v in pairs(Torso.Parent:children()) do | |
| 966 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 967 | local c = CFuncs.Part.Create(EffectModel, "Neon", 0, 0.5, BrickColor.new("Bright blue"), "Effect", v.Size)
| |
| 968 | c.Anchored = true | |
| 969 | c.CFrame = v.CFrame | |
| 970 | game:GetService("Debris"):AddItem(c, 5)
| |
| 971 | local cmsh | |
| 972 | if v.Name == "Head" then | |
| 973 | cmsh = CFuncs.Mesh.Create("SpecialMesh", c, "Head", "", Vector3.new(0, 0, 0), v.Mesh.Scale)
| |
| 974 | else | |
| 975 | cmsh = CFuncs.Mesh.Create("BlockMesh", c, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
| |
| 976 | end | |
| 977 | table.insert(Effects, {
| |
| 978 | c, | |
| 979 | "Cylinder", | |
| 980 | 0.05, | |
| 981 | 0.1, | |
| 982 | 0.1, | |
| 983 | 0.1, | |
| 984 | cmsh | |
| 985 | }) | |
| 986 | end | |
| 987 | end | |
| 988 | end | |
| 989 | }, | |
| 990 | EffectTemplate = {}
| |
| 991 | } | |
| 992 | function Attackone() | |
| 993 | Attack = true | |
| 994 | for i = 1, 2 do | |
| 995 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 995 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 996 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 996 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 997 | end | |
| 998 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 998 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 999 | CFuncs.Sound.Create("333476017", SlicerR, 0.3, 1.5)
| |
| 1000 | CFuncs.Sound.Create("338594711", SlicerR, 0.3, 1.3)
| |
| 1001 | SlicerR.Transparency = 0.2 | |
| 1002 | for i = 0, 1, 0.16 do | |
| 1003 | swait() | |
| 1004 | PlayAnimationFromTable(AnimTable.CWK1.Animation(1), 0.35, false) | |
| 1005 | end | |
| 1006 | MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1) | |
| 1007 | CFuncs.Sound.Create("338594594", SlicerR, 1, 1.1)
| |
| 1008 | for i = 0, 1, 0.15 do | |
| 1009 | swait() | |
| 1010 | RootPart.Velocity = RootPart.CFrame.lookVector * 30 | |
| 1011 | PlayAnimationFromTable(AnimTable.CWK1.Animation(2), 0.5, false) | |
| 1012 | SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, -0.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
| 1013 | end | |
| 1014 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1014 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1015 | SlicerR.Transparency = 1 | |
| 1016 | Attack = false | |
| 1017 | end | |
| 1018 | function Attacktwo() | |
| 1019 | Attack = true | |
| 1020 | for i = 1, 2 do | |
| 1021 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1021 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1022 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1022 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1023 | end | |
| 1024 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1024 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1025 | CFuncs.Sound.Create("333476017", SlicerL, 0.3, 1.4)
| |
| 1026 | CFuncs.Sound.Create("338594711", SlicerL, 0.3, 1.2)
| |
| 1027 | SlicerL.Transparency = 0.2 | |
| 1028 | for i = 0, 1, 0.16 do | |
| 1029 | swait() | |
| 1030 | PlayAnimationFromTable(AnimTable.CWK2.Animation(1), 0.35, false) | |
| 1031 | end | |
| 1032 | MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1) | |
| 1033 | CFuncs.Sound.Create("338594594", SlicerL, 1, 0.9)
| |
| 1034 | for i = 0, 1, 0.15 do | |
| 1035 | swait() | |
| 1036 | RootPart.Velocity = RootPart.CFrame.lookVector * 30 | |
| 1037 | PlayAnimationFromTable(AnimTable.CWK2.Animation(2), 0.55, false) | |
| 1038 | SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, -0.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.55) | |
| 1039 | end | |
| 1040 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1040 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1041 | SlicerL.Transparency = 1 | |
| 1042 | Attack = false | |
| 1043 | end | |
| 1044 | function Attackthree() | |
| 1045 | Attack = true | |
| 1046 | for i = 1, 2 do | |
| 1047 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1047 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1048 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1048 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1049 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1049 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1050 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1050 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1051 | end | |
| 1052 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1052 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1053 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1053 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1054 | CFuncs.Sound.Create("333476017", SpearL, 0.2, 1.5)
| |
| 1055 | CFuncs.Sound.Create("338594711", SpearL, 0.2, 1.3)
| |
| 1056 | CFuncs.Sound.Create("333476017", SpearR, 0.2, 1.5)
| |
| 1057 | CFuncs.Sound.Create("338594711", SpearR, 0.2, 1.3)
| |
| 1058 | SpearR.Transparency = 0.2 | |
| 1059 | SpearL.Transparency = 0.2 | |
| 1060 | for i = 0, 1, 0.2 do | |
| 1061 | swait() | |
| 1062 | PlayAnimationFromTable(AnimTable.CWK3.Animation(1), 0.4, false) | |
| 1063 | end | |
| 1064 | MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1) | |
| 1065 | MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1) | |
| 1066 | CFuncs.Sound.Create("338594594", SpearR, 0.5, 1)
| |
| 1067 | CFuncs.Sound.Create("338594594", SpearL, 0.5, 1)
| |
| 1068 | for i = 0, 1, 0.15 do | |
| 1069 | swait() | |
| 1070 | RootPart.Velocity = RootPart.CFrame.lookVector * 40 | |
| 1071 | PlayAnimationFromTable(AnimTable.CWK3.Animation(2), 0.5, false) | |
| 1072 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
| 1073 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
| 1074 | end | |
| 1075 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1075 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1076 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1076 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1077 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1077 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1078 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1078 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1079 | SpearR.Transparency = 1 | |
| 1080 | SpearL.Transparency = 1 | |
| 1081 | Attack = false | |
| 1082 | end | |
| 1083 | function Attackfour() | |
| 1084 | Attack = true | |
| 1085 | for i = 1, 2 do | |
| 1086 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1086 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1087 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1087 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1088 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1088 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1089 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1089 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1090 | end | |
| 1091 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1091 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1092 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1092 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1093 | CFuncs.Sound.Create("333476017", SlicerL, 0.2, 1.5)
| |
| 1094 | CFuncs.Sound.Create("338594711", SlicerL, 0.2, 1.3)
| |
| 1095 | CFuncs.Sound.Create("333476017", SlicerR, 0.2, 1.5)
| |
| 1096 | CFuncs.Sound.Create("338594711", SlicerR, 0.2, 1.3)
| |
| 1097 | SlicerR.Transparency = 0.2 | |
| 1098 | SlicerL.Transparency = 0.2 | |
| 1099 | for i = 0, 1, 0.12 do | |
| 1100 | swait() | |
| 1101 | PlayAnimationFromTable(AnimTable.CWK4.Animation(1), 0.35, false) | |
| 1102 | end | |
| 1103 | MagnitudeDamage(SlicerR, 7, 5, 8, math.random(1, 3), "Normal", "", 1) | |
| 1104 | MagnitudeDamage(SlicerL, 7, 5, 8, math.random(1, 3), "Normal", "", 1) | |
| 1105 | CFuncs.Sound.Create("338594594", SlicerR, 0.5, 1)
| |
| 1106 | CFuncs.Sound.Create("338594594", SlicerL, 0.5, 1)
| |
| 1107 | CFuncs.Sound.Create("199145327", Torso, 0.5, 1)
| |
| 1108 | Humanoid.Jump = true | |
| 1109 | RootPart.Velocity = RootPart.CFrame.lookVector * 50 | |
| 1110 | for i = 0, 1, 0.13 do | |
| 1111 | swait() | |
| 1112 | PlayAnimationFromTable({
| |
| 1113 | 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), | |
| 1114 | 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), | |
| 1115 | 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), | |
| 1116 | 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), | |
| 1117 | 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), | |
| 1118 | 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) | |
| 1119 | }, 0.5, false, i) | |
| 1120 | SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
| 1121 | SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
| 1122 | end | |
| 1123 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1123 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1124 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1124 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1125 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1125 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1126 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1126 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SlicerL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1127 | SlicerR.Transparency = 1 | |
| 1128 | SlicerL.Transparency = 1 | |
| 1129 | Attack = false | |
| 1130 | end | |
| 1131 | function newBezier(startpos, pos2, pos3, endpos, t) | |
| 1132 | local A = clerp(startpos, pos2, t) | |
| 1133 | local B = clerp(pos2, pos3, t) | |
| 1134 | local C = clerp(pos3, endpos, t) | |
| 1135 | local lerp1 = clerp(A, B, t) | |
| 1136 | local lerp2 = clerp(B, C, t) | |
| 1137 | local cubic = clerp(lerp1, lerp2, t) | |
| 1138 | return cubic | |
| 1139 | end | |
| 1140 | local IceHitSounds = {
| |
| 1141 | "338594737", | |
| 1142 | "338594687", | |
| 1143 | "338594666", | |
| 1144 | "338594648", | |
| 1145 | "338594606", | |
| 1146 | "338594574", | |
| 1147 | "338594556", | |
| 1148 | "338594524", | |
| 1149 | "338594467" | |
| 1150 | } | |
| 1151 | function Mortar(Target) | |
| 1152 | local newball = Instance.new("Part", workspace)
| |
| 1153 | newball.Anchored = true | |
| 1154 | newball.Shape = "Ball" | |
| 1155 | newball.Material = "Neon" | |
| 1156 | newball.Size = Vector3.new(2, 2, 2) | |
| 1157 | newball.CanCollide = false | |
| 1158 | newball.CFrame = Target.CFrame | |
| 1159 | - | newball.BrickColor = BrickColor.new("Pastel light blue")
|
| 1159 | + | newball.BrickColor = BrickColor.new("Really red")
|
| 1160 | newball.Transparency = 0.5 | |
| 1161 | local Cys = Instance.new("SpecialMesh", newball)
| |
| 1162 | Cys.MeshType = "FileMesh" | |
| 1163 | Cys.MeshId = "rbxassetid://9756362" | |
| 1164 | Cys.Scale = Vector3.new(1, 1, 1) | |
| 1165 | local A1 = Create("Attachment")({
| |
| 1166 | Parent = newball, | |
| 1167 | Position = Vector3.new(0, 1, 0) | |
| 1168 | }) | |
| 1169 | local A2 = Create("Attachment")({
| |
| 1170 | Parent = newball, | |
| 1171 | Position = Vector3.new(0, -1, 0) | |
| 1172 | }) | |
| 1173 | local Trail = Create("Trail")({
| |
| 1174 | Parent = newball, | |
| 1175 | LightEmission = 1, | |
| 1176 | FaceCamera = true, | |
| 1177 | Texture = "rbxassetid://945758042", | |
| 1178 | Attachment0 = A1, | |
| 1179 | Attachment1 = A2, | |
| 1180 | Lifetime = 0.5, | |
| 1181 | MinLength = 0, | |
| 1182 | Transparency = NumberSequence.new(0.3, 1), | |
| 1183 | - | Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
|
| 1183 | + | Color = ColorSequence.new(BrickColor.new("Really red").Color)
|
| 1184 | }) | |
| 1185 | local onefourth = Target.Position:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25)) | |
| 1186 | local threefourths = Target.Position:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25)) | |
| 1187 | local MPos = Mouse.Hit.p | |
| 1188 | coroutine.resume(coroutine.create(function() | |
| 1189 | for i = 0, 1, 0.07 do | |
| 1190 | swait() | |
| 1191 | newball.CFrame = CFrame.new(newBezier(Target.Position, onefourth, threefourths, MPos, i)) | |
| 1192 | end | |
| 1193 | CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], newball, 1, math.random(1, 2)) | |
| 1194 | for i = 1, 5 do | |
| 1195 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), newball.CFrame * CFrame.new(0, 0, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1195 | + | Effects.Break.Create(BrickColor.new("Really red"), newball.CFrame * CFrame.new(0, 0, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1196 | end | |
| 1197 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), newball.CFrame, 3, 3, 3, 1, 1, 1, 0.05, 3, newball)
|
| 1197 | + | Effects.Block.Create(BrickColor.new("Really red"), newball.CFrame, 3, 3, 3, 1, 1, 1, 0.05, 3, newball)
|
| 1198 | newball.Transparency = 1 | |
| 1199 | MagnitudeDamage(newball, 4, 15, 25, math.random(1, 3), "Normal", "", 1) | |
| 1200 | game:GetService("Debris"):AddItem(newball, 5)
| |
| 1201 | end)) | |
| 1202 | end | |
| 1203 | function ShootCrystals() | |
| 1204 | Attack = true | |
| 1205 | Humanoid.AutoRotate = false | |
| 1206 | for i = 1, 2 do | |
| 1207 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1207 | + | Effects.Break.Create(BrickColor.new("Really red"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1208 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1208 | + | Effects.Break.Create(BrickColor.new("Really red"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1209 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1209 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1210 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1210 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1211 | end | |
| 1212 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), CrossbowR.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
|
| 1212 | + | Effects.Sphere.Create(BrickColor.new("Really red"), CrossbowR.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
|
| 1213 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), CrossbowL.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
|
| 1213 | + | Effects.Sphere.Create(BrickColor.new("Really red"), CrossbowL.CFrame, 2, 2, 3, 2, 2, 3, 0.15)
|
| 1214 | CFuncs.Sound.Create("333476017", CrossbowL, 0.2, 1.5)
| |
| 1215 | CFuncs.Sound.Create("338594711", CrossbowL, 0.2, 1.3)
| |
| 1216 | CFuncs.Sound.Create("333476017", CrossbowR, 0.2, 1.5)
| |
| 1217 | CFuncs.Sound.Create("338594711", CrossbowR, 0.2, 1.3)
| |
| 1218 | CrossbowR.Transparency = 0.2 | |
| 1219 | CrossbowL.Transparency = 0.2 | |
| 1220 | for i = 0, 1, 0.2 do | |
| 1221 | swait() | |
| 1222 | PlayAnimationFromTable(AnimTable.CWSC.Animation(1), 0.4, false) | |
| 1223 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1224 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1225 | end | |
| 1226 | Humanoid.WalkSpeed = 5 | |
| 1227 | for i = 0, 1, 0.15 do | |
| 1228 | swait() | |
| 1229 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
| 1230 | local direction = aim.lookVector | |
| 1231 | local headingA = math.atan2(direction.x, direction.z) | |
| 1232 | headingA = math.deg(headingA) | |
| 1233 | RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)) | |
| 1234 | PlayAnimationFromTable(AnimTable.CWSC.Animation(2), 0.35, false) | |
| 1235 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.35) | |
| 1236 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.35) | |
| 1237 | end | |
| 1238 | CFuncs.Sound.Create("301033949", CrossbowR, 1, 1.2)
| |
| 1239 | CFuncs.Sound.Create("334325056", CrossbowR, 1, 1.3)
| |
| 1240 | CFuncs.Sound.Create("338594467", CrossbowR, 1, 1.1)
| |
| 1241 | CFuncs.Sound.Create("301033949", CrossbowL, 1, 1.2)
| |
| 1242 | CFuncs.Sound.Create("334325056", CrossbowL, 1, 1.3)
| |
| 1243 | CFuncs.Sound.Create("338594467", CrossbowL, 1, 1.1)
| |
| 1244 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1244 | + | Effects.Break.Create(BrickColor.new("Really red"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1245 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), CrossbowR.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
|
| 1245 | + | Effects.Block.Create(BrickColor.new("Really red"), CrossbowR.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
|
| 1246 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1246 | + | Effects.Break.Create(BrickColor.new("Really red"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1247 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), CrossbowL.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
|
| 1247 | + | Effects.Block.Create(BrickColor.new("Really red"), CrossbowL.CFrame, 1, 1, 1, 1, 1, 1, 0.1, 1)
|
| 1248 | for i = 1, 3 do | |
| 1249 | Mortar(CrossbowR) | |
| 1250 | Mortar(CrossbowL) | |
| 1251 | end | |
| 1252 | for i = 0, 1, 0.3 do | |
| 1253 | swait() | |
| 1254 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
| 1255 | local direction = aim.lookVector | |
| 1256 | local headingA = math.atan2(direction.x, direction.z) | |
| 1257 | headingA = math.deg(headingA) | |
| 1258 | RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)) | |
| 1259 | PlayAnimationFromTable(AnimTable.CWSC.Animation(3), 0.5, false) | |
| 1260 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
| 1261 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5) | |
| 1262 | end | |
| 1263 | for i = 0, 1, 0.2 do | |
| 1264 | swait() | |
| 1265 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
| 1266 | local direction = aim.lookVector | |
| 1267 | local headingA = math.atan2(direction.x, direction.z) | |
| 1268 | headingA = math.deg(headingA) | |
| 1269 | RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)) | |
| 1270 | PlayAnimationFromTable(AnimTable.CWSC.Animation(4), 0.45, false) | |
| 1271 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1272 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1273 | end | |
| 1274 | Humanoid.WalkSpeed = 16 | |
| 1275 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1275 | + | Effects.Break.Create(BrickColor.new("Really red"), CrossbowR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1276 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1276 | + | Effects.Break.Create(BrickColor.new("Really red"), CrossbowL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1277 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), CrossbowR.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
|
| 1277 | + | Effects.Sphere.Create(BrickColor.new("Really red"), CrossbowR.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
|
| 1278 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), CrossbowL.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
|
| 1278 | + | Effects.Sphere.Create(BrickColor.new("Really red"), CrossbowL.CFrame, 2, 3, 2, 2, 3, 2, 0.15)
|
| 1279 | CrossbowR.Transparency = 1 | |
| 1280 | CrossbowL.Transparency = 1 | |
| 1281 | Humanoid.AutoRotate = true | |
| 1282 | Attack = false | |
| 1283 | end | |
| 1284 | local CrystalNumb = 0 | |
| 1285 | local Crystals = {}
| |
| 1286 | local Increase = 0 | |
| 1287 | local Inc2 = 0 | |
| 1288 | local IceMaterializeSounds = {
| |
| 1289 | "333476017", | |
| 1290 | "333475981", | |
| 1291 | "333475957", | |
| 1292 | "333475929" | |
| 1293 | } | |
| 1294 | function GroundCrystals() | |
| 1295 | Attack = true | |
| 1296 | Humanoid.WalkSpeed = 10 | |
| 1297 | Effects.Block.Create(SlicerR.BrickColor, SlicerR.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.1, 3, SlicerR) | |
| 1298 | Effects.Block.Create(SlicerR.BrickColor, SlicerL.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.1, 3, SlicerL) | |
| 1299 | for i = 0, 1, 0.1 do | |
| 1300 | swait() | |
| 1301 | PlayAnimationFromTable(AnimTable.CWGC.Animation(1), 0.3, false) | |
| 1302 | end | |
| 1303 | for i = 1, 2 do | |
| 1304 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1304 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1305 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1305 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1306 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1306 | + | Effects.Break.Create(BrickColor.new("Really red"), SlicerL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1307 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1307 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1308 | end | |
| 1309 | Effects.Block.Create(SlicerR.BrickColor, SlicerR.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.06, 3, SlicerR) | |
| 1310 | Effects.Block.Create(SlicerR.BrickColor, SlicerL.CFrame, 1, 1, 1, 1.5, 1.5, 1.5, 0.06, 3, SlicerL) | |
| 1311 | for i = 1, 8 do | |
| 1312 | CrystalNumb = CrystalNumb + 1 | |
| 1313 | print(CrystalNumb) | |
| 1314 | - | local base = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Part1", Vector3.new(1, 1, 1))
|
| 1314 | + | local base = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Cyan"), "Part1", Vector3.new(1, 1, 1))
|
| 1315 | base.Anchored = true | |
| 1316 | base.CFrame = RootPart.CFrame * CFrame.new(0, 25, 0) | |
| 1317 | local crystall = CFuncs.Part.Create(base, "SmoothPlastic", 0.4, 0.3, SlicerR.BrickColor, "Crystal", Vector3.new(2, 2, 2)) | |
| 1318 | local msh = CFuncs.Mesh.Create("SpecialMesh", crystall, "FileMesh", "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 2, 2))
| |
| 1319 | crystall.Anchored = false | |
| 1320 | crystall.CFrame = base.CFrame | |
| 1321 | CFuncs.Sound.Create(IceMaterializeSounds[math.random(1, #IceMaterializeSounds)], crystall, 0.5, math.random(1, 2)) | |
| 1322 | Effects.Block.Create(SlicerR.BrickColor, crystall.CFrame, 1, 1, 1, 2, 2, 2, 0.1, 3, crystall) | |
| 1323 | local A1 = Create("Attachment")({
| |
| 1324 | Parent = crystall, | |
| 1325 | Position = Vector3.new(0, 1, 0) | |
| 1326 | }) | |
| 1327 | local A2 = Create("Attachment")({
| |
| 1328 | Parent = crystall, | |
| 1329 | Position = Vector3.new(0, -1, 0) | |
| 1330 | }) | |
| 1331 | local Trail = Create("Trail")({
| |
| 1332 | Parent = crystall, | |
| 1333 | LightEmission = 1, | |
| 1334 | FaceCamera = true, | |
| 1335 | Texture = "rbxassetid://945758042", | |
| 1336 | Attachment0 = A1, | |
| 1337 | Attachment1 = A2, | |
| 1338 | Lifetime = 0.5, | |
| 1339 | MinLength = 0, | |
| 1340 | Transparency = NumberSequence.new(0.3, 1), | |
| 1341 | - | Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
|
| 1341 | + | Color = ColorSequence.new(BrickColor.new("Really red").Color)
|
| 1342 | }) | |
| 1343 | table.insert(Crystals, crystall) | |
| 1344 | end | |
| 1345 | Humanoid.WalkSpeed = 5 | |
| 1346 | for i = 0, 1, 0.03 do | |
| 1347 | swait() | |
| 1348 | Inc2 = Inc2 + 0.003 | |
| 1349 | Increase = Increase + 0.15 + Inc2 | |
| 1350 | PlayAnimationFromTable(AnimTable.CWGC.Animation(2), 0.3, false) | |
| 1351 | end | |
| 1352 | MagnitudeDamage(RootPart, 20, 25, 30, math.random(1, 3), "Knockdown", "", 1) | |
| 1353 | for e = 1, #Crystals do | |
| 1354 | Effects.Block.Create(SlicerR.BrickColor, Crystals[e].CFrame, 1, 1, 1, 2, 2, 2, 0.1, 3, Crystals[e]) | |
| 1355 | CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], Crystals[e].Parent, 0.5, math.random(1, 2)) | |
| 1356 | CrystalNumb = CrystalNumb - 1 | |
| 1357 | Crystals[e].Parent = nil | |
| 1358 | for i = 1, 4 do | |
| 1359 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), Crystals[e].CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1359 | + | Effects.Break.Create(BrickColor.new("Really red"), Crystals[e].CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1360 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1360 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1361 | end | |
| 1362 | for i = 1, 10 do | |
| 1363 | local brokecryst = CFuncs.Part.Create(workspace, "SmoothPlastic", 0.4, 0.5, SlicerR.BrickColor, "Crystal", Vector3.new(1, 1, 1)) | |
| 1364 | local mshh = CFuncs.Mesh.Create("SpecialMesh", brokecryst, "FileMesh", "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(math.random() - math.random(), math.random() + math.random(0, 1), math.random() - math.random()))
| |
| 1365 | brokecryst.CanCollide = false | |
| 1366 | 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)) | |
| 1367 | brokecryst.Velocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100)) | |
| 1368 | game:GetService("Debris"):AddItem(brokecryst, 4)
| |
| 1369 | end | |
| 1370 | end | |
| 1371 | for i = 1, 10 do | |
| 1372 | for e = 1, #Crystals do | |
| 1373 | print(#Crystals) | |
| 1374 | table.remove(Crystals, e) | |
| 1375 | end | |
| 1376 | end | |
| 1377 | Humanoid.WalkSpeed = 16 | |
| 1378 | Increase = 0 | |
| 1379 | Inc2 = 0 | |
| 1380 | CrystalNumb = 0 | |
| 1381 | Attack = false | |
| 1382 | end | |
| 1383 | local bep = false | |
| 1384 | local blur = function(limb) | |
| 1385 | coroutine.resume(coroutine.create(function() | |
| 1386 | local memedon = {}
| |
| 1387 | for i = 1, 6 do | |
| 1388 | local b1 = Instance.new("Part")
| |
| 1389 | b1.Size = Vector3.new(1, 2, 1) | |
| 1390 | b1.CFrame = limb.CFrame * CFrame.new(math.random(-5, 5) / 10, math.random(-5, 5) / 10, math.random(-5, 5) / 10) | |
| 1391 | b1.CanCollide = false | |
| 1392 | - | b1.BrickColor = BrickColor.new("Pastel light blue")
|
| 1392 | + | b1.BrickColor = BrickColor.new("Really red")
|
| 1393 | b1.Material = "Neon" | |
| 1394 | b1.Anchored = true | |
| 1395 | b1.Transparency = 0.8 | |
| 1396 | b1.Locked = true | |
| 1397 | b1.Parent = EffectModel | |
| 1398 | local b2 = Instance.new("BlockMesh", b1)
| |
| 1399 | RemoveOutlines(b1) | |
| 1400 | table.insert(Effects, {
| |
| 1401 | b1, | |
| 1402 | "Cylinder", | |
| 1403 | 0.07, | |
| 1404 | 0.1, | |
| 1405 | 0.1, | |
| 1406 | 0.1, | |
| 1407 | b2 | |
| 1408 | }) | |
| 1409 | table.insert(memedon, b1) | |
| 1410 | end | |
| 1411 | local num = 0 | |
| 1412 | end)) | |
| 1413 | end | |
| 1414 | local Hit = true | |
| 1415 | function ShaunneNoDontRapeThem() | |
| 1416 | Attack = true | |
| 1417 | for i = 1, 2 do | |
| 1418 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1418 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1419 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1419 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1420 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1420 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1421 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1421 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1422 | end | |
| 1423 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1423 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearR.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1424 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1424 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearL.CFrame, 2, 2, 5, 2, 2, 5, 0.15)
|
| 1425 | CFuncs.Sound.Create("333476017", SpearL, 0.2, 1.5)
| |
| 1426 | CFuncs.Sound.Create("338594711", SpearL, 0.2, 1.3)
| |
| 1427 | CFuncs.Sound.Create("333476017", SpearR, 0.2, 1.5)
| |
| 1428 | CFuncs.Sound.Create("338594711", SpearR, 0.2, 1.3)
| |
| 1429 | SpearR.Transparency = 0.2 | |
| 1430 | SpearL.Transparency = 0.2 | |
| 1431 | for i = 0, 1, 0.15 do | |
| 1432 | swait() | |
| 1433 | PlayAnimationFromTable(AnimTable.CWRT.Animation(1), 0.35, false) | |
| 1434 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1435 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1436 | end | |
| 1437 | MagnitudeDamage(RootPart, 15, 25, 30, math.random(1, 3), "Snare", "", 1) | |
| 1438 | CFuncs.Sound.Create("763716870", RootPart, 1, 1)
| |
| 1439 | CFuncs.Sound.Create("320557537", RootPart, 1, 0.8)
| |
| 1440 | for i = 0, 1, 0.2 do | |
| 1441 | swait() | |
| 1442 | - | Effects.Wave.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1442 | + | Effects.Wave.Create(BrickColor.new("Really red"), 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)
|
| 1443 | - | Effects.Wave.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1443 | + | Effects.Wave.Create(BrickColor.new("Really red"), 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)
|
| 1444 | RootPart.Velocity = RootPart.CFrame.lookVector * 70 | |
| 1445 | PlayAnimationFromTable(AnimTable.CWRT.Animation(2), 0.45, false) | |
| 1446 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1447 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1448 | end | |
| 1449 | if Hit == true then | |
| 1450 | for i = 1, 4 do | |
| 1451 | for i = 0, 1, 0.6 do | |
| 1452 | swait() | |
| 1453 | blur(RightArm) | |
| 1454 | blur(LeftLeg) | |
| 1455 | PlayAnimationFromTable(AnimTable.CWRT.Animation(3), 0.6, false) | |
| 1456 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1457 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1458 | end | |
| 1459 | MagnitudeDamage(SpearR, 5, 5, 12, math.random(1, 3), "Normal", "", 1) | |
| 1460 | CFuncs.Sound.Create("338594594", SlicerR, 0.5, math.random(8, 9) / 10)
| |
| 1461 | for i = 0, 1, 0.6 do | |
| 1462 | swait() | |
| 1463 | blur(LeftArm) | |
| 1464 | blur(RightLeg) | |
| 1465 | PlayAnimationFromTable(AnimTable.CWRT.Animation(4), 0.6, false) | |
| 1466 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1467 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1468 | end | |
| 1469 | MagnitudeDamage(SpearL, 5, 5, 12, math.random(1, 3), "Normal", "", 1) | |
| 1470 | CFuncs.Sound.Create("338594594", SlicerL, 0.5, math.random(8, 9) / 10)
| |
| 1471 | end | |
| 1472 | for i = 0, 1, 0.12 do | |
| 1473 | swait() | |
| 1474 | PlayAnimationFromTable(AnimTable.CWRT.Animation(5), 0.5, false) | |
| 1475 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1476 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6) | |
| 1477 | end | |
| 1478 | end | |
| 1479 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1479 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearR.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1480 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1480 | + | Effects.Break.Create(BrickColor.new("Really red"), SpearL.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1481 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1481 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearR.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1482 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1482 | + | Effects.Sphere.Create(BrickColor.new("Really red"), SpearL.CFrame, 2, 5, 2, 2, 5, 2, 0.15)
|
| 1483 | SpearR.Transparency = 1 | |
| 1484 | SpearL.Transparency = 1 | |
| 1485 | Attack = false | |
| 1486 | end | |
| 1487 | local Hold = false | |
| 1488 | local Add = 0 | |
| 1489 | function Laser() | |
| 1490 | Attack = true | |
| 1491 | laser = true | |
| 1492 | CFuncs.Sound.Create("333476017", CenterLayer, 1, 1.2)
| |
| 1493 | CFuncs.Sound.Create("338594711", CenterLayer, 1, 1)
| |
| 1494 | CFuncs.Sound.Create("338594747", CenterLayer, 1, 0.8)
| |
| 1495 | for i = 1, 4 do | |
| 1496 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CenterLayer.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1496 | + | Effects.Break.Create(BrickColor.new("Really red"), CenterLayer.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1497 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1497 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1498 | end | |
| 1499 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
|
| 1499 | + | Effects.Sphere.Create(BrickColor.new("Really red"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
|
| 1500 | CenterLayer.Transparency = 0.2 | |
| 1501 | Layer2.Transparency = 0.2 | |
| 1502 | Layer3.Transparency = 0.2 | |
| 1503 | Humanoid.AutoRotate = false | |
| 1504 | Humanoid.WalkSpeed = 5 | |
| 1505 | for i = 0, 1, 0.1 do | |
| 1506 | swait() | |
| 1507 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
| 1508 | local direction = aim.lookVector | |
| 1509 | local headingA = math.atan2(direction.x, direction.z) | |
| 1510 | local headingA = math.deg(headingA) | |
| 1511 | RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3) | |
| 1512 | Add = Add + 1 | |
| 1513 | Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6) | |
| 1514 | Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6) | |
| 1515 | CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3) | |
| 1516 | PlayAnimationFromTable(AnimTable.CWL.Animation(1), 0.3, false) | |
| 1517 | end | |
| 1518 | Humanoid.WalkSpeed = 3 | |
| 1519 | for i = 0, 1, 0.05 do | |
| 1520 | swait() | |
| 1521 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
| 1522 | local direction = aim.lookVector | |
| 1523 | local headingA = math.atan2(direction.x, direction.z) | |
| 1524 | local headingA = math.deg(headingA) | |
| 1525 | RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3) | |
| 1526 | Add = Add + 5 | |
| 1527 | Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6) | |
| 1528 | Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6) | |
| 1529 | CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3) | |
| 1530 | PlayAnimationFromTable(AnimTable.CWL.Animation(2), 0.2, false) | |
| 1531 | end | |
| 1532 | CFuncs.Sound.Create("338594626", CenterLayer, 1, 0.9)
| |
| 1533 | Humanoid.WalkSpeed = 0 | |
| 1534 | - | local RightEyeLaserPart = CFuncs.Part.Create(EffectModel, "Neon", 0, 0.5, "Pastel light blue", "Effect", Vector3.new()) |
| 1534 | + | local RightEyeLaserPart = CFuncs.Part.Create(EffectModel, "Neon", 0, 0.5, "Really red", "Effect", Vector3.new()) |
| 1535 | RightEyeLaserPart.Anchored = true | |
| 1536 | local RightEyeLaserMesh = CFuncs.Mesh.Create("SpecialMesh", RightEyeLaserPart, "Cylinder", "", Vector3.new(0, 0, 0), Vector3.new(0, 10, 10))
| |
| 1537 | - | local SoundPrt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, "Pastel light blue", "Effect", Vector3.new()) |
| 1537 | + | local SoundPrt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, "Really red", "Effect", Vector3.new()) |
| 1538 | SoundPrt.Anchored = true | |
| 1539 | for i = 0, 1, 0.01 do | |
| 1540 | swait() | |
| 1541 | local aim = CFrame.new(RootPart.Position, Mouse.Hit.p) | |
| 1542 | local direction = aim.lookVector | |
| 1543 | local headingA = math.atan2(direction.x, direction.z) | |
| 1544 | local headingA = math.deg(headingA) | |
| 1545 | RootPart.CFrame = RootPart.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0)), 0.3) | |
| 1546 | PlayAnimationFromTable(AnimTable.CWL.Animation(3), 0.3, false) | |
| 1547 | Add = Add + 10 | |
| 1548 | MagnitudeDamage(SoundPrt, 17, 0.5, 1.5, math.random(1, 3), "Normal", "", 1) | |
| 1549 | Effects.Block.Create(SlicerR.BrickColor, CenterLayer.CFrame, 3, 3, 3, 4, 4, 4, 0.1, 3, CenterLayer) | |
| 1550 | Layer2Weld.C0 = clerp(Layer2Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(Add), math.rad(0)), 0.6) | |
| 1551 | Layer3Weld.C0 = clerp(Layer3Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-Add), math.rad(0)), 0.6) | |
| 1552 | CenterLayer.CFrame = CenterLayer.CFrame:lerp(CFrame.new(CenterLayer.CFrame.p, Mouse.hit.p) * CFrame.Angles(math.rad(90), 0, 0), 0.3) | |
| 1553 | local POSITION1 = CenterLayer.Position | |
| 1554 | local POSITION2 = Mouse.hit.p | |
| 1555 | local MAINPOSITION = CFrame.new((POSITION1 + POSITION2) / 2, POSITION2) | |
| 1556 | local RightEyeLaserHit, RightEyeLaserPosition = RayCast(POSITION1, MAINPOSITION.lookVector, 1999, Character) | |
| 1557 | local LASERMAGNITUDE = (POSITION1 - RightEyeLaserPosition).magnitude | |
| 1558 | SoundPrt.Position = RightEyeLaserPosition | |
| 1559 | CFuncs.Sound.Create(IceHitSounds[math.random(1, #IceHitSounds)], SoundPrt, 0.5, math.random(1, 2)) | |
| 1560 | RightEyeLaserMesh.Scale = Vector3.new(LASERMAGNITUDE * 5, 26, 26) | |
| 1561 | RightEyeLaserPart.CFrame = CFrame.new((POSITION1 + RightEyeLaserPosition) / 2, RightEyeLaserPosition) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1562 | - | Effects.Cylinder.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1562 | + | Effects.Cylinder.Create(BrickColor.new("Really red"), 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)
|
| 1563 | Effects.Block.Create(SlicerR.BrickColor, CFrame.new(SoundPrt.Position), 7, 7, 7, 10, 10, 10, 0.15, 3, SoundPrt) | |
| 1564 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1564 | + | Effects.Sphere.Create(BrickColor.new("Really red"), 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)
|
| 1565 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CFrame.new(SoundPrt.Position) * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1565 | + | Effects.Break.Create(BrickColor.new("Really red"), CFrame.new(SoundPrt.Position) * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1566 | end | |
| 1567 | for i = 1, 4 do | |
| 1568 | - | Effects.Break.Create(BrickColor.new("Pastel light blue"), CenterLayer.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1568 | + | Effects.Break.Create(BrickColor.new("Really red"), CenterLayer.CFrame * CFrame.new(0, 4, 0), math.random(20, 80) / 100, math.random(2, 10), math.random(20, 80) / 100)
|
| 1569 | - | Effects.Block.Create(BrickColor.new("Pastel light blue"), 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)
|
| 1569 | + | Effects.Block.Create(BrickColor.new("Really red"), 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)
|
| 1570 | end | |
| 1571 | SoundPrt:remove() | |
| 1572 | - | Effects.Sphere.Create(BrickColor.new("Pastel light blue"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
|
| 1572 | + | Effects.Sphere.Create(BrickColor.new("Really red"), CenterLayer.CFrame, 5, 5, 5, 7, 7, 7, 0.15)
|
| 1573 | Humanoid.WalkSpeed = 16 | |
| 1574 | Humanoid.AutoRotate = true | |
| 1575 | RightEyeLaserPart:remove() | |
| 1576 | CenterLayer.Transparency = 1 | |
| 1577 | Layer2.Transparency = 1 | |
| 1578 | Layer3.Transparency = 1 | |
| 1579 | Add = 0 | |
| 1580 | laser = false | |
| 1581 | Attack = false | |
| 1582 | end | |
| 1583 | Mouse.Button1Down:connect(function() | |
| 1584 | if Attack == false and Combo == 1 then | |
| 1585 | Combo = 2 | |
| 1586 | Attackone() | |
| 1587 | elseif Attack == false and Combo == 2 then | |
| 1588 | Combo = 3 | |
| 1589 | Attacktwo() | |
| 1590 | elseif Attack == false and Combo == 3 then | |
| 1591 | Combo = 4 | |
| 1592 | Attackthree() | |
| 1593 | elseif Attack == false and Combo == 4 then | |
| 1594 | Combo = 1 | |
| 1595 | Attackfour() | |
| 1596 | end | |
| 1597 | end) | |
| 1598 | Mouse.KeyDown:connect(function(Key) | |
| 1599 | Key = Key:lower() | |
| 1600 | if Attack == false and Key == "z" and cooldown1 >= co1 then | |
| 1601 | cooldown1 = 0 | |
| 1602 | ShootCrystals() | |
| 1603 | elseif Attack == false and Key == "x" and cooldown2 >= co2 then | |
| 1604 | cooldown2 = 0 | |
| 1605 | GroundCrystals() | |
| 1606 | elseif Attack == false and Key == "c" and cooldown3 >= co3 then | |
| 1607 | cooldown3 = 0 | |
| 1608 | ShaunneNoDontRapeThem() | |
| 1609 | elseif Attack == false and Key == "v" and cooldown4 >= co4 then | |
| 1610 | cooldown4 = 0 | |
| 1611 | Laser() | |
| 1612 | end | |
| 1613 | end) | |
| 1614 | numbb = 0 | |
| 1615 | datnumb = 0 | |
| 1616 | function updateskills() | |
| 1617 | if cooldown1 <= co1 then | |
| 1618 | cooldown1 = cooldown1 + 0.03333333333333333 | |
| 1619 | end | |
| 1620 | if cooldown2 <= co2 then | |
| 1621 | cooldown2 = cooldown2 + 0.03333333333333333 | |
| 1622 | end | |
| 1623 | if cooldown3 <= co3 then | |
| 1624 | cooldown3 = cooldown3 + 0.03333333333333333 | |
| 1625 | end | |
| 1626 | if cooldown4 <= co4 then | |
| 1627 | cooldown4 = cooldown4 + 0.03333333333333333 | |
| 1628 | end | |
| 1629 | end | |
| 1630 | while true do | |
| 1631 | swait() | |
| 1632 | updateskills() | |
| 1633 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1634 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1635 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1636 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
| 1637 | CenterMostLayer.Anchored = true | |
| 1638 | UltModel:SetPrimaryPartCFrame(RootPart.CFrame * CFrame.new(0, 10, 0)) | |
| 1639 | for i, v in pairs(Character:GetChildren()) do | |
| 1640 | if v:IsA("Part") then
| |
| 1641 | v.Material = "SmoothPlastic" | |
| 1642 | elseif v:IsA("Accessory") then
| |
| 1643 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 1644 | end | |
| 1645 | end | |
| 1646 | TorsoVelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1647 | Velocity = RootPart.Velocity.y | |
| 1648 | Sine = Sine + Change | |
| 1649 | local hit, pos = RayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 1650 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1651 | Anim = "Jump" | |
| 1652 | if Attack == false then | |
| 1653 | Change = 1 | |
| 1654 | PlayAnimationFromTable({
| |
| 1655 | 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), | |
| 1656 | 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), | |
| 1657 | 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), | |
| 1658 | 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), | |
| 1659 | 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), | |
| 1660 | 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) | |
| 1661 | }, 0.3, false) | |
| 1662 | SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1663 | SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1664 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1665 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1666 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1667 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1668 | end | |
| 1669 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1670 | Anim = "Fall" | |
| 1671 | if Attack == false then | |
| 1672 | Change = 1 | |
| 1673 | PlayAnimationFromTable({
| |
| 1674 | 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), | |
| 1675 | 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), | |
| 1676 | 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), | |
| 1677 | 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), | |
| 1678 | 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), | |
| 1679 | 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) | |
| 1680 | }, 0.3, false) | |
| 1681 | SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1682 | SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1683 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1684 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1685 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1686 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1687 | end | |
| 1688 | elseif TorsoVelocity < 1 and hit ~= nil then | |
| 1689 | Anim = "Idle" | |
| 1690 | if Attack == false then | |
| 1691 | Change = 1 | |
| 1692 | PlayAnimationFromTable({
| |
| 1693 | 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), | |
| 1694 | 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), | |
| 1695 | 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)), | |
| 1696 | 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)), | |
| 1697 | 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), | |
| 1698 | 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) | |
| 1699 | }, 0.3, false) | |
| 1700 | SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1701 | SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1702 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1703 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1704 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1705 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1706 | end | |
| 1707 | elseif TorsoVelocity > 2 and hit ~= nil then | |
| 1708 | Anim = "Walk" | |
| 1709 | if Attack == false then | |
| 1710 | Change = 2.6 | |
| 1711 | PlayAnimationFromTable({
| |
| 1712 | 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), | |
| 1713 | 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), | |
| 1714 | 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)), | |
| 1715 | 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)), | |
| 1716 | 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)), | |
| 1717 | 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)) | |
| 1718 | }, 0.3, false) | |
| 1719 | SlicerRWeld.C0 = clerp(SlicerRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1720 | SlicerLWeld.C0 = clerp(SlicerLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1721 | CrossbowRWeld.C0 = clerp(CrossbowRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1722 | CrossbowLWeld.C0 = clerp(CrossbowLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1723 | SpearRWeld.C0 = clerp(SpearRWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1724 | SpearLWeld.C0 = clerp(SpearLWeld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1725 | end | |
| 1726 | end | |
| 1727 | if #Effects > 0 then | |
| 1728 | for e = 1, #Effects do | |
| 1729 | if Effects[e] ~= nil then | |
| 1730 | local Thing = Effects[e] | |
| 1731 | if Thing ~= nil then | |
| 1732 | local Part = Thing[1] | |
| 1733 | local Mode = Thing[2] | |
| 1734 | local Delay = Thing[3] | |
| 1735 | local IncX = Thing[4] | |
| 1736 | local IncY = Thing[5] | |
| 1737 | if Thing[1].Transparency <= 1 then | |
| 1738 | if Thing[2] == "Block1" then | |
| 1739 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1740 | Mesh = Thing[7] | |
| 1741 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1742 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1743 | elseif Thing[2] == "Ice" then | |
| 1744 | if Thing[6] <= Thing[5] then | |
| 1745 | Thing[6] = Thing[6] + 0.05 | |
| 1746 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.4, 0) | |
| 1747 | else | |
| 1748 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1749 | end | |
| 1750 | elseif Thing[2] == "Shatter" then | |
| 1751 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1752 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1753 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1754 | Thing[6] = Thing[6] + Thing[5] | |
| 1755 | elseif Thing[2] == "Block2" then | |
| 1756 | Thing[1].CFrame = Thing[1].CFrame | |
| 1757 | Mesh = Thing[7] | |
| 1758 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1759 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1760 | elseif Thing[2] == "Block3" then | |
| 1761 | Thing[1].CFrame = Thing[8].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1762 | Mesh = Thing[7] | |
| 1763 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1764 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1765 | elseif Thing[2] == "Block4" then | |
| 1766 | Thing[1].CFrame = Thing[8].CFrame * CFrame.new(0, -Thing[7].Scale.Y, 0) * CFrame.fromEulerAnglesXYZ(3.14, 0, 0) | |
| 1767 | Mesh = Thing[7] | |
| 1768 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1769 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1770 | elseif Thing[2] == "Block2Fire" then | |
| 1771 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1772 | Mesh = Thing[7] | |
| 1773 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1774 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1775 | if Thing[1].Transparency >= 0.3 then | |
| 1776 | Thing[1].BrickColor = BrickColor.new("Bright red")
| |
| 1777 | else | |
| 1778 | Thing[1].BrickColor = BrickColor.new("Bright yellow")
| |
| 1779 | end | |
| 1780 | elseif Thing[2] == "Cylinder" then | |
| 1781 | Mesh = Thing[7] | |
| 1782 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1783 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1784 | elseif Thing[2] == "Blood" then | |
| 1785 | Mesh = Thing[7] | |
| 1786 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, -0.5, 0) | |
| 1787 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1788 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1789 | elseif Thing[2] == "Elec" then | |
| 1790 | Mesh = Thing[10] | |
| 1791 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1792 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1793 | Thing[1].CFrame = Thing[1].CFrame * Thing[11] * CFrame.new(0, 0, 0.2) | |
| 1794 | Thing[1].Rotation = Vector3.new(0, 0, 0) | |
| 1795 | elseif Thing[2] == "Disappear" then | |
| 1796 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1797 | end | |
| 1798 | else | |
| 1799 | Part.Parent = nil | |
| 1800 | table.remove(Effects, e) | |
| 1801 | end | |
| 1802 | end | |
| 1803 | end | |
| 1804 | end | |
| 1805 | end | |
| 1806 | datnumb = 0 | |
| 1807 | BaseNumb = 6.28 | |
| 1808 | BaseNumb = BaseNumb / CrystalNumb | |
| 1809 | for d, Crystal in pairs(Crystals) do | |
| 1810 | datnumb = datnumb + BaseNumb | |
| 1811 | Crystal.Anchored = true | |
| 1812 | if Crystal.ClassName == "Part" and #Crystals ~= 0 then | |
| 1813 | 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) | |
| 1814 | numbb = numbb + 0.05 | |
| 1815 | end | |
| 1816 | end | |
| 1817 | end |