Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Fixed by Scenius(On ROBLOX)
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local AnimTable = {}
- System = {}
- function System.Create(a, c)
- local e = Instance.new(a)
- for d, a in pairs(c) do
- local b, a = ypcall(function()
- return e[d]
- end)
- if b then
- e[d] = c[d]
- end
- end
- return e
- end
- function b(d, b)
- local c = getfenv(d)
- local a = setmetatable({}, {
- __index = function(a, a)
- if a:lower() == 'script' then
- return b
- else
- return c[a]
- end
- end
- })
- setfenv(d, a)
- ypcall(function()
- d()
- end)
- end
- Effects = {}
- local Humanoid = Character.Humanoid
- local mouse = Player:GetMouse()
- local m = Instance.new("Model", Character)
- m.Name = "WeaponModel"
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local cam = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local equipped = false
- local attack = false
- local Anim = "Idle"
- local idle = 0
- local attacktype = 1
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local grabbed = false
- local cn = CFrame.new
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local hitr = false
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Instance.new("Motor", part0)
- w.Part0 = part0
- w.Part1 = part1
- w.C0 = c0
- w.C1 = c1
- return w
- end
- AnimTable.SharakAttack1 = {}
- AnimTable.SharakAttack1.Animation = function(frame)
- sr = {}
- sr[1] = {CFrame.new( -2.94484198e-006, -0.127072543, 7.61123374e-007, 0.224094763, -0.0871556699, -0.970662355, -0.116191179, 0.986499786, -0.115402527, 0.9676162, 0.138643503, 0.210942715 ),
- CFrame.new( -0.0775253177, 1.49361289, -0.152007639, 0.23532176, -0.259008348, 0.936770141, -0.144913197, 0.943713069, 0.297330976, -0.961053491, -0.205718815, 0.184542477 ),
- CFrame.new( 2.05580091, 0.451379389, -0.32676053, 0.218336463, -0.975549459, -0.025149107, -0.00864208117, 0.0238369703, -0.999678493, 0.975835204, 0.218483597, -0.00322628766 ),
- CFrame.new( -0.322871178, 0.43511951, -1.23702645, 0.619466603, -0.784127772, -0.0374807119, -0.0261314511, 0.027121298, -0.999290466, 0.784587979, 0.620006442, -0.00368966535 ),
- CFrame.new( 0.851484776, -1.79877162, -0.00429099333, 0.90489018, -0.277540147, 0.322715342, 0.241610199, 0.959115744, 0.147382051, -0.35042578, -0.0553932711, 0.934950948 ),
- CFrame.new( -0.476845533, -1.97459769, -0.16990155, 0.555973172, -0.116191179, 0.823039174, -0.0316814296, 0.986499786, 0.160668671, -0.830596268, -0.115402527, 0.544786394 )}
- sr[2] = {CFrame.new( 0.110238828, -0.371040165, -0.637286425, -0.0771515667, -0.535226345, 0.841178, 0.1353008, 0.83026737, 0.5406937, -0.987796247, 0.155527353, 0.00836011767 ),
- CFrame.new( 0.0970436931, 1.50392842, 0.0121063814, 0.271541774, 0.400271177, -0.875241756, -0.535855949, 0.818292856, 0.20797874, 0.799451888, 0.412528664, 0.436688364 ),
- CFrame.new( 1.42828858, 0.332611054, -0.848276019, 0.979408562, 0.157022581, 0.126896918, 0.0898949355, 0.223614946, -0.970523119, -0.180770129, 0.961946011, 0.204894885 ),
- CFrame.new( -1.20746446, 0.358943641, -0.713923454, 0.91646862, 0.181600958, 0.356520057, 0.345540881, 0.0899819732, -0.934079528, -0.20171015, 0.979246795, 0.0197150912 ),
- CFrame.new( 0.251972318, -1.94394803, -0.0907308534, -0.179604173, 0.580085874, -0.794507921, -0.275005698, 0.745834172, 0.606715083, 0.94451791, 0.327462763, 0.0255719312 ),
- CFrame.new( -0.377690136, -1.28565156, -0.944018781, 0.314944357, 0.1353008, -0.939416766, -0.553447843, 0.83026737, -0.0659659058, 0.77104187, 0.5406937, 0.336369962 )}
- sr[3] = {CFrame.new( 0.110238828, -0.371040165, -0.637286425, -0.0771515667, -0.535226345, 0.841178, 0.1353008, 0.83026737, 0.5406937, -0.987796247, 0.155527353, 0.00836011767 ),
- CFrame.new( 0.0970436931, 1.50392842, 0.0121063814, 0.271541774, 0.400271177, -0.875241756, -0.535855949, 0.818292856, 0.20797874, 0.799451888, 0.412528664, 0.436688364 ),
- CFrame.new( 1.42828858, 0.332611054, -0.848276019, 0.979408562, 0.157022581, 0.126896918, 0.0898949355, 0.223614946, -0.970523119, -0.180770129, 0.961946011, 0.204894885 ),
- CFrame.new( -1.20746446, 0.358943641, -0.713923454, 0.91646862, 0.181600958, 0.356520057, 0.345540881, 0.0899819732, -0.934079528, -0.20171015, 0.979246795, 0.0197150912 ),
- CFrame.new( 0.251972318, -1.94394803, -0.0907308534, -0.179604173, 0.580085874, -0.794507921, -0.275005698, 0.745834172, 0.606715083, 0.94451791, 0.327462763, 0.0255719312 ),
- CFrame.new( -0.377690136, -1.28565156, -0.944018781, 0.314944357, 0.1353008, -0.939416766, -0.553447843, 0.83026737, -0.0659659058, 0.77104187, 0.5406937, 0.336369962 )}
- return sr[frame]
- end
- AnimTable.SharakAttack2 = {}
- AnimTable.SharakAttack2.Animation = function(frame)
- sr = {}
- sr[1] = {CFrame.new( 0.110243425, -0.371041596, -0.637286782, 0.301226974, 0.524641871, -0.79624933, 0.0321390256, 0.828974307, 0.558362484, 0.953010798, -0.193784446, 0.232847899 ),
- CFrame.new( -0.145321012, 1.54870594, -0.0193913728, 0.39695847, -0.244903058, 0.884560168, 0.522118807, 0.852870822, 0.00182147324, -0.754861355, 0.461122513, 0.466422737 ),
- CFrame.new( 1.43178129, 0.263588548, -0.454503834, 0.867572367, -0.271592438, -0.416600466, -0.118112765, 0.701207399, -0.703105628, 0.48308146, 0.659200728, 0.576269448 ),
- CFrame.new( -0.683320403, -0.0996505618, -1.33746469, 0.73242259, -0.537442565, -0.417986631, 0.124554291, 0.709324718, -0.693790078, 0.669360399, 0.456085473, 0.586466014 ),
- CFrame.new( 0.669205189, -1.71590519, -0.408387303, 0.961436212, 0.202385008, -0.186228082, -0.116508424, 0.913074255, 0.39079535, 0.249131143, -0.354027539, 0.90144217 ),
- CFrame.new( -1.16825736, -1.76681399, -0.943420172, 0.599006057, 0.637203455, 0.484936744, 0.14337948, 0.51046896, -0.84785831, -0.787803292, 0.577402234, 0.214412004 )}
- sr[2] = {CFrame.new( 0.381869674, -0.3760086, -0.711174011, 0.231658608, 0.392350286, 0.890166044, 0.15180105, 0.889268756, -0.431459814, -0.96088016, 0.235079497, 0.146447569 ),
- CFrame.new( 0.177984715, 1.48287737, -0.523798168, 0.290941417, 0.284353554, -0.913507581, 0.428042382, 0.815235734, 0.390090257, 0.855647624, -0.504513383, 0.115470454 ),
- CFrame.new( 1.23544812, 0.954310417, -1.23796952, 0.974286199, 0.0195511431, -0.224463731, -0.0720490068, -0.916886449, -0.392591625, -0.213483363, 0.398669034, -0.891901314 ),
- CFrame.new( -1.05461812, 0.632238448, -0.549498022, 0.97537303, 0.0343630314, -0.217868626, -0.0575183779, -0.913980901, -0.401659846, -0.212930024, 0.404299587, -0.88949573 ),
- CFrame.new( 0.684821963, -1.81068873, 0.272932708, 0.79965806, 0.0234186724, -0.599998653, 0.288363695, 0.861491382, 0.417946398, 0.526681423, -0.50723213, 0.682145357 ),
- CFrame.new( -0.779857159, -1.61673427, 0.157368958, 0.765215874, 0.353961378, 0.537732363, -0.438814521, 0.897957802, 0.0333725065, -0.471048355, -0.261501908, 0.84245491 )}
- sr[3] = sr[2]
- return sr[frame]
- end
- AnimTable.SharakAttack3 = {}
- AnimTable.SharakAttack3.Animation = function(frame)
- sr = {}
- sr[1] = {CFrame.new( -0.269888461, -0.251841694, -0.0480436534, 0.0774952918, 0.0073427856, 0.996965647, 0.0265192427, 0.999603808, -0.00942364335, -0.996639967, 0.0271691009, 0.077269882 ),
- CFrame.new( 0.00463594496, 1.45134985, -0.138704151, 0.679284751, -0.0122912638, -0.733772039, 0.178388417, 0.972636342, 0.148849577, 0.711863697, -0.232007727, 0.662889481 ),
- CFrame.new( 0.71634531, 0.420230091, -0.657788754, 0.454300672, 0.86892724, -0.196408525, -0.238955826, -0.0935337692, -0.966515124, -0.8582021, 0.486021489, 0.165142804 ),
- CFrame.new( -1.89918697, 0.606499732, -0.660277963, -0.371785343, 0.807079196, -0.458692342, -0.25547418, 0.386078417, 0.886383712, 0.89247328, 0.446728557, 0.0626495779 ),
- CFrame.new( 0.753237486, -1.77126217, -0.25763917, 0.518195868, -0.0644434467, -0.852830589, 0.167875051, 0.985423386, 0.0275413878, 0.838624418, -0.157440871, 0.521460831 ),
- CFrame.new( -0.52868253, -1.73524547, -0.0446143895, 0.94262296, 0.0265195351, 0.332804382, -0.0281440858, 0.999603808, 6.06584363e-005, -0.332670927, -0.00942370575, 0.942995906 )}
- sr[2] = {CFrame.new( -2.94484198e-006, -0.127072543, 7.61123374e-007, 0.224094763, -0.0871556699, -0.970662355, -0.116191179, 0.986499786, -0.115402527, 0.9676162, 0.138643503, 0.210942715 ),
- CFrame.new( -0.0775253177, 1.49361289, -0.152007639, 0.23532176, -0.259008348, 0.936770141, -0.144913197, 0.943713069, 0.297330976, -0.961053491, -0.205718815, 0.184542477 ),
- CFrame.new( 2.05580091, 0.451379389, -0.32676053, 0.218336463, -0.975549459, -0.025149107, -0.00864208117, 0.0238369703, -0.999678493, 0.975835204, 0.218483597, -0.00322628766 ),
- CFrame.new( -0.322871178, 0.43511951, -1.23702645, 0.619466603, -0.784127772, -0.0374807119, -0.0261314511, 0.027121298, -0.999290466, 0.784587979, 0.620006442, -0.00368966535 ),
- CFrame.new( 0.851484776, -1.79877162, -0.00429099333, 0.90489018, -0.277540147, 0.322715342, 0.241610199, 0.959115744, 0.147382051, -0.35042578, -0.0553932711, 0.934950948 ),
- CFrame.new( -0.476845533, -1.97459769, -0.16990155, 0.555973172, -0.116191179, 0.823039174, -0.0316814296, 0.986499786, 0.160668671, -0.830596268, -0.115402527, 0.544786394 )}
- sr[3] = sr[2]
- return sr[frame]
- end
- AnimTable.SharakAttack4 = {}
- AnimTable.SharakAttack4.Animation = function(frame)
- sr = {}
- sr[1] = {CFrame.new( -0.0907734632, 0.00530735031, -0.538676143, -0.240463182, 0.231259823, -0.942706883, 0.141455382, 0.969184339, 0.20167309, 0.960295737, -0.0848559737, -0.265766084 ),
- CFrame.new( 0.0387715697, 1.54983413, -0.0852007419, 0.236834437, -0.230979353, 0.943693757, 0.273758918, 0.947835863, 0.163289234, -0.932183146, 0.219672084, 0.287712812 ),
- CFrame.new( 1.95524418, 0.770914555, -0.59926194, 0.621278286, -0.773895741, 0.122876987, -0.152903825, -0.273530126, -0.949632287, 0.768526971, 0.571197569, -0.288269937 ),
- CFrame.new( -1.98498368, 0.790361345, 0.0893675387, 0.0311367363, 0.994176328, -0.103170037, 0.0951812193, -0.105700202, -0.989832342, -0.994972825, 0.0210003257, -0.0979180932 ),
- CFrame.new( 0.662759721, -2.09205151, -0.354404151, 0.990992904, -0.0459267199, 0.125793099, 0.0560601875, 0.995357335, -0.0782371983, -0.121615872, 0.0845845342, 0.988966584 ),
- CFrame.new( -0.990238547, -1.84311366, -0.391312391, 0.355609775, 0.464967638, 0.810769439, 0.0299913958, 0.86134845, -0.507128537, -0.934153199, 0.204655915, 0.292358756 )}
- sr[2] = {CFrame.new( 0.107512698, 0.0053069219, -0.934055984, 0.0920024216, 0.220571831, 0.97102195, 0.11317715, 0.966522217, -0.230273023, -0.989306033, 0.13108319, 0.0639586896 ),
- CFrame.new( 0.237780839, 1.415295, -0.414946109, 0.354552567, 0.397619426, -0.846280813, 0.285298109, 0.815915227, 0.502879083, 0.890447855, -0.419739395, 0.175844789 ),
- CFrame.new( 2.04563165, 0.597230613, -0.408755928, 0.464263916, -0.875280261, 0.135437921, -0.135955974, -0.2215316, -0.96562916, 0.875200033, 0.429893196, -0.221848711 ),
- CFrame.new( -1.51430154, 0.30901739, 0.538694918, 0.692014098, 0.704773188, -0.156240806, -0.340318918, 0.127630115, -0.931608021, -0.63663131, 0.697857559, 0.328169495 ),
- CFrame.new( 0.464842737, -2.05111003, 0.327756226, 0.756659269, 0.0782863349, -0.64910543, 0.232830018, 0.895455539, 0.379406661, 0.61094749, -0.438212812, 0.659327447 ),
- CFrame.new( -0.89891547, -1.91808414, 0.215840563, 0.880392313, 0.38657707, -0.274713308, -0.283867776, 0.893589497, 0.347730786, 0.37990576, -0.228157252, 0.896446288 )}
- return sr[frame]
- end
- AnimTable.SharakCurse = {}
- AnimTable.SharakCurse.Animation = function(fr)
- frames = {}
- frames[1] = {CFrame.new( 1.31130219e-006, -0.327071726, -5.44823706e-007, 0.42261824, 0, -0.906307817, -0.234569699, 0.965925813, -0.109381638, 0.875426114, 0.258819014, 0.408217877 ),
- CFrame.new( -0.00470277667, 1.52653337, -0.222868189, 0.440072894, -0.348754525, 0.827469707, -0.0561037436, 0.909018278, 0.412962556, -0.89620769, -0.228157789, 0.380467921 ),
- CFrame.new( 2.07384968, 0.50406754, -0.399512887, -0.0553859174, -0.737298489, 0.673292994, 0.979036272, 0.0922760665, 0.181584865, -0.196011066, 0.669235528, 0.716731131 ),
- CFrame.new( -1.9032253, 0.119498998, -0.435613632, 0.318090379, 0.945018947, 0.0758794621, -0.370290458, 0.197519436, -0.907673359, -0.872756183, 0.260624796, 0.412760526 ),
- CFrame.new( 0.827520907, -1.73829162, -0.00223554671, 0.916512012, -0.399794281, -0.0130510628, 0.39873749, 0.910518587, 0.109381743, -0.0318469405, -0.105453618, 0.993914127 ),
- CFrame.new( -0.616950035, -1.89312196, -0.100288063, 0.56821382, -0.234569699, 0.788739622, 0.0449434295, 0.965925813, 0.254886985, -0.82165277, -0.109381638, 0.559394777 )}
- frames[2] = {CFrame.new( 0.499998391, -0.327071935, -1.30000019, -0.181640863, 0.0669872761, 0.981080651, -0.234569669, 0.965925813, -0.109381624, -0.954978228, -0.24999994, -0.159738451 ),
- CFrame.new( -0.179023594, 1.50558662, -0.0340124592, 0.0807854086, -0.0685561299, -0.994370937, 0.0707176328, 0.99551183, -0.0628894717, 0.994219601, -0.0652390346, 0.0852709711 ),
- CFrame.new( 1.57973516, 0.341464877, -0.775785327, -0.164655671, -0.0700922608, 0.983857393, 0.941340983, 0.286714256, 0.177966416, -0.294560045, 0.955448627, 0.0187716186 ),
- CFrame.new( -0.974794507, 0.301168948, -0.822329402, 0.534695864, -0.837733865, 0.110914305, -0.124204159, -0.207736567, -0.970267296, 0.835866928, 0.505021989, -0.215125948 ),
- CFrame.new( 0.968945444, -1.68744433, 0.143504247, 0.194605708, -0.272502482, -0.942268908, 0.331569582, 0.922362089, -0.198266745, 0.923141479, -0.273843914, 0.269850433 ),
- CFrame.new( 0.00891385972, -1.7930429, -0.558681011, 0.61479938, -0.234569669, -0.752993047, 0.234569669, 0.965925813, -0.109381586, 0.752993107, -0.109381624, 0.648873627 )}
- frames[3] = frames[2]
- return frames[fr]
- end
- AnimTable.SharakRush = {}
- AnimTable.SharakRush.Animation = function(fr)
- frames = {}
- frames[1] = {CFrame.new( -1.85426325e-006, -0.52458626, 0.325041413, 0.173647985, 0, -0.984807789, 0.564862669, 0.819151938, 0.099600412, 0.806707203, -0.57357657, 0.142244086 ),
- CFrame.new( 5.06639481e-007, 1.49999845, -2.00048089e-006, 0.178147823, -0.150383741, 0.972444355, -0.0593911633, 0.98480773, 0.163175881, -0.982209742, -0.0868240446, 0.166509897 ),
- CFrame.new( 1.62647974, 0.32842961, -0.463130951, -0.012263298, -0.530857861, 0.847372055, 0.322216004, 0.800133944, 0.505927384, -0.946586728, 0.279241174, 0.161238611 ),
- CFrame.new( -0.872465491, 0.494700283, -1.05803633, 0.678208232, -0.534130275, 0.504716158, 0.73401022, 0.459161967, -0.500399053, 0.0355318226, 0.709841728, 0.703464508 ),
- CFrame.new( 0.304369152, -1.92474055, -0.709685862, 0.492403626, -0.0868240595, 0.866025507, 0.173648179, 0.98480773, 0, -0.852868557, 0.150383726, 0.499999762 ),
- CFrame.new( -1.31516051, -0.924064279, 0.245193124, 0.311093062, 0.564862669, 0.764297843, -0.0996004865, 0.819151938, -0.564862669, -0.945145905, 0.099600412, 0.311093092 )}
- frames[2] = {CFrame.new( -1.69547275e-006, -0.493812144, 0.225245416, 0.661220312, -0.15012303, -0.735017538, 0.513668537, 0.804668725, 0.29774633, 0.546747029, -0.5744313, 0.609176874 ),
- CFrame.new( 0.0324506462, 1.50100529, -0.277382553, 0.642927587, 0.268261194, 0.717412055, -0.20681195, 0.962669849, -0.174630195, -0.737477422, -0.0360948294, 0.674406648 ),
- CFrame.new( 1.6159749, -0.307453126, 0.511745811, 0.607807636, -0.284722149, 0.741284728, 0.218921125, 0.957413912, 0.188234091, -0.76331085, 0.0478727818, 0.64425528 ),
- CFrame.new( -0.275011063, 0.380028695, -1.26438785, 0.756259203, -0.634734988, -0.158693194, 0.448845416, 0.679792762, -0.580016911, 0.476035535, 0.367414355, 0.798997462 ),
- CFrame.new( 0.460613787, -2.09938407, -0.17961742, 0.880605161, -0.0464498997, 0.471568406, 0.0297129303, 0.998638213, 0.0428809226, -0.472918063, -0.0237495601, 0.8807863 ),
- CFrame.new( -1.30099976, -0.913826704, -0.344506562, 0.746116519, 0.513668537, 0.423621058, -0.247591227, 0.804668725, -0.539635837, -0.618068576, 0.29774633, 0.727556527 )}
- frames[3] = frames[2]
- frames[4] = {CFrame.new( -0.0796553195, -0.251841605, 0.119275972, 0.957893491, -0.0783350542, -0.27623111, 0.0069835633, 0.96813494, -0.25033164, 0.287038743, 0.237861991, 0.927917242 ),
- CFrame.new( 2.08616257e-006, 1.49999917, -1.26361847e-005, 0.854813993, -0.218694866, 0.470601231, 0.0563096032, 0.940596104, 0.334825575, -0.515870214, -0.259714216, 0.816349387 ),
- CFrame.new( 1.62648463, 0.328426808, -0.463133574, -0.0122630894, -0.530857921, 0.847372055, 0.322215974, 0.800133824, 0.505927444, -0.946586609, 0.279241115, 0.161238849 ),
- CFrame.new( -0.630449533, 0.322621793, -1.01537049, 0.364715308, -0.876069903, -0.31541118, 0.102663979, 0.374514371, -0.921519995, 0.92544198, 0.303711057, 0.226531953 ),
- CFrame.new( 0.828500032, -1.72087038, 0.351171762, 0.984344721, -0.166475236, -0.057890594, 0.175739914, 0.952082276, 0.250309318, 0.0134463012, -0.256564349, 0.966433644 ),
- CFrame.new( -0.469288021, -1.73093545, 0.276040614, 0.993184626, 0.0069835633, 0.116341591, -0.0358406827, 0.96813494, 0.247851059, -0.110903457, -0.25033164, 0.961787105 )}
- frames[5] = {CFrame.new( 0.381868005, -0.376008749, -0.711175084, 0.231658608, 0.392350286, 0.890166044, 0.379749864, 0.805982769, -0.454072505, -0.895613968, 0.443230212, 0.0377178639 ),
- CFrame.new( 0.10863781, 1.38906801, -0.46440345, 0.300122619, 0.498920023, -0.813022375, 0.412246227, 0.700770855, 0.582214057, 0.860220671, -0.509900987, 0.00463930145 ),
- CFrame.new( 1.19846058, 0.843276739, -1.17939961, 0.952672839, 0.20477128, -0.224684715, 0.104248703, -0.914344311, -0.391288251, -0.285563767, 0.349346578, -0.892418265 ),
- CFrame.new( -1.31049156, 0.739615858, -0.530235708, 0.975789368, 0.01739043, -0.218019933, -0.0735227168, -0.91274035, -0.401869953, -0.205984294, 0.408169836, -0.889363766 ),
- CFrame.new( 0.246515483, -1.89268339, 0.42313844, 0.793291926, 0.25564748, -0.552568674, 0.146049678, 0.801171422, 0.580339432, 0.591064632, -0.54108119, 0.598225653 ),
- CFrame.new( -1.12443805, -1.39981365, 0.151433378, 0.689847469, 0.563031077, 0.455089658, -0.621796131, 0.782752097, -0.0258614868, -0.37078318, -0.265132487, 0.890070021 )}
- frames[6] = {CFrame.new( -1.09896064e-006, -0.0270723403, -2.2330787e-006, 0.788010836, 5.40302381e-008, -0.615661383, 0.128003299, 0.978147507, 0.163836882, 0.602207661, -0.207911924, 0.770790815 ),
- CFrame.new( -0.169320911, 1.59196734, -0.21671842, 0.797788918, -0.188629419, 0.572670698, 0.0174339879, 0.956621945, 0.290810049, -0.602684736, -0.222021043, 0.766470909 ),
- CFrame.new( 1.51330113, -0.140397429, -0.0747733042, 0.412404835, -0.6111601, -0.675577998, -0.309298247, 0.603595614, -0.734851658, 0.856887937, 0.512011468, 0.0598950088 ),
- CFrame.new( -1.84378958, -0.248354375, -0.0704766586, 0.796385646, 0.590126157, 0.132366747, -0.362917066, 0.641382217, -0.675958514, -0.483798563, 0.490285546, 0.724954426 ),
- CFrame.new( 0.509102523, -2.06986713, -0.0821513832, 0.978942215, -0.0426359773, -0.199635267, 0.0153243542, 0.990534902, -0.136402592, 0.203561336, 0.130470961, 0.970329881 ),
- CFrame.new( -0.628385723, -1.87346852, -0.365997493, 0.88061142, 0.128003299, 0.456222236, -0.0361034609, 0.978147507, -0.204753295, -0.47246176, 0.163836882, 0.865989268 )}
- frames[7] = {CFrame.new( 1.54739246e-006, -0.0270718634, 0.0999985114, 0.997564077, 0, -0.0697564185, 0, 1, 0, 0.0697564185, 0, 0.997564077 ),
- CFrame.new( -0.00697758421, 1.49999893, -0.0997543335, 0.997192502, 0.0304717757, 0.068400465, -0.0561037436, 0.909018278, 0.412962586, -0.0495935678, -0.415640712, 0.908175826 ),
- CFrame.new( 0.80041343, 0.444129348, -0.574356854, 0.769927084, 0.636901438, 0.0396068394, 0.0543855876, -0.00365049392, -0.998513401, -0.635810077, 0.770936608, -0.0374488831 ),
- CFrame.new( -0.850327611, 0.40951407, -0.55506748, 0.637000263, -0.770600975, 0.0201219339, 0.0323411003, 0.000635719858, -0.999476731, 0.770184934, 0.637317657, 0.0253270417 ),
- CFrame.new( 0.762032986, -1.97292817, 0.120753169, 0.946657956, -0.166921318, -0.275637329, 0.173648149, 0.98480773, 0, 0.271449775, -0.0478639156, 0.961261749 ),
- CFrame.new( -0.487603575, -1.97292793, -0.237573579, 0.994521916, 0, -0.104528442, 0, 1, 0, 0.104528442, 0, 0.994521916 )}
- return frames[fr]
- end
- AnimTable.SharakUlt = {}
- AnimTable.SharakUlt.Animation = function(fr)
- frames = {}
- frames[1] = {CFrame.new( 1.54739246e-006, -0.0270718634, 0.0999985114, 0.997564077, 0, -0.0697564185, 0, 1, 0, 0.0697564185, 0, 0.997564077 ),
- CFrame.new( -0.00697758421, 1.49999893, -0.0997543335, 0.997192502, 0.0304717757, 0.068400465, -0.0561037436, 0.909018278, 0.412962586, -0.0495935678, -0.415640712, 0.908175826 ),
- CFrame.new( 0.80041343, 0.444129348, -0.574356854, 0.769927084, 0.636901438, 0.0396068394, 0.0543855876, -0.00365049392, -0.998513401, -0.635810077, 0.770936608, -0.0374488831 ),
- CFrame.new( -0.850327611, 0.40951407, -0.55506748, 0.637000263, -0.770600975, 0.0201219339, 0.0323411003, 0.000635719858, -0.999476731, 0.770184934, 0.637317657, 0.0253270417 ),
- CFrame.new( 0.762032986, -1.97292817, 0.120753169, 0.946657956, -0.166921318, -0.275637329, 0.173648149, 0.98480773, 0, 0.271449775, -0.0478639156, 0.961261749 ),
- CFrame.new( -0.487603575, -1.97292793, -0.237573579, 0.994521916, 0, -0.104528442, 0, 1, 0, 0.104528442, 0, 0.994521916 )}
- frames[2] = frames[1]
- frames[3] = {CFrame.new( -1.5234109e-006, -0.0270720161, -5.70144039e-008, 0.109786786, 0.144929349, -0.983332276, -0.0308145583, 0.989333272, 0.142373428, 0.993477345, 0.014670223, 0.113081649 ),
- CFrame.new( 0.00867157616, 1.55646372, -0.278104872, 0.999469221, 0.0321651064, 0.0051548779, -0.0317106768, 0.924450934, 0.379980206, 0.00745667517, -0.37994194, 0.924980283 ),
- CFrame.new( 1.86248302, 0.0623719692, 0.279644072, 0.637404323, -0.70017755, -0.321662903, -0.10946624, 0.330936939, -0.937282264, 0.762714088, 0.632638931, 0.134294882 ),
- CFrame.new( -0.315948963, 0.231341809, -0.906727731, 0.145377815, -0.872826338, -0.46587494, -0.0960787162, 0.456197351, -0.884676754, 0.984700084, 0.173373073, -0.0175390616 ),
- CFrame.new( 0.779611945, -1.87652874, -0.648945093, 0.803977191, -0.173052803, 0.568922877, 0.276337177, 0.955869615, -0.099755004, -0.526553273, 0.237415329, 0.816318393 ),
- CFrame.new( -0.602526963, -1.95735657, -0.386425287, 0.698158741, -0.0308145583, 0.71527946, 0.123237796, 0.989333272, -0.0776670948, -0.705256522, 0.142373428, 0.694509268 )}
- frames[4] = {CFrame.new( 4.17605042e-006, -0.0270720031, 0.0999990776, 0.587785244, 0, -0.809017003, -0.112593397, 0.990268052, -0.0818038881, 0.801143706, 0.13917309, 0.582064927 ),
- CFrame.new( -0.00865927339, 1.51323581, -0.00629204512, 0.595691621, -0.179659992, 0.782862604, -0.0585554391, 0.962356389, 0.26540792, -0.801075995, -0.20394212, 0.562747538 ),
- CFrame.new( 1.88090706, 0.830321431, -0.411562085, 0.516953111, -0.845765948, 0.13205862, -0.428236812, -0.389098585, -0.815607429, 0.741196752, 0.365078419, -0.563333869 ),
- CFrame.new( -0.569407165, 0.264540732, -1.01994085, 0.367286921, -0.853136599, 0.370483875, 0.142254785, -0.342111468, -0.928828955, 0.919164777, 0.39384985, -0.00429033488 ),
- CFrame.new( 0.888441563, -1.87389672, 0.210701078, 0.759693623, -0.387810946, 0.521984816, 0.269233495, 0.918254972, 0.290380776, -0.591928065, -0.080064632, 0.802004218 ),
- CFrame.new( -0.751832485, -2.07494855, 0.0345227718, 0.717972636, -0.112593397, 0.686904788, 0.0241671428, 0.990268052, 0.13705875, -0.69565177, -0.0818038881, 0.713706374 )}
- frames[5] = {CFrame.new( 1.43796206e-006, -0.0270716306, -0.700002849, 0.17022264, -0.388461947, 0.905605674, -0.406430185, 0.809530377, 0.423645049, -0.897685111, -0.440179348, -0.0200822651 ),
- CFrame.new( -0.010596022, 1.38766551, -0.0653014183, 0.217796445, -0.0984900594, -0.971011996, -0.251169056, 0.955730319, -0.153276712, 0.943121791, 0.27727136, 0.183417052 ),
- CFrame.new( 1.26352453, 0.673610389, -0.678975224, 0.866734207, 0.382617772, 0.319961309, 0.32814011, 0.0456869155, -0.943523586, -0.375626981, 0.922776461, -0.0859538019 ),
- CFrame.new( -1.154302, 0.343036592, -0.0881100893, 0.948668361, 0.231606022, 0.215376303, 0.293274462, -0.389261484, -0.873192787, -0.118399009, 0.891534746, -0.437204182 ),
- CFrame.new( 1.58654225, -1.33118665, -0.591236234, 0.30614382, -0.34597078, -0.886893451, -0.0600061119, 0.922759831, -0.380675137, 0.950092256, 0.169760361, 0.2617369 ),
- CFrame.new( -0.42007339, -2.11616015, -1.01632464, 0.77230227, 0.198837131, -0.603334785, -0.36879009, 0.913654804, -0.17096439, 0.51724571, 0.35454011, 0.778946877 )}
- return frames[fr]
- end
- AnimTable.SharakDestroy = {}
- AnimTable.SharakDestroy.Animation = function(fr)
- frames = {}
- frames[1] = {CFrame.new( -1.5234109e-006, -0.0270720161, -5.70144039e-008, 0.109786786, 0.144929349, -0.983332276, -0.0308145583, 0.989333272, 0.142373428, 0.993477345, 0.014670223, 0.113081649 ),
- CFrame.new( 0.00867157616, 1.55646372, -0.278104872, 0.999469221, 0.0321651064, 0.0051548779, -0.0317106768, 0.924450934, 0.379980206, 0.00745667517, -0.37994194, 0.924980283 ),
- CFrame.new( 1.86248302, 0.0623719692, 0.279644072, 0.637404323, -0.70017755, -0.321662903, -0.10946624, 0.330936939, -0.937282264, 0.762714088, 0.632638931, 0.134294882 ),
- CFrame.new( -0.315948963, 0.231341809, -0.906727731, 0.145377815, -0.872826338, -0.46587494, -0.0960787162, 0.456197351, -0.884676754, 0.984700084, 0.173373073, -0.0175390616 ),
- CFrame.new( 0.779611945, -1.87652874, -0.648945093, 0.803977191, -0.173052803, 0.568922877, 0.276337177, 0.955869615, -0.099755004, -0.526553273, 0.237415329, 0.816318393 ),
- CFrame.new( -0.602526963, -1.95735657, -0.386425287, 0.698158741, -0.0308145583, 0.71527946, 0.123237796, 0.989333272, -0.0776670948, -0.705256522, 0.142373428, 0.694509268 )}
- frames[2] = {CFrame.new( -1.09896064e-006, -0.0270723403, -2.2330787e-006, 0.788010836, 5.40302381e-008, -0.615661383, 0.128003299, 0.978147507, 0.163836882, 0.602207661, -0.207911924, 0.770790815 ),
- CFrame.new( -0.169320911, 1.59196734, -0.21671842, 0.797788918, -0.188629419, 0.572670698, 0.0174339879, 0.956621945, 0.290810049, -0.602684736, -0.222021043, 0.766470909 ),
- CFrame.new( 1.51330113, -0.140397429, -0.0747733042, 0.412404835, -0.6111601, -0.675577998, -0.309298247, 0.603595614, -0.734851658, 0.856887937, 0.512011468, 0.0598950088 ),
- CFrame.new( -1.84378958, -0.248354375, -0.0704766586, 0.796385646, 0.590126157, 0.132366747, -0.362917066, 0.641382217, -0.675958514, -0.483798563, 0.490285546, 0.724954426 ),
- CFrame.new( 0.509102523, -2.06986713, -0.0821513832, 0.978942215, -0.0426359773, -0.199635267, 0.0153243542, 0.990534902, -0.136402592, 0.203561336, 0.130470961, 0.970329881 ),
- CFrame.new( -0.628385723, -1.87346852, -0.365997493, 0.88061142, 0.128003299, 0.456222236, -0.0361034609, 0.978147507, -0.204753295, -0.47246176, 0.163836882, 0.865989268 )}
- frames[3] = {CFrame.new(-1.95339089e-006, -0.0270718802, -7.03555997e-007, 0.788010836, 5.40302381e-008, -0.615661383, 0.0214863718, 0.999390781, 0.0275014043, 0.615286291, -0.0348997265, 0.78753072),
- CFrame.new( -0.0908292234, 1.50606489, -0.116252899, 0.797600031, -0.198880851, 0.569456279, 0.0177148618, 0.951395988, 0.30746007, -0.602926433, -0.235142291, 0.762356639 ),
- CFrame.new( 1.52014399, 0.0132875443, -0.0660085678, 0.708870649, -0.371940762, -0.599301696, -0.296725303, 0.613568664, -0.731770158, 0.639887929, 0.696558297, 0.324576616 ),
- CFrame.new( -2.09011436, 0.665438414, -0.385747582, 0.581551433, 0.714040875, -0.389799267, -0.293359965, -0.262846559, -0.919157922, -0.758773863, 0.648889124, 0.0566122383 ),
- CFrame.new( 0.728062689, -1.99523497, 0.198104918, 0.970166326, -0.149248675, -0.19105491, 0.147603422, 0.988781512, -0.0228963308, 0.192328751, -0.0059870854, 0.981312275 ),
- CFrame.new( -0.42177996, -1.96226776, -0.101554096, 0.882882476, 0.0214863718, 0.469102144, -0.00606021844, 0.999390781, -0.034369532, -0.469554901, 0.0275014043, 0.88247484 )}
- frames[4] = frames[3]
- frames[2] = frames[1]
- frames[3] = frames[2]
- frames[5] = {CFrame.new( 0.291819483, 0.0545924045, -0.147917569, 0.984377265, -0.0727515817, -0.160339341, 0.127195477, 0.923511922, 0.361866146, 0.121748954, -0.376607239, 0.918337822 ),
- CFrame.new( -0.179876477, 1.50999057, -0.093229495, 0.992624402, -0.0498190299, 0.110521249, 0.0577166378, 0.995914698, -0.0694474578, -0.106609918, 0.0753140748, 0.991444468 ),
- CFrame.new( 1.53532815, 0.193587959, -0.308411419, 0.819128931, -0.436226666, -0.37247026, -0.320242882, 0.19093892, -0.927893758, 0.475891113, 0.879345536, 0.0167051256 ),
- CFrame.new( -2.09618568, 0.538466811, -0.00774786249, 0.0870034695, 0.995763063, -0.0297720209, -0.0708903968, -0.0236211568, -0.997204423, -0.993682504, 0.0888707936, 0.0685350001 ),
- CFrame.new( 0.88205862, -2.28394771, -0.158991903, 0.962387919, -0.0906094611, -0.25612396, 0.0923746079, 0.995710969, -0.0051561296, 0.255492687, -0.0186972022, 0.96663034 ),
- CFrame.new( -0.718604803, -1.8551569, -0.690669537, 0.935313463, -0.0801898986, 0.344613433, 0.156749189, 0.96709466, -0.200393736, -0.317204297, 0.241448835, 0.91710633 )}
- return frames[fr]
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PPR(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true and resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- local co1 = 10
- local co2 = 15
- local co3 = 30
- local co4 = 45
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local skillcolorscheme = BrickColor.new("Black").Color
- local scrn = Instance.new("ScreenGui", Player.PlayerGui)
- function makeframe(par, trans, pos, size, color)
- local frame = Instance.new("Frame", par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- function makelabel(par, text)
- local label = Instance.new("TextLabel", par)
- label.BackgroundTransparency = 1
- label.Size = UDim2.new(1, 0, 1, 0)
- label.Position = UDim2.new(0, 0, 0, 0)
- label.TextColor3 = Color3.new(255, 255, 255)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.Legacy
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
- bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
- text1 = Instance.new("TextLabel", framesk1)
- text1.BackgroundTransparency = 1
- text1.Size = UDim2.new(1, 0, 1, 0)
- text1.Position = UDim2.new(0, 0, 0, 0)
- text1.TextColor3 = Color3.new(255, 255, 255)
- text1.TextStrokeTransparency = 0
- text1.FontSize = Enum.FontSize.Size18
- text1.Font = Enum.Font.Legacy
- text1.BorderSizePixel = 0
- text1.TextScaled = true
- text1.Text = [[
- [Z]
- Nightmare Fang]]
- text2 = Instance.new("TextLabel", framesk2)
- text2.BackgroundTransparency = 1
- text2.Size = UDim2.new(1, 0, 1, 0)
- text2.Position = UDim2.new(0, 0, 0, 0)
- text2.TextColor3 = Color3.new(255, 255, 255)
- text2.TextStrokeTransparency = 0
- text2.FontSize = Enum.FontSize.Size18
- text2.Font = Enum.Font.Legacy
- text2.BorderSizePixel = 0
- text2.TextScaled = true
- text2.Text = [[
- [X]
- Corruption Assault]]
- text3 = Instance.new("TextLabel", framesk3)
- text3.BackgroundTransparency = 1
- text3.Size = UDim2.new(1, 0, 1, 0)
- text3.Position = UDim2.new(0, 0, 0, 0)
- text3.TextColor3 = Color3.new(255, 255, 255)
- text3.TextStrokeTransparency = 0
- text3.FontSize = Enum.FontSize.Size18
- text3.Font = Enum.Font.Legacy
- text3.BorderSizePixel = 0
- text3.TextScaled = false
- text3.Text = [[
- [C]
- Consuming Chaos]]
- text4 = Instance.new("TextLabel", framesk4)
- text4.BackgroundTransparency = 1
- text4.Size = UDim2.new(1, 0, 1, 0)
- text4.Position = UDim2.new(0, 0, 0, 0)
- text4.TextColor3 = Color3.new(255, 255, 255)
- text4.TextStrokeTransparency = 0
- text4.FontSize = Enum.FontSize.Size18
- text4.Font = Enum.Font.Legacy
- text4.BorderSizePixel = 0
- text4.TextScaled = true
- text4.Text = [[
- [V]
- Carnage Renegade]]
- ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
- ArtificialHB.Name = "Heartbeat"
- Player.PlayerGui:WaitForChild("Heartbeat")
- frame = 0.03333333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- Player.PlayerGui.Heartbeat:Fire()
- local gg = false
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
- gg = true
- end
- if gg == true then
- return
- end
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- Player.PlayerGui.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- Player.PlayerGui.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- o1 = System.Create("ParticleEmitter",{
- ["Name"] = "Black",
- ["Parent"] = script,
- ["Transparency"] = NumberSequence.new(0.70624995231628,0.83749997615814),
- ["Rotation"] = NumberRange.new(0,500),
- ["Size"] = NumberSequence.new(0,5.375),
- ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0),Color3.new(0, 0, 0)),
- ["Texture"] = "rbxassetid://242488057",
- ["ZOffset"] = -1,
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 100,
- ["RotSpeed"] = NumberRange.new(60,60),
- ["Speed"] = NumberRange.new(0,0),
- })
- o2 = System.Create("ParticleEmitter",{
- ["Name"] = "voidfog",
- ["Parent"] = script,
- ["Transparency"] = NumberSequence.new(0.70624995231628,0.83749997615814),--NumberSequence.new(0,1),
- ["Rotation"] = NumberRange.new(0,500),
- ["Size"] = NumberSequence.new(4.8125,10),
- ["Color"] = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0.541176, 0.156863, 0.701961)),
- ["Texture"] = "rbxassetid://289665041",
- ["ZOffset"] = -1,
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 200,
- ["RotSpeed"] = NumberRange.new(60,60),
- ["Speed"] = NumberRange.new(0,0),
- })
- local black = script.Black--game.ReplicatedStorage.Black:Clone()
- local voidfog = script.voidfog--game.ReplicatedStorage.voidfog:Clone()
- black.Enabled=false
- voidfog.Enabled=false
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- },
- Sound = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "rbxassetid://" .. id,
- Parent = par or workspace
- })
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return fp
- end
- },
- CreateTemplate = {}
- }
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(pos)
- local list = game.Workspace:children()
- local torso
- local dist = 1000
- local temp, human, temp2
- for x = 1, #list do
- temp2 = list[x]
- if temp2.className == "Model" and temp2.Name ~= Character.Name then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if temp ~= nil and human ~= nil and human.Health > 0 and dist > temp.Position - pos.magnitude then
- local dohit = true
- if dohit == true then
- torso = temp
- dist = temp.Position - pos.magnitude
- end
- end
- end
- end
- return torso, dist
- end
- function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- HitHealth = h.Health
- h.Health = h.Health - Damage
- if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
- print("gained spree")
- game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
- end
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health = h.Health - Damage / 2
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
- local bodvol = Create("BodyVelocity")({
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- local rl = Create("BodyAngularVelocity")({
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodvol, 0.5)
- game:GetService("Debris"):AddItem(rl, 0.5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity")({
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
- })
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, 0.5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Leech" then
- local hum = hit.Parent.Humanoid
- if hum ~= nil then
- for i = 0, 2 do
- Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- Humanoid.Health = Humanoid.Health + 10
- end
- elseif Type == "UpKnock" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- if hum ~= nil then
- hitr = true
- end
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(5)
- HHumanoid.PlatformStand = false
- hitr = false
- end), hum)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Slashnare" then
- Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15, 15, 15, 3, 3, 3, 0.07)
- for i = 1, math.random(4, 5) do
- Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
- end
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Spike" then
- CreateBigIceSword(hit.Parent.Torso.CFrame)
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition")({
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- local BodGy = Create("BodyGyro")({
- maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
- P = 20000,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame
- })
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue")({
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true
- })
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = 0.03333333333333333
- local Pos = Pos or Vector3.new(0, 0, 0)
- local Text = Text or ""
- local Time = Time or 2
- local Color = Color or Color3.new(1, 0, 1)
- local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart
- })
- local TextLabel = Create("TextLabel")({
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- TextColor3 = Color,
- TextScaled = true,
- Font = Enum.Font.ArialBold,
- Parent = BillboardGui
- })
- game.Debris:AddItem(EffectPart, Time + 0.1)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= Player.Name then
- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
- end
- end
- end
- end
- end
- Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 1, "Black", "Handle", Vector3.new(0.200000003, 1.99000025, 0.200000003))
- HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03390694, -0.0378913879, 0.0423927307, 0.00537800649, -0.999863446, 0.0157010239, -0.00524299731, -0.0157292262, -0.999863803, 0.999973059, 0.00529494602, -0.00532687688))
- CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
- FakeHandle = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Black", "FakeHandle", Vector3.new(0.200000003, 1.99000025, 0.200000003))
- FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", FakeHandle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539779663, 1.51061726, 6.02937508, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.947007656, -0.321219057, 8.72137025E-6, 0.321219087, -0.947007537, 1.09686516E-5))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00527191162, -1.17340946, 7.33201027, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539398193, -1.05569959, 6.98459435, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0053062439, -1.0411427, 7.68503571, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.16950607, -1.01756752, 4.80578327, 5.26593067E-6, -0.70710361, 0.707113385, -0.999759555, 0.015586785, 0.0155940205, -0.0220481604, -0.706941605, -0.70693171))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539398193, -0.822984934, 6.42893028, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.999759614, 0.0220478512, 4.44427133E-6, -0.0220478605, -0.999759436, 1.32904388E-5))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00539398193, -2.3565917, 6.26401329, 4.73624095E-6, 1.32070854E-5, 1.0000025, -0.959987104, 0.280053258, 8.53091478E-7, -0.280053318, -0.959987104, 1.39866024E-5))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00124740601, -3.66927147, 0.0115699768, -1.00000262, -1.00008583E-6, -5.58793545E-9, 1.00036414E-6, -1.0000025, -2.00234354E-8, -5.58793545E-9, -9.31322575E-10, 1.0000025))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.300000012, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.19817162, -1.01794434, 4.81945038, 1.71642751E-6, 0.707115293, 0.707101882, -0.999759674, 0.0155910924, -0.0155889587, -0.0220476296, -0.706930101, 0.706943393))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.19822502, -1.03336644, 5.51928711, 1.71642751E-6, 0.707115293, 0.707101882, -0.999759674, 0.0155910924, -0.0155889587, -0.0220476296, -0.706930101, 0.706943393))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.3161087, -0.903581858, -0.36473465, 2.32301318E-7, -1.0000025, 2.97930092E-6, -0.999759674, -1.62021024E-7, 0.0220473688, -0.0220473688, -3.00398096E-6, -0.999759436))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.16950226, -1.03307593, 5.50552177, 5.26593067E-6, -0.70710361, 0.707113385, -0.999759555, 0.015586785, 0.0155940205, -0.0220481604, -0.706941605, -0.70693171))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(1, 1.01999998, 1))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00271224976, 1.43500328, 6.71141815, -2.78232619E-6, -1.01770274E-5, -1.00000238, 0.705434084, -0.708779156, 5.23310155E-6, -0.708780169, -0.705434978, 9.13836266E-6))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012))
- Cone = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Cone", Vector3.new(0.200000003, 1.01999998, 0.200000003))
- ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.3161087, -0.919006348, 0.335067749, 2.32301318E-7, -1.0000025, 2.97930092E-6, -0.999759674, -1.62021024E-7, 0.0220473688, -0.0220473688, -3.00398096E-6, -0.999759436))
- CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003))
- Hitbox = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Black", "Hitbox", Vector3.new(4.51999998, 5.11000013, 0.399999976))
- HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.03408241, 5.36113167, 0.0493354797, -0.860079408, 0.508478522, 0.0414839722, -0.508484244, -0.861003876, 0.0111955004, 0.0414102674, -0.0114648659, 0.99908036))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.560000002, 0.309999973, 0.550000012))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.128227711, -0.0119895935, -6.39540863, 0.999727249, 0.0210220404, 0.0104350243, 0.0104321279, 2.47409102E-4, -0.999948084, -0.0210234765, 0.999781609, 2.80560926E-5))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.310000002, 0.779999971, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727E-6, 0.594301224, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.370000005, 0.200000003, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.41074371E-6, 0.659021378, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.5, 0.200000003, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33786011E-6, 3.25786209, 0.010471344, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.289999992, 0.200000003, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.74181366E-6, 3.33307076, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Black", "Part", Vector3.new(0.200000003, 7.42000008, 0.200000003))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.31130219E-6, -2.71500778, -0.0460586548, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.729999959, 0.200000003))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.52357054, -6.12787247, 0.0104598999, 0.916810095, -0.399330229, 7.1991235E-7, 0.399330258, 0.916809976, -2.74879858E-6, 4.38652933E-7, 2.82702968E-6, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Really black", "Part", Vector3.new(0.200000003, 7.42000008, 0.200000003))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.1920929E-6, -2.71500587, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.729999959, 0.239999995))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.59473228, -6.09814835, 0.0104637146, 0.911903381, 0.410411119, -1.4170073E-6, -0.410411149, 0.911903322, -1.70012936E-6, 5.95580786E-7, 2.15135515E-6, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.310000002, 0.779999971, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.38418579E-6, -6.10501289, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.24000001, 1))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.30716515, -0.387057304, 0.0104637146, 0.190524682, 0.981684983, -1.6624108E-6, -0.981685102, 0.190524623, -1.58930197E-6, -1.24238431E-6, 1.95298344E-6, 1.00000238))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.899999976))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.32094574, -0.0780655146, 0.0104598999, 0.0220447183, 0.999759555, -1.81468204E-6, -0.999759674, 0.0220447183, -1.72108412E-6, -1.68057159E-6, 1.87195837E-6, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.25, 1))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.0494957, -1.09056282, 0.0104675293, 0.516238034, 0.856448054, 3.89991328E-8, -0.856448054, 0.516238093, -4.39397991E-6, -3.78349796E-6, 2.25333497E-6, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.21307945, -0.478541851, 0.0104637146, 0.318955004, 0.947772443, -2.1609012E-6, -0.947772503, 0.318954974, -2.60910019E-6, -1.78301707E-6, 2.89874151E-6, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000024))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.289999992, 0.200000003, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.33786011E-6, 3.25786209, 0.010471344, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.370000005, 0.200000003, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.93390656E-6, 0.932256699, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Really black", "Part", Vector3.new(0.200000003, 2.72000027, 0.200000003))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.38418579E-7, 2.02774811, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.29999995))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.439999998, 0.319999963, 0.550000012))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.128227711, -0.0119895935, -6.39540863, 0.999727249, 0.0210220404, 0.0104350243, 0.0104321279, 2.47409102E-4, -0.999948084, -0.0210234765, 0.999781609, 2.80560926E-5))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.840000033, 1.01999998, 1))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.32094765, 0.0104598999, -0.0780653358, -0.0220447201, -0.999759853, 1.81421638E-6, -1.68103725E-6, 1.8728897E-6, 1.00000226, -0.999759853, 0.022044722, -1.72108412E-6))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.370000005, 0.200000003, 0.350000024))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.81469727E-6, 0.715686798, 0.0104751587, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0.10000000149012, 0, "Black", "Part", Vector3.new(0.200000003, 7.42000008, 0.200000003))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.78813934E-6, -2.71500778, 0.0653190613, 1.00000262, -1.5097612E-10, 0, -1.5097612E-10, 1.0000025, 9.77888703E-9, 0, 9.77888703E-9, 1.0000025))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(1, 1.00999999, 1))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.32094765, 0.0104598999, -0.0780653358, -0.0220447201, -0.999759853, 1.81421638E-6, -1.68103725E-6, 1.8728897E-6, 1.00000226, -0.999759853, 0.022044722, -1.72108412E-6))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.670000017, 1.02999997, 0.710000038))
- PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.32094765, 0.0104598999, -0.0780653358, -0.0220447201, -0.999759853, 1.81421638E-6, -1.68103725E-6, 1.8728897E-6, 1.00000226, -0.999759853, 0.022044722, -1.72108412E-6))
- CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- EffectModel = Instance.new("Model", Character)
- EffectModel.Name = "Effects"
- function CreateBigIceSword(BaseCFrame)
- local basepart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BasePart", Vector3.new(1, 1, 1))
- basepart.Anchored = true
- game:GetService("Debris"):AddItem(basepart, 0.2)
- local icepart = CreatePart(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Really black"), "IceSword", Vector3.new(2, 10, 2))
- icepart.CanCollide = true
- icepart.Anchored = true
- local icemesh = CreateMesh("SpecialMesh", icepart, "FileMesh", "rbxassetid://1778999", Vector3.new(0, 0, 0), Vector3.new(2, 10, 2))
- local con = icepart.Touched:connect(function(hit)
- end)
- basepart.CFrame = BaseCFrame
- icepart.CFrame = basepart.CFrame * cn(0, -10, 0)
- coroutine.resume(coroutine.create(function(Part)
- for i = 0, 3, 0.2 do
- swait()
- Part.CFrame = Part.CFrame * cn(0, 0.8, 0)
- end
- wait(1)
- Effects.Block.Create(BrickColor.new("Really black"), Part.CFrame, 5, 5, 5, 5, 5, 5, 0.07)
- Part.Parent = nil
- end), icepart)
- end
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part .. Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- Effects[#Effects + 1] = {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3
- }
- end
- },
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part .. Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
- prt.Anchored = true
- prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
- prt.CFrame = CFrame.new(prt.Position)
- game:GetService("Debris"):AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
- table.insert(Effects, {
- prt,
- "Elec",
- 0.1,
- x,
- y,
- z,
- xval,
- yval,
- zval
- })
- end
- },
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://559831844", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Cylinder3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = math.random(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- math.random() - math.random(),
- 0,
- math.random(50, 100) / 100
- })
- end
- },
- Fire = {
- Create = function(brickcolor, cframe, x1, y1, z1, delay)
- local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end
- },
- Slash = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://662586858", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- RoundSlash = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://662585058", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Cylinder2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(workspace, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local d = Instance.new("Decal")
- d.Parent = prt
- d.Texture = "rbxassetid://26356434"
- d.Face = "Top"
- d = Instance.new("Decal")
- d.Parent = prt
- d.Texture = "rbxassetid://26356434"
- d.Face = "Bottom"
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- end
- },
- EffectTemplate = {}
- }
- function attackone()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 7, 14, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakAttack1.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
- end
- CFuncs.Sound.Create("234365549", RootPart, 1, 1)
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakAttack1.Animation(2), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(10)), 0.3)
- end
- for i = 0, 1, 0.13 do
- swait()
- PPR(AnimTable.SharakAttack1.Animation(3), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(10)), 0.3)
- end
- con:disconnect()
- attack = false
- end
- function attacktwo()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 7, 14, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakAttack2.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
- end
- CFuncs.Sound.Create("234365573", RootPart, 1, 1)
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakAttack2.Animation(2), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
- end
- for i = 0, 1, 0.13 do
- swait()
- PPR(AnimTable.SharakAttack2.Animation(3), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
- end
- con:disconnect()
- attack = false
- end
- function attackthree()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 7, 14, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakAttack3.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-30)), 0.3)
- end
- CFuncs.Sound.Create("234365573", RootPart, 1, 1.3)
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakAttack3.Animation(2), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(0)), 0.3)
- end
- for i = 0, 1, 0.13 do
- swait()
- PPR(AnimTable.SharakAttack3.Animation(3), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-50)), 0.3)
- end
- con:disconnect()
- attack = false
- end
- function attackfour()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 7, 13, math.random(1, 5), "Normal", RootPart, 0.3, "588733541", 0.8)
- end)
- d = voidfog:Clone()
- d.Parent = Handle
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakAttack4.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-90), math.rad(0), math.rad(-30)), 0.3)
- end
- d.Enabled = true
- for i = 0, 2 do
- CFuncs.Sound.Create("234365549", RootPart, 1, 1.4)
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
- PPR(AnimTable.SharakAttack4.Animation(2), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0.5) * angles(math.rad(0), math.rad(0), math.rad(0 - 360 * i)), 0.5)
- end
- Effects.RoundSlash.Create(BrickColor.new("Black"), Handle.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 0.07, 1.0E-4, 0.07, 5.0E-4, 0, 5.0E-4, 0.07, 2)
- end
- con:disconnect()
- d.Enabled = false
- game.Debris:AddItem(d, 5)
- attack = false
- end
- function blackbrigade()
- attack = true
- local con = Hitbox.Touched:connect(function(hit)
- Damagefunc(Hitbox, hit, 13, 18, math.random(1, 5), "Leech", RootPart, 0.2, "588733541", 0.8)
- end)
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakCurse.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(0)), 0.3)
- end
- CFuncs.Sound.Create("234365549", RootPart, 1, 0.8)
- for i = 0, 1, 0.2 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
- PPR(AnimTable.SharakCurse.Animation(2), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(-40)), 0.5)
- end
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakCurse.Animation(3), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(-40)), 0.3)
- end
- con:disconnect()
- attack = false
- end
- function dragonrush()
- attack = true
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakRush.Animation(4), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(30)), 0.3)
- end
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakRush.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(30)), 0.3)
- end
- Effects.Ring.Create(BrickColor.new("Black"), RootPart.CFrame * cn(0, 0, 0) * angles(0, 0, math.rad(0)), 0.8, 0.8, 0.1, 0.1, 0.1, 0, 0.07)
- CFuncs.Sound.Create("192410077", RootPart, 1, 1.2)
- for i = 1, 5 do
- for i = 0, 1, 0.3 do
- swait()
- Torso.Velocity = RootPart.CFrame.lookVector * 90
- Effects.Block.Create(BrickColor.new("Black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
- PPR(AnimTable.SharakRush.Animation(2), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(-40)), 0.5)
- end
- end
- Torso.Velocity = RootPart.CFrame.lookVector * 0
- Effects.RoundSlash.Create(BrickColor.new("Black"), Handle.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 0.07, 1.0E-4, 0.07, 0.001, 0, 0.001, 0.07, 2)
- Effects.Ring.Create(BrickColor.new("Black"), Handle.CFrame * cn(0, 0, 0) * angles(0, 0, math.rad(90)), 0.8, 0.8, 0.1, 0.1, 0.1, 0, 0.07)
- MagniDamage(RootPart, 13, 10, 15, 0, "UpKnock")
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakAttack2.Animation(3), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
- end
- CFuncs.Sound.Create("588693156", RootPart, 1, 0.8)
- if hitr == true then
- for i = 0, 1, 0.13 do
- swait()
- PPR(AnimTable.SharakRush.Animation(5), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
- end
- for i = 0, 2 do
- swait()
- Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0) * angles(math.rad(math.random(-180, 180)), 0, math.rad(math.random(-180, 180))), 2, 2, 0.1, 0.1, 0.1, 0, 0.07)
- end
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakRush.Animation(6), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
- end
- CFuncs.Sound.Create("231917863", RootPart, 1, 0.8)
- for i = 0, 2 do
- Effects.Block.Create(BrickColor.new("Really black"), LeftArm.CFrame * cn(0, -1, 0), 1, 1, 1, 5, 5, 5, 0.07)
- end
- MagniDamage(RootPart, 20, 10, 15, 60, "Knockdown")
- Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 20, 20, 20, 5, 5, 5, 0.07)
- Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -2, -2), 1, 1, 1, 1, 0, 1, 0.07)
- for i = 0, 1, 0.13 do
- swait()
- PPR(AnimTable.SharakRush.Animation(7), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
- end
- else
- for i = 0, 1, 0.13 do
- swait()
- PPR(AnimTable.SharakRush.Animation(5), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(-100)), 0.4)
- end
- end
- attack = false
- end
- function idfk()
- attack = true
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- local orb = CreatePart(Character, "Neon", 0, 0.5, BrickColor.new("Really black"), "Orb", Vector3.new())
- orb.Anchored = true
- local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- orb.CFrame = RootPart.CFrame * cn(0, 1, 7.5)
- local orb2 = CreatePart(Character, "Neon", 0, 0.5, BrickColor.new("Magenta"), "Orb", Vector3.new())
- local deca = Instance.new("Decal", orb2)
- deca.Texture = "rbxassetid://295332790"
- deca.Face = "Front"
- local orb3 = CreatePart(Character, "Neon", 0, 1, BrickColor.new("Magenta"), "Orb", Vector3.new(15, 7, 0.2))
- orb3.Anchored = true
- orb2.Anchored = true
- d = voidfog:Clone()
- d.Parent = orb3
- d.Enabled = true
- local omsh2 = CreateMesh("SpecialMesh", orb2, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- orb2.CFrame = RootPart.CFrame * cn(0, 1, 7.6)
- orb3.CFrame = RootPart.CFrame * cn(0, 1, 7.6)
- local orb4 = CreatePart(Character, "SmoothPlastic", 0, 0, BrickColor.new("Really black"), "Orb", Vector3.new())
- orb4.Anchored = true
- local thing = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Orb", Vector3.new(30, 10, 30))
- thing.Anchored = true
- thing.CanCollide = false
- d = voidfog:Clone()
- d.Parent = thing
- d.Enabled = true
- thing.CFrame = RootPart.CFrame * cn(0, -2.9, 0)
- local deca = Instance.new("Decal", orb4)
- deca.Texture = "rbxassetid://469623821"
- deca.Face = "Top"
- local omsh5 = CreateMesh("CylinderMesh", orb4, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- orb4.CFrame = RootPart.CFrame * cn(0, -2.9, 0)
- coroutine.resume(coroutine.create(function()
- coroutine.resume(coroutine.create(function()
- for i = 0, 5, 0.5 do
- swait()
- omsh2.Scale = Vector3.new(10 * i, 1, 1)
- end
- for i = 0, 50, 10 do
- swait()
- omsh2.Scale = Vector3.new(50, 1 * i, 1)
- end
- end))
- for i = 0, 10 do
- swait()
- omsh.Scale = Vector3.new(10 * i, 1, 1)
- end
- for i = 0, 50, 10 do
- swait()
- omsh.Scale = Vector3.new(100, 1 * i, 1)
- end
- end))
- CFuncs.Sound.Create("588707901", RootPart, 1, 0.7)
- coroutine.resume(coroutine.create(function()
- for i = 0, 30 do
- swait(1)
- Effects.Block.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(math.random(-15, 15), -2.5, math.random(-15, 15)), 5, 5, 5, 1, 1, 1, 0.08)
- end
- end))
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakDestroy.Animation(1), 0.3, false)
- end
- MagniDamage(RootPart, 15, 0, 0, 0, "Snare")
- coroutine.resume(coroutine.create(function()
- for i = 0, 15, 0.5 do
- swait()
- omsh5.Scale = Vector3.new(10 * i, 1, 10 * i)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 do
- swait(3)
- Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(math.random(0, 90)), 0, math.rad(math.random(0, 90))), 0.15, 1.0E-4, 0.15, -0.005, 0, -0.005, 0.07, 2)
- Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(90), 0, math.rad(0)), 3, 3, 0.1, -0.1, -0.1, 0, 0.07)
- end
- end))
- for i = 0, 1, 0.03 do
- swait()
- PPR(AnimTable.SharakDestroy.Animation(2), 0.1, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakDestroy.Animation(3), 0.3, false)
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.07 do
- swait()
- omsh5.Scale = Vector3.new(500 * i, 1, 500 * i)
- orb4.Transparency = i
- end
- end))
- CFuncs.Sound.Create("588694789", RootPart, 1, 0.7)
- CFuncs.Sound.Create("324867021", RootPart, 1, 0.8)
- coroutine.resume(coroutine.create(function()
- for i = 0, 5 do
- swait(3)
- Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(math.random(0, 90)), 0, math.rad(math.random(0, 90))), 0.1, 1.0E-4, 0.1, 0.004, 0, 0.004, 0.04, 2)
- end
- end))
- Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 70, 70, 70, 6, 6, 6, 0.07)
- MagniDamage(RootPart, 15, 15, 15, 0, "Spike")
- for i = 0, 1, 0.3 do
- swait()
- PPR(AnimTable.SharakDestroy.Animation(4), 0.4, false)
- end
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakDestroy.Animation(5), 0.3, false)
- end
- orb.Parent = nil
- orb2.Parent = nil
- orb3.Parent = nil
- orb4.Parent = nil
- thing.Parent = nil
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 50
- attack = false
- end
- function zestyult()
- attack = true
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- local orb = CreatePart(Character, "Neon", 0, 0.5, BrickColor.new("Really black"), "Orb", Vector3.new())
- orb.Anchored = true
- local omsh = CreateMesh("SpecialMesh", orb, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- orb.CFrame = RootPart.CFrame * cn(0, 0, 0)
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakUlt.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- end
- local thing = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Orb", Vector3.new(30, 1, 30))
- thing.Anchored = true
- thing.CanCollide = false
- d = black:Clone()
- d.Parent = thing
- d.Enabled = true
- thing.CFrame = RootPart.CFrame * cn(0, -2.9, 0)
- local thing2 = CreatePart(Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Orb", Vector3.new(30, 1, 30))
- thing2.Anchored = true
- thing2.CanCollide = false
- d = black:Clone()
- d.Parent = thing2
- d.Enabled = true
- thing2.CFrame = RootPart.CFrame * cn(0, -2.9, 0) * angles(0, 1, 0)
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 do
- swait(3)
- Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(math.random(-30, 30)), 0, math.rad(math.random(-30, 30))), 0.17, 1.0E-4, 0.17, 0.005, 0, 0.005, 0.07, 2)
- Effects.Ring.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0) * angles(math.rad(90), 0, 0), 2.5, 2.5, 0.1, 0.1, 0.1, 0, 0.06, 2)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 0, 15, 0.5 do
- swait()
- omsh.Scale = Vector3.new(10 * i, 10 * i, 10 * i)
- end
- end))
- CFuncs.Sound.Create("588735945", RootPart, 1, 0.7)
- MagniDamage(RootPart, 15, 0, 0, 0, "Freeze")
- for i = 0, 2 do
- for i = 0, 1, 0.05 do
- swait()
- PPR(AnimTable.SharakUlt.Animation(1), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- end
- end
- MagniDamage(RootPart, 15, 5, 15, 0, "Knockdown")
- CFuncs.Sound.Create("588736245", RootPart, 1, 0.8)
- Effects.Sphere.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 0, 0), 150, 150, 150, 1, 1, 1, 0.06)
- thing.Parent = nil
- thing2.Parent = nil
- orb.Parent = nil
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakUlt.Animation(3), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
- end
- Effects.RoundSlash.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, 3, 0) * angles(0, 0, math.rad(10)), 0.17, 1.0E-4, 0.17, 0.01, 0, 0.01, 0.07, 2)
- MagniDamage(RootPart, 24, 20, 35, 30, "Knockdown")
- CFuncs.Sound.Create("300916105", RootPart, 1, 0.8)
- for i = 0, 1, 0.3 do
- swait()
- Effects.Block.Create(BrickColor.new("Really black"), Hitbox.CFrame * cn(0, 0, 0) * angles(0, 1.47, math.rad(90)), 5, 5, 5, 1, 1, 1, 0.07)
- PPR(AnimTable.SharakUlt.Animation(4), 0.4, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
- end
- for i = 0, 1, 0.1 do
- swait()
- PPR(AnimTable.SharakUlt.Animation(5), 0.3, false)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
- end
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 50
- attack = false
- end
- mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- attacktwo()
- elseif attack == false and attacktype == 3 then
- attacktype = 4
- attackthree()
- elseif attack == false and attacktype == 4 then
- attacktype = 1
- attackfour()
- end
- end)
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if attack == false and k == "z" and cooldown1 >= co1 then
- cooldown1 = 0
- blackbrigade()
- elseif attack == false and k == "x" and cooldown2 >= co2 then
- cooldown2 = 0
- dragonrush()
- elseif attack == false and k == "c" and cooldown3 >= co3 then
- cooldown3 = 0
- idfk()
- elseif attack == false and k == "v" and cooldown4 >= co4 then
- cooldown4 = 0
- zestyult()
- end
- end)
- function updateskills()
- if cooldown1 <= co1 then
- cooldown1 = co1--cooldown1 + 0.03333333333333333
- end
- if cooldown2 <= co2 then
- cooldown2 = co2--cooldown2 + 0.03333333333333333
- end
- if cooldown3 <= co3 then
- cooldown3 = co3--cooldown3 + 0.03333333333333333
- end
- if cooldown4 <= co4 then
- cooldown4 = co4--cooldown4 + 0.03333333333333333
- end
- end
- while true do
- swait()
- if Humanoid.Health == 0 or Character == nil then
- break
- end
- updateskills()
- bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
- bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
- bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
- bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if equipped == true or equipped == false then
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1.8, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
- end
- elseif Torsovelocity<1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(40), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-0.7, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
- end
- elseif Torsovelocity>2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(70), math.rad(0), math.rad(40)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, -0.2, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 - 0.8 * math.cos(sine / 3)) * angles(math.rad(0 + 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 + 0.8 * math.cos(sine / 3)) * angles(math.rad(0 - 50 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.3)
- FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), 0.3)
- end
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if Thing[2] == "Shoot" then
- local Look = Thing[1]
- local move = 30
- if Thing[8] == 3 then
- move = 10
- end
- local hit, pos = rayCast(Thing[4], Thing[1], move, m)
- if Thing[10] ~= nil then
- da = pos
- cf2 = CFrame.new(Thing[4], Thing[10].Position)
- cfa = CFrame.new(Thing[4], pos)
- tehCF = cfa:lerp(cf2, 0.2)
- Thing[1] = tehCF.lookVector
- end
- local mag = Thing[4] - pos.magnitude
- Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
- if Thing[8] == 2 then
- Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
- end
- Thing[4] = Thing[4] + Look * move
- Thing[3] = Thing[3] - 1
- if 2 < Thing[5] then
- Thing[5] = Thing[5] - 0.3
- Thing[6] = Thing[6] - 0.3
- end
- if hit ~= nil then
- Thing[3] = 0
- if Thing[8] == 1 or Thing[8] == 3 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- elseif Thing[8] == 2 then
- Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
- if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- CFuncs.Sound.Create("161006093", ref, 1, 1.2)
- game:GetService("Debris"):AddItem(ref, 0.2)
- Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
- Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
- MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
- end
- end
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects.Sphere.Create(Torso.BrickCOlor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
- game:GetService("Debris"):AddItem(ref, 1)
- end
- if Thing[3] <= 0 then
- table.remove(Effects, e)
- end
- end
- if Thing[2] == "FireWave" then
- if Thing[3] <= Thing[4] then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
- Thing[3] = Thing[3] + 1
- Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Fire" then
- Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder2" then
- Thing[1].CFrame = Thing[1].CFrame * angles(0, -0.5, 0)
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder3" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0, -0.5)
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- Mesh = Thing[10]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment