SHOW:
|
|
- or go back to the newest paste.
| 1 | warn("Made by SezHu")
| |
| 2 | ||
| 3 | --Hello! I am joe201501 and i made this edit so this edit was Patchouli from Touhou EoSD Stage 4 Boss and Have Fun! how can you find me? Did you use the Bar from the down? ok go this test 10101010 + 1940892098 = ? if you guess whong baldi will kill you | |
| 4 | ||
| 5 | wait(1 / 60) | |
| 6 | Effects = { }
| |
| 7 | local Player = game.Players.localPlayer | |
| 8 | local Character = Player.Character | |
| 9 | ||
| 10 | taco = 0 | |
| 11 | m = 0 | |
| 12 | n = 0 | |
| 13 | o = 0 | |
| 14 | local angles = CFrame.Angles | |
| 15 | local Humanoid = Character.Humanoid | |
| 16 | local Mouse = Player:GetMouse() | |
| 17 | local LeftArm = Character["Left Arm"] | |
| 18 | local RightArm = Character["Right Arm"] | |
| 19 | local LeftLeg = Character["Left Leg"] | |
| 20 | local RightLeg = Character["Right Leg"] | |
| 21 | local Head = Character.Head | |
| 22 | local Torso = Character.Torso | |
| 23 | local Camera = game.Workspace.CurrentCamera | |
| 24 | local RootPart = Character.HumanoidRootPart | |
| 25 | local RootJoint = RootPart.RootJoint | |
| 26 | local attack = false | |
| 27 | local Anim = 'Idle' | |
| 28 | Humanoid.WalkSpeed = 0 | |
| 29 | Humanoid.AutoRotate = false | |
| 30 | Humanoid.JumpPower = 0 | |
| 31 | local attacktype = 1 | |
| 32 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 33 | local velocity = RootPart.Velocity.y | |
| 34 | local sine = 2 | |
| 35 | - | maincol = "White" |
| 35 | + | |
| 36 | local Create = LoadLibrary("RbxUtility").Create
| |
| 37 | maincol = "Magenta" | |
| 38 | desirefont = "Garamond" | |
| 39 | Head.face.Texture = "http://www.roblox.com/asset/?id= " | |
| 40 | Instance.new("ForceField",Character).Visible = false
| |
| 41 | transforming = true | |
| 42 | skillcolorscheme = BrickColor.new(maincol).Color | |
| 43 | untransforming = false | |
| 44 | ||
| 45 | local verlet = {}
| |
| 46 | verlet.step_time = 1 / 50 | |
| 47 | verlet.gravity = Vector3.new(0, -10, 0) | |
| 48 | ||
| 49 | local char = game.Players.LocalPlayer.Character | |
| 50 | local torso = char:WaitForChild("Torso")
| |
| 51 | local parts = {}
| |
| 52 | local render = game:GetService("RunService").RenderStepped
| |
| 53 | ||
| 54 | wait(2) | |
| 55 | ||
| 56 | local point = {}
| |
| 57 | local link = {}
| |
| 58 | local rope = {}
| |
| 59 | ||
| 60 | local function ccw(A,B,C) | |
| 61 | return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x) | |
| 62 | end | |
| 63 | ||
| 64 | local function intersect(A,B,C,D) | |
| 65 | return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D) | |
| 66 | end | |
| 67 | ||
| 68 | local function vec2(v) | |
| 69 | return Vector2.new(v.x, v.z) | |
| 70 | end | |
| 71 | ||
| 72 | function point:step() | |
| 73 | if not self.fixed then | |
| 74 | local derivative = (self.position - self.last_position) * 0.95 | |
| 75 | self.last_position = self.position | |
| 76 | self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2) | |
| 77 | --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5) | |
| 78 | local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5) | |
| 79 | local pointE = self.position + torso.CFrame.lookVector * 100 | |
| 80 | local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE)) | |
| 81 | if not doIntersect then | |
| 82 | self.postition = self.position - torso.CFrame.lookVector * 10 | |
| 83 | end]] | |
| 84 | end | |
| 85 | end | |
| 86 | ||
| 87 | function link:step() | |
| 88 | for i = 1, 1 do | |
| 89 | local distance = self.point1.position - self.point2.position | |
| 90 | local magnitude = distance.magnitude | |
| 91 | local differance = (self.length - magnitude) / magnitude | |
| 92 | local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance | |
| 93 | if not self.point1.fixed then | |
| 94 | self.point1.position = self.point1.position + translation | |
| 95 | end | |
| 96 | if not self.point2.fixed then | |
| 97 | self.point2.position = self.point2.position - translation | |
| 98 | end | |
| 99 | end | |
| 100 | end | |
| 101 | ||
| 102 | function verlet.new(class, a, b, c) | |
| 103 | if class == "Point" then | |
| 104 | local new = {}
| |
| 105 | - | t.Handle.Transparency = 1 |
| 105 | + | setmetatable(new, {__index = point})
|
| 106 | new.class = class | |
| 107 | new.position = a or Vector3.new() | |
| 108 | new.last_position = new.position | |
| 109 | new.velocity = verlet.gravity | |
| 110 | new.fixed = false | |
| 111 | return new | |
| 112 | elseif class == "Link" then | |
| 113 | local new = {}
| |
| 114 | setmetatable(new, {__index = link})
| |
| 115 | new.class = class | |
| 116 | new.point1 = a | |
| 117 | new.point2 = b | |
| 118 | new.length = c or (a.position - b.position).magnitude | |
| 119 | return new | |
| 120 | elseif class == "Rope" then | |
| 121 | local new = {}
| |
| 122 | setmetatable(new, {__index = link})
| |
| 123 | new.class = class | |
| 124 | new.start_point = a | |
| 125 | new.finish_point = b | |
| 126 | new.points = {}
| |
| 127 | new.links = {}
| |
| 128 | local inc = (b - a) / 10 | |
| 129 | for i = 0, 10 do | |
| 130 | table.insert(new.points, verlet.new("Point", a + (i * inc)))
| |
| 131 | end | |
| 132 | for i = 2, #new.points do | |
| 133 | table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
| |
| 134 | end | |
| 135 | return new | |
| 136 | end | |
| 137 | end | |
| 138 | ||
| 139 | local tris = {}
| |
| 140 | local triParts = {}
| |
| 141 | ||
| 142 | local function GetDiscoColor(hue) | |
| 143 | local section = hue % 1 * 3 | |
| 144 | local secondary = 0.5 * math.pi * (section % 1) | |
| 145 | if section < 1 then | |
| 146 | return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary)) | |
| 147 | elseif section < 2 then | |
| 148 | return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary)) | |
| 149 | else | |
| 150 | return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1) | |
| 151 | end | |
| 152 | end | |
| 153 | ||
| 154 | local function setupPart(part) | |
| 155 | part.Anchored = true | |
| 156 | part.FormFactor = 3 | |
| 157 | part.CanCollide = false | |
| 158 | part.TopSurface = 10 | |
| 159 | part.BottomSurface = 10 | |
| 160 | part.LeftSurface = 10 | |
| 161 | part.RightSurface = 10 | |
| 162 | part.FrontSurface = 10 | |
| 163 | part.BackSurface = 10 | |
| 164 | part.Material = "Neon" | |
| 165 | local m = Instance.new("SpecialMesh", part)
| |
| 166 | m.MeshType = "Wedge" | |
| 167 | m.Scale = Vector3.new(0.2, 1, 1) | |
| 168 | return part | |
| 169 | end | |
| 170 | ||
| 171 | local function CFrameFromTopBack(at, top, back) | |
| 172 | local right = top:Cross(back) | |
| 173 | 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) | |
| 174 | end | |
| 175 | ||
| 176 | local function drawTri(parent, a, b, c) | |
| 177 | local this = {}
| |
| 178 | local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
| |
| 179 | local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
| |
| 180 | function this:Set(a, b, c) | |
| 181 | local ab, bc, ca = b-a, c-b, a-c | |
| 182 | local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude | |
| 183 | local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm)) | |
| 184 | local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm)) | |
| 185 | local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam)) | |
| 186 | if edg1 < edg2 then | |
| 187 | if edg1 >= edg3 then | |
| 188 | a, b, c = c, a, b | |
| 189 | ab, bc, ca = ca, ab, bc | |
| 190 | abm = cam | |
| 191 | end | |
| 192 | else | |
| 193 | if edg2 < edg3 then | |
| 194 | a, b, c = b, c, a | |
| 195 | ab, bc, ca = bc, ca, ab | |
| 196 | abm = bcm | |
| 197 | else | |
| 198 | a, b, c = c, a, b | |
| 199 | ab, bc, ca = ca, ab, bc | |
| 200 | abm = cam | |
| 201 | end | |
| 202 | end | |
| 203 | ||
| 204 | local len1 = -ca:Dot(ab)/abm | |
| 205 | local len2 = abm - len1 | |
| 206 | local width = (ca + ab.unit*len1).magnitude | |
| 207 | ||
| 208 | local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit) | |
| 209 | ||
| 210 | if len1 > 0.2 then | |
| 211 | mPart1.Parent = parent | |
| 212 | mPart1.Size = Vector3.new(0.2, width, len1) | |
| 213 | mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 214 | else | |
| 215 | mPart1.Parent = nil | |
| 216 | end | |
| 217 | ||
| 218 | if len2 > 0.2 then | |
| 219 | mPart2.Parent = parent | |
| 220 | mPart2.Size = Vector3.new(0.2, width, len2) | |
| 221 | mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 222 | else | |
| 223 | mPart2.Parent = nil | |
| 224 | end | |
| 225 | end | |
| 226 | function this:SetProperty(prop, value) | |
| 227 | mPart1[prop] = value | |
| 228 | mPart2[prop] = value | |
| 229 | end | |
| 230 | this:Set(a, b, c) | |
| 231 | function this:Destroy() | |
| 232 | mPart1:Destroy() | |
| 233 | mPart2:Destroy() | |
| 234 | end | |
| 235 | this.p1 = mPart1 | |
| 236 | this.p2 = mPart2 | |
| 237 | this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time()))) | |
| 238 | this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time()))) | |
| 239 | return this | |
| 240 | end | |
| 241 | ||
| 242 | function verlet.draw(object, id) | |
| 243 | if object.class == "Point" then | |
| 244 | local part = parts[id] | |
| 245 | part.BrickColor = BrickColor.new(1, 1, 1) | |
| 246 | part.Transparency = 0 | |
| 247 | part.formFactor = 3 | |
| 248 | part.Anchored = true | |
| 249 | part.CanCollide = false | |
| 250 | part.TopSurface = 0 | |
| 251 | part.BottomSurface = 0 | |
| 252 | part.Size = Vector3.new(0.35, 0.35, 0.35) | |
| 253 | part.Material = "Neon" | |
| 254 | part.CFrame = CFrame.new(object.position) | |
| 255 | part.Parent = torso | |
| 256 | return part | |
| 257 | elseif object.class == "Link" then | |
| 258 | local part = parts[id] | |
| 259 | local dist = (object.point1.position - object.point2.position).magnitude | |
| 260 | part.Size = Vector3.new(0.2, 0.2, dist) | |
| 261 | part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5) | |
| 262 | part.Parent = torso | |
| 263 | return part | |
| 264 | end | |
| 265 | end | |
| 266 | ||
| 267 | function verlet.clear() | |
| 268 | for _, v in pairs(workspace:GetChildren()) do | |
| 269 | if v.Name == "Part" then | |
| 270 | v:Destroy() | |
| 271 | end | |
| 272 | end | |
| 273 | end | |
| 274 | ||
| 275 | local points = {}
| |
| 276 | local links = {}
| |
| 277 | ||
| 278 | for x = 0, 2 do | |
| 279 | points[x] = {}
| |
| 280 | for y = 0, 3 do | |
| 281 | points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
| |
| 282 | points[x][y].fixed = y == 0 | |
| 283 | end | |
| 284 | end | |
| 285 | ||
| 286 | for x = 1, 2 do | |
| 287 | for y = 0, 3 do | |
| 288 | links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
| |
| 289 | end | |
| 290 | end | |
| 291 | ||
| 292 | for x = 0, 2 do | |
| 293 | for y = 1, 3 do | |
| 294 | links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
| |
| 295 | end | |
| 296 | end | |
| 297 | ||
| 298 | render:connect(function() | |
| 299 | for x = 0, 2 do | |
| 300 | for y = 0, 3 do | |
| 301 | if y == 0 then | |
| 302 | points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p | |
| 303 | else | |
| 304 | points[x][y]:step() | |
| 305 | end | |
| 306 | end | |
| 307 | end | |
| 308 | for i = 1, #links do | |
| 309 | links[i]:step() | |
| 310 | end | |
| 311 | for i = 1, #tris do | |
| 312 | triParts[#triParts + 1] = tris[i].p1 | |
| 313 | triParts[#triParts + 1] = tris[i].p2 | |
| 314 | end | |
| 315 | tris = {}
| |
| 316 | for x = 1, 2 do | |
| 317 | for y = 1, 3 do | |
| 318 | tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position) | |
| 319 | tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position) | |
| 320 | end | |
| 321 | end | |
| 322 | end) | |
| 323 | ||
| 324 | ||
| 325 | local BillboardGui = Instance.new("BillboardGui")
| |
| 326 | ||
| 327 | BillboardGui.Parent = Character | |
| 328 | ||
| 329 | BillboardGui.Adornee = BillboardGui.Parent:FindFirstChild("Head")
| |
| 330 | ||
| 331 | BillboardGui.Size = UDim2.new(1, 0, 1, 0) | |
| 332 | ||
| 333 | BillboardGui.StudsOffset = Vector3.new(0, 5, 0) | |
| 334 | ||
| 335 | local TextLabel = Instance.new("TextLabel")
| |
| 336 | ||
| 337 | TextLabel.Parent = BillboardGui | |
| 338 | ||
| 339 | TextLabel.Position = UDim2.new(0, 0, 0, 0) | |
| 340 | ||
| 341 | TextLabel.Font = desirefont | |
| 342 | ||
| 343 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
| 344 | ||
| 345 | TextLabel.TextSize = 25 | |
| 346 | ||
| 347 | TextLabel.TextColor3 = Color3.new(0,0,0) | |
| 348 | ||
| 349 | TextLabel.TextStrokeTransparency = 0 | |
| 350 | ||
| 351 | TextLabel.TextStrokeColor3 = Color3.new(-1,-1,-1) | |
| 352 | ||
| 353 | TextLabel.BackgroundTransparency = 1 | |
| 354 | ||
| 355 | TextLabel.Text = " " | |
| 356 | ||
| 357 | ||
| 358 | ||
| 359 | local co1 = 0 | |
| 360 | local co2 = 0 | |
| 361 | local co3 = 0 | |
| 362 | local co4 = 0 | |
| 363 | local co5 = 0 | |
| 364 | ||
| 365 | local cooldown1 = 0 | |
| 366 | local cooldown2 = 0 | |
| 367 | local cooldown3 = 0 | |
| 368 | local cooldown4 = 0 | |
| 369 | local cooldown5 = 0 | |
| 370 | ||
| 371 | skillcolorscheme = BrickColor.new(maincol).Color | |
| 372 | ||
| 373 | local scrn = Instance.new('ScreenGui', Player.PlayerGui)
| |
| 374 | function makeframe(par, trans, pos, size, color) | |
| 375 | local frame = Instance.new('Frame', par)
| |
| 376 | frame.BackgroundTransparency = trans | |
| 377 | frame.BorderSizePixel = 0 | |
| 378 | frame.Position = pos | |
| 379 | frame.Size = size | |
| 380 | frame.BackgroundColor3 = color | |
| 381 | return frame | |
| 382 | end | |
| 383 | ||
| 384 | for y,t in pairs(Character:GetChildren()) do | |
| 385 | if t:IsA("Accessory") and t:FindFirstChild("Handle") then
| |
| 386 | t.Handle.Transparency = 0 | |
| 387 | end | |
| 388 | end | |
| 389 | ||
| 390 | local m = Create("Model"){
| |
| 391 | Parent = Character, | |
| 392 | Name = "WeaponModel", | |
| 393 | } | |
| 394 | ||
| 395 | Humanoid.Animator.Parent = nil | |
| 396 | Character.Animate.Parent = nil | |
| 397 | ||
| 398 | local newMotor = function(part0, part1, c0, c1) | |
| 399 | local w = Create('Motor'){
| |
| 400 | Parent = part0, | |
| 401 | Part0 = part0, | |
| 402 | Part1 = part1, | |
| 403 | C0 = c0, | |
| 404 | C1 = c1, | |
| 405 | } | |
| 406 | return w | |
| 407 | end | |
| 408 | ||
| 409 | function clerp(a, b, t) | |
| 410 | return a:lerp(b, t) | |
| 411 | end | |
| 412 | ||
| 413 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 414 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 415 | ||
| 416 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 417 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 418 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 419 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 420 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 421 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 422 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 423 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 424 | ||
| 425 | local rarmc1 = RW.C1 | |
| 426 | local larmc1 = LW.C1 | |
| 427 | local rlegc1 = RH.C1 | |
| 428 | local llegc1 = LH.C1 | |
| 429 | ||
| 430 | local resetc1 = false | |
| 431 | ||
| 432 | function PlayAnimationFromTable(table, speed, bool) | |
| 433 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 434 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 435 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 436 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 437 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 438 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 439 | if bool == true then | |
| 440 | if resetc1 == false then | |
| 441 | resetc1 = true | |
| 442 | RootJoint.C1 = RootJoint.C1 | |
| 443 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 444 | RW.C1 = rarmc1 | |
| 445 | LW.C1 = larmc1 | |
| 446 | RH.C1 = rlegc1 | |
| 447 | LH.C1 = llegc1 | |
| 448 | end | |
| 449 | end | |
| 450 | end | |
| 451 | ||
| 452 | ||
| 453 | ||
| 454 | ||
| 455 | ArtificialHB = Create("BindableEvent", script){
| |
| 456 | Parent = script, | |
| 457 | Name = "Heartbeat", | |
| 458 | } | |
| 459 | ||
| 460 | script:WaitForChild("Heartbeat")
| |
| 461 | ||
| 462 | frame = 1 / 30 | |
| 463 | tf = 0 | |
| 464 | allowframeloss = false | |
| 465 | tossremainder = false | |
| 466 | lastframe = tick() | |
| 467 | script.Heartbeat:Fire() | |
| 468 | ||
| 469 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 470 | tf = tf + s | |
| 471 | if tf >= frame then | |
| 472 | if allowframeloss then | |
| 473 | script.Heartbeat:Fire() | |
| 474 | lastframe = tick() | |
| 475 | else | |
| 476 | for i = 1, math.floor(tf / frame) do | |
| 477 | script.Heartbeat:Fire() | |
| 478 | end | |
| 479 | lastframe = tick() | |
| 480 | end | |
| 481 | if tossremainder then | |
| 482 | tf = 0 | |
| 483 | else | |
| 484 | tf = tf - frame * math.floor(tf / frame) | |
| 485 | end | |
| 486 | end | |
| 487 | end) | |
| 488 | ||
| 489 | function swait(num) | |
| 490 | if num == 0 or num == nil then | |
| 491 | ArtificialHB.Event:wait() | |
| 492 | else | |
| 493 | for i = 0, num do | |
| 494 | ArtificialHB.Event:wait() | |
| 495 | - | Effects.Block.Create(BrickColor.new("Really black"), hit.Parent.Torso.CFrame, 1, 1, 1, 1, 1, 1, .04, 1)
|
| 495 | + | |
| 496 | end | |
| 497 | end | |
| 498 | ||
| 499 | function RemoveOutlines(part) | |
| 500 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 501 | end | |
| 502 | ||
| 503 | ||
| 504 | ||
| 505 | New = function(Object, Parent, Name, Data) | |
| 506 | local Object = Instance.new(Object) | |
| 507 | for Index, Value in pairs(Data or {}) do
| |
| 508 | Object[Index] = Value | |
| 509 | end | |
| 510 | Object.Parent = Parent | |
| 511 | Object.Name = Name | |
| 512 | return Object | |
| 513 | end | |
| 514 | ||
| 515 | ||
| 516 | CFuncs = {
| |
| 517 | Part = {
| |
| 518 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 519 | local Part = Create("Part"){
| |
| 520 | Parent = Parent, | |
| 521 | Reflectance = Reflectance, | |
| 522 | Transparency = Transparency, | |
| 523 | CanCollide = false, | |
| 524 | Locked = true, | |
| 525 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 526 | Name = Name, | |
| 527 | Size = Size, | |
| 528 | Material = Material, | |
| 529 | } | |
| 530 | RemoveOutlines(Part) | |
| 531 | if Size == Vector3.new() then | |
| 532 | Part.Size = Vector3.new(0.2, 0.2, 0.2) | |
| 533 | else | |
| 534 | Part.Size = Size | |
| 535 | end | |
| 536 | return Part | |
| 537 | end; | |
| 538 | }; | |
| 539 | ||
| 540 | Mesh = {
| |
| 541 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 542 | local Msh = Create(Mesh){
| |
| 543 | Parent = Part, | |
| 544 | Offset = OffSet, | |
| 545 | Scale = Scale, | |
| 546 | } | |
| 547 | if Mesh == "SpecialMesh" then | |
| 548 | Msh.MeshType = MeshType | |
| 549 | Msh.MeshId = MeshId | |
| 550 | end | |
| 551 | return Msh | |
| 552 | end; | |
| 553 | }; | |
| 554 | ||
| 555 | Weld = {
| |
| 556 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 557 | local Weld = Create("Weld"){
| |
| 558 | Parent = Parent, | |
| 559 | Part0 = Part0, | |
| 560 | Part1 = Part1, | |
| 561 | C0 = C0, | |
| 562 | C1 = C1, | |
| 563 | } | |
| 564 | return Weld | |
| 565 | end; | |
| 566 | }; | |
| 567 | ||
| 568 | Sound = {
| |
| 569 | Create = function(id, par, vol, pit) | |
| 570 | local Sound = Create("Sound"){
| |
| 571 | Volume = vol, | |
| 572 | Pitch = pit or 1, | |
| 573 | SoundId = "rbxassetid://" .. id, | |
| 574 | Parent = par or workspace, | |
| 575 | } | |
| 576 | Sound:play() | |
| 577 | return Sound | |
| 578 | end; | |
| 579 | }; | |
| 580 | ||
| 581 | Decal = {
| |
| 582 | Create = function(Color, Texture, Transparency, Name, Parent) | |
| 583 | local Decal = Create("Decal"){
| |
| 584 | Color3 = Color, | |
| 585 | Texture = "rbxassetid://" .. Texture, | |
| 586 | Transparency = Transparency, | |
| 587 | Name = Name, | |
| 588 | Parent = Parent, | |
| 589 | } | |
| 590 | return Decal | |
| 591 | end; | |
| 592 | }; | |
| 593 | ||
| 594 | BillboardGui = {
| |
| 595 | Create = function(Parent, Image, Position, Size) | |
| 596 | local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
| |
| 597 | BillPar.CFrame = CFrame.new(Position) | |
| 598 | local Bill = Create("BillboardGui"){
| |
| 599 | Parent = BillPar, | |
| 600 | - | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) |
| 600 | + | |
| 601 | Size = UDim2.new(1, 0, 1, 0), | |
| 602 | SizeOffset = Vector2.new(Size, Size), | |
| 603 | } | |
| 604 | local d = Create("ImageLabel", Bill){
| |
| 605 | Parent = Bill, | |
| 606 | BackgroundTransparency = 1, | |
| 607 | - | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new()) |
| 607 | + | |
| 608 | Image = "rbxassetid://" .. Image, | |
| 609 | } | |
| 610 | - | Effects.Block.Create(BrickColor.new("Really black"), refpart.CFrame, 10, 10, 10, 10, 10, 10, .08, 1)
|
| 610 | + | |
| 611 | end | |
| 612 | }; | |
| 613 | ||
| 614 | ParticleEmitter = {
| |
| 615 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 616 | local Particle = Create("ParticleEmitter"){
| |
| 617 | Parent = Parent, | |
| 618 | Color = ColorSequence.new(Color1, Color2), | |
| 619 | LightEmission = LightEmission, | |
| 620 | Size = Size, | |
| 621 | Texture = Texture, | |
| 622 | Transparency = Transparency, | |
| 623 | ZOffset = ZOffset, | |
| 624 | Acceleration = Accel, | |
| 625 | Drag = Drag, | |
| 626 | LockedToPart = LockedToPart, | |
| 627 | VelocityInheritance = VelocityInheritance, | |
| 628 | EmissionDirection = EmissionDirection, | |
| 629 | Enabled = Enabled, | |
| 630 | Lifetime = LifeTime, | |
| 631 | Rate = Rate, | |
| 632 | Rotation = Rotation, | |
| 633 | RotSpeed = RotSpeed, | |
| 634 | Speed = Speed, | |
| 635 | VelocitySpread = VelocitySpread, | |
| 636 | } | |
| 637 | return Particle | |
| 638 | end; | |
| 639 | }; | |
| 640 | ||
| 641 | CreateTemplate = {
| |
| 642 | ||
| 643 | }; | |
| 644 | } | |
| 645 | ||
| 646 | function rayCast(Position, Direction, Range, Ignore) | |
| 647 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 648 | end | |
| 649 | ||
| 650 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 651 | if SinglePlayer then | |
| 652 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
| 653 | end | |
| 654 | local List = {}
| |
| 655 | for i, v in pairs(workspace:GetChildren()) do | |
| 656 | if v:IsA("Model") then
| |
| 657 | if v:findFirstChild("Torso") then
| |
| 658 | if v ~= Character then | |
| 659 | if (v.Torso.Position - Position).magnitude <= Distance then | |
| 660 | table.insert(List, v) | |
| 661 | end | |
| 662 | end | |
| 663 | end | |
| 664 | end | |
| 665 | end | |
| 666 | return List | |
| 667 | end | |
| 668 | ||
| 669 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 670 | if hit.Parent == nil then | |
| 671 | return | |
| 672 | end | |
| 673 | local h = hit.Parent:FindFirstChild("Humanoid")
| |
| 674 | for _, v in pairs(hit.Parent:children()) do | |
| 675 | if v:IsA("Humanoid") then
| |
| 676 | h = v | |
| 677 | end | |
| 678 | end | |
| 679 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 680 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 681 | if hit.Parent.DebounceHit.Value == true then | |
| 682 | return | |
| 683 | end | |
| 684 | end | |
| 685 | local c = Create("ObjectValue"){
| |
| 686 | Name = "creator", | |
| 687 | Value = game:service("Players").LocalPlayer,
| |
| 688 | Parent = h, | |
| 689 | } | |
| 690 | game:GetService("Debris"):AddItem(c, .5)
| |
| 691 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 692 | local Damage = math.random(minim, maxim) | |
| 693 | local blocked = false | |
| 694 | local block = hit.Parent:findFirstChild("Block")
| |
| 695 | if block ~= nil then | |
| 696 | if block.className == "IntValue" then | |
| 697 | if block.Value > 0 then | |
| 698 | blocked = true | |
| 699 | block.Value = block.Value - 1 | |
| 700 | print(block.Value) | |
| 701 | end | |
| 702 | end | |
| 703 | end | |
| 704 | h.Health = h.Health - Damage | |
| 705 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new(maincol).Color) | |
| 706 | if Type == "Knockdown" then | |
| 707 | local hum = hit.Parent.Humanoid | |
| 708 | hum.PlatformStand = true | |
| 709 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 710 | swait(1) | |
| 711 | HHumanoid.PlatformStand = false | |
| 712 | end), hum) | |
| 713 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 714 | local bodvol = Create("BodyVelocity"){
| |
| 715 | velocity = angle * knockback, | |
| 716 | P = 5000, | |
| 717 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 718 | Parent = hit, | |
| 719 | } | |
| 720 | local rl = Create("BodyAngularVelocity"){
| |
| 721 | P = 3000, | |
| 722 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 723 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 724 | Parent = hit, | |
| 725 | } | |
| 726 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 727 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 728 | elseif Type == "Normal" then | |
| 729 | local vp = Create("BodyVelocity"){
| |
| 730 | P = 500, | |
| 731 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 732 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 733 | } | |
| 734 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
| 735 | hit.Parent.Humanoid.MaxHealth = 100 | |
| 736 | end | |
| 737 | if knockback > 0 then | |
| 738 | vp.Parent = hit.Parent.Torso | |
| 739 | end | |
| 740 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 741 | elseif Type == "Up" then | |
| 742 | local bodyVelocity = Create("BodyVelocity"){
| |
| 743 | velocity = Vector3.new(0, 20, 0), | |
| 744 | P = 5000, | |
| 745 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 746 | Parent = hit, | |
| 747 | } | |
| 748 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 749 | elseif Type == "DarkUp" then | |
| 750 | coroutine.resume(coroutine.create(function() | |
| 751 | for i = 0, 1, 0.1 do | |
| 752 | swait() | |
| 753 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
| 754 | hit.Parent.Humanoid.MaxHealth = 100 | |
| 755 | end | |
| 756 | ||
| 757 | Effects.Block.Create(BrickColor.new(maincol), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
| 758 | end | |
| 759 | end)) | |
| 760 | local bodyVelocity = Create("BodyVelocity"){
| |
| 761 | velocity = Vector3.new(0, 30, 0), | |
| 762 | P = 5000, | |
| 763 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 764 | Parent = hit, | |
| 765 | } | |
| 766 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 767 | elseif Type == "Wither" then | |
| 768 | coroutine.resume(coroutine.create(function() | |
| 769 | if hit.Parent.Humanoid.MaxHealth > 100 then | |
| 770 | hit.Parent.Humanoid.MaxHealth = 100 | |
| 771 | end | |
| 772 | for i = 0, 1, 0.1 do | |
| 773 | wait(1) | |
| 774 | MagnitudeDamage(hit.Parent.Torso, 1, 5, 5, math.random(0, 0), "Normal", " ", .5) | |
| 775 | hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 1 | |
| 776 | Effects.Block.Create(BrickColor.new("Magenta"), hit.Parent.Torso.CFrame, 1, 1, 1, 1, 1, 1, .04, 1)
| |
| 777 | end | |
| 778 | hit.Parent.Humanoid.WalkSpeed = 16 | |
| 779 | end)) | |
| 780 | elseif Type == "DarkDown" then | |
| 781 | coroutine.resume(coroutine.create(function() | |
| 782 | for i = 0, 1, 0.1 do | |
| 783 | swait() | |
| 784 | Effects.Block.Create(BrickColor.new(maincol), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
| 785 | end | |
| 786 | end)) | |
| 787 | local bodyVelocity = Create("BodyVelocity"){
| |
| 788 | velocity = Vector3.new(0, -50, 0), | |
| 789 | P = 5000, | |
| 790 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 791 | Parent = hit, | |
| 792 | } | |
| 793 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 794 | elseif Type == "Snare" then | |
| 795 | local bp = Create("BodyPosition"){
| |
| 796 | P = 2000, | |
| 797 | D = 100, | |
| 798 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 799 | position = hit.Parent.Torso.Position, | |
| 800 | Parent = hit.Parent.Torso, | |
| 801 | } | |
| 802 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 803 | elseif Type == "Freeze" then | |
| 804 | local BodPos = Create("BodyPosition"){
| |
| 805 | P = 50000, | |
| 806 | D = 1000, | |
| 807 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 808 | position = hit.Parent.Torso.Position, | |
| 809 | Parent = hit.Parent.Torso, | |
| 810 | } | |
| 811 | local BodGy = Create("BodyGyro") {
| |
| 812 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 813 | P = 20e+003, | |
| 814 | Parent = hit.Parent.Torso, | |
| 815 | cframe = hit.Parent.Torso.CFrame, | |
| 816 | } | |
| 817 | hit.Parent.Torso.Anchored = true | |
| 818 | coroutine.resume(coroutine.create(function(Part) | |
| 819 | swait(1.5) | |
| 820 | Part.Anchored = false | |
| 821 | end), hit.Parent.Torso) | |
| 822 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 823 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 824 | end | |
| 825 | local debounce = Create("BoolValue"){
| |
| 826 | Name = "DebounceHit", | |
| 827 | Parent = hit.Parent, | |
| 828 | Value = true, | |
| 829 | } | |
| 830 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 831 | c = Create("ObjectValue"){
| |
| 832 | Name = "creator", | |
| 833 | Value = Player, | |
| 834 | Parent = h, | |
| 835 | } | |
| 836 | game:GetService("Debris"):AddItem(c, .5)
| |
| 837 | end | |
| 838 | end | |
| 839 | ||
| 840 | Laser = function(brickcolor, reflect, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 841 | ||
| 842 | local prt = CFuncs.Part.Create(EffectModel, "Neon", reflect, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 843 | prt.Anchored = true | |
| 844 | prt.CFrame = cframe | |
| 845 | prt.Material = "Neon" | |
| 846 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 847 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 848 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 849 | ||
| 850 | for i = 0, 1, delay do | |
| 851 | swait() | |
| 852 | Part.Transparency = i | |
| 853 | Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3) | |
| 854 | end | |
| 855 | Part.Parent = nil | |
| 856 | end | |
| 857 | ), prt, msh) | |
| 858 | end | |
| 859 | ||
| 860 | ||
| 861 | shoot = function(mouse, aoe , partt, SpreadAmount, multiply) | |
| 862 | ||
| 863 | local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount)) | |
| 864 | local MainPos = partt.Position | |
| 865 | local MainPos2 = mouse.Hit.p + SpreadVectors | |
| 866 | local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2) | |
| 867 | local speed = 1000 | |
| 868 | local num = 20 | |
| 869 | coroutine.resume(coroutine.create(function() | |
| 870 | ||
| 871 | repeat | |
| 872 | swait() | |
| 873 | local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent) | |
| 874 | local mag = (MainPos - pos).magnitude | |
| 875 | Laser(BrickColor.new(maincol), 0, CFrame.new((MainPos + pos)/2, pos) * CFrame.Angles(1.57, 0, 0), 5, mag * (speed / (speed / 2)), 5, 5, 0, 5, 0.1) | |
| 876 | MainPos = MainPos + MouseLook.lookVector * speed | |
| 877 | num = num - 1 | |
| 878 | MouseLook = MouseLook * CFrame.Angles(math.rad(-1), 0, 0) | |
| 879 | if hit ~= nil then | |
| 880 | num = 0 | |
| 881 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Magenta", "Effect", Vector3.new()) | |
| 882 | refpart.Anchored = true | |
| 883 | refpart.CFrame = CFrame.new(pos) | |
| 884 | game:GetService("Debris"):AddItem(refpart, 2)
| |
| 885 | end | |
| 886 | do | |
| 887 | if num <= 0 then | |
| 888 | local refpart = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 1, "Magenta", "Effect", Vector3.new()) | |
| 889 | refpart.Anchored = true | |
| 890 | refpart.CFrame = CFrame.new(pos) | |
| 891 | Effects.Block.Create(BrickColor.new("Magenta"), refpart.CFrame, 10, 10, 10, 10, 10, 10, .08, 1)
| |
| 892 | if hit ~= nil then | |
| 893 | MagnitudeDamage(refpart, aoe, 5 * multiply, 5 * multiply, 0, "Normal", "231917784", 1) | |
| 894 | end | |
| 895 | game:GetService("Debris"):AddItem(refpart, 0)
| |
| 896 | end | |
| 897 | end | |
| 898 | until num <= 0 | |
| 899 | end | |
| 900 | )) | |
| 901 | end | |
| 902 | ||
| 903 | ||
| 904 | ||
| 905 | function onClicked(hit) | |
| 906 | if hit ~= nil and hit.Name ~= "Base" and hit:FindFirstChild("RotTag") == nil then
| |
| 907 | print("Infected "..hit.Name)
| |
| 908 | local tag = Instance.new("BoolValue")
| |
| 909 | tag.Name = "RotTag" | |
| 910 | tag.Parent = hit | |
| 911 | ||
| 912 | hit.CanCollide = false | |
| 913 | hit.Anchored = true | |
| 914 | ||
| 915 | wait(1) | |
| 916 | ||
| 917 | local list = hit:GetTouchingParts() | |
| 918 | for i = 1, #list do | |
| 919 | spawn(function() | |
| 920 | onClicked(list[i]) | |
| 921 | end) | |
| 922 | end | |
| 923 | ||
| 924 | hit.Anchored = true | |
| 925 | hit.CanCollide = false | |
| 926 | hit.Parent = workspace | |
| 927 | hit.BrickColor = BrickColor.new(Color3.new(0, 0, 0)) | |
| 928 | ||
| 929 | ||
| 930 | for i = 1, 10 do | |
| 931 | hit.Transparency = hit.Transparency + .1 | |
| 932 | wait(.1) | |
| 933 | end | |
| 934 | hit:Destroy() | |
| 935 | end | |
| 936 | ||
| 937 | return | |
| 938 | end | |
| 939 | ||
| 940 | function OnMouseDown() | |
| 941 | if transforming == true then | |
| 942 | onClicked(Mouse.Target) | |
| 943 | end | |
| 944 | end | |
| 945 | ||
| 946 | function ShowDamage(Pos, Text, Time, Color) | |
| 947 | local Rate = (1 / 30) | |
| 948 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 949 | local Text = (Text or "") | |
| 950 | local Time = (Time or 2) | |
| 951 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 952 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 953 | EffectPart.Anchored = true | |
| 954 | local BillboardGui = Create("BillboardGui"){
| |
| 955 | Size = UDim2.new(3, 0, 3, 0), | |
| 956 | Adornee = EffectPart, | |
| 957 | Parent = EffectPart, | |
| 958 | } | |
| 959 | local TextLabel = Create("TextLabel"){
| |
| 960 | BackgroundTransparency = 1, | |
| 961 | Size = UDim2.new(1, 0, 1, 0), | |
| 962 | Text = Text, | |
| 963 | Font = desirefont, | |
| 964 | TextColor3 = Color, | |
| 965 | TextScaled = true, | |
| 966 | Parent = BillboardGui, | |
| 967 | } | |
| 968 | game.Debris:AddItem(EffectPart, (Time)) | |
| 969 | EffectPart.Parent = game:GetService("Workspace")
| |
| 970 | delay(0, function() | |
| 971 | local Frames = (Time / Rate) | |
| 972 | for Frame = 1, Frames do | |
| 973 | wait(Rate) | |
| 974 | local Percent = (Frame / Frames) | |
| 975 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 976 | TextLabel.TextTransparency = Percent | |
| 977 | end | |
| 978 | if EffectPart and EffectPart.Parent then | |
| 979 | EffectPart:Destroy() | |
| 980 | end | |
| 981 | end) | |
| 982 | end | |
| 983 | ||
| 984 | function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
| 985 | for _, c in pairs(workspace:children()) do | |
| 986 | local hum = c:findFirstChild("Humanoid")
| |
| 987 | if hum ~= nil then | |
| 988 | local head = c:findFirstChild("Torso")
| |
| 989 | if head ~= nil then | |
| 990 | local targ = head.Position - Part.Position | |
| 991 | local mag = targ.magnitude | |
| 992 | ||
| 993 | if mag <= Magnitude and c.Name ~= Player.Name then | |
| 994 | Effects.Sphere2.Create(BrickColor.new(maincol), head.CFrame, .5, .5, .5, .5, .5, .5, .05) | |
| 995 | Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch) | |
| 996 | end | |
| 997 | end | |
| 998 | end | |
| 999 | end | |
| 1000 | end | |
| 1001 | ||
| 1002 | EffectModel = Create("Model"){
| |
| 1003 | Parent = Character, | |
| 1004 | Name = "Effects", | |
| 1005 | } | |
| 1006 | ||
| 1007 | ||
| 1008 | ||
| 1009 | ||
| 1010 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 1011 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 1012 | end | |
| 1013 | ||
| 1014 | ||
| 1015 | ||
| 1016 | ||
| 1017 | ||
| 1018 | Effects = {
| |
| 1019 | Block = {
| |
| 1020 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 1021 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1022 | prt.Anchored = true | |
| 1023 | prt.CFrame = cframe | |
| 1024 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1025 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1026 | if Type == 1 or Type == nil then | |
| 1027 | table.insert(Effects, {
| |
| 1028 | prt, | |
| 1029 | "Block1", | |
| 1030 | delay, | |
| 1031 | x3, | |
| 1032 | y3, | |
| 1033 | z3, | |
| 1034 | - | text1.Text = "Press F to get started." |
| 1034 | + | |
| 1035 | - | Facemask=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Really black","Facemask",Vector3.new(0.100000903, 0.199999914, 0.0999996811)) |
| 1035 | + | |
| 1036 | elseif Type == 2 then | |
| 1037 | - | eye1=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","eye1",Vector3.new(0.199999377, 0.200000003, 0.199999854)) |
| 1037 | + | |
| 1038 | prt, | |
| 1039 | "Block2", | |
| 1040 | - | eye2=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Really black","eye2",Vector3.new(0.199999377, 0.200000003, 0.199999854)) |
| 1040 | + | |
| 1041 | x3, | |
| 1042 | y3, | |
| 1043 | z3, | |
| 1044 | msh | |
| 1045 | }) | |
| 1046 | end | |
| 1047 | end; | |
| 1048 | }; | |
| 1049 | ||
| 1050 | Cylinder = {
| |
| 1051 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1052 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) | |
| 1053 | prt.Anchored = true | |
| 1054 | prt.CFrame = cframe | |
| 1055 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1056 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1057 | table.insert(Effects, {
| |
| 1058 | prt, | |
| 1059 | "Cylinder", | |
| 1060 | delay, | |
| 1061 | x3, | |
| 1062 | y3, | |
| 1063 | z3, | |
| 1064 | msh | |
| 1065 | }) | |
| 1066 | - | eee=CFuncs.Sound.Create("863901527", Character, 1, 1)
|
| 1066 | + | |
| 1067 | }; | |
| 1068 | - | eee.TimePosition = 12 |
| 1068 | + | |
| 1069 | Head = {
| |
| 1070 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1071 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1072 | prt.Anchored = true | |
| 1073 | prt.CFrame = cframe | |
| 1074 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1075 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1076 | table.insert(Effects, {
| |
| 1077 | prt, | |
| 1078 | "Cylinder", | |
| 1079 | delay, | |
| 1080 | x3, | |
| 1081 | y3, | |
| 1082 | z3, | |
| 1083 | msh | |
| 1084 | }) | |
| 1085 | end; | |
| 1086 | }; | |
| 1087 | ||
| 1088 | Sphere1 = {
| |
| 1089 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1090 | local prt = CFuncs.Part.Create(EffectModel, "Glass", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1091 | prt.Anchored = true | |
| 1092 | prt.CFrame = cframe | |
| 1093 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1094 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1095 | table.insert(Effects, {
| |
| 1096 | prt, | |
| 1097 | "Cylinder", | |
| 1098 | delay, | |
| 1099 | - | bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "bewm", Vector3.new(1,1,1))
|
| 1099 | + | |
| 1100 | y3, | |
| 1101 | z3, | |
| 1102 | msh | |
| 1103 | }) | |
| 1104 | end; | |
| 1105 | }; | |
| 1106 | ||
| 1107 | Sphere2 = {
| |
| 1108 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1109 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1110 | prt.Anchored = true | |
| 1111 | prt.CFrame = cframe | |
| 1112 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1113 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1114 | table.insert(Effects, {
| |
| 1115 | prt, | |
| 1116 | "Cylinder", | |
| 1117 | delay, | |
| 1118 | x3, | |
| 1119 | y3, | |
| 1120 | - | Effects.Lightning.Create(efekt4.Position, HitboxRA.Position, 3, 5, "Really black", 1, 0, 1) |
| 1120 | + | |
| 1121 | msh | |
| 1122 | }) | |
| 1123 | end; | |
| 1124 | }; | |
| 1125 | ||
| 1126 | Elect = {
| |
| 1127 | Create = function(cff, x, y, z) | |
| 1128 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new(maincol), "Part", Vector3.new(1, 1, 1)) | |
| 1129 | prt.Anchored = true | |
| 1130 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
| 1131 | - | Effects.Sphere2.Create(BrickColor.new("White"), RootPart.CFrame, 8, 8, 8, 8, 8, 8, .008, 1)
|
| 1131 | + | |
| 1132 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1133 | local xval = math.random() / 2 | |
| 1134 | - | TextLabel.Text = "Rao, the Balance God" |
| 1134 | + | |
| 1135 | local zval = math.random() / 2 | |
| 1136 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
| |
| 1137 | table.insert(Effects, {
| |
| 1138 | prt, | |
| 1139 | "Elec", | |
| 1140 | 0.1, | |
| 1141 | x, | |
| 1142 | y, | |
| 1143 | z, | |
| 1144 | xval, | |
| 1145 | yval, | |
| 1146 | zval | |
| 1147 | }) | |
| 1148 | end; | |
| 1149 | ||
| 1150 | }; | |
| 1151 | ||
| 1152 | Ring = {
| |
| 1153 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1154 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1155 | prt.Anchored = true | |
| 1156 | prt.CFrame = cframe | |
| 1157 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1158 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1159 | table.insert(Effects, {
| |
| 1160 | prt, | |
| 1161 | "Cylinder", | |
| 1162 | delay, | |
| 1163 | x3, | |
| 1164 | y3, | |
| 1165 | z3, | |
| 1166 | msh | |
| 1167 | }) | |
| 1168 | end; | |
| 1169 | }; | |
| 1170 | ||
| 1171 | ||
| 1172 | Wave = {
| |
| 1173 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1174 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1175 | prt.Anchored = true | |
| 1176 | prt.CFrame = cframe | |
| 1177 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1178 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1179 | table.insert(Effects, {
| |
| 1180 | prt, | |
| 1181 | "Cylinder", | |
| 1182 | delay, | |
| 1183 | x3, | |
| 1184 | y3, | |
| 1185 | z3, | |
| 1186 | msh | |
| 1187 | }) | |
| 1188 | end; | |
| 1189 | }; | |
| 1190 | ||
| 1191 | Break = {
| |
| 1192 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1193 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 1194 | prt.Anchored = true | |
| 1195 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1196 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1197 | local num = math.random(10, 50) / 1000 | |
| 1198 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1199 | table.insert(Effects, {
| |
| 1200 | prt, | |
| 1201 | "Shatter", | |
| 1202 | num, | |
| 1203 | prt.CFrame, | |
| 1204 | math.random() - math.random(), | |
| 1205 | 0, | |
| 1206 | math.random(50, 100) / 100 | |
| 1207 | }) | |
| 1208 | end; | |
| 1209 | }; | |
| 1210 | ||
| 1211 | Fire = {
| |
| 1212 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
| 1213 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 1214 | prt.Anchored = true | |
| 1215 | prt.CFrame = cframe | |
| 1216 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1217 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1218 | table.insert(Effects, {
| |
| 1219 | prt, | |
| 1220 | "Fire", | |
| 1221 | delay, | |
| 1222 | 1, | |
| 1223 | 1, | |
| 1224 | 1, | |
| 1225 | msh | |
| 1226 | }) | |
| 1227 | end; | |
| 1228 | }; | |
| 1229 | ||
| 1230 | FireWave = {
| |
| 1231 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 1232 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
| 1233 | prt.Anchored = true | |
| 1234 | prt.CFrame = cframe | |
| 1235 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 1236 | local d = Create("Decal"){
| |
| 1237 | Parent = prt, | |
| 1238 | Texture = "rbxassetid://26356434", | |
| 1239 | Face = "Top", | |
| 1240 | } | |
| 1241 | local d = Create("Decal"){
| |
| 1242 | Parent = prt, | |
| 1243 | Texture = "rbxassetid://26356434", | |
| 1244 | Face = "Bottom", | |
| 1245 | } | |
| 1246 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 1247 | table.insert(Effects, {
| |
| 1248 | - | text1.Text = "[Z]\n Dokusei Dash" |
| 1248 | + | |
| 1249 | "FireWave", | |
| 1250 | - | text3.Text = "[C]\n Summon Orbs" |
| 1250 | + | |
| 1251 | - | text4.Text = "[V]\n Perish" |
| 1251 | + | |
| 1252 | - | text5.Text = "[B]\n The End" |
| 1252 | + | |
| 1253 | msh | |
| 1254 | }) | |
| 1255 | end; | |
| 1256 | }; | |
| 1257 | ||
| 1258 | Lightning = {
| |
| 1259 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
| 1260 | local magz = (p0 - p1).magnitude | |
| 1261 | local curpos = p0 | |
| 1262 | local trz = {
| |
| 1263 | -ofs, | |
| 1264 | ofs | |
| 1265 | } | |
| 1266 | for i = 1, tym do | |
| 1267 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
| 1268 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
| 1269 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
| 1270 | li.Material = "Neon" | |
| 1271 | if tym == i then | |
| 1272 | local magz2 = (curpos - p1).magnitude | |
| 1273 | li.Size = Vector3.new(th, th, magz2) | |
| 1274 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
| 1275 | table.insert(Effects, {
| |
| 1276 | li, | |
| 1277 | "Disappear", | |
| 1278 | last | |
| 1279 | }) | |
| 1280 | else | |
| 1281 | do | |
| 1282 | do | |
| 1283 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
| 1284 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
| 1285 | game.Debris:AddItem(li, 10) | |
| 1286 | table.insert(Effects, {
| |
| 1287 | li, | |
| 1288 | "Disappear", | |
| 1289 | last | |
| 1290 | }) | |
| 1291 | end | |
| 1292 | end | |
| 1293 | end | |
| 1294 | end | |
| 1295 | end | |
| 1296 | }; | |
| 1297 | ||
| 1298 | EffectTemplate = {
| |
| 1299 | ||
| 1300 | }; | |
| 1301 | } | |
| 1302 | ||
| 1303 | framesk1 = makeframe(scrn, .3, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1304 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1305 | text1 = Instance.new('TextLabel', framesk1)
| |
| 1306 | text1.BackgroundTransparency = 1 | |
| 1307 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 1308 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 1309 | text1.TextColor3 = Color3.new(1, 1, 1) | |
| 1310 | text1.TextStrokeTransparency = 0 | |
| 1311 | text1.FontSize = Enum.FontSize.Size18 | |
| 1312 | text1.Font = desirefont | |
| 1313 | text1.BorderSizePixel = 0 | |
| 1314 | text1.TextScaled = true | |
| 1315 | text1.Text = "Press F to get started with Book Magic." | |
| 1316 | Facemask=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,1,"Magenta","Facemask",Vector3.new(0.100000903, 0.199999914, 0.0999996811)) | |
| 1317 | FacemaskWeld=CFuncs.Weld.Create(m,Character["Head"],Facemask,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0500009656, -0.10001123, 0.150001526, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 1318 | eye1=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Magenta","eye1",Vector3.new(0.199999377, 0.200000003, 0.199999854)) | |
| 1319 | eye1Weld=CFuncs.Weld.Create(m,Facemask,eye1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999771357, -0.0226745605, -0.541763604, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 1320 | CFuncs.Mesh.Create("SpecialMesh",eye1,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.100000001))
| |
| 1321 | eye2=CFuncs.Part.Create(m,Enum.Material.Neon,0,0,"Magenta","eye2",Vector3.new(0.199999377, 0.200000003, 0.199999854)) | |
| 1322 | eye2Weld=CFuncs.Weld.Create(m,Facemask,eye2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999771357, 0.327358246, -0.541763604, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
| 1323 | TorsoHandle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","TorsoHandle",Vector3.new(0.199999616, 0.200000003, 0.199999854)) | |
| 1324 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,})
| |
| 1325 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 1326 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),})
| |
| 1327 | TorsoHandleWeld=CFuncs.Weld.Create(m,Character["Torso"],TorsoHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999412537, -0.0999810249, -0.219952106, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1328 | Scarf2=CFuncs.Part.Create(m,Enum.Material.SmoothPlastic,0,0,Torso.Color,"Scarf2",Vector3.new(0.199999988, 0.049999997, 0.099999994)) | |
| 1329 | Scarf2Weld=CFuncs.Weld.Create(m,TorsoHandle,Scarf2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115654449, -0.592010379, -0.209721327, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1330 | CFuncs.Mesh.Create("SpecialMesh",Scarf2,Enum.MeshType.FileMesh,"rbxassetid://1271232474",Vector3.new(0, 0, 0),Vector3.new(0.0192, 0.0192, 0.0192))
| |
| 1331 | ||
| 1332 | CFuncs.Mesh.Create("SpecialMesh",eye2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.5, 0.100000001))
| |
| 1333 | eee1=CFuncs.Sound.Create("193035857", Character, .5, 1)
| |
| 1334 | eee1.Looped = true | |
| 1335 | crab=CFuncs.Sound.Create("278321082", Character, .8, 1)
| |
| 1336 | crab.Looped = true | |
| 1337 | Mouse.KeyDown:connect(function(k) | |
| 1338 | k = k:lower() | |
| 1339 | if k == "f" and untransforming == false then | |
| 1340 | spinny=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())
| |
| 1341 | spinny.Anchored=true | |
| 1342 | spinny.CanCollide=false | |
| 1343 | spinny2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "spinny", Vector3.new())
| |
| 1344 | spinny2.Anchored=true | |
| 1345 | spinny2.CanCollide=false | |
| 1346 | eee1:Destroy() | |
| 1347 | eee=CFuncs.Sound.Create("185608503", Character, 1, 1)
| |
| 1348 | eee.Looped = true | |
| 1349 | eee.TimePosition = 1 | |
| 1350 | untransforming = true | |
| 1351 | transforming = false | |
| 1352 | bar1:Destroy() | |
| 1353 | framesk1:Destroy() | |
| 1354 | fop = 50 | |
| 1355 | spi = 60 | |
| 1356 | spo = 3 | |
| 1357 | spoi = 1 | |
| 1358 | schpe = .03 | |
| 1359 | soi = 0 | |
| 1360 | attack = true | |
| 1361 | for i = 0, 1, 0.1 do | |
| 1362 | swait() | |
| 1363 | PlayAnimationFromTable({
| |
| 1364 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1365 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1366 | CFrame.new(1.54815805, 0.113066152, 0, 0.981752872, -0.190161094, 0, 0.190161064, 0.981752992, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1367 | CFrame.new(-1.56642199, 0.0832426548, 0, 0.977346003, 0.211647764, 0, -0.211647764, 0.977346003, 0, -0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1368 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1369 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1370 | }, .3, false) | |
| 1371 | end | |
| 1372 | for i = 0, 100 do | |
| 1373 | Torso.Velocity = Vector3.new(0, 50, 0) | |
| 1374 | wait(.01) | |
| 1375 | end | |
| 1376 | for i = 0, 100 do | |
| 1377 | Torso.Velocity = Vector3.new(0, 50, 0) | |
| 1378 | wait(.01) | |
| 1379 | end | |
| 1380 | bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Magenta"), "bewm", Vector3.new(1,1,1))
| |
| 1381 | bewm.Anchored=true | |
| 1382 | bewm.CanCollide=false | |
| 1383 | - | Effects.Block.Create(BrickColor.new("Really black"), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 1)
|
| 1383 | + | |
| 1384 | local mbewm = Instance.new("SpecialMesh", bewm)
| |
| 1385 | mbewm.MeshType = "Sphere" | |
| 1386 | mbewm.Scale = Vector3.new(0,0,0) | |
| 1387 | for i = 0, 70, 0.1 do | |
| 1388 | swait() | |
| 1389 | CFuncs.Sound.Create("379557765", Torso, .3, 1)
| |
| 1390 | PlayAnimationFromTable({
| |
| 1391 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1392 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1393 | CFrame.new(0.284558058, 0.352360129, -0.585287333, 0.258820832, 0.965924978, -2.79002438e-06, 0.084192656, -0.0225623567, -0.996192336, -0.962249458, 0.257835418, -0.0871634856) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 1394 | CFrame.new(-0.273653597, 0.406440526, -0.577382147, 0.258828282, -0.965923369, -1.5671344e-07, -0.167737693, -0.0449467227, -0.984804809, 0.951247692, 0.254895747, -0.17365551) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 1395 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1396 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1397 | }, .3, false) | |
| 1398 | bewm.CFrame = Torso.CFrame | |
| 1399 | mbewm.Scale = Vector3.new(mbewm.Scale.X+.1,mbewm.Scale.Y+.1,mbewm.Scale.Z+.1) | |
| 1400 | Effects.Lightning.Create(efekt5.Position, HitboxLA.Position, 3, 5, maincol, 1, 0, 1) | |
| 1401 | Effects.Lightning.Create(efekt4.Position, HitboxRA.Position, 3, 5, "Magenta", 1, 0, 1) | |
| 1402 | spinny.Position = RootPart.Position | |
| 1403 | spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/45, 0) | |
| 1404 | Torso.Velocity = Vector3.new(0, 6, 0) | |
| 1405 | end | |
| 1406 | wait(2.2) | |
| 1407 | bewm:Destroy() | |
| 1408 | ||
| 1409 | ||
| 1410 | CFuncs.Sound.Create("401056199", Torso, 10, 1)
| |
| 1411 | CFuncs.Sound.Create("331898547", Torso, 10, 1)
| |
| 1412 | Effects.Sphere2.Create(BrickColor.new("Magenta"), RootPart.CFrame, 8, 8, 8, 8, 8, 8, .008, 1)
| |
| 1413 | Effects.Wave.Create(BrickColor.new(maincol), RootPart.CFrame, 5, 5, 5, 5, 5, 5, .08, 2) | |
| 1414 | MagnitudeDamage(Torso, 80, 90, 90, 10, "Wither", " ", .5) | |
| 1415 | TextLabel.Text = "Patchouli, the Librarian Master" | |
| 1416 | ypcall(function() | |
| 1417 | shirt = Instance.new("Shirt", char)
| |
| 1418 | shirt.Name = "Shirt" | |
| 1419 | pants = Instance.new("Pants", char)
| |
| 1420 | pants.Name = "Pants" | |
| 1421 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1179858881" | |
| 1422 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1179859418" | |
| 1423 | end) | |
| 1424 | for i = 0, 10, 0.1 do | |
| 1425 | swait() | |
| 1426 | PlayAnimationFromTable({
| |
| 1427 | CFrame.new(-0.251876831, 0.470080227, -1.34110451e-06, 1, 0, -0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1428 | CFrame.new(-0.0999908447, 1.50946021, 0.223286748, 1, 0, -0, 0, 0.939692438, -0.342020929, -0, 0.342020959, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1429 | CFrame.new(1.43255699, 1.25413036, 0.366365522, -0.939692736, -0.296197951, -0.171009928, 0.321393639, -0.935729802, -0.145313144, -0.11697761, -0.191511214, 0.974494696) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1430 | CFrame.new(-1.41037154, 1.34628582, 0.488534033, 0.939692736, 0.296197951, -0.171009928, 0.321393639, -0.935729802, 0.145313144, -0.11697761, -0.191511214, -0.974494696) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1431 | CFrame.new(0.578960061, -1.5122112, 0.50258863, 0.98480773, -0.173648164, -1.55591565e-07, 0.133022353, 0.754406869, 0.642787278, -0.111618698, -0.633021891, 0.766044796) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1432 | CFrame.new(-0.686709404, -1.51906383, 0.467823565, 0.98480773, 0.173648164, 1.55591565e-07, -0.133022353, 0.754406869, 0.642787278, 0.111618698, -0.633021891, 0.766044796) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1433 | }, .3, false) | |
| 1434 | end | |
| 1435 | ||
| 1436 | fop = 80 | |
| 1437 | spi = 80 | |
| 1438 | spo = 80 | |
| 1439 | spoi = 2 | |
| 1440 | schpe = .03 | |
| 1441 | soi = 200 | |
| 1442 | Humanoid.WalkSpeed = 25 | |
| 1443 | Humanoid.AutoRotate = true | |
| 1444 | Humanoid.JumpPower = 80 | |
| 1445 | attack = false | |
| 1446 | if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then | |
| 1447 | return | |
| 1448 | end | |
| 1449 | end | |
| 1450 | end) | |
| 1451 | ||
| 1452 | ||
| 1453 | ||
| 1454 | ||
| 1455 | ||
| 1456 | ||
| 1457 | ||
| 1458 | ||
| 1459 | while transforming == true do | |
| 1460 | swait() | |
| 1461 | Humanoid.Health = math.huge | |
| 1462 | PlayAnimationFromTable({
| |
| 1463 | CFrame.new(0, -2, 0, 0, 0.984807849, 0.173647985, -1, 0, 0, 0, -0.173647985, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1464 | CFrame.new(-0.0999920368, 1.22553754, -0.589294791, 1, 0, -0, 0, 0.499998808, 0.866026223, -0, -0.866026223, 0.499998808) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1465 | CFrame.new(0.800001562, 0.0751656741, -1.00217676, 0.866025388, 0.500000238, 0, -0.492404163, 0.852868617, -0.173647985, -0.0868240371, 0.150383562, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1466 | CFrame.new(-0.901474714, -0.162059426, -0.809470534, 0.939692736, -0.321393609, 0.116977669, 0.33682391, 0.810216308, -0.479686856, 0.0593910702, 0.490159124, 0.869607329) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1467 | CFrame.new(0.312552929, -1.27662241, -0.77715373, 1, 0, -0, 0, 0.984807849, 0.173648134, -0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1468 | CFrame.new(-0.524474978, -1.25619924, -0.812270045, 1, 0, -0, 0, 0.984807849, 0.173648134, -0, -0.173648164, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1469 | }, .3, false) | |
| 1470 | Mouse.Button1Down:connect(OnMouseDown) | |
| 1471 | end | |
| 1472 | ||
| 1473 | ||
| 1474 | ||
| 1475 | skillcolorscheme = BrickColor.new(maincol).Color | |
| 1476 | framesk1 = makeframe(scrn, .3, UDim2.new(.8, 0, .85, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1477 | framesk2 = makeframe(scrn, .3, UDim2.new(.8, 0, .74, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1478 | framesk3 = makeframe(scrn, .3, UDim2.new(.8, 0, .63, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1479 | framesk4 = makeframe(scrn, .3, UDim2.new(.8, 0, .52, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1480 | framesk5 = makeframe(scrn, .3, UDim2.new(.8, 0, .41, 0), UDim2.new(.14, 0, .08, 0), skillcolorscheme) | |
| 1481 | ||
| 1482 | bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1483 | bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1484 | bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1485 | bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1486 | bar5 = makeframe(framesk5, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme) | |
| 1487 | text1 = Instance.new('TextLabel', framesk1)
| |
| 1488 | text1.BackgroundTransparency = 1 | |
| 1489 | text1.Size = UDim2.new(1, 0, 1, 0) | |
| 1490 | text1.Position = UDim2.new(0, 0, 0, 0) | |
| 1491 | text1.TextColor3 = Color3.new(255, 255, 255) | |
| 1492 | text1.TextStrokeTransparency = 0 | |
| 1493 | text1.FontSize = Enum.FontSize.Size18 | |
| 1494 | text1.Font = desirefont | |
| 1495 | text1.BorderSizePixel = 0 | |
| 1496 | text1.TextScaled = true | |
| 1497 | text2 = Instance.new('TextLabel', framesk2)
| |
| 1498 | text2.BackgroundTransparency = 1 | |
| 1499 | text2.Size = UDim2.new(1, 0, 1, 0) | |
| 1500 | text2.Position = UDim2.new(0, 0, 0, 0) | |
| 1501 | text2.TextColor3 = Color3.new(255, 255, 255) | |
| 1502 | text2.TextStrokeTransparency = 0 | |
| 1503 | text2.FontSize = Enum.FontSize.Size18 | |
| 1504 | text2.Font = desirefont | |
| 1505 | text2.BorderSizePixel = 0 | |
| 1506 | text2.TextScaled = true | |
| 1507 | text3 = Instance.new('TextLabel', framesk3)
| |
| 1508 | text3.BackgroundTransparency = 1 | |
| 1509 | text3.Size = UDim2.new(1, 0, 1, 0) | |
| 1510 | text3.Position = UDim2.new(0, 0, 0, 0) | |
| 1511 | text3.TextColor3 = Color3.new(255, 255, 255) | |
| 1512 | text3.TextStrokeTransparency = 0 | |
| 1513 | text3.FontSize = Enum.FontSize.Size18 | |
| 1514 | text3.Font = desirefont | |
| 1515 | text3.BorderSizePixel = 0 | |
| 1516 | text3.TextScaled = false | |
| 1517 | text4 = Instance.new('TextLabel', framesk4)
| |
| 1518 | text4.BackgroundTransparency = 1 | |
| 1519 | text4.Size = UDim2.new(1, 0, 1, 0) | |
| 1520 | text4.Position = UDim2.new(0, 0, 0, 0) | |
| 1521 | text4.TextColor3 = Color3.new(255, 255, 255) | |
| 1522 | text4.TextStrokeTransparency = 0 | |
| 1523 | text4.FontSize = Enum.FontSize.Size18 | |
| 1524 | text4.Font = desirefont | |
| 1525 | text4.BorderSizePixel = 0 | |
| 1526 | text4.TextScaled = true | |
| 1527 | text5 = Instance.new('TextLabel', framesk5)
| |
| 1528 | text5.BackgroundTransparency = 1 | |
| 1529 | text5.Size = UDim2.new(1, 0, 1, 0) | |
| 1530 | text5.Position = UDim2.new(0, 0, 0, 0) | |
| 1531 | text5.TextColor3 = Color3.new(255, 255, 255) | |
| 1532 | text5.TextStrokeTransparency = 0 | |
| 1533 | text5.FontSize = Enum.FontSize.Size18 | |
| 1534 | text5.Font = desirefont | |
| 1535 | text5.BorderSizePixel = 0 | |
| 1536 | text5.TextScaled = true | |
| 1537 | text1.Text = "[Z]\n Book Dash" | |
| 1538 | text2.Text = "[X]\n Crush" | |
| 1539 | text3.Text = "[C]\n Books" | |
| 1540 | text4.Text = "[V]\n Taunt" | |
| 1541 | text5.Text = "[B]\n Library" | |
| 1542 | Handle1=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle1",Vector3.new(1, 0.199999854, 1)) | |
| 1543 | Handle1Weld=CFuncs.Weld.Create(m,Character["Left Arm"],Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-05, 0.300019085, 4.80413437e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1544 | larm=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","larm",Vector3.new(1, 2, 1)) | |
| 1545 | larmWeld=CFuncs.Weld.Create(m,Handle1,larm,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1546 | HitboxLA=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxLA",Vector3.new(1, 0.999999821, 1)) | |
| 1547 | HitboxLAWeld=CFuncs.Weld.Create(m,Handle1,HitboxLA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.19999969, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1548 | Handle2=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle2",Vector3.new(1, 0.199999854, 1)) | |
| 1549 | Handle2Weld=CFuncs.Weld.Create(m,Character["Left Leg"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-05, 0.300022364, 4.81009483e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1550 | lleg=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","lleg",Vector3.new(1, 2, 1)) | |
| 1551 | llegWeld=CFuncs.Weld.Create(m,Handle2,lleg,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1552 | HitboxLL=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxLL",Vector3.new(1, 0.999999821, 1)) | |
| 1553 | HitboxLLWeld=CFuncs.Weld.Create(m,Handle2,HitboxLL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.199999571, -5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1554 | Handle3=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle3",Vector3.new(1, 0.199999854, 1)) | |
| 1555 | Handle3Weld=CFuncs.Weld.Create(m,Character["Right Arm"],Handle3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.48498535e-05, 0.300019085, 4.81009483e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1556 | rarm=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","rarm",Vector3.new(1, 2, 1)) | |
| 1557 | rarmWeld=CFuncs.Weld.Create(m,Handle3,rarm,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.300000191, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1558 | HitboxRA=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxRA",Vector3.new(1, 0.999999821, 1)) | |
| 1559 | HitboxRAWeld=CFuncs.Weld.Create(m,Handle3,HitboxRA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.19999969, -1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1560 | Handle4=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle4",Vector3.new(1, 0.199999854, 1)) | |
| 1561 | Handle4Weld=CFuncs.Weld.Create(m,Character["Right Leg"],Handle4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.48498535e-05, 0.300022364, 4.7981739e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1562 | rleg=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","rleg",Vector3.new(1, 2, 1)) | |
| 1563 | rlegWeld=CFuncs.Weld.Create(m,Handle4,rleg,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.299999952, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1564 | HitboxRL=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Really red","HitboxRL",Vector3.new(1, 0.999999821, 1)) | |
| 1565 | HitboxRLWeld=CFuncs.Weld.Create(m,Handle4,HitboxRL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.199999571, 5.96046448e-08, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1566 | Handle5=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle5",Vector3.new(1, 0.199999854, 1)) | |
| 1567 | Handle5Weld=CFuncs.Weld.Create(m,Character["Head"],Handle5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100063324, 0.60001117, 4.78625298e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1568 | hed=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","hed",Vector3.new(0.999999821, 1, 1)) | |
| 1569 | hedWeld=CFuncs.Weld.Create(m,Handle5,hed,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600006878, 0.100009918, -0.0199998617, 0, 1, 0, -1, 0, 0, 0, 0, 1)) | |
| 1570 | Handle6=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","Handle6",Vector3.new(1, 0.199999854, 1)) | |
| 1571 | Handle6Weld=CFuncs.Weld.Create(m,Character["Torso"],Handle6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100063324, 0.500019073, 4.7981739e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1)) | |
| 1572 | tors=CFuncs.Part.Create(m,Enum.Material.Neon,0,1,"Dark indigo","tors",Vector3.new(2.00000024, 2, 1)) | |
| 1573 | torsWeld=CFuncs.Weld.Create(m,Handle6,tors,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999984741, -0.50000006, -1.1920929e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 1574 | ||
| 1575 | ||
| 1576 | sref = CFuncs.Part.Create(Character, "Neon", 1, 1, BrickColor.new("Black"), "Reference", Vector3.new())
| |
| 1577 | sref.Anchored = true | |
| 1578 | ||
| 1579 | ||
| 1580 | ||
| 1581 | ||
| 1582 | function battac1() | |
| 1583 | attack = true | |
| 1584 | for i = 0, 1.5, 0.1 do | |
| 1585 | swait() | |
| 1586 | PlayAnimationFromTable({
| |
| 1587 | CFrame.new(-1.39627684e-06, -7.36942911e-06, 1.39627605e-06, 0.476727128, 0.183012798, 0.859789252, -0.25000006, 0.965925813, -0.0669873133, -0.842752159, -0.183012694, 0.506236255) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1588 | CFrame.new(-0.0340346247, 1.51263666, -0.0478081331, 0.877126634, 0.104048893, -0.46885246, -0.101895347, 0.994341493, 0.0300414115, 0.469325185, 0.0214237869, 0.882765472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1589 | CFrame.new(0.579812467, 0.345736474, -0.59361434, 0.072264187, 0.924199581, -0.375010848, -0.974444211, -0.0147579908, -0.224144787, -0.212688923, 0.381624758, 0.899514318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1590 | CFrame.new(-1.85228181, 0.875683367, -0.260588259, 0.773285925, 0.551785231, 0.312348992, 0.546566546, -0.829791725, 0.112741388, 0.321393579, 0.0835381895, -0.943253636) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1591 | CFrame.new(0.738364995, -1.84033036, 0.563868403, 0.687917829, -0.0233614445, -0.725412488, 0.1578255, 0.98037982, 0.118095428, 0.708420873, -0.195728526, 0.678107858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1592 | CFrame.new(-0.917405725, -1.57624996, 0.686944962, 0.872133791, 0.197120011, -0.447801769, 0.198867023, 0.693416834, 0.692549586, 0.447028697, -0.693048954, 0.565551639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1593 | }, .3, false) | |
| 1594 | end | |
| 1595 | MagnitudeDamage(HitboxLA, 8, 30, 30, 200, "Normal", "260430079", 1) | |
| 1596 | CFuncs.Sound.Create("200632136", HitboxLA, 1, 1)
| |
| 1597 | for i = 0, 1, 0.1 do | |
| 1598 | swait() | |
| 1599 | PlayAnimationFromTable({
| |
| 1600 | CFrame.new(-4.17232513e-06, -5.30481339e-06, -0.999984145, 0.707105339, 0.183013991, -0.683013916, 0, 0.965925574, 0.258820295, 0.707108378, -0.183013216, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1601 | CFrame.new(-0.0373710692, 1.51263273, 0.0452473164, 0.848774672, -0.00623494387, 0.528718293, -0.0508090742, 0.994341671, 0.0932918787, -0.526308119, -0.106047422, 0.84365499) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1602 | CFrame.new(1.68801045, 0.407435834, -0.449469507, -0.706166267, -0.389181942, -0.591495514, -0.569585621, 0.808487773, 0.148054063, 0.420596808, 0.441457987, -0.792599082) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1603 | CFrame.new(-1.75769782, 0.713923812, -0.430418491, -0.0885525197, 0.637445807, -0.7653898, -0.942978859, -0.301171541, -0.141728252, -0.320857644, 0.709195852, 0.627767205) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1604 | CFrame.new(0.639599144, -1.8263067, -0.331883222, 0.859788299, -0.183012217, 0.476729214, 0.195730031, 0.980379641, 0.023357138, -0.471650183, 0.0732280314, 0.878739834) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1605 | CFrame.new(-0.307636291, -1.77595973, 0.545883834, 0.982273102, -0.181773037, -0.045809418, 0.135392249, 0.518932045, 0.844025373, -0.129649013, -0.835265398, 0.534343541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1606 | }, .3, false) | |
| 1607 | end | |
| 1608 | attack = false | |
| 1609 | end | |
| 1610 | ||
| 1611 | ||
| 1612 | function battac2() | |
| 1613 | attack = true | |
| 1614 | Humanoid.WalkSpeed = 0 | |
| 1615 | for i = 0, 1.5, 0.1 do | |
| 1616 | swait() | |
| 1617 | PlayAnimationFromTable({
| |
| 1618 | CFrame.new(-0, -1.59282732, -0.519607961, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1619 | CFrame.new(0, 1.55377007, -0.152360976, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1620 | CFrame.new(1.2000078, 0.953045666, -0.713819265, 0.866025448, 0.49999994, -2.26266827e-08, 0.353553265, -0.612372398, -0.707107067, -0.353553474, 0.612372637, -0.70710665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1621 | CFrame.new(-1.15360737, 0.794935584, -0.750632823, 0.866025388, -0.500000179, -5.589701e-07, -0.353553861, -0.61237222, -0.707106948, 0.353553265, 0.612372756, -0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1622 | CFrame.new(0.5, -1.5799793, -0.590984702, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1623 | CFrame.new(-0.500015259, -1.65356255, -0.585621715, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1624 | }, .3, false) | |
| 1625 | - | Effects.Block.Create(BrickColor.new("Really black"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 3, 3, 3, 2, 2, 2, .06)
|
| 1625 | + | |
| 1626 | MagnitudeDamage(HitboxLA, 8, 5, 10, 100, "DarkUp", "306247749", 1) | |
| 1627 | CFuncs.Sound.Create("200632136", HitboxRA, 1, 1)
| |
| 1628 | for i = 0, 1, 0.1 do | |
| 1629 | swait() | |
| 1630 | PlayAnimationFromTable({
| |
| 1631 | CFrame.new(-0, -1.2196213, -0.273204356, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1632 | CFrame.new(0, 1.49368489, 0.246804297, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1633 | CFrame.new(1.34139562, 1.24449635, -0.501063168, 0.707141161, 4.3202607e-07, -0.707072496, 0.183035791, -0.965913892, 0.183052927, -0.68297112, -0.258863807, -0.683037519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1634 | CFrame.new(-1.4036299, 1.31358445, -0.263445199, 0.866024435, 6.45238671e-08, 0.500001669, -0.129408985, -0.965926468, 0.224142075, 0.482964844, -0.258817255, -0.836515903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1635 | CFrame.new(0.5, -1.86381054, -0.121815026, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1636 | CFrame.new(-0.500015259, -1.92484725, -0.0803779364, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1637 | - | Effects.Sphere2.Create(BrickColor.new("Really black"), grab.Torso.CFrame, 3, 3, 3, 3, 3, 3, .03, 2)
|
| 1637 | + | |
| 1638 | end | |
| 1639 | - | Effects.Lightning.Create(efekt4.Position, grab.Torso.Position, 5, 5, "Really black", 5, 0, 2) |
| 1639 | + | |
| 1640 | attack = false | |
| 1641 | end | |
| 1642 | ||
| 1643 | ||
| 1644 | function battac3() | |
| 1645 | attack = true | |
| 1646 | CFuncs.Sound.Create("306247749", HitboxRA, 3, 1)
| |
| 1647 | Humanoid.WalkSpeed = 5 | |
| 1648 | for i = 0, 1.5, 0.1 do | |
| 1649 | swait() | |
| 1650 | PlayAnimationFromTable({
| |
| 1651 | CFrame.new(3.57627869e-07, 6.79999733, -5.96046448e-07, 0.866025269, 4.00048179e-07, -0.500000358, -0.129410043, 0.965925813, -0.224143773, 0.482963175, 0.258819193, 0.836516142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1652 | CFrame.new(-0.0975225121, 1.5006386, -0.168908179, 0.961516261, -0.0622723475, 0.267598331, 0.0669877082, 0.997717559, -0.00851863623, -0.266457021, 0.0261165649, 0.96349299) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1653 | CFrame.new(1.42953217, 1.36738133, 0.560824573, 0.969378471, 0.036978662, -0.242771834, 0.112739824, -0.945273399, 0.30618304, -0.21816349, -0.324177235, -0.920496464) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1654 | CFrame.new(-0.514982402, 0.167981669, -0.348204494, 0.390162021, -0.863741398, 0.318942964, 0.920569658, 0.37272048, -0.116752014, -0.0180329978, 0.339161426, 0.940555334) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1655 | CFrame.new(1.01503551, -1.61222804, 0.758090556, 0.866025269, -0.43301329, 0.249999851, 4.00048179e-07, 0.499999911, 0.866025567, -0.500000358, -0.749999881, 0.433012724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1656 | CFrame.new(-0.674192369, -1.93183935, -0.167736471, 0.866025269, -4.61935997e-07, 0.500000417, 4.00048179e-07, 1, 2.08616257e-07, -0.500000358, -1.49011612e-08, 0.866025269) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1657 | }, .3, false) | |
| 1658 | Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 2) | |
| 1659 | end | |
| 1660 | MagnitudeDamage(HitboxRA, 8, 30, 50, 500, "Knockdown", "782354021", 1) | |
| 1661 | for i = 0, 1, 0.1 do | |
| 1662 | swait() | |
| 1663 | PlayAnimationFromTable({
| |
| 1664 | CFrame.new(1.54972076e-06, 6.58641052, -0.246319056, 0.866024971, -5.42000919e-07, -0.500000775, 0.250001013, 0.866025209, 0.433012664, 0.433012992, -0.500000536, 0.749999523) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1665 | CFrame.new(-0.0975218043, 1.50063884, -0.168915406, 0.961516201, -0.0622704476, 0.267598808, 0.0669858828, 0.997717738, -0.00851911306, -0.266457558, 0.0261166394, 0.963492811) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1666 | CFrame.new(1.02015197, 0.517821193, -1.45992565, 0.886716843, 0.436117947, 0.153409019, 0.0551973283, 0.229585916, -0.971722126, -0.459005952, 0.870110035, 0.17950508) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1667 | CFrame.new(-1.36973119, -0.0445775315, 0.63426286, 0.896512747, -0.350060821, 0.271518677, 0.118428506, 0.7799505, 0.61453402, -0.42689541, -0.5187819, 0.740692675) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1668 | CFrame.new(0.568625093, -1.55863333, -0.015111208, 0.866024971, -0.433012992, 0.250001013, -5.42000919e-07, 0.500000536, 0.866025209, -0.500000775, -0.749999523, 0.433012664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1669 | CFrame.new(-0.774200022, -1.53183734, -0.340943307, 0.866024971, 6.2584877e-07, 0.500000834, -5.42000919e-07, 1.00000024, -3.57627869e-07, -0.500000775, 2.98023224e-08, 0.866025031) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1670 | }, .3, false) | |
| 1671 | Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 1) | |
| 1672 | Effects.Block.Create(BrickColor.new("Magenta"), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .08, 1)
| |
| 1673 | end | |
| 1674 | Humanoid.WalkSpeed = 25 | |
| 1675 | attack = false | |
| 1676 | end | |
| 1677 | ||
| 1678 | ||
| 1679 | function tauntu1() | |
| 1680 | attack = true | |
| 1681 | Humanoid.WalkSpeed = 0 | |
| 1682 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "I don't have all day.", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1683 | CFuncs.Sound.Create("159882303", Torso, 10, 1)
| |
| 1684 | for i = 0, 1, .6 do | |
| 1685 | for i = 0, 1, 0.1 do | |
| 1686 | swait() | |
| 1687 | PlayAnimationFromTable({
| |
| 1688 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1689 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1690 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1691 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1692 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1693 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1694 | }, .3, false) | |
| 1695 | end | |
| 1696 | ||
| 1697 | for i = 0, 1, 0.1 do | |
| 1698 | swait() | |
| 1699 | PlayAnimationFromTable({
| |
| 1700 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1701 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1702 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1703 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1704 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1705 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1706 | }, .3, false) | |
| 1707 | end | |
| 1708 | end | |
| 1709 | Humanoid.WalkSpeed = 25 | |
| 1710 | attack = false | |
| 1711 | end | |
| 1712 | ||
| 1713 | ||
| 1714 | function tauntu2() | |
| 1715 | attack = true | |
| 1716 | Humanoid.WalkSpeed = 0 | |
| 1717 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Just don't bore me, yeah?", 2, BrickColor.new(Torso.Color).Color) | |
| 1718 | CFuncs.Sound.Create("159882635", Torso, 10, 1)
| |
| 1719 | for i = 0, 1, .6 do | |
| 1720 | for i = 0, 1, 0.1 do | |
| 1721 | swait() | |
| 1722 | PlayAnimationFromTable({
| |
| 1723 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1724 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1725 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1726 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1727 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1728 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1729 | }, .3, false) | |
| 1730 | end | |
| 1731 | ||
| 1732 | for i = 0, 1, 0.1 do | |
| 1733 | swait() | |
| 1734 | PlayAnimationFromTable({
| |
| 1735 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1736 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1737 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1738 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1739 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1740 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1741 | }, .3, false) | |
| 1742 | end | |
| 1743 | end | |
| 1744 | Humanoid.WalkSpeed = 25 | |
| 1745 | attack = false | |
| 1746 | end | |
| 1747 | ||
| 1748 | ||
| 1749 | function tauntu3() | |
| 1750 | attack = true | |
| 1751 | Humanoid.WalkSpeed = 0 | |
| 1752 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "How many minutes will you last?", 2, BrickColor.new(Torso.Color).Color) | |
| 1753 | CFuncs.Sound.Create("159882644", Torso, 10, 1)
| |
| 1754 | for i = 0, 1, .6 do | |
| 1755 | for i = 0, 1, 0.1 do | |
| 1756 | swait() | |
| 1757 | PlayAnimationFromTable({
| |
| 1758 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1759 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1760 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1761 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1762 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1763 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1764 | }, .3, false) | |
| 1765 | end | |
| 1766 | ||
| 1767 | for i = 0, 1, 0.1 do | |
| 1768 | swait() | |
| 1769 | PlayAnimationFromTable({
| |
| 1770 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1771 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1772 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1773 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1774 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1775 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1776 | }, .3, false) | |
| 1777 | - | attack = true |
| 1777 | + | |
| 1778 | end | |
| 1779 | Humanoid.WalkSpeed = 25 | |
| 1780 | attack = false | |
| 1781 | end | |
| 1782 | ||
| 1783 | - | orb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "ref", Vector3.new(1,1,1))
|
| 1783 | + | |
| 1784 | ||
| 1785 | x = 5 | |
| 1786 | function blasty() | |
| 1787 | attack = true | |
| 1788 | ref=CFuncs.Part.Create(HitboxRA, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new(.05,.05,.05))
| |
| 1789 | ref.Anchored=true | |
| 1790 | ref.CanCollide=false | |
| 1791 | - | orb2=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Really black"), "ref", Vector3.new(1,1,1))
|
| 1791 | + | |
| 1792 | Humanoid.WalkSpeed = 0 | |
| 1793 | CFuncs.Sound.Create("159882628", Torso, 5, 1)
| |
| 1794 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "Ah.", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1795 | local grab = nil | |
| 1796 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
| 1797 | if v:FindFirstChild('Head') then
| |
| 1798 | Grabbed = true | |
| 1799 | grab = v | |
| 1800 | end | |
| 1801 | end | |
| 1802 | for i = 0, 3, 0.1 do | |
| 1803 | swait() | |
| 1804 | - | local con2 = orb2.Touched:connect(function(hit) MagnitudeDamage(orb2, 8, 95, 100, 20, "Normal", "199149235", 1) Effects.Sphere2.Create(BrickColor.new("Really black"), orb2.CFrame, 1, 1, 1, 1, 1, 1, .05) orb2.Transparency = 1 orbs2 = false orb2:Destroy() end)
|
| 1804 | + | |
| 1805 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1806 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1807 | CFrame.new(1.64711547, 1.41346073, 0.361087859, -0.969846308, -0.171009913, -0.17364803, 0.173647985, -0.984807849, 5.96214491e-08, -0.171009898, -0.0301535726, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1808 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1809 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1810 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1811 | }, .3, false) | |
| 1812 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1813 | end | |
| 1814 | ||
| 1815 | CFuncs.Sound.Create("159882620", Torso, 5, 1)
| |
| 1816 | - | Effects.Sphere2.Create(BrickColor.new("Really black"), HitboxLA.CFrame, 1, 1, 1, 1, 1, 1, .05)
|
| 1816 | + | |
| 1817 | for i = 0, 1, .5 do | |
| 1818 | for i = 0, 1, 0.1 do | |
| 1819 | swait() | |
| 1820 | PlayAnimationFromTable({
| |
| 1821 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1822 | CFrame.new(1.04308128e-07, 1.61952579, -0.256343365, 0.866025507, 1.54857389e-07, 0.49999994, -0.171010107, 0.939692676, 0.296197981, -0.469846278, -0.342020005, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1823 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1824 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1825 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1826 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1827 | }, .3, false) | |
| 1828 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1829 | end | |
| 1830 | ||
| 1831 | for i = 0, 1, 0.1 do | |
| 1832 | swait() | |
| 1833 | PlayAnimationFromTable({
| |
| 1834 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 1835 | CFrame.new(-6.55651093e-07, 1.61952615, -0.25634259, 0.766044199, 1.48394292e-07, -0.642787933, 0.219846055, 0.939692795, 0.262002409, 0.604023099, -0.342019796, 0.719846249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1836 | CFrame.new(0.391901165, 0.792831182, -0.799999952, -0.766044974, 0.64278698, 0, -0.64278698, -0.766044974, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1837 | CFrame.new(-0.401533872, 0.392767251, -0.542219043, 0.262003928, -0.963592291, -0.053328, 0.944798768, 0.267374903, -0.189383417, 0.19674696, -0.000765033474, 0.980454028) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1838 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1839 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1840 | }, .3, false) | |
| 1841 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1842 | end | |
| 1843 | end | |
| 1844 | wait(1) | |
| 1845 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "YOU IDIOT!", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1846 | CFuncs.Sound.Create("160212768", Torso, 5, 1)
| |
| 1847 | for i = 0, 2, 0.1 do | |
| 1848 | swait() | |
| 1849 | PlayAnimationFromTable({
| |
| 1850 | CFrame.new(0, 0, -0, 1, 0, -0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1851 | CFrame.new(0, 1.495502, 0.155976295, 1, 0, -0, 0, 0.866025805, -0.499999762, -0, 0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1852 | CFrame.new(1.67320466, 0.256948113, 0.586459577, 0.866025269, -0.500000298, -6.19429386e-07, 0.129410207, 0.224143684, 0.965925992, -0.482963115, -0.836516321, 0.258819222) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1853 | CFrame.new(-1.65528786, 0.236378402, 0.663342357, 0.965925872, 0.258818746, -5.97341477e-06, -0.0669837445, 0.250009447, 0.965923786, 0.250000656, -0.933010399, 0.258827239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1854 | CFrame.new(0.603523314, -1.92523527, 0.665380895, 0.965925872, 0, -0.258818984, 0.129409552, 0.866025388, 0.482963175, 0.224143818, -0.500000238, 0.836516321) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1855 | CFrame.new(-0.551774561, -1.92862988, 0.659501493, 0.965925872, 0, 0.258818984, -0.129409552, 0.866025388, 0.482963175, -0.224143818, -0.500000238, 0.836516321) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1856 | }, .3, false) | |
| 1857 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1858 | end | |
| 1859 | for i = 0, 2, 0.1 do | |
| 1860 | swait() | |
| 1861 | PlayAnimationFromTable({
| |
| 1862 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1863 | CFrame.new(0, 1.56138074, -0.0756135881, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1864 | CFrame.new(0.893782854, 0.905647635, -1.42211223, 0.874999404, 0.2164938, -0.433020234, -0.321208358, -0.409599364, -0.85384649, -0.362217247, 0.886204958, -0.288859576) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1865 | CFrame.new(-0.891812921, 1.14138389, -1.46892774, 0.909297884, -0.274861544, 0.312455654, 0.121369407, -0.543028176, -0.830897272, 0.398053885, 0.793455601, -0.460414648) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1866 | CFrame.new(0.332013369, -2.05282021, -0.211744398, 0.990150332, 0.135906085, 0.0336450152, -0.137435734, 0.989331186, 0.0483245552, -0.0267184712, -0.0524725616, 0.998264909) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1867 | CFrame.new(-0.582855225, -1.7770021, -0.922122419, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1868 | }, .3, false) | |
| 1869 | ref.CFrame=RootPart.CFrame*CFrame.new(0,50,-50) | |
| 1870 | end | |
| 1871 | if Grabbed == true and grab ~= nil then | |
| 1872 | grab.Humanoid.PlatformStand = true | |
| 1873 | grab.Head.CFrame = ref.CFrame * CFrame.Angles(0,-45,0) | |
| 1874 | for i = 0, 1.5, 0.1 do | |
| 1875 | swait() | |
| 1876 | PlayAnimationFromTable({
| |
| 1877 | CFrame.new(-0, -1.59282732, -0.519607961, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1878 | CFrame.new(0, 1.55377007, -0.152360976, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1879 | CFrame.new(1.2000078, 0.953045666, -0.713819265, 0.866025448, 0.49999994, -2.26266827e-08, 0.353553265, -0.612372398, -0.707107067, -0.353553474, 0.612372637, -0.70710665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1880 | CFrame.new(-1.15360737, 0.794935584, -0.750632823, 0.866025388, -0.500000179, -5.589701e-07, -0.353553861, -0.61237222, -0.707106948, 0.353553265, 0.612372756, -0.707106769) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1881 | CFrame.new(0.5, -1.5799793, -0.590984702, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1882 | CFrame.new(-0.500015259, -1.65356255, -0.585621715, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1883 | }, .3, false) | |
| 1884 | grab.Head.CFrame = ref.CFrame | |
| 1885 | end | |
| 1886 | grab.Torso.Anchored = true | |
| 1887 | ShowDamage((Head.CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 3, 0)), "STRUGGLE!", 1.5, BrickColor.new(Torso.Color).Color) | |
| 1888 | CFuncs.Sound.Create("160212585", Torso, 5, 1)
| |
| 1889 | for i = 0, 2, 0.1 do | |
| 1890 | - | bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("White"), "bewm", Vector3.new(1,1,1))
|
| 1890 | + | |
| 1891 | PlayAnimationFromTable({
| |
| 1892 | CFrame.new(-0, -1.2196213, -0.273204356, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1893 | CFrame.new(0, 1.49368489, 0.246804297, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1894 | CFrame.new(1.34139562, 1.24449635, -0.501063168, 0.707141161, 4.3202607e-07, -0.707072496, 0.183035791, -0.965913892, 0.183052927, -0.68297112, -0.258863807, -0.683037519) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1895 | CFrame.new(-1.4036299, 1.31358445, -0.263445199, 0.866024435, 6.45238671e-08, 0.500001669, -0.129408985, -0.965926468, 0.224142075, 0.482964844, -0.258817255, -0.836515903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1896 | CFrame.new(0.5, -1.86381054, -0.121815026, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1897 | CFrame.new(-0.500015259, -1.92484725, -0.0803779364, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1898 | }, .3, false) | |
| 1899 | grab.Head.CFrame = ref.CFrame | |
| 1900 | end | |
| 1901 | for i = 0, 1.6, 0.1 do | |
| 1902 | swait() | |
| 1903 | PlayAnimationFromTable({
| |
| 1904 | CFrame.new(0, -0, -0, 0.87176013, 0, -0.489933014, 0, 1, 0, 0.489933044, 0, 0.87176013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1905 | CFrame.new(-0.03097759, 1.48068821, -0.0551198274, 0.87176013, -0.0370955803, 0.48852694, 0, 0.997134864, 0.0757154897, -0.489933014, -0.0660058483, 0.869258225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1906 | CFrame.new(1.67023849, 1.3309983, 0.00941206701, 0.938447893, -0.345421582, -2.02059746e-05, -0.345412821, -0.938424468, 0.00707728788, -0.00246357918, -0.00663465261, -0.999975145) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1907 | CFrame.new(-1.60166776, 0.116563603, 1.17343279e-05, 0.980870962, 0.19466114, 2.98023224e-08, -0.19466126, 0.980870605, -4.82129451e-07, -2.38418579e-07, 4.54485416e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1908 | CFrame.new(0.680485487, -1.96697748, 0.239762232, 0.980836987, -0.145232886, 0.129914314, 0.112037525, 0.965800464, 0.23382929, -0.159429669, -0.21478951, 0.963567197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1909 | CFrame.new(-0.587270081, -1.95259011, -0.315021306, 0.915650666, -0.0214495566, 0.401413441, -0.00645985128, 0.997661352, 0.068044588, -0.40193662, -0.0648979694, 0.913366556) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1910 | }, .3, false) | |
| 1911 | - | Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Really black", 1, 0, 1) |
| 1911 | + | |
| 1912 | end | |
| 1913 | CFuncs.Sound.Create("159882598", Torso, 10, 1)
| |
| 1914 | Effects.Block.Create(BrickColor.new("Magenta"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 3, 3, 3, 2, 2, 2, .06)
| |
| 1915 | CFuncs.Sound.Create("188959311", RightArm, 10, 1)
| |
| 1916 | for i = 0, 5, 0.1 do | |
| 1917 | swait() | |
| 1918 | PlayAnimationFromTable({
| |
| 1919 | CFrame.new(0, -0, -0, 0.87176013, 0, -0.489933014, 0, 1, 0, 0.489933044, 0, 0.87176013) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1920 | CFrame.new(-0.03097759, 1.48068821, -0.0551198274, 0.87176013, -0.0370955803, 0.48852694, 0, 0.997134864, 0.0757154897, -0.489933014, -0.0660058483, 0.869258225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1921 | CFrame.new(1.6043725, 1.397439, 0.00988263357, 0.975719333, -0.219024912, -1.93417072e-05, -0.219019294, -0.975694954, 0.00707555423, -0.00156858563, -0.00689952075, -0.999975085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1922 | CFrame.new(-1.60166776, 0.116563603, 1.17343279e-05, 0.980870962, 0.19466114, 2.98023224e-08, -0.19466126, 0.980870605, -4.82129451e-07, -2.38418579e-07, 4.54485416e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1923 | CFrame.new(0.680485487, -1.96697748, 0.239762232, 0.980836987, -0.145232886, 0.129914314, 0.112037525, 0.965800464, 0.23382929, -0.159429669, -0.21478951, 0.963567197) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1924 | CFrame.new(-0.587270081, -1.95259011, -0.315021306, 0.915650666, -0.0214495566, 0.401413441, -0.00645985128, 0.997661352, 0.068044588, -0.40193662, -0.0648979694, 0.913366556) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1925 | }, .4, false) | |
| 1926 | Effects.Sphere2.Create(BrickColor.new("Magenta"), grab.Torso.CFrame, 3, 3, 3, 3, 3, 3, .03, 2)
| |
| 1927 | end | |
| 1928 | Effects.Lightning.Create(efekt4.Position, grab.Torso.Position, 5, 5, "Magenta", 5, 0, 2) | |
| 1929 | - | Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Really black", 1, 0, 1) |
| 1929 | + | |
| 1930 | grab.Torso.Anchored = false | |
| 1931 | local boo = Instance.new("Explosion", Character.Torso)
| |
| 1932 | boo.Position = grab.Torso.Position | |
| 1933 | boo.BlastRadius = 100 | |
| 1934 | boo.BlastPressure = 500 | |
| 1935 | CFuncs.Sound.Create("331903140", Character, 3, 1)
| |
| 1936 | grab.Torso:BreakJoints() | |
| 1937 | end | |
| 1938 | attack = false | |
| 1939 | Humanoid.WalkSpeed = 25 | |
| 1940 | Humanoid.JumpPower = 60 | |
| 1941 | Humanoid.AutoRotate = true | |
| 1942 | x=5 | |
| 1943 | end | |
| 1944 | ||
| 1945 | ||
| 1946 | function corruptedclouds() | |
| 1947 | attack = true | |
| 1948 | CFuncs.Sound.Create("471882099", Character, 5, 1)
| |
| 1949 | ||
| 1950 | local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1951 | mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),})
| |
| 1952 | ||
| 1953 | for i = 0, 1.2, 0.1 do | |
| 1954 | swait() | |
| 1955 | PlayAnimationFromTable({
| |
| 1956 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1957 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1958 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1959 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1960 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1961 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1962 | }, .2, false) | |
| 1963 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1964 | end | |
| 1965 | ||
| 1966 | ||
| 1967 | for i = 0, 1, 0.1 do | |
| 1968 | swait() | |
| 1969 | PlayAnimationFromTable({
| |
| 1970 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1971 | CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1972 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1973 | CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1974 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1975 | CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 1976 | }, .25, false) | |
| 1977 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 1978 | end | |
| 1979 | ||
| 1980 | local grab = nil | |
| 1981 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 8)) do | |
| 1982 | if v:FindFirstChild('Head') then
| |
| 1983 | Grabbed = true | |
| 1984 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8)
| |
| 1985 | grab = v | |
| 1986 | end | |
| 1987 | end | |
| 1988 | ||
| 1989 | ||
| 1990 | ||
| 1991 | if Grabbed == true and grab ~= nil then | |
| 1992 | for i = 0, 1, 0.1 do | |
| 1993 | swait() | |
| 1994 | if Grabbed == true then | |
| 1995 | grab.Humanoid.PlatformStand = true | |
| 1996 | --GGyro.position = Partss.Position | |
| 1997 | --GGyro.Parent = grab.Head | |
| 1998 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
| 1999 | end | |
| 2000 | PlayAnimationFromTable({
| |
| 2001 | CFrame.new(1.76864308e-14, 4.48080471e-07, -1.63087861e-07, 0.766044796, 3.70911337e-08, -0.642787158, 0.219846025, 0.939692855, 0.262002498, 0.604022622, -0.342020035, 0.719846845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2002 | CFrame.new(0.341020674, 1.52092338, -0.0619920865, 0.975082517, 0.21674332, 0.0472928584, -0.219845772, 0.972632766, 0.0751910806, -0.0297012031, -0.0837147534, 0.99604708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2003 | CFrame.new(1.85675263, -0.0607492924, -0.232875168, 0.533469737, -0.629021049, -0.565454543, 0.0702756345, 0.699180424, -0.711484134, 0.842898726, 0.339813501, 0.417194188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2004 | CFrame.new(-1.1962359, 1.45365191, 0.615582228, 0.944647968, 0.171928287, -0.279431552, 0.321390301, -0.656127512, 0.682794034, -0.0659500062, -0.734806061, -0.675066113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2005 | CFrame.new(0.796237707, -1.89043427, 0.0301880166, 0.992736578, 0.0288502425, -0.116799474, -0.0291476101, 0.999574959, -0.000837668777, 0.116725862, 0.00423581898, 0.993155241) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2006 | CFrame.new(-0.958333611, -2.11844707, 0.433348566, 0.719846725, 0.262002468, 0.642787337, -0.342019975, 0.939692914, -1.1920929e-07, -0.604022384, -0.219846129, 0.766044915) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2007 | }, .3, false) | |
| 2008 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 2009 | end | |
| 2010 | ||
| 2011 | ||
| 2012 | ref=CFuncs.Part.Create(HitboxRA, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2013 | ref.Anchored=true | |
| 2014 | ref.CanCollide=false | |
| 2015 | game.Debris:AddItem(ref,.5) | |
| 2016 | for i = 0, 1, 0.1 do | |
| 2017 | swait() | |
| 2018 | if Grabbed == true then | |
| 2019 | grab.Humanoid.PlatformStand = true | |
| 2020 | --GGyro.position = Partss.Position | |
| 2021 | --GGyro.Parent = grab.Head | |
| 2022 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
| 2023 | end | |
| 2024 | PlayAnimationFromTable({
| |
| 2025 | CFrame.new(0.0237534959, -0.393922806, -0.0652742982, 0.939694047, 0.336823881, -0.0593910813, 6.63990818e-07, 0.173648596, 0.984807611, 0.342021018, -0.925418198, 0.163178027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2026 | CFrame.new(-0.172945321, 1.41877878, 0.442766368, 0.939694047, -0.296202481, 0.171007663, 0.336823881, 0.888269424, -0.312314689, -0.0593910813, 0.351079285, 0.934461713) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2027 | CFrame.new(1.52180564, 0.292591512, 0.881093621, 0.939694047, -0.219847351, -0.262002945, 0.336823881, 0.461824715, 0.820530832, -0.0593910813, -0.859295249, 0.508020401) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2028 | CFrame.new(-1.06820941, 0.562155366, -1.52689314, 0.939694047, 6.63990818e-07, 0.342021018, 0.336823881, 0.173648596, -0.925418198, -0.0593910813, 0.984807611, 0.163178027) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2029 | CFrame.new(1.01252818, -1.59739447, -1.0576911, 0.939694047, -0.116977476, 0.32139498, 0.336823881, 0.479688108, -0.810217738, -0.0593910813, 0.869606614, 0.490160972) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2030 | CFrame.new(-0.760051727, -1.08797181, -1.43901432, 0.939694703, 0.116978236, -0.321393281, -0.336825103, 0.479687691, -0.810217381, 0.0593926162, 0.869606614, 0.490160555) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2031 | }, .3, false) | |
| 2032 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
| 2033 | ref.CFrame = grab.Torso.CFrame | |
| 2034 | Effects.Block.Create(BrickColor.new(maincol), ref.CFrame, 1, 1, 1, 1, 1, 1, .08, 1) | |
| 2035 | end | |
| 2036 | MagnitudeDamage(ref, 3, 100, 100, 0, "Wither", "199149235", 1) | |
| 2037 | CFuncs.Sound.Create("385545047", grab.Torso, 5, 1)
| |
| 2038 | Effects.Sphere2.Create(BrickColor.new(maincol), HitboxLA.CFrame, 3, 3, 3, 3, 3, 3, .03, 2) | |
| 2039 | end | |
| 2040 | ||
| 2041 | k:Remove() | |
| 2042 | Humanoid.WalkSpeed = 25 | |
| 2043 | attack = false | |
| 2044 | end | |
| 2045 | ||
| 2046 | ||
| 2047 | ||
| 2048 | ||
| 2049 | ||
| 2050 | ||
| 2051 | function disconnect1() | |
| 2052 | con1:Disconnect() | |
| 2053 | end | |
| 2054 | ||
| 2055 | function disconnect2() | |
| 2056 | con2:Disconnect() | |
| 2057 | end | |
| 2058 | ||
| 2059 | orbs1=false | |
| 2060 | orbs2=false | |
| 2061 | ||
| 2062 | ||
| 2063 | ||
| 2064 | ||
| 2065 | function orbos() | |
| 2066 | attack = false | |
| 2067 | Humanoid.WalkSpeed = 0 | |
| 2068 | orbs1=true | |
| 2069 | orbs2=true | |
| 2070 | ||
| 2071 | orb1=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Magenta"), "ref", Vector3.new(1,1,1))
| |
| 2072 | orb1.Anchored=true | |
| 2073 | orb1.CanCollide=false | |
| 2074 | local mbewm2 = Instance.new("SpecialMesh", orb1)
| |
| 2075 | mbewm2.MeshType = "Sphere" | |
| 2076 | mbewm2.Scale = Vector3.new(2,2,2) | |
| 2077 | ||
| 2078 | ||
| 2079 | orb2=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Magenta"), "ref", Vector3.new(1,1,1))
| |
| 2080 | orb2.Anchored=true | |
| 2081 | orb2.CanCollide=false | |
| 2082 | local mbewm1 = Instance.new("SpecialMesh", orb2)
| |
| 2083 | mbewm1.MeshType = "Sphere" | |
| 2084 | mbewm1.Scale = Vector3.new(2,2,2) | |
| 2085 | orb1.CFrame=spinny.CFrame*CFrame.new(5,0,0) | |
| 2086 | orb2.CFrame=spinny.CFrame*CFrame.new(-5,0,0) | |
| 2087 | ||
| 2088 | ||
| 2089 | ||
| 2090 | CFuncs.Sound.Create("588735945", Torso, 10, 1)
| |
| 2091 | local con1 = orb1.Touched:connect(function(hit) MagnitudeDamage(orb1, 8, 95, 100, 20, "Normal", "199149235", 1) Effects.Sphere2.Create(BrickColor.new(maincol), orb1.CFrame, 1, 1, 1, 1, 1, 1, .05) orb1.Transparency = 1 orbs1 = false orb1:Destroy() end) | |
| 2092 | local con2 = orb2.Touched:connect(function(hit) MagnitudeDamage(orb2, 8, 95, 100, 20, "Normal", "199149235", 1) Effects.Sphere2.Create(BrickColor.new("Magenta"), orb2.CFrame, 1, 1, 1, 1, 1, 1, .05) orb2.Transparency = 1 orbs2 = false orb2:Destroy() end)
| |
| 2093 | ||
| 2094 | for i = 0, 2, 0.1 do | |
| 2095 | swait() | |
| 2096 | PlayAnimationFromTable({
| |
| 2097 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2098 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2099 | CFrame.new(1.70599079, 0.765470147, -0.522034883, 0.641520381, -0.693589449, 0.327697039, 0.160697088, -0.296198219, -0.941511095, 0.750085473, 0.656658471, -0.0785593688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2100 | CFrame.new(-1.85860336, 0.769027293, -0.346409023, 0.469846278, 0.813797832, -0.342020005, -0.171010107, -0.296197951, -0.939692676, -0.866025507, 0.49999994, 1.54857389e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2101 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2102 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2103 | }, .3, false) | |
| 2104 | end | |
| 2105 | Effects.Sphere2.Create(BrickColor.new("Magenta"), HitboxLA.CFrame, 1, 1, 1, 1, 1, 1, .05)
| |
| 2106 | Effects.Sphere2.Create(BrickColor.new(maincol), HitboxRA.CFrame, 1, 1, 1, 1, 1, 1, .05) | |
| 2107 | Humanoid.WalkSpeed = 25 | |
| 2108 | attack = false | |
| 2109 | Grabbed = false | |
| 2110 | x = 5 | |
| 2111 | end | |
| 2112 | ||
| 2113 | ||
| 2114 | ||
| 2115 | ||
| 2116 | ||
| 2117 | function warpything() | |
| 2118 | attack = true | |
| 2119 | Humanoid.Jump = true | |
| 2120 | Humanoid.WalkSpeed = 0 | |
| 2121 | LeftArm.Transparency = 0 | |
| 2122 | RightArm.Transparency = 0 | |
| 2123 | LeftLeg.Transparency = 0 | |
| 2124 | RightLeg.Transparency = 0 | |
| 2125 | Head.Transparency = 0 | |
| 2126 | Torso.Transparency = 0 | |
| 2127 | CFuncs.Sound.Create("782353443", Character, 1, 1)
| |
| 2128 | for i = 0, 1, 0.1 do | |
| 2129 | swait() | |
| 2130 | PlayAnimationFromTable({
| |
| 2131 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.707106829, 0.707106829, 0, -0.707106829, 0.707106829) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2132 | CFrame.new(0, 1.54349375, -0.187853307, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2133 | CFrame.new(1.5, 0.282838553, -0.489890486, 1, 0, -0, 0, 0.258818865, -0.965926051, 0, 0.965926051, 0.258818865) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2134 | CFrame.new(-1.5, 0.282807112, -0.48988995, 1, 0, -0, 0, 0.258818865, -0.965926051, 0, 0.965926051, 0.258818865) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2135 | CFrame.new(0.5, -1.89706933, -1.11773682, 1, 0, 0, 0, 0.965926051, -0.258818865, 0, 0.258818865, 0.965926051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2136 | CFrame.new(-0.5, -1.78912175, -0.0150479674, 1, 0, 0, 0, 0.866025448, 0.500000119, 0, -0.500000119, 0.866025448) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2137 | }, .3, false) | |
| 2138 | end | |
| 2139 | ||
| 2140 | for i = 0, 5, 0.1 do | |
| 2141 | swait() | |
| 2142 | PlayAnimationFromTable({
| |
| 2143 | CFrame.new(0, -0.0787503347, -0.155455261, 1, 0, 0, 0, 0.500000238, 0.866025388, 0, -0.866025388, 0.500000238) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2144 | CFrame.new(0, 1.61677504, 0.0853292942, 1, 0, 0, 0, 0.866025805, -0.499999762, 0, 0.499999762, 0.866025805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2145 | CFrame.new(1.5, 1.21241796, -0.699987948, 1, 0, 0, 0, -0.866025388, -0.500000238, 0, 0.500000238, -0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2146 | CFrame.new(-1.5, 1.21241796, -0.699987948, 1, 0, 0, 0, -0.866025388, -0.500000238, 0, 0.500000238, -0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2147 | CFrame.new(0.5, -1.93497717, -0.279311121, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2148 | CFrame.new(-0.5, -1.93551612, 0.5313164, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2149 | }, .3, false) | |
| 2150 | MagnitudeDamage(Torso, 20, 10, 15, math.random(0, 0), "Normal", "199149235", 1) | |
| 2151 | Effects.Block.Create(BrickColor.new(maincol), HitboxRA.CFrame, 2, 2, 2, 1, 1, 1, .08, 1) | |
| 2152 | Effects.Block.Create(BrickColor.new(maincol), HitboxLA.CFrame, 2, 2, 2, 1, 1, 1, .08, 1) | |
| 2153 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 2154 | LeftArm.Transparency = LeftArm.Transparency + .1 | |
| 2155 | RightArm.Transparency = RightArm.Transparency + .1 | |
| 2156 | LeftLeg.Transparency = LeftLeg.Transparency + .1 | |
| 2157 | RightLeg.Transparency = RightArm.Transparency + .1 | |
| 2158 | Head.Transparency = Head.Transparency + .1 | |
| 2159 | Torso.Transparency = Torso.Transparency + .1 | |
| 2160 | Scarf2.Transparency = Scarf2.Transparency + .1 | |
| 2161 | end | |
| 2162 | CFuncs.Sound.Create("610359442", Character, 1, 1)
| |
| 2163 | LeftArm.Transparency = 0 | |
| 2164 | RightArm.Transparency = 0 | |
| 2165 | LeftLeg.Transparency = 0 | |
| 2166 | RightLeg.Transparency = 0 | |
| 2167 | Head.Transparency = 0 | |
| 2168 | Torso.Transparency = 0 | |
| 2169 | Scarf2.Transparency = 0 | |
| 2170 | Humanoid.WalkSpeed = 25 | |
| 2171 | attack = false | |
| 2172 | end | |
| 2173 | ||
| 2174 | ||
| 2175 | function wip() | |
| 2176 | attack = true | |
| 2177 | Humanoid.WalkSpeed = 0 | |
| 2178 | Humanoid.JumpPower = 0 | |
| 2179 | bewm=CFuncs.Part.Create(Torso, "Neon", 0, 0, BrickColor.new("Magenta"), "bewm", Vector3.new(1,1,1))
| |
| 2180 | bewm.Anchored=true | |
| 2181 | bewm.CanCollide=true | |
| 2182 | bewm.CFrame=RootPart.CFrame*CFrame.new(0,80,0) | |
| 2183 | local mbewm = Instance.new("SpecialMesh", bewm)
| |
| 2184 | mbewm.MeshType = "Sphere" | |
| 2185 | mbewm.Scale = Vector3.new(0,0,0) | |
| 2186 | CFuncs.Sound.Create("471881922", bewm, 10, 1)
| |
| 2187 | Humanoid.AutoRotate = false | |
| 2188 | for i = 0, 10, 0.1 do | |
| 2189 | swait() | |
| 2190 | PlayAnimationFromTable({
| |
| 2191 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2192 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2193 | CFrame.new(1.64711547, 1.41346073, 0.361087859, -0.969846308, -0.171009913, -0.17364803, 0.173647985, -0.984807849, 5.96214491e-08, -0.171009898, -0.0301535726, 0.984807849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2194 | CFrame.new(-1.62076974, 0.0347282067, 0.036604397, 0.984807789, 0.173648089, 8.94069672e-08, -0.173648089, 0.984807849, -1.81875043e-06, -4.17232513e-07, 1.77323818e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2195 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2196 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2197 | }, .3, false) | |
| 2198 | mbewm.Scale = Vector3.new(mbewm.Scale.X+1,mbewm.Scale.Y+1,mbewm.Scale.Z+1) | |
| 2199 | Effects.Lightning.Create(efekt3.Position, bewm.Position, 3, 5, maincol, 1, 0, 1) | |
| 2200 | Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Magenta", 1, 0, 1) | |
| 2201 | RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z)) | |
| 2202 | end | |
| 2203 | wait(1.5) | |
| 2204 | sniffyboy=CFuncs.Sound.Create("379250622", sref, 10, 1)
| |
| 2205 | sniffyboy.Looped = true | |
| 2206 | for i = 0, 20, 0.1 do | |
| 2207 | swait() | |
| 2208 | PlayAnimationFromTable({
| |
| 2209 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2210 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2211 | CFrame.new(1.50731635, 1.028705, -0.872095346, -0.846583009, -0.517408669, -0.124843016, 0.087108463, -0.366077006, 0.926498711, -0.525080562, 0.773483098, 0.354985267) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2212 | CFrame.new(-1.71551478, 0.0740617141, -0.122276708, 0.943261385, 0.326123834, 0.062461704, -0.316874564, 0.940298975, -0.124210618, -0.0992406905, 0.0973705947, 0.990288079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2213 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2214 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2215 | }, .3, false) | |
| 2216 | mbewm.Scale = Vector3.new(mbewm.Scale.X-.5,mbewm.Scale.Y-.5,mbewm.Scale.Z-.5) | |
| 2217 | Effects.Lightning.Create(efekt3.Position, bewm.Position, 3, 5, maincol, 1, 0, 1) | |
| 2218 | Effects.Lightning.Create(efekt4.Position, bewm.Position, 3, 5, "Magenta", 1, 0, 1) | |
| 2219 | RootPart.CFrame = CFrame.new(RootPart.Position, Vector3.new(Mouse.Hit.p.X, 0, Mouse.Hit.p.Z)) | |
| 2220 | shoot(Mouse,40,bewm,0,8) | |
| 2221 | end | |
| 2222 | Humanoid.JumpPower = 80 | |
| 2223 | Humanoid.WalkSpeed = 16 | |
| 2224 | Humanoid.AutoRotate = true | |
| 2225 | sniffyboy:Destroy() | |
| 2226 | - | Effects.Ring.Create(BrickColor.new("Really black"), efekt2.CFrame, spo, spoi, spo, spo, spoi, spo, schpe, 2)
|
| 2226 | + | |
| 2227 | attack = false | |
| 2228 | - | Effects.Ring.Create(BrickColor.new(maincol), efekt4.CFrame, spo/2, spoi/2, spo/2, spo/2, spoi/2, spo/2/2, .06, 2) |
| 2228 | + | |
| 2229 | - | Effects.Ring.Create(BrickColor.new("Really black"), efekt5.CFrame, spo/2, spoi/2, spo/2, spo/2, spoi/2, spo/2, .06, 2)
|
| 2229 | + | |
| 2230 | ||
| 2231 | ||
| 2232 | Mouse.Button1Down:connect(function() | |
| 2233 | if attack == false and attacktype == 1 then | |
| 2234 | battac1() | |
| 2235 | attacktype = 2 | |
| 2236 | elseif attack == false and attacktype == 2 then | |
| 2237 | battac2() | |
| 2238 | attacktype = 3 | |
| 2239 | elseif attack == false and attacktype == 3 then | |
| 2240 | battac3() | |
| 2241 | attacktype = 1 | |
| 2242 | end | |
| 2243 | end) | |
| 2244 | ||
| 2245 | Mouse.KeyDown:connect(function(k) | |
| 2246 | k = k:lower() | |
| 2247 | if attack == false and k == "z" and cooldown1 >=co1 then | |
| 2248 | warpything() | |
| 2249 | cooldown1=0 | |
| 2250 | elseif attack == false and k == "x" and cooldown2 >=co2 then | |
| 2251 | cooldown2=0 | |
| 2252 | corruptedclouds() | |
| 2253 | elseif attack == false and k == "c" and orbs1 == false and orbs2 == false and cooldown3 >=co3 then | |
| 2254 | cooldown3=0 | |
| 2255 | orbos() | |
| 2256 | elseif attack == false and k == "v" and cooldown4 >=co4 then | |
| 2257 | cooldown4=0 | |
| 2258 | blasty() | |
| 2259 | elseif attack == false and k == "b" and cooldown5 >=co5 then | |
| 2260 | wip(Mouse.Hit.p) | |
| 2261 | cooldown5=0 | |
| 2262 | elseif attack == false and k == "t" then | |
| 2263 | tauntu1() | |
| 2264 | elseif attack == false and k == "y" then | |
| 2265 | tauntu2() | |
| 2266 | elseif attack == false and k == "u" then | |
| 2267 | tauntu3() | |
| 2268 | end | |
| 2269 | end) | |
| 2270 | ||
| 2271 | ||
| 2272 | function updateskills1() | |
| 2273 | if cooldown1 <= co1 then | |
| 2274 | cooldown1 = cooldown1 + 1 / 30 | |
| 2275 | end | |
| 2276 | if cooldown2 <= co2 then | |
| 2277 | cooldown2 = cooldown2 + 1 / 30 | |
| 2278 | end | |
| 2279 | if cooldown3 <= co3 then | |
| 2280 | cooldown3 = cooldown3 + 1 / 30 | |
| 2281 | end | |
| 2282 | if cooldown4 <= co4 then | |
| 2283 | cooldown4 = cooldown4 + 1 / 30 | |
| 2284 | end | |
| 2285 | if cooldown5 <= co5 then | |
| 2286 | cooldown5 = cooldown5 + 1 / 30 | |
| 2287 | end | |
| 2288 | end | |
| 2289 | ||
| 2290 | snif = false | |
| 2291 | efekt=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2292 | efekt.Anchored=true | |
| 2293 | efekt.CanCollide=false | |
| 2294 | efekt2=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2295 | efekt2.Anchored=true | |
| 2296 | efekt2.CanCollide=false | |
| 2297 | efekt3=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2298 | efekt3.Anchored=true | |
| 2299 | efekt3.CanCollide=false | |
| 2300 | efekt4=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2301 | efekt4.Anchored=true | |
| 2302 | efekt4.CanCollide=false | |
| 2303 | efekt5=CFuncs.Part.Create(Torso, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "ref", Vector3.new())
| |
| 2304 | efekt5.Anchored=true | |
| 2305 | efekt5.CanCollide=false | |
| 2306 | ||
| 2307 | ||
| 2308 | ||
| 2309 | OwO=20 | |
| 2310 | floatyup=-1 | |
| 2311 | while true do | |
| 2312 | swait() | |
| 2313 | spinny.Position = Torso.Position | |
| 2314 | efekt.CFrame=RootPart.CFrame*CFrame.new(math.random(-fop,fop),math.random(-fop,fop),(math.random(-fop,fop))) | |
| 2315 | updateskills1() | |
| 2316 | bar5:TweenSize(UDim2.new(1 * (cooldown5 / co5), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2317 | bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2318 | bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2319 | bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2320 | bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5) | |
| 2321 | spinny.CFrame = spinny.CFrame * CFrame.fromEulerAnglesXYZ(0, math.pi/45, 0) | |
| 2322 | ||
| 2323 | ||
| 2324 | ||
| 2325 | ||
| 2326 | efekt2.CFrame=spinny.CFrame*CFrame.new(spi,soi,0) | |
| 2327 | efekt3.CFrame=spinny.CFrame*CFrame.new(-spi,soi,0) | |
| 2328 | efekt4.CFrame=spinny.CFrame*CFrame.new(spi-OwO,soi,0) | |
| 2329 | efekt5.CFrame=spinny.CFrame*CFrame.new(-spi+OwO,soi,0) | |
| 2330 | sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0) | |
| 2331 | for i, v in pairs(Character:GetChildren()) do | |
| 2332 | if v:IsA("Part") then
| |
| 2333 | v.Material = "SmoothPlastic" | |
| 2334 | elseif v:IsA("Accessory") then
| |
| 2335 | v:WaitForChild("Handle").Material = "SmoothPlastic"
| |
| 2336 | end | |
| 2337 | end | |
| 2338 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2339 | velocity = RootPart.Velocity.y | |
| 2340 | sine = sine + change | |
| 2341 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
| 2342 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 2343 | Anim = "Jump" | |
| 2344 | if attack == false then | |
| 2345 | PlayAnimationFromTable({
| |
| 2346 | CFrame.new(-0, -0, 0, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2347 | CFrame.new(0, 1.64206743, -0.0635313094, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2348 | CFrame.new(1.79116416, 1.59931493, -0.0296922661, -0.878741562, -0.476725847, 0.0233638063, 0.474528521, -0.877861023, -0.0646751374, 0.0513424724, -0.0457459092, 0.997632861) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2349 | CFrame.new(-1.76288748, 1.570122, 0.0706513077, -0.875000715, 0.482961625, -0.0334950797, -0.475173414, -0.870010674, -0.131498694, -0.0926498771, -0.0991454795, 0.990750372) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2350 | CFrame.new(0.5, -1.33184052, -0.517642975, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2351 | CFrame.new(-0.5, -1.53184128, -0.51764679, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2352 | }, .3, false) | |
| 2353 | end | |
| 2354 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 2355 | Anim = "Fall" | |
| 2356 | if attack == false then | |
| 2357 | PlayAnimationFromTable({
| |
| 2358 | CFrame.new(-0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2359 | CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2360 | CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2361 | CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2362 | CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2363 | CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2364 | }, .3, false) | |
| 2365 | end | |
| 2366 | --I was too lazy to make idle anims, so thanks to When_kun for doing it for me.-- | |
| 2367 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 2368 | Anim = "Idle" | |
| 2369 | if attack == false then | |
| 2370 | change = 1 | |
| 2371 | PlayAnimationFromTable({
| |
| 2372 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(0, 0, 0), | |
| 2373 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2374 | CFrame.new(0.284558058, 0.352360129, -0.585287333, 0.258820832, 0.965924978, -2.79002438e-06, 0.084192656, -0.0225623567, -0.996192336, -0.962249458, 0.257835418, -0.0871634856) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 2375 | CFrame.new(-0.273653597, 0.406440526, -0.577382147, 0.258828282, -0.965923369, -1.5671344e-07, -0.167737693, -0.0449467227, -0.984804809, 0.951247692, 0.254895747, -0.17365551) * CFrame.new(0, 0 + 0.1 * math.cos(sine/25), 0) * CFrame.Angles(0, 0, 0), | |
| 2376 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2377 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2378 | }, .3, false) | |
| 2379 | end | |
| 2380 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 2381 | Anim = "Walk" | |
| 2382 | if attack == false then | |
| 2383 | change = 2 | |
| 2384 | PlayAnimationFromTable({
| |
| 2385 | CFrame.new(0, 0.373149872, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0 + .5 * math.cos(sine/30), 0) * CFrame.Angles(-math.rad(35), 0, 0), | |
| 2386 | CFrame.new(0, 1.51476645, -0.0539780706, 1, 0, 0, 0, 0.991959035, 0.126559824, 0, -0.126559824, 0.991959095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2387 | CFrame.new(1.53044462, 0.0434587747, 0.373253405, 0.981754541, -0.171075299, -0.0830325559, 0.190161183, 0.883219123, 0.428673476, 6.77824119e-07, -0.43664071, 0.89963758) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2388 | CFrame.new(-1.56102109, 0.0510505885, 0.286096632, 0.977345586, 0.197517931, 0.076041609, -0.211649761, 0.91208744, 0.351141959, 5.20918206e-07, -0.359280914, 0.933229327) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2389 | CFrame.new(0.50000006, -2.05107546, 0.227307364, 0.999800205, -0.0199995097, -1.67532294e-10, 0.0194808003, 0.973869205, 0.226273015, -0.00452534854, -0.22622776, 0.974064112) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2390 | CFrame.new(-0.5, -1.32009184, -0.457082331, 1, 0, 0, 0, 0.967570484, 0.252609909, 0, -0.252610624, 0.967568815) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
| 2391 | }, .3, false) | |
| 2392 | end | |
| 2393 | end | |
| 2394 | if 0 < #Effects then | |
| 2395 | for e = 1, #Effects do | |
| 2396 | if Effects[e] ~= nil then | |
| 2397 | local Thing = Effects[e] | |
| 2398 | if Thing ~= nil then | |
| 2399 | local Part = Thing[1] | |
| 2400 | local Mode = Thing[2] | |
| 2401 | local Delay = Thing[3] | |
| 2402 | local IncX = Thing[4] | |
| 2403 | local IncY = Thing[5] | |
| 2404 | local IncZ = Thing[6] | |
| 2405 | if Thing[2] == "Shoot" then | |
| 2406 | local Look = Thing[1] | |
| 2407 | local move = 5 | |
| 2408 | local hit, pos = rayCast(Thing[4], Thing[1], move, Character) | |
| 2409 | if Thing[10] ~= nil then | |
| 2410 | da = pos | |
| 2411 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
| 2412 | cfa = CFrame.new(Thing[4], pos) | |
| 2413 | tehCF = cfa:lerp(cf2, 0.2) | |
| 2414 | Thing[1] = tehCF.lookVector | |
| 2415 | end | |
| 2416 | local mag = (Thing[4] - pos).magnitude | |
| 2417 | Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4) | |
| 2418 | Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15) | |
| 2419 | Thing[4] = Thing[4] + Look * move | |
| 2420 | Thing[3] = Thing[3] - 1 | |
| 2421 | if 2 < Thing[5] then | |
| 2422 | Thing[5] = Thing[5] - 0.3 | |
| 2423 | Thing[6] = Thing[6] - 0.3 | |
| 2424 | end | |
| 2425 | if hit ~= nil then | |
| 2426 | Thing[3] = 0 | |
| 2427 | MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8) | |
| 2428 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
| |
| 2429 | ref.Anchored = true | |
| 2430 | ref.CFrame = CFrame.new(pos) | |
| 2431 | Effects.Block.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05) | |
| 2432 | Effects.Sphere.Create(BrickColor.new(Torso.Color), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03) | |
| 2433 | game:GetService("Debris"):AddItem(ref, 1)
| |
| 2434 | end | |
| 2435 | if Thing[3] <= 0 then | |
| 2436 | table.remove(Effects, e) | |
| 2437 | end | |
| 2438 | end | |
| 2439 | do | |
| 2440 | do | |
| 2441 | if Thing[2] == "FireWave" then | |
| 2442 | if Thing[3] <= Thing[4] then | |
| 2443 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
| 2444 | Thing[3] = Thing[3] + 1 | |
| 2445 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
| 2446 | else | |
| 2447 | Part.Parent = nil | |
| 2448 | table.remove(Effects, e) | |
| 2449 | end | |
| 2450 | end | |
| 2451 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
| 2452 | if Thing[1].Transparency <= 1 then | |
| 2453 | if Thing[2] == "Block1" then | |
| 2454 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2455 | Mesh = Thing[7] | |
| 2456 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2457 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2458 | else | |
| 2459 | if Thing[2] == "Block2" then | |
| 2460 | Thing[1].CFrame = Thing[1].CFrame | |
| 2461 | Mesh = Thing[7] | |
| 2462 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2463 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2464 | else | |
| 2465 | if Thing[2] == "Fire" then | |
| 2466 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
| 2467 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 2468 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2469 | else | |
| 2470 | if Thing[2] == "Cylinder" then | |
| 2471 | Mesh = Thing[7] | |
| 2472 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2473 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2474 | else | |
| 2475 | if Thing[2] == "Blood" then | |
| 2476 | Mesh = Thing[7] | |
| 2477 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
| 2478 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 2479 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2480 | else | |
| 2481 | if Thing[2] == "Elec" then | |
| 2482 | Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 2483 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2484 | else | |
| 2485 | if Thing[2] == "Disappear" then | |
| 2486 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 2487 | end | |
| 2488 | end | |
| 2489 | end | |
| 2490 | end | |
| 2491 | end | |
| 2492 | end | |
| 2493 | end | |
| 2494 | else | |
| 2495 | Part.Parent = nil | |
| 2496 | table.remove(Effects, e) | |
| 2497 | end | |
| 2498 | end | |
| 2499 | end | |
| 2500 | end | |
| 2501 | end | |
| 2502 | end | |
| 2503 | end | |
| 2504 | end | |
| 2505 | ||
| 2506 | if orbs1 == true then | |
| 2507 | orb1.CFrame=spinny.CFrame*CFrame.new(5,0,0) | |
| 2508 | end | |
| 2509 | ||
| 2510 | if orbs2 == true then | |
| 2511 | orb2.CFrame=spinny.CFrame*CFrame.new(-5,0,0) | |
| 2512 | end | |
| 2513 | ||
| 2514 | Humanoid.Health = math.huge | |
| 2515 | Effects.Ring.Create(BrickColor.new("Magenta"), efekt2.CFrame, spo, spoi, spo, spo, spoi, spo, schpe, 2)
| |
| 2516 | Effects.Ring.Create(BrickColor.new(maincol), efekt3.CFrame, spo, spoi, spo, spo, spoi, spo, schpe, 2) | |
| 2517 | end |