Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Fixed by Scenius(On ROBLOX) & Edited by lilh3/Frenchy
- Effects = {}
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- Humanoid.WalkSpeed = 20
- local Mouse = Player:GetMouse()
- 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 Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local attack = false
- local Anim = "Idle"
- 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 Create = LoadLibrary("RbxUtility").Create
- char = game.Players.LocalPlayer.Character
- z = Instance.new("Sound", char)
- z.SoundId = "rbxassetid://150755805" -- Put Music ID Here.
- z.Looped = true
- z.Volume = 0.7
- wait(.1)
- z:Play()
- local BC = char["Body Colors"]
- BC.HeadColor = BrickColor.new("Black")
- BC.LeftArmColor = BrickColor.new("Mid gray")
- BC.LeftLegColor = BrickColor.new("Mid gray")
- BC.RightArmColor = BrickColor.new("Mid gray")
- BC.RightLegColor = BrickColor.new("Mid gray")
- BC.TorsoColor = BrickColor.new("Mid gray")
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "rbxassetid://0"
- char.Pants.PantsTemplate = "rbxassetid://0"
- char.Head.face.Texture = "rbxassetid://0"
- for i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- -- yay time to waste my whole life trying to gain these
- local AnimTable = {}
- AnimTable.RepWALK = {}
- AnimTable.RepulseAttack1 = {}
- AnimTable.RepulseAttack2 = {}
- AnimTable.RepulseAttack3 = {}
- AnimTable.RepulseAttack4 = {}
- AnimTable.RepulseShoot = {}
- AnimTable.RepulseORA = {}
- AnimTable.RepulseEnergyB = {}
- AnimTable.RepulseEnergyF = {}
- AnimTable.RepulseAttack1.Animation = function(num)
- repatk1cf = nil
- if num == 1 then
- repatk1cf = {CFrame.new(0.000151857734, -0.310488015, -0.087417841, 0.707106054, 5.26835073e-008, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688), CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375), CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858), CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126), CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973e-006, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772), CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632e-007, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626)}
- elseif num == 2 then
- repatk1cf = {CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897), CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481), CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721), CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839), CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349), CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741)}
- end
- return repatk1cf
- end
- AnimTable.RepulseAttack2.Animation = function(num)
- repatk2cf = nil
- if num == 1 then
- repatk2cf = {CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408), CFrame.new(-2.74181366e-006, 1.49999321, -3.4570694e-006, 0.707105815, -0.183012873, -0.683013678, -8.7171793e-007, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472), CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295), CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608), CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446e-007, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913), CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682)}
- elseif num == 2 then
- repatk2cf = {CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711), CFrame.new(-4.01586294e-006, 1.4999907, -1.59628689e-006, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786), CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833), CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094), CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458), CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 0.000168083934, 0.695363283)}
- end
- return repatk2cf
- end
- AnimTable.RepulseAttack3.Animation = function(num)
- repatk3cf = nil
- if num == 1 then
- repatk3cf = {CFrame.new(0.00015424937, -0.0303910244, 0.172732353, 0.707106054, -1.36977135e-007, -0.707107484, -0.241844028, 0.939693153, -0.241843715, 0.664464056, 0.342018902, 0.664462626), CFrame.new(-0.0900346041, 1.53916931, -0.0900347233, 0.707106054, -0.241844028, 0.664464056, -1.36977135e-007, 0.939693153, 0.342018902, -0.707107484, -0.241843715, 0.664462626), CFrame.new(1.54832983, 0.2894032, 0.329475105, 0.910240293, -0.411981106, -0.0416468978, 0.371504784, 0.768086612, 0.521562576, -0.182885468, -0.490219176, 0.852196038), CFrame.new(-1.68712711, 0.311459482, 0.3278009, 0.836423278, 0.536408186, -0.11252743, -0.403283268, 0.741368711, 0.536409497, 0.371158689, -0.403284907, 0.836422443), CFrame.new(0.788507879, -1.88569379, 0.155615538, 0.891722381, -0.274265081, 0.360013813, 0.116977148, 0.908105969, 0.402069658, -0.437204301, -0.316421092, 0.841861069), CFrame.new(-0.70507884, -0.807403564, -0.520998418, 0.734425247, 0.0872097909, 0.673063159, -0.0274242759, 0.994713306, -0.0989620388, -0.678135276, 0.0542218834, 0.732934237)}
- elseif num == 2 then
- repatk3cf = {CFrame.new(0.000153645873, -0.22751689, 0.07635656, 0.707106054, -5.26835073e-008, -0.707107484, -0.122787014, 0.984807968, -0.122786865, 0.696365058, 0.173646957, 0.696363688), CFrame.new(-0.0900349915, 1.53916812, -0.0900349319, 0.707106054, -0.241843998, 0.664464056, -5.26835073e-008, 0.939693153, 0.342018783, -0.707107484, -0.241843611, 0.664462686), CFrame.new(1.71330678, 0.609134197, 0.494451642, 0.798460722, -0.570534825, -0.192225158, 0.525007725, 0.503572106, 0.68613565, -0.294665128, -0.648771942, 0.701617837), CFrame.new(-1.5747292, 0.538585067, 0.559931517, 0.823553085, 0.541512251, 0.168892533, -0.481333375, 0.509595573, 0.713183403, 0.300130665, -0.668637991, 0.680326998), CFrame.new(0.761081278, -1.79488313, 0.123973221, 0.891722023, -0.241844088, 0.382548481, 0.116976976, 0.939693153, 0.321392685, -0.437205136, -0.241843581, 0.866235197), CFrame.new(-1.52726746, -1.01843166, -0.946048379, 0.710156322, 0.662300229, -0.238822937, -0.508035719, 0.247218758, -0.825095534, -0.487419516, 0.707277417, 0.512036085)}
- end
- return repatk3cf
- end
- AnimTable.RepulseAttack4.Animation = function(num)
- repatk4cf = nil
- if num == 1 then
- repatk4cf = {CFrame.new(1.90734863e-006, -0.101995051, -0.0435739271, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661), CFrame.new(0, 1.49999213, 1.14738941e-006, 1, 0, 0, 0, 0.999637008, -0.0269428417, 0, 0.0269428417, 0.999637008), CFrame.new(0.86135602, 0.96034044, -0.937009454, 0.707105935, 0.612373054, -0.35355404, 0.122787617, -0.598741174, -0.7914747, -0.696365118, 0.516244411, -0.498565257), CFrame.new(-0.7684232, 0.870659947, -1.04800045, 0.573576868, -0.627506495, 0.526540816, -0.0713939667, -0.678636789, -0.730995834, 0.816034675, 0.381690472, -0.43405062), CFrame.new(0.581118286, -1.97988117, 0.114086062, 0.984807849, -5.94328526e-007, -0.173648044, 0.0301542114, 0.984807789, 0.171009779, 0.171009853, -0.17364797, 0.969846427), CFrame.new(-0.646108985, -1.95065558, -0.272756487, 0.951251328, 0.126749247, 0.281168371, -0.144535154, 0.988549173, 0.0433596969, -0.27245295, -0.0818846598, 0.958678424)}
- elseif num == 2 then
- repatk4cf = {CFrame.new(1.90734863e-006, -0.21144633, 0.076259613, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872), CFrame.new(0, 1.57069409, -0.156875908, 1, 0, 0, 0, 0.948566556, 0.31657818, 0, -0.31657818, 0.948566556), CFrame.new(1.86454415, 0.46246621, -0.0639053285, 0.180947989, -0.97119087, -0.155068755, -0.0968869328, 0.139301777, -0.985498905, 0.978708744, 0.193348199, -0.0688893348), CFrame.new(-1.79790926, 0.473141432, -0.0660722554, 0.338663906, 0.913478255, 0.225531012, -0.0265247822, 0.248868778, -0.96817404, -0.940533519, 0.321903408, 0.1085127), CFrame.new(0.655676186, -1.95014548, 0.339207411, 0.977650881, -0.140885949, -0.156045124, 0.187192559, 0.921208084, 0.341078997, 0.095696792, -0.362666637, 0.926992536), CFrame.new(-0.7683267, -1.93554115, 0.114631325, 0.928176641, 0.239801988, 0.284575343, -0.306200802, 0.926717699, 0.21779722, -0.211492777, -0.289291471, 0.933585286)}
- end
- return repatk4cf
- end
- AnimTable.RepulseShoot.Animation = function(num)
- repshootcf = nil
- if num == 1 or num == 3 then
- repshootcf = {CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ), CFrame.new( 0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1 ), CFrame.new( 0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019 ), CFrame.new( -0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777 ), CFrame.new( 0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061e-007, 0.257834047, -0.0225580372, 0.965925872 ), CFrame.new( -0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061e-007, -0.257834047, -0.0225580372, 0.965925872 )}
- else
- repshootcf = {CFrame.new(1.90734863e-006, -0.25291419, 0.238341585, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661), CFrame.new(0, 1.49999189, -1.1920929e-006, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767), CFrame.new(0.689965963, 0.767623663, -0.856841147, -0.544456005, 0.160545677, 0.823281765, 0.798456132, -0.201499581, 0.567332089, 0.256973624, 0.966241658, -0.0184810348), CFrame.new(-0.392649293, 0.920519292, -0.977094412, 0.403439909, -0.887421727, -0.222977459, -0.91384387, -0.378501445, -0.147058249, 0.0461054072, 0.263095737, -0.963667512), CFrame.new(0.598512471, -1.89166105, 0.0173719227, 0.962250233, -0.061308533, -0.265171409, 0.0871564373, 0.992403805, 0.0868248865, 0.257834017, -0.106658652, 0.960284173), CFrame.new(-0.598512232, -1.89166129, 0.0173728764, 0.962250233, 0.061308533, 0.265171409, -0.0871564373, 0.992403805, 0.0868248865, -0.257834017, -0.106658652, 0.960284173)}
- end
- return repshootcf
- end
- AnimTable.RepulseORA.Animation = function(num)
- rep_ora = {}
- if num == 1 then
- rep_ora = {CFrame.new(4.76837158e-007, -0.107780606, -0.0868092626, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), CFrame.new(0, 1.4999913, 2.38418608e-007, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), CFrame.new(1.50214899, 0.590444803, 0.195881441, 0.965925872, 3.76027884e-007, 0.258818895, 0.257834077, -0.0871552154, -0.962250412, 0.0225570519, 0.99619478, -0.0841855928), CFrame.new(-1.60470915, 0.600643516, 0.204860806, 0.937436998, -0.0449436344, -0.345242023, -0.345831364, -0.00582624972, -0.938278675, 0.0401581824, 0.998972595, -0.0210046768), CFrame.new(0.636808395, -1.93472588, -0.370165229, 0.936116338, -0.0517791435, -0.347858071, 0.0266665779, 0.996705353, -0.0765988752, 0.350678325, 0.0624292716, 0.934412897), CFrame.new(-0.6665681, -1.92173398, -0.343467057, 0.962250233, 0.0613082647, 0.265171379, -0.0410595685, 0.99584806, -0.0812460929, -0.269051433, 0.0672912449, 0.960772276)}
- elseif num == 2 then
- rep_ora = {CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438), CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209), CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085), CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552), CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401), CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032)}
- elseif num == 3 then
- rep_ora = {CFrame.new(-0.0223142356, -0.107780628, -0.249816686, 0.906307876, 0.0733869597, -0.416197479, 0, 0.98480773, 0.173648462, 0.422617942, -0.157378972, 0.892539084), CFrame.new(-2.22850417e-007, 1.49999118, 1.16660271e-006, 0.906307936, 1.49011612e-008, 0.422617972, -7.27595761e-009, 1, 0, -0.422618032, 0, 0.906308055), CFrame.new(1.5318948, 0.588474631, 0.207054406, 0.899958313, 0.340718478, 0.272003621, 0.314965397, -0.0767233223, -0.945997, -0.301449746, 0.9370296, -0.176362336), CFrame.new(-1.27977741, 0.723447502, -1.20010054, 0.726744413, 0.46058476, -0.509611845, -0.503104627, -0.148215696, -0.851421177, -0.46768418, 0.875153661, 0.124007396), CFrame.new(0.636807501, -1.93472636, -0.370165735, 0.868198872, -0.0517790169, 0.493507534, 0.075819321, 0.996705353, -0.0288097262, -0.490389913, 0.0624299645, 0.869264364), CFrame.new(-0.666569352, -1.92173386, -0.343467534, 0.86083132, 0.0613082871, 0.505183935, -0.018632248, 0.995848, -0.0891051888, -0.508549333, 0.0672918186, 0.858399451)}
- elseif num == 4 then
- rep_ora = {CFrame.new(0.0767437443, -0.107780531, -0.279432267, 0.866025388, -0.0868241936, 0.492404073, 0, 0.98480773, 0.173648342, -0.500000238, -0.150383845, 0.852868438), CFrame.new(-2.61076184e-006, 1.4999913, -6.19508683e-007, 0.866025209, 2.98023224e-007, -0.500000656, -2.56928615e-007, 1, 1.1920929e-007, 0.500000596, 2.98023224e-008, 0.866025209), CFrame.new(1.40606534, 0.812639356, -1.14933658, 0.82139349, -0.422619373, 0.383021921, 0.349686205, -0.157378837, -0.923553765, 0.450591207, 0.892538428, 0.0185142085), CFrame.new(-1.64197171, 0.599264741, 0.212680459, 0.807513177, -0.456930667, -0.373010725, -0.413006425, 0.0134942085, -0.9106282, 0.421127379, 0.889400065, -0.177818552), CFrame.new(0.636808515, -1.93472552, -0.37016958, 0.814187765, -0.0517790765, -0.578288436, 0.00593282748, 0.996705353, -0.0808905214, 0.580571651, 0.0624291934, 0.811812401), CFrame.new(-0.666569233, -1.92173398, -0.343468547, 0.867917657, 0.0613080971, -0.492910266, -0.0864830092, 0.99584806, -0.0284160972, 0.489121556, 0.0672912076, 0.869616032)}
- end
- return rep_ora
- end
- AnimTable.RepulseEnergyB.Animation = function(num)
- repeng = {}
- if num == 1 then
- repeng = {CFrame.new(-0.000108022243, -0.233785003, -0.0873367637, 0.499999821, -1.78813863e-007, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716), CFrame.new(-1.2665987e-007, 1.49999368, -1.02072954e-006, 0.573575675, 0.0713936985, 0.816035628, -5.01982868e-007, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132), CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152), CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895), CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857), CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472)}
- else
- repeng = {CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837), CFrame.new(4.81307507e-006, 1.49999106, -3.65450978e-006, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009), CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351), CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032), CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571), CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296)}
- end
- return repeng
- end
- AnimTable.RepulseEnergyF.Animation = function(num)
- repenf = {}
- if num == 1 then
- repenf = {CFrame.new(0, -0.447293997, -0.2112111, 1, 0, 0, 0, 0.906307876, 0.422617942, 0, -0.422617942, 0.906307876),
- CFrame.new(0, 1.56152058, -0.112393305, 1, 0, 0, 0, 0.984807611, 0.173649013, 0, -0.173649013, 0.984807611),
- CFrame.new(1.40215218, 0.262826234, -0.571044147, 0.965925872, -7.91637774e-007, 0.258818924, 0.183013082, 0.707107067, -0.683012247, -0.183012128, 0.707106531, 0.683013082),
- CFrame.new(-1.50113642, 0.3615973, -0.530293226, 0.939693093, -1.40025165e-008, -0.342019022, -0.219845474, 0.766044676, -0.604022741, 0.262001872, 0.642787278, 0.719846845),
- CFrame.new(0.474119574, -1.8729918, 0.0565655231, 0.965926111, 1.87114551e-007, -0.25881803, 0.0885210708, 0.939692318, 0.330367059, 0.243209392, -0.342021078, 0.90767318),
- CFrame.new(-0.580936968, -1.35267889, -0.896118402, 0.981060326, 0.0858320147, 0.173647806, -0.00588275492, 0.909254968, -0.416197896, -0.193613231, 0.407293677, 0.892538965)}
- else
- repenf = {CFrame.new(0, -1.36848807, -0.310636044, 1, 0, 0, 0, 0.819151819, 0.573576868, 0, -0.573576868, 0.819151819), CFrame.new(0, 1.56151783, -0.112391293, 1, 0, 0, 0, 0.965925813, 0.258819401, 0, -0.258819401, 0.965925813), CFrame.new(1.01896489, 0.0858490542, -1.17818832, 0.64278698, -2.53824169e-007, 0.766045034, 0.383023024, 0.866025269, -0.321393669, -0.66341418, 0.500000536, 0.556669831), CFrame.new(-1.01494718, 0.206465095, -1.3528949, 0.496335, 0.031015249, -0.867576897, -0.496034414, 0.830292404, -0.254095674, 0.71246165, 0.556464553, 0.427487791), CFrame.new(0.62245965, -1.40458083, 0.119271994, 0.96592623, 0.0885211974, -0.243209109, 0.0885205865, 0.770030499, 0.631836414, 0.243209377, -0.631836355, 0.735956669), CFrame.new(-0.547003508, -0.542036593, -0.748789668, 0.939691901, -0.0298083462, 0.340720713, 0.144544527, 0.937470913, -0.316631377, -0.309977472, 0.346785247, 0.885242462)}
- end
- return repenf
- end
- AnimTable.RepWALK.Animation = function(num, fastnum)
- walkcf = nil
- if num == 1 then
- walkcf = {
- CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), math.rad(-5 * math.cos((fastnum) / 10)), math.rad(0)),
- CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(5 * math.cos((fastnum) / 10)), math.rad(0)),
- CFrame.new(1.14562762, 0.526349247, -0.591056466, 0.825674891, 0.469375819, 0.312965363, 0.547643542, -0.533675969, -0.644419432, -0.135452792, 0.703474402, -0.697693527),
- CFrame.new(-1.14244175, 0.534408689, -0.582344949, 0.825674295, -0.469376504, -0.312966168, -0.547644734, -0.533675849, -0.644418597, 0.13545242, 0.703474045, -0.697693944),
- CFrame.new(0.5, -1.85 - 0.5 * math.cos((fastnum) / 8) / 2, 0 + 2 * math.sin((fastnum) / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin((fastnum) / 8)), math.rad(-3), math.rad(0)),
- CFrame.new(-0.5, -1.85 + 0.5 * math.cos((fastnum) / 8) / 2, 0 - 2 * math.sin((fastnum) / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin((fastnum) / 8)), math.rad(3), math.rad(0))}
- end
- return walkcf
- end
- --ok im finally done now after like 7 million hours
- local m = Create("Model")({
- Parent = Character,
- Name = "WeaponModel"
- })
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local function newMotor(part0, part1, c0, c1)
- local w = Create("Motor")({
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1
- })
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true and resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- local co1 = 11
- local co2 = 15
- local co3 = 12
- local co4 = 28
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local maxEnergy = 100
- local Energy = 0
- local skill1stam = 10
- local skill2stam = 50
- local skill3stam = 60
- local skill4stam = 100
- local recovermana = 5
- 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.SourceSansBold
- 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.SourceSansLight
- text1.BorderSizePixel = 0
- text1.TextScaled = true
- text1.Text = [[
- [Z]
- Technology Fusion]]
- 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.SourceSansLight
- text2.BorderSizePixel = 0
- text2.TextScaled = true
- text2.Text = [[
- [X]
- Pain by Knowledge]]
- 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.SourceSansLight
- text3.BorderSizePixel = 0
- text3.TextScaled = false
- text3.Text = [[
- [C]
- Field of Technology]]
- 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.SourceSansLight
- text4.BorderSizePixel = 0
- text4.TextScaled = true
- text4.Text = [[
- [V]
- Bring in the pain!]]
- 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
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- 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)
- local Sound = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = "http://www.roblox.com/asset?id=" .. id,
- Parent = par or workspace
- })
- Sound:play()
- game:GetService("Debris"):AddItem(Sound, 20)
- return Sound
- end
- },
- Decal = {
- Create = function(Color, Texture, Transparency, Name, Parent)
- local Decal = Create("Decal")({
- Color3 = Color,
- Texture = "rbxassetid://" .. Texture,
- Transparency = Transparency,
- Name = Name,
- Parent = Parent
- })
- return Decal
- end
- },
- BillboardGui = {
- Create = function(Parent, Image, Position, Size)
- local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
- BillPar.CFrame = CFrame.new(Position)
- local Bill = Create("BillboardGui")({
- Parent = BillPar,
- Adornee = BillPar,
- Size = UDim2.new(1, 0, 1, 0),
- SizeOffset = Vector2.new(Size, Size)
- })
- local d = Create("ImageLabel", Bill)({
- Parent = Bill,
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Image = "rbxassetid://" .. Image
- })
- return BillPar
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local Particle = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return Particle
- end
- },
- CreateTemplate = {}
- }
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function FindNearestTorso(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
- table.insert(List, v)
- end
- end
- return List
- end
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
- return
- end
- local c = Create("ObjectValue")({
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h
- })
- game:GetService("Debris"):AddItem(c, 0.5)
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Really black").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, BrickColor.new("Really black").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)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity")({
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8000, 8000, 8000),
- Parent = hit
- })
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition")({
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition")({
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso
- })
- local BodGy = Create("BodyGyro")({
- maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
- P = 20000,
- Parent = hit.Parent.Torso,
- 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 = Create("ObjectValue")({
- Name = "creator",
- Value = Player,
- 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 = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui")({
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart
- })
- local TextLabel = Create("TextLabel")({
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "SciFi",
- TextColor3 = Color,
- TextScaled = true,
- Parent = BillboardGui
- })
- game.Debris:AddItem(EffectPart, Time)
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = Time / Rate
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = Frame / Frames
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if Magnitude >= mag and c.Name ~= Player.Name then
- Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
- end
- end
- end
- end
- end
- HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
- HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663e-008, 0.707106411, -8.19564079e-008, 1.00000119, -1.41561088e-007, -0.707106352, 1.38630043e-007, -0.707107484))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.09999979, 0.399999917, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.350002289, 0, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.62939453e-006, -0.400001526, 7.62939453e-006, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.499999821, 0.299999893, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300033569, -0.800000191, -0.44997406, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "Toothpaste", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527e-006, 0.173647985, -0.984807968, -6.2584877e-007, 0.984808922, 0.173648104, 1.00000012, 1.02902288e-006, -2.77161598e-006))
- CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "Institutional white", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317e-007, -0.996194839))
- CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.499999821, 0.300000012, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.299995422, -0.800000191, 0.449989319, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.10000002, 0.999999881, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, HHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200004578, -0.150001526, 0.200012207, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449981689, -0.750000954, 0.250007629, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.449970245, 0.650001526, 3.21031663e-008, -1.00000119, -1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024, -1.00000024, 3.21031663e-008, 5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.449970245, -1.05000114, 0.300033569, -5.96046448e-008, 1.38630043e-007, 1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, -1.00000024, 3.21031663e-008, 5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.5))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449996948, -1.05000019, 0.300014496, 1.00000024, -3.21031663e-008, -5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, -5.96046448e-008, 1.38630043e-007, 1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.20000005, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0500011444, -0.650009155, 0.449989319, 3.21031663e-008, -1.00000119, -1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.600000024))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.450012207, -0.750001907, 0.249996185, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.449985504, -0.800001144, 0.0500106812, 5.96046448e-008, -1.38630043e-007, -1.00000024, -3.21031663e-008, 1.00000119, 1.38630043e-007, 1.00000024, -3.21031663e-008, -5.96046448e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, HHandle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.44997406, -0.800002098, 0.0500030518, -1.00000024, 3.21031663e-008, 5.96046448e-008, -3.21031663e-008, 1.00000119, 1.38630043e-007, 5.96046448e-008, -1.38630043e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
- THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.19999981, 0.699999928, 1.20000005))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.328445435, -0.67606163, -0.323509216, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.99999994, 0.499999851, 0.900000036))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354995728, 0.217259884, 0.408233643, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.80000019, 0.700000048, 0.800000012))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.843423843, -1.0044136, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.60000014, 0.400000006, 1.39999998))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-005, -0.793423653, -0.504411697, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.19999981, 0.499999911, 1.19999993))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.198799133, -0.0796661377, -0.194431305, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563e-005, -1.04342794, -0.404396057, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617e-005, -0.943422318, -1.35441589, 1, -8.19564079e-008, 5.96046519e-008, -1.01078633e-007, 0.939694166, -0.342019171, 1.52638329e-008, 0.34201926, 0.939693213))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.09999979, 0.499999911, 1.0999999))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.11920929, 0.416726112, -0.115348816, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.39999986, 1.19999993, 1.39999986))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.218803406, -0.55094862, 0.222564697, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.999999762, 0.300000012, 0.799999893))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0691986084, 0.816726685, -0.165359497, 0.709785044, 0.0255700666, -0.70395416, -0.000232494262, 0.999350607, 0.0360652842, 0.704418302, -0.0254352745, 0.709329426))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.899999976, 0.499999851, 0.899999917))
- PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.331642151, 0.516366959, 0.335166931, 0.709785223, -0.157498211, -0.686585248, -0.000232138293, 0.974633098, -0.2238141, 0.704418123, 0.159019142, 0.691742837))
- AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
- AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459e-006, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377e-005, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
- PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -3.81469727e-006, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
- HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.200012207, -0.149997711, 0.360010147, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.30999851, 0.659896851, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199981689, -0.149998665, 0.359991074, 1, -8.19564079e-008, 5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, 5.96046519e-008, -1.41561088e-007, 1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.90734863e-006, 0.309997559, -0.0598983765, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309999466, 0.659896851, 5.96046519e-008, -1.41561088e-007, 1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.200003624, 0.150016785, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.53674316e-006, -1.06000042, 0.490097046, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.299995422, -5.96046519e-008, 1.41561088e-007, -1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, 1, -8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.659999847, 0.490089417, -5.96046519e-008, 1.41561088e-007, -1.00000024, 8.19564079e-008, -1.00000119, 1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, -1.30999947, -0.0598831177, 5.96046519e-008, -1.41561088e-007, 1.00000024, -8.19564079e-008, 1.00000119, -1.41561088e-007, -1, 8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
- AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918e-005, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
- HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836e-005, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -3.81469727e-006, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
- PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.81469727e-006, 0.309998512, 0.660064697, 5.96046519e-008, 1.41561088e-007, 1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.149998665, 0.359992981, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.900000095))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.47955322e-005, -1.30999947, -0.060043335, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.7220459e-006, 0.20000267, 0.150001526, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199836731, -0.149998665, 0.36003685, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52587891e-005, 0.659998894, 0.489944458, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.5, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.199981689, -0.149999619, 0.360010147, -1, -8.19564079e-008, -5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, -5.96046519e-008, -1.41561088e-007, -1.00000024))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.899999976))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.67028809e-005, 0.309998512, -0.0600509644, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.300000012, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.33514404e-005, -1.06000042, 0.489936829, 5.96046519e-008, 1.41561088e-007, 1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.01999998, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453e-006, 0.200003624, 0.299987793, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(1.19999993, 0.200000003, 0.300000012))
- WedgeWeld = CFuncs.Weld.Create(m, AHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-006, -1.30999947, 0.660049438, -5.96046519e-008, -1.41561088e-007, -1.00000024, 8.19564079e-008, 1.00000119, 1.41561088e-007, 1, 8.19564079e-008, 5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079e-008, -5.96046519e-008, -8.19564079e-008, 1.00000119, -1.41561088e-007, -5.96046519e-008, 1.41561088e-007, -1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047e-007, 1.00000775, 2.99581131e-007, -1.00000417, 5.63755016e-008, -4.06898749e-007, -2.98379774e-007, 2.07959161e-008, 1.0000037))
- CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
- PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079e-008, 5.96046519e-008, 8.19564079e-008, 1.00000119, 1.41561088e-007, 5.96046519e-008, 1.41561088e-007, 1.00000024))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224e-008, 6.70552254e-008, 1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, -1, -4.47034836e-008, -2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224e-008, -6.70552254e-008, -1.00000012, 3.7252903e-008, 1.0000006, 7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224e-008, 6.70552254e-008, 1.00000012, -3.7252903e-008, -1.0000006, -7.4505806e-008, 1, 4.47034836e-008, 2.98023224e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
- WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519e-008, -1.41561088e-007, -1.00000024, -8.19564079e-008, -1.00000119, -1.41561088e-007, -1, -8.19564079e-008, -5.96046519e-008))
- CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
- HandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HandleR", Vector3.new(0.403949469, 0.452220112, 0.425030977))
- HandleRWeld = CFuncs.Weld.Create(m, Character["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00997161865, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, 0, 1))
- CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
- sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- sref.Anchored = true
- coroutine.resume(coroutine.create(function(Part, Part2)
- while Part.Parent ~= nil do
- swait(math.random(100, 150))
- for i = 0, 1, 0.2 do
- wait()
- Eye1.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
- Eye2.Mesh.Scale = Vector3.new(1, .7 - 1 * i, 1)
- end
- for i = 0, 1, 0.2 do
- swait()
- Eye1.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
- Eye2.Mesh.Scale = Vector3.new(1, .7 + .3 * i, 1)
- end
- end
- end), Eye1, Eye2)
- EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 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(EffectModel, "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)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Head = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Elect = {
- Create = function(cff, x, y, z)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Mid gray"), "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)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- 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(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Fire",
- delay,
- 1,
- 1,
- 1,
- msh
- })
- end
- },
- FireWave = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "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 = Create("Decal")({
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Top"
- })
- local d = Create("Decal")({
- Parent = prt,
- Texture = "rbxassetid://26356434",
- Face = "Bottom"
- })
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "FireWave",
- 1,
- 30,
- math.random(400, 600) / 100,
- msh
- })
- end
- },
- Lightning = {
- Create = function(p0, p1, tym, ofs, col, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {
- -ofs,
- ofs
- }
- for i = 1, tym do
- local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- li.Material = "Neon"
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- else
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game.Debris:AddItem(li, 10)
- table.insert(Effects, {
- li,
- "Disappear",
- last
- })
- end
- end
- end
- },
- EffectTemplate = {}
- }
- local ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2}
- function attackone()
- attack = true
- CFuncs.Sound.Create("169445184", HitboxR, 1, 0.9)
- for i = 0, 1, 0.12 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 2, 2, 2)
- --[[
- PlayAnimationFromTable({CFrame.new(0.000151857734, -0.310488015, -0.087417841, 0.707106054, 5.26835073e-008, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688), CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375), CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858), CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126), CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973e-006, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772), CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632e-007, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626)}, 0.3, false)
- ]]
- PlayAnimationFromTable(AnimTable.RepulseAttack1.Animation(1), 0.3, false)
- end
- MagnitudeDamage(HitboxR, 7, 7, 14, math.random(1, 3), "Normal", "260430079", 1)
- CFuncs.Sound.Create("200633077", HitboxR, 1, ptz2[math.random(1,#ptz2)])
- RootPart.Velocity = RootPart.CFrame.lookVector * 40
- for i = 0, 1, 0.11 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 2, 2, 2)
- --[[
- PlayAnimationFromTable({CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897), CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481), CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721), CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839), CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349), CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741)}, 0.45, false)
- ]]
- PlayAnimationFromTable(AnimTable.RepulseAttack1.Animation(2), 0.45, false)
- end
- attack = false
- end
- function attacktwo()
- attack = true
- CFuncs.Sound.Create("169445226", HitboxR, 1, 1)
- for i = 0, 1, 0.12 do
- swait()
- Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
- PlayAnimationFromTable(AnimTable.RepulseAttack2.Animation(1), 0.34, false)
- end
- MagnitudeDamage(HitboxL, 7, 7, 14, math.random(1, 3), "Normal", "260430079", 1.1)
- CFuncs.Sound.Create("200633077", HitboxL, 1, ptz2[math.random(1,#ptz2)])
- RootPart.Velocity = RootPart.CFrame.lookVector * 40
- for i = 0, 1, 0.12 do
- swait()
- Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
- PlayAnimationFromTable(AnimTable.RepulseAttack2.Animation(2), 0.45, false)
- end
- attack = false
- end
- function attackthree()
- attack = true
- CFuncs.Sound.Create("169445226", LeftLeg, 1, 0.8)
- for i = 0, 1, 0.12 do
- swait()
- Effects.Elect.Create(LeftLeg.CFrame, 3, 3, 3)
- PlayAnimationFromTable(AnimTable.RepulseAttack3.Animation(1), 0.35, false)
- end
- MagnitudeDamage(HitboxL, 7, 8, 10, math.random(1, 3), "Normal", "260430060", 1)
- CFuncs.Sound.Create("200633077", LeftLeg, 1, ptz2[math.random(1,#ptz2)])
- RootPart.Velocity = RootPart.CFrame.lookVector * 20
- for i = 0, 1, 0.14 do
- swait()
- Effects.Elect.Create(LeftLeg.CFrame, 3, 3, 3)
- PlayAnimationFromTable(AnimTable.RepulseAttack3.Animation(2), 0.5, false)
- end
- attack = false
- end
- function attackfour()
- attack = true
- CFuncs.Sound.Create("238319531", HitboxR, 1, 1)
- for i = 0, 1, 0.1 do
- swait()
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.1)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.1)
- Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
- Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
- PlayAnimationFromTable(AnimTable.RepulseAttack4.Animation(1), 0.4, false)
- end
- MagnitudeDamage(Torso, 15, 10, 15, math.random(1, 3), "Normal", "161006093", 0.8)
- CFuncs.Sound.Create("192410077 ", Torso, 1, 1)
- for i = 1, 20 do
- Effects.Elect.Create(Torso.CFrame, 10, 10, 10)
- end
- Effects.Sphere.Create(BrickColor.new("Mid gray"), Torso.CFrame, 1, 1, 1, 7, 7, 7, 0.08)
- Effects.Sphere.Create(BrickColor.new("Really black"), Torso.CFrame, 1, 1, 1, 5, 5, 5, 0.08)
- for i = 0, 1, 0.1 do
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * -50
- Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
- Effects.Elect.Create(HitboxL.CFrame, 3, 3, 3)
- PlayAnimationFromTable(AnimTable.RepulseAttack4.Animation(2), 0.43, false)
- end
- attack = false
- end
- local Grabbed = false
- function EnergyBurst()
- attack = true
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(1), 0.3, false)
- end
- CFuncs.Sound.Create("299440437", HitboxR, 1, 1.3)
- CFuncs.Sound.Create("200632211", HitboxR, 1, 0.5)
- CFuncs.Sound.Create("169445226", HitboxR, 1, 0.8)
- local GGyro = Instance.new("BodyPosition")
- local WhoTfDidYouGrab
- for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 15)) do
- if v:FindFirstChild("Torso") then
- Grabbed = true
- CFuncs.Sound.Create("260430060", v.Torso, 1, 0.8)
- WhoTfDidYouGrab = v
- end
- end
- for i = 0, 1, 0.1 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 4, 4, 4)
- Effects.Block.Create(BrickColor.new("Mid gray"), sref.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
- if Grabbed == true then
- WhoTfDidYouGrab.Humanoid.PlatformStand = true
- GGyro.position = sref.Position
- GGyro.Parent = WhoTfDidYouGrab.Torso
- WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
- end
- RootPart.Velocity = RootPart.CFrame.lookVector * 80
- PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(2), 0.3, false)
- end
- if Grabbed == true then
- for i = 0, 1, 0.1 do
- swait()
- if Grabbed == true then
- WhoTfDidYouGrab.Humanoid.PlatformStand = true
- GGyro.position = sref.Position
- GGyro.Parent = WhoTfDidYouGrab.Torso
- WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
- end
- --PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(3), 0.2, false)
- end
- for i = 1, 5 do
- for i = 0, 1, 0.15 do
- swait()
- if Grabbed == true then
- WhoTfDidYouGrab.Humanoid.PlatformStand = true
- GGyro.position = sref.Position
- GGyro.Parent = WhoTfDidYouGrab.Torso
- WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
- end
- --PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(4), 0.3, false)
- end
- MagnitudeDamage(HitboxR, 7, 5, 15, math.random(1, 3), "Normal", "161006093", 0.8)
- CFuncs.Sound.Create("324867021", HitboxR, 1, 1)
- for i = 1, 10 do
- Effects.Elect.Create(Torso.CFrame, 10, 10, 10)
- end
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 7, 7, 7, 0.08)
- for i = 0, 1, 0.2 do
- swait()
- if Grabbed == true then
- WhoTfDidYouGrab.Humanoid.PlatformStand = true
- GGyro.position = sref.Position
- GGyro.Parent = WhoTfDidYouGrab.Torso
- WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
- end
- --PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(5), 0.3, false)
- end
- end
- WhoTfDidYouGrab.Humanoid.PlatformStand = false
- end
- GGyro.Parent = nil
- attack = false
- Grabbed = false
- end
- local oys_teroomi = {"159882481","159882445","159882578","160212585"}
- function ORA()
- attack = true
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(1), 0.3, false)
- end
- CFuncs.Sound.Create(oys_teroomi[math.random(1,#oys_teroomi)], HitboxR, 1, 1)
- local GGyro = Instance.new("BodyPosition")
- local WhoTfDidYouGrab
- for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 15)) do
- if v:FindFirstChild("Torso") then
- Grabbed = true
- CFuncs.Sound.Create("260430060", v.Torso, 1, 0.8)
- WhoTfDidYouGrab = v
- end
- end
- for i = 0, 1, 0.1 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 4, 4, 4)
- if Grabbed == true then
- WhoTfDidYouGrab.Humanoid.PlatformStand = true
- GGyro.position = sref.Position
- GGyro.Parent = WhoTfDidYouGrab.Torso
- WhoTfDidYouGrab.Torso.CFrame = sref.CFrame
- end
- PlayAnimationFromTable(AnimTable.RepulseEnergyB.Animation(2), 0.3, false)
- end
- if Grabbed == true then
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable(AnimTable.RepulseORA.Animation(1), 0.3, false)
- end
- local DORA = CFuncs.Sound.Create("462996531", Torso, 1, 1)
- Instance.new("DistortionSoundEffect", DORA).Level = 0.5
- for i = 1, 13 do
- RootPart.Velocity = RootPart.CFrame.lookVector * 5
- for i = 0, 1, 0.5 do
- swait()
- Effects.Elect.Create(HitboxL.CFrame, 4, 4, 4)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.15)
- PlayAnimationFromTable(AnimTable.RepulseORA.Animation(2), 0.7, false)
- end
- MagnitudeDamage(HitboxL, 5, 5, 6, 0, "Normal", "260430117", 1)
- CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 2, 2, 2, 0.15)
- RootPart.Velocity = RootPart.CFrame.lookVector * 5
- for i = 0, 1, 0.5 do
- swait()
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.2)
- PlayAnimationFromTable(AnimTable.RepulseORA.Animation(3), 0.7, false)
- end
- MagnitudeDamage(HitboxR, 5, 5, 6, 0, "Normal", "260430117", 1)
- CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 2, 2, 2, 0.2)
- end
- WhoTfDidYouGrab.Humanoid.PlatformStand = false
- end
- GGyro.Parent = nil
- attack = false
- Grabbed = false
- end
- function EnergyField()
- attack = true
- local AntiJump = Humanoid.Changed:connect(function()
- Humanoid.Jump = false
- end)
- Humanoid.WalkSpeed = 5
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(1), 0.35, false)
- end
- Humanoid.WalkSpeed = 0
- for i = 0, 1, 0.15 do
- swait()
- PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(2), 0.4, false)
- end
- local hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local eul = 0
- local donum = 0
- CFuncs.Sound.Create("300916082", Torso, 1, 1.35)
- for i = 0, 4, 0.2 do
- swait()
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.09)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 0.09)
- for i = 1, 5 do
- Effects.Elect.Create(CFrame.new(posfloor2), 20, 20, 20)
- end
- Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new(posfloor2), 5, 5, 5, 10, 0, 10, 0.063)
- if donum >= 15 then
- donum = 0
- local ref2 = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- ref2.Anchored = true
- ref2.CFrame = CFrame.new(posfloor2)
- game:GetService("Debris"):AddItem(ref2, 1)
- end
- eul = eul + 0.2
- donum = donum + 1
- end
- for i = 1, 50 do
- Effects.Elect.Create(CFrame.new(posfloor2), 10, 10, 10)
- end
- MagnitudeDamage(Torso, 20, 15, 18, math.random(1, 3), "Up", "161006093", 0.8)
- CFuncs.Sound.Create("161006182", Torso, 1, 0.7)
- CFuncs.Sound.Create("300916105", Torso, 0.5, 1.1)
- CFuncs.Sound.Create("324867021", Torso, 1, 0.9)
- Effects.Block.Create(BrickColor.new("Mid gray"), CFrame.new(posfloor2), 5, 5, 5, 6, 6, 6, 0.05, 1)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new(posfloor2), 6, 6, 6, 10, 10, 10, 0.05)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxL.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.045)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.045)
- Effects.Cylinder.Create(BrickColor.new("Really black"), CFrame.new(posfloor2), 45, 100000, 45, 3, 0, 3, 0.03)
- Humanoid.WalkSpeed = 20
- AntiJump:disconnect()
- attack = false
- 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 TrueAim(aim, mainaim)
- -- is this my life now :>
- local target, distance = findNearestTorso(Mouse.Hit.p)
- local tehcf = mainaim
- if aim ~= nil then
- tehcf = aim
- end
- table.insert(Effects, {
- tehcf,
- "Shoot",
- 20,
- HitboxR.Position,
- 1,
- 5,
- 0,
- 3,
- HitboxR,
- target
- })
- end
- warn(string.reverse("suinecS yb dexiF"))
- function FireProjectiles()
- attack = true
- for i = 0, 1, 0.2 do
- swait()
- PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(1), 0.35, false)
- end
- Humanoid.WalkSpeed = 0
- for i = 0, 1, 0.15 do
- swait()
- PlayAnimationFromTable(AnimTable.RepulseEnergyF.Animation(2), 0.4, false)
- end
- CFuncs.Sound.Create("300915902", HitboxR, 1, 0.8)
- local hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
- local magi = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
- local msh = CFuncs.Mesh.Create("BlockMesh",magi,"","",Vector3.new(0, 0, 0), Vector3.new(1,1.6754,1))
- local dec = Instance.new('Decal',magi) dec.Texture = "http://www.roblox.com/asset/?id=342201299" dec.Face="Top" dec.Color3=Color3.new(255,255,255)
- local decc = dec:clone() decc.Face="Bottom"
- magi.Anchored = true
- magi.CFrame = CFrame.new(posfloor2)
- for i = 1, 50 do
- swait()
- msh.Scale = msh.Scale:lerp(Vector3.new(120,0,120),.05)
- if i % 3 == 0 then
- Effects.Wave.Create(BrickColor.new('White'), magi.CFrame, 5, 5, 5, 1, 0, 1, 0.1)
- end
- end
- for i = 0, 1, 0.08 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 2, 2, 2)
- PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(1), 0.3, false)
- end
- for i = 0, 1, 0.08 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
- Effects.Block.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
- PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(2), 0.2, false)
- end
- for i = 1, 3 do
- for i = 0, 1, 0.15 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
- PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(3), 0.3, false)
- end
- Effects.Wave.Create(BrickColor.new('Really black'), magi.CFrame, 35, 15, 35, -2, -1, -2, 0.05)
- CFuncs.Sound.Create("300916105", HitboxR, 1, 1.2)
- CFuncs.Sound.Create("300916014", HitboxR, 1, 1)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 2, 2, 2, 0.07)
- local MouseLook = CFrame.new((magi.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
- TrueAim(MouseLook.lookVector,MouseLook.lookVector)
- for i = 0, 1, 0.15 do
- swait()
- Effects.Elect.Create(HitboxR.CFrame, 3, 3, 3)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
- PlayAnimationFromTable(AnimTable.RepulseShoot.Animation(4), 0.3, false)
- end
- end
- Humanoid.WalkSpeed = 20
- attack = false
- for i = 0, 1, 0.05 do
- swait()
- dec.Transparency=i
- decc.Transparency=i
- end
- dec.Transparency=1
- decc.Transparency=1
- game:GetService("Debris"):AddItem(magi,1)
- 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 == "v" then --and cooldown4 >= co4 then
- cooldown4 = 0
- EnergyBurst()
- elseif attack == false and k == "x" then --and cooldown2 >= co2 then
- cooldown2 = 0
- ORA()
- elseif attack == false and k == "c" then --and cooldown3 >= co3 then
- cooldown3 = 0
- EnergyField()
- elseif attack == false and k == "z" then --and cooldown1 >= co1 then
- cooldown1 = 0
- FireProjectiles()
- end
- end)
- function updateskills()
- if cooldown1 <= co1 then
- cooldown1 = cooldown1 + 0.03333333333333333
- end
- if cooldown2 <= co2 then
- cooldown2 = cooldown2 + 0.03333333333333333
- end
- if cooldown3 <= co3 then
- cooldown3 = cooldown3 + 0.03333333333333333
- end
- if cooldown4 <= co4 then
- cooldown4 = cooldown4 + 0.03333333333333333
- end
- end
- while true do
- swait()
- 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)
- sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- for i, v in pairs(Character:GetChildren()) do
- if v:IsA("Part") then
- v.Material = "SmoothPlastic"
- elseif v:IsA("Accessory") then
- v:WaitForChild("Handle").Material = "SmoothPlastic"
- end
- end
- --Walk.Torso = CFrame.new(0, -0.240412444, -0.288435698, 0.996922016, 0, 0.0783994719, -0.0331330225, 0.906307876, 0.42131713, 0 + 0.5 * math.cos((sine) / 4), -0.422617942, 0.90351826 )
- --Walk.RH = CFrame.new(0.5, -1.85 - 0.5 * math.cos((sine) / 4) / 2, 0 + 3 * math.sin((sine) / 4) / 2) * CFrame.Angles(math.rad(-80 * math.sin((sine) / 4)), math.rad(-3), math.rad(0))
- --Walk.LH = CFrame.new(-0.5, -1.85 + 0.5 * math.cos((sine) / 4) / 2, 0 - 3 * math.sin((sine) / 4) / 2) * CFrame.Angles(math.rad(80 * math.sin((sine) / 4)), math.rad(3), math.rad(0))
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil then
- Anim = "Jump"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392E-7, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil then
- Anim = "Fall"
- if attack == false then
- PlayAnimationFromTable({
- CFrame.new(0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- }, 0.3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil then
- Anim = "Idle"
- if attack == false then
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0.0392251611, -0.399999946, -0.0661237091, 0.76604414, 0, 0.642788053, 0, 1, 0, -0.642788053, 0, 0.76604414) * CFrame.new(0, 0- 0.1 * math.cos((sine) / 6), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(3.20374966e-007, 1.49998975, -3.20374966e-007, 0.76604712, 0.0560228042, -0.640339732, 2.79222441e-008, 0.996194661, 0.0871557072, 0.642792821, -0.0667651594, 0.763125181) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.579222202, 0.891285896, -1.05190825, 0.561522603, 0.723551512, -0.401454747, 0.120765731, -0.551630616, -0.82529974, -0.818601489, 0.414942414, -0.397133231) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-1.61124444, 0.263379157, 0.32901755, 0.847116113, 0.408216923, 0.340225905, -0.468929023, 0.875426173, 0.117197424, -0.250000656, -0.258821666, 0.933012128) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(0.771941304, -1.88623738, -0.0557135344, 0.816501081, -0.0616285168, -0.574043393, 0.0858317688, 0.996194422, 0.0151345003, 0.57092613, -0.0616286062, 0.818683982) * CFrame.new(0, 0+ 0.1 * math.cos((sine) / 6), 0) * CFrame.Angles(0, 0, 0),
- CFrame.new(-0.699491143, -1.88838339, 0.0179257095, 0.903779387, 0.0983075202, -0.416555703, -0.0818995386, 0.995001972, 0.0571281463, 0.420089871, -0.0175155103, 0.907313585) * CFrame.new(0, 0+ 0.1 * math.cos((sine) / 6), 0) * CFrame.Angles(0, 0, 0),
- }, .3, false)
- end
- elseif Torsovelocity > 2 and hit ~= nil then
- Anim = "Walk"
- if attack == false then
- change = 2
- PlayAnimationFromTable(AnimTable.RepWALK.Animation(1, sine), 0.3, false)
- 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 = 5
- local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
- 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.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
- 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
- MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
- ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
- ref.Anchored = true
- ref.CFrame = CFrame.new(pos)
- Effects.Block.Create(BrickColor.new("Mid gray"), CFrame.new(pos), 1, 1, 1, 3, 3, 3, 0.012)
- Effects.Sphere.Create(BrickColor.new("Mid gray"), CFrame.new(pos), 5, 5, 5, 3, 3, 3, 0.01)
- 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] == "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
- Thing[1].Size = Thing[1].Size + 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