SHOW:
|
|
- or go back to the newest paste.
| 1 | Effects = {} --sound effects, for advanced players.
| |
| 2 | local Player = game.Players.localPlayer | |
| 3 | local Character = Player.Character | |
| 4 | local Humanoid = Character.Humanoid | |
| 5 | z = Instance.new("Sound", Character)
| |
| 6 | z.SoundId = "rbxassetid://319430400"-- | |
| 7 | z.Looped = true --False for a one-time song. | |
| 8 | z.Pitch = 1.0 | |
| 9 | z.Volume = 1.6 | |
| 10 | wait(.1) | |
| 11 | z:Play() | |
| 12 | ------------------------ | |
| 13 | game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"Omega Rigormortis by basstracker1970 pastebin is memberhero", "Green") | |
| 14 | Meshes = {Blast = "20329976", Crown = "1323306", Ring = "3270017", Claw = "10681506", Crystal = "9756362", Coil = "9753878", Cloud = "1095708"}
| |
| 15 | clangsounds = {"199149119", "199149109", "199149072", "199149025", "199148971"}
| |
| 16 | hitsounds = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
| |
| 17 | blocksounds = {"199148933", "199148947"}
| |
| 18 | armorsounds = {"199149321", "199149338", "199149367", "199149409", "199149452"}
| |
| 19 | woosh = {Heavy1 = "320557353", Heavy2 = "320557382", Heavy3 = "320557453", Heavy4 = "199144226", Heavy5 = "203691447", Heavy6 = "203691467", Heavy7 = "203691492", Light1 = "320557413", Light2 = "320557487", Light3 = "199145095", Light4 = "199145146", Light5 = "199145887", Light6 = "199145913", Light7 = "199145841", Medium1 = "320557518", Medium2 = "320557537", Medium3 = "320557563", Medium4 = "199145204"}
| |
| 20 | music = {Breaking = "179281636", FinalReckoning = "357375770", NotDeadYet = "346175829", Intense = "151514610", JumpP1 = "160536628", JumpP2 = "60536666", SonsOfWar = "158929777", WrathOfSea = "165520893", ProtectorsOfEarth = "160542922", SkyTitans = "179282324", ArchAngel = "144043274", Anticipation = "168614529", TheMartyred = "186849544", AwakeP1 = "335631255", AwakeP2 = "335631297", ReadyAimFireP1 = "342455387", ReadyAimFireP2 = "342455399", DarkLordP1 = "209567483", DarkLordP2 = "209567529", BloodDrainP1 = "162914123", BloodDrainP2 = "162914203", DanceOfSwords = "320473062", Opal = "286415112", Calamity = "190454307", Hypnotica = "155968128", Nemisis = "160453802", Breathe = "276963903", GateToTheRift = "270655227", InfernalBeserking = "244143404", Trust = "246184492", AwakeningTheProject = "245121821", BloodPain = "242545577", Chaos = "247241693", NightmareFictionHighStake = "248062278", TheWhiteWeapon = "247236446", Gale = "256851659", ImperialCode = "256848383", Blitzkrieg = "306431437", RhapsodyRage = "348690251", TheGodFist = "348541501", BattleForSoul = "321185592", TheDarkColossus = "305976780", EmpireOfAngels = "302580452", Kronos = "302205297", Exorcist = "299796054", CrimsonFlames = "297799220", UltimatePower = "295753229", DrivingInTheDark = "295753229", AscendToPower = "293860654", GodOfTheSun = "293612495", DarkRider = "293861765", Vengeance = "293375555", SoundOfWar = "293376196", HellsCrusaders = "293012202", Legend = "293011823", RisingSouls = "290524959"}
| |
| 21 | misc = {GroundSlam = "199145477", LaserSlash = "199145497", RailGunFire = "199145534", Charge1 = "199145659", Charge2 = "169380469", Charge3 = "169380479", EmptyGun = "203691822", GunShoot = "203691837", Stomp1 = "200632875", Stomp2 = "200632561", TelsaCannonCharge = "169445572", TelsaCannonShoot = "169445602", AncientHymm = "245313442"}
| |
| 22 | Player = game.Players.LocalPlayer | |
| 23 | Character = Player.Character | |
| 24 | PlayerGui = Player.PlayerGui | |
| 25 | Backpack = Player.Backpack | |
| 26 | Torso = Character.Torso | |
| 27 | Head = Character.Head | |
| 28 | Humanoid = Character.Humanoid | |
| 29 | LeftArm = Character["Left Arm"] | |
| 30 | LeftLeg = Character["Left Leg"] | |
| 31 | RightArm = Character["Right Arm"] | |
| 32 | RightLeg = Character["Right Leg"] | |
| 33 | LS = Torso["Left Shoulder"] | |
| 34 | LH = Torso["Left Hip"] | |
| 35 | RS = Torso["Right Shoulder"] | |
| 36 | RH = Torso["Right Hip"] | |
| 37 | Face = Head.face | |
| 38 | Neck = Torso.Neck | |
| 39 | it = Instance.new | |
| 40 | attacktype = 1 | |
| 41 | vt = Vector3.new | |
| 42 | cf = CFrame.new | |
| 43 | euler = CFrame.fromEulerAnglesXYZ | |
| 44 | angles = CFrame.Angles | |
| 45 | cloaked = false | |
| 46 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 47 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 48 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 49 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 50 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 51 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 52 | RootPart = Character.HumanoidRootPart | |
| 53 | RootJoint = RootPart.RootJoint | |
| 54 | RootCF = euler(-1.57, 0, 3.14) | |
| 55 | attack = false | |
| 56 | attackdebounce = false | |
| 57 | deb = false | |
| 58 | equipped = true | |
| 59 | hand = false | |
| 60 | MMouse = nil | |
| 61 | combo = 0 | |
| 62 | mana = 0 | |
| 63 | trispeed = 0.2 | |
| 64 | attackmode = "none" | |
| 65 | local idle = 0 | |
| 66 | local Anim = "Idle" | |
| 67 | local gun = false | |
| 68 | local shoot = false | |
| 69 | player = nil | |
| 70 | mana = 0 | |
| 71 | mouse = Player:GetMouse() | |
| 72 | RSH = nil | |
| 73 | RW = Instance.new("Weld")
| |
| 74 | LW = Instance.new("Weld")
| |
| 75 | RH = Torso["Right Hip"] | |
| 76 | LH = Torso["Left Hip"] | |
| 77 | RSH = Torso["Right Shoulder"] | |
| 78 | LSH = Torso["Left Shoulder"] | |
| 79 | TorsoColor = Torso.BrickColor | |
| 80 | Colorpart1 = Torso.BrickColor.r | |
| 81 | Colorpart2 = Torso.BrickColor.g | |
| 82 | Colorpart3 = Torso.BrickColor.b | |
| 83 | NoOutline = function(Part) | |
| 84 | Part.TopSurface = 10 | |
| 85 | end | |
| 86 | ||
| 87 | player = Player | |
| 88 | ch = Character | |
| 89 | RSH = ch.Torso["Right Shoulder"] | |
| 90 | LSH = ch.Torso["Left Shoulder"] | |
| 91 | RSH.Parent = nil | |
| 92 | LSH.Parent = nil | |
| 93 | RW.Name = "Right Shoulder" | |
| 94 | RW.Part0 = ch.Torso | |
| 95 | RW.C0 = cf(1.5, 0.5, 0) | |
| 96 | RW.C1 = cf(0, 0.5, 0) | |
| 97 | RW.Part1 = ch["Right Arm"] | |
| 98 | RW.Parent = ch.Torso | |
| 99 | LW.Name = "Left Shoulder" | |
| 100 | LW.Part0 = ch.Torso | |
| 101 | LW.C0 = cf(-1.5, 0.5, 0) | |
| 102 | LW.C1 = cf(0, 0.5, 0) | |
| 103 | LW.Part1 = ch["Left Arm"] | |
| 104 | LW.Parent = ch.Torso | |
| 105 | Player = game:GetService("Players").LocalPlayer
| |
| 106 | Character = Player.Character | |
| 107 | Mouse = Player:GetMouse() | |
| 108 | local weldBetween = function(a, b) | |
| 109 | local weldd = Instance.new("ManualWeld")
| |
| 110 | weldd.Part0 = a | |
| 111 | weldd.Part1 = b | |
| 112 | weldd.C0 = CFrame.new() | |
| 113 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 114 | weldd.Parent = a | |
| 115 | return weldd | |
| 116 | end | |
| 117 | ||
| 118 | fat = Instance.new("BindableEvent", script)
| |
| 119 | fat.Name = "Heartbeat" | |
| 120 | script:WaitForChild("Heartbeat")
| |
| 121 | frame = 0.033333333333333 | |
| 122 | tf = 0 | |
| 123 | allowframeloss = false | |
| 124 | tossremainder = false | |
| 125 | lastframe = tick() | |
| 126 | script.Heartbeat:Fire() | |
| 127 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 128 | tf = tf + s | |
| 129 | if frame <= tf then | |
| 130 | if allowframeloss then | |
| 131 | script.Heartbeat:Fire() | |
| 132 | lastframe = tick() | |
| 133 | else | |
| 134 | for i = 1, math.floor(tf / frame) do | |
| 135 | script.Heartbeat:Fire() | |
| 136 | end | |
| 137 | lastframe = tick() | |
| 138 | end | |
| 139 | if tossremainder then | |
| 140 | tf = 0 | |
| 141 | else | |
| 142 | tf = tf - frame * math.floor(tf / frame) | |
| 143 | end | |
| 144 | end | |
| 145 | end | |
| 146 | ) | |
| 147 | nooutline = function(part) | |
| 148 | part.TopSurface = 10 | |
| 149 | end | |
| 150 | ||
| 151 | part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
| 152 | local fp = it("Part")
| |
| 153 | fp.formFactor = formfactor | |
| 154 | fp.Parent = parent | |
| 155 | fp.Reflectance = reflectance | |
| 156 | fp.Transparency = transparency | |
| 157 | fp.CanCollide = false | |
| 158 | fp.Locked = true | |
| 159 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
| 160 | fp.Name = name | |
| 161 | fp.Size = size | |
| 162 | fp.Position = Character.Torso.Position | |
| 163 | nooutline(fp) | |
| 164 | fp.Material = material | |
| 165 | fp:BreakJoints() | |
| 166 | return fp | |
| 167 | end | |
| 168 | ||
| 169 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
| 170 | local mesh = it(Mesh) | |
| 171 | mesh.Parent = part | |
| 172 | if Mesh == "SpecialMesh" then | |
| 173 | mesh.MeshType = meshtype | |
| 174 | mesh.MeshId = meshid | |
| 175 | end | |
| 176 | mesh.Offset = offset | |
| 177 | mesh.Scale = scale | |
| 178 | return mesh | |
| 179 | end | |
| 180 | ||
| 181 | weld = function(parent, part0, part1, c0, c1) | |
| 182 | local weld = it("Weld")
| |
| 183 | weld.Parent = parent | |
| 184 | weld.Part0 = part0 | |
| 185 | weld.Part1 = part1 | |
| 186 | weld.C0 = c0 | |
| 187 | weld.C1 = c1 | |
| 188 | return weld | |
| 189 | end | |
| 190 | ||
| 191 | local m = Instance.new("Model", RightArm)
| |
| 192 | m.Name = "Rigormortis\' Right Glove" | |
| 193 | GloveHandle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 194 | GloveHandleweld = weld(m, Character["Right Arm"], GloveHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.1920929e-005, 0.000109910965, 0.00443553925, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)) | |
| 195 | mesh("SpecialMesh", GloveHandle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.5, 5.25, 5.5))
| |
| 196 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 197 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.620000124, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 198 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.5, 1, 5.5))
| |
| 199 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 200 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.869999886, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 201 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.5, 1.5, 5.5))
| |
| 202 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 203 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.0184423923, 0.00541090965, 1, 0, 0, 0, 0.258819193, -0.965925813, 0, 0.965925813, 0.258819193)) | |
| 204 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 205 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 206 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00707101822, 0.00707101822, 0.465586424, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769, 0, 0, 0, 1)) | |
| 207 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 208 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 209 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999999046, 0, 0.465586424, 0, 0.99999994, 0, -0.99999994, 0, 0, 0, 0, 1)) | |
| 210 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 211 | GloveEyePart = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Really red", "GloveEyePart", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 212 | GloveEyePartweld = weld(m, GloveHandle, GloveEyePart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 1.00999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 213 | GloveEyePartmesh = mesh("SpecialMesh", GloveEyePart, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 4))
| |
| 214 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 215 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.0192146301, 0.000453591347, 1, 0, 0, 0, 0.50000006, -0.866025388, 0, 0.866025388, 0.50000006)) | |
| 216 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 217 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 218 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.00999999046, 0.465586424, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 219 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 220 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 221 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549413562, 0.00707125664, 0.00707101822, 1.3767874e-007, -6.21808951e-008, -1, -0.70710659, 0.707106948, -1.4132209e-007, 0.707106948, 0.70710659, 5.33850653e-008)) | |
| 222 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 223 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 224 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.0186772346, -0.004535079, 1, 0, 0, 0, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829)) | |
| 225 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 226 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 227 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549413681, 0.00999999046, 0, -4.37113883e-008, -9.70964606e-008, -1, 0, 1, -9.70964606e-008, 1, -4.24422121e-015, -4.37113883e-008)) | |
| 228 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 0.75, 0.25))
| |
| 229 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 230 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.00921452045, 0.0168669224, 1, 0, 0, 0, -0.499999851, -0.866025507, 0, 0.866025507, -0.499999851)) | |
| 231 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 232 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 233 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.0132659674, 0.0139074326, 1, 0, 0, 0, -0.258818924, -0.965925872, 0, 0.965925872, -0.258818924)) | |
| 234 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 235 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 236 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.0168671608, -0.00921428204, 1, 0, 0, 0, 0.866025448, -0.499999911, 0, 0.499999911, 0.866025448)) | |
| 237 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 238 | LaserReferencePart = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Really black", "LaserReferencePart", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 239 | LaserReferencePartweld = weld(m, GloveHandle, LaserReferencePart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.980000019, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1)) | |
| 240 | mesh("SpecialMesh", LaserReferencePart, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 4, 4))
| |
| 241 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 242 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.974999905, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1)) | |
| 243 | mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 5, 5))
| |
| 244 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 245 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549413681, 0.00707101822, -0.00707149506, -3.09086268e-008, -1.0640651e-007, -1, 0.707106948, 0.70710659, -9.70964535e-008, 0.70710659, -0.707106948, 5.33850901e-008)) | |
| 246 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 247 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 248 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549413562, 1.1920929e-007, 0.00999999046, 7.54979013e-008, 7.54978799e-008, -1, -1, 2.68220901e-007, -7.54978799e-008, 2.68220901e-007, 1, 7.54979013e-008)) | |
| 249 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 0.75, 0.25))
| |
| 250 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 251 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00707101822, 0.00707101822, 0.465586424, 0.707106709, -0.707106829, 0, 0.707106829, 0.707106709, 0, 0, 0, 1)) | |
| 252 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 253 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 254 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.0164134502, 0.00999999046, 1, 0, 0, 0, 7.54979013e-008, -1, 0, 1, 7.54979013e-008)) | |
| 255 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 256 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 257 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, -0.00453495979, -0.0186769962, 1, 0, 0, 0, 0.707106709, 0.707106888, 0, -0.707106888, 0.707106709)) | |
| 258 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 259 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 260 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.000453591347, -0.0192143917, 1, 0, 0, 0, 0.866025329, 0.500000119, 0, -0.500000119, 0.866025329)) | |
| 261 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 262 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 263 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.00541114807, -0.0184421539, 1, 0, 0, 0, 0.965925813, 0.258819163, 0, -0.258819163, 0.965925813)) | |
| 264 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 265 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 266 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.00999999046, -0.0164134502, 1, 0, 0, 0, 1, 1.34110465e-007, 0, -1.34110465e-007, 1)) | |
| 267 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 268 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 269 | Partweld = weld(m, GloveHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.549999952, 0.0139074326, -0.0132658482, 1, 0, 0, 0, 0.965925872, -0.258818865, 0, 0.258818865, 0.965925872)) | |
| 270 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 271 | Finger1Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 272 | Finger1Handleweld = weld(m, Character["Right Arm"], Finger1Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.138371706, 1.14493585, -0.395564556, 0.965925813, 0.258819014, 0, -0.258819044, 0.965925694, 0, 0, 0, 1)) | |
| 273 | mesh("SpecialMesh", Finger1Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 274 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 275 | Partweld = weld(m, Finger1Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103527784, 0.38637054, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1)) | |
| 276 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 277 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 278 | Partweld = weld(m, Finger1Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0249999762, 0.200000167, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813, 0, 0, 0, 1)) | |
| 279 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 280 | Glove1Finger1ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove1Finger1ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 281 | Glove1Finger1ClawFingerweld = weld(m, Finger1Handle, Glove1Finger1ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103747845, 0.500191927, -0.00441360474, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1)) | |
| 282 | mesh("SpecialMesh", Glove1Finger1ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 283 | Finger2Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 284 | Finger2Handleweld = weld(m, Character["Right Arm"], Finger2Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.138371706, 1.14493585, 0.00143527985, 0.965925813, 0.258819014, 0, -0.258819044, 0.965925694, 0, 0, 0, 1)) | |
| 285 | mesh("SpecialMesh", Finger2Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 286 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 287 | Partweld = weld(m, Finger2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0249999762, 0.200000167, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813, 0, 0, 0, 1)) | |
| 288 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 289 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 290 | Partweld = weld(m, Finger2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103527784, 0.38637054, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1)) | |
| 291 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 292 | Glove1Finger2ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove1Finger2ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 293 | Glove1Finger2ClawFingerweld = weld(m, Finger2Handle, Glove1Finger2ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103527784, 0.499370575, -0.00141334534, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1)) | |
| 294 | mesh("SpecialMesh", Glove1Finger2ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 295 | Finger3Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 296 | Finger3Handleweld = weld(m, Character["Right Arm"], Finger3Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.138371706, 1.14493585, 0.403035164, 0.965925813, 0.258819014, 0, -0.258819044, 0.965925694, 0, 0, 0, 1)) | |
| 297 | mesh("SpecialMesh", Finger3Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 298 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 299 | Partweld = weld(m, Finger3Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103527784, 0.38637054, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1)) | |
| 300 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 301 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 302 | Partweld = weld(m, Finger3Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0249999762, 0.200000167, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813, 0, 0, 0, 1)) | |
| 303 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 304 | Glove1Finger3ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove1Finger3ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 305 | Glove1Finger3ClawFingerweld = weld(m, Finger3Handle, Glove1Finger3ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103527784, 0.499370575, 0, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1)) | |
| 306 | mesh("SpecialMesh", Glove1Finger3ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 307 | Finger4Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 308 | Finger4Handleweld = weld(m, Character["Right Arm"], Finger4Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.145614386, 1.14687657, -0.40422225, -0.965925813, 0.258819103, 4.72798973e-008, 0.258819133, 0.965925694, -1.68990979e-007, -8.94069672e-008, -1.50995788e-007, -1)) | |
| 309 | mesh("SpecialMesh", Finger4Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 310 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 311 | Partweld = weld(m, Finger4Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103527784, 0.38637042, 0, 0.866025329, -0.500000179, 0, 0.500000179, 0.866025329, 0, 0, 0, 1)) | |
| 312 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 313 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 314 | Partweld = weld(m, Finger4Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0249997377, 0.200000048, 0, 0.965925753, -0.258819282, 0, 0.258819282, 0.965925753, 0, 0, 0, 1)) | |
| 315 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 316 | Glove1Finger4ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove4Finger1ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 317 | Glove1Finger4ClawFingerweld = weld(m, Finger4Handle, Glove1Finger4ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.134217024, 0.491147041, -0.00118684769, -0.866025329, 0.500000119, -1.2544109e-007, 0.500000119, 0.866025329, -1.22710517e-007, 4.72798973e-008, -1.68990979e-007, -1)) | |
| 318 | mesh("SpecialMesh", Glove1Finger4ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 319 | local m2 = Instance.new("Model", Head)
| |
| 320 | m2.Name = "Rigormortis\' Hood" | |
| 321 | HoodHandle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Really black", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 322 | HoodHandleweld = weld(m, Character.Head, HoodHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.1920929e-005, -0.0898900032, 2.19345093e-005, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 323 | mesh("SpecialMesh", HoodHandle, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=64560031", Vector3.new(0, 0, 0), Vector3.new(1.10000002, 1.10000002, 1.10000002))
| |
| 324 | Hoodpart2 = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Hoodpart2", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 325 | Hoodpart2weld = weld(m, HoodHandle, Hoodpart2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, -0.0299999714, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 326 | mesh("SpecialMesh", Hoodpart2, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=64560031", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 1.20000005, 1.10000002))
| |
| 327 | Eye1 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Really red", "Eye1", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 328 | Eye1weld = weld(m, HoodHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.200000048, 0, 0.619999886, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 329 | Eye1mesh = mesh("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 2, 1))
| |
| 330 | Eye2 = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Really red", "Eye2", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 331 | Eye2weld = weld(m, HoodHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200000048, 0.064807415, 0.616603374, 1, 0, 0, 0, 0.994521916, 0.104528464, 0, -0.104528464, 0.994521916)) | |
| 332 | Eye2mesh = mesh("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 2, 1))
| |
| 333 | local m3 = Instance.new("Model", LeftArm)
| |
| 334 | m3.Name = "Rigormortis\' Left Glove" | |
| 335 | Glove2Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 336 | Glove2Handleweld = weld(m, Character["Left Arm"], Glove2Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.21593475e-005, 0.000111103058, 0.00443267822, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)) | |
| 337 | mesh("SpecialMesh", Glove2Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.5, 5.25, 5.5))
| |
| 338 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 339 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.620001078, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 340 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.5, 1, 5.5))
| |
| 341 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 342 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.870001078, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 343 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.5, 1.5, 5.5))
| |
| 344 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 345 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.0184402466, 0.00540876389, 1, 0, 0, 0, 0.258819193, -0.965925813, 0, 0.965925813, 0.258819193)) | |
| 346 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 347 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 348 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00706958771, 0.00706958771, 0.465587616, 0.707106769, 0.707106769, 0, -0.707106769, 0.707106769, 0, 0, 0, 1)) | |
| 349 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 350 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 351 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999808311, 0, 0.465587616, 0, 0.99999994, 0, -0.99999994, 0, 0, 0, 0, 1)) | |
| 352 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 353 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Really red", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 354 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 1.00999808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 355 | mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 4))
| |
| 356 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 357 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.0192146301, 0.000451087952, 1, 0, 0, 0, 0.50000006, -0.866025388, 0, 0.866025388, 0.50000006)) | |
| 358 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 359 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 360 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.00999808311, 0.465587616, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 361 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 362 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 363 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549407959, 0.00706958771, 0.00706955791, 1.3767874e-007, -6.21808951e-008, -1, -0.70710659, 0.707106948, -1.4132209e-007, 0.707106948, 0.70710659, 5.33850653e-008)) | |
| 364 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 365 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 366 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.0186767578, -0.00453662872, 1, 0, 0, 0, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829)) | |
| 367 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 368 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 369 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549407959, 0.00999832153, 0, -4.37113883e-008, -9.70964606e-008, -1, 0, 1, -9.70964606e-008, 1, -4.24422121e-015, -4.37113883e-008)) | |
| 370 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 0.75, 0.25))
| |
| 371 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 372 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.00921630859, 0.016866684, 1, 0, 0, 0, -0.499999851, -0.866025507, 0, 0.866025507, -0.499999851)) | |
| 373 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 374 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 375 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.0132675171, 0.0139055252, 1, 0, 0, 0, -0.258818924, -0.965925872, 0, 0.965925872, -0.258818924)) | |
| 376 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 377 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 378 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.016866684, -0.00921630859, 1, 0, 0, 0, 0.866025448, -0.499999911, 0, 0.499999911, 0.866025448)) | |
| 379 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 380 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 381 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.979999065, -2.38418579e-007, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1)) | |
| 382 | mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 4, 4))
| |
| 383 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Dark stone grey", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 384 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.974999905, -2.38418579e-007, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008, 0, 0, 0, 1)) | |
| 385 | mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 5, 5))
| |
| 386 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 387 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549407959, 0.00706964731, -0.00706958771, -3.09086268e-008, -1.0640651e-007, -1, 0.707106948, 0.70710659, -9.70964535e-008, 0.70710659, -0.707106948, 5.33850901e-008)) | |
| 388 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 389 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 390 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.549407959, 0, 0.00999808311, 7.54979013e-008, 7.54978799e-008, -1, -1, 2.68220901e-007, -7.54978799e-008, 2.68220901e-007, 1, 7.54979013e-008)) | |
| 391 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 0.75, 0.25))
| |
| 392 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0.25, 0, "Br. yellowish orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 393 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00706958771, 0.00706982613, 0.465587616, 0.707106709, -0.707106829, 0, 0.707106829, 0.707106709, 0, 0, 0, 1)) | |
| 394 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1, 5, 1))
| |
| 395 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 396 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.0164146423, 0.00999808311, 1, 0, 0, 0, 7.54979013e-008, -1, 0, 1, 7.54979013e-008)) | |
| 397 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 398 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 399 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, -0.00453662872, -0.0186767578, 1, 0, 0, 0, 0.707106709, 0.707106888, 0, -0.707106888, 0.707106709)) | |
| 400 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 401 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 402 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.000451087952, -0.0192146301, 1, 0, 0, 0, 0.866025329, 0.500000119, 0, -0.500000119, 0.866025329)) | |
| 403 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 404 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 405 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.00540876389, -0.0184402466, 1, 0, 0, 0, 0.965925813, 0.258819163, 0, -0.258819163, 0.965925813)) | |
| 406 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 407 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 408 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.00999808311, -0.0164146423, 1, 0, 0, 0, 1, 1.34110465e-007, 0, -1.34110465e-007, 1)) | |
| 409 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 410 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, "Bright orange", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 411 | Partweld = weld(m, Glove2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.550000191, 0.0139064789, -0.0132675171, 1, 0, 0, 0, 0.965925872, -0.258818865, 0, 0.258818865, 0.965925872)) | |
| 412 | mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 1, 0.25))
| |
| 413 | Glove2Finger1Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 414 | Glove2Finger1Handleweld = weld(m, Character["Left Arm"], Glove2Finger1Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149578571, 1.14794111, 0.398792267, -0.965925813, 0.258819133, 0, 0.258819163, 0.965925694, 7.4505806e-008, 1.92835312e-008, 7.19670723e-008, -1)) | |
| 415 | mesh("SpecialMesh", Glove2Finger1Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 416 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 417 | Partweld = weld(m, Glove2Finger1Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103526592, 0.386366367, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1)) | |
| 418 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 419 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 420 | Partweld = weld(m, Glove2Finger1Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0249929428, 0.199998975, 0, 0.965925813, -0.258819133, -1.92835294e-008, 0.258819133, 0.965925813, 2.79754886e-009, 1.79023978e-008, -7.6931741e-009, 1)) | |
| 421 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 422 | Glove2Finger1ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove2Finger1ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 423 | Glove2Finger1ClawFingerweld = weld(m, Glove2Finger1Handle, Glove2Finger1ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103525162, 0.49937129, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1)) | |
| 424 | mesh("SpecialMesh", Glove2Finger1ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 425 | Glove2Finger2Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 426 | Glove2Finger2Handleweld = weld(m, Character["Left Arm"], Glove2Finger2Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149578094, 1.14794099, -0.00280952454, -0.965925813, 0.258819133, 0, 0.258819163, 0.965925694, 7.4505806e-008, 1.92835312e-008, 7.19670723e-008, -1)) | |
| 427 | mesh("SpecialMesh", Glove2Finger2Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 428 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 429 | Partweld = weld(m, Glove2Finger2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0249934196, 0.199998975, 1.90734863e-006, 0.965925813, -0.258819133, -1.92835294e-008, 0.258819133, 0.965925813, 2.79754886e-009, 1.79023978e-008, -7.6931741e-009, 1)) | |
| 430 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 431 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 432 | Partweld = weld(m, Glove2Finger2Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103526592, 0.386366367, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1)) | |
| 433 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 434 | Glove2Finger2ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove2Finger2ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 435 | Glove2Finger2ClawFingerweld = weld(m, Glove2Finger2Handle, Glove2Finger2ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.10352397, 0.499371529, -0.00141334534, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1)) | |
| 436 | mesh("SpecialMesh", Glove2Finger2ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 437 | Glove2Finger3Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 438 | Glove2Finger3Handleweld = weld(m, Character["Left Arm"], Glove2Finger3Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149578094, 1.14794099, -0.399812698, -0.965925813, 0.258819133, 0, 0.258819163, 0.965925694, 7.4505806e-008, 1.92835312e-008, 7.19670723e-008, -1)) | |
| 439 | mesh("SpecialMesh", Glove2Finger3Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 440 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 441 | Partweld = weld(m, Glove2Finger3Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103526592, 0.386366367, 0, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1)) | |
| 442 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 443 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 444 | Partweld = weld(m, Glove2Finger3Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0249962807, 0.199998975, 1.90734863e-006, 0.965925813, -0.258819133, -1.92835294e-008, 0.258819133, 0.965925813, 2.79754886e-009, 1.79023978e-008, -7.6931741e-009, 1)) | |
| 445 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 446 | Glove2Finger3ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove2Finger3ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 447 | Glove2Finger3ClawFingerweld = weld(m, Glove2Finger3Handle, Glove2Finger3ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103745937, 0.500193119, -0.00440788269, 0.866025448, -0.500000119, -3.72529136e-008, 0.500000119, 0.866025329, -9.98188199e-009, 3.72529101e-008, -9.98188909e-009, 1)) | |
| 448 | mesh("SpecialMesh", Glove2Finger3ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 449 | Glove2Finger4Handle = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 450 | Glove2Finger4Handleweld = weld(m, Character["Left Arm"], Glove2Finger4Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.134407997, 1.14387655, 0.400022507, 0.965925813, 0.258819103, -8.94069672e-008, -0.258819133, 0.965925694, 2.38418579e-007, 1.48067784e-007, -2.071544e-007, 1)) | |
| 451 | mesh("SpecialMesh", Glove2Finger4Handle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 452 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 453 | Partweld = weld(m, Glove2Finger4Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103526354, 0.386366606, 0, 0.866025329, -0.500000238, 1.07231074e-007, 0.500000238, 0.866025329, 3.19420792e-008, -1.0883587e-007, 2.59529003e-008, 1)) | |
| 454 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 455 | Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 456 | Partweld = weld(m, Glove2Finger4Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.025002718, 0.199998975, 0, 0.965925753, -0.258819312, 8.84631604e-008, 0.258819312, 0.965925753, 1.30108901e-008, -8.88163285e-008, 1.03283924e-008, 1)) | |
| 457 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1.25, 1.5))
| |
| 458 | Glove2Finger4ClawFinger = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0.25, 0, TorsoColor, "Glove2Finger4ClawFinger", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 459 | Glove2Finger4ClawFingerweld = weld(m, Glove2Finger4Handle, Glove2Finger4ClawFinger, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.134222269, 0.491146207, -0.00118637085, -0.866025329, 0.500000238, -1.96638027e-007, 0.500000238, 0.866025329, -8.72672246e-008, 1.26659884e-007, -1.73894662e-007, -1)) | |
| 460 | mesh("SpecialMesh", Glove2Finger4ClawFinger, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.209999993, 0.5, 0.209999993))
| |
| 461 | coroutine.resume(coroutine.create(function(Part, Weld) | |
| 462 | while Part.Parent ~= nil do | |
| 463 | wait(5) | |
| 464 | for i = 0, 1, 0.2 do | |
| 465 | wait() | |
| 466 | Eye1mesh.Scale = Vector3.new(0.5, 2 - 1.9 * i, 1) | |
| 467 | Eye2mesh.Scale = Vector3.new(0.5, 2 - 1.9 * i, 1) | |
| 468 | end | |
| 469 | for i = 0, 1, 0.2 do | |
| 470 | wait() | |
| 471 | Eye1mesh.Scale = Vector3.new(0.5, 0.1 + 1.9 * i, 1) | |
| 472 | Eye2mesh.Scale = Vector3.new(0.5, 0.1 + 1.9 * i, 1) | |
| 473 | end | |
| 474 | end | |
| 475 | end | |
| 476 | ), Eye1, Eye1weld) | |
| 477 | for i,v in pairs(Character:GetChildren()) do | |
| 478 | if v:IsA("Model") then
| |
| 479 | for _,c in pairs(v:GetChildren()) do | |
| 480 | if c:IsA("Part") then
| |
| 481 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 482 | end | |
| 483 | end | |
| 484 | end | |
| 485 | end | |
| 486 | for i,v in pairs(Character.Head:GetChildren()) do | |
| 487 | if v.className == "BlockMesh" then | |
| 488 | v:destroy() | |
| 489 | head = Instance.new("SpecialMesh", Head)
| |
| 490 | head.MeshType = "Head" | |
| 491 | end | |
| 492 | end | |
| 493 | local CloakEffect = Instance.new("ParticleEmitter", Torso)
| |
| 494 | CloakEffect.VelocitySpread = 360 | |
| 495 | CloakEffect.Lifetime = NumberRange.new(1) | |
| 496 | CloakEffect.Speed = NumberRange.new(20) | |
| 497 | CloakEffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 1), NumberSequenceKeypoint.new(1, 0)})
| |
| 498 | CloakEffect.Enabled = false | |
| 499 | CloakEffect.RotSpeed = NumberRange.new(-360, 360) | |
| 500 | CloakEffect.Rate = 1000 | |
| 501 | CloakEffect.Rotation = NumberRange.new(-360, 360) | |
| 502 | CloakEffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 503 | CloakEffect.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3)) | |
| 504 | CloakEffect.LightEmission = 1 | |
| 505 | CloakEffect.Texture = "http://www.roblox.com/asset/?id=243664672" | |
| 506 | CloakEffectLight = Instance.new("PointLight", Torso)
| |
| 507 | CloakEffectLight.Color = Color3.new(Colorpart1, Colorpart2, Colorpart3) | |
| 508 | CloakEffectLight.Range = 10 | |
| 509 | CloakEffectLight.Brightness = 10 | |
| 510 | CloakEffectLight.Enabled = false | |
| 511 | CloakEffectLight2 = Instance.new("PointLight", Torso)
| |
| 512 | CloakEffectLight2.Color = Color3.new(Colorpart1, Colorpart2, Colorpart3) | |
| 513 | CloakEffectLight2.Range = 7.5 | |
| 514 | CloakEffectLight2.Brightness = 7.5 | |
| 515 | CloakEffectLight2.Enabled = false | |
| 516 | local CloakEffect2 = Instance.new("ParticleEmitter", Torso)
| |
| 517 | CloakEffect2.VelocitySpread = 360 | |
| 518 | CloakEffect2.Lifetime = NumberRange.new(1) | |
| 519 | CloakEffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6), NumberSequenceKeypoint.new(1, 5)})
| |
| 520 | CloakEffect2.Enabled = false | |
| 521 | CloakEffect2.RotSpeed = NumberRange.new(9000) | |
| 522 | CloakEffect2.Rate = 200 | |
| 523 | CloakEffect2.Rotation = NumberRange.new(-360, 360) | |
| 524 | CloakEffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 525 | CloakEffect2.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3)) | |
| 526 | CloakEffect2.Texture = "http://www.roblox.com/asset/?id=321556991" | |
| 527 | local TrailEffect = Instance.new("ParticleEmitter", Torso)
| |
| 528 | TrailEffect.Lifetime = NumberRange.new(1) | |
| 529 | TrailEffect.Speed = NumberRange.new(0) | |
| 530 | TrailEffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0)})
| |
| 531 | TrailEffect.Enabled = false | |
| 532 | TrailEffect.RotSpeed = NumberRange.new(-360, 360) | |
| 533 | TrailEffect.Rate = 500 | |
| 534 | TrailEffect.Rotation = NumberRange.new(-360, 360) | |
| 535 | TrailEffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0.5), NumberSequenceKeypoint.new(1, 1)})
| |
| 536 | TrailEffect.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3)) | |
| 537 | TrailEffect.LightEmission = 0.5 | |
| 538 | TrailEffect.Texture = "http://www.roblox.com/asset/?id=243728206" | |
| 539 | local GhostEffect = Instance.new("ParticleEmitter", Torso)
| |
| 540 | GhostEffect.Lifetime = NumberRange.new(0.25, 0.5) | |
| 541 | GhostEffect.Speed = NumberRange.new(12.5, 15) | |
| 542 | GhostEffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.3, 0.3), NumberSequenceKeypoint.new(1, 0, 0)})
| |
| 543 | GhostEffect.Acceleration = Vector3.new(0, 0, 0) | |
| 544 | GhostEffect.RotSpeed = NumberRange.new(9000) | |
| 545 | GhostEffect.Rate = 1000 | |
| 546 | GhostEffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0.25), NumberSequenceKeypoint.new(1, 1)})
| |
| 547 | GhostEffect.LightEmission = 0.75 | |
| 548 | GhostEffect.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(1, 1, 1)) | |
| 549 | GhostEffect.Texture = "http://www.roblox.com/asset/?id=321556991" | |
| 550 | GhostEffect.VelocitySpread = 360 | |
| 551 | GhostEffect.LockedToPart = false | |
| 552 | GhostEffect.Enabled = false | |
| 553 | local Player = game.Players.localPlayer | |
| 554 | local Character = Player.Character | |
| 555 | local Humanoid = Character.Humanoid | |
| 556 | local mouse = Player:GetMouse() | |
| 557 | local LeftArm = Character["Left Arm"] | |
| 558 | local RightArm = Character["Right Arm"] | |
| 559 | local LeftLeg = Character["Left Leg"] | |
| 560 | local RightLeg = Character["Right Leg"] | |
| 561 | local Head = Character.Head | |
| 562 | local Torso = Character.Torso | |
| 563 | local cam = game.Workspace.CurrentCamera | |
| 564 | local RootPart = Character.HumanoidRootPart | |
| 565 | local equipped = false | |
| 566 | local attack = false | |
| 567 | local Anim = "Idle" | |
| 568 | local idle = 0 | |
| 569 | local sprint = false | |
| 570 | local battlestance = false | |
| 571 | local attacktype = 1 | |
| 572 | local state = "none" | |
| 573 | local torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 574 | local velocity = RootPart.Velocity.y | |
| 575 | local sine = 0 | |
| 576 | local change = 1 | |
| 577 | local on = false | |
| 578 | local grabbed = false | |
| 579 | local skill1 = false | |
| 580 | local skill2 = false | |
| 581 | local skill3 = false | |
| 582 | local skill4 = false | |
| 583 | local cooldown1 = 0 | |
| 584 | local cooldown2 = 0 | |
| 585 | local cooldown3 = 0 | |
| 586 | local cooldown4 = 0 | |
| 587 | local co1 = 0 | |
| 588 | local co2 = 0 | |
| 589 | local co3 = 0 | |
| 590 | local co4 = 0 | |
| 591 | local inputserv = game:GetService("UserInputService")
| |
| 592 | local typing = false | |
| 593 | local crit = false | |
| 594 | local critchance = 2 | |
| 595 | local critdamageaddmin = 3 | |
| 596 | local critdamageaddmax = 7 | |
| 597 | local maxstamina = 100 | |
| 598 | local stamina = 0 | |
| 599 | local maxjumpstamina = 100 | |
| 600 | local jumpstamina = 0 | |
| 601 | local maxstealth = 100 | |
| 602 | local stealth = 0 | |
| 603 | local skill1stam = 100 | |
| 604 | local skill2stam = 100 | |
| 605 | local skill3stam = 100 | |
| 606 | local skill4stam = 100 | |
| 607 | local recovermana = 100 | |
| 608 | local recoverstealth = 5 | |
| 609 | local recoverjumpstamina = 25 | |
| 610 | local defensevalue = 1 | |
| 611 | local speedvalue = 1 | |
| 612 | local mindamage = 5 | |
| 613 | local maxdamage = 45 | |
| 614 | local damagevalue = 1 | |
| 615 | local cf = CFrame.new | |
| 616 | local mr = math.rad | |
| 617 | local angles = CFrame.Angles | |
| 618 | local ud = UDim2.new | |
| 619 | local c3 = Color3.new | |
| 620 | local skillcolorscheme = c3(1, 1, 1) | |
| 621 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 622 | makeframe = function(par, trans, pos, size, color) | |
| 623 | local frame = Instance.new("Frame", par)
| |
| 624 | frame.BackgroundTransparency = trans | |
| 625 | frame.BorderSizePixel = 0 | |
| 626 | frame.Position = pos | |
| 627 | frame.Size = size | |
| 628 | frame.BackgroundColor3 = color | |
| 629 | return frame | |
| 630 | end | |
| 631 | ||
| 632 | makelabel = function(par, text) | |
| 633 | local label = Instance.new("TextLabel", par)
| |
| 634 | label.BackgroundTransparency = 1 | |
| 635 | label.Size = ud(1, 0, 1, 0) | |
| 636 | label.Position = ud(0, 0, 0, 0) | |
| 637 | label.TextColor3 = c3(255, 255, 255) | |
| 638 | label.TextStrokeTransparency = 0 | |
| 639 | label.FontSize = Enum.FontSize.Size32 | |
| 640 | label.Font = Enum.Font.SourceSansBold | |
| 641 | label.BorderSizePixel = 0 | |
| 642 | label.TextScaled = true | |
| 643 | label.Text = text | |
| 644 | end | |
| 645 | ||
| 646 | framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme) | |
| 647 | framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme) | |
| 648 | framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme) | |
| 649 | framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme) | |
| 650 | bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 651 | bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 652 | bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 653 | bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme) | |
| 654 | text1 = makelabel(framesk1, "[C] Omega Shatter") | |
| 655 | text2 = makelabel(framesk2, "[V] Black Hole") | |
| 656 | text3 = makelabel(framesk3, "[X] Teleport") | |
| 657 | text4 = makelabel(framesk4, "[Z] Omega Lunge") | |
| 658 | staminabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(0.23921568627451, 0.67058823529412, 1)) | |
| 659 | staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.23921568627451, 0.67058823529412, 1)) | |
| 660 | staminatext = makelabel(staminabar, "Mana") | |
| 661 | stealthbar = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.26, 0, 0.03, 0), c3(0.22745098039216, 0.49019607843137, 0.082352941176471)) | |
| 662 | stealthcover = makeframe(stealthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0.7843137254902, 0)) | |
| 663 | stealthtext = makelabel(stealthbar, "Stealth") | |
| 664 | healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(1, 1, 0)) | |
| 665 | healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 0.18039215686275, 0.1921568627451)) | |
| 666 | healthtext = makelabel(healthbar, "Health") | |
| 667 | jumpstaminabar = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0.03, 0), c3(1, 0.61960784313725, 0)) | |
| 668 | jumpstaminacover = makeframe(jumpstaminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 0)) | |
| 669 | jumpstaminatext = makelabel(jumpstaminabar, "Jump Stamina") | |
| 670 | local stats = Instance.new("Folder", Character)
| |
| 671 | stats.Name = "Stats" | |
| 672 | local block = Instance.new("BoolValue", stats)
| |
| 673 | block.Name = "Block" | |
| 674 | block.Value = false | |
| 675 | local stun = Instance.new("BoolValue", stats)
| |
| 676 | stun.Name = "Stun" | |
| 677 | stun.Value = false | |
| 678 | local defense = Instance.new("NumberValue", stats)
| |
| 679 | defense.Name = "Defence" | |
| 680 | defense.Value = defensevalue | |
| 681 | local speed = Instance.new("NumberValue", stats)
| |
| 682 | speed.Name = "Speed" | |
| 683 | speed.Value = speedvalue | |
| 684 | local damagea = Instance.new("NumberValue", stats)
| |
| 685 | damagea.Name = "Damage" | |
| 686 | damagea.Value = damagevalue | |
| 687 | makeeffect = function(par, size, pos1, trans, trans1, howmuch, delay1, id, type) | |
| 688 | local p = Instance.new("Part", par or workspace)
| |
| 689 | p.CFrame = pos1 | |
| 690 | p.Anchored = true | |
| 691 | p.Material = "Plastic" | |
| 692 | p.CanCollide = false | |
| 693 | p.TopSurface = 0 | |
| 694 | p.Size = Vector3.new(1, 1, 1) | |
| 695 | p.BottomSurface = 0 | |
| 696 | p.Transparency = trans | |
| 697 | p.FormFactor = "Custom" | |
| 698 | nooutline(p) | |
| 699 | local mesh = Instance.new("SpecialMesh", p)
| |
| 700 | mesh.Scale = size | |
| 701 | if id ~= nil and type == nil then | |
| 702 | mesh.MeshId = "rbxassetid://" .. id | |
| 703 | else | |
| 704 | if id == nil and type ~= nil then | |
| 705 | mesh.MeshType = type | |
| 706 | else | |
| 707 | if id == nil and type == nil then | |
| 708 | mesh.MeshType = "Brick" | |
| 709 | end | |
| 710 | end | |
| 711 | end | |
| 712 | coroutine.wrap(function() | |
| 713 | for i = 0, delay1, 0.1 do | |
| 714 | wait(0.016666666666667) | |
| 715 | p.CFrame = p.CFrame | |
| 716 | mesh.Scale = mesh.Scale + howmuch | |
| 717 | p.Transparency = p.Transparency + trans1 | |
| 718 | end | |
| 719 | p:Destroy() | |
| 720 | end | |
| 721 | )() | |
| 722 | return p | |
| 723 | end | |
| 724 | ||
| 725 | clangy = function(cframe) | |
| 726 | wait(0.016666666666667) | |
| 727 | local clang = {}
| |
| 728 | local dis = 0 | |
| 729 | local part = Instance.new("Part", nil)
| |
| 730 | part.CFrame = cframe | |
| 731 | part.Anchored = true | |
| 732 | part.CanCollide = false | |
| 733 | part.BrickColor = BrickColor.new("New Yeller")
| |
| 734 | part.FormFactor = "Custom" | |
| 735 | part.Name = "clanger" | |
| 736 | part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 737 | part.TopSurface = 10 | |
| 738 | part.BottomSurface = 10 | |
| 739 | part.RightSurface = 10 | |
| 740 | part.LeftSurface = 10 | |
| 741 | part.BackSurface = 10 | |
| 742 | part.FrontSurface = 10 | |
| 743 | part:BreakJoints() | |
| 744 | local mesh = Instance.new("BlockMesh", part)
| |
| 745 | coroutine.wrap(function() | |
| 746 | for i = 1, 7 do | |
| 747 | do | |
| 748 | wait(0.016666666666667) | |
| 749 | dis = dis + 0.2 | |
| 750 | local partc = part:clone() | |
| 751 | partc.Parent = workspace | |
| 752 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 753 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 754 | table.insert(clang, partc) | |
| 755 | end | |
| 756 | end | |
| 757 | for i,v in pairs(clang) do | |
| 758 | coroutine.wrap(function() | |
| 759 | for i = 1, 10 do | |
| 760 | wait(0.01) | |
| 761 | v.Transparency = v.Transparency + 0.1 | |
| 762 | end | |
| 763 | v:destroy() | |
| 764 | end | |
| 765 | )() | |
| 766 | end | |
| 767 | end | |
| 768 | )() | |
| 769 | end | |
| 770 | ||
| 771 | circle = function(color, pos1) | |
| 772 | local p = Instance.new("Part", m)
| |
| 773 | p.BrickColor = BrickColor.new(color) | |
| 774 | p.CFrame = pos1 | |
| 775 | p.Anchored = true | |
| 776 | p.Material = "Plastic" | |
| 777 | p.CanCollide = false | |
| 778 | p.TopSurface = 0 | |
| 779 | p.Size = Vector3.new(1, 1, 1) | |
| 780 | p.BottomSurface = 0 | |
| 781 | p.Transparency = 0.35 | |
| 782 | p.FormFactor = "Custom" | |
| 783 | local mesh = Instance.new("CylinderMesh", p)
| |
| 784 | mesh.Scale = Vector3.new(0, 0, 0) | |
| 785 | coroutine.wrap(function() | |
| 786 | for i = 0, 5, 0.1 do | |
| 787 | wait(0.016666666666667) | |
| 788 | p.CFrame = p.CFrame | |
| 789 | mesh.Scale = mesh.Scale + Vector3.new(0.5, 0, 0.5) | |
| 790 | p.Transparency = p.Transparency + 0.025 | |
| 791 | end | |
| 792 | p:Destroy() | |
| 793 | end | |
| 794 | )() | |
| 795 | end | |
| 796 | ||
| 797 | firespaz1 = function(color, pos1) | |
| 798 | local p = Instance.new("Part", m)
| |
| 799 | p.BrickColor = BrickColor.new(color) | |
| 800 | p.CFrame = pos1 | |
| 801 | p.Anchored = true | |
| 802 | p.Material = "Plastic" | |
| 803 | p.CanCollide = false | |
| 804 | p.TopSurface = 0 | |
| 805 | p.Size = Vector3.new(1, 1, 1) | |
| 806 | p.BottomSurface = 0 | |
| 807 | p.Transparency = 0.5 | |
| 808 | p.FormFactor = "Custom" | |
| 809 | local mesh = Instance.new("BlockMesh", p)
| |
| 810 | mesh.Scale = Vector3.new(1, 1, 1) | |
| 811 | coroutine.wrap(function() | |
| 812 | for i = 0, 15, 0.1 do | |
| 813 | wait(0.033333333333333) | |
| 814 | p.CFrame = p.CFrame * CFrame.new(0, 0.1, 0) | |
| 815 | mesh.Scale = mesh.Scale - Vector3.new(0.1, 0.1, 0.1) | |
| 816 | p.Transparency = p.Transparency + 0.025 | |
| 817 | end | |
| 818 | p:Destroy() | |
| 819 | end | |
| 820 | )() | |
| 821 | end | |
| 822 | ||
| 823 | pickrandom = function(tablesa) | |
| 824 | local randomized = tablesa[math.random(1, #tablesa)] | |
| 825 | return randomized | |
| 826 | end | |
| 827 | ||
| 828 | sound = function(id, pitch, volume, par, last) | |
| 829 | local s = Instance.new("Sound", par or Torso)
| |
| 830 | s.SoundId = "rbxassetid://" .. id | |
| 831 | s.Pitch = pitch or 1 | |
| 832 | s.Volume = volume or 1 | |
| 833 | wait() | |
| 834 | s:play() | |
| 835 | game.Debris:AddItem(s, last or 120) | |
| 836 | end | |
| 837 | ||
| 838 | clangy = function(cframe) | |
| 839 | wait(0.016666666666667) | |
| 840 | local clang = {}
| |
| 841 | local dis = 0 | |
| 842 | local part = Instance.new("Part", nil)
| |
| 843 | part.CFrame = cframe | |
| 844 | part.Anchored = true | |
| 845 | part.CanCollide = false | |
| 846 | part.BrickColor = BrickColor.new("New Yeller")
| |
| 847 | part.FormFactor = "Custom" | |
| 848 | part.Name = "clanger" | |
| 849 | part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 850 | part.TopSurface = 10 | |
| 851 | part.BottomSurface = 10 | |
| 852 | part.RightSurface = 10 | |
| 853 | part.LeftSurface = 10 | |
| 854 | part.BackSurface = 10 | |
| 855 | part.FrontSurface = 10 | |
| 856 | part:BreakJoints() | |
| 857 | local mesh = Instance.new("BlockMesh", part)
| |
| 858 | coroutine.wrap(function() | |
| 859 | for i = 1, 7 do | |
| 860 | do | |
| 861 | wait(0.016666666666667) | |
| 862 | dis = dis + 0.2 | |
| 863 | local partc = part:clone() | |
| 864 | partc.Parent = workspace | |
| 865 | partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0) | |
| 866 | partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0) | |
| 867 | table.insert(clang, partc) | |
| 868 | end | |
| 869 | end | |
| 870 | for i,v in pairs(clang) do | |
| 871 | coroutine.wrap(function() | |
| 872 | for i = 1, 10 do | |
| 873 | wait(0.01) | |
| 874 | v.Transparency = v.Transparency + 0.1 | |
| 875 | end | |
| 876 | v:destroy() | |
| 877 | end | |
| 878 | )() | |
| 879 | end | |
| 880 | end | |
| 881 | )() | |
| 882 | end | |
| 883 | ||
| 884 | so = function(id, par, vol, pit) | |
| 885 | coroutine.resume(coroutine.create(function() | |
| 886 | local sou = Instance.new("Sound", par)
| |
| 887 | sou.Volume = vol | |
| 888 | sou.Pitch = pit | |
| 889 | sou.SoundId = id | |
| 890 | wait() | |
| 891 | sou:play() | |
| 892 | game:GetService("Debris"):AddItem(sou, 10)
| |
| 893 | end | |
| 894 | )) | |
| 895 | end | |
| 896 | ||
| 897 | getclosest = function(obj, dis, player) | |
| 898 | if player.Torso.CFrame.p - obj.magnitude >= dis then | |
| 899 | do return not player end | |
| 900 | do | |
| 901 | local list = {}
| |
| 902 | for i,v in pairs(workspace:GetChildren()) do | |
| 903 | if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and v.Torso.Position - obj.magnitude <= dis then
| |
| 904 | table.insert(list, v) | |
| 905 | end | |
| 906 | end | |
| 907 | do return list end | |
| 908 | ||
| 909 | end | |
| 910 | end | |
| 911 | end | |
| 912 | ||
| 913 | tag = function(hum, player) | |
| 914 | local creator = Instance.new("ObjectValue", hum)
| |
| 915 | creator.Value = player | |
| 916 | creator.Name = "creator" | |
| 917 | end | |
| 918 | ||
| 919 | untag = function(hum) | |
| 920 | if hum ~= nil then | |
| 921 | local tag = hum:findFirstChild("creator")
| |
| 922 | if tag ~= nil then | |
| 923 | tag.Parent = nil | |
| 924 | end | |
| 925 | end | |
| 926 | end | |
| 927 | ||
| 928 | tagplayer = function(h) | |
| 929 | coroutine.wrap(function() | |
| 930 | tag(h, player) | |
| 931 | wait(1) | |
| 932 | untag(h) | |
| 933 | end | |
| 934 | )() | |
| 935 | end | |
| 936 | ||
| 937 | randomizer = function(percent) | |
| 938 | local randomized = math.random(0, 100) | |
| 939 | if randomized <= percent then | |
| 940 | return true | |
| 941 | else | |
| 942 | if percent <= randomized then | |
| 943 | return false | |
| 944 | end | |
| 945 | end | |
| 946 | end | |
| 947 | ||
| 948 | turncrit = function() | |
| 949 | coroutine.resume(coroutine.create(function() | |
| 950 | print("CRITICAL!")
| |
| 951 | crit = true | |
| 952 | wait(0.25) | |
| 953 | crit = false | |
| 954 | end | |
| 955 | )) | |
| 956 | end | |
| 957 | ||
| 958 | subtractstamina = function(k) | |
| 959 | if k <= stamina then | |
| 960 | stamina = stamina - k | |
| 961 | end | |
| 962 | end | |
| 963 | ||
| 964 | local weldBetween = function(a, b) | |
| 965 | local weldd = Instance.new("ManualWeld")
| |
| 966 | weldd.Part0 = a | |
| 967 | weldd.Part1 = b | |
| 968 | weldd.C0 = CFrame.new() | |
| 969 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 970 | weldd.Parent = a | |
| 971 | return weldd | |
| 972 | end | |
| 973 | ||
| 974 | nooutline = function(part) | |
| 975 | part.TopSurface = 10 | |
| 976 | end | |
| 977 | ||
| 978 | part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
| 979 | local fp = it("Part")
| |
| 980 | fp.formFactor = formfactor | |
| 981 | fp.Parent = parent | |
| 982 | fp.Reflectance = reflectance | |
| 983 | fp.Transparency = transparency | |
| 984 | fp.CanCollide = false | |
| 985 | fp.Locked = true | |
| 986 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
| 987 | fp.Name = name | |
| 988 | fp.Size = size | |
| 989 | fp.Position = Character.Torso.Position | |
| 990 | nooutline(fp) | |
| 991 | fp.Material = material | |
| 992 | fp:BreakJoints() | |
| 993 | return fp | |
| 994 | end | |
| 995 | ||
| 996 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
| 997 | local mesh = it(Mesh) | |
| 998 | mesh.Parent = part | |
| 999 | if Mesh == "SpecialMesh" then | |
| 1000 | mesh.MeshType = meshtype | |
| 1001 | mesh.MeshId = meshid | |
| 1002 | end | |
| 1003 | mesh.Offset = offset | |
| 1004 | mesh.Scale = scale | |
| 1005 | return mesh | |
| 1006 | end | |
| 1007 | ||
| 1008 | weld = function(parent, part0, part1, c0, c1) | |
| 1009 | local weld = it("Weld")
| |
| 1010 | weld.Parent = parent | |
| 1011 | weld.Part0 = part0 | |
| 1012 | weld.Part1 = part1 | |
| 1013 | weld.C0 = c0 | |
| 1014 | weld.C1 = c1 | |
| 1015 | return weld | |
| 1016 | end | |
| 1017 | ||
| 1018 | local CFrameFromTopBack = function(at, top, back) | |
| 1019 | local right = top:Cross(back) | |
| 1020 | return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 1021 | end | |
| 1022 | ||
| 1023 | Triangle = function(a, b, c) | |
| 1024 | local edg1 = c - a:Dot(b - a.unit) | |
| 1025 | local edg2 = a - b:Dot(c - b.unit) | |
| 1026 | local edg3 = b - c:Dot(a - c.unit) | |
| 1027 | if edg1 <= b - a.magnitude and edg1 >= 0 then | |
| 1028 | a = a | |
| 1029 | else | |
| 1030 | -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg' | |
| 1031 | ||
| 1032 | if edg2 <= c - b.magnitude and edg2 >= 0 then | |
| 1033 | a = b | |
| 1034 | else | |
| 1035 | -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg' | |
| 1036 | ||
| 1037 | -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg' | |
| 1038 | ||
| 1039 | if edg3 <= a - c.magnitude and edg3 >= 0 then | |
| 1040 | a = c | |
| 1041 | else | |
| 1042 | assert(false, "unreachable") | |
| 1043 | end | |
| 1044 | end | |
| 1045 | end | |
| 1046 | local len1 = c - a:Dot(b - a.unit) | |
| 1047 | local len2 = b - a.magnitude - len1 | |
| 1048 | local width = a + b - a.unit * len1 - c.magnitude | |
| 1049 | local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit) | |
| 1050 | local list = {}
| |
| 1051 | local TrailColor = "Dark grey" | |
| 1052 | if len1 > 0.01 then | |
| 1053 | local w1 = Instance.new("WedgePart", m)
| |
| 1054 | game:GetService("Debris"):AddItem(w1, 5)
| |
| 1055 | w1.Material = "SmoothPlastic" | |
| 1056 | w1.FormFactor = "Custom" | |
| 1057 | w1.BrickColor = BrickColor.new(TrailColor) | |
| 1058 | w1.Transparency = 0 | |
| 1059 | w1.Reflectance = 0 | |
| 1060 | w1.Material = "SmoothPlastic" | |
| 1061 | w1.CanCollide = false | |
| 1062 | NoOutline(w1) | |
| 1063 | local sz = Vector3.new(0.2, width, len1) | |
| 1064 | w1.Size = sz | |
| 1065 | local sp = Instance.new("SpecialMesh", w1)
| |
| 1066 | sp.MeshType = "Wedge" | |
| 1067 | sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size | |
| 1068 | w1:BreakJoints() | |
| 1069 | w1.Anchored = true | |
| 1070 | w1.Parent = workspace | |
| 1071 | w1.Transparency = 0.7 | |
| 1072 | table.insert(Effects, {w1, "Disappear", 0.01})
| |
| 1073 | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) | |
| 1074 | table.insert(list, w1) | |
| 1075 | end | |
| 1076 | do | |
| 1077 | if len2 > 0.01 then | |
| 1078 | local w2 = Instance.new("WedgePart", m)
| |
| 1079 | game:GetService("Debris"):AddItem(w2, 5)
| |
| 1080 | w2.Material = "SmoothPlastic" | |
| 1081 | w2.FormFactor = "Custom" | |
| 1082 | w2.BrickColor = BrickColor.new(TrailColor) | |
| 1083 | w2.Transparency = 0 | |
| 1084 | w2.Reflectance = 0 | |
| 1085 | w2.Material = "SmoothPlastic" | |
| 1086 | w2.CanCollide = false | |
| 1087 | NoOutline(w2) | |
| 1088 | local sz = Vector3.new(0.2, width, len2) | |
| 1089 | w2.Size = sz | |
| 1090 | local sp = Instance.new("SpecialMesh", w2)
| |
| 1091 | sp.MeshType = "Wedge" | |
| 1092 | sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size | |
| 1093 | w2:BreakJoints() | |
| 1094 | w2.Anchored = true | |
| 1095 | w2.Parent = workspace | |
| 1096 | w2.Transparency = 0.7 | |
| 1097 | table.insert(Effects, {w2, "Disappear", 0.01})
| |
| 1098 | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) | |
| 1099 | table.insert(list, w2) | |
| 1100 | end | |
| 1101 | do | |
| 1102 | return unpack(list) | |
| 1103 | end | |
| 1104 | end | |
| 1105 | end | |
| 1106 | ||
| 1107 | so = function(id, par, vol, pit) | |
| 1108 | coroutine.resume(coroutine.create(function() | |
| 1109 | local sou = Instance.new("Sound", par or workspace)
| |
| 1110 | sou.Volume = vol | |
| 1111 | sou.Pitch = pit or 1 | |
| 1112 | sou.SoundId = id | |
| 1113 | fat.Event:wait() | |
| 1114 | sou:play() | |
| 1115 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 1116 | end | |
| 1117 | )) | |
| 1118 | end | |
| 1119 | ||
| 1120 | clerp = function(a, b, t) | |
| 1121 | local qa = {QuaternionFromCFrame(a)}
| |
| 1122 | local qb = {QuaternionFromCFrame(b)}
| |
| 1123 | local ax, ay, az = a.x, a.y, a.z | |
| 1124 | local bx, by, bz = b.x, b.y, b.z | |
| 1125 | local _t = 1 - t | |
| 1126 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 1127 | end | |
| 1128 | ||
| 1129 | local clerp = CFrame.new().lerp | |
| 1130 | QuaternionFromCFrame = function(cf) | |
| 1131 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 1132 | local trace = m00 + m11 + m22 | |
| 1133 | if trace > 0 then | |
| 1134 | local s = math.sqrt(1 + trace) | |
| 1135 | local recip = 0.5 / s | |
| 1136 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 1137 | else | |
| 1138 | do | |
| 1139 | local i = 0 | |
| 1140 | if m00 < m11 then | |
| 1141 | i = 1 | |
| 1142 | end | |
| 1143 | if i == 0 and m00 or m11 < m22 then | |
| 1144 | i = 2 | |
| 1145 | end | |
| 1146 | if i == 0 then | |
| 1147 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 1148 | local recip = 0.5 / s | |
| 1149 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 1150 | else | |
| 1151 | do | |
| 1152 | if i == 1 then | |
| 1153 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 1154 | local recip = 0.5 / s | |
| 1155 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 1156 | else | |
| 1157 | do | |
| 1158 | if i == 2 then | |
| 1159 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 1160 | local recip = 0.5 / s | |
| 1161 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 1162 | end | |
| 1163 | end | |
| 1164 | end | |
| 1165 | end | |
| 1166 | end | |
| 1167 | end | |
| 1168 | end | |
| 1169 | end | |
| 1170 | ||
| 1171 | QuaternionToCFrame = function(px, py, pz, x, y, z, w) | |
| 1172 | local xs, ys, zs = x + x, y + y, z + z | |
| 1173 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 1174 | local xx = x * xs | |
| 1175 | local xy = x * ys | |
| 1176 | local xz = x * zs | |
| 1177 | local yy = y * ys | |
| 1178 | local yz = y * zs | |
| 1179 | local zz = z * zs | |
| 1180 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 1181 | end | |
| 1182 | ||
| 1183 | QuaternionSlerp = function(a, b, t) | |
| 1184 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 1185 | local startInterp, finishInterp = nil, nil | |
| 1186 | if cosTheta >= 0.0001 then | |
| 1187 | if 1 - cosTheta > 0.0001 then | |
| 1188 | local theta = math.acos(cosTheta) | |
| 1189 | local invSinTheta = 1 / math.sin(theta) | |
| 1190 | startInterp = math.sin((1 - t) * theta) * invSinTheta | |
| 1191 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 1192 | else | |
| 1193 | do | |
| 1194 | startInterp = 1 - t | |
| 1195 | finishInterp = t | |
| 1196 | if 1 + cosTheta > 0.0001 then | |
| 1197 | local theta = math.acos(-cosTheta) | |
| 1198 | local invSinTheta = 1 / math.sin(theta) | |
| 1199 | startInterp = math.sin((t - 1) * theta) * invSinTheta | |
| 1200 | finishInterp = math.sin(t * theta) * invSinTheta | |
| 1201 | else | |
| 1202 | do | |
| 1203 | startInterp = t - 1 | |
| 1204 | finishInterp = t | |
| 1205 | return a[1] * (startInterp) + b[1] * finishInterp, a[2] * (startInterp) + b[2] * finishInterp, a[3] * (startInterp) + b[3] * finishInterp, a[4] * (startInterp) + b[4] * finishInterp | |
| 1206 | end | |
| 1207 | end | |
| 1208 | end | |
| 1209 | end | |
| 1210 | end | |
| 1211 | end | |
| 1212 | ||
| 1213 | local PartOnRay = workspace.FindPartOnRay | |
| 1214 | local RayNew = Ray.new | |
| 1215 | rayCast = function(Pos, Dir, Max, Ignore) | |
| 1216 | return PartOnRay(workspace, RayNew(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
| 1217 | end | |
| 1218 | ||
| 1219 | makegui = function(cframe, text) | |
| 1220 | local a = math.random(-10, 10) / 100 | |
| 1221 | local c = Instance.new("Part")
| |
| 1222 | c.Transparency = 1 | |
| 1223 | Instance.new("BodyGyro").Parent = c
| |
| 1224 | c.Parent = workspace | |
| 1225 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
| 1226 | local f = Instance.new("BodyPosition")
| |
| 1227 | f.P = 2000 | |
| 1228 | f.D = 100 | |
| 1229 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1230 | f.position = c.Position + Vector3.new(0, 3, 0) | |
| 1231 | f.Parent = c | |
| 1232 | game:GetService("Debris"):AddItem(c, 6.5)
| |
| 1233 | c.CanCollide = false | |
| 1234 | c.Parent = workspace | |
| 1235 | c.CanCollide = false | |
| 1236 | local bg = Instance.new("BillboardGui", c)
| |
| 1237 | bg.Adornee = c | |
| 1238 | bg.Size = UDim2.new(1, 0, 1, 0) | |
| 1239 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
| 1240 | bg.AlwaysOnTop = false | |
| 1241 | local tl = Instance.new("TextLabel", bg)
| |
| 1242 | tl.BackgroundTransparency = 1 | |
| 1243 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 1244 | tl.Text = text | |
| 1245 | tl.Font = "SourceSansBold" | |
| 1246 | tl.FontSize = "Size42" | |
| 1247 | if crit == true then | |
| 1248 | tl.TextColor3 = Color3.new(0.70588235294118, 0, 0) | |
| 1249 | else | |
| 1250 | tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2) | |
| 1251 | end | |
| 1252 | tl.TextStrokeTransparency = 0 | |
| 1253 | tl.TextScaled = true | |
| 1254 | tl.TextWrapped = true | |
| 1255 | coroutine.wrap(function() | |
| 1256 | wait(2) | |
| 1257 | for i = 1, 10 do | |
| 1258 | fat.Event:wait() | |
| 1259 | c.Transparency = 1 | |
| 1260 | tl.TextTransparency = tl.TextTransparency + 0.1 | |
| 1261 | end | |
| 1262 | end | |
| 1263 | )() | |
| 1264 | end | |
| 1265 | ||
| 1266 | Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock) | |
| 1267 | if hit.Parent == nil then | |
| 1268 | return | |
| 1269 | end | |
| 1270 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 1271 | for _,v in pairs(hit.Parent:children()) do | |
| 1272 | if v:IsA("Humanoid") then
| |
| 1273 | h = v | |
| 1274 | end | |
| 1275 | end | |
| 1276 | if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
| |
| 1277 | h = hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 1278 | end | |
| 1279 | if hit.Parent.className == "Hat" then | |
| 1280 | hit = hit.Parent.Parent:findFirstChild("Head")
| |
| 1281 | end | |
| 1282 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 1283 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 1284 | return | |
| 1285 | end | |
| 1286 | local blocked = false | |
| 1287 | block = hit.Parent:findFirstChild("Block")
| |
| 1288 | if block ~= nil then | |
| 1289 | print(block.className) | |
| 1290 | if block.className == "NumberValue" and block.Value > 0 then | |
| 1291 | blocked = true | |
| 1292 | if decreaseblock == nil then | |
| 1293 | block.Value = block.Value - 1 | |
| 1294 | end | |
| 1295 | end | |
| 1296 | if block.className == "IntValue" and block.Value > 0 then | |
| 1297 | blocked = true | |
| 1298 | if decreaseblock ~= nil then | |
| 1299 | block.Value = block.Value - 1 | |
| 1300 | end | |
| 1301 | end | |
| 1302 | end | |
| 1303 | if blocked == false then | |
| 1304 | local D = math.random(minim, maxim) * damagea.Value | |
| 1305 | if h.Parent:FindFirstChild("Stats") then
| |
| 1306 | D = D / h.Parent:FindFirstChild("Stats").Defence.Value
| |
| 1307 | else | |
| 1308 | end | |
| 1309 | if not h.Parent:FindFirstChild("Stats") then
| |
| 1310 | do | |
| 1311 | game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D, 1) | |
| 1312 | TagService:NewTag(h.Parent, Player, "Rigormortis", D) | |
| 1313 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5))) | |
| 1314 | local D = math.random(minim, maxim) * damagea.Value | |
| 1315 | if h.Parent:FindFirstChild("Stats") then
| |
| 1316 | D = D / h.Parent:FindFirstChild("Stats").Defence.Value
| |
| 1317 | else | |
| 1318 | end | |
| 1319 | if not h.Parent:FindFirstChild("Stats") then
| |
| 1320 | do | |
| 1321 | game.ReplicatedStorage.Remotes.HealthEvent:FireServer(h, D / 2, 1) | |
| 1322 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5))) | |
| 1323 | if Type == "Knockdown" then | |
| 1324 | local humanoid = hit.Parent.Humanoid | |
| 1325 | humanoid.PlatformStand = true | |
| 1326 | coroutine.resume(coroutine.create(function(Humanoid) | |
| 1327 | fat.Event:wait() | |
| 1328 | Humanoid.PlatformStand = false | |
| 1329 | end | |
| 1330 | ), humanoid) | |
| 1331 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 1332 | local bodvol = Instance.new("BodyVelocity")
| |
| 1333 | bodvol.velocity = angle * knockback | |
| 1334 | bodvol.P = 5000 | |
| 1335 | bodvol.maxForce = Vector3.new(8000, 8000, 8000) | |
| 1336 | bodvol.Parent = hit | |
| 1337 | rl = Instance.new("BodyAngularVelocity")
| |
| 1338 | rl.P = 3000 | |
| 1339 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
| 1340 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
| 1341 | rl.Parent = hit | |
| 1342 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 1343 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1344 | else | |
| 1345 | do | |
| 1346 | if Type == "Normal" then | |
| 1347 | so("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
| |
| 1348 | vp = Instance.new("BodyVelocity")
| |
| 1349 | vp.P = 500 | |
| 1350 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 1351 | if KnockbackType == 1 then | |
| 1352 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1353 | else | |
| 1354 | if KnockbackType == 2 then | |
| 1355 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 1356 | end | |
| 1357 | end | |
| 1358 | if knockback > 0 then | |
| 1359 | vp.Parent = hit.Parent.Torso | |
| 1360 | end | |
| 1361 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1362 | else | |
| 1363 | if Type == "SlashLifeSteal" then | |
| 1364 | so("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
| |
| 1365 | Humanoid.Health = Humanoid.Health + math.random(1, 2) / 2.5 | |
| 1366 | vp = Instance.new("BodyVelocity")
| |
| 1367 | vp.P = 500 | |
| 1368 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 1369 | if KnockbackType == 1 then | |
| 1370 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1371 | else | |
| 1372 | if KnockbackType == 2 then | |
| 1373 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 1374 | end | |
| 1375 | end | |
| 1376 | if knockback > 0 then | |
| 1377 | vp.Parent = hit.Parent.Torso | |
| 1378 | end | |
| 1379 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1380 | else | |
| 1381 | if Type == "SlashLifeSteal2" then | |
| 1382 | so("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
| |
| 1383 | Humanoid.Health = Humanoid.Health + math.random(2, 3) / 2.5 | |
| 1384 | vp = Instance.new("BodyVelocity")
| |
| 1385 | vp.P = 500 | |
| 1386 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 1387 | if KnockbackType == 1 then | |
| 1388 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1389 | else | |
| 1390 | if KnockbackType == 2 then | |
| 1391 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 1392 | end | |
| 1393 | end | |
| 1394 | if knockback > 0 then | |
| 1395 | vp.Parent = hit.Parent.Torso | |
| 1396 | end | |
| 1397 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1398 | else | |
| 1399 | if Type == "BlackHoleDamage" then | |
| 1400 | Humanoid.Health = Humanoid.Health + math.random(2, 4) / 5 | |
| 1401 | local floatingvelocity = Instance.new("BodyVelocity")
| |
| 1402 | floatingvelocity.Parent = hit.Parent.Torso | |
| 1403 | floatingvelocity.Velocity = Vector3.new(0, math.random(2.5, 5), 0) | |
| 1404 | game:GetService("Debris"):AddItem(floatingvelocity, 1)
| |
| 1405 | else | |
| 1406 | do | |
| 1407 | if Type == "BlackHoleDamage2" then | |
| 1408 | vp = Instance.new("BodyVelocity")
| |
| 1409 | vp.P = 500 | |
| 1410 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 1411 | if KnockbackType == 1 then | |
| 1412 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1413 | else | |
| 1414 | if KnockbackType == 2 then | |
| 1415 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 1416 | end | |
| 1417 | end | |
| 1418 | if knockback > 0 then | |
| 1419 | vp.Parent = hit.Parent.Torso | |
| 1420 | end | |
| 1421 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1422 | else | |
| 1423 | if Type == "Up" then | |
| 1424 | local bodyVelocity = Instance.new("BodyVelocity")
| |
| 1425 | bodyVelocity.velocity = vt(0, 60, 0) | |
| 1426 | bodyVelocity.P = 5000 | |
| 1427 | bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000) | |
| 1428 | bodyVelocity.Parent = hit | |
| 1429 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 1430 | rl = Instance.new("BodyAngularVelocity")
| |
| 1431 | rl.P = 3000 | |
| 1432 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
| 1433 | rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30)) | |
| 1434 | rl.Parent = hit | |
| 1435 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 1436 | else | |
| 1437 | do | |
| 1438 | if Type == "Snare" then | |
| 1439 | wait() | |
| 1440 | bp = Instance.new("BodyPosition")
| |
| 1441 | bp.P = 2000 | |
| 1442 | bp.D = 100 | |
| 1443 | bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1444 | bp.position = hit.Parent.Torso.Position | |
| 1445 | bp.Parent = hit.Parent.Torso | |
| 1446 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 1447 | else | |
| 1448 | if Type == "Target" then | |
| 1449 | so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
| |
| 1450 | vp = Instance.new("BodyVelocity")
| |
| 1451 | vp.P = 500 | |
| 1452 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 1453 | if KnockbackType == 1 then | |
| 1454 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 1455 | else | |
| 1456 | if KnockbackType == 2 then | |
| 1457 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 1458 | end | |
| 1459 | end | |
| 1460 | if knockback > 0 then | |
| 1461 | vp.Parent = hit.Parent.Torso | |
| 1462 | end | |
| 1463 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 1464 | end | |
| 1465 | end | |
| 1466 | local debounce = Instance.new("BoolValue")
| |
| 1467 | debounce.Name = "DebounceHit" | |
| 1468 | debounce.Parent = hit.Parent | |
| 1469 | debounce.Value = true | |
| 1470 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 1471 | c = Instance.new("ObjectValue")
| |
| 1472 | c.Name = "creator" | |
| 1473 | c.Value = Player | |
| 1474 | c.Parent = h | |
| 1475 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 1476 | end | |
| 1477 | end | |
| 1478 | end | |
| 1479 | end | |
| 1480 | end | |
| 1481 | end | |
| 1482 | end | |
| 1483 | end | |
| 1484 | end | |
| 1485 | end | |
| 1486 | end | |
| 1487 | end | |
| 1488 | end | |
| 1489 | end | |
| 1490 | end | |
| 1491 | end | |
| 1492 | end | |
| 1493 | ||
| 1494 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 1495 | for _,c in pairs(workspace:children()) do | |
| 1496 | local hum = c:findFirstChild("Humanoid")
| |
| 1497 | if hum ~= nil then | |
| 1498 | local head = c:findFirstChild("Torso")
| |
| 1499 | if head ~= nil then | |
| 1500 | local targ = head.Position - Part.Position | |
| 1501 | local mag = targ.magnitude | |
| 1502 | if mag <= magni and c.Name ~= Player.Name then | |
| 1503 | Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1) | |
| 1504 | end | |
| 1505 | end | |
| 1506 | end | |
| 1507 | end | |
| 1508 | end | |
| 1509 | ||
| 1510 | JumpEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
| 1511 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1512 | prt.Anchored = true | |
| 1513 | prt.CanCollide = false | |
| 1514 | prt.CFrame = cframe * angles(math.rad(90), 0, 0) | |
| 1515 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1516 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1517 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1518 | for i = 0, 1, delay do | |
| 1519 | fat.Event:wait() | |
| 1520 | Part.CFrame = Part.CFrame | |
| 1521 | Part.Transparency = i | |
| 1522 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
| 1523 | end | |
| 1524 | Part.Parent = nil | |
| 1525 | end | |
| 1526 | ), prt, msh) | |
| 1527 | end | |
| 1528 | ||
| 1529 | OrbEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
| 1530 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1531 | prt.Anchored = true | |
| 1532 | prt.CanCollide = false | |
| 1533 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1534 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1535 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1536 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1537 | for i = 0, 1, delay do | |
| 1538 | fat.Event:wait() | |
| 1539 | Part.CFrame = Part.CFrame | |
| 1540 | Part.Transparency = i | |
| 1541 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
| 1542 | end | |
| 1543 | Part.Parent = nil | |
| 1544 | end | |
| 1545 | ), prt, msh) | |
| 1546 | end | |
| 1547 | ||
| 1548 | BlockShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1549 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1550 | prt.Anchored = true | |
| 1551 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1552 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1553 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1554 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1555 | for i = 0, 1, delay do | |
| 1556 | fat.Event:wait() | |
| 1557 | Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1558 | Part.Transparency = i | |
| 1559 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1560 | end | |
| 1561 | Part.Parent = nil | |
| 1562 | end | |
| 1563 | ), prt, msh) | |
| 1564 | end | |
| 1565 | ||
| 1566 | Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1567 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1568 | prt.Anchored = true | |
| 1569 | prt.CFrame = cframe | |
| 1570 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1571 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1572 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1573 | for i = 0, 1, delay do | |
| 1574 | fat.Event:wait() | |
| 1575 | Part.CFrame = Part.CFrame | |
| 1576 | Part.Transparency = i | |
| 1577 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1578 | end | |
| 1579 | Part.Parent = nil | |
| 1580 | end | |
| 1581 | ), prt, msh) | |
| 1582 | end | |
| 1583 | ||
| 1584 | canwalk = true | |
| 1585 | canidle = true | |
| 1586 | cloaked = false | |
| 1587 | cloaked2 = false | |
| 1588 | portal = false | |
| 1589 | usedstealth = false | |
| 1590 | invisible = false | |
| 1591 | Face.Parent = nil | |
| 1592 | candoublejump = true | |
| 1593 | MMouse = mouse | |
| 1594 | TrailSound = Instance.new("Sound", Torso)
| |
| 1595 | TrailSound.Pitch = 2 | |
| 1596 | TrailSound.Volume = 0.25 | |
| 1597 | TrailSound.Looped = true | |
| 1598 | TrailSound.SoundId = "http://www.roblox.com/asset/?id=338601253" | |
| 1599 | TrailSound2 = Instance.new("Sound", Torso)
| |
| 1600 | TrailSound2.Pitch = 0.5 | |
| 1601 | TrailSound2.Volume = 0.25 | |
| 1602 | TrailSound2.Looped = true | |
| 1603 | TrailSound2.SoundId = "http://www.roblox.com/asset/?id=338601253" | |
| 1604 | Cloak = function() | |
| 1605 | cloaked = true | |
| 1606 | so("http://roblox.com/asset/?id=178452217", Torso, 0.5, 1)
| |
| 1607 | for _,v in pairs(Torso.Parent:children()) do | |
| 1608 | do | |
| 1609 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 1610 | coroutine.resume(coroutine.create(function() | |
| 1611 | for i = 0, 1, 0.1 do | |
| 1612 | wait() | |
| 1613 | TrailEffect.Enabled = true | |
| 1614 | speed.Value = 0.1 | |
| 1615 | CloakEffect.Enabled = true | |
| 1616 | CloakEffect2.Enabled = true | |
| 1617 | CloakEffectLight.Enabled = true | |
| 1618 | v.Transparency = v.Transparency + 0.1 | |
| 1619 | end | |
| 1620 | GhostEffect.Enabled = true | |
| 1621 | CloakEffectLight2.Enabled = true | |
| 1622 | defense.Value = 0.6 | |
| 1623 | Humanoid.CameraOffset = Vector3.new(0, 1, 0) | |
| 1624 | TrailSound:Play() | |
| 1625 | TrailSound2:Play() | |
| 1626 | TrailEffect.Enabled = true | |
| 1627 | v.CanCollide = false | |
| 1628 | speed.Value = 0.1 | |
| 1629 | v.Transparency = 1 | |
| 1630 | CloakEffect.Enabled = false | |
| 1631 | CloakEffect2.Enabled = false | |
| 1632 | CloakEffectLight.Enabled = false | |
| 1633 | end | |
| 1634 | )) | |
| 1635 | end | |
| 1636 | if v.className == "Hat" then | |
| 1637 | do | |
| 1638 | hatp = v.Handle | |
| 1639 | coroutine.resume(coroutine.create(function(hatty) | |
| 1640 | for i = 0, 1, 0.1 do | |
| 1641 | wait() | |
| 1642 | hatty.Transparency = hatty.Transparency + 0.1 | |
| 1643 | end | |
| 1644 | hatty.Transparency = 1 | |
| 1645 | end | |
| 1646 | ), hatp) | |
| 1647 | -- DECOMPILER ERROR at PC49: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1648 | ||
| 1649 | -- DECOMPILER ERROR at PC49: LeaveBlock: unexpected jumping out IF_STMT | |
| 1650 | ||
| 1651 | end | |
| 1652 | end | |
| 1653 | end | |
| 1654 | end | |
| 1655 | for _,v in pairs(m:children()) do | |
| 1656 | if v.className == "Part" then | |
| 1657 | coroutine.resume(coroutine.create(function() | |
| 1658 | for i = 0, 1, 0.1 do | |
| 1659 | wait() | |
| 1660 | v.Transparency = v.Transparency + 0.1 | |
| 1661 | end | |
| 1662 | v.Transparency = 1 | |
| 1663 | end | |
| 1664 | )) | |
| 1665 | end | |
| 1666 | end | |
| 1667 | for _,v in pairs(m2:children()) do | |
| 1668 | if v.className == "Part" then | |
| 1669 | coroutine.resume(coroutine.create(function() | |
| 1670 | for i = 0, 1, 0.1 do | |
| 1671 | wait() | |
| 1672 | v.Transparency = v.Transparency + 0.1 | |
| 1673 | end | |
| 1674 | v.Transparency = 1 | |
| 1675 | end | |
| 1676 | )) | |
| 1677 | end | |
| 1678 | end | |
| 1679 | for _,v in pairs(m3:children()) do | |
| 1680 | if v.className == "Part" then | |
| 1681 | coroutine.resume(coroutine.create(function() | |
| 1682 | for i = 0, 1, 0.1 do | |
| 1683 | wait() | |
| 1684 | v.Transparency = v.Transparency + 0.1 | |
| 1685 | end | |
| 1686 | v.Transparency = 1 | |
| 1687 | end | |
| 1688 | )) | |
| 1689 | end | |
| 1690 | end | |
| 1691 | end | |
| 1692 | ||
| 1693 | UnCloak = function() | |
| 1694 | cloaked = false | |
| 1695 | so("http://roblox.com/asset/?id=178452217", Torso, 0.5, 1.2)
| |
| 1696 | for _,v in pairs(Torso.Parent:children()) do | |
| 1697 | do | |
| 1698 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 1699 | coroutine.resume(coroutine.create(function() | |
| 1700 | for i = 0, 1, 0.1 do | |
| 1701 | wait() | |
| 1702 | TrailEffect.Enabled = false | |
| 1703 | speed.Value = 1.25 | |
| 1704 | TrailEffect.Enabled = false | |
| 1705 | CloakEffect.Enabled = true | |
| 1706 | CloakEffect2.Enabled = true | |
| 1707 | CloakEffectLight.Enabled = true | |
| 1708 | v.Transparency = v.Transparency - 0.1 | |
| 1709 | end | |
| 1710 | GhostEffect.Enabled = false | |
| 1711 | CloakEffectLight2.Enabled = false | |
| 1712 | defense.Value = 0.9 | |
| 1713 | Humanoid.CameraOffset = Vector3.new(0, 0, 0) | |
| 1714 | TrailSound:Stop() | |
| 1715 | TrailSound2:Stop() | |
| 1716 | speed.Value = 1.25 | |
| 1717 | v.Transparency = 0 | |
| 1718 | CloakEffect.Enabled = false | |
| 1719 | CloakEffect2.Enabled = false | |
| 1720 | CloakEffectLight.Enabled = false | |
| 1721 | end | |
| 1722 | )) | |
| 1723 | end | |
| 1724 | if v.className == "Hat" then | |
| 1725 | do | |
| 1726 | hatp = v.Handle | |
| 1727 | coroutine.resume(coroutine.create(function(hatty) | |
| 1728 | for i = 0, 1, 0.1 do | |
| 1729 | wait() | |
| 1730 | hatty.Transparency = hatty.Transparency - 0.1 | |
| 1731 | end | |
| 1732 | hatty.Transparency = 0 | |
| 1733 | end | |
| 1734 | ), hatp) | |
| 1735 | -- DECOMPILER ERROR at PC49: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1736 | ||
| 1737 | -- DECOMPILER ERROR at PC49: LeaveBlock: unexpected jumping out IF_STMT | |
| 1738 | ||
| 1739 | end | |
| 1740 | end | |
| 1741 | end | |
| 1742 | end | |
| 1743 | for _,v in pairs(m:children()) do | |
| 1744 | if v.className == "Part" then | |
| 1745 | coroutine.resume(coroutine.create(function() | |
| 1746 | for i = 0, 1, 0.1 do | |
| 1747 | wait() | |
| 1748 | v.Transparency = v.Transparency - 0.1 | |
| 1749 | end | |
| 1750 | v.Transparency = 0 | |
| 1751 | end | |
| 1752 | )) | |
| 1753 | end | |
| 1754 | end | |
| 1755 | for _,v in pairs(m2:children()) do | |
| 1756 | if v.className == "Part" then | |
| 1757 | coroutine.resume(coroutine.create(function() | |
| 1758 | for i = 0, 1, 0.1 do | |
| 1759 | wait() | |
| 1760 | v.Transparency = v.Transparency - 0.1 | |
| 1761 | end | |
| 1762 | v.Transparency = 0 | |
| 1763 | end | |
| 1764 | )) | |
| 1765 | end | |
| 1766 | end | |
| 1767 | for _,v in pairs(m3:children()) do | |
| 1768 | if v.className == "Part" then | |
| 1769 | coroutine.resume(coroutine.create(function() | |
| 1770 | for i = 0, 1, 0.1 do | |
| 1771 | wait() | |
| 1772 | v.Transparency = v.Transparency - 0.1 | |
| 1773 | end | |
| 1774 | v.Transparency = 0 | |
| 1775 | end | |
| 1776 | )) | |
| 1777 | end | |
| 1778 | end | |
| 1779 | end | |
| 1780 | ||
| 1781 | Cloak2 = function() | |
| 1782 | cloaked2 = true | |
| 1783 | so("http://roblox.com/asset/?id=178452217", Torso, 0.5, 1)
| |
| 1784 | for _,v in pairs(Torso.Parent:children()) do | |
| 1785 | do | |
| 1786 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 1787 | coroutine.resume(coroutine.create(function() | |
| 1788 | for i = 0, 1, 0.1 do | |
| 1789 | wait() | |
| 1790 | CloakEffect.Enabled = true | |
| 1791 | CloakEffect2.Enabled = true | |
| 1792 | CloakEffectLight.Enabled = true | |
| 1793 | v.Transparency = v.Transparency + 0.1 | |
| 1794 | end | |
| 1795 | v.Transparency = 1 | |
| 1796 | CloakEffect.Enabled = false | |
| 1797 | CloakEffect2.Enabled = false | |
| 1798 | CloakEffectLight.Enabled = false | |
| 1799 | end | |
| 1800 | )) | |
| 1801 | end | |
| 1802 | if v.className == "Hat" then | |
| 1803 | do | |
| 1804 | hatp = v.Handle | |
| 1805 | coroutine.resume(coroutine.create(function(hatty) | |
| 1806 | for i = 0, 1, 0.1 do | |
| 1807 | wait() | |
| 1808 | hatty.Transparency = hatty.Transparency + 0.1 | |
| 1809 | end | |
| 1810 | hatty.Transparency = 1 | |
| 1811 | end | |
| 1812 | ), hatp) | |
| 1813 | -- DECOMPILER ERROR at PC44: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1814 | ||
| 1815 | -- DECOMPILER ERROR at PC44: LeaveBlock: unexpected jumping out IF_STMT | |
| 1816 | ||
| 1817 | end | |
| 1818 | end | |
| 1819 | end | |
| 1820 | end | |
| 1821 | for _,v in pairs(m:children()) do | |
| 1822 | if v.className == "Part" then | |
| 1823 | coroutine.resume(coroutine.create(function() | |
| 1824 | for i = 0, 1, 0.1 do | |
| 1825 | wait() | |
| 1826 | v.Transparency = v.Transparency + 0.1 | |
| 1827 | end | |
| 1828 | v.Transparency = 1 | |
| 1829 | end | |
| 1830 | )) | |
| 1831 | end | |
| 1832 | end | |
| 1833 | for _,v in pairs(m2:children()) do | |
| 1834 | if v.className == "Part" then | |
| 1835 | coroutine.resume(coroutine.create(function() | |
| 1836 | for i = 0, 1, 0.1 do | |
| 1837 | wait() | |
| 1838 | v.Transparency = v.Transparency + 0.1 | |
| 1839 | end | |
| 1840 | v.Transparency = 1 | |
| 1841 | end | |
| 1842 | )) | |
| 1843 | end | |
| 1844 | end | |
| 1845 | for _,v in pairs(m3:children()) do | |
| 1846 | if v.className == "Part" then | |
| 1847 | coroutine.resume(coroutine.create(function() | |
| 1848 | for i = 0, 1, 0.1 do | |
| 1849 | wait() | |
| 1850 | v.Transparency = v.Transparency + 0.1 | |
| 1851 | end | |
| 1852 | v.Transparency = 1 | |
| 1853 | end | |
| 1854 | )) | |
| 1855 | end | |
| 1856 | end | |
| 1857 | end | |
| 1858 | ||
| 1859 | UnCloak2 = function() | |
| 1860 | cloaked2 = false | |
| 1861 | so("http://roblox.com/asset/?id=178452217", Torso, 0.5, 1.2)
| |
| 1862 | for _,v in pairs(Torso.Parent:children()) do | |
| 1863 | do | |
| 1864 | if v.className == "Part" and v.Name ~= "HumanoidRootPart" then | |
| 1865 | coroutine.resume(coroutine.create(function() | |
| 1866 | for i = 0, 1, 0.1 do | |
| 1867 | wait() | |
| 1868 | CloakEffect.Enabled = true | |
| 1869 | CloakEffect2.Enabled = true | |
| 1870 | CloakEffectLight.Enabled = true | |
| 1871 | v.Transparency = v.Transparency - 0.1 | |
| 1872 | end | |
| 1873 | v.Transparency = 0 | |
| 1874 | CloakEffect.Enabled = false | |
| 1875 | CloakEffect2.Enabled = false | |
| 1876 | CloakEffectLight.Enabled = false | |
| 1877 | end | |
| 1878 | )) | |
| 1879 | end | |
| 1880 | if v.className == "Hat" then | |
| 1881 | do | |
| 1882 | hatp = v.Handle | |
| 1883 | coroutine.resume(coroutine.create(function(hatty) | |
| 1884 | for i = 0, 1, 0.1 do | |
| 1885 | wait() | |
| 1886 | hatty.Transparency = hatty.Transparency - 0.1 | |
| 1887 | end | |
| 1888 | hatty.Transparency = 0 | |
| 1889 | end | |
| 1890 | ), hatp) | |
| 1891 | -- DECOMPILER ERROR at PC44: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1892 | ||
| 1893 | -- DECOMPILER ERROR at PC44: LeaveBlock: unexpected jumping out IF_STMT | |
| 1894 | ||
| 1895 | end | |
| 1896 | end | |
| 1897 | end | |
| 1898 | end | |
| 1899 | for _,v in pairs(m:children()) do | |
| 1900 | if v.className == "Part" then | |
| 1901 | coroutine.resume(coroutine.create(function() | |
| 1902 | for i = 0, 1, 0.1 do | |
| 1903 | wait() | |
| 1904 | v.Transparency = v.Transparency - 0.1 | |
| 1905 | end | |
| 1906 | v.Transparency = 0 | |
| 1907 | end | |
| 1908 | )) | |
| 1909 | end | |
| 1910 | end | |
| 1911 | for _,v in pairs(m2:children()) do | |
| 1912 | if v.className == "Part" then | |
| 1913 | coroutine.resume(coroutine.create(function() | |
| 1914 | for i = 0, 1, 0.1 do | |
| 1915 | wait() | |
| 1916 | v.Transparency = v.Transparency - 0.1 | |
| 1917 | end | |
| 1918 | v.Transparency = 0 | |
| 1919 | end | |
| 1920 | )) | |
| 1921 | end | |
| 1922 | end | |
| 1923 | for _,v in pairs(m3:children()) do | |
| 1924 | if v.className == "Part" then | |
| 1925 | coroutine.resume(coroutine.create(function() | |
| 1926 | for i = 0, 1, 0.1 do | |
| 1927 | wait() | |
| 1928 | v.Transparency = v.Transparency - 0.1 | |
| 1929 | end | |
| 1930 | v.Transparency = 0 | |
| 1931 | end | |
| 1932 | )) | |
| 1933 | end | |
| 1934 | end | |
| 1935 | end | |
| 1936 | ||
| 1937 | GottaFlip = function() | |
| 1938 | attack = true | |
| 1939 | for i = 0, 1, 0.5 do | |
| 1940 | fat.Event:wait() | |
| 1941 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1942 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 1943 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(-90), math.rad(0)), 0.3) | |
| 1944 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(90), math.rad(0)), 0.3) | |
| 1945 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1946 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1947 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1948 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1949 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1950 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1951 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1952 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1953 | end | |
| 1954 | for i = 0, 1, 0.08 do | |
| 1955 | fat.Event:wait() | |
| 1956 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1957 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1958 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(205), math.rad(-90), math.rad(0)), 0.3) | |
| 1959 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(205), math.rad(90), math.rad(0)), 0.3) | |
| 1960 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1961 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1962 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1963 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1964 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1965 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1966 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1967 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1968 | end | |
| 1969 | for i = 0, 1, 0.02 do | |
| 1970 | fat.Event:wait() | |
| 1971 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1972 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 1973 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-90), math.rad(0)), 0.3) | |
| 1974 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(90), math.rad(0)), 0.3) | |
| 1975 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1976 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1977 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1978 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1979 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1980 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1981 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 1982 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 1983 | end | |
| 1984 | attack = false | |
| 1985 | end | |
| 1986 | ||
| 1987 | attackone = function() | |
| 1988 | if cloaked == true then | |
| 1989 | speed.Value = 1.25 | |
| 1990 | UnCloak() | |
| 1991 | end | |
| 1992 | attack = true | |
| 1993 | for i = 0, 1, 0.15 do | |
| 1994 | fat.Event:wait() | |
| 1995 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) | |
| 1996 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.3) | |
| 1997 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(75)), 0.3) | |
| 1998 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(-20), math.rad(190), math.rad(-90)), 0.3) | |
| 1999 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2000 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2001 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2002 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2003 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2004 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2005 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2006 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2007 | end | |
| 2008 | con1 = Glove1Finger1ClawFinger.Touched:connect(function(hit) | |
| 2009 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2010 | end | |
| 2011 | ) | |
| 2012 | con2 = Glove1Finger2ClawFinger.Touched:connect(function(hit) | |
| 2013 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2014 | end | |
| 2015 | ) | |
| 2016 | con3 = Glove1Finger3ClawFinger.Touched:connect(function(hit) | |
| 2017 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2018 | end | |
| 2019 | ) | |
| 2020 | con4 = Glove1Finger4ClawFinger.Touched:connect(function(hit) | |
| 2021 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2022 | end | |
| 2023 | ) | |
| 2024 | so("http://roblox.com/asset/?id=338586299", LeftArm, 1, 1.1)
| |
| 2025 | for i = 0, 1, 0.15 do | |
| 2026 | fat.Event:wait() | |
| 2027 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.45) | |
| 2028 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.45) | |
| 2029 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.45) | |
| 2030 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-40)), 0.45) | |
| 2031 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2032 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2033 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2034 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2035 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2036 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2037 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2038 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2039 | end | |
| 2040 | con1:disconnect() | |
| 2041 | con2:disconnect() | |
| 2042 | con3:disconnect() | |
| 2043 | con4:disconnect() | |
| 2044 | attack = false | |
| 2045 | end | |
| 2046 | ||
| 2047 | attacktwo = function() | |
| 2048 | if cloaked == true then | |
| 2049 | speed.Value = 1.25 | |
| 2050 | UnCloak() | |
| 2051 | end | |
| 2052 | attack = true | |
| 2053 | for i = 0, 1, 0.15 do | |
| 2054 | fat.Event:wait() | |
| 2055 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 2056 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3) | |
| 2057 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(-20), math.rad(160), math.rad(90)), 0.3) | |
| 2058 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-75)), 0.3) | |
| 2059 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2060 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2061 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2062 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2063 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2064 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2065 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2066 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2067 | end | |
| 2068 | con1 = Glove2Finger1ClawFinger.Touched:connect(function(hit) | |
| 2069 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2070 | end | |
| 2071 | ) | |
| 2072 | con2 = Glove2Finger2ClawFinger.Touched:connect(function(hit) | |
| 2073 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2074 | end | |
| 2075 | ) | |
| 2076 | con3 = Glove2Finger3ClawFinger.Touched:connect(function(hit) | |
| 2077 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2078 | end | |
| 2079 | ) | |
| 2080 | con4 = Glove2Finger4ClawFinger.Touched:connect(function(hit) | |
| 2081 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2082 | end | |
| 2083 | ) | |
| 2084 | so("http://roblox.com/asset/?id=338586318", RightArm, 1, 1.1)
| |
| 2085 | for i = 0, 1, 0.15 do | |
| 2086 | fat.Event:wait() | |
| 2087 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.45) | |
| 2088 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.45) | |
| 2089 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(40)), 0.45) | |
| 2090 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.45) | |
| 2091 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2092 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2093 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2094 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2095 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2096 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2097 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2098 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2099 | end | |
| 2100 | con1:disconnect() | |
| 2101 | con2:disconnect() | |
| 2102 | con3:disconnect() | |
| 2103 | con4:disconnect() | |
| 2104 | attack = false | |
| 2105 | end | |
| 2106 | ||
| 2107 | attackthree = function() | |
| 2108 | if cloaked == true then | |
| 2109 | speed.Value = 1.25 | |
| 2110 | UnCloak() | |
| 2111 | end | |
| 2112 | canidle = false | |
| 2113 | canwalk = false | |
| 2114 | attack = true | |
| 2115 | for i = 0, 1, 0.6 do | |
| 2116 | fat.Event:wait() | |
| 2117 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
| 2118 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
| 2119 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(45), math.rad(0), math.rad(0)), 0.45) | |
| 2120 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(45), math.rad(0), math.rad(0)), 0.45) | |
| 2121 | RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2122 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2123 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2124 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2125 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2126 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2127 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2128 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2129 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2130 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2131 | end | |
| 2132 | for i = 0, 1, 0.15 do | |
| 2133 | fat.Event:wait() | |
| 2134 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2135 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2136 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.75, 0) * angles(math.rad(105), math.rad(45), math.rad(90)), 0.3) | |
| 2137 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.75, 0) * angles(math.rad(105), math.rad(-45), math.rad(-90)), 0.3) | |
| 2138 | RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2139 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2140 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2141 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2142 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2143 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2144 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2145 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2146 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2147 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2148 | end | |
| 2149 | canidle = true | |
| 2150 | canwalk = true | |
| 2151 | con1 = Glove1Finger1ClawFinger.Touched:connect(function(hit) | |
| 2152 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2153 | end | |
| 2154 | ) | |
| 2155 | con2 = Glove1Finger2ClawFinger.Touched:connect(function(hit) | |
| 2156 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2157 | end | |
| 2158 | ) | |
| 2159 | con3 = Glove1Finger3ClawFinger.Touched:connect(function(hit) | |
| 2160 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2161 | end | |
| 2162 | ) | |
| 2163 | con4 = Glove1Finger4ClawFinger.Touched:connect(function(hit) | |
| 2164 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2165 | end | |
| 2166 | ) | |
| 2167 | con5 = Glove2Finger1ClawFinger.Touched:connect(function(hit) | |
| 2168 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2169 | end | |
| 2170 | ) | |
| 2171 | con6 = Glove2Finger2ClawFinger.Touched:connect(function(hit) | |
| 2172 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2173 | end | |
| 2174 | ) | |
| 2175 | con7 = Glove2Finger3ClawFinger.Touched:connect(function(hit) | |
| 2176 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2177 | end | |
| 2178 | ) | |
| 2179 | con8 = Glove2Finger4ClawFinger.Touched:connect(function(hit) | |
| 2180 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2181 | end | |
| 2182 | ) | |
| 2183 | so("http://roblox.com/asset/?id=338586331", Torso, 1, 1.1)
| |
| 2184 | for i = 0, 1, 0.15 do | |
| 2185 | fat.Event:wait() | |
| 2186 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
| 2187 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
| 2188 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(45), math.rad(-75)), 0.45) | |
| 2189 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(75), math.rad(-45), math.rad(75)), 0.45) | |
| 2190 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2191 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2192 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2193 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2194 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2195 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2196 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2197 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2198 | end | |
| 2199 | con1:disconnect() | |
| 2200 | con2:disconnect() | |
| 2201 | con3:disconnect() | |
| 2202 | con4:disconnect() | |
| 2203 | con5:disconnect() | |
| 2204 | con6:disconnect() | |
| 2205 | con7:disconnect() | |
| 2206 | con8:disconnect() | |
| 2207 | attack = false | |
| 2208 | end | |
| 2209 | ||
| 2210 | attackfour = function() | |
| 2211 | if cloaked == true then | |
| 2212 | speed.Value = 1.25 | |
| 2213 | UnCloak() | |
| 2214 | end | |
| 2215 | attack = true | |
| 2216 | for i = 0, 1, 0.15 do | |
| 2217 | fat.Event:wait() | |
| 2218 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(75)), 0.3) | |
| 2219 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-15)), 0.3) | |
| 2220 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.3) | |
| 2221 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3) | |
| 2222 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2223 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2224 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2225 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2226 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2227 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2228 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2229 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2230 | end | |
| 2231 | con1 = Glove1Finger1ClawFinger.Touched:connect(function(hit) | |
| 2232 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2233 | end | |
| 2234 | ) | |
| 2235 | con2 = Glove1Finger2ClawFinger.Touched:connect(function(hit) | |
| 2236 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2237 | end | |
| 2238 | ) | |
| 2239 | con3 = Glove1Finger3ClawFinger.Touched:connect(function(hit) | |
| 2240 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2241 | end | |
| 2242 | ) | |
| 2243 | con4 = Glove1Finger4ClawFinger.Touched:connect(function(hit) | |
| 2244 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2245 | end | |
| 2246 | ) | |
| 2247 | con5 = Glove2Finger1ClawFinger.Touched:connect(function(hit) | |
| 2248 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2249 | end | |
| 2250 | ) | |
| 2251 | con6 = Glove2Finger2ClawFinger.Touched:connect(function(hit) | |
| 2252 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2253 | end | |
| 2254 | ) | |
| 2255 | con7 = Glove2Finger3ClawFinger.Touched:connect(function(hit) | |
| 2256 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2257 | end | |
| 2258 | ) | |
| 2259 | con8 = Glove2Finger4ClawFinger.Touched:connect(function(hit) | |
| 2260 | Damagefunc(hit, 5, 10, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2261 | end | |
| 2262 | ) | |
| 2263 | so("http://roblox.com/asset/?id=338586299", Torso, 1, 1.3)
| |
| 2264 | for i = 0, 1, 0.125 do | |
| 2265 | fat.Event:wait() | |
| 2266 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0 - 360 * i)), 0.45) | |
| 2267 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2268 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.45) | |
| 2269 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.45) | |
| 2270 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2271 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2272 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2273 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2274 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2275 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2276 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2277 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2278 | end | |
| 2279 | con1:disconnect() | |
| 2280 | con2:disconnect() | |
| 2281 | con3:disconnect() | |
| 2282 | con4:disconnect() | |
| 2283 | con5:disconnect() | |
| 2284 | con6:disconnect() | |
| 2285 | con7:disconnect() | |
| 2286 | con8:disconnect() | |
| 2287 | attack = false | |
| 2288 | end | |
| 2289 | ||
| 2290 | SpiralDispursion = function() | |
| 2291 | if cloaked == true then | |
| 2292 | speed.Value = 1.25 | |
| 2293 | UnCloak() | |
| 2294 | end | |
| 2295 | attack = true | |
| 2296 | con1 = Glove1Finger1ClawFinger.Touched:connect(function(hit) | |
| 2297 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2298 | end | |
| 2299 | ) | |
| 2300 | con2 = Glove1Finger2ClawFinger.Touched:connect(function(hit) | |
| 2301 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2302 | end | |
| 2303 | ) | |
| 2304 | con3 = Glove1Finger3ClawFinger.Touched:connect(function(hit) | |
| 2305 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2306 | end | |
| 2307 | ) | |
| 2308 | con4 = Glove1Finger4ClawFinger.Touched:connect(function(hit) | |
| 2309 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2310 | end | |
| 2311 | ) | |
| 2312 | con5 = Glove2Finger1ClawFinger.Touched:connect(function(hit) | |
| 2313 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2314 | end | |
| 2315 | ) | |
| 2316 | con6 = Glove2Finger2ClawFinger.Touched:connect(function(hit) | |
| 2317 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2318 | end | |
| 2319 | ) | |
| 2320 | con7 = Glove2Finger3ClawFinger.Touched:connect(function(hit) | |
| 2321 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2322 | end | |
| 2323 | ) | |
| 2324 | con8 = Glove2Finger4ClawFinger.Touched:connect(function(hit) | |
| 2325 | Damagefunc(hit, 7, 14, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2326 | end | |
| 2327 | ) | |
| 2328 | for i = 1, 4 do | |
| 2329 | so("http://roblox.com/asset/?id=338586331", Torso, 1, math.random(120, 140) / 100)
| |
| 2330 | for i = 0, 1, 0.125 do | |
| 2331 | fat.Event:wait() | |
| 2332 | Torso.Velocity = RootPart.CFrame.lookVector * 25 | |
| 2333 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(-180), math.rad(0 - 360 * i)), 0.45) | |
| 2334 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2335 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.45) | |
| 2336 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.45) | |
| 2337 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2338 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2339 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2340 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2341 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2342 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2343 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2344 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2345 | end | |
| 2346 | end | |
| 2347 | con1:disconnect() | |
| 2348 | con2:disconnect() | |
| 2349 | con3:disconnect() | |
| 2350 | con4:disconnect() | |
| 2351 | con5:disconnect() | |
| 2352 | con6:disconnect() | |
| 2353 | con7:disconnect() | |
| 2354 | con8:disconnect() | |
| 2355 | for i = 0, 1, 0.12 do | |
| 2356 | fat.Event:wait() | |
| 2357 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.3) | |
| 2358 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 2359 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3) | |
| 2360 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(30)), 0.3) | |
| 2361 | RH.C0 = clerp(RH.C0, cf(1, 0.5, -1) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2362 | LH.C0 = clerp(LH.C0, cf(-1, 0.5, -1) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2363 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2364 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2365 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2366 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2367 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2368 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2369 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2370 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2371 | end | |
| 2372 | attack = false | |
| 2373 | end | |
| 2374 | ||
| 2375 | GalacticLunge = function() | |
| 2376 | if cloaked == true then | |
| 2377 | speed.Value = 1.25 | |
| 2378 | UnCloak() | |
| 2379 | end | |
| 2380 | canidle = false | |
| 2381 | canwalk = false | |
| 2382 | attack = true | |
| 2383 | for i = 1, 1 do | |
| 2384 | for i = 0, 1, 0.125 do | |
| 2385 | fat.Event:wait() | |
| 2386 | Torso.Velocity = RootPart.CFrame.lookVector * 50 | |
| 2387 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 4) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.3) | |
| 2388 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2389 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.75, 0) * angles(math.rad(105), math.rad(45), math.rad(90)), 0.3) | |
| 2390 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.75, 0) * angles(math.rad(105), math.rad(-45), math.rad(-90)), 0.3) | |
| 2391 | RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2392 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2393 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2394 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2395 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2396 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2397 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2398 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2399 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2400 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2401 | end | |
| 2402 | end | |
| 2403 | for i = 0, 1, 0.4 do | |
| 2404 | fat.Event:wait() | |
| 2405 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2406 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2407 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.75, 0) * angles(math.rad(75), math.rad(45), math.rad(90)), 0.3) | |
| 2408 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.75, 0) * angles(math.rad(75), math.rad(-45), math.rad(-90)), 0.3) | |
| 2409 | RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2410 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2411 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2412 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2413 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2414 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2415 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2416 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2417 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2418 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2419 | end | |
| 2420 | canidle = true | |
| 2421 | canwalk = true | |
| 2422 | con1 = Glove1Finger1ClawFinger.Touched:connect(function(hit) | |
| 2423 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2424 | end | |
| 2425 | ) | |
| 2426 | con2 = Glove1Finger2ClawFinger.Touched:connect(function(hit) | |
| 2427 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2428 | end | |
| 2429 | ) | |
| 2430 | con3 = Glove1Finger3ClawFinger.Touched:connect(function(hit) | |
| 2431 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2432 | end | |
| 2433 | ) | |
| 2434 | con4 = Glove1Finger4ClawFinger.Touched:connect(function(hit) | |
| 2435 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2436 | end | |
| 2437 | ) | |
| 2438 | con5 = Glove2Finger1ClawFinger.Touched:connect(function(hit) | |
| 2439 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2440 | end | |
| 2441 | ) | |
| 2442 | con6 = Glove2Finger2ClawFinger.Touched:connect(function(hit) | |
| 2443 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2444 | end | |
| 2445 | ) | |
| 2446 | con7 = Glove2Finger3ClawFinger.Touched:connect(function(hit) | |
| 2447 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2448 | end | |
| 2449 | ) | |
| 2450 | con8 = Glove2Finger4ClawFinger.Touched:connect(function(hit) | |
| 2451 | Damagefunc(hit, 10, 20, 5, "SlashLifeSteal", RootPart, 0.2, 1) | |
| 2452 | end | |
| 2453 | ) | |
| 2454 | so("http://roblox.com/asset/?id=338586331", Torso, 1, math.random(120, 140) / 100)
| |
| 2455 | for i = 0, 1, 0.15 do | |
| 2456 | fat.Event:wait() | |
| 2457 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
| 2458 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
| 2459 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(45), math.rad(-75)), 0.45) | |
| 2460 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(75), math.rad(-45), math.rad(75)), 0.45) | |
| 2461 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2462 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2463 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2464 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2465 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2466 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2467 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2468 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2469 | end | |
| 2470 | con1:disconnect() | |
| 2471 | con2:disconnect() | |
| 2472 | con3:disconnect() | |
| 2473 | con4:disconnect() | |
| 2474 | con5:disconnect() | |
| 2475 | con6:disconnect() | |
| 2476 | con7:disconnect() | |
| 2477 | con8:disconnect() | |
| 2478 | attack = false | |
| 2479 | end | |
| 2480 | ||
| 2481 | CelestialMatterDistortion = function() | |
| 2482 | if cloaked == true then | |
| 2483 | UnCloak() | |
| 2484 | end | |
| 2485 | invisible = true | |
| 2486 | attack = true | |
| 2487 | for i = 0, 1, 0.12 do | |
| 2488 | fat.Event:wait() | |
| 2489 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 2490 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 2491 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 2492 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3) | |
| 2493 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3) | |
| 2494 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2495 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2496 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2497 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2498 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2499 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2500 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2501 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2502 | end | |
| 2503 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2504 | canidle = false | |
| 2505 | canwalk = false | |
| 2506 | for i = 0, 1, 0.08 do | |
| 2507 | fat.Event:wait() | |
| 2508 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2509 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.1) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.3) | |
| 2510 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(-45)), 0.3) | |
| 2511 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.3) | |
| 2512 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3) | |
| 2513 | RH.C0 = clerp(RH.C0, cf(0.9, -1, 0.45) * angles(math.rad(-35), math.rad(45), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3) | |
| 2514 | LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * angles(math.rad(45), math.rad(-105), math.rad(0)) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3) | |
| 2515 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2516 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2517 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2518 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2519 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2520 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2521 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2522 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2523 | end | |
| 2524 | Head.Transparency = 1 | |
| 2525 | Cloak2() | |
| 2526 | for i = 0, 1, 0.1 do | |
| 2527 | fat.Event:wait() | |
| 2528 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2529 | Head.Transparency = 1 | |
| 2530 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.1) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.3) | |
| 2531 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(20), math.rad(-45)), 0.3) | |
| 2532 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(45)), 0.3) | |
| 2533 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3) | |
| 2534 | RH.C0 = clerp(RH.C0, cf(0.9, -1, 0.45) * angles(math.rad(-35), math.rad(45), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3) | |
| 2535 | LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * angles(math.rad(45), math.rad(-105), math.rad(0)) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3) | |
| 2536 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2537 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2538 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2539 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2540 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2541 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2542 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2543 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2544 | end | |
| 2545 | wait(0.5) | |
| 2546 | Head.Transparency = 1 | |
| 2547 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 2548 | canidle = true | |
| 2549 | canwalk = true | |
| 2550 | attack = false | |
| 2551 | wait(5) | |
| 2552 | UnCloak2() | |
| 2553 | invisible = false | |
| 2554 | end | |
| 2555 | ||
| 2556 | DemolishingGroundPound = function() | |
| 2557 | if cloaked == true then | |
| 2558 | UnCloak() | |
| 2559 | end | |
| 2560 | canidle = false | |
| 2561 | canwalk = false | |
| 2562 | attack = true | |
| 2563 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2564 | for i = 0, 1, 0.08 do | |
| 2565 | fat.Event:wait() | |
| 2566 | Torso.Velocity = RootPart.CFrame.lookVector * 25 | |
| 2567 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2568 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 5 + 2 * i) * angles(math.rad(-15 - 15 * i), math.rad(0), math.rad(0)), 0.3) | |
| 2569 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30 + 15 * i), math.rad(0), math.rad(0)), 0.3) | |
| 2570 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.75 + 0.25 * i, -0.5 + 0.5 * i) * angles(math.rad(135 + 30 * i), math.rad(0), math.rad(-15)), 0.3) | |
| 2571 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75 + 0.25 * i, -0.5 + 0.5 * i) * angles(math.rad(135 + 30 * i), math.rad(0), math.rad(15)), 0.3) | |
| 2572 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20 - 15 * i), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2573 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20 - 15 * i), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2574 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2575 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2576 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2577 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2578 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2579 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2580 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2581 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2582 | end | |
| 2583 | do | |
| 2584 | for i = 0, 1, 0.5 do | |
| 2585 | fat.Event:wait() | |
| 2586 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2587 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * angles(math.rad(135), math.rad(0), math.rad(0)), 0.6) | |
| 2588 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-45), math.rad(0), math.rad(0)), 0.6) | |
| 2589 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.75, -0.5) * angles(math.rad(205), math.rad(0), math.rad(-15)), 0.6) | |
| 2590 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, -0.5) * angles(math.rad(205), math.rad(0), math.rad(15)), 0.6) | |
| 2591 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.6) | |
| 2592 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.6) | |
| 2593 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2594 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2595 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2596 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2597 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2598 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2599 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2600 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2601 | end | |
| 2602 | end | |
| 2603 | hitfloor = nil | |
| 2604 | while hitfloor == nil do | |
| 2605 | fat.Event:wait() | |
| 2606 | hitfloor = rayCast(Head.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 2607 | end | |
| 2608 | Col = hitfloor.BrickColor | |
| 2609 | refpart = part(3, workspace, "SmoothPlastic", 0, 1, Col, "Effect", vt()) | |
| 2610 | refpart.Anchored = true | |
| 2611 | refpart.Parent = workspace | |
| 2612 | refpart.CFrame = cf(posfloor) | |
| 2613 | game:GetService("Debris"):AddItem(refpart, 3)
| |
| 2614 | for i = 1, 20 do | |
| 2615 | local Color = hitfloor.BrickColor | |
| 2616 | local Materials = hitfloor.Material | |
| 2617 | local groundpart = part(3, workspace, "SmoothPlastic", 0, 0, Color, "Ground", vt(math.random(10, 50) / 100, math.random(10, 50) / 100, math.random(10, 50) / 100)) | |
| 2618 | groundpart.Anchored = false | |
| 2619 | groundpart.Material = Materials | |
| 2620 | groundpart.CanCollide = true | |
| 2621 | groundpart.Friction = 0.1 | |
| 2622 | groundpart.Velocity = Vector3.new(math.random(-25, 25), math.random(50, 75), math.random(-25, 25)) | |
| 2623 | groundpart.CFrame = cf(posfloor) * cf(math.random(-250, 250) / 100, 0, math.random(-250, 250) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2624 | local actualgroundpart = part(3, workspace, "SmoothPlastic", 0, 0, Color, "Ground", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100)) | |
| 2625 | actualgroundpart.Anchored = true | |
| 2626 | actualgroundpart.Material = Materials | |
| 2627 | actualgroundpart.CanCollide = false | |
| 2628 | actualgroundpart.Friction = 1 | |
| 2629 | actualgroundpart.CFrame = cf(posfloor) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2630 | game:GetService("Debris"):AddItem(actualgroundpart, 10)
| |
| 2631 | game:GetService("Debris"):AddItem(groundpart, 10)
| |
| 2632 | coroutine.resume(coroutine.create(function() | |
| 2633 | wait(5) | |
| 2634 | while 1 do | |
| 2635 | fat.Event:wait() | |
| 2636 | groundpart.Transparency = groundpart.Transparency + 0.025 | |
| 2637 | actualgroundpart.Transparency = actualgroundpart.Transparency + 0.05 | |
| 2638 | end | |
| 2639 | end | |
| 2640 | )) | |
| 2641 | end | |
| 2642 | so("http://roblox.com/asset/?id=200632875", Torso, 1, 1)
| |
| 2643 | so("http://roblox.com/asset/?id=263610131", Torso, 1, 1)
| |
| 2644 | so("http://roblox.com/asset/?id=263610111", Torso, 1, 1)
| |
| 2645 | JumpEffect(Col, cf(refpart.Position), 1, 1, 1, 1, 1, 4, 0.05) | |
| 2646 | JumpEffect(Col, cf(refpart.Position), 1, 1, 1, 1, 1, 1, 0.025) | |
| 2647 | MagniDamage(refpart, 12, 15, 20, 10, "Normal") | |
| 2648 | for i = 0, 1, 0.4 do | |
| 2649 | fat.Event:wait() | |
| 2650 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2651 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * angles(math.rad(135 + 15 * i), math.rad(0), math.rad(0)), 0.6) | |
| 2652 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-45 - 15 * i), math.rad(0), math.rad(0)), 0.6) | |
| 2653 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.75, -0.5) * angles(math.rad(205 + 15 * i), math.rad(0), math.rad(-15)), 0.6) | |
| 2654 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, -0.5) * angles(math.rad(205 + 15 * i), math.rad(0), math.rad(15)), 0.6) | |
| 2655 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20 - 15 * i), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.6) | |
| 2656 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20 - 15 * i), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.6) | |
| 2657 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2658 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2659 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2660 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2661 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2662 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2663 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2664 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2665 | end | |
| 2666 | for i = 0, 1, 0.05 do | |
| 2667 | fat.Event:wait() | |
| 2668 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2669 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.45) | |
| 2670 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-45), math.rad(0), math.rad(0)), 0.45) | |
| 2671 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(-15)), 0.45) | |
| 2672 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(15)), 0.45) | |
| 2673 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.45) | |
| 2674 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.45) | |
| 2675 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2676 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2677 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2678 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2679 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2680 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2681 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2682 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2683 | end | |
| 2684 | for i = 0, 1, 0.15 do | |
| 2685 | fat.Event:wait() | |
| 2686 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2687 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.1) * angles(math.rad(45), math.rad(0), math.rad(0)), 0.45) | |
| 2688 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.45) | |
| 2689 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(15)), 0.45) | |
| 2690 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-15)), 0.45) | |
| 2691 | RH.C0 = clerp(RH.C0, cf(0.9, -1, 0) * angles(math.rad(-15), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2692 | LH.C0 = clerp(LH.C0, cf(-1, 0.8, -0.8) * angles(math.rad(35), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2693 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2694 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2695 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2696 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2697 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2698 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2699 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2700 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2701 | end | |
| 2702 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 2703 | canidle = true | |
| 2704 | canwalk = true | |
| 2705 | attack = false | |
| 2706 | end | |
| 2707 | ||
| 2708 | CometalBlast = function() | |
| 2709 | attack = true | |
| 2710 | canidle = false | |
| 2711 | canwalk = false | |
| 2712 | for i = 0, 1, 0.12 do | |
| 2713 | fat.Event:wait() | |
| 2714 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2715 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.45) | |
| 2716 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.45) | |
| 2717 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-60)), 0.45) | |
| 2718 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(-30)), 0.45) | |
| 2719 | RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45) | |
| 2720 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-45), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45) | |
| 2721 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2722 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2723 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2724 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2725 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2726 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2727 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2728 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2729 | end | |
| 2730 | so("http://roblox.com/asset/?id=199145659", LeftArm, 1, math.random(150, 200) / 100)
| |
| 2731 | do | |
| 2732 | for i = 0, 1, 0.12 do | |
| 2733 | fat.Event:wait() | |
| 2734 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2735 | OrbEffect(TorsoColor, LeftArm.CFrame * cf(0, -1, 0), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1) | |
| 2736 | BlockShockwave(TorsoColor, LeftArm.CFrame * cf(0, -1, 0), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1) | |
| 2737 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.45) | |
| 2738 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.45) | |
| 2739 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-60)), 0.45) | |
| 2740 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(-30)), 0.45) | |
| 2741 | RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45) | |
| 2742 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-45), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.45) | |
| 2743 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2744 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2745 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2746 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2747 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2748 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2749 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2750 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2751 | end | |
| 2752 | end | |
| 2753 | canidle = true | |
| 2754 | canwalk = true | |
| 2755 | for i = 0, 1, 0.08 do | |
| 2756 | fat.Event:wait() | |
| 2757 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 2758 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.45) | |
| 2759 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(75)), 0.45) | |
| 2760 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(30)), 0.45) | |
| 2761 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-15), math.rad(-90)), 0.45) | |
| 2762 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2763 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2764 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2765 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2766 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2767 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2768 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2769 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2770 | end | |
| 2771 | canidle = false | |
| 2772 | canwalk = false | |
| 2773 | refpart = part(3, workspace, "SmoothPlastic", 0, 1, Col, "Effect", vt()) | |
| 2774 | refpart.Anchored = true | |
| 2775 | refpart.CFrame = RootPart.CFrame * cf(0, 0, -10) | |
| 2776 | game:GetService("Debris"):AddItem(refpart, 3)
| |
| 2777 | for i = 1, 20 do | |
| 2778 | local groundpart = part(3, workspace, "SmoothPlastic", 0, 0, TorsoColor, "Ground", vt(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100)) | |
| 2779 | groundpart.Anchored = false | |
| 2780 | groundpart.Material = "Neon" | |
| 2781 | groundpart.CanCollide = false | |
| 2782 | groundpart.Friction = 0.1 | |
| 2783 | groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(75, 100), math.random(-50, 50)) | |
| 2784 | groundpart.CFrame = cf(refpart.Position) * cf(math.random(-250, 250) / 100, 0, math.random(-250, 250) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2785 | game:GetService("Debris"):AddItem(groundpart, 5)
| |
| 2786 | coroutine.resume(coroutine.create(function() | |
| 2787 | while 1 do | |
| 2788 | fat.Event:wait() | |
| 2789 | groundpart.Transparency = groundpart.Transparency + 0.025 | |
| 2790 | end | |
| 2791 | end | |
| 2792 | )) | |
| 2793 | end | |
| 2794 | so("http://roblox.com/asset/?id=199145534", refpart, 1, math.random(150, 200) / 100)
| |
| 2795 | for i = 1, math.random(3, 6) do | |
| 2796 | OrbEffect(TorsoColor, cf(refpart.Position), 1, 1, 1, 1, 1, 1, 0.025) | |
| 2797 | Shockwave(TorsoColor, cf(refpart.Position), 1, 1, 1, 1, 1, 1, 0.025) | |
| 2798 | end | |
| 2799 | MagniDamage(refpart, 20, 8, 16, 20, "Normal") | |
| 2800 | Humanoid.Jump = true | |
| 2801 | Torso.Velocity = Vector3.new(0, 7.5, 0) | |
| 2802 | Torso.Velocity = RootPart.CFrame.lookVector * -75 | |
| 2803 | for i = 1, math.random(3, 6) do | |
| 2804 | OrbEffect(TorsoColor, LeftArm.CFrame * cf(0, -1, 0), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.075) | |
| 2805 | BlockShockwave(TorsoColor, LeftArm.CFrame * cf(0, -1, 0), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.075) | |
| 2806 | end | |
| 2807 | for i = 0, 1, 0.08 do | |
| 2808 | fat.Event:wait() | |
| 2809 | Humanoid.WalkSpeed = 0 * speed.Value | |
| 2810 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 2, 0) * angles(math.rad(-20 - 45 * i), math.rad(0), math.rad(0)), 0.45) | |
| 2811 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45) | |
| 2812 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(45), math.rad(15)), 0.45) | |
| 2813 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(-45), math.rad(-15)), 0.45) | |
| 2814 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(45), math.rad(90), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0)), 0.45) | |
| 2815 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(45), math.rad(-90), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0)), 0.45) | |
| 2816 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2817 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2818 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2819 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2820 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2821 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2822 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2823 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2824 | end | |
| 2825 | canidle = true | |
| 2826 | canwalk = true | |
| 2827 | attack = false | |
| 2828 | end | |
| 2829 | ||
| 2830 | BlackHole = function() | |
| 2831 | if cloaked == true then | |
| 2832 | UnCloak() | |
| 2833 | end | |
| 2834 | canidle = false | |
| 2835 | canwalk = false | |
| 2836 | attack = true | |
| 2837 | Humanoid.Jump = true | |
| 2838 | so("http://roblox.com/asset/?id=199145761", Torso, 1, math.random(75, 125) / 100)
| |
| 2839 | for i = 1, 2 do | |
| 2840 | for i = 0, 1, 0.12 do | |
| 2841 | fat.Event:wait() | |
| 2842 | Torso.Velocity = vt(0, 20, 0) | |
| 2843 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3) | |
| 2844 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 2845 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3) | |
| 2846 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3) | |
| 2847 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2848 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 2849 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2850 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2851 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2852 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2853 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2854 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2855 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2856 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2857 | BlockShockwave(TorsoColor, LeftLeg.CFrame * cf(0, -1, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
| 2858 | BlockShockwave(TorsoColor, RightLeg.CFrame * cf(0, -1, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
| 2859 | end | |
| 2860 | end | |
| 2861 | so("http://roblox.com/asset/?id=199145659", RightArm, 1, math.random(100, 150) / 100)
| |
| 2862 | for i = 0, 1, 0.04 do | |
| 2863 | fat.Event:wait() | |
| 2864 | Torso.Velocity = vt(0, 4, 0) | |
| 2865 | OrbEffect(TorsoColor, RightArm.CFrame * cf(0, -1, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.075) | |
| 2866 | BlockShockwave(TorsoColor, RightArm.CFrame * cf(0, -1, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.075) | |
| 2867 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(-45)), 0.3) | |
| 2868 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(45)), 0.3) | |
| 2869 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(105), math.rad(0), math.rad(75)), 0.3) | |
| 2870 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3) | |
| 2871 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-15), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2872 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(15), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2873 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2874 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2875 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2876 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2877 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2878 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2879 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2880 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2881 | BlockShockwave(TorsoColor, LeftLeg.CFrame * cf(0, -1, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
| 2882 | BlockShockwave(TorsoColor, RightLeg.CFrame * cf(0, -1, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
| 2883 | end | |
| 2884 | portal = true | |
| 2885 | portalrefpart = part(3, workspace, "SmoothPlastic", 0, 1, Col, "Effect", vt()) | |
| 2886 | portalrefpart.Anchored = true | |
| 2887 | portalrefpart.CFrame = Head.CFrame * cf(0, 0, -15) | |
| 2888 | game:GetService("Debris"):AddItem(portalrefpart, 3)
| |
| 2889 | portalrefpart2 = part(3, workspace, "SmoothPlastic", 0, 1, Col, "Effect", vt()) | |
| 2890 | portalrefpart2.Anchored = true | |
| 2891 | portalrefpart2.CFrame = Head.CFrame * cf(0, 0, -15) | |
| 2892 | game:GetService("Debris"):AddItem(portalrefpart2, 10)
| |
| 2893 | so("http://roblox.com/asset/?id=203691653", portalrefpart, 1, math.random(100, 150) / 100)
| |
| 2894 | so("http://roblox.com/asset/?id=203691562", portalrefpart, 1, math.random(100, 150) / 100)
| |
| 2895 | for i = 1, math.random(3, 6) do | |
| 2896 | OrbEffect(TorsoColor, cf(portalrefpart.Position), 2, 2, 2, 2, 2, 2, 0.025) | |
| 2897 | BlockShockwave(TorsoColor, cf(portalrefpart.Position), 2, 2, 2, 2, 2, 2, 0.025) | |
| 2898 | end | |
| 2899 | coroutine.resume(coroutine.create(function() | |
| 2900 | while portalrefpart.Parent == workspace do | |
| 2901 | fat.Event:wait() | |
| 2902 | PWN = {}
| |
| 2903 | --[[for _,v in pairs(workspace:children()) do | |
| 2904 | if v.className == "Model" and v:FindFirstChild("Humanoid") ~= nil and v.Humanoid.Health > 0 and v:FindFirstChild("Torso") ~= nil and v ~= Character and v.Torso.Position - portalrefpart.Position.magnitude <= 35 then
| |
| 2905 | table.insert(PWN, v.Torso) | |
| 2906 | end | |
| 2907 | end]] | |
| 2908 | for _,t in pairs(PWN) do | |
| 2909 | Mag = portalrefpart.Position - t.Position.magnitude / 2 | |
| 2910 | rl = it("BodyAngularVelocity")
| |
| 2911 | rl.P = 2000 | |
| 2912 | rl.maxTorque = vt(9999, 9999, 9999) | |
| 2913 | rl.angularvelocity = vt(math.random(-20, 20), math.random(-20, 20), math.random(-20, 20)) / 10 | |
| 2914 | rl.Parent = t | |
| 2915 | game:GetService("Debris"):AddItem(rl, 0.1)
| |
| 2916 | if Mag <= 2 then | |
| 2917 | do | |
| 2918 | vl = it("BodyVelocity")
| |
| 2919 | vl.P = 2000 | |
| 2920 | vl.maxForce = vt(9999, 9999, 9999) | |
| 2921 | vl.velocity = t.Position - portalrefpart.Position.unit * -(50 / Mag) | |
| 2922 | vl.Parent = t | |
| 2923 | game:GetService("Debris"):AddItem(vl, 0.1)
| |
| 2924 | -- DECOMPILER ERROR at PC144: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 2925 | ||
| 2926 | -- DECOMPILER ERROR at PC144: LeaveBlock: unexpected jumping out IF_STMT | |
| 2927 | ||
| 2928 | end | |
| 2929 | end | |
| 2930 | end | |
| 2931 | so("http://roblox.com/asset/?id=203691610", portalrefpart, 1, math.random(100, 150) / 100)
| |
| 2932 | MagniDamage(portalrefpart, 35, 1, 2, 1, "BlackHoleDamage") | |
| 2933 | OrbEffect(TorsoColor, cf(portalrefpart.Position), 2, 2, 2, 2, 2, 2, 0.075) | |
| 2934 | BlockShockwave(TorsoColor, cf(portalrefpart.Position), 2, 2, 2, 2, 2, 2, 0.05) | |
| 2935 | end | |
| 2936 | if portalrefpart.Parent ~= workspace then | |
| 2937 | so("http://roblox.com/asset/?id=203691699", portalrefpart2, 1, math.random(100, 150) / 100)
| |
| 2938 | for i = 0, 1, 0.08 do | |
| 2939 | fat.Event:wait() | |
| 2940 | for i = 1, math.random(3, 6) do | |
| 2941 | OrbEffect(TorsoColor, cf(portalrefpart2.Position), 20, 20, 20, -1.5, -1.5, -1.5, 0.075) | |
| 2942 | BlockShockwave(TorsoColor, cf(portalrefpart2.Position), 20, 20, 20, -1.5, -1.5, -1.5, 0.075) | |
| 2943 | end | |
| 2944 | end | |
| 2945 | wait(0.5) | |
| 2946 | so("http://roblox.com/asset/?id=203691510", portalrefpart2, 1, math.random(100, 150) / 100)
| |
| 2947 | so("http://roblox.com/asset/?id=199145534", portalrefpart2, 1, math.random(100, 150) / 100)
| |
| 2948 | MagniDamage(portalrefpart2, 50, 10, 20, 10, "BlackHoleDamage2") | |
| 2949 | for i = 1, math.random(3, 6) do | |
| 2950 | OrbEffect(TorsoColor, cf(portalrefpart2.Position), 0.1, 0.1, 0.1, 2, 2, 2, 0.025) | |
| 2951 | BlockShockwave(TorsoColor, cf(portalrefpart2.Position), 0.1, 0.1, 0.1, 2, 2, 2, 0.025) | |
| 2952 | end | |
| 2953 | end | |
| 2954 | end | |
| 2955 | )) | |
| 2956 | for i = 0, 1, 0.08 do | |
| 2957 | fat.Event:wait() | |
| 2958 | Torso.Velocity = vt(0, 4, 0) | |
| 2959 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(45)), 0.3) | |
| 2960 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(-45)), 0.3) | |
| 2961 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3) | |
| 2962 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3) | |
| 2963 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(15), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 2964 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-15), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 2965 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2966 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2967 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2968 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 2969 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2970 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2971 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2972 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 2973 | BlockShockwave(TorsoColor, LeftLeg.CFrame * cf(0, -1, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
| 2974 | BlockShockwave(TorsoColor, RightLeg.CFrame * cf(0, -1, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
| 2975 | end | |
| 2976 | canidle = true | |
| 2977 | canwalk = true | |
| 2978 | attack = false | |
| 2979 | end | |
| 2980 | ||
| 2981 | DoubleJump = function() | |
| 2982 | canidle = false | |
| 2983 | canwalk = false | |
| 2984 | attack = true | |
| 2985 | Torso.Velocity = vt(0, 70, 0) | |
| 2986 | JumpEffect("Light stone grey", cf(Torso.Position), 0.1, 0.1, 0.75, 0.75, 0.75, 0.5, 0.075)
| |
| 2987 | so("http://roblox.com/asset/?id=161006221", Torso, 0.5, math.random(150, 200) / 100)
| |
| 2988 | for i = 0, 1, 0.12 do | |
| 2989 | fat.Event:wait() | |
| 2990 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2) * angles(math.rad(0 + 360 * i), math.rad(0), math.rad(0)), 0.3) | |
| 2991 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 2992 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3) | |
| 2993 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(30)), 0.3) | |
| 2994 | RH.C0 = clerp(RH.C0, cf(1, 0.5, -1) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2995 | LH.C0 = clerp(LH.C0, cf(-1, 0.5, -1) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 2996 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2997 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2998 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 2999 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3000 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3001 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3002 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3003 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 3004 | end | |
| 3005 | canidle = true | |
| 3006 | canwalk = true | |
| 3007 | attack = false | |
| 3008 | end | |
| 3009 | ||
| 3010 | mouse.Button1Down:connect(function() | |
| 3011 | if attack == false then | |
| 3012 | if attacktype == 1 then | |
| 3013 | attacktype = 2 | |
| 3014 | attackone() | |
| 3015 | else | |
| 3016 | if attacktype == 2 then | |
| 3017 | attacktype = 3 | |
| 3018 | attacktwo() | |
| 3019 | else | |
| 3020 | if attacktype == 3 then | |
| 3021 | attacktype = 4 | |
| 3022 | attackthree() | |
| 3023 | else | |
| 3024 | if attacktype == 4 then | |
| 3025 | attacktype = 1 | |
| 3026 | attackfour() | |
| 3027 | end | |
| 3028 | end | |
| 3029 | end | |
| 3030 | end | |
| 3031 | end | |
| 3032 | coroutine.resume(coroutine.create(function() | |
| 3033 | for i = 1, 50 do | |
| 3034 | if attack == false then | |
| 3035 | fat.Event:wait() | |
| 3036 | end | |
| 3037 | end | |
| 3038 | if attack == false then | |
| 3039 | attacktype = 1 | |
| 3040 | end | |
| 3041 | end | |
| 3042 | )) | |
| 3043 | end | |
| 3044 | ) | |
| 3045 | mouse.KeyDown:connect(function(k) | |
| 3046 | k = k:lower() | |
| 3047 | if k == "e" and attack == false and usedstealth == false and invisible == false then | |
| 3048 | if cloaked == false and stealth >= 50 then | |
| 3049 | usedstealth = true | |
| 3050 | Cloak() | |
| 3051 | wait(0.5) | |
| 3052 | usedstealth = false | |
| 3053 | else | |
| 3054 | if cloaked == true then | |
| 3055 | usedstealth = true | |
| 3056 | UnCloak() | |
| 3057 | wait(0.5) | |
| 3058 | usedstealth = false | |
| 3059 | end | |
| 3060 | end | |
| 3061 | while 1 do | |
| 3062 | while 1 do | |
| 3063 | if cloaked == true and stealth >= 0 then | |
| 3064 | fat.Event:wait() | |
| 3065 | stealth = stealth - 0.66666666666667 | |
| 3066 | if Humanoid.Health > 30 then | |
| 3067 | Torso.Velocity = RootPart.CFrame.lookVector * (25 * Humanoid.Health / 50) | |
| 3068 | -- DECOMPILER ERROR at PC69: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 3069 | ||
| 3070 | -- DECOMPILER ERROR at PC69: LeaveBlock: unexpected jumping out IF_STMT | |
| 3071 | ||
| 3072 | -- DECOMPILER ERROR at PC69: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 3073 | ||
| 3074 | -- DECOMPILER ERROR at PC69: LeaveBlock: unexpected jumping out IF_STMT | |
| 3075 | ||
| 3076 | end | |
| 3077 | end | |
| 3078 | end | |
| 3079 | if Humanoid.Health < 30 then | |
| 3080 | Torso.Velocity = RootPart.CFrame.lookVector * 20 | |
| 3081 | end | |
| 3082 | end | |
| 3083 | if stealth <= 0 then | |
| 3084 | UnCloak() | |
| 3085 | end | |
| 3086 | end | |
| 3087 | if k == "z" then | |
| 3088 | if attack == false and cloaked == true and co1 <= cooldown1 and skill1stam <= stamina then | |
| 3089 | cooldown1 = 0 | |
| 3090 | subtractstamina(skill1stam) | |
| 3091 | SpiralDispursion() | |
| 3092 | else | |
| 3093 | if attack == false and cloaked == false and co1 <= cooldown1 and skill1stam <= stamina then | |
| 3094 | cooldown1 = cooldown1 / 2 | |
| 3095 | subtractstamina(skill1stam) | |
| 3096 | GalacticLunge() | |
| 3097 | end | |
| 3098 | end | |
| 3099 | end | |
| 3100 | if k == "x" and attack == false and stealth >= 30 and co2 <= cooldown2 and skill2stam <= stamina then | |
| 3101 | cooldown2 = 0 | |
| 3102 | subtractstamina(skill2stam) | |
| 3103 | stealth = stealth - 30 | |
| 3104 | CelestialMatterDistortion() | |
| 3105 | end | |
| 3106 | if k == "c" then | |
| 3107 | if attack == false and cloaked == true and co3 <= cooldown3 and skill3stam <= stamina then | |
| 3108 | cooldown3 = 0 | |
| 3109 | subtractstamina(skill3stam) | |
| 3110 | DemolishingGroundPound() | |
| 3111 | else | |
| 3112 | if attack == false and cloaked == false and co3 <= cooldown3 and skill3stam <= stamina then | |
| 3113 | cooldown3 = cooldown3 / 2 | |
| 3114 | subtractstamina(skill3stam) | |
| 3115 | CometalBlast() | |
| 3116 | end | |
| 3117 | end | |
| 3118 | end | |
| 3119 | if k == "v" and attack == false and co4 <= cooldown4 and skill4stam <= stamina then | |
| 3120 | cooldown4 = 0 | |
| 3121 | subtractstamina(skill4stam) | |
| 3122 | BlackHole() | |
| 3123 | end | |
| 3124 | if k == " " and attack == false and cloaked == false and Anim == "Jump" and jumpstamina == 100 then | |
| 3125 | DoubleJump() | |
| 3126 | jumpstamina = 0 | |
| 3127 | end | |
| 3128 | end | |
| 3129 | ) | |
| 3130 | mouse.KeyUp:connect(function(k) | |
| 3131 | k = k:lower() | |
| 3132 | end | |
| 3133 | ) | |
| 3134 | updateskills = function() | |
| 3135 | if cooldown1 <= co1 then | |
| 3136 | cooldown1 = cooldown1 + 0.033333333333333 | |
| 3137 | end | |
| 3138 | if cooldown2 <= co2 then | |
| 3139 | cooldown2 = cooldown2 + 0.033333333333333 | |
| 3140 | end | |
| 3141 | if cooldown3 <= co3 then | |
| 3142 | cooldown3 = cooldown3 + 0.033333333333333 | |
| 3143 | end | |
| 3144 | if cooldown4 <= co4 then | |
| 3145 | cooldown4 = cooldown4 + 0.033333333333333 | |
| 3146 | end | |
| 3147 | if stamina <= skill1stam then | |
| 3148 | bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
| 3149 | else | |
| 3150 | bar4.BackgroundColor3 = skillcolorscheme | |
| 3151 | end | |
| 3152 | if stamina <= skill2stam then | |
| 3153 | bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
| 3154 | else | |
| 3155 | bar3.BackgroundColor3 = skillcolorscheme | |
| 3156 | end | |
| 3157 | if stamina <= skill3stam then | |
| 3158 | bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
| 3159 | else | |
| 3160 | bar1.BackgroundColor3 = skillcolorscheme | |
| 3161 | end | |
| 3162 | if stamina <= skill4stam then | |
| 3163 | bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549) | |
| 3164 | else | |
| 3165 | bar2.BackgroundColor3 = skillcolorscheme | |
| 3166 | end | |
| 3167 | if stamina <= maxstamina then | |
| 3168 | stamina = stamina + recovermana / 30 | |
| 3169 | end | |
| 3170 | if stealth <= maxstealth then | |
| 3171 | stealth = stealth + recoverstealth / 30 | |
| 3172 | end | |
| 3173 | if jumpstamina <= maxjumpstamina then | |
| 3174 | jumpstamina = jumpstamina + recoverjumpstamina / 30 | |
| 3175 | if maxjumpstamina <= jumpstamina then | |
| 3176 | jumpstamina = 100 | |
| 3177 | end | |
| 3178 | if maxstealth <= stealth then | |
| 3179 | stealth = 100 | |
| 3180 | end | |
| 3181 | if co1 <= cooldown1 then | |
| 3182 | cooldown1 = 20 | |
| 3183 | end | |
| 3184 | if co2 <= cooldown2 then | |
| 3185 | cooldown2 = 30 | |
| 3186 | end | |
| 3187 | if co3 <= cooldown3 then | |
| 3188 | cooldown3 = 40 | |
| 3189 | end | |
| 3190 | if co4 <= cooldown4 then | |
| 3191 | cooldown4 = 100 | |
| 3192 | end | |
| 3193 | end | |
| 3194 | end | |
| 3195 | ||
| 3196 | Character.Humanoid.Died:connect(function() | |
| 3197 | for i,v in pairs(Character:GetChildren()) do | |
| 3198 | if v:IsA("Model") then
| |
| 3199 | v:Clone() | |
| 3200 | v.Parent = workspace | |
| 3201 | v.Children.CanCollide = true | |
| 3202 | end | |
| 3203 | end | |
| 3204 | end | |
| 3205 | ) | |
| 3206 | game:GetService("RunService").Heartbeat:connect(function()
| |
| 3207 | updateskills() | |
| 3208 | healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3209 | staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3210 | stealthcover:TweenSize(ud(1 * (stealth / maxstealth), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3211 | jumpstaminacover:TweenSize(ud(1 * (jumpstamina / maxjumpstamina), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3212 | bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3213 | bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3214 | bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3215 | bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5) | |
| 3216 | end | |
| 3217 | ) | |
| 3218 | local sine = 0 | |
| 3219 | local change = 1 | |
| 3220 | local val = 0 | |
| 3221 | fat.Event:connect(function() | |
| 3222 | sine = sine + change | |
| 3223 | local torvel = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 3224 | local velderp = RootPart.Velocity.y | |
| 3225 | hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 3226 | if equipped == true or equipped == false then | |
| 3227 | if attack == false then | |
| 3228 | idle = idle + 1 | |
| 3229 | else | |
| 3230 | idle = 0 | |
| 3231 | end | |
| 3232 | if ((idle >= 500 and attack ~= false) or RootPart.Velocity.y > 1) and hitfloor == nil then | |
| 3233 | Anim = "Jump" | |
| 3234 | if attack == false and cloaked == false then | |
| 3235 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3236 | change = 2 | |
| 3237 | fat.Event:wait() | |
| 3238 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3239 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3240 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(20)), 0.3) | |
| 3241 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.3) | |
| 3242 | RH.C0 = clerp(RH.C0, cf(1, -0.5, -0.5) * angles(math.rad(-10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 3243 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 3244 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3245 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3246 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3247 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3248 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3249 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3250 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3251 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3252 | else | |
| 3253 | if attack == false and cloaked == true then | |
| 3254 | fat.Event:wait() | |
| 3255 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3256 | change = 2 | |
| 3257 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3) | |
| 3258 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-45), math.rad(0), math.rad(0)), 0.3) | |
| 3259 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(-30), math.rad(20)), 0.3) | |
| 3260 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15), math.rad(30), math.rad(-20)), 0.3) | |
| 3261 | RH.C0 = clerp(RH.C0, cf(1, -0.9, 0.1) * angles(math.rad(-15), math.rad(75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3262 | LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0.1) * angles(math.rad(-15), math.rad(-75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3263 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3264 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3265 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3266 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3267 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3268 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3269 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3270 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3271 | end | |
| 3272 | end | |
| 3273 | else | |
| 3274 | if RootPart.Velocity.y < -1 and hitfloor == nil then | |
| 3275 | Anim = "Fall" | |
| 3276 | if attack == false and cloaked == false then | |
| 3277 | fat.Event:wait() | |
| 3278 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3279 | change = 2 | |
| 3280 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 3281 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 3282 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.75, 0) * angles(math.rad(-10), math.rad(0), math.rad(135)), 0.3) | |
| 3283 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.75, 0) * angles(math.rad(-10), math.rad(0), math.rad(-135)), 0.3) | |
| 3284 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 3285 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 3286 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(-0.15, -0.15, -0.15) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.45) | |
| 3287 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(-0.25, -0.15, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.45) | |
| 3288 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(-0.45, -0.35, 0.1) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.45) | |
| 3289 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-0.15, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.45) | |
| 3290 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0.15, -0.15, -0.15) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.45) | |
| 3291 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0.25, -0.15, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.45) | |
| 3292 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0.45, -0.35, 0.1) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.45) | |
| 3293 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0.15, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.45) | |
| 3294 | else | |
| 3295 | if attack == false and cloaked == true then | |
| 3296 | fat.Event:wait() | |
| 3297 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3298 | change = 2 | |
| 3299 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3) | |
| 3300 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-45), math.rad(0), math.rad(0)), 0.3) | |
| 3301 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(-30), math.rad(20)), 0.3) | |
| 3302 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15), math.rad(30), math.rad(-20)), 0.3) | |
| 3303 | RH.C0 = clerp(RH.C0, cf(1, -0.9, 0.1) * angles(math.rad(-15), math.rad(75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3304 | LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0.1) * angles(math.rad(-15), math.rad(-75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3305 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3306 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3307 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3308 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3309 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3310 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3311 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3312 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3313 | end | |
| 3314 | end | |
| 3315 | else | |
| 3316 | if torvel.x < 1 and torvel.z < 1 and hitfloor ~= nil then | |
| 3317 | Anim = "Idle" | |
| 3318 | if attack == false then | |
| 3319 | fat.Event:wait() | |
| 3320 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3321 | change = 2 | |
| 3322 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 15)) * angles(math.rad(10 - 2.5 * math.cos(sine / 15)), math.rad(0), math.rad(-45)), 0.3) | |
| 3323 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10 - 2.5 * math.cos(sine / 15)) + -math.sin(sine / 15) / 15, math.rad(0 - 2.5 * math.cos(sine / 15)) + -math.sin(sine / 15) / 15, math.rad(45)), 0.3) | |
| 3324 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.55 + 0.05 * math.cos(sine / 15) + -math.sin(sine / 15) / 15, 0) * angles(math.rad(15), math.rad(0), math.rad(15 + 5 * math.cos(sine / 15))), 0.3) | |
| 3325 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.55 + 0.05 * math.cos(sine / 15) + math.sin(sine / 15) / 15, -0.5) * angles(math.rad(105 + 5 * math.cos(sine / 15)) + -math.sin(sine / 15) / 15, math.rad(0), math.rad(45)), 0.3) | |
| 3326 | RH.C0 = clerp(RH.C0, cf(1.1, -0.9 - 0.05 * math.cos(sine / 15), 0.1) * angles(math.rad(-10 - 2.5 * math.cos(sine / 15)), math.rad(75), math.rad(0)) * angles(math.rad(-5 - 2.5 * math.cos(sine / 15)), math.rad(0), math.rad(0)), 0.3) | |
| 3327 | LH.C0 = clerp(LH.C0, cf(-1.2, -0.9 - 0.15 * math.cos(sine / 15), 0.1) * angles(math.rad(15 - 2.5 * math.cos(sine / 15)), math.rad(-60), math.rad(0)) * angles(math.rad(-10 + 2.5 * math.cos(sine / 15)), math.rad(0), math.rad(0)), 0.3) | |
| 3328 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 3329 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 3330 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 3331 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3332 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3333 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3334 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3335 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 3336 | else | |
| 3337 | if attack == true and canidle == true then | |
| 3338 | fat.Event:wait() | |
| 3339 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3340 | change = 2 | |
| 3341 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 3342 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 3343 | end | |
| 3344 | end | |
| 3345 | else | |
| 3346 | if torvel.x > 2 or torvel.z > 2 and torvel.x < 22 or torvel.z <22 and hitfloor ~= nil then | |
| 3347 | Anim = "Walk" | |
| 3348 | if attack == false and cloaked == false then | |
| 3349 | fat.Event:wait() | |
| 3350 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3351 | change = 2 | |
| 3352 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.25 + 0.2 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(20), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-60 + 5 * math.cos(sine / 7))), 0.3) | |
| 3353 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0 + 0.05 * math.cos(sine / 3.5)) * angles(math.rad(0), math.rad(2.5 * math.cos(sine / 7)), math.rad(60 - 5 * math.cos(sine / 7)) + Head.RotVelocity.Y / 15), 0.3) | |
| 3354 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.55 + 0.05 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7, 0) * angles(math.rad(10), math.rad(-30), math.rad(60 + 5 * math.cos(sine / 3.5))), 0.3) | |
| 3355 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.55 + 0.05 * math.cos(sine / 3.5) + math.sin(sine / 3.5) / 7, -0.5) * angles(math.rad(105 + 5 * math.cos(sine / 7)), math.rad(0), math.rad(45)), 0.3) | |
| 3356 | RH.C0 = clerp(RH.C0, cf(0.9 + 0.25 * math.cos(sine / 7) / 2, -1.1 - 0.25 * math.cos(sine / 7) / 2, 0.25 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 45 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 5 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(-20 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
| 3357 | LH.C0 = clerp(LH.C0, cf(-1 - 0.25 * math.cos(sine / 7) / 2, -0.65 + 0.25 * math.cos(sine / 7) / 2, -0.25 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 45 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 5 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(-30 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3) | |
| 3358 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(-0.25, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.45) | |
| 3359 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(-0.25, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.45) | |
| 3360 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(-0.25, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.45) | |
| 3361 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0.25, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.45) | |
| 3362 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3363 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3364 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(-1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.45) | |
| 3365 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(1.5, -0.6, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.45) | |
| 3366 | else | |
| 3367 | if attack == true and canwalk == true then | |
| 3368 | fat.Event:wait() | |
| 3369 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3370 | change = 2 | |
| 3371 | RH.C0 = clerp(RH.C0, cf(1, -1 - 0.25 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-25 - 45 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 3372 | LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.25 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-25 + 45 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 3373 | end | |
| 3374 | end | |
| 3375 | else | |
| 3376 | if torvel.x >= 22 or torvel.z >= 22 and hitfloor ~= nil then | |
| 3377 | Anim = "Run" | |
| 3378 | if attack == false and cloaked == true then | |
| 3379 | fat.Event:wait() | |
| 3380 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 3381 | change = 2 | |
| 3382 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3) | |
| 3383 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-45), math.rad(0), math.rad(0)), 0.3) | |
| 3384 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15), math.rad(-30), math.rad(20)), 0.3) | |
| 3385 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-15), math.rad(30), math.rad(-20)), 0.3) | |
| 3386 | RH.C0 = clerp(RH.C0, cf(1, -0.9, 0.1) * angles(math.rad(-15), math.rad(75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3387 | LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0.1) * angles(math.rad(-15), math.rad(-75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 3388 | Finger1Handleweld.C0 = clerp(Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3389 | Finger2Handleweld.C0 = clerp(Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3390 | Finger3Handleweld.C0 = clerp(Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3391 | Finger4Handleweld.C0 = clerp(Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3392 | Glove2Finger1Handleweld.C0 = clerp(Glove2Finger1Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3393 | Glove2Finger2Handleweld.C0 = clerp(Glove2Finger2Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3394 | Glove2Finger3Handleweld.C0 = clerp(Glove2Finger3Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3395 | Glove2Finger4Handleweld.C0 = clerp(Glove2Finger4Handleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 3396 | end | |
| 3397 | end | |
| 3398 | end | |
| 3399 | end | |
| 3400 | end | |
| 3401 | end | |
| 3402 | end | |
| 3403 | end | |
| 3404 | ) |