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://582365997"-- | |
| 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 | --meme smash!11!!! pls just stop | |
| 14 | Player = game:GetService("Players").LocalPlayer
| |
| 15 | Character = Player.Character | |
| 16 | PlayerGui = Player.PlayerGui | |
| 17 | Backpack = Player.Backpack | |
| 18 | Torso = Character.Torso | |
| 19 | Head = Character.Head | |
| 20 | Humanoid = Character.Humanoid | |
| 21 | LeftArm = Character["Left Arm"] | |
| 22 | LeftLeg = Character["Left Leg"] | |
| 23 | RightArm = Character["Right Arm"] | |
| 24 | RightLeg = Character["Right Leg"] | |
| 25 | LS = Torso["Left Shoulder"] | |
| 26 | LH = Torso["Left Hip"] | |
| 27 | RS = Torso["Right Shoulder"] | |
| 28 | RH = Torso["Right Hip"] | |
| 29 | Face = Head.face | |
| 30 | Neck = Torso.Neck | |
| 31 | it = Instance.new | |
| 32 | attacktype = 1 | |
| 33 | vt = Vector3.new | |
| 34 | cf = CFrame.new | |
| 35 | euler = CFrame.fromEulerAnglesXYZ | |
| 36 | angles = CFrame.Angles | |
| 37 | cloaked = false | |
| 38 | necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 39 | necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 40 | LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 41 | LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 42 | RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 43 | RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 44 | RootPart = Character.HumanoidRootPart | |
| 45 | RootJoint = RootPart.RootJoint | |
| 46 | RootCF = euler(-1.57, 0, 3.14) | |
| 47 | attack = false | |
| 48 | attackdebounce = false | |
| 49 | deb = false | |
| 50 | equipped = false | |
| 51 | hand = false | |
| 52 | MMouse = nil | |
| 53 | combo = 0 | |
| 54 | mana = 0 | |
| 55 | trispeed = 0.2 | |
| 56 | attackmode = "none" | |
| 57 | local idle = 0 | |
| 58 | local Anim = "Idle" | |
| 59 | local gun = false | |
| 60 | local shoot = false | |
| 61 | player = nil | |
| 62 | mana = 0 | |
| 63 | local Player = game.Players.localPlayer | |
| 64 | local Character = Player.Character | |
| 65 | local Humanoid = Character.Humanoid | |
| 66 | local mouse = Player:GetMouse() | |
| 67 | local LeftArm = Character["Left Arm"] | |
| 68 | local RightArm = Character["Right Arm"] | |
| 69 | local LeftLeg = Character["Left Leg"] | |
| 70 | local RightLeg = Character["Right Leg"] | |
| 71 | local Head = Character.Head | |
| 72 | local Torso = Character.Torso | |
| 73 | local cam = game.Workspace.CurrentCamera | |
| 74 | local RootPart = Character.HumanoidRootPart | |
| 75 | local equipped = false | |
| 76 | local attack = false | |
| 77 | local Anim = "Idle" | |
| 78 | local idle = 0 | |
| 79 | local sprint = false | |
| 80 | local battlestance = false | |
| 81 | local attacktype = 1 | |
| 82 | local state = "none" | |
| 83 | local torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
| 84 | local velocity = RootPart.Velocity.y | |
| 85 | local sine = 0 | |
| 86 | local change = 1 | |
| 87 | local on = false | |
| 88 | local grabbed = false | |
| 89 | local skill1 = false | |
| 90 | local skill2 = false | |
| 91 | local skill3 = false | |
| 92 | local skill4 = false | |
| 93 | local cooldown1 = 0 | |
| 94 | local cooldown2 = 0 | |
| 95 | local cooldown3 = 0 | |
| 96 | local cooldown4 = 0 | |
| 97 | local co1 = 0 | |
| 98 | local co2 = 0 | |
| 99 | local co3 = 0 | |
| 100 | local co4 = 0 | |
| 101 | local inputserv = game:GetService("UserInputService")
| |
| 102 | local typing = false | |
| 103 | local crit = false | |
| 104 | - | local critchance = 2 |
| 104 | + | local critchance = 100 |
| 105 | - | local critdamageaddmin = 3 |
| 105 | + | local critdamageaddmin = 100 |
| 106 | - | local critdamageaddmax = 7 |
| 106 | + | local critdamageaddmax = 100 |
| 107 | local maxstamina = 100 | |
| 108 | - | local stamina = 0 |
| 108 | + | local stamina = 100 |
| 109 | - | local skill1stam = 0 |
| 109 | + | local skill1stam = 1 |
| 110 | - | local skill2stam = 0 |
| 110 | + | local skill2stam = 1 |
| 111 | - | local skill3stam = 0 |
| 111 | + | local skill3stam = 1 |
| 112 | - | local skill4stam = 0 |
| 112 | + | local skill4stam = 1 |
| 113 | local recovermana = 3 | |
| 114 | - | local mindamage = 5 |
| 114 | + | local mindamage = 50 |
| 115 | - | local maxdamage = 10 |
| 115 | + | local maxdamage = 100 |
| 116 | local cf = CFrame.new | |
| 117 | local mr = math.rad | |
| 118 | local angles = CFrame.Angles | |
| 119 | local ud = UDim2.new | |
| 120 | local c3 = Color3.new | |
| 121 | local skillcolorscheme = c3(1, 1, 1) | |
| 122 | local defensevalue = 1 | |
| 123 | local speedvalue = 1 | |
| 124 | local damagevalue = 1 | |
| 125 | local cf = CFrame.new | |
| 126 | local mr = math.rad | |
| 127 | local angles = CFrame.Angles | |
| 128 | local ud = UDim2.new | |
| 129 | local c3 = Color3.new | |
| 130 | local skillcolorscheme = c3(1, 1, 1) | |
| 131 | local scrn = Instance.new("ScreenGui", Player.PlayerGui)
| |
| 132 | makeframe = function(par, trans, pos, size, color) | |
| 133 | local frame = Instance.new("Frame", par)
| |
| 134 | frame.BackgroundTransparency = trans | |
| 135 | frame.BorderSizePixel = 0 | |
| 136 | frame.Position = pos | |
| 137 | frame.Size = size | |
| 138 | frame.BackgroundColor3 = color | |
| 139 | return frame | |
| 140 | end | |
| 141 | ||
| 142 | makelabel = function(par, text) | |
| 143 | local label = Instance.new("TextLabel", par)
| |
| 144 | label.BackgroundTransparency = 1 | |
| 145 | label.Size = ud(1, 0, 1, 0) | |
| 146 | label.Position = ud(0, 0, 0, 0) | |
| 147 | label.TextColor3 = c3(255, 255, 255) | |
| 148 | label.TextStrokeTransparency = 0 | |
| 149 | label.FontSize = Enum.FontSize.Size32 | |
| 150 | label.Font = Enum.Font.SourceSansBold | |
| 151 | label.BorderSizePixel = 0 | |
| 152 | label.TextScaled = true | |
| 153 | label.Text = text | |
| 154 | end | |
| 155 | ||
| 156 | local stats = Instance.new("Folder", Character)
| |
| 157 | stats.Name = "Stats" | |
| 158 | local block = Instance.new("BoolValue", stats)
| |
| 159 | block.Name = "Block" | |
| 160 | block.Value = false | |
| 161 | local stun = Instance.new("BoolValue", stats)
| |
| 162 | stun.Name = "Stun" | |
| 163 | stun.Value = false | |
| 164 | local defense = Instance.new("NumberValue", stats)
| |
| 165 | - | defense.Name = "Defence" |
| 165 | + | defense.Name = "Octogan shield" |
| 166 | defense.Value = defensevalue | |
| 167 | local speed = Instance.new("NumberValue", stats)
| |
| 168 | - | speed.Name = "Speed" |
| 168 | + | speed.Name = "octogan agility" |
| 169 | speed.Value = speedvalue | |
| 170 | local damagea = Instance.new("NumberValue", stats)
| |
| 171 | - | damagea.Name = "Damage" |
| 171 | + | damagea.Name = "octogan powers" |
| 172 | damagea.Value = damagevalue | |
| 173 | framesk1 = makeframe(scrn, 0.5, ud(0.13, 0, 0.56, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 0.5)) | |
| 174 | bar1 = makeframe(framesk1, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 0.5)) | |
| 175 | ammolabel = Instance.new("TextLabel", framesk1)
| |
| 176 | ammolabel.BackgroundTransparency = 1 | |
| 177 | ammolabel.Size = ud(1, 0, 1, 0) | |
| 178 | ammolabel.Position = ud(0, 0, 0, 0) | |
| 179 | ammolabel.TextColor3 = c3(255, 255, 255) | |
| 180 | ammolabel.TextStrokeTransparency = 0 | |
| 181 | ammolabel.FontSize = Enum.FontSize.Size8 | |
| 182 | ammolabel.Font = Enum.Font.SourceSans | |
| 183 | ammolabel.BorderSizePixel = 0 | |
| 184 | ammolabel.TextScaled = true | |
| 185 | - | ammolabel.Text = "Speed [" .. speed.Value .. "]" |
| 185 | + | ammolabel.Text = "octogan agility [" .. speed.Value .. "]" |
| 186 | framesk2 = makeframe(scrn, 0.5, ud(0.13, 0, 0.63, 0), ud(0.08, 0, 0.06, 0), c3(1, 0.5, 1)) | |
| 187 | bar2 = makeframe(framesk2, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.5, 0.25, 0.25)) | |
| 188 | ammolabel2 = Instance.new("TextLabel", framesk2)
| |
| 189 | ammolabel2.BackgroundTransparency = 1 | |
| 190 | ammolabel2.Size = ud(1, 0, 1, 0) | |
| 191 | ammolabel2.Position = ud(0, 0, 0, 0) | |
| 192 | ammolabel2.TextColor3 = c3(255, 255, 255) | |
| 193 | ammolabel2.TextStrokeTransparency = 0 | |
| 194 | ammolabel2.FontSize = Enum.FontSize.Size8 | |
| 195 | ammolabel2.Font = Enum.Font.SourceSans | |
| 196 | ammolabel2.BorderSizePixel = 0 | |
| 197 | ammolabel2.TextScaled = true | |
| 198 | - | ammolabel2.Text = "Damage [" .. damagea.Value .. "]" |
| 198 | + | ammolabel2.Text = "octogan powers [" .. damagea.Value .. "]" |
| 199 | framesk3 = makeframe(scrn, 0.5, ud(0.13, 0, 0.7, 0), ud(0.08, 0, 0.06, 0), c3(1, 0.5, 1)) | |
| 200 | bar3 = makeframe(framesk3, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0.25, 0.25, 0.5)) | |
| 201 | ammolabel3 = Instance.new("TextLabel", framesk3)
| |
| 202 | ammolabel3.BackgroundTransparency = 1 | |
| 203 | ammolabel3.Size = ud(1, 0, 1, 0) | |
| 204 | ammolabel3.Position = ud(0, 0, 0, 0) | |
| 205 | ammolabel3.TextColor3 = c3(255, 255, 255) | |
| 206 | ammolabel3.TextStrokeTransparency = 0 | |
| 207 | ammolabel3.FontSize = Enum.FontSize.Size8 | |
| 208 | ammolabel3.Font = Enum.Font.SourceSans | |
| 209 | ammolabel3.BorderSizePixel = 0 | |
| 210 | ammolabel3.TextScaled = true | |
| 211 | - | ammolabel3.Text = "Defense [" .. defense.Value .. "]" |
| 211 | + | ammolabel3.Text = "octogan shield [" .. defense.Value .. "]" |
| 212 | framesk4 = makeframe(scrn, 0.5, ud(0.13, 0, 0.42, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 1)) | |
| 213 | bar4 = makeframe(framesk4, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 1)) | |
| 214 | ammolabel4 = Instance.new("TextLabel", framesk4)
| |
| 215 | ammolabel4.BackgroundTransparency = 1 | |
| 216 | ammolabel4.Size = ud(1, 0, 1, 0) | |
| 217 | ammolabel4.Position = ud(0, 0, 0, 0) | |
| 218 | ammolabel4.TextColor3 = c3(255, 255, 255) | |
| 219 | ammolabel4.TextStrokeTransparency = 0 | |
| 220 | ammolabel4.FontSize = Enum.FontSize.Size8 | |
| 221 | ammolabel4.Font = Enum.Font.SourceSans | |
| 222 | ammolabel4.BorderSizePixel = 0 | |
| 223 | ammolabel4.TextScaled = true | |
| 224 | ammolabel4.Text = "Press F to equip your weapon." | |
| 225 | framesk5 = makeframe(scrn, 0.5, ud(0.13, 0, 0.49, 0), ud(0.08, 0, 0.06, 0), c3(1, 1, 1)) | |
| 226 | bar5 = makeframe(framesk5, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 1, 1)) | |
| 227 | ammolabel4 = Instance.new("TextLabel", framesk5)
| |
| 228 | ammolabel4.BackgroundTransparency = 1 | |
| 229 | ammolabel4.Size = ud(1, 0, 1, 0) | |
| 230 | ammolabel4.Position = ud(0, 0, 0, 0) | |
| 231 | ammolabel4.TextColor3 = c3(255, 255, 255) | |
| 232 | ammolabel4.TextStrokeTransparency = 0 | |
| 233 | ammolabel4.FontSize = Enum.FontSize.Size8 | |
| 234 | ammolabel4.Font = Enum.Font.SourceSans | |
| 235 | ammolabel4.BorderSizePixel = 0 | |
| 236 | ammolabel4.TextScaled = true | |
| 237 | ammolabel4.Text = "The keys for the abilities are: E, Z, X, C, and V." | |
| 238 | animate = Character:findFirstChild("Animate")
| |
| 239 | animate.Disabled = false | |
| 240 | CustomColor = Torso.BrickColor | |
| 241 | Colorpart1 = Torso.BrickColor.r | |
| 242 | Colorpart2 = Torso.BrickColor.g | |
| 243 | Colorpart3 = Torso.BrickColor.b | |
| 244 | mouse = Player:GetMouse() | |
| 245 | RW = Torso["Right Shoulder"] | |
| 246 | LW = Torso["Left Shoulder"] | |
| 247 | LH = Torso["Left Hip"] | |
| 248 | RH = Torso["Right Hip"] | |
| 249 | TorsoColor = Torso.BrickColor | |
| 250 | NoOutline = function(Part) | |
| 251 | Part.TopSurface = 10 | |
| 252 | end | |
| 253 | ||
| 254 | local weldBetween = function(a, b) | |
| 255 | local weldd = Instance.new("ManualWeld")
| |
| 256 | weldd.Part0 = a | |
| 257 | weldd.Part1 = b | |
| 258 | weldd.C0 = CFrame.new() | |
| 259 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 260 | weldd.Parent = a | |
| 261 | return weldd | |
| 262 | end | |
| 263 | ||
| 264 | swait = function(num) | |
| 265 | if num == 0 or num == nil then | |
| 266 | game:service("RunService").Stepped:wait(0)
| |
| 267 | else | |
| 268 | for i = 0, num do | |
| 269 | game:service("RunService").Stepped:wait(0)
| |
| 270 | end | |
| 271 | end | |
| 272 | end | |
| 273 | ||
| 274 | fat = Instance.new("BindableEvent", script)
| |
| 275 | fat.Name = "Heartbeat" | |
| 276 | script:WaitForChild("Heartbeat")
| |
| 277 | frame = 0.033333333333333 | |
| 278 | tf = 0 | |
| 279 | allowframeloss = false | |
| 280 | tossremainder = false | |
| 281 | lastframe = tick() | |
| 282 | script.Heartbeat:Fire() | |
| 283 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 284 | tf = tf + s | |
| 285 | if frame <= tf then | |
| 286 | if allowframeloss then | |
| 287 | script.Heartbeat:Fire() | |
| 288 | lastframe = tick() | |
| 289 | else | |
| 290 | for i = 1, math.floor(tf / frame) do | |
| 291 | script.Heartbeat:Fire() | |
| 292 | end | |
| 293 | lastframe = tick() | |
| 294 | end | |
| 295 | if tossremainder then | |
| 296 | tf = 0 | |
| 297 | else | |
| 298 | tf = tf - frame * math.floor(tf / frame) | |
| 299 | end | |
| 300 | end | |
| 301 | end | |
| 302 | ) | |
| 303 | nooutline = function(part) | |
| 304 | part.TopSurface = 10 | |
| 305 | end | |
| 306 | ||
| 307 | part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size) | |
| 308 | local fp = it("Part")
| |
| 309 | fp.formFactor = formfactor | |
| 310 | fp.Parent = parent | |
| 311 | fp.Reflectance = reflectance | |
| 312 | fp.Transparency = transparency | |
| 313 | fp.CanCollide = false | |
| 314 | fp.Locked = true | |
| 315 | fp.BrickColor = BrickColor.new(tostring(brickcolor)) | |
| 316 | fp.Name = name | |
| 317 | fp.Size = size | |
| 318 | fp.Position = Character.Torso.Position | |
| 319 | nooutline(fp) | |
| 320 | fp.Material = material | |
| 321 | fp:BreakJoints() | |
| 322 | return fp | |
| 323 | end | |
| 324 | ||
| 325 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
| 326 | local mesh = it(Mesh) | |
| 327 | mesh.Parent = part | |
| 328 | if Mesh == "SpecialMesh" then | |
| 329 | mesh.MeshType = meshtype | |
| 330 | mesh.MeshId = meshid | |
| 331 | end | |
| 332 | mesh.Offset = offset | |
| 333 | mesh.Scale = scale | |
| 334 | return mesh | |
| 335 | end | |
| 336 | ||
| 337 | weld = function(parent, part0, part1, c0, c1) | |
| 338 | local weld = it("Weld")
| |
| 339 | weld.Parent = parent | |
| 340 | weld.Part0 = part0 | |
| 341 | weld.Part1 = part1 | |
| 342 | weld.C0 = c0 | |
| 343 | weld.C1 = c1 | |
| 344 | return weld | |
| 345 | end | |
| 346 | ||
| 347 | m = Instance.new("Model", Character)
| |
| 348 | m.Name = "STOP" | |
| 349 | Handle = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 350 | Handleweld = weld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.14576721e-005, 1.00000191, 1.52587891e-005, -4.37113883e-008, 0, -1, 0, 0.999999881, 0, 1, 0, -4.37113883e-008)) | |
| 351 | mesh("SpecialMesh", Handle, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(35, 1.5, 1.5))
| |
| 352 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 353 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000118, -0.200000763, -1.1920929e-007, 1, 4.37113883e-008, 0, 0, 1.91068547e-015, 1, 4.37113883e-008, -1, 1.91068547e-015)) | |
| 354 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
| |
| 355 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 356 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1283927, -0.200000763, -2.12839127, 0.707106948, 0.70710659, -1.28027615e-008, -1.28027615e-008, 3.0908609e-008, 1, 0.70710659, -0.707106948, 3.0908609e-008)) | |
| 357 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
| |
| 358 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 359 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12839174, -0.200000763, -2.1283927, -0.70710659, 0.707106948, -7.46199973e-008, -7.46199973e-008, 3.09086268e-008, 1, 0.707106948, 0.70710659, 3.09086268e-008)) | |
| 360 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
| |
| 361 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 362 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.200000763, 3.01000118, 1.91068547e-015, -1, -4.37113883e-008, -4.37113883e-008, -4.37113883e-008, 1, -1, 0, -4.37113883e-008)) | |
| 363 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
| |
| 364 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 365 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.724999547, -0.210002899, -3.34500122, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
| 366 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 367 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 368 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18500042, -0.210002899, -0.824999571, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 369 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 370 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 371 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.72500062, -0.210002899, 3.0350008, -5.96046341e-008, -1, -4.37113954e-008, -4.37113883e-008, -4.37113918e-008, 1, -1, 5.96046377e-008, -4.37113847e-008)) | |
| 372 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 373 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 374 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, -0.625000238, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 375 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 376 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 377 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.725000381, -0.210002899, 2.73500061, -5.96046341e-008, -1, -4.37113954e-008, -4.37113883e-008, -4.37113918e-008, 1, -1, 5.96046377e-008, -4.37113847e-008)) | |
| 378 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 379 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 380 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500023, -0.210002899, -0.305000544, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 381 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 382 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 383 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.1950016, -0.210002899, -0.30500102, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 384 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 385 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 386 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.305000186, -0.210002899, -3.34500217, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
| 387 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 388 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 389 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.015000701, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 390 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 391 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 392 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.0150001049, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 393 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 394 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 395 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998531, -0.210002899, -3.34500122, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
| 396 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 397 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 398 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500118, -0.210002899, 0.315000296, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 399 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 400 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 401 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.315001369, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 402 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 403 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 404 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.164998174, -0.210002899, -2.73500061, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
| 405 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 406 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 407 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88500214, -0.210002899, 0.535002112, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 408 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 409 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 410 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.535001278, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 411 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 412 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 413 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500065, -0.210002899, 0.834999204, -1, 5.96046377e-008, -8.74227766e-008, -8.74227766e-008, 0, 1, 5.96046377e-008, 1, 5.21080354e-015)) | |
| 414 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 415 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 416 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684997559, -0.210002899, -3.34500027, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
| 417 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 418 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 419 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.684998512, -0.210002899, -3.04500103, 5.96046412e-008, 1, -4.37113883e-008, -4.37113847e-008, 4.37113918e-008, 1, 1, -5.96046377e-008, 4.37113883e-008)) | |
| 420 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 421 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 422 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.01000166, -0.189994812, 0.0100030899, 1, -4.37114025e-008, -1.58932352e-008, -1.58932387e-008, -5.96046377e-008, -1, 4.37114025e-008, 1, -5.96046341e-008)) | |
| 423 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
| |
| 424 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 425 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.1354661, -0.189994812, -2.12131977, 0.707106829, -0.707106769, 4.58097809e-008, -2.24173533e-008, -8.72021815e-008, -1, 0.707106769, 0.707106829, -7.75127234e-008)) | |
| 426 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
| |
| 427 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 428 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.12131834, -0.189994812, -2.13546705, -0.707106292, -0.707107246, -6.07109172e-008, 1.47268324e-007, -6.14099775e-008, -1, 0.707107246, -0.707106292, 1.47557884e-007)) | |
| 429 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(9.89999962, 1, 4.19999981))
| |
| 430 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, CustomColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 431 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100032091, -0.189994812, 3.01000166, 2.60540156e-015, 1, -5.96046377e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, 3.55271368e-015, 1.58932636e-008)) | |
| 432 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(10, 1, 4))
| |
| 433 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 434 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.735001564, -0.199996948, -3.34499979, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
| 435 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 436 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 437 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.18499231, -0.199996948, -0.834997773, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 438 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 439 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 440 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.735005498, -0.199996948, 3.03500223, -5.96046164e-008, 1, -5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, -5.96046164e-008, 1.58932636e-008)) | |
| 441 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 442 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 443 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499784, -0.200004578, -0.63499558, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 444 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 445 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 446 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.734998822, -0.199993134, 2.73499918, -5.96046164e-008, 1, -5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, -1, -5.96046164e-008, 1.58932636e-008)) | |
| 447 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 448 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 449 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.88499594, -0.200000763, -0.315001726, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 450 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 451 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 452 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500494, -0.199996948, -0.31500113, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 453 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 454 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 455 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.315002918, -0.200000763, -3.34500074, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
| 456 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2, 1, 1))
| |
| 457 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 458 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.00499808788, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 459 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 460 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 461 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200000763, 0.00499856472, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 462 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 463 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 464 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154998422, -0.200000763, -3.34500074, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
| 465 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 466 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 467 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200004578, 0.305001616, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 468 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 469 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 470 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.305000901, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 471 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 472 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 473 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.154993892, -0.199996948, -2.73500013, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
| 474 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 475 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 476 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.8849988, -0.200000763, 0.525003314, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 477 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 478 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 479 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.524998307, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 480 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 481 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 482 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.19500017, -0.200004578, 0.82499969, -1, -5.96046519e-008, 1.58932281e-008, -1.58932245e-008, -5.96046377e-008, -1, 5.96046519e-008, -1, 5.96046377e-008)) | |
| 483 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 484 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 485 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.34499884, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
| 486 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 487 | Part = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 488 | Partweld = weld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.675001979, -0.199996948, -3.04500151, 5.96046092e-008, -1, 5.96046412e-008, -1.58932636e-008, -5.96046377e-008, -1, 1, 5.96046092e-008, -1.58932636e-008)) | |
| 489 | mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(2.5, 1, 1))
| |
| 490 | Hitbox = part(Enum.FormFactor.Brick, m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "Hitbox", Vector3.new(0.899999976, 2.25, 2.25)) | |
| 491 | Hitboxweld = weld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 3.01000118, -4.37113883e-008, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-008)) | |
| 492 | Handleweld.Part0 = Torso | |
| 493 | Handleweld.Part1 = Handle | |
| 494 | Handleweld.C0 = cf(-0.5, 0.75, 0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(45), math.rad(0), math.rad(0)) | |
| 495 | if script.Parent.className ~= "HopperBin" then | |
| 496 | Tool = Instance.new("HopperBin")
| |
| 497 | Tool.Parent = Backpack | |
| 498 | Tool.Name = "It\'s Time to Stop" | |
| 499 | script.Parent = Tool | |
| 500 | end | |
| 501 | Bin = script.Parent | |
| 502 | for i,v in pairs(Character:GetChildren()) do | |
| 503 | if v:IsA("Model") then
| |
| 504 | for _,c in pairs(v:GetChildren()) do | |
| 505 | if c:IsA("Part") then
| |
| 506 | c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001) | |
| 507 | end | |
| 508 | end | |
| 509 | end | |
| 510 | end | |
| 511 | so = function(id, par, vol, pit) | |
| 512 | coroutine.resume(coroutine.create(function() | |
| 513 | local sou = Instance.new("Sound", par or workspace)
| |
| 514 | sou.Volume = vol | |
| 515 | sou.Pitch = pit or 1 | |
| 516 | sou.SoundId = id | |
| 517 | swait() | |
| 518 | sou:play() | |
| 519 | game:GetService("Debris"):AddItem(sou, 6)
| |
| 520 | end | |
| 521 | )) | |
| 522 | end | |
| 523 | ||
| 524 | local CFrameFromTopBack = function(at, top, back) | |
| 525 | local right = top:Cross(back) | |
| 526 | 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) | |
| 527 | end | |
| 528 | ||
| 529 | Triangle = function(a, b, c) | |
| 530 | local edg1 = c - a:Dot(b - a.unit) | |
| 531 | local edg2 = a - b:Dot(c - b.unit) | |
| 532 | local edg3 = b - c:Dot(a - c.unit) | |
| 533 | if edg1 <= b - a.magnitude and edg1 >= 0 then | |
| 534 | a = a | |
| 535 | else | |
| 536 | -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg' | |
| 537 | ||
| 538 | if edg2 <= c - b.magnitude and edg2 >= 0 then | |
| 539 | a = b | |
| 540 | else | |
| 541 | -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg' | |
| 542 | ||
| 543 | -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg' | |
| 544 | ||
| 545 | if edg3 <= a - c.magnitude and edg3 >= 0 then | |
| 546 | a = c | |
| 547 | else | |
| 548 | assert(false, "unreachable") | |
| 549 | end | |
| 550 | end | |
| 551 | end | |
| 552 | local len1 = c - a:Dot(b - a.unit) | |
| 553 | local len2 = b - a.magnitude - len1 | |
| 554 | local width = a + b - a.unit * len1 - c.magnitude | |
| 555 | local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit) | |
| 556 | local list = {}
| |
| 557 | local TrailColor = "Dark grey" | |
| 558 | if len1 > 0.01 then | |
| 559 | local w1 = Instance.new("WedgePart", m)
| |
| 560 | game:GetService("Debris"):AddItem(w1, 5)
| |
| 561 | w1.Material = "SmoothPlastic" | |
| 562 | w1.FormFactor = "Custom" | |
| 563 | w1.BrickColor = BrickColor.new(TrailColor) | |
| 564 | w1.Transparency = 0 | |
| 565 | w1.Reflectance = 0 | |
| 566 | w1.Material = "SmoothPlastic" | |
| 567 | w1.CanCollide = false | |
| 568 | NoOutline(w1) | |
| 569 | local sz = Vector3.new(0.2, width, len1) | |
| 570 | w1.Size = sz | |
| 571 | local sp = Instance.new("SpecialMesh", w1)
| |
| 572 | sp.MeshType = "Wedge" | |
| 573 | sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size | |
| 574 | w1:BreakJoints() | |
| 575 | w1.Anchored = true | |
| 576 | w1.Parent = workspace | |
| 577 | w1.Transparency = 0.7 | |
| 578 | table.insert(Effects, {w1, "Disappear", 0.01})
| |
| 579 | w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2) | |
| 580 | table.insert(list, w1) | |
| 581 | end | |
| 582 | do | |
| 583 | if len2 > 0.01 then | |
| 584 | local w2 = Instance.new("WedgePart", m)
| |
| 585 | game:GetService("Debris"):AddItem(w2, 5)
| |
| 586 | w2.Material = "SmoothPlastic" | |
| 587 | w2.FormFactor = "Custom" | |
| 588 | w2.BrickColor = BrickColor.new(TrailColor) | |
| 589 | w2.Transparency = 0 | |
| 590 | w2.Reflectance = 0 | |
| 591 | w2.Material = "SmoothPlastic" | |
| 592 | w2.CanCollide = false | |
| 593 | NoOutline(w2) | |
| 594 | local sz = Vector3.new(0.2, width, len2) | |
| 595 | w2.Size = sz | |
| 596 | local sp = Instance.new("SpecialMesh", w2)
| |
| 597 | sp.MeshType = "Wedge" | |
| 598 | sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size | |
| 599 | w2:BreakJoints() | |
| 600 | w2.Anchored = true | |
| 601 | w2.Parent = workspace | |
| 602 | w2.Transparency = 0.7 | |
| 603 | table.insert(Effects, {w2, "Disappear", 0.01})
| |
| 604 | w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2) | |
| 605 | table.insert(list, w2) | |
| 606 | end | |
| 607 | do | |
| 608 | return unpack(list) | |
| 609 | end | |
| 610 | end | |
| 611 | end | |
| 612 | ||
| 613 | rayCast = function(Pos, Dir, Max, Ignore) | |
| 614 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 615 | end | |
| 616 | ||
| 617 | function clerp(a,b,t) | |
| 618 | local qa = {QuaternionFromCFrame(a)}
| |
| 619 | local qb = {QuaternionFromCFrame(b)}
| |
| 620 | local ax, ay, az = a.x, a.y, a.z | |
| 621 | local bx, by, bz = b.x, b.y, b.z | |
| 622 | local _t = 1-t | |
| 623 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 624 | end | |
| 625 | ||
| 626 | function QuaternionFromCFrame(cf) | |
| 627 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 628 | local trace = m00 + m11 + m22 | |
| 629 | if trace > 0 then | |
| 630 | local s = math.sqrt(1 + trace) | |
| 631 | local recip = 0.5/s | |
| 632 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 633 | else | |
| 634 | local i = 0 | |
| 635 | if m11 > m00 then | |
| 636 | i = 1 | |
| 637 | end | |
| 638 | if m22 > (i == 0 and m00 or m11) then | |
| 639 | i = 2 | |
| 640 | end | |
| 641 | if i == 0 then | |
| 642 | local s = math.sqrt(m00-m11-m22+1) | |
| 643 | local recip = 0.5/s | |
| 644 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 645 | elseif i == 1 then | |
| 646 | local s = math.sqrt(m11-m22-m00+1) | |
| 647 | local recip = 0.5/s | |
| 648 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 649 | elseif i == 2 then | |
| 650 | local s = math.sqrt(m22-m00-m11+1) | |
| 651 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 652 | end | |
| 653 | end | |
| 654 | end | |
| 655 | ||
| 656 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 657 | local xs, ys, zs = x + x, y + y, z + z | |
| 658 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 659 | local xx = x*xs | |
| 660 | local xy = x*ys | |
| 661 | local xz = x*zs | |
| 662 | local yy = y*ys | |
| 663 | local yz = y*zs | |
| 664 | local zz = z*zs | |
| 665 | 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)) | |
| 666 | end | |
| 667 | ||
| 668 | function QuaternionSlerp(a, b, t) | |
| 669 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 670 | local startInterp, finishInterp; | |
| 671 | if cosTheta >= 0.0001 then | |
| 672 | if (1 - cosTheta) > 0.0001 then | |
| 673 | local theta = math.acos(cosTheta) | |
| 674 | local invSinTheta = 1/math.sin(theta) | |
| 675 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 676 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 677 | else | |
| 678 | startInterp = 1-t | |
| 679 | finishInterp = t | |
| 680 | end | |
| 681 | else | |
| 682 | if (1+cosTheta) > 0.0001 then | |
| 683 | local theta = math.acos(-cosTheta) | |
| 684 | local invSinTheta = 1/math.sin(theta) | |
| 685 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 686 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 687 | else | |
| 688 | startInterp = t-1 | |
| 689 | finishInterp = t | |
| 690 | end | |
| 691 | end | |
| 692 | 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 | |
| 693 | end | |
| 694 | ||
| 695 | rayCast = function(Pos, Dir, Max, Ignore) | |
| 696 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 697 | end | |
| 698 | ||
| 699 | makegui = function(cframe, text) | |
| 700 | local a = math.random(-10, 10) / 100 | |
| 701 | local c = Instance.new("Part")
| |
| 702 | c.Transparency = 1 | |
| 703 | Instance.new("BodyGyro").Parent = c
| |
| 704 | c.Parent = workspace | |
| 705 | c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0)) | |
| 706 | local f = Instance.new("BodyPosition")
| |
| 707 | f.P = 2000 | |
| 708 | f.D = 100 | |
| 709 | f.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 710 | f.position = c.Position + Vector3.new(0, 3, 0) | |
| 711 | f.Parent = c | |
| 712 | game:GetService("Debris"):AddItem(c, 6.5)
| |
| 713 | c.CanCollide = false | |
| 714 | c.Parent = workspace | |
| 715 | c.CanCollide = false | |
| 716 | local bg = Instance.new("BillboardGui", c)
| |
| 717 | bg.Adornee = c | |
| 718 | bg.Size = UDim2.new(1, 0, 1, 0) | |
| 719 | bg.StudsOffset = Vector3.new(0, 0, 0) | |
| 720 | bg.AlwaysOnTop = false | |
| 721 | local tl = Instance.new("TextLabel", bg)
| |
| 722 | tl.BackgroundTransparency = 1 | |
| 723 | tl.Size = UDim2.new(1, 0, 1, 0) | |
| 724 | tl.Text = text | |
| 725 | tl.Font = "SourceSansBold" | |
| 726 | tl.FontSize = "Size42" | |
| 727 | if crit == true then | |
| 728 | tl.TextColor3 = Color3.new(0.70588235294118, 0, 0) | |
| 729 | else | |
| 730 | tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2) | |
| 731 | end | |
| 732 | tl.TextStrokeTransparency = 0 | |
| 733 | tl.TextScaled = true | |
| 734 | tl.TextWrapped = true | |
| 735 | coroutine.wrap(function() | |
| 736 | wait(2) | |
| 737 | for i = 1, 10 do | |
| 738 | swait() | |
| 739 | c.Transparency = 1 | |
| 740 | tl.TextTransparency = tl.TextTransparency + 0.1 | |
| 741 | end | |
| 742 | end | |
| 743 | )() | |
| 744 | end | |
| 745 | ||
| 746 | Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock) | |
| 747 | if hit.Parent == nil then | |
| 748 | return | |
| 749 | end | |
| 750 | h = hit.Parent:FindFirstChild("Humanoid")
| |
| 751 | for _,v in pairs(hit.Parent:children()) do | |
| 752 | if v:IsA("Humanoid") then
| |
| 753 | h = v | |
| 754 | end | |
| 755 | end | |
| 756 | if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
| |
| 757 | h = hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 758 | end | |
| 759 | if hit.Parent.className == "Hat" then | |
| 760 | hit = hit.Parent.Parent:findFirstChild("Head")
| |
| 761 | end | |
| 762 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 763 | if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
| |
| 764 | return | |
| 765 | end | |
| 766 | local blocked = false | |
| 767 | block = hit.Parent:findFirstChild("Block")
| |
| 768 | if block ~= nil then | |
| 769 | print(block.className) | |
| 770 | if block.className == "NumberValue" and block.Value > 0 then | |
| 771 | blocked = true | |
| 772 | if decreaseblock == nil then | |
| 773 | block.Value = block.Value - 1 | |
| 774 | end | |
| 775 | end | |
| 776 | if block.className == "IntValue" and block.Value > 0 then | |
| 777 | blocked = true | |
| 778 | if decreaseblock ~= nil then | |
| 779 | block.Value = block.Value - 1 | |
| 780 | end | |
| 781 | end | |
| 782 | end | |
| 783 | if blocked == false then | |
| 784 | local D = math.random(minim, maxim) * damagea.Value | |
| 785 | if h.Parent:FindFirstChild("Stats") then
| |
| 786 | D = D / h.Parent:FindFirstChild("Stats").Defence.Value
| |
| 787 | else | |
| 788 | end | |
| 789 | if not h.Parent:FindFirstChild("Stats") then
| |
| 790 | do | |
| 791 | h.Health = h.Health - D | |
| 792 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5))) | |
| 793 | local D = math.random(minim, maxim) * damagea.Value | |
| 794 | if h.Parent:FindFirstChild("Stats") then
| |
| 795 | D = D / h.Parent:FindFirstChild("Stats").Defence.Value
| |
| 796 | else | |
| 797 | end | |
| 798 | if not h.Parent:FindFirstChild("Stats") then
| |
| 799 | do | |
| 800 | h.Health = h.Health - D / 2 | |
| 801 | makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5))) | |
| 802 | if Type == "Knockdown" then | |
| 803 | local humanoid = hit.Parent.Humanoid | |
| 804 | humanoid.PlatformStand = true | |
| 805 | coroutine.resume(coroutine.create(function(Humanoid) | |
| 806 | fat.Event:wait() | |
| 807 | Humanoid.PlatformStand = false | |
| 808 | end | |
| 809 | ), humanoid) | |
| 810 | local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit | |
| 811 | local bodvol = Instance.new("BodyVelocity")
| |
| 812 | bodvol.velocity = angle * knockback | |
| 813 | bodvol.P = 5000 | |
| 814 | bodvol.maxForce = Vector3.new(8000, 8000, 8000) | |
| 815 | bodvol.Parent = hit | |
| 816 | rl = Instance.new("BodyAngularVelocity")
| |
| 817 | rl.P = 3000 | |
| 818 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
| 819 | rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
| 820 | rl.Parent = hit | |
| 821 | game:GetService("Debris"):AddItem(bodvol, 0.5)
| |
| 822 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 823 | else | |
| 824 | do | |
| 825 | if Type == "Normal" then | |
| 826 | local hitsoundchoose = math.random(1, 6) | |
| 827 | if hitsoundchoose == 1 then | |
| 828 | so("http://www.roblox.com/asset/?id=199149137", hit, 1, 1)
| |
| 829 | else | |
| 830 | if hitsoundchoose == 2 then | |
| 831 | so("http://www.roblox.com/asset/?id=199149186", hit, 1, 1)
| |
| 832 | else | |
| 833 | if hitsoundchoose == 3 then | |
| 834 | so("http://www.roblox.com/asset/?id=199149221", hit, 1, 1)
| |
| 835 | else | |
| 836 | if hitsoundchoose == 4 then | |
| 837 | so("http://www.roblox.com/asset/?id=199149235", hit, 1, 1)
| |
| 838 | else | |
| 839 | if hitsoundchoose == 5 then | |
| 840 | so("http://www.roblox.com/asset/?id=199149269", hit, 1, 1)
| |
| 841 | else | |
| 842 | if hitsoundchoose == 6 then | |
| 843 | so("http://www.roblox.com/asset/?id=199149297", hit, 1, 1)
| |
| 844 | end | |
| 845 | end | |
| 846 | end | |
| 847 | end | |
| 848 | end | |
| 849 | end | |
| 850 | vp = Instance.new("BodyVelocity")
| |
| 851 | vp.P = 500 | |
| 852 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 853 | if KnockbackType == 1 then | |
| 854 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 855 | else | |
| 856 | if KnockbackType == 2 then | |
| 857 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 858 | end | |
| 859 | end | |
| 860 | if knockback > 0 then | |
| 861 | vp.Parent = hit.Parent.Torso | |
| 862 | end | |
| 863 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 864 | else | |
| 865 | do | |
| 866 | if Type == "QuietNormal" then | |
| 867 | vp = Instance.new("BodyVelocity")
| |
| 868 | vp.P = 500 | |
| 869 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 870 | if KnockbackType == 1 then | |
| 871 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 872 | else | |
| 873 | if KnockbackType == 2 then | |
| 874 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 875 | end | |
| 876 | end | |
| 877 | if knockback > 0 then | |
| 878 | vp.Parent = hit.Parent.Torso | |
| 879 | end | |
| 880 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 881 | else | |
| 882 | if Type == "MovementDebuff" then | |
| 883 | coroutine.resume(coroutine.create(function() | |
| 884 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.2 | |
| 885 | speed.Value = speed.Value + 0.2 | |
| 886 | Humanoid.WalkSpeed = 16 * speed.Value | |
| 887 | wait(1) | |
| 888 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.2 | |
| 889 | speed.Value = speed.Value - 0.2 | |
| 890 | Humanoid.WalkSpeed = 24 * speed.Value | |
| 891 | end | |
| 892 | )) | |
| 893 | vp = Instance.new("BodyVelocity")
| |
| 894 | vp.P = 500 | |
| 895 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 896 | if KnockbackType == 1 then | |
| 897 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 898 | else | |
| 899 | if KnockbackType == 2 then | |
| 900 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 901 | end | |
| 902 | end | |
| 903 | if knockback > 0 then | |
| 904 | vp.Parent = hit.Parent.Torso | |
| 905 | end | |
| 906 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 907 | else | |
| 908 | if Type == "CurseAura" then | |
| 909 | coroutine.resume(coroutine.create(function() | |
| 910 | local savethewalkspeed = hit.Parent.Humanoid.WalkSpeed | |
| 911 | hit.Parent.Humanoid.WalkSpeed = 0 | |
| 912 | wait(0.25) | |
| 913 | hit.Parent.Humanoid.WalkSpeed = savethewalkspeed | |
| 914 | end | |
| 915 | )) | |
| 916 | vp = Instance.new("BodyVelocity")
| |
| 917 | vp.P = 500 | |
| 918 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 919 | if KnockbackType == 1 then | |
| 920 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 921 | else | |
| 922 | if KnockbackType == 2 then | |
| 923 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 924 | end | |
| 925 | end | |
| 926 | if knockback > 0 then | |
| 927 | vp.Parent = hit.Parent.Torso | |
| 928 | end | |
| 929 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 930 | else | |
| 931 | if Type == "Up" then | |
| 932 | local bodyVelocity = Instance.new("BodyVelocity")
| |
| 933 | bodyVelocity.velocity = vt(0, 60, 0) | |
| 934 | bodyVelocity.P = 5000 | |
| 935 | bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000) | |
| 936 | bodyVelocity.Parent = hit | |
| 937 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 938 | rl = Instance.new("BodyAngularVelocity")
| |
| 939 | rl.P = 3000 | |
| 940 | rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000 | |
| 941 | rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30)) | |
| 942 | rl.Parent = hit | |
| 943 | game:GetService("Debris"):AddItem(rl, 0.5)
| |
| 944 | else | |
| 945 | do | |
| 946 | if Type == "Snare" then | |
| 947 | wait() | |
| 948 | bp = Instance.new("BodyPosition")
| |
| 949 | bp.P = 2000 | |
| 950 | bp.D = 100 | |
| 951 | bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 952 | bp.position = hit.Parent.Torso.Position | |
| 953 | bp.Parent = hit.Parent.Torso | |
| 954 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 955 | else | |
| 956 | if Type == "Target" then | |
| 957 | so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
| |
| 958 | vp = Instance.new("BodyVelocity")
| |
| 959 | vp.P = 500 | |
| 960 | vp.maxForce = Vector3.new(math.huge, 0, math.huge) | |
| 961 | if KnockbackType == 1 then | |
| 962 | vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 | |
| 963 | else | |
| 964 | if KnockbackType == 2 then | |
| 965 | vp.velocity = Property.CFrame.lookVector * knockback | |
| 966 | end | |
| 967 | end | |
| 968 | if knockback > 0 then | |
| 969 | vp.Parent = hit.Parent.Torso | |
| 970 | end | |
| 971 | game:GetService("Debris"):AddItem(vp, 0.5)
| |
| 972 | end | |
| 973 | end | |
| 974 | debounce = Instance.new("BoolValue")
| |
| 975 | debounce.Name = "DebounceHit" | |
| 976 | debounce.Parent = hit.Parent | |
| 977 | debounce.Value = true | |
| 978 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 979 | c = Instance.new("ObjectValue")
| |
| 980 | c.Name = "creator" | |
| 981 | c.Value = Player | |
| 982 | c.Parent = h | |
| 983 | game:GetService("Debris"):AddItem(c, 0.5)
| |
| 984 | CRIT = false | |
| 985 | hitDeb = true | |
| 986 | AttackPos = 6 | |
| 987 | end | |
| 988 | end | |
| 989 | end | |
| 990 | end | |
| 991 | end | |
| 992 | end | |
| 993 | end | |
| 994 | end | |
| 995 | end | |
| 996 | end | |
| 997 | end | |
| 998 | end | |
| 999 | end | |
| 1000 | end | |
| 1001 | end | |
| 1002 | end | |
| 1003 | ||
| 1004 | MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) | |
| 1005 | for _,c in pairs(workspace:children()) do | |
| 1006 | local hum = c:findFirstChild("Humanoid")
| |
| 1007 | if hum ~= nil then | |
| 1008 | local head = c:findFirstChild("Torso")
| |
| 1009 | if head ~= nil then | |
| 1010 | local targ = head.Position - Part.Position | |
| 1011 | local mag = targ.magnitude | |
| 1012 | if mag <= magni and c.Name ~= Player.Name then | |
| 1013 | Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1) | |
| 1014 | end | |
| 1015 | end | |
| 1016 | end | |
| 1017 | end | |
| 1018 | end | |
| 1019 | ||
| 1020 | Lightning = function(p0, p1, tym, ofs, brickcolor, th, tra, last) | |
| 1021 | local magz = p0 - p1.magnitude | |
| 1022 | local curpos = p0 | |
| 1023 | local trz = {-ofs, ofs}
| |
| 1024 | for i = 1, tym do | |
| 1025 | local li = Instance.new("Part", workspace)
| |
| 1026 | do | |
| 1027 | li.TopSurface = 0 | |
| 1028 | li.BottomSurface = 0 | |
| 1029 | li.Anchored = true | |
| 1030 | li.Transparency = tra or 0.4 | |
| 1031 | li.BrickColor = brickcolor | |
| 1032 | li.formFactor = "Custom" | |
| 1033 | li.CanCollide = false | |
| 1034 | li.Size = Vector3.new(th, th, magz / tym) | |
| 1035 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 1036 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 1037 | if tym == i then | |
| 1038 | local magz2 = curpos - p1.magnitude | |
| 1039 | li.Size = Vector3.new(th, th, magz2) | |
| 1040 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1041 | else | |
| 1042 | do | |
| 1043 | do | |
| 1044 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1045 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1046 | game.Debris:AddItem(li, last) | |
| 1047 | coroutine.resume(coroutine.create(function() | |
| 1048 | while li.Transparency ~= 1 do | |
| 1049 | for i = 0, 1, last do | |
| 1050 | fat.Event:wait() | |
| 1051 | li.Transparency = li.Transparency + 0.1 / last | |
| 1052 | end | |
| 1053 | end | |
| 1054 | end | |
| 1055 | )) | |
| 1056 | end | |
| 1057 | -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out IF_ELSE_STMT | |
| 1058 | ||
| 1059 | -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out IF_STMT | |
| 1060 | ||
| 1061 | -- DECOMPILER ERROR at PC134: LeaveBlock: unexpected jumping out DO_STMT | |
| 1062 | ||
| 1063 | end | |
| 1064 | end | |
| 1065 | end | |
| 1066 | end | |
| 1067 | end | |
| 1068 | ||
| 1069 | JumpEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
| 1070 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1071 | prt.Anchored = true | |
| 1072 | prt.CanCollide = false | |
| 1073 | prt.CFrame = cframe * angles(math.rad(90), 0, 0) | |
| 1074 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1075 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1076 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1077 | for i = 0, 1, delay do | |
| 1078 | fat.Event:wait() | |
| 1079 | Part.CFrame = Part.CFrame | |
| 1080 | Part.Transparency = i | |
| 1081 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
| 1082 | end | |
| 1083 | Part.Parent = nil | |
| 1084 | end | |
| 1085 | ), prt, msh) | |
| 1086 | end | |
| 1087 | ||
| 1088 | Shockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1089 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1090 | prt.Anchored = true | |
| 1091 | prt.CFrame = cframe | |
| 1092 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1093 | game:GetService("Debris"):AddItem(prt, 4)
| |
| 1094 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1095 | for i = 0, 1, delay do | |
| 1096 | fat.Event:wait() | |
| 1097 | Part.CFrame = Part.CFrame | |
| 1098 | Part.Transparency = i | |
| 1099 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1100 | end | |
| 1101 | Part.Parent = nil | |
| 1102 | end | |
| 1103 | ), prt, msh) | |
| 1104 | end | |
| 1105 | ||
| 1106 | OrbEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
| 1107 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1108 | prt.Anchored = true | |
| 1109 | prt.CanCollide = false | |
| 1110 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1111 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1112 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1113 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1114 | for i = 0, 1, delay do | |
| 1115 | fat.Event:wait() | |
| 1116 | Part.CFrame = Part.CFrame | |
| 1117 | Part.Transparency = i | |
| 1118 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
| 1119 | end | |
| 1120 | Part.Parent = nil | |
| 1121 | end | |
| 1122 | ), prt, msh) | |
| 1123 | end | |
| 1124 | ||
| 1125 | BlockShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1126 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1127 | prt.Anchored = true | |
| 1128 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1129 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1130 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1131 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1132 | for i = 0, 1, delay do | |
| 1133 | fat.Event:wait() | |
| 1134 | Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1135 | Part.Transparency = i | |
| 1136 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1137 | end | |
| 1138 | Part.Parent = nil | |
| 1139 | end | |
| 1140 | ), prt, msh) | |
| 1141 | end | |
| 1142 | ||
| 1143 | RainbowBlockShockwave = function(cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1144 | local rainbowcolor = BrickColor.new(0) | |
| 1145 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, rainbowcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1146 | prt.Anchored = true | |
| 1147 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1148 | prt.Material = "Neon" | |
| 1149 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1150 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1151 | coroutine.resume(coroutine.create(function() | |
| 1152 | while prt.Parent ~= nil do | |
| 1153 | wait() | |
| 1154 | rainbowcolor = BrickColor.new(23) | |
| 1155 | wait() | |
| 1156 | rainbowcolor = BrickColor.new(107) | |
| 1157 | wait() | |
| 1158 | rainbowcolor = BrickColor.new(37) | |
| 1159 | wait() | |
| 1160 | rainbowcolor = BrickColor.new(119) | |
| 1161 | wait() | |
| 1162 | rainbowcolor = BrickColor.new(24) | |
| 1163 | wait() | |
| 1164 | rainbowcolor = BrickColor.new(106) | |
| 1165 | wait() | |
| 1166 | rainbowcolor = BrickColor.new(21) | |
| 1167 | wait() | |
| 1168 | rainbowcolor = BrickColor.new(104) | |
| 1169 | end | |
| 1170 | end | |
| 1171 | )) | |
| 1172 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1173 | for i = 0, 1, delay do | |
| 1174 | fat.Event:wait() | |
| 1175 | Part.CFrame = Part.CFrame * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1176 | Part.Transparency = i | |
| 1177 | Part.BrickColor = rainbowcolor | |
| 1178 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1179 | end | |
| 1180 | Part.Parent = nil | |
| 1181 | end | |
| 1182 | ), prt, msh) | |
| 1183 | end | |
| 1184 | ||
| 1185 | RainbowCylinderShockwave = function(cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1186 | local rainbowcolor = BrickColor.new(0) | |
| 1187 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1188 | prt.Anchored = true | |
| 1189 | prt.CFrame = cframe | |
| 1190 | prt.Material = "Neon" | |
| 1191 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1192 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1193 | coroutine.resume(coroutine.create(function() | |
| 1194 | while prt.Parent ~= nil do | |
| 1195 | wait() | |
| 1196 | rainbowcolor = BrickColor.new(23) | |
| 1197 | wait() | |
| 1198 | rainbowcolor = BrickColor.new(107) | |
| 1199 | wait() | |
| 1200 | rainbowcolor = BrickColor.new(37) | |
| 1201 | wait() | |
| 1202 | rainbowcolor = BrickColor.new(119) | |
| 1203 | wait() | |
| 1204 | rainbowcolor = BrickColor.new(24) | |
| 1205 | wait() | |
| 1206 | rainbowcolor = BrickColor.new(106) | |
| 1207 | wait() | |
| 1208 | rainbowcolor = BrickColor.new(21) | |
| 1209 | wait() | |
| 1210 | rainbowcolor = BrickColor.new(104) | |
| 1211 | end | |
| 1212 | end | |
| 1213 | )) | |
| 1214 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1215 | for i = 0, 1, delay do | |
| 1216 | fat.Event:wait() | |
| 1217 | Part.BrickColor = rainbowcolor | |
| 1218 | Part.Transparency = i | |
| 1219 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1220 | end | |
| 1221 | Part.Parent = nil | |
| 1222 | end | |
| 1223 | ), prt, msh) | |
| 1224 | end | |
| 1225 | ||
| 1226 | CylinderShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1227 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1228 | prt.Anchored = true | |
| 1229 | prt.CFrame = cframe | |
| 1230 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1231 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1232 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1233 | for i = 0, 1, delay do | |
| 1234 | fat.Event:wait() | |
| 1235 | Part.Transparency = i | |
| 1236 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1237 | end | |
| 1238 | Part.Parent = nil | |
| 1239 | end | |
| 1240 | ), prt, msh) | |
| 1241 | end | |
| 1242 | ||
| 1243 | Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1244 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1245 | prt.Anchored = true | |
| 1246 | prt.CFrame = cframe | |
| 1247 | prt.Material = "Neon" | |
| 1248 | local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1249 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1250 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1251 | for i = 0, 1, delay do | |
| 1252 | fat.Event:wait() | |
| 1253 | Part.Transparency = i | |
| 1254 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1255 | end | |
| 1256 | Part.Parent = nil | |
| 1257 | end | |
| 1258 | ), prt, msh) | |
| 1259 | end | |
| 1260 | ||
| 1261 | Laser2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1262 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1263 | prt.Anchored = true | |
| 1264 | prt.CFrame = cframe | |
| 1265 | prt.Material = "Neon" | |
| 1266 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1267 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1268 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1269 | for i = 0, 1, delay do | |
| 1270 | fat.Event:wait() | |
| 1271 | Part.Transparency = i | |
| 1272 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1273 | end | |
| 1274 | Part.Parent = nil | |
| 1275 | end | |
| 1276 | ), prt, msh) | |
| 1277 | end | |
| 1278 | ||
| 1279 | Laser3 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1280 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1281 | prt.Anchored = true | |
| 1282 | prt.CFrame = cframe | |
| 1283 | prt.Material = "Neon" | |
| 1284 | local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1285 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1286 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1287 | for i = 0, 1, delay do | |
| 1288 | fat.Event:wait() | |
| 1289 | Part.Transparency = i | |
| 1290 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1291 | end | |
| 1292 | Part.Parent = nil | |
| 1293 | end | |
| 1294 | ), prt, msh) | |
| 1295 | end | |
| 1296 | ||
| 1297 | SphereShockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1298 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1299 | prt.Anchored = true | |
| 1300 | prt.CFrame = cframe | |
| 1301 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1302 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1303 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1304 | for i = 0, 1, delay do | |
| 1305 | fat.Event:wait() | |
| 1306 | Part.Transparency = i | |
| 1307 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1308 | end | |
| 1309 | Part.Parent = nil | |
| 1310 | end | |
| 1311 | ), prt, msh) | |
| 1312 | end | |
| 1313 | ||
| 1314 | SphereShockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1315 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1316 | prt.Anchored = true | |
| 1317 | prt.CFrame = cframe * angles(math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90)), math.rad(math.random(-90, 90))) | |
| 1318 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1319 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1320 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1321 | for i = 0, 1, delay do | |
| 1322 | fat.Event:wait() | |
| 1323 | Part.Transparency = i | |
| 1324 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1325 | end | |
| 1326 | Part.Parent = nil | |
| 1327 | end | |
| 1328 | ), prt, msh) | |
| 1329 | end | |
| 1330 | ||
| 1331 | Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1332 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1333 | prt.Anchored = true | |
| 1334 | prt.CFrame = cframe | |
| 1335 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1336 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1337 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1338 | for i = 0, 1, delay do | |
| 1339 | fat.Event:wait() | |
| 1340 | Part.CFrame = Part.CFrame | |
| 1341 | Part.Transparency = i | |
| 1342 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1343 | end | |
| 1344 | Part.Parent = nil | |
| 1345 | end | |
| 1346 | ), prt, msh) | |
| 1347 | end | |
| 1348 | ||
| 1349 | BashEffect = function(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay) | |
| 1350 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1351 | prt.Anchored = true | |
| 1352 | prt.CFrame = cframe | |
| 1353 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1354 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1355 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1356 | for i = 0, 1, delay do | |
| 1357 | fat.Event:wait() | |
| 1358 | Part.CFrame = Part.CFrame | |
| 1359 | Part.Transparency = i | |
| 1360 | Mesh.Scale = Mesh.Scale + vt(x2, y2, z2) | |
| 1361 | end | |
| 1362 | Part.Parent = nil | |
| 1363 | end | |
| 1364 | ), prt, msh) | |
| 1365 | end | |
| 1366 | ||
| 1367 | leftlegangle = 0 | |
| 1368 | leftlegcframe2 = 0 | |
| 1369 | leftlegcframe3 = 0 | |
| 1370 | rightlegangle = 0 | |
| 1371 | rightlegcframe2 = 0 | |
| 1372 | rightlegcframe3 = 0 | |
| 1373 | leftarmangle = 0 | |
| 1374 | rightarmangle = 0 | |
| 1375 | MMouse = mouse | |
| 1376 | canidle = true | |
| 1377 | canwalk = true | |
| 1378 | local robloxidleanimation = Instance.new("Animation", Torso)
| |
| 1379 | robloxidleanimation.Name = "robloxidleanimation" | |
| 1380 | robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 1381 | RWC0 = cf(-0.5, 0, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) | |
| 1382 | LWC0 = cf(0.5, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) | |
| 1383 | coroutine.resume(coroutine.create(function() | |
| 1384 | while 1 do | |
| 1385 | while 1 do | |
| 1386 | leftlegangle = -60 | |
| 1387 | leftlegcframe3 = 0.1 | |
| 1388 | leftlegcframe2 = 0.225 | |
| 1389 | rightlegangle = 60 | |
| 1390 | rightlegcframe3 = 0.2 | |
| 1391 | rightlegcframe2 = -0.2 | |
| 1392 | leftarmangle = -30 | |
| 1393 | rightarmangle = 60 | |
| 1394 | if speed.Value > 0.9 then | |
| 1395 | wait(0.375 / (speed.Value / 0.9)) | |
| 1396 | else | |
| 1397 | if speed.Value == 0.9 or speed.Value < 0.9 then | |
| 1398 | wait(0.375) | |
| 1399 | end | |
| 1400 | end | |
| 1401 | leftlegangle = 60 | |
| 1402 | leftlegcframe3 = -0.2 | |
| 1403 | leftlegcframe2 = -0.2 | |
| 1404 | rightlegangle = -60 | |
| 1405 | rightlegcframe3 = -0.1 | |
| 1406 | rightlegcframe2 = 0.225 | |
| 1407 | leftarmangle = 60 | |
| 1408 | rightarmangle = -30 | |
| 1409 | if speed.Value > 0.9 then | |
| 1410 | wait(0.375 / (speed.Value / 0.9)) | |
| 1411 | -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1412 | ||
| 1413 | -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_STMT | |
| 1414 | ||
| 1415 | end | |
| 1416 | end | |
| 1417 | if speed.Value == 0.9 or speed.Value < 0.9 then | |
| 1418 | wait(0.375) | |
| 1419 | end | |
| 1420 | end | |
| 1421 | end | |
| 1422 | )) | |
| 1423 | leftarmidleangle = 0 | |
| 1424 | rightarmidleangle = 0 | |
| 1425 | headidleangle = 0 | |
| 1426 | idlenumber = 0 | |
| 1427 | coroutine.resume(coroutine.create(function() | |
| 1428 | while 1 do | |
| 1429 | wait() | |
| 1430 | idlenumber = idlenumber + 1 | |
| 1431 | if idlenumber == 250 then | |
| 1432 | idlenumber = 0 | |
| 1433 | leftarmidleangle = -25 | |
| 1434 | rightarmidleangle = 25 | |
| 1435 | headidleangle = 50 | |
| 1436 | wait(2) | |
| 1437 | leftarmidleangle = 25 | |
| 1438 | rightarmidleangle = -25 | |
| 1439 | headidleangle = -50 | |
| 1440 | wait(2) | |
| 1441 | leftarmidleangle = 0 | |
| 1442 | rightarmidleangle = 0 | |
| 1443 | headidleangle = 0 | |
| 1444 | end | |
| 1445 | if attack == true or equipped == false or Anim ~= "Idle" then | |
| 1446 | idlenumber = 0 | |
| 1447 | end | |
| 1448 | end | |
| 1449 | end | |
| 1450 | )) | |
| 1451 | canability1 = true | |
| 1452 | canability2 = true | |
| 1453 | canability3 = true | |
| 1454 | canability4 = true | |
| 1455 | equipanim = function() | |
| 1456 | attack = true | |
| 1457 | for i = 0, 1, 0.1 do | |
| 1458 | fat.Event:wait() | |
| 1459 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
| 1460 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3) | |
| 1461 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(-50), math.rad(0), math.rad(-40)) * RWC0, 0.3) | |
| 1462 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
| 1463 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
| 1464 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 1465 | end | |
| 1466 | Handleweld.Part0 = RightArm | |
| 1467 | Handleweld.Part1 = Handle | |
| 1468 | Handleweld.C0 = cf(0, 0, 0) * angles(math.rad(0), math.rad(145), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(0)) * cf(0, 0.25, 0) | |
| 1469 | Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.5, 0) * angles(math.rad(0), math.rad(-180), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(45)) * cf(0, 0.25, 0), 1) | |
| 1470 | for i = 0, 1, 0.1 do | |
| 1471 | fat.Event:wait() | |
| 1472 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
| 1473 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
| 1474 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(30), math.rad(0), math.rad(30)) * RWC0, 0.3) | |
| 1475 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)) * LWC0, 0.3) | |
| 1476 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
| 1477 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 1478 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(315), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)) * cf(0, 0.25, 0), 0.3) | |
| 1479 | end | |
| 1480 | speed.Value = speed.Value - 0.1 | |
| 1481 | attack = false | |
| 1482 | end | |
| 1483 | ||
| 1484 | unequipanim = function() | |
| 1485 | attack = true | |
| 1486 | for i = 0, 1, 0.2 do | |
| 1487 | fat.Event:wait() | |
| 1488 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
| 1489 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
| 1490 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(30), math.rad(0), math.rad(30)) * RWC0, 0.3) | |
| 1491 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)) * LWC0, 0.3) | |
| 1492 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
| 1493 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 1494 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(315), math.rad(0)) * angles(math.rad(15), math.rad(0), math.rad(0)) * cf(0, 0.25, 0), 0.3) | |
| 1495 | end | |
| 1496 | for i = 0, 1, 0.08 do | |
| 1497 | fat.Event:wait() | |
| 1498 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.3) | |
| 1499 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3) | |
| 1500 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.25, 0) * angles(math.rad(-40), math.rad(0), math.rad(-40)) * RWC0, 0.3) | |
| 1501 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
| 1502 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.3) | |
| 1503 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 1504 | Handleweld.C0 = clerp(Handleweld.C0, cf(0.5, -0.5, 0) * angles(math.rad(0), math.rad(-180), math.rad(0)) * angles(math.rad(75), math.rad(0), math.rad(45)) * cf(0, 0.25, 0), 0.3) | |
| 1505 | end | |
| 1506 | Handleweld.Part0 = Torso | |
| 1507 | Handleweld.Part1 = Handle | |
| 1508 | Handleweld.C0 = cf(-0.5, 0.75, 0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(45), math.rad(0), math.rad(0)) | |
| 1509 | for i = 0, 1, 0.06 do | |
| 1510 | fat.Event:wait() | |
| 1511 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1512 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1513 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * RWC0, 0.3) | |
| 1514 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * LWC0, 0.3) | |
| 1515 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1516 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1517 | end | |
| 1518 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
| 1519 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1) | |
| 1520 | speed.Value = speed.Value + 0.1 | |
| 1521 | attack = false | |
| 1522 | end | |
| 1523 | ||
| 1524 | attackone = function() | |
| 1525 | attack = true | |
| 1526 | for i = 0, 1, 0.16 do | |
| 1527 | fat.Event:wait() | |
| 1528 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
| 1529 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 1530 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-20), math.rad(0), math.rad(20)) * RWC0, 0.3) | |
| 1531 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-45)) * LWC0, 0.3) | |
| 1532 | RH.C0 = clerp(RH.C0, cf(0.75, -1, -0.25) * angles(math.rad(0), math.rad(150), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1533 | LH.C0 = clerp(LH.C0, cf(-0.75, -1, 0.25) * angles(math.rad(0), math.rad(-30), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1534 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3) | |
| 1535 | end | |
| 1536 | con1 = Hitbox.Touched:connect(function(hit) | |
| 1537 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
| 1538 | end | |
| 1539 | ) | |
| 1540 | so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 1.2)
| |
| 1541 | for i = 0, 1, 0.16 do | |
| 1542 | fat.Event:wait() | |
| 1543 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.45) | |
| 1544 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.45) | |
| 1545 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(5), math.rad(0)) * angles(math.rad(60), math.rad(0), math.rad(10)) * RWC0, 0.45) | |
| 1546 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)) * LWC0, 0.45) | |
| 1547 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(75), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1548 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-105), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.45) | |
| 1549 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.25, 0) * angles(math.rad(-40), math.rad(0), math.rad(0)) * cf(0, 0, -1), 0.45) | |
| 1550 | end | |
| 1551 | con1:disconnect() | |
| 1552 | attack = false | |
| 1553 | end | |
| 1554 | ||
| 1555 | attacktwo = function() | |
| 1556 | attack = true | |
| 1557 | for i = 0, 1, 0.16 do | |
| 1558 | fat.Event:wait() | |
| 1559 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1560 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3) | |
| 1561 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.75, -0.5) * angles(math.rad(135), math.rad(0), math.rad(-45)) * RWC0, 0.3) | |
| 1562 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)) * LWC0, 0.3) | |
| 1563 | 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) | |
| 1564 | 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) | |
| 1565 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)) * angles(math.rad(20), math.rad(0), math.rad(0)) * cf(-0.65, 0.25, 0), 0.3) | |
| 1566 | end | |
| 1567 | con1 = Hitbox.Touched:connect(function(hit) | |
| 1568 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
| 1569 | end | |
| 1570 | ) | |
| 1571 | so("http://roblox.com/asset/?id=199145095", Hitbox, 1, 1)
| |
| 1572 | for i = 0, 1, 0.16 do | |
| 1573 | fat.Event:wait() | |
| 1574 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.45) | |
| 1575 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.45) | |
| 1576 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(-45)) * RWC0, 0.45) | |
| 1577 | LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(45), math.rad(0), math.rad(45)) * LWC0, 0.45) | |
| 1578 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-40)), 0.45) | |
| 1579 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-40)), 0.45) | |
| 1580 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)) * angles(math.rad(-40), math.rad(0), math.rad(0)) * cf(-0.65, 0.25, 0), 0.3) | |
| 1581 | end | |
| 1582 | con1:disconnect() | |
| 1583 | attack = false | |
| 1584 | end | |
| 1585 | ||
| 1586 | attackthree = function() | |
| 1587 | attack = true | |
| 1588 | for i = 0, 1, 0.16 do | |
| 1589 | fat.Event:wait() | |
| 1590 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 1591 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-15)), 0.3) | |
| 1592 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.3) | |
| 1593 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)) * LWC0, 0.3) | |
| 1594 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1595 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1596 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1597 | end | |
| 1598 | con1 = Hitbox.Touched:connect(function(hit) | |
| 1599 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
| 1600 | end | |
| 1601 | ) | |
| 1602 | so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 0.8)
| |
| 1603 | for i = 0, 1, 0.16 do | |
| 1604 | fat.Event:wait() | |
| 1605 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30 - 360 * i)), 0.45) | |
| 1606 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45) | |
| 1607 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45) | |
| 1608 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45) | |
| 1609 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1610 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1611 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45) | |
| 1612 | end | |
| 1613 | for i = 0, 1, 0.16 do | |
| 1614 | fat.Event:wait() | |
| 1615 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1616 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1617 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.3) | |
| 1618 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)) * LWC0, 0.3) | |
| 1619 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1620 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1621 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.3) | |
| 1622 | end | |
| 1623 | con1:disconnect() | |
| 1624 | attack = false | |
| 1625 | end | |
| 1626 | ||
| 1627 | attackfour = function() | |
| 1628 | attack = true | |
| 1629 | for i = 0, 1, 0.16 do | |
| 1630 | fat.Event:wait() | |
| 1631 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 1632 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.3) | |
| 1633 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-30)) * angles(math.rad(0), math.rad(135), math.rad(0)) * RWC0, 0.3) | |
| 1634 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)) * LWC0, 0.3) | |
| 1635 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1636 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-120), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1637 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1638 | end | |
| 1639 | con1 = Hitbox.Touched:connect(function(hit) | |
| 1640 | Damagefunc(hit, 8, 12, 1, "Normal", RootPart, 0.2, 1) | |
| 1641 | end | |
| 1642 | ) | |
| 1643 | so("http://roblox.com/asset/?id=199145204", Hitbox, 1, 1)
| |
| 1644 | for i = 0, 1, 0.12 do | |
| 1645 | fat.Event:wait() | |
| 1646 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 3) * angles(math.rad(0), math.rad(90), math.rad(-30 - 360 * i)), 0.45) | |
| 1647 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45) | |
| 1648 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45) | |
| 1649 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45) | |
| 1650 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1651 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1652 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45) | |
| 1653 | end | |
| 1654 | so("http://roblox.com/asset/?id=199145095", Hitbox, 1, 0.9)
| |
| 1655 | for i = 0, 1, 0.12 do | |
| 1656 | fat.Event:wait() | |
| 1657 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 4) * angles(math.rad(0), math.rad(90), math.rad(-30 - 360 * i)), 0.45) | |
| 1658 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.45) | |
| 1659 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)) * angles(math.rad(0), math.rad(90), math.rad(0)) * RWC0, 0.45) | |
| 1660 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-60)) * LWC0, 0.45) | |
| 1661 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1662 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.45) | |
| 1663 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, -0.25, -0.5) * angles(math.rad(-40), math.rad(0), math.rad(0)), 0.45) | |
| 1664 | end | |
| 1665 | con1:disconnect() | |
| 1666 | attack = false | |
| 1667 | end | |
| 1668 | ||
| 1669 | Stop = function() | |
| 1670 | attack = true | |
| 1671 | for i = 0, 1, 0.1 do | |
| 1672 | fat.Event:wait() | |
| 1673 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 1674 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3) | |
| 1675 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(135), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(30), math.rad(30)) * RWC0, 0.3) | |
| 1676 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
| 1677 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 1678 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3) | |
| 1679 | Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1680 | end | |
| 1681 | for i = 0, 1, 0.1 do | |
| 1682 | fat.Event:wait() | |
| 1683 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3) | |
| 1684 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-45)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 1685 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(45)) * RWC0, 0.3) | |
| 1686 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)) * LWC0, 0.3) | |
| 1687 | RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * angles(math.rad(0), math.rad(45), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3) | |
| 1688 | LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3) | |
| 1689 | Handleweld.C0 = clerp(Handleweld.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1690 | end | |
| 1691 | local stopsignref = part(3, Character, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
| |
| 1692 | stopsignref.Anchored = true | |
| 1693 | stopsignref.CanCollide = false | |
| 1694 | stopsignref.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 1695 | stopsignref.CFrame = RootPart.CFrame * cf(1.05, 0, -2.5) * angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1696 | Handleweld.Part0 = stopsignref | |
| 1697 | Handleweld.Part1 = Handle | |
| 1698 | Handleweld.C0 = stopsignref.CFrame * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1699 | coroutine.resume(coroutine.create(function() | |
| 1700 | while Handleweld.Part0 == stopsignref do | |
| 1701 | wait(0.5) | |
| 1702 | MagniDamage(stopsignref, 15, 5, 10, 0, "QuietNormal") | |
| 1703 | end | |
| 1704 | end | |
| 1705 | )) | |
| 1706 | for i = 1, math.random(2, 4) do | |
| 1707 | OrbEffect(CustomColor, stopsignref.CFrame * cf(0, 0, 0), 1, 1, 1, 0.5, 0.5, 0.5, 0.05) | |
| 1708 | end | |
| 1709 | coroutine.resume(coroutine.create(function() | |
| 1710 | while 1 do | |
| 1711 | wait() | |
| 1712 | if stopsignref.Parent ~= nil then | |
| 1713 | wait(0.1) | |
| 1714 | SphereShockwave(CustomColor, stopsignref.CFrame * cf(0, -2.95, 0), 50, 0.1, 50, 0.1, 0.1, 0.1, 0.1) | |
| 1715 | BlockShockwave(CustomColor, stopsignref.CFrame * cf(math.random(-6, 6), math.random(-2, 2), math.random(-6, 6)), 1, 1, 1, 0.5, 0.5, 0.5, 0.1) | |
| 1716 | JumpEffect(CustomColor, stopsignref.CFrame * cf(0, -2.9, 0), 25, 25, 0.1, 0.1, 0.1, 1, 0.1) | |
| 1717 | end | |
| 1718 | if Humanoid.Health < 0 or Humanoid.Health == 0 then | |
| 1719 | stopsignref:Destroy() | |
| 1720 | end | |
| 1721 | if (((equipped == false or equipped ~= true) or attack ~= false) and attack ~= true) or Handleweld.Part0 ~= stopsignref then | |
| 1722 | stopsignref:Destroy() | |
| 1723 | end | |
| 1724 | end | |
| 1725 | end | |
| 1726 | )) | |
| 1727 | attack = false | |
| 1728 | end | |
| 1729 | ||
| 1730 | NoStop = function() | |
| 1731 | attack = true | |
| 1732 | speed.Value = speed.Value - 0.6 | |
| 1733 | coroutine.resume(coroutine.create(function() | |
| 1734 | for i,v in pairs(m:children()) do | |
| 1735 | do | |
| 1736 | if v:IsA("Part") and v.Name ~= "Hitbox" then
| |
| 1737 | do | |
| 1738 | coroutine.resume(coroutine.create(function() | |
| 1739 | for i = 0, 1, 0.1 do | |
| 1740 | fat.Event:wait() | |
| 1741 | v.Transparency = v.Transparency + 1 * i | |
| 1742 | end | |
| 1743 | v.Transparency = 1 | |
| 1744 | end | |
| 1745 | )) | |
| 1746 | end | |
| 1747 | end | |
| 1748 | end | |
| 1749 | end | |
| 1750 | end | |
| 1751 | )) | |
| 1752 | for i = 0, 1, 0.1 do | |
| 1753 | fat.Event:wait() | |
| 1754 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * angles(math.rad(40), math.rad(0), math.rad(20)), 0.3) | |
| 1755 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3) | |
| 1756 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(70), math.rad(30)) * RWC0, 0.3) | |
| 1757 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)) * LWC0, 0.3) | |
| 1758 | RH.C0 = clerp(RH.C0, cf(1, 0.5, 0) * angles(math.rad(0), math.rad(60), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3) | |
| 1759 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-40), math.rad(-80), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.3) | |
| 1760 | SphereShockwave(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 8, 0.2, 8, 0.1, 0.1, 0.1, 0.1) | |
| 1761 | JumpEffect(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 4, 4, 0.2, 0.1, 0.1, 0.4, 0.1) | |
| 1762 | end | |
| 1763 | coroutine.resume(coroutine.create(function() | |
| 1764 | for i,v in pairs(m:children()) do | |
| 1765 | do | |
| 1766 | if v:IsA("Part") and v.Name ~= "Hitbox" then
| |
| 1767 | do | |
| 1768 | coroutine.resume(coroutine.create(function() | |
| 1769 | for i = 0, 1, 0.1 do | |
| 1770 | fat.Event:wait() | |
| 1771 | v.Transparency = v.Transparency - 1 * i | |
| 1772 | end | |
| 1773 | v.Transparency = 0 | |
| 1774 | end | |
| 1775 | )) | |
| 1776 | -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_THEN_STMT | |
| 1777 | ||
| 1778 | -- DECOMPILER ERROR at PC22: LeaveBlock: unexpected jumping out IF_STMT | |
| 1779 | ||
| 1780 | end | |
| 1781 | end | |
| 1782 | end | |
| 1783 | end | |
| 1784 | end | |
| 1785 | )) | |
| 1786 | Handleweld.Part0 = RootPart | |
| 1787 | Handleweld.Part1 = Handle | |
| 1788 | Handleweld.C0 = cf(-0.25, -8, -1.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(90)) * cf(0, 0, 0) | |
| 1789 | so("http://roblox.com/asset/?id=203691785", Hitbox, 1, 1)
| |
| 1790 | for i = 0, 1, 0.1 do | |
| 1791 | fat.Event:wait() | |
| 1792 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
| 1793 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
| 1794 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(70), math.rad(0)) * RWC0, 0.3) | |
| 1795 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
| 1796 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1797 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1798 | Handleweld.C0 = clerp(Handleweld.C0, cf(-0.25, 0, -1.5) * angles(math.rad(90), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(90)) * cf(0, 0, 0), 0.3) | |
| 1799 | SphereShockwave(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 8, 0.2, 8, 0.1, 0.1, 0.1, 0.1) | |
| 1800 | JumpEffect(CustomColor, RootPart.CFrame * cf(0.8, -3, -1.4), 4, 4, 0.2, 0.1, 0.1, 0.4, 0.1) | |
| 1801 | end | |
| 1802 | Handleweld.Part0 = RightArm | |
| 1803 | Handleweld.Part1 = Handle | |
| 1804 | Handleweld.C0 = cf(1, -1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * cf(0, 0, 0) * angles(math.rad(120), math.rad(-70), math.rad(0)) * angles(math.rad(0), math.rad(-70), math.rad(0)) * cf(1, 1, 1) | |
| 1805 | speed.Value = speed.Value + 0.6 | |
| 1806 | attack = false | |
| 1807 | end | |
| 1808 | ||
| 1809 | LaserThing = function(Part, Spread1, Spread2, Height1, Height2) | |
| 1810 | coroutine.resume(coroutine.create(function() | |
| 1811 | local risespeed = 0.08 | |
| 1812 | local orbthingy = part(3, Character, "SmoothPlastic", 0, 1, CustomColor, "Orb Thingy", vt()) | |
| 1813 | orbthingy.Anchored = true | |
| 1814 | orbthingy.CanCollide = false | |
| 1815 | local orbthingymesh = mesh("SpecialMesh", orbthingy, "Sphere", "", vt(0, 0, 0), vt(10, 10, 10))
| |
| 1816 | orbthingy.CFrame = Part.CFrame * cf(math.random(-10, 10), math.random(0, 10), math.random(-10, 10)) | |
| 1817 | BlockShockwave(CustomColor, cf(orbthingy.Position), 1, 1, 1, 1, 1, 1, 0.1) | |
| 1818 | so("http://roblox.com/asset/?id=183763498", orbthingy, 1, 1.2)
| |
| 1819 | coroutine.resume(coroutine.create(function() | |
| 1820 | local cf1 = math.random(Height1, Height2) / 10 | |
| 1821 | local cf2 = math.random(Spread1, Spread2) / 10 | |
| 1822 | local cf3 = math.random(Spread1, Spread2) / 10 | |
| 1823 | local n = 10 | |
| 1824 | for i = 0, 1, risespeed do | |
| 1825 | fat.Event:wait() | |
| 1826 | orbthingy.Transparency = 1 - 0.5 * i | |
| 1827 | orbthingy.CFrame = orbthingy.CFrame * cf(cf2 * i * n, cf1 * i * n, cf3 * i * n) * angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1828 | n = n - 0.8 | |
| 1829 | end | |
| 1830 | end | |
| 1831 | )) | |
| 1832 | coroutine.resume(coroutine.create(function() | |
| 1833 | wait(1) | |
| 1834 | orbthingy.CFrame = orbthingy.CFrame * angles(math.rad(180), math.rad(0), math.rad(0)) | |
| 1835 | local spread = vt(math.random(-1, 1) / 10, math.random(-1, 1) / 10, math.random(-1, 1) / 10) | |
| 1836 | local StartingPos = orbthingy.Position + vt(0, -1, 0) | |
| 1837 | local MouseLook = cf((orbthingy.Position + StartingPos) / 2, StartingPos + spread) | |
| 1838 | local hit, pos = rayCast(orbthingy.Position, MouseLook.lookVector, 999, Character) | |
| 1839 | local mag = orbthingy.Position - pos.magnitude | |
| 1840 | CylinderShockwave(CustomColor, CFrame.new((StartingPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 2, 1, 0.5, 0, 0.5, 0.125) | |
| 1841 | BlockShockwave(CustomColor, cf(orbthingy.Position), 1, 1, 1, 1, 1, 1, 0.1) | |
| 1842 | BlockShockwave(CustomColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.075) | |
| 1843 | JumpEffect(CustomColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.075) | |
| 1844 | local refpart = part(3, Character, "SmoothPlastic", 0, 1, "Really black", "Effect", vt()) | |
| 1845 | refpart.Anchored = true | |
| 1846 | refpart.CanCollide = false | |
| 1847 | refpart.CFrame = cf(pos) | |
| 1848 | game:getService("Debris"):AddItem(refpart, 2)
| |
| 1849 | so("http://roblox.com/asset/?id=183763487", refpart, 1, 1)
| |
| 1850 | MagniDamage(refpart, 10, 5, 10, 0, "Normal", RootPart) | |
| 1851 | if hit ~= nil then | |
| 1852 | Damagefunc(hit, 10, 20, 1, "Normal", RootPart, 0) | |
| 1853 | end | |
| 1854 | orbthingy.Parent = nil | |
| 1855 | end | |
| 1856 | )) | |
| 1857 | end | |
| 1858 | )) | |
| 1859 | end | |
| 1860 | ||
| 1861 | local LaserTarget = RootPart | |
| 1862 | local spawninglasers = false | |
| 1863 | Lasers = function() | |
| 1864 | attack = true | |
| 1865 | spawninglasers = true | |
| 1866 | coroutine.resume(coroutine.create(function() | |
| 1867 | while spawninglasers == true do | |
| 1868 | LaserThing(Torso, -1, 1, 5, 10) | |
| 1869 | if Handleweld.Part0 == RightArm then | |
| 1870 | BlockShockwave(CustomColor, cf(Hitbox.Position), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1) | |
| 1871 | else | |
| 1872 | if Handleweld.Part0 ~= RightArm then | |
| 1873 | BlockShockwave(CustomColor, RightArm.CFrame * cf(0, -1, 0), 0.1, 0.1, 0.1, 0.5, 0.5, 0.5, 0.1) | |
| 1874 | end | |
| 1875 | end | |
| 1876 | wait(0.1) | |
| 1877 | end | |
| 1878 | end | |
| 1879 | )) | |
| 1880 | for i = 1, 3 do | |
| 1881 | for i = 0, 1, 0.1 do | |
| 1882 | fat.Event:wait() | |
| 1883 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1884 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1885 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)) * RWC0, 0.3) | |
| 1886 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)) * LWC0, 0.3) | |
| 1887 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1888 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1889 | if Handleweld.Part0 == RightArm then | |
| 1890 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.3) | |
| 1891 | end | |
| 1892 | end | |
| 1893 | end | |
| 1894 | spawninglasers = false | |
| 1895 | attack = false | |
| 1896 | end | |
| 1897 | ||
| 1898 | hold = false | |
| 1899 | ob1d = function(mouse) | |
| 1900 | if attack == true or equipped == false then | |
| 1901 | return | |
| 1902 | end | |
| 1903 | hold = true | |
| 1904 | if Handleweld.Part0 == RightArm then | |
| 1905 | if attacktype == 1 then | |
| 1906 | attacktype = 2 | |
| 1907 | attackone() | |
| 1908 | else | |
| 1909 | if attacktype == 2 then | |
| 1910 | attacktype = 3 | |
| 1911 | attacktwo() | |
| 1912 | else | |
| 1913 | if attacktype == 3 then | |
| 1914 | attacktype = 4 | |
| 1915 | attackthree() | |
| 1916 | else | |
| 1917 | if attacktype == 4 then | |
| 1918 | attacktype = 1 | |
| 1919 | attackfour() | |
| 1920 | end | |
| 1921 | end | |
| 1922 | end | |
| 1923 | end | |
| 1924 | end | |
| 1925 | coroutine.resume(coroutine.create(function() | |
| 1926 | for i = 1, 50 do | |
| 1927 | if attack == false then | |
| 1928 | swait(1) | |
| 1929 | end | |
| 1930 | end | |
| 1931 | if attack == false then | |
| 1932 | attacktype = 1 | |
| 1933 | end | |
| 1934 | end | |
| 1935 | )) | |
| 1936 | end | |
| 1937 | ||
| 1938 | ob1u = function(mouse) | |
| 1939 | hold = false | |
| 1940 | end | |
| 1941 | ||
| 1942 | k = function(k) | |
| 1943 | if k == "f" and attack == false then | |
| 1944 | if equipped == false then | |
| 1945 | equipped = true | |
| 1946 | animate.Disabled = true | |
| 1947 | local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation) | |
| 1948 | idleanimation:Play() | |
| 1949 | equipanim() | |
| 1950 | else | |
| 1951 | do | |
| 1952 | if equipped == true and Handleweld.Part0 == RightArm then | |
| 1953 | equipped = false | |
| 1954 | unequipanim() | |
| 1955 | swait(0) | |
| 1956 | animate.Disabled = false | |
| 1957 | end | |
| 1958 | if k == "e" and attack == false and equipped == true and canability1 == true then | |
| 1959 | if Handleweld.Part0 == RightArm then | |
| 1960 | Stop() | |
| 1961 | else | |
| 1962 | if Handleweld.Part0 ~= RightArm then | |
| 1963 | NoStop() | |
| 1964 | end | |
| 1965 | end | |
| 1966 | end | |
| 1967 | if k == "x" and attack == false and equipped == true and canability2 == true then | |
| 1968 | Lasers() | |
| 1969 | end | |
| 1970 | if k == "c" and attack == false and equipped == true and canability3 == true then | |
| 1971 | end | |
| 1972 | end | |
| 1973 | end | |
| 1974 | end | |
| 1975 | end | |
| 1976 | ||
| 1977 | k2 = function(k) | |
| 1978 | end | |
| 1979 | ||
| 1980 | s = function(mouse) | |
| 1981 | mouse.Button1Down:connect(function() | |
| 1982 | ob1d(mouse) | |
| 1983 | end | |
| 1984 | ) | |
| 1985 | mouse.Button1Up:connect(function() | |
| 1986 | ob1u(mouse) | |
| 1987 | end | |
| 1988 | ) | |
| 1989 | mouse.KeyDown:connect(k) | |
| 1990 | mouse.KeyUp:connect(k2) | |
| 1991 | player = Player | |
| 1992 | ch = Character | |
| 1993 | MMouse = mouse | |
| 1994 | end | |
| 1995 | ||
| 1996 | ds = function(mouse) | |
| 1997 | end | |
| 1998 | ||
| 1999 | local Stats = Instance.new("BoolValue")
| |
| 2000 | Stats.Name = "Stats" | |
| 2001 | Stats.Parent = Character | |
| 2002 | local Mvmt = Instance.new("NumberValue")
| |
| 2003 | Mvmt.Name = "Movement" | |
| 2004 | Mvmt.Parent = Stats | |
| 2005 | Mvmt.Value = 1 | |
| 2006 | ||
| 2007 | Bin.Selected:connect(s) | |
| 2008 | Bin.Deselected:connect(ds) | |
| 2009 | local donum = 0 | |
| 2010 | local walk = 0 | |
| 2011 | local walkforw = true | |
| 2012 | while true do | |
| 2013 | swait() | |
| 2014 | if 0.5 <= donum then | |
| 2015 | handidle = true | |
| 2016 | else | |
| 2017 | if donum <= 0 then | |
| 2018 | handidle = false | |
| 2019 | end | |
| 2020 | end | |
| 2021 | if handidle == false then | |
| 2022 | donum = donum + 0.003 | |
| 2023 | else | |
| 2024 | donum = donum - 0.003 | |
| 2025 | end | |
| 2026 | torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 2027 | velderp=RootPart.Velocity.y | |
| 2028 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 2029 | if equipped == true then | |
| 2030 | if Anim == "Walk" then | |
| 2031 | if walkforw == true then | |
| 2032 | RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50) | |
| 2033 | LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50) | |
| 2034 | else | |
| 2035 | RH.C1 = clerp(RH.C1, RHC1 * cf(0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50) | |
| 2036 | LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50) | |
| 2037 | end | |
| 2038 | else | |
| 2039 | RH.C1 = clerp(RH.C1, RHC1, 0.2) | |
| 2040 | LH.C1 = clerp(LH.C1, LHC1, 0.2) | |
| 2041 | end | |
| 2042 | if 1 < RootPart.Velocity.y and hitfloor == nil then | |
| 2043 | Anim = "Jump" | |
| 2044 | if attack == false and equipped == true and Handleweld.Part0 == RightArm then | |
| 2045 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15) | |
| 2046 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15) | |
| 2047 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15) | |
| 2048 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(30)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15) | |
| 2049 | RH.C0 = clerp(RH.C0, cf(1, -1, -0.25) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
| 2050 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.25) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
| 2051 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2052 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2053 | end | |
| 2054 | if Handleweld.Part0 == RightArm then | |
| 2055 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.5, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
| 2056 | end | |
| 2057 | else | |
| 2058 | if RootPart.Velocity.y < -1 and hitfloor == nil then | |
| 2059 | Anim = "Fall" | |
| 2060 | if attack == false and equipped == true and Handleweld.Part0 == RightArm then | |
| 2061 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
| 2062 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
| 2063 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15) | |
| 2064 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(10)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15) | |
| 2065 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2066 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2067 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2068 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2069 | end | |
| 2070 | if attack == false and equipped == true and Handleweld.Part0 ~= RightArm then | |
| 2071 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2072 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
| 2073 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(10)) * RWC0, 0.15) | |
| 2074 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-10)) * LWC0, 0.15) | |
| 2075 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2076 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2077 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2078 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2079 | end | |
| 2080 | else | |
| 2081 | if torvel < 1 and hitfloor ~= nil then | |
| 2082 | Anim = "Idle" | |
| 2083 | if attack == false and equipped == true then | |
| 2084 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.15) | |
| 2085 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(30 + headidleangle)), 0.15) | |
| 2086 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 + (donum) / 0.05 + rightarmidleangle), math.rad(0), math.rad(20 - (donum) / 0.05)) * RWC0, 0.15) | |
| 2087 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30 - (donum) / 0.05 + leftarmidleangle), math.rad(0), math.rad(-30 + (donum) / 0.05)) * LWC0, 0.15) | |
| 2088 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(-5)), 0.15) | |
| 2089 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.15) | |
| 2090 | RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2091 | LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2092 | end | |
| 2093 | if Handleweld.Part0 == RightArm then | |
| 2094 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.25, 0.75) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15) | |
| 2095 | end | |
| 2096 | else | |
| 2097 | if 2 < torvel and torvel < 30 and hitfloor ~= nil then | |
| 2098 | Anim = "Walk" | |
| 2099 | walk = walk + 1 | |
| 2100 | if 15 - 5 * Mvmt.Value <= walk then | |
| 2101 | walk = 0 | |
| 2102 | if walkforw == true then | |
| 2103 | walkforw = false | |
| 2104 | else | |
| 2105 | if walkforw == false then | |
| 2106 | walkforw = true | |
| 2107 | end | |
| 2108 | end | |
| 2109 | end | |
| 2110 | if attack == false and equipped == true and Handleweld.Part0 == RightArm then | |
| 2111 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.15) | |
| 2112 | Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(15)), 0.15) | |
| 2113 | RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.3, -0.25) * angles(math.rad(30), math.rad(0), math.rad(10)) * angles(math.rad(0), math.rad(60), math.rad(0)) * RWC0, 0.15) | |
| 2114 | LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.25) * angles(math.rad(75), math.rad(0), math.rad(20)) * angles(math.rad(0), math.rad(60), math.rad(0)) * LWC0, 0.15) | |
| 2115 | --RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25) | |
| 2116 | --LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25) | |
| 2117 | RH.C0 = clerp(RH.C0, cf(1.05, -1, 0) * angles(math.rad(0), math.rad(105), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2118 | LH.C0 = clerp(LH.C0, cf(-1.05, -1, 0) * angles(math.rad(0), math.rad(-75), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15) | |
| 2119 | --RH.C1 = clerp(RH.C1, RHC1 * cf(0 + rightlegcframe3, 0 + rightlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + rightlegangle)), 0.175 * (speed.Value / 0.9)) | |
| 2120 | --LH.C1 = clerp(LH.C1, LHC1 * cf(0 + leftlegcframe3, 0 + leftlegcframe2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 - leftlegangle)), 0.175 * (speed.Value / 0.9)) | |
| 2121 | end | |
| 2122 | if Handleweld.Part0 == RightArm then | |
| 2123 | Handleweld.C0 = clerp(Handleweld.C0, cf(0, 0.5, -1) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15) | |
| 2124 | end | |
| 2125 | end | |
| 2126 | end | |
| 2127 | end | |
| 2128 | end | |
| 2129 | end | |
| 2130 | end |