SHOW:
|
|
- or go back to the newest paste.
| 1 | -- [[[ | |
| 2 | --000000[[====================================================================================\\ | |
| 3 | --000000[[ VOID PANDORA BY IGNORANTROJO | |
| 4 | --000000[[====================================================================================// | |
| 5 | -- [[[ | |
| 6 | ||
| 7 | local Player = game:GetService("Players").LocalPlayer
| |
| 8 | repeat | |
| 9 | --Heres a bit of a story. | |
| 10 | --A top hat man who worked in a buisness, He just went inside a random cave he found. He hoped to find some good stuff.. | |
| 11 | --Whitelist, Includes mt freinds, | |
| 12 | --Or good people whitelisted. | |
| 13 | --78946353743548587435433465 | |
| 14 | --46546645 | |
| 15 | --5465455664 | |
| 16 | --54654645665 | |
| 17 | --546546546 | |
| 18 | --6544556554656 | |
| 19 | --63536534325643264232362324632586345345465464565436555555555555555555555555555555555555554645654654728367532432563256342563462534256327 | |
| 20 | --4565465 | |
| 21 | - | local WhiteList={}WhiteList[1]="lstroud07"WhiteList[2]="bigsecretofind"WhiteList[3]="IgnorantRojo"WhiteList[4]="MasterOfDesires"WhiteList[5]="SakuraSylveonYT"WhiteList[6]="Zyotech"WhiteList[7]="Theamazingnater"WhiteList[8]=""WhiteList[9]="TigerTy100"WhiteList[10]="IHasDogeCakes2"WhiteList[11]="markplierfan234"WhiteList[12]="zucchhhh"
|
| 21 | + | local WhiteList={}WhiteList[1]="potatoes_ohgawd"WhiteList[2]="bigsecretofind"WhiteList[3]="IgnorantRojo"WhiteList[4]="MasterOfDesires"WhiteList[5]="SakuraSylveonYT"WhiteList[6]="Zyotech"WhiteList[7]="Theamazingnater"WhiteList[8]=""WhiteList[9]="TigerTy100"WhiteList[10]="IHasDogeCakes2"WhiteList[11]="markplierfan234"WhiteList[12]="zucchhhh"
|
| 22 | local flg=false | |
| 23 | for i=1,#WhiteList do | |
| 24 | if WhiteList[i]==Player.Name then | |
| 25 | flg=true end end | |
| 26 | if not flg then error("Sorry.(You Aren't Whitelisted................You stole this script didnt you?)")end
| |
| 27 | wait() | |
| 28 | until Player.Character | |
| 29 | local Character = Player.Character | |
| 30 | wait(0.1) | |
| 31 | ||
| 32 | --//====================================================\\-- | |
| 33 | --|| Edit V8.9/9.1 | |
| 34 | --\\====================================================//-- | |
| 35 | ||
| 36 | local Player = game.Players.localPlayer | |
| 37 | local Character = Player.Character | |
| 38 | local Humanoid = Character.Humanoid | |
| 39 | local Mouse = Player:GetMouse() | |
| 40 | local LeftArm = Character["Left Arm"] | |
| 41 | local RightArm = Character["Right Arm"] | |
| 42 | local LeftLeg = Character["Left Leg"] | |
| 43 | local RightLeg = Character["Right Leg"] | |
| 44 | local Head = Character.Head | |
| 45 | local Torso = Character.Torso | |
| 46 | local Camera = game.Workspace.CurrentCamera | |
| 47 | local RootPart = Character.HumanoidRootPart | |
| 48 | local RootJoint = RootPart.RootJoint | |
| 49 | local attack = false | |
| 50 | local Anim = 'Idle' | |
| 51 | local Lighty = game:GetService"Lighting" | |
| 52 | local attacktype = 1 | |
| 53 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 54 | local velocity = RootPart.Velocity.y | |
| 55 | local sine = 0 | |
| 56 | local change = 1 | |
| 57 | local bored = {1326552262,186712548,143889072,723652641,1117396305,718910918,381007287,522887811,691897627,0}
| |
| 58 | local Create = LoadLibrary("RbxUtility").Create
| |
| 59 | function swait(num) | |
| 60 | if num == 0 or num == nil then | |
| 61 | ArtificialHB.Event:wait() | |
| 62 | else | |
| 63 | for i = 0, num do | |
| 64 | ArtificialHB.Event:wait() | |
| 65 | end | |
| 66 | end | |
| 67 | end | |
| 68 | ||
| 69 | local chara = Character | |
| 70 | local m = Create("Model"){
| |
| 71 | Parent = Character, | |
| 72 | Name = "WeaponModel", | |
| 73 | } | |
| 74 | function chatfunc(text) | |
| 75 | local chat = coroutine.wrap(function() | |
| 76 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 77 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 78 | end | |
| 79 | local Bill = Instance.new("BillboardGui",Character)
| |
| 80 | Bill.Size = UDim2.new(0,100,0,40) | |
| 81 | Bill.StudsOffset = Vector3.new(0,3,0) | |
| 82 | Bill.Adornee = Character.Head | |
| 83 | Bill.Name = "TalkingBillBoard" | |
| 84 | local Hehe = Instance.new("TextLabel",Bill)
| |
| 85 | Hehe.BackgroundTransparency = 1 | |
| 86 | Hehe.BorderSizePixel = 0 | |
| 87 | Hehe.Text = "" | |
| 88 | Hehe.Font = "SciFi" | |
| 89 | Hehe.TextSize = 40 | |
| 90 | Hehe.TextStrokeTransparency = 0 | |
| 91 | Hehe.Size = UDim2.new(1,0,0.5,0) | |
| 92 | coroutine.resume(coroutine.create(function() | |
| 93 | while Hehe ~= nil do | |
| 94 | swait() | |
| 95 | Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 96 | Hehe.Rotation = math.random(-5,5) | |
| 97 | Hehe.TextColor3 = Color3.new(255,0,255) | |
| 98 | Hehe.TextStrokeColor3 = Color3.new(0,0,0) | |
| 99 | end | |
| 100 | end)) | |
| 101 | for i = 1,string.len(text),1 do | |
| 102 | swait() | |
| 103 | Hehe.Text = string.sub(text,1,i) | |
| 104 | end | |
| 105 | swait(90)--Re[math.random(1, 93)] | |
| 106 | for i = 0, 1, .025 do | |
| 107 | swait() | |
| 108 | Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) | |
| 109 | Hehe.TextStrokeTransparency = i | |
| 110 | Hehe.TextTransparency = i | |
| 111 | end | |
| 112 | Bill:Destroy() | |
| 113 | end) | |
| 114 | chat() | |
| 115 | end | |
| 116 | ||
| 117 | function onChatted(msg) | |
| 118 | chatfunc(msg) | |
| 119 | end | |
| 120 | ||
| 121 | Player.Chatted:connect(onChatted) | |
| 122 | wait(0.2) | |
| 123 | ||
| 124 | Player = game:GetService("Players").LocalPlayer
| |
| 125 | PlayerGui = Player.PlayerGui | |
| 126 | Cam = workspace.CurrentCamera | |
| 127 | Backpack = Player.Backpack | |
| 128 | Character = Player.Character | |
| 129 | Humanoid = Character.Humanoid | |
| 130 | Mouse = Player:GetMouse() | |
| 131 | RootPart = Character["HumanoidRootPart"] | |
| 132 | Torso = Character["Torso"] | |
| 133 | Head = Character["Head"] | |
| 134 | RightArm = Character["Right Arm"] | |
| 135 | LeftArm = Character["Left Arm"] | |
| 136 | RightLeg = Character["Right Leg"] | |
| 137 | LeftLeg = Character["Left Leg"] | |
| 138 | RootJoint = RootPart["RootJoint"] | |
| 139 | Neck = Torso["Neck"] | |
| 140 | RightShoulder = Torso["Right Shoulder"] | |
| 141 | LeftShoulder = Torso["Left Shoulder"] | |
| 142 | RightHip = Torso["Right Hip"] | |
| 143 | LeftHip = Torso["Left Hip"] | |
| 144 | Character.Archivable = true | |
| 145 | Player:ClearCharacterAppearance() | |
| 146 | ||
| 147 | IT = Instance.new | |
| 148 | CF = CFrame.new | |
| 149 | VT = Vector3.new | |
| 150 | RAD = math.rad | |
| 151 | C3 = Color3.new | |
| 152 | UD2 = UDim2.new | |
| 153 | BRICKC = BrickColor.new | |
| 154 | ANGLES = CFrame.Angles | |
| 155 | EULER = CFrame.fromEulerAnglesXYZ | |
| 156 | COS = math.cos | |
| 157 | ACOS = math.acos | |
| 158 | SIN = math.sin | |
| 159 | ASIN = math.asin | |
| 160 | ABS = math.abs | |
| 161 | MRANDOM = math.random | |
| 162 | FLOOR = math.floor | |
| 163 | local CHOICE = MRANDOM(1,5) | |
| 164 | local LAUGHS = {834001699,834001752,834001797,834001828}
| |
| 165 | --//=================================\\ | |
| 166 | --|| USEFUL VALUES | |
| 167 | --\\=================================// | |
| 168 | ||
| 169 | Animation_Speed = 3 | |
| 170 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 171 | local Speed = 70 | |
| 172 | local SIZE = 1.4 | |
| 173 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 174 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 175 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 176 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 177 | local DAMAGEMULTIPLIER = "inf" | |
| 178 | local ANIM = "Idle" | |
| 179 | local ATTACK = false | |
| 180 | local EQUIPPED = false | |
| 181 | local HOLD = false | |
| 182 | local COMBO = 1 | |
| 183 | local Rooted = false | |
| 184 | local SINE = 0 | |
| 185 | local KEYHOLD = false | |
| 186 | local CHANGE = 2 / Animation_Speed | |
| 187 | local WALKINGANIM = false | |
| 188 | local VALUE1 = false | |
| 189 | local VALUE2 = false | |
| 190 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 191 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 192 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 193 | local ATANIM = IT("Animation")
| |
| 194 | ATANIM.Name = "Attack Animation" | |
| 195 | ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663" | |
| 196 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 197 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 198 | WEAPONGUI.Name = "Weapon GUI" | |
| 199 | local Weapon = IT("Model")
| |
| 200 | Weapon.Name = "Adds" | |
| 201 | local Effects = IT("Folder", Weapon)
| |
| 202 | Effects.Name = "Effects" | |
| 203 | local ANIMATOR = Humanoid.Animator | |
| 204 | local ANIMATE = Character.Animate | |
| 205 | local UNANCHOR = true | |
| 206 | local CLOCKLOOP = 0 | |
| 207 | local SONG = 1326552262 | |
| 208 | local CLOCKTARGET = nil | |
| 209 | local CLOCKSPEED = 4 | |
| 210 | script.Parent = WEAPONGUI | |
| 211 | local CLONE = Character:Clone() | |
| 212 | CLONE.Parent = nil | |
| 213 | Character.Archivable = false | |
| 214 | local sick = Instance.new("Sound",Torso)
| |
| 215 | sick.Volume = 50999 | |
| 216 | local BEAMSOUND = 1417056781 | |
| 217 | local TOBANISH = {}
| |
| 218 | script.Parent = PlayerGui | |
| 219 | local WHITELIST = {}
| |
| 220 | local HITPOS = nil | |
| 221 | local HITFLOOR = nil | |
| 222 | local LEFTWINGS = {}
| |
| 223 | local RIGHTWINGS = {}
| |
| 224 | local BODY = {}
| |
| 225 | --//=================================\\ | |
| 226 | --\\=================================// | |
| 227 | ||
| 228 | ||
| 229 | --//=================================\\ | |
| 230 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 231 | --\\=================================// | |
| 232 | ||
| 233 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 234 | ArtificialHB.Name = "ArtificialHB" | |
| 235 | ||
| 236 | script:WaitForChild("ArtificialHB")
| |
| 237 | ||
| 238 | frame = Frame_Speed | |
| 239 | tf = 0 | |
| 240 | allowframeloss = false | |
| 241 | tossremainder = false | |
| 242 | lastframe = tick() | |
| 243 | script.ArtificialHB:Fire() | |
| 244 | ||
| 245 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 246 | tf = tf + s | |
| 247 | if tf >= frame then | |
| 248 | if allowframeloss then | |
| 249 | script.ArtificialHB:Fire() | |
| 250 | lastframe = tick() | |
| 251 | else | |
| 252 | for i = 1, math.floor(tf / frame) do | |
| 253 | script.ArtificialHB:Fire() | |
| 254 | end | |
| 255 | lastframe = tick() | |
| 256 | end | |
| 257 | if tossremainder then | |
| 258 | tf = 0 | |
| 259 | else | |
| 260 | tf = tf - frame * math.floor(tf / frame) | |
| 261 | end | |
| 262 | end | |
| 263 | end) | |
| 264 | ||
| 265 | --//=================================\\ | |
| 266 | --\\=================================// | |
| 267 | ||
| 268 | --//=================================\\ | |
| 269 | --|| SOME FUNCTIONS | |
| 270 | --\\=================================// | |
| 271 | ||
| 272 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 273 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 274 | end | |
| 275 | ||
| 276 | function PositiveAngle(NUMBER) | |
| 277 | if NUMBER >= 0 then | |
| 278 | NUMBER = 0 | |
| 279 | end | |
| 280 | return NUMBER | |
| 281 | end | |
| 282 | ||
| 283 | function NegativeAngle(NUMBER) | |
| 284 | if NUMBER <= 0 then | |
| 285 | NUMBER = 0 | |
| 286 | end | |
| 287 | return NUMBER | |
| 288 | end | |
| 289 | ||
| 290 | function Swait(NUMBER) | |
| 291 | if NUMBER == 0 or NUMBER == nil then | |
| 292 | ArtificialHB.Event:wait() | |
| 293 | else | |
| 294 | for i = 1, NUMBER do | |
| 295 | ArtificialHB.Event:wait() | |
| 296 | end | |
| 297 | end | |
| 298 | end | |
| 299 | ||
| 300 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 301 | local NEWMESH = IT(MESH) | |
| 302 | if MESH == "SpecialMesh" then | |
| 303 | NEWMESH.MeshType = MESHTYPE | |
| 304 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 305 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 306 | end | |
| 307 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 308 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 309 | end | |
| 310 | end | |
| 311 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 312 | NEWMESH.Scale = SCALE | |
| 313 | NEWMESH.Parent = PARENT | |
| 314 | return NEWMESH | |
| 315 | end | |
| 316 | ||
| 317 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 318 | local NEWPART = IT("Part")
| |
| 319 | NEWPART.formFactor = FORMFACTOR | |
| 320 | NEWPART.Reflectance = REFLECTANCE | |
| 321 | NEWPART.Transparency = TRANSPARENCY | |
| 322 | NEWPART.CanCollide = false | |
| 323 | NEWPART.Locked = true | |
| 324 | NEWPART.Anchored = true | |
| 325 | if ANCHOR == false then | |
| 326 | NEWPART.Anchored = false | |
| 327 | end | |
| 328 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 329 | NEWPART.Name = NAME | |
| 330 | NEWPART.Size = SIZE | |
| 331 | NEWPART.Position = Torso.Position | |
| 332 | NEWPART.Material = MATERIAL | |
| 333 | NEWPART:BreakJoints() | |
| 334 | NEWPART.Parent = PARENT | |
| 335 | return NEWPART | |
| 336 | end | |
| 337 | ||
| 338 | local function weldBetween(a, b) | |
| 339 | local weldd = Instance.new("ManualWeld")
| |
| 340 | weldd.Part0 = a | |
| 341 | weldd.Part1 = b | |
| 342 | weldd.C0 = CFrame.new() | |
| 343 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 344 | weldd.Parent = a | |
| 345 | return weldd | |
| 346 | end | |
| 347 | ||
| 348 | ||
| 349 | function QuaternionFromCFrame(cf) | |
| 350 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 351 | local trace = m00 + m11 + m22 | |
| 352 | if trace > 0 then | |
| 353 | local s = math.sqrt(1 + trace) | |
| 354 | local recip = 0.5 / s | |
| 355 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 356 | else | |
| 357 | local i = 0 | |
| 358 | if m11 > m00 then | |
| 359 | i = 1 | |
| 360 | end | |
| 361 | if m22 > (i == 0 and m00 or m11) then | |
| 362 | i = 2 | |
| 363 | end | |
| 364 | if i == 0 then | |
| 365 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 366 | local recip = 0.5 / s | |
| 367 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 368 | elseif i == 1 then | |
| 369 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 370 | local recip = 0.5 / s | |
| 371 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 372 | elseif i == 2 then | |
| 373 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 374 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 375 | end | |
| 376 | end | |
| 377 | end | |
| 378 | ||
| 379 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 380 | local xs, ys, zs = x + x, y + y, z + z | |
| 381 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 382 | local xx = x * xs | |
| 383 | local xy = x * ys | |
| 384 | local xz = x * zs | |
| 385 | local yy = y * ys | |
| 386 | local yz = y * zs | |
| 387 | local zz = z * zs | |
| 388 | return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
| 389 | end | |
| 390 | ||
| 391 | function QuaternionSlerp(a, b, t) | |
| 392 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 393 | local startInterp, finishInterp; | |
| 394 | if cosTheta >= 0.0001 then | |
| 395 | if (1 - cosTheta) > 0.0001 then | |
| 396 | local theta = ACOS(cosTheta) | |
| 397 | local invSinTheta = 1 / SIN(theta) | |
| 398 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 399 | finishInterp = SIN(t * theta) * invSinTheta | |
| 400 | else | |
| 401 | startInterp = 1 - t | |
| 402 | finishInterp = t | |
| 403 | end | |
| 404 | else | |
| 405 | if (1 + cosTheta) > 0.0001 then | |
| 406 | local theta = ACOS(-cosTheta) | |
| 407 | local invSinTheta = 1 / SIN(theta) | |
| 408 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 409 | finishInterp = SIN(t * theta) * invSinTheta | |
| 410 | else | |
| 411 | startInterp = t - 1 | |
| 412 | finishInterp = t | |
| 413 | end | |
| 414 | end | |
| 415 | return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
| 416 | end | |
| 417 | ||
| 418 | function Clerp(a, b, t) | |
| 419 | local qa = {QuaternionFromCFrame(a)}
| |
| 420 | local qb = {QuaternionFromCFrame(b)}
| |
| 421 | local ax, ay, az = a.x, a.y, a.z | |
| 422 | local bx, by, bz = b.x, b.y, b.z | |
| 423 | local _t = 1 - t | |
| 424 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 425 | end | |
| 426 | ||
| 427 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 428 | local frame = IT("Frame")
| |
| 429 | frame.BackgroundTransparency = TRANSPARENCY | |
| 430 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 431 | frame.Position = POSITION | |
| 432 | frame.Size = SIZE | |
| 433 | frame.BackgroundColor3 = COLOR | |
| 434 | frame.BorderColor3 = BORDERCOLOR | |
| 435 | frame.Name = NAME | |
| 436 | frame.Parent = PARENT | |
| 437 | return frame | |
| 438 | end | |
| 439 | ||
| 440 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 441 | local label = IT("TextLabel")
| |
| 442 | label.BackgroundTransparency = 1 | |
| 443 | label.Size = UD2(1, 0, 1, 0) | |
| 444 | label.Position = UD2(0, 0, 0, 0) | |
| 445 | label.TextColor3 = TEXTCOLOR | |
| 446 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 447 | label.TextTransparency = TRANSPARENCY | |
| 448 | label.FontSize = TEXTFONTSIZE | |
| 449 | label.Font = TEXTFONT | |
| 450 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 451 | label.TextStrokeColor3 = C3(1,1,1) | |
| 452 | label.TextScaled = false | |
| 453 | label.Text = TEXT | |
| 454 | label.Name = NAME | |
| 455 | label.Parent = PARENT | |
| 456 | return label | |
| 457 | end | |
| 458 | ||
| 459 | function NoOutlines(PART) | |
| 460 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 461 | end | |
| 462 | ||
| 463 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 464 | local NEWWELD = IT(TYPE) | |
| 465 | NEWWELD.Part0 = PART0 | |
| 466 | NEWWELD.Part1 = PART1 | |
| 467 | NEWWELD.C0 = C0 | |
| 468 | NEWWELD.C1 = C1 | |
| 469 | NEWWELD.Parent = PARENT | |
| 470 | return NEWWELD | |
| 471 | end | |
| 472 | ||
| 473 | local S = IT("Sound")
| |
| 474 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 475 | local NEWSOUND = nil | |
| 476 | coroutine.resume(coroutine.create(function() | |
| 477 | NEWSOUND = S:Clone() | |
| 478 | NEWSOUND.Parent = PARENT | |
| 479 | NEWSOUND.Volume = VOLUME | |
| 480 | NEWSOUND.Pitch = PITCH | |
| 481 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 482 | NEWSOUND:play() | |
| 483 | if DOESLOOP == true then | |
| 484 | NEWSOUND.Looped = true | |
| 485 | else | |
| 486 | repeat wait(1) until NEWSOUND.Playing == false | |
| 487 | NEWSOUND:remove() | |
| 488 | end | |
| 489 | end)) | |
| 490 | return NEWSOUND | |
| 491 | end | |
| 492 | ||
| 493 | function CFrameFromTopBack(at, top, back) | |
| 494 | local right = top:Cross(back) | |
| 495 | return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
| 496 | end | |
| 497 | ||
| 498 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 499 | function WACKYEFFECT(Table) | |
| 500 | local TYPE = (Table.EffectType or "Sphere") | |
| 501 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 502 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 503 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 504 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 505 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 506 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 507 | local ROTATION1 = (Table.RotationX or 0) | |
| 508 | local ROTATION2 = (Table.RotationY or 0) | |
| 509 | local ROTATION3 = (Table.RotationZ or 0) | |
| 510 | local MATERIAL = (Table.Material or "Neon") | |
| 511 | local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551)) | |
| 512 | local TIME = (Table.Time or 45) | |
| 513 | local SOUNDID = (Table.SoundID or nil) | |
| 514 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 515 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 516 | coroutine.resume(coroutine.create(function() | |
| 517 | local PLAYSSOUND = false | |
| 518 | local SOUND = nil | |
| 519 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
| |
| 520 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 521 | PLAYSSOUND = true | |
| 522 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 523 | end | |
| 524 | EFFECT.Color = COLOR | |
| 525 | local MSH = nil | |
| 526 | if TYPE == "Sphere" then | |
| 527 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 528 | elseif TYPE == "Block" then | |
| 529 | MSH = IT("BlockMesh",EFFECT)
| |
| 530 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 531 | elseif TYPE == "Wave" then | |
| 532 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 533 | elseif TYPE == "Ring" then | |
| 534 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 535 | elseif TYPE == "Slash" then | |
| 536 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 537 | elseif TYPE == "Round Slash" then | |
| 538 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 539 | elseif TYPE == "Swirl" then | |
| 540 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 541 | elseif TYPE == "Skull" then | |
| 542 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 543 | elseif TYPE == "Crystal" then | |
| 544 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 545 | end | |
| 546 | if MSH ~= nil then | |
| 547 | local MOVESPEED = nil | |
| 548 | if MOVEDIRECTION ~= nil then | |
| 549 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 550 | end | |
| 551 | local GROWTH = SIZE - ENDSIZE | |
| 552 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 553 | if TYPE == "Block" then | |
| 554 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 555 | else | |
| 556 | EFFECT.CFrame = CFRAME | |
| 557 | end | |
| 558 | for LOOP = 1, TIME+1 do | |
| 559 | Swait() | |
| 560 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 561 | if TYPE == "Wave" then | |
| 562 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 563 | end | |
| 564 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 565 | if TYPE == "Block" then | |
| 566 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 567 | else | |
| 568 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 569 | end | |
| 570 | if MOVEDIRECTION ~= nil then | |
| 571 | local ORI = EFFECT.Orientation | |
| 572 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 573 | EFFECT.Orientation = ORI | |
| 574 | end | |
| 575 | end | |
| 576 | if PLAYSSOUND == false then | |
| 577 | EFFECT:remove() | |
| 578 | else | |
| 579 | repeat Swait() until SOUND.Playing == false | |
| 580 | EFFECT:remove() | |
| 581 | end | |
| 582 | else | |
| 583 | if PLAYSSOUND == false then | |
| 584 | EFFECT:remove() | |
| 585 | else | |
| 586 | repeat Swait() until SOUND.Playing == false | |
| 587 | EFFECT:remove() | |
| 588 | end | |
| 589 | end | |
| 590 | end)) | |
| 591 | end | |
| 592 | ||
| 593 | function MakeForm(PART,TYPE) | |
| 594 | if TYPE == "Cyl" then | |
| 595 | local MSH = IT("CylinderMesh",PART)
| |
| 596 | elseif TYPE == "Ball" then | |
| 597 | local MSH = IT("SpecialMesh",PART)
| |
| 598 | MSH.MeshType = "Sphere" | |
| 599 | elseif TYPE == "Wedge" then | |
| 600 | local MSH = IT("SpecialMesh",PART)
| |
| 601 | MSH.MeshType = "Wedge" | |
| 602 | end | |
| 603 | end | |
| 604 | ||
| 605 | Debris = game:GetService("Debris")
| |
| 606 | ||
| 607 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 608 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 609 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 610 | end | |
| 611 | ||
| 612 | function turnto(position) | |
| 613 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 614 | end | |
| 615 | ||
| 616 | function SpawnTrail(FROM,TO,BIG) | |
| 617 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really blue", "Trail", VT(0,0,0)) | |
| 618 | MakeForm(TRAIL,"Cyl") | |
| 619 | local DIST = (FROM - TO).Magnitude | |
| 620 | if BIG == true then | |
| 621 | TRAIL.Size = VT(0.5,DIST,0.5) | |
| 622 | else | |
| 623 | TRAIL.Size = VT(0.25,DIST,0.25) | |
| 624 | end | |
| 625 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 626 | coroutine.resume(coroutine.create(function() | |
| 627 | for i = 0, 5 do | |
| 628 | Swait() | |
| 629 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
| 630 | end | |
| 631 | TRAIL:remove() | |
| 632 | end)) | |
| 633 | end | |
| 634 | local asd = Instance.new("ParticleEmitter")
| |
| 635 | asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0)) | |
| 636 | asd.LightEmission = .1 | |
| 637 | asd.Texture = "http://www.roblox.com/asset/?ID=584827399" | |
| 638 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
| |
| 639 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 640 | asd.Transparency = aaa | |
| 641 | asd.Size = bbb | |
| 642 | asd.ZOffset = .9 | |
| 643 | asd.Acceleration = Vector3.new(0, -15, 0) | |
| 644 | asd.LockedToPart = false | |
| 645 | asd.EmissionDirection = "Back" | |
| 646 | asd.Lifetime = NumberRange.new(1, 2) | |
| 647 | asd.Rotation = NumberRange.new(-100, 100) | |
| 648 | asd.RotSpeed = NumberRange.new(-100, 100) | |
| 649 | asd.Speed = NumberRange.new(10) | |
| 650 | asd.Enabled = true | |
| 651 | asd.VelocitySpread = 999 | |
| 652 | Debris = game:GetService("Debris")
| |
| 653 | ||
| 654 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 655 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 656 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 657 | end | |
| 658 | ||
| 659 | function turnto(position) | |
| 660 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 661 | end | |
| 662 | function Shatter(Part) | |
| 663 | if Part.Transparency < 1 then | |
| 664 | local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0)) | |
| 665 | Debris:AddItem(SOUNDPART,5) | |
| 666 | CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
| |
| 667 | local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z | |
| 668 | local SIZESET = SIZE/4 | |
| 669 | local XOffset = Part.Size.X*1.5/SIZESET | |
| 670 | local YOffset = Part.Size.Y*1.5/SIZESET | |
| 671 | local ZOffset = Part.Size.Z*1.5/SIZESET | |
| 672 | for x = 1, math.ceil(XOffset) do | |
| 673 | for y = 1, math.ceil(YOffset) do | |
| 674 | for z = 1, math.ceil(ZOffset) do | |
| 675 | local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false) | |
| 676 | SHARD.CanCollide = true | |
| 677 | SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4)) | |
| 678 | SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3 | |
| 679 | Debris:AddItem(SHARD,MRANDOM(10,25)/10) | |
| 680 | for _, c in pairs(Part:GetChildren()) do | |
| 681 | if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then | |
| 682 | c:Clone().Parent = SHARD | |
| 683 | end | |
| 684 | end | |
| 685 | end | |
| 686 | end | |
| 687 | end | |
| 688 | end | |
| 689 | Part:remove() | |
| 690 | end | |
| 691 | ||
| 692 | --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
| |
| 693 | function Lightning(Table) | |
| 694 | local Color = Table.Color or C3(1,1,1) | |
| 695 | local StartPos = Table.Start or Torso.Position | |
| 696 | local EndPos = Table.End or Mouse.Hit.p | |
| 697 | local SegmentLength = Table.SegmentL or 2 | |
| 698 | local Thickness = Table.Thickness or 0.1 | |
| 699 | local Dissapear = Table.DoesFade or false | |
| 700 | local Parent = Table.Ignore or Character | |
| 701 | local MaxDist = Table.MaxDist or 400 | |
| 702 | local Branches = Table.Branches or false | |
| 703 | local Thicken = Table.Thicken or false | |
| 704 | local FadeTime = Table.FadeTime or 15 | |
| 705 | local FadeIn = Table.FadeIn or false | |
| 706 | local Material = Table.Material or "Neon" | |
| 707 | local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) | |
| 708 | local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5)) | |
| 709 | local LIGHTNINGMODEL = IT("Model",Effects)
| |
| 710 | LIGHTNINGMODEL.Name = "Lightning" | |
| 711 | local LastBolt = nil | |
| 712 | for E = 1, DISTANCE do | |
| 713 | local ExtraSize = 0 | |
| 714 | if Thicken == true then | |
| 715 | ExtraSize = (DISTANCE-E)/15 | |
| 716 | end | |
| 717 | local TRANSPARENCY = 0 | |
| 718 | if FadeIn == true then | |
| 719 | TRANSPARENCY = 1-(E/(DISTANCE/1.5)) | |
| 720 | if TRANSPARENCY < 0 then | |
| 721 | TRANSPARENCY = 0 | |
| 722 | end | |
| 723 | end | |
| 724 | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
| |
| 725 | PART.Color = Color | |
| 726 | MakeForm(PART,"Cyl") | |
| 727 | if LastBolt == nil then | |
| 728 | PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 729 | else | |
| 730 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 731 | end | |
| 732 | LastBolt = PART | |
| 733 | if Branches == true and E < (DISTANCE-5) then | |
| 734 | local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) | |
| 735 | if CHOICE == 1 then | |
| 736 | local LASTBRANCH = nil | |
| 737 | for i = 1, MRANDOM(2,5) do | |
| 738 | local ExtraSize2 = 0 | |
| 739 | if Thicken == true then | |
| 740 | ExtraSize = ((DISTANCE-E)/25)/i | |
| 741 | end | |
| 742 | local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
| |
| 743 | PART.Color = Color | |
| 744 | MakeForm(PART,"Cyl") | |
| 745 | if LASTBRANCH == nil then | |
| 746 | PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 747 | else | |
| 748 | PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) | |
| 749 | end | |
| 750 | LASTBRANCH = PART | |
| 751 | end | |
| 752 | end | |
| 753 | end | |
| 754 | end | |
| 755 | if Dissapear == true then | |
| 756 | coroutine.resume(coroutine.create(function() | |
| 757 | for i = 1, FadeTime do | |
| 758 | Swait() | |
| 759 | for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do | |
| 760 | if c.ClassName == "Part" then | |
| 761 | c.Transparency = c.Transparency + (i/FadeTime)/10 | |
| 762 | end | |
| 763 | end | |
| 764 | end | |
| 765 | LIGHTNINGMODEL:remove() | |
| 766 | end)) | |
| 767 | elseif Dissapear == false then | |
| 768 | Debris:AddItem(LIGHTNINGMODEL,0.1) | |
| 769 | end | |
| 770 | return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
| |
| 771 | end | |
| 772 | function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
| 773 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 774 | wave.Color = COLOR | |
| 775 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 776 | wave.CFrame = CFRAME | |
| 777 | coroutine.resume(coroutine.create(function(PART) | |
| 778 | for i = 1, WAIT do | |
| 779 | Swait() | |
| 780 | mesh.Scale = mesh.Scale + GROW | |
| 781 | mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
| 782 | if DOESROT == true then | |
| 783 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
| 784 | end | |
| 785 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 786 | if wave.Transparency > 0.99 then | |
| 787 | wave:remove() | |
| 788 | end | |
| 789 | end | |
| 790 | end)) | |
| 791 | end | |
| 792 | ||
| 793 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
| 794 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
| 795 | wave.Color = COLOR | |
| 796 | local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 797 | wave.CFrame = CFRAME | |
| 798 | coroutine.resume(coroutine.create(function(PART) | |
| 799 | for i = 1, WAIT do | |
| 800 | Swait() | |
| 801 | mesh.Scale = mesh.Scale + GROW | |
| 802 | wave.Transparency = wave.Transparency + (1/WAIT) | |
| 803 | if wave.Transparency > 0.99 then | |
| 804 | wave:remove() | |
| 805 | end | |
| 806 | end | |
| 807 | end)) | |
| 808 | end | |
| 809 | function Shatter(Part) | |
| 810 | if Part.Transparency == 0 then | |
| 811 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0)) | |
| 812 | Debris:AddItem(SOUNDPART,5) | |
| 813 | CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
| |
| 814 | local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z | |
| 815 | local SIZESET = SIZE/4 | |
| 816 | local XOffset = Part.Size.X*1.5/SIZESET | |
| 817 | local YOffset = Part.Size.Y*1.5/SIZESET | |
| 818 | local ZOffset = Part.Size.Z*1.5/SIZESET | |
| 819 | for x = 1, math.ceil(XOffset) do | |
| 820 | for y = 1, math.ceil(YOffset) do | |
| 821 | for z = 1, math.ceil(ZOffset) do | |
| 822 | local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false) | |
| 823 | SHARD.CanCollide = true | |
| 824 | SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4)) | |
| 825 | SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3 | |
| 826 | Debris:AddItem(SHARD,MRANDOM(10,25)/3) | |
| 827 | end | |
| 828 | end | |
| 829 | end | |
| 830 | end | |
| 831 | Part:remove() | |
| 832 | end | |
| 833 | --//=================================\\ | |
| 834 | --|| WEAPON CREATION | |
| 835 | --\\=================================// | |
| 836 | ||
| 837 | local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
| |
| 838 | Humanoid.Parent = nil | |
| 839 | RootPart.Size = RootPart.Size*SIZE | |
| 840 | Torso.Size = Torso.Size*SIZE | |
| 841 | RightArm.Size = RightArm.Size*SIZE | |
| 842 | RightLeg.Size = RightLeg.Size*SIZE | |
| 843 | LeftArm.Size = LeftArm.Size*SIZE | |
| 844 | LeftLeg.Size = LeftLeg.Size*SIZE | |
| 845 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 846 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 847 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 848 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 849 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 850 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 851 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 852 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 853 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 854 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 855 | Head.Size = Head.Size*SIZE | |
| 856 | RootJoint.Parent = RootPart | |
| 857 | Neck.Parent = Torso | |
| 858 | RightShoulder.Parent = Torso | |
| 859 | LeftShoulder.Parent = Torso | |
| 860 | RightHip.Parent = Torso | |
| 861 | LeftHip.Parent = Torso | |
| 862 | ||
| 863 | local Handle = CreatePart(3, Weapon, "Neon", 0, 0, "Realy Black", "Part", VT(0.2,0.6,0.2),false) | |
| 864 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
| |
| 865 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.2,0.5,0.2),false) | |
| 866 | MakeForm(Part,"Wedge") | |
| 867 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
| |
| 868 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.2,0.3,0.2),false) | |
| 869 | MakeForm(Part,"Wedge") | |
| 870 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
| |
| 871 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.3,0.3,0.3),false) | |
| 872 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 873 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.3,0.5,0.5),false) | |
| 874 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 875 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.4,0.4,0.4),false) | |
| 876 | MakeForm(Part,"Cyl") | |
| 877 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 878 | for i = 1, 8 do | |
| 879 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Eye", VT(0,0.35,0.41),false) | |
| 880 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
| |
| 881 | end | |
| 882 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Eye", VT(0.38,0.41,0.38),false) | |
| 883 | MakeForm(Part,"Cyl") | |
| 884 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 885 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.37,0.5,0.37),false) | |
| 886 | MakeForm(Part,"Ball") | |
| 887 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 888 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.2,0.7,0.4),false) | |
| 889 | MakeForm(Part,"Wedge") | |
| 890 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
| |
| 891 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Realy Black", "Part", VT(0.3,0.4,0.2),false) | |
| 892 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 893 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Part", VT(0.35,0.35,0.35),false) | |
| 894 | MakeForm(Part,"Cyl") | |
| 895 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 896 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Part", VT(0.5,0.1,0.5),false) | |
| 897 | MakeForm(Part,"Cyl") | |
| 898 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 899 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Part", VT(0.5,0.1,0.45),false) | |
| 900 | MakeForm(Part,"Cyl") | |
| 901 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 902 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Part", VT(0.2,0.5,0.2),false) | |
| 903 | MakeForm(Part,"Wedge") | |
| 904 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
| |
| 905 | local LASTPART = Handle | |
| 906 | for i = 1, 10 do | |
| 907 | if LASTPART == Handle then | |
| 908 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really Black", "Part", VT(0.1,0.2,0),false) | |
| 909 | LASTPART = Part | |
| 910 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 911 | else | |
| 912 | local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really Black", "Part", VT(0.1,0.05,0),false) | |
| 913 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
| |
| 914 | LASTPART = Part | |
| 915 | end | |
| 916 | end | |
| 917 | ||
| 918 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Royal Purple", "Part", VT(0.15,2,0.15),false) | |
| 919 | MakeForm(Barrel,"Cyl") | |
| 920 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 921 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Royal Purple", "Part", VT(0.25,1,0.25),false) | |
| 922 | MakeForm(Part,"Cyl") | |
| 923 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
| |
| 924 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Royal Purple", "Part", VT(0,0.1,0.2),false) | |
| 925 | MakeForm(Part,"Wedge") | |
| 926 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 927 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Royal Purple", "Eye", VT(0.125,0,0.125),false) | |
| 928 | MakeForm(Hole,"Cyl") | |
| 929 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
| |
| 930 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Royal Purple", "Part", VT(0,0,0),false) | |
| 931 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
| |
| 932 | CreateMesh("SpecialMesh", Part, "FileMesh", 65514292, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
| |
| 933 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Royal Purple", "Eye", VT(0,0,0),false) | |
| 934 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
| |
| 935 | CreateMesh("SpecialMesh", Part, "FileMesh", 65514292, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
| |
| 936 | coroutine.resume(coroutine.create(function() | |
| 937 | while wait() do | |
| 938 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) | |
| 939 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) | |
| 940 | end | |
| 941 | end)) | |
| 942 | for _, c in pairs(Weapon:GetDescendants()) do | |
| 943 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
| 944 | c.Material = "Glass" | |
| 945 | c.Color = C3(0,0,0) | |
| 946 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
| 947 | c.Color = C3(0,255,0) | |
| 948 | c.Material = "Neon" | |
| 949 | end | |
| 950 | end | |
| 951 | ||
| 952 | Weapon.Parent = Character | |
| 953 | for _, c in pairs(Weapon:GetChildren()) do | |
| 954 | if c.ClassName == "Part" then | |
| 955 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 956 | end | |
| 957 | end | |
| 958 | Humanoid.DisplayDistanceType = "None" | |
| 959 | local naeeym2 = IT("BillboardGui",Character)
| |
| 960 | naeeym2.AlwaysOnTop = true | |
| 961 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 962 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 963 | naeeym2.MaxDistance = 75 | |
| 964 | naeeym2.Adornee = Character.Head | |
| 965 | naeeym2.Name = "Name" | |
| 966 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 967 | tecks2.BackgroundTransparency = 1 | |
| 968 | tecks2.TextScaled = true | |
| 969 | tecks2.BorderSizePixel = 0 | |
| 970 | tecks2.Text = "Void Pandora" | |
| 971 | tecks2.Font = "SciFi" | |
| 972 | tecks2.TextSize = 30 | |
| 973 | tecks2.TextStrokeTransparency = 0 | |
| 974 | tecks2.TextColor3 = C3(0,0,0) | |
| 975 | tecks2.TextStrokeColor3 = C3(4, 0, 4) | |
| 976 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 977 | tecks2.Parent = naeeym2 | |
| 978 | local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
| |
| 979 | local top = Instance.new("Shirt")
| |
| 980 | top.ShirtTemplate = "rbxassetid://476542397" | |
| 981 | top.Parent = Character | |
| 982 | top.Name = "Cloth" | |
| 983 | local bottom = Instance.new("Pants")
| |
| 984 | bottom.PantsTemplate = "rbxassetid://476542637" | |
| 985 | bottom.Parent = Character | |
| 986 | bottom.Name = "Cloth" | |
| 987 | local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Royal Purple", "Hat", VT(1,1,1),false) | |
| 988 | PRT.Color = C3(0,0,0) | |
| 989 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 990 | CreateMesh("SpecialMesh", PRT, "FileMesh", "1028713", "121696731", VT(1,1,1)*SIZE, VT(0,0,0))
| |
| 991 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(1,1,1),false) | |
| 992 | PRT.Color = C3(0,0,0) | |
| 993 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
| |
| 994 | CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
| |
| 995 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false) | |
| 996 | PRT.Color = C3(255/255, 0/255, 255/255) | |
| 997 | MakeForm(PRT,"Ball") | |
| 998 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
| |
| 999 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false) | |
| 1000 | PRT.Color = C3(255/255, 0/255, 255/255) | |
| 1001 | MakeForm(PRT,"Ball") | |
| 1002 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
| |
| 1003 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false) | |
| 1004 | PRT.Color = C3(255/255, 0/255, 255/255) | |
| 1005 | MakeForm(PRT,"Ball") | |
| 1006 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
| |
| 1007 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false) | |
| 1008 | PRT.Color = C3(255/255, 0/255, 255/255) | |
| 1009 | MakeForm(PRT,"Ball") | |
| 1010 | local Aura = Instance.new('ParticleEmitter')
| |
| 1011 | Aura.Name = "Aura" | |
| 1012 | Aura.Texture = "rbxassetid://408284293" | |
| 1013 | Aura.Parent = PRT | |
| 1014 | Aura.LightEmission = 0.3 | |
| 1015 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1016 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 255/255)) | |
| 1017 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1018 | Aura.LockedToPart = false | |
| 1019 | Aura.Lifetime = NumberRange.new(2) | |
| 1020 | Aura.Rate = 30 | |
| 1021 | Aura.Speed = NumberRange.new(1) | |
| 1022 | Aura.EmissionDirection = "Top" | |
| 1023 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
| |
| 1024 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false) | |
| 1025 | PRT.Color = C3(255/255, 0/255, 255/255) | |
| 1026 | MakeForm(PRT,"Ball") | |
| 1027 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
| |
| 1028 | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false) | |
| 1029 | PRT.Color = C3(255/255, 0/255, 255/255) | |
| 1030 | MakeForm(PRT,"Ball") | |
| 1031 | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
| |
| 1032 | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,1.2,0.2),false) | |
| 1033 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
| |
| 1034 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.8,0.2),false) | |
| 1035 | MakeForm(Part,"Wedge") | |
| 1036 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
| |
| 1037 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.6),false) | |
| 1038 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1039 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.4,0.4,0.4),false) | |
| 1040 | MakeForm(Part,"Cyl") | |
| 1041 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1042 | for i = 1, 8 do | |
| 1043 | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0,0.35,0.41),false) | |
| 1044 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
| |
| 1045 | end | |
| 1046 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.5,0.2),false) | |
| 1047 | MakeForm(Part,"Wedge") | |
| 1048 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
| |
| 1049 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.39,0.41,0.39),false) | |
| 1050 | MakeForm(Part,"Cyl") | |
| 1051 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1052 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.5),false) | |
| 1053 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1054 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.4,0.5),false) | |
| 1055 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1056 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0,0.6),false) | |
| 1057 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
| |
| 1058 | local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.28,5,0.28),false) | |
| 1059 | MakeForm(RightBarrel,"Cyl") | |
| 1060 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
| |
| 1061 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0,0.2,0.2),false) | |
| 1062 | MakeForm(Part,"Wedge") | |
| 1063 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1064 | local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.2,0,0.2),false) | |
| 1065 | MakeForm(RightHole,"Cyl") | |
| 1066 | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
| |
| 1067 | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,1.2,0.2),false) | |
| 1068 | local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
| |
| 1069 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.8,0.2),false) | |
| 1070 | MakeForm(Part,"Wedge") | |
| 1071 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
| |
| 1072 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.6),false) | |
| 1073 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1074 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.4,0.4,0.4),false) | |
| 1075 | MakeForm(Part,"Cyl") | |
| 1076 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1077 | for i = 1, 8 do | |
| 1078 | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0,0.35,0.41),false) | |
| 1079 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
| |
| 1080 | end | |
| 1081 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.2,0.5,0.2),false) | |
| 1082 | MakeForm(Part,"Wedge") | |
| 1083 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
| |
| 1084 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Eye", VT(0.39,0.41,0.39),false) | |
| 1085 | MakeForm(Part,"Cyl") | |
| 1086 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1087 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.5,0.5),false) | |
| 1088 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1089 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.3,0.4,0.5),false) | |
| 1090 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1091 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0.2,0,0.6),false) | |
| 1092 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
| |
| 1093 | local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Really blue", "Part", VT(0.28,5,0.28),false) | |
| 1094 | MakeForm(LeftBarrel,"Cyl") | |
| 1095 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
| |
| 1096 | local Part = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Part", VT(0,0.2,0.2),false) | |
| 1097 | MakeForm(Part,"Wedge") | |
| 1098 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1099 | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false) | |
| 1100 | MakeForm(LeftHole,"Cyl") | |
| 1101 | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
| |
| 1102 | local A = IT("Attachment",Torso)
| |
| 1103 | A.Position = VT(1,1.3,0) | |
| 1104 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
| 1105 | local B = IT("Attachment",Torso)
| |
| 1106 | B.Position = VT(-1.3,-0.6,0) | |
| 1107 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
| 1108 | local ChainLink = IT("Beam",Torso)
| |
| 1109 | ChainLink.Texture = "rbxassetid://1221290319" | |
| 1110 | ChainLink.Color = ColorSequence.new(C3(58,0,58)) | |
| 1111 | ChainLink.TextureSpeed = 1 | |
| 1112 | ChainLink.FaceCamera = true | |
| 1113 | ChainLink.Width0 = 1 | |
| 1114 | ChainLink.Width1 = 1 | |
| 1115 | ChainLink.TextureLength = 3 | |
| 1116 | ChainLink.Attachment0 = A | |
| 1117 | ChainLink.Attachment1 = B | |
| 1118 | ChainLink.CurveSize0 = 1.6 | |
| 1119 | ChainLink.CurveSize1 = 1.6 | |
| 1120 | ChainLink.FaceCamera = true | |
| 1121 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1122 | local ChainLink = IT("Beam",Torso)
| |
| 1123 | ChainLink.Texture = "rbxassetid://1221290319" | |
| 1124 | ChainLink.Color = ColorSequence.new(C3(58,0,58)) | |
| 1125 | ChainLink.TextureSpeed = 1 | |
| 1126 | ChainLink.FaceCamera = true | |
| 1127 | ChainLink.Width0 = 1 | |
| 1128 | ChainLink.Width1 = 1 | |
| 1129 | ChainLink.TextureLength = 3 | |
| 1130 | ChainLink.Attachment0 = B | |
| 1131 | ChainLink.Attachment1 = A | |
| 1132 | ChainLink.CurveSize0 = 1.6 | |
| 1133 | ChainLink.CurveSize1 = 1.6 | |
| 1134 | ChainLink.FaceCamera = true | |
| 1135 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1136 | local A = IT("Attachment",Torso)
| |
| 1137 | A.Position = VT(1.3,-0.85,0) | |
| 1138 | A.Orientation = VT(-0.098, -89.999, 0.227) | |
| 1139 | local B = IT("Attachment",Torso)
| |
| 1140 | B.Position = VT(-1,2,0) | |
| 1141 | B.Orientation = VT(-88.911, -68.808, 158.782) | |
| 1142 | local ChainLink = IT("Beam",Torso)
| |
| 1143 | ChainLink.Texture = "rbxassetid://1221290319" | |
| 1144 | ChainLink.Color = ColorSequence.new(C3(58,0,58)) | |
| 1145 | ChainLink.TextureSpeed = 1 | |
| 1146 | ChainLink.FaceCamera = true | |
| 1147 | ChainLink.Width0 = 1 | |
| 1148 | ChainLink.Width1 = 1 | |
| 1149 | ChainLink.TextureLength = 3 | |
| 1150 | ChainLink.Attachment0 = A | |
| 1151 | ChainLink.Attachment1 = B | |
| 1152 | ChainLink.CurveSize0 = 1.3 | |
| 1153 | ChainLink.CurveSize1 = 1.3 | |
| 1154 | ChainLink.FaceCamera = true | |
| 1155 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1156 | local ChainLink = IT("Beam",Torso)
| |
| 1157 | ChainLink.Texture = "rbxassetid://1221290319" | |
| 1158 | ChainLink.Color = ColorSequence.new(C3(58,0,58)) | |
| 1159 | ChainLink.TextureSpeed = 1 | |
| 1160 | ChainLink.FaceCamera = true | |
| 1161 | ChainLink.Width0 = 1 | |
| 1162 | ChainLink.Width1 = 1 | |
| 1163 | ChainLink.TextureLength = 3 | |
| 1164 | ChainLink.Attachment0 = B | |
| 1165 | ChainLink.Attachment1 = A | |
| 1166 | ChainLink.CurveSize0 = 1.3 | |
| 1167 | ChainLink.CurveSize1 = 1.3 | |
| 1168 | ChainLink.FaceCamera = true | |
| 1169 | ChainLink.Transparency = NumberSequence.new(0) | |
| 1170 | local LASTPART = Head | |
| 1171 | for i = 1, 20 do | |
| 1172 | local MATH = (1-(i/25)) | |
| 1173 | if LASTPART == Head then | |
| 1174 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 1175 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
| |
| 1176 | LASTPART = Horn | |
| 1177 | Horn.Color = C3(1,0,1) | |
| 1178 | else | |
| 1179 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 1180 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
| |
| 1181 | LASTPART = Horn | |
| 1182 | Horn.Color = C3(1,0,1) | |
| 1183 | end | |
| 1184 | end | |
| 1185 | local LASTPART = Head | |
| 1186 | for i = 1, 20 do | |
| 1187 | local MATH = (1-(i/25)) | |
| 1188 | if LASTPART == Head then | |
| 1189 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 1190 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
| |
| 1191 | LASTPART = Horn | |
| 1192 | Horn.Color = C3(1,0,1) | |
| 1193 | else | |
| 1194 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 1195 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
| |
| 1196 | LASTPART = Horn | |
| 1197 | Horn.Color = C3(1,0,1) | |
| 1198 | end | |
| 1199 | end | |
| 1200 | ||
| 1201 | local LASTPART = Head | |
| 1202 | for i = 1, 24 do | |
| 1203 | local MATH = (1-(i/30)) | |
| 1204 | if LASTPART == Head then | |
| 1205 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1206 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
| |
| 1207 | LASTPART = Horn | |
| 1208 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1209 | local Aura = Instance.new('ParticleEmitter')
| |
| 1210 | Aura.Name = "Aura" | |
| 1211 | Aura.Texture = "rbxassetid://421719324" | |
| 1212 | Aura.Parent = Horn | |
| 1213 | Aura.LightEmission = 0.8 | |
| 1214 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1215 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1216 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1217 | Aura.LockedToPart = true | |
| 1218 | Aura.Lifetime = NumberRange.new(2) | |
| 1219 | Aura.Rate = 25 | |
| 1220 | Aura.Speed = NumberRange.new(0.1) | |
| 1221 | Aura.EmissionDirection = "Top" | |
| 1222 | else | |
| 1223 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1224 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 1225 | LASTPART = Horn | |
| 1226 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1227 | local Aura = Instance.new('ParticleEmitter')
| |
| 1228 | Aura.Name = "Aura" | |
| 1229 | Aura.Texture = "rbxassetid://421719324" | |
| 1230 | Aura.Parent = Horn | |
| 1231 | Aura.LightEmission = 0.8 | |
| 1232 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1233 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1234 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1235 | Aura.LockedToPart = true | |
| 1236 | Aura.Lifetime = NumberRange.new(2) | |
| 1237 | Aura.Rate = 25 | |
| 1238 | Aura.Speed = NumberRange.new(0.1) | |
| 1239 | Aura.EmissionDirection = "Top" | |
| 1240 | end | |
| 1241 | end | |
| 1242 | local LASTPART = Head | |
| 1243 | for i = 1, 24 do | |
| 1244 | local MATH = (1-(i/30)) | |
| 1245 | if LASTPART == Head then | |
| 1246 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1247 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
| |
| 1248 | LASTPART = Horn | |
| 1249 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1250 | local Aura = Instance.new('ParticleEmitter')
| |
| 1251 | Aura.Name = "Aura" | |
| 1252 | Aura.Texture = "rbxassetid://421719324" | |
| 1253 | Aura.Parent = Horn | |
| 1254 | Aura.LightEmission = 0.8 | |
| 1255 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1256 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1257 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1258 | Aura.LockedToPart = true | |
| 1259 | Aura.Lifetime = NumberRange.new(2) | |
| 1260 | Aura.Rate = 25 | |
| 1261 | Aura.Speed = NumberRange.new(0.1) | |
| 1262 | Aura.EmissionDirection = "Top" | |
| 1263 | else | |
| 1264 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1265 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 1266 | LASTPART = Horn | |
| 1267 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1268 | local Aura = Instance.new('ParticleEmitter')
| |
| 1269 | Aura.Name = "Aura" | |
| 1270 | Aura.Texture = "rbxassetid://421719324" | |
| 1271 | Aura.Parent = Horn | |
| 1272 | Aura.LightEmission = 0.8 | |
| 1273 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1274 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1275 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1276 | Aura.LockedToPart = true | |
| 1277 | Aura.Lifetime = NumberRange.new(2) | |
| 1278 | Aura.Rate = 25 | |
| 1279 | Aura.Speed = NumberRange.new(0.1) | |
| 1280 | Aura.EmissionDirection = "Top" | |
| 1281 | end | |
| 1282 | end | |
| 1283 | local LASTPART = Head | |
| 1284 | for i = 1, 8 do | |
| 1285 | local MATH = (1-(i/14)) | |
| 1286 | if LASTPART == Head then | |
| 1287 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1288 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
| |
| 1289 | LASTPART = Horn | |
| 1290 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1291 | local Aura = Instance.new('ParticleEmitter')
| |
| 1292 | Aura.Name = "Aura" | |
| 1293 | Aura.Texture = "rbxassetid://421719324" | |
| 1294 | Aura.Parent = Horn | |
| 1295 | Aura.LightEmission = 0.8 | |
| 1296 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1297 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1298 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1299 | Aura.LockedToPart = true | |
| 1300 | Aura.Lifetime = NumberRange.new(2) | |
| 1301 | Aura.Rate = 25 | |
| 1302 | Aura.Speed = NumberRange.new(0.1) | |
| 1303 | Aura.EmissionDirection = "Top" | |
| 1304 | else | |
| 1305 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1306 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 1307 | LASTPART = Horn | |
| 1308 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1309 | local Aura = Instance.new('ParticleEmitter')
| |
| 1310 | Aura.Name = "Aura" | |
| 1311 | Aura.Texture = "rbxassetid://421719324" | |
| 1312 | Aura.Parent = Horn | |
| 1313 | Aura.LightEmission = 0.8 | |
| 1314 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1315 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1316 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1317 | Aura.LockedToPart = true | |
| 1318 | Aura.Lifetime = NumberRange.new(2) | |
| 1319 | Aura.Rate = 25 | |
| 1320 | Aura.Speed = NumberRange.new(0.1) | |
| 1321 | Aura.EmissionDirection = "Top" | |
| 1322 | end | |
| 1323 | end | |
| 1324 | local LASTPART = Head | |
| 1325 | for i = 1, 8 do | |
| 1326 | local MATH = (1-(i/14)) | |
| 1327 | if LASTPART == Head then | |
| 1328 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1329 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
| |
| 1330 | LASTPART = Horn | |
| 1331 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1332 | local Aura = Instance.new('ParticleEmitter')
| |
| 1333 | Aura.Name = "Aura" | |
| 1334 | Aura.Texture = "rbxassetid://421719324" | |
| 1335 | Aura.Parent = Horn | |
| 1336 | Aura.LightEmission = 0.8 | |
| 1337 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1338 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1339 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1340 | Aura.LockedToPart = true | |
| 1341 | Aura.Lifetime = NumberRange.new(2) | |
| 1342 | Aura.Rate = 25 | |
| 1343 | Aura.Speed = NumberRange.new(0.1) | |
| 1344 | Aura.EmissionDirection = "Top" | |
| 1345 | else | |
| 1346 | local Horn = CreatePart(3, Character, "Neon", 0, 0, "Royal Purple", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 1347 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 1348 | LASTPART = Horn | |
| 1349 | Horn.Color = C3(255/255,0/255,255/255) | |
| 1350 | local Aura = Instance.new('ParticleEmitter')
| |
| 1351 | Aura.Name = "Aura" | |
| 1352 | Aura.Texture = "rbxassetid://421719324" | |
| 1353 | Aura.Parent = Horn | |
| 1354 | Aura.LightEmission = 0.8 | |
| 1355 | Aura.Transparency = NumberSequence.new(0,0.6,1) | |
| 1356 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255)) | |
| 1357 | Aura.Size = NumberSequence.new(0.3,0.2,0.1) | |
| 1358 | Aura.LockedToPart = true | |
| 1359 | Aura.Lifetime = NumberRange.new(2) | |
| 1360 | Aura.Rate = 25 | |
| 1361 | Aura.Speed = NumberRange.new(0.1) | |
| 1362 | Aura.EmissionDirection = "Top" | |
| 1363 | end | |
| 1364 | end | |
| 1365 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(1.05,0.06,1.05)*SIZE,false) | |
| 1366 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 1367 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0.5,0.1,0.5)*SIZE,false) | |
| 1368 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
| |
| 1369 | MakeForm(PRT,"Cyl") | |
| 1370 | local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Really Black", "Watch", VT(0.45,0.11,0.45)*SIZE,false) | |
| 1371 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
| |
| 1372 | MakeForm(PRT,"Cyl") | |
| 1373 | PRT.Color = C3(255/255, 0/255, 255/255) | |
| 1374 | local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0.055,0.15,0.055)*SIZE,false) | |
| 1375 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
| |
| 1376 | MakeForm(RING,"Cyl") | |
| 1377 | RING.Color = C3(0,0,0) | |
| 1378 | for i = 1, 12 do | |
| 1379 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0,0.15,0)*SIZE,false) | |
| 1380 | PRT.Color = C3(0,0,0) | |
| 1381 | local MSH = IT("BlockMesh",PRT)
| |
| 1382 | MSH.Scale = VT(0.6,1,1) | |
| 1383 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
| |
| 1384 | end | |
| 1385 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0,0.15,0.15)*SIZE,false) | |
| 1386 | PRT.Color = C3(0,0,0) | |
| 1387 | local MSH = IT("BlockMesh",PRT)
| |
| 1388 | MSH.Scale = VT(0.4,1,1) | |
| 1389 | local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
| |
| 1390 | local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false) | |
| 1391 | PRT.Color = C3(0,0,0) | |
| 1392 | local MSH = IT("BlockMesh",PRT)
| |
| 1393 | MSH.Scale = VT(0.4,1,1) | |
| 1394 | local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
| |
| 1395 | coroutine.resume(coroutine.create(function() | |
| 1396 | while true do | |
| 1397 | Swait() | |
| 1398 | CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED | |
| 1399 | WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed) | |
| 1400 | WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed) | |
| 1401 | if CLOCKLOOP <= -150 then | |
| 1402 | if VALUE1 == false then | |
| 1403 | CLOCKLOOP = 0 | |
| 1404 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
| |
| 1405 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 1406 | ApplyAoE(HITPOS,10,15,45,75,true) | |
| 1407 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
| |
| 1408 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 0, 255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
| |
| 1409 | if CLOCKTARGET ~= nil then | |
| 1410 | CLOCKTARGET.Health = CLOCKTARGET.Health - 20 | |
| 1411 | if CLOCKTARGET.Torso ~= nil then | |
| 1412 | CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))) | |
| 1413 | end | |
| 1414 | if CLOCKTARGET.Health == 0 then | |
| 1415 | CLOCKTARGET = nil | |
| 1416 | end | |
| 1417 | end | |
| 1418 | end | |
| 1419 | end | |
| 1420 | end | |
| 1421 | end)) | |
| 1422 | Neck.Name = "Weld" | |
| 1423 | RootJoint.Name = "Weld" | |
| 1424 | RightShoulder.Name = "Weld" | |
| 1425 | LeftShoulder.Name = "Weld" | |
| 1426 | RightHip.Name = "Weld" | |
| 1427 | LeftHip.Name = "Weld" | |
| 1428 | ||
| 1429 | local BODY = {}
| |
| 1430 | for _, c in pairs(Character:GetDescendants()) do | |
| 1431 | if c:IsA("BasePart") and c.Name ~= "Handle" then
| |
| 1432 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
| 1433 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 1434 | end | |
| 1435 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
| |
| 1436 | elseif c:IsA("JointInstance") then
| |
| 1437 | table.insert(BODY,{c,c.Parent,nil,nil,nil})
| |
| 1438 | end | |
| 1439 | end | |
| 1440 | for e = 1, #BODY do | |
| 1441 | if BODY[e] ~= nil then | |
| 1442 | local STUFF = BODY[e] | |
| 1443 | local PART = STUFF[1] | |
| 1444 | local PARENT = STUFF[2] | |
| 1445 | local MATERIAL = STUFF[3] | |
| 1446 | local COLOR = STUFF[4] | |
| 1447 | local TRANSPARENCY = STUFF[5] | |
| 1448 | if PART.ClassName == "Part" and PART ~= RootPart then | |
| 1449 | PART.Material = MATERIAL | |
| 1450 | PART.Color = COLOR | |
| 1451 | PART.Transparency = TRANSPARENCY | |
| 1452 | end | |
| 1453 | PART.AncestryChanged:Connect(function() | |
| 1454 | PART.Parent = PARENT | |
| 1455 | end) | |
| 1456 | end | |
| 1457 | end | |
| 1458 | ||
| 1459 | function refit() | |
| 1460 | Character.Parent = workspace | |
| 1461 | for e = 1, #BODY do | |
| 1462 | if BODY[e] ~= nil then | |
| 1463 | local STUFF = BODY[e] | |
| 1464 | local PART = STUFF[1] | |
| 1465 | local PARENT = STUFF[2] | |
| 1466 | local MATERIAL = STUFF[3] | |
| 1467 | local COLOR = STUFF[4] | |
| 1468 | local TRANSPARENCY = STUFF[5] | |
| 1469 | if PART.ClassName == "Part" and PART ~= RootPart then | |
| 1470 | PART.Material = MATERIAL | |
| 1471 | PART.Color = COLOR | |
| 1472 | PART.Transparency = TRANSPARENCY | |
| 1473 | end | |
| 1474 | if PART.Parent ~= PARENT then | |
| 1475 | Humanoid:remove() | |
| 1476 | PART.Parent = PARENT | |
| 1477 | Humanoid = IT("Humanoid",Character)
| |
| 1478 | end | |
| 1479 | end | |
| 1480 | end | |
| 1481 | end | |
| 1482 | local SKILLTEXTCOLOR = C3(255/255, 0/255, 255/255) | |
| 1483 | local SKILLFONT = "Code" | |
| 1484 | local SKILLTEXTSIZE = 7 | |
| 1485 | ||
| 1486 | Weapon.Parent = Character | |
| 1487 | Humanoid.Parent = Character | |
| 1488 | ||
| 1489 | Humanoid.Died:connect(function() | |
| 1490 | refit() | |
| 1491 | end) | |
| 1492 | warn("IgnorantRojo Here, Im gonna say that this script, Is finally finished... I removed some moves because they were broken. Thanks to lstroud07 for trying to help me. And SakuraTheSylveonYT For being a good friend.")
| |
| 1493 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 1494 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 1495 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 1496 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 1497 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 1498 | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") | |
| 1499 | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") | |
| 1500 | local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame") | |
| 1501 | ||
| 1502 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "(P) Smash", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1") | |
| 1503 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Dance [V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2") | |
| 1504 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Void Potion [L] Banish [H] Burning Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
| 1505 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[R] HOI", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
| 1506 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5") | |
| 1507 | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Y] Time Stop [Z] Shoot", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") | |
| 1508 | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[Q] Void Beam", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") | |
| 1509 | local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[F] Void Gate", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 8") | |
| 1510 | ||
| 1511 | function onChatted(msg) | |
| 1512 | chatfunc(msg) | |
| 1513 | end | |
| 1514 | ||
| 1515 | Player.Chatted:connect(onChatted) | |
| 1516 | ||
| 1517 | chatfunc("Hello, I am the forgotten Pandora.")
| |
| 1518 | wait(0.9) | |
| 1519 | chatfunc("Everybody thought I was dead, But I was not.")
| |
| 1520 | wait(0.9) | |
| 1521 | chatfunc("And I am only here to tell you something,")
| |
| 1522 | wait(0.9) | |
| 1523 | chatfunc("You only have a few seconds left to live.")
| |
| 1524 | wait(0.9) | |
| 1525 | chatfunc("And Im the Person who will make sure of your death..")
| |
| 1526 | function printbye(Name) | |
| 1527 | local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
| |
| 1528 | warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") | |
| 1529 | end | |
| 1530 | ||
| 1531 | workspace.ChildAdded:connect(function(instance) | |
| 1532 | for BANISH = 1, #TOBANISH do | |
| 1533 | if TOBANISH[BANISH] ~= nil then | |
| 1534 | if instance.Name == TOBANISH[BANISH] then | |
| 1535 | coroutine.resume(coroutine.create(function() | |
| 1536 | printbye(instance.Name) | |
| 1537 | instance:ClearAllChildren() | |
| 1538 | Debris:AddItem(instance,0.0005) | |
| 1539 | end)) | |
| 1540 | end | |
| 1541 | end | |
| 1542 | end | |
| 1543 | end) | |
| 1544 | ||
| 1545 | for _, c in pairs(Weapon:GetDescendants()) do | |
| 1546 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
| 1547 | c.Material = "Glass" | |
| 1548 | c.Color = C3(0,0,0) | |
| 1549 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
| 1550 | c.Color = C3(0,0,0) | |
| 1551 | c.Material = "Neon" | |
| 1552 | end | |
| 1553 | end | |
| 1554 | local Back = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false) | |
| 1555 | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
| |
| 1556 | ||
| 1557 | local ANGLE = 35 | |
| 1558 | for i = 1, 5 do | |
| 1559 | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false) | |
| 1560 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
| |
| 1561 | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false) | |
| 1562 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
| |
| 1563 | ANGLE = ANGLE - 15 | |
| 1564 | table.insert(LEFTWINGS,WingWeld) | |
| 1565 | end | |
| 1566 | ANGLE = 35 | |
| 1567 | for i = 1, 5 do | |
| 1568 | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.15,2+(i/2),0.15),false) | |
| 1569 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
| |
| 1570 | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(0.25,1,0.25),false) | |
| 1571 | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
| |
| 1572 | ANGLE = ANGLE - 15 | |
| 1573 | table.insert(RIGHTWINGS,WingWeld) | |
| 1574 | end | |
| 1575 | --//=================================\\ | |
| 1576 | --|| DAMAGING | |
| 1577 | --\\=================================// | |
| 1578 | ||
| 1579 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
| 1580 | if FLOOR ~= nil then | |
| 1581 | coroutine.resume(coroutine.create(function() | |
| 1582 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) | |
| 1583 | PART.CFrame = CF(POSITION) | |
| 1584 | for i = 1, 45 do | |
| 1585 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
| 1586 | RingPiece.Material = FLOOR.Material | |
| 1587 | RingPiece.Color = FLOOR.Color | |
| 1588 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
| 1589 | Debris:AddItem(RingPiece,SWAIT) | |
| 1590 | end | |
| 1591 | PART:remove() | |
| 1592 | end)) | |
| 1593 | end | |
| 1594 | end | |
| 1595 | ||
| 1596 | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) | |
| 1597 | if FLOOR ~= nil then | |
| 1598 | for i = 1, AMOUNT do | |
| 1599 | local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false) | |
| 1600 | DEBREE.Material = FLOOR.Material | |
| 1601 | DEBREE.Color = FLOOR.Color | |
| 1602 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
| 1603 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH)) | |
| 1604 | coroutine.resume(coroutine.create(function() | |
| 1605 | Swait(15) | |
| 1606 | DEBREE.Parent = workspace | |
| 1607 | DEBREE.CanCollide = true | |
| 1608 | Debris:AddItem(DEBREE,SWAIT) | |
| 1609 | end)) | |
| 1610 | end | |
| 1611 | end | |
| 1612 | end | |
| 1613 | function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS) | |
| 1614 | coroutine.resume(coroutine.create(function() | |
| 1615 | local METEOR = IT("Model",Effects)
| |
| 1616 | METEOR.Name = "Meteorite" | |
| 1617 | local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) | |
| 1618 | METEOR.PrimaryPart = CENTER | |
| 1619 | local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE) | |
| 1620 | PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 1621 | for i = 1, 15 do | |
| 1622 | local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really black", "Fire", VT(5.1,1,5.1)*SIZE) | |
| 1623 | FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 1624 | end | |
| 1625 | if ISDEBREE ~= true then | |
| 1626 | METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) | |
| 1627 | else | |
| 1628 | METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) | |
| 1629 | end | |
| 1630 | local IMPACT = false | |
| 1631 | CreateSound(463593339, CENTER, 10, 0.6) | |
| 1632 | if SIZE >= 3.5 then | |
| 1633 | for i = 1, MRANDOM(3,7) do | |
| 1634 | SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p) | |
| 1635 | end | |
| 1636 | end | |
| 1637 | for i = 1, 200 do | |
| 1638 | Swait() | |
| 1639 | local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character) | |
| 1640 | if HITFLOOR == nil then | |
| 1641 | local ORI = CENTER.Orientation | |
| 1642 | METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))) | |
| 1643 | else | |
| 1644 | if HITFLOOR.Anchored == true then | |
| 1645 | CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5) | |
| 1646 | CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175) | |
| 1647 | end | |
| 1648 | IMPACT = true | |
| 1649 | break | |
| 1650 | end | |
| 1651 | end | |
| 1652 | if IMPACT == true then | |
| 1653 | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
| |
| 1654 | WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
| |
| 1655 | WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
| |
| 1656 | ApplyAoE(CENTER.Position,30*SIZE) | |
| 1657 | ||
| 1658 | end | |
| 1659 | METEOR:remove() | |
| 1660 | end)) | |
| 1661 | end | |
| 1662 | function ApplyDamage(Humanoid,Damage,TorsoPart) | |
| 1663 | local defence = Instance.new("BoolValue",Humanoid.Parent)
| |
| 1664 | defence.Name = ("HitBy"..Player.Name)
| |
| 1665 | game:GetService("Debris"):AddItem(defence, 0.001)
| |
| 1666 | Damage = Damage * DAMAGEMULTIPLIER | |
| 1667 | if Humanoid.Health ~= 0 then | |
| 1668 | local CritChance = MRANDOM(1,100) | |
| 1669 | if Damage > Humanoid.Health then | |
| 1670 | Damage = math.ceil(Humanoid.Health) | |
| 1671 | if Damage == 0 then | |
| 1672 | Damage = 0.1 | |
| 1673 | end | |
| 1674 | end | |
| 1675 | Humanoid.Health = Humanoid.Health - Damage | |
| 1676 | end | |
| 1677 | end | |
| 1678 | function getbloody(victim,amount) | |
| 1679 | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
| 1680 | PART.CFrame = victim.CFrame | |
| 1681 | local HITPLAYERSOUNDS = {"356551938","264486467"}
| |
| 1682 | Debris:AddItem(PART,5) | |
| 1683 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
| 1684 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
| 1685 | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
| 1686 | local prtcl = asd:Clone() | |
| 1687 | prtcl.Parent = PART | |
| 1688 | prtcl:Emit(amount*10) | |
| 1689 | end | |
| 1690 | ||
| 1691 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
| 1692 | local CHILDREN = workspace:GetDescendants() | |
| 1693 | for index, CHILD in pairs(CHILDREN) do | |
| 1694 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1695 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1696 | if HUM then | |
| 1697 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1698 | if TORSO then | |
| 1699 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1700 | if INSTAKILL == false then | |
| 1701 | CHILD:BreakJoints() | |
| 1702 | else | |
| 1703 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
| 1704 | ApplyDamage(HUM,DMG,TORSO) | |
| 1705 | end | |
| 1706 | if FLING > 0 then | |
| 1707 | for _, c in pairs(CHILD:GetChildren()) do | |
| 1708 | if c:IsA("BasePart") then
| |
| 1709 | local bv = Instance.new("BodyVelocity")
| |
| 1710 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1711 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
| 1712 | bv.Parent = c | |
| 1713 | Debris:AddItem(bv,0.05) | |
| 1714 | end | |
| 1715 | end | |
| 1716 | end | |
| 1717 | end | |
| 1718 | end | |
| 1719 | end | |
| 1720 | end | |
| 1721 | end | |
| 1722 | end | |
| 1723 | ||
| 1724 | ||
| 1725 | ||
| 1726 | function KillChildren(Char) | |
| 1727 | local NewCharacter = IT("Model",Effects)
| |
| 1728 | NewCharacter.Name = "Ow im ded ;-;" | |
| 1729 | for _, c in pairs(Char:GetDescendants()) do | |
| 1730 | if c:IsA("BasePart") and c.Transparency == 0 then
| |
| 1731 | if c.Parent == Char then | |
| 1732 | getbloody(c,5) | |
| 1733 | end | |
| 1734 | c:BreakJoints() | |
| 1735 | c.Material = "Glass" | |
| 1736 | c.Color = C3(0.5,0,0) | |
| 1737 | c.CanCollide = true | |
| 1738 | c.Transparency = 0.3 | |
| 1739 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 1740 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 1741 | end | |
| 1742 | if c.Name == "Head" then | |
| 1743 | c:ClearAllChildren() | |
| 1744 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
| 1745 | end | |
| 1746 | if c.ClassName == "MeshPart" then | |
| 1747 | c.TextureID = "" | |
| 1748 | end | |
| 1749 | if c:FindFirstChildOfClass("BodyPosition") then
| |
| 1750 | c:FindFirstChildOfClass("BodyPosition"):remove()
| |
| 1751 | end | |
| 1752 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1753 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1754 | end | |
| 1755 | c.Parent = NewCharacter | |
| 1756 | c.Name = "DeadPart" | |
| 1757 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
| 1758 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
| 1759 | end | |
| 1760 | end | |
| 1761 | Char:remove() | |
| 1762 | Debris:AddItem(NewCharacter,5) | |
| 1763 | end | |
| 1764 | ||
| 1765 | function Kill(Char) | |
| 1766 | local NewCharacter = IT("Model",Effects)
| |
| 1767 | NewCharacter.Name = "Ow im ded ;-;" | |
| 1768 | for _, c in pairs(Char:GetDescendants()) do | |
| 1769 | if c:IsA("BasePart") and c.Transparency == 0 then
| |
| 1770 | if c.Parent == Char then | |
| 1771 | getbloody(c,5) | |
| 1772 | end | |
| 1773 | c:BreakJoints() | |
| 1774 | c.Material = "Glass" | |
| 1775 | c.Color = C3(0.5,0,0) | |
| 1776 | c.CanCollide = true | |
| 1777 | c.Transparency = 0.3 | |
| 1778 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 1779 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 1780 | end | |
| 1781 | if c.Name == "Head" then | |
| 1782 | c:ClearAllChildren() | |
| 1783 | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
| 1784 | end | |
| 1785 | if c.ClassName == "MeshPart" then | |
| 1786 | c.TextureID = "" | |
| 1787 | end | |
| 1788 | if c:FindFirstChildOfClass("BodyPosition") then
| |
| 1789 | c:FindFirstChildOfClass("BodyPosition"):remove()
| |
| 1790 | end | |
| 1791 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1792 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1793 | end | |
| 1794 | c.Parent = NewCharacter | |
| 1795 | c.Name = "DeadPart" | |
| 1796 | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
| 1797 | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
| 1798 | end | |
| 1799 | end | |
| 1800 | Char:remove() | |
| 1801 | Debris:AddItem(NewCharacter,5) | |
| 1802 | end | |
| 1803 | function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
| 1804 | if FLOOR ~= nil then | |
| 1805 | coroutine.resume(coroutine.create(function() | |
| 1806 | local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) | |
| 1807 | PART.CFrame = CF(POSITION) | |
| 1808 | for i = 1, 45 do | |
| 1809 | local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
| 1810 | RingPiece.Material = FLOOR.Material | |
| 1811 | RingPiece.Color = FLOOR.Color | |
| 1812 | RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
| 1813 | Debris:AddItem(RingPiece,SWAIT) | |
| 1814 | end | |
| 1815 | PART:remove() | |
| 1816 | end)) | |
| 1817 | end | |
| 1818 | end | |
| 1819 | ||
| 1820 | function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) | |
| 1821 | if FLOOR ~= nil then | |
| 1822 | for i = 1, AMOUNT do | |
| 1823 | local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false) | |
| 1824 | DEBREE.Material = FLOOR.Material | |
| 1825 | DEBREE.Color = FLOOR.Color | |
| 1826 | DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
| 1827 | DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH)) | |
| 1828 | coroutine.resume(coroutine.create(function() | |
| 1829 | Swait(15) | |
| 1830 | DEBREE.Parent = workspace | |
| 1831 | DEBREE.CanCollide = true | |
| 1832 | Debris:AddItem(DEBREE,SWAIT) | |
| 1833 | end)) | |
| 1834 | end | |
| 1835 | end | |
| 1836 | end | |
| 1837 | function Charge(TIME,GYRO) | |
| 1838 | local SND = CreateSound(ENERGYSOUND,Torso,6,TIME,false) | |
| 1839 | local G = nil | |
| 1840 | if GYRO == true then | |
| 1841 | G = IT("BodyGyro",RootPart)
| |
| 1842 | G.D = 250 | |
| 1843 | G.P = 200000 | |
| 1844 | G.MaxTorque = VT(math.huge,math.huge,math.huge) | |
| 1845 | end | |
| 1846 | for i=0, TIME, 0.1 / Animation_Speed do | |
| 1847 | Swait() | |
| 1848 | if G then | |
| 1849 | G.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 1850 | end | |
| 1851 | WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.2,1.2,1.2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = BasePart.CFrame, MoveToPos = BasePart.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-4).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1852 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1853 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1854 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 1855 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 1856 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1857 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1858 | end | |
| 1859 | SND:remove() | |
| 1860 | if G then | |
| 1861 | return G | |
| 1862 | end | |
| 1863 | end | |
| 1864 | function ApplyAoE(POSITION,RANGE,BRUTAL) | |
| 1865 | local CHILDREN = workspace:GetDescendants() | |
| 1866 | for index, CHILD in pairs(CHILDREN) do | |
| 1867 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1868 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1869 | if HUM then | |
| 1870 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1871 | if TORSO then | |
| 1872 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1873 | if BRUTAL == true then | |
| 1874 | Kill(CHILD) | |
| 1875 | else | |
| 1876 | CHILD:BreakJoints() | |
| 1877 | end | |
| 1878 | end | |
| 1879 | end | |
| 1880 | end | |
| 1881 | end | |
| 1882 | end | |
| 1883 | end | |
| 1884 | function BulletDetection(FROM,TO,BRUTAL) | |
| 1885 | local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character) | |
| 1886 | coroutine.resume(coroutine.create(function() | |
| 1887 | if AIMHIT ~= nil then | |
| 1888 | if AIMHIT.Parent ~= Character then | |
| 1889 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1890 | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1891 | if BRUTAL == true then | |
| 1892 | Kill(AIMHIT.Parent) | |
| 1893 | else | |
| 1894 | getbloody(AIMHIT,15) | |
| 1895 | AIMHIT.Parent:BreakJoints() | |
| 1896 | if AIMHIT.Name == "Head" then | |
| 1897 | AIMHIT.Name = "HEADSHOT" | |
| 1898 | AIMHIT:remove() | |
| 1899 | end | |
| 1900 | end | |
| 1901 | else | |
| 1902 | if BRUTAL == true then | |
| 1903 | Kill(AIMHIT.Parent.Parent) | |
| 1904 | else | |
| 1905 | AIMHIT.Parent.Parent:BreakJoints() | |
| 1906 | end | |
| 1907 | end | |
| 1908 | end | |
| 1909 | end | |
| 1910 | end | |
| 1911 | end)) | |
| 1912 | SpawnTrail(FROM,AIMPOS) | |
| 1913 | return AIMHIT,AIMPOS,NORMAL | |
| 1914 | end | |
| 1915 | function Banish(Foe) | |
| 1916 | if Foe then | |
| 1917 | coroutine.resume(coroutine.create(function() | |
| 1918 | --if game.Players:FindFirstChild(Foe.Name) then | |
| 1919 | table.insert(TOBANISH,Foe.Name) | |
| 1920 | printbye(Foe.Name) | |
| 1921 | --end | |
| 1922 | Foe.Archivable = true | |
| 1923 | local CLONE = Foe:Clone() | |
| 1924 | Foe:Destroy() | |
| 1925 | CLONE.Parent = Effects | |
| 1926 | CLONE:BreakJoints() | |
| 1927 | local MATERIALS = {"Glass","Neon"}
| |
| 1928 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 1929 | if c:IsA("BasePart") then
| |
| 1930 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
| 1931 | CreateSound(340722848, c, 10, 1, false) | |
| 1932 | end | |
| 1933 | c.Anchored = true | |
| 1934 | c.Transparency = c.Transparency + 0.2 | |
| 1935 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 1936 | c.Color = C3(0,255,0) | |
| 1937 | if c.ClassName == "MeshPart" then | |
| 1938 | c.TextureID = "" | |
| 1939 | end | |
| 1940 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 1941 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 1942 | end | |
| 1943 | if c:FindFirstChildOfClass("Decal") then
| |
| 1944 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 1945 | end | |
| 1946 | c.Name = "Banished" | |
| 1947 | c.CanCollide = false | |
| 1948 | else | |
| 1949 | c:remove() | |
| 1950 | end | |
| 1951 | end | |
| 1952 | local A = false | |
| 1953 | for i = 1, 35 do | |
| 1954 | if A == false then | |
| 1955 | A = true | |
| 1956 | elseif A == true then | |
| 1957 | A = false | |
| 1958 | end | |
| 1959 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 1960 | if c:IsA("BasePart") then
| |
| 1961 | c.Anchored = true | |
| 1962 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 1963 | c.Transparency = c.Transparency + 0.8/35 | |
| 1964 | if A == false then | |
| 1965 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 1966 | elseif A == true then | |
| 1967 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 1968 | end | |
| 1969 | end | |
| 1970 | end | |
| 1971 | Swait() | |
| 1972 | end | |
| 1973 | CLONE:remove() | |
| 1974 | end)) | |
| 1975 | end | |
| 1976 | end | |
| 1977 | ||
| 1978 | function ApplyAoE(POSITION,RANGE,ISBANISH) | |
| 1979 | local CHILDREN = workspace:GetDescendants() | |
| 1980 | for index, CHILD in pairs(CHILDREN) do | |
| 1981 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1982 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1983 | if HUM then | |
| 1984 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1985 | if TORSO then | |
| 1986 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1987 | if ISBANISH == true then | |
| 1988 | Banish(CHILD) | |
| 1989 | else | |
| 1990 | if ISBANISH == "Gravity" then | |
| 1991 | HUM.PlatformStand = true | |
| 1992 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 1993 | local grav = Instance.new("BodyPosition",TORSO)
| |
| 1994 | grav.D = 15 | |
| 1995 | grav.P = 20000 | |
| 1996 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1997 | grav.position = TORSO.Position | |
| 1998 | grav.Name = "V3BanishForce"..Player.Name | |
| 1999 | else | |
| 2000 | TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
| |
| 2001 | TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) | |
| 2002 | end | |
| 2003 | else | |
| 2004 | HUM.PlatformStand = false | |
| 2005 | end | |
| 2006 | end | |
| 2007 | elseif ISBANISH == "Gravity" then | |
| 2008 | if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
| |
| 2009 | TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
| |
| 2010 | HUM.PlatformStand = false | |
| 2011 | end | |
| 2012 | end | |
| 2013 | end | |
| 2014 | end | |
| 2015 | end | |
| 2016 | end | |
| 2017 | end | |
| 2018 | ||
| 2019 | function KillChildren(v) | |
| 2020 | v:BreakJoints() | |
| 2021 | for _, c in pairs(v:GetChildren()) do | |
| 2022 | if c:IsA("BasePart") then
| |
| 2023 | if c.Transparency < 1 then | |
| 2024 | if c:FindFirstChildOfClass("Decal") then
| |
| 2025 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 2026 | end | |
| 2027 | particles(c) | |
| 2028 | c.PE.Enabled = true | |
| 2029 | c.Parent = Effects | |
| 2030 | c.CanCollide = false | |
| 2031 | c.Material = "Neon" | |
| 2032 | c.Color = C3(1,0,0) | |
| 2033 | c.Transparency = 1 | |
| 2034 | local grav = Instance.new("BodyPosition",c)
| |
| 2035 | grav.P = 20000 | |
| 2036 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2037 | grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)) | |
| 2038 | grav.Name = "GravityForce" | |
| 2039 | coroutine.resume(coroutine.create(function() | |
| 2040 | for i = 1, 20 do | |
| 2041 | Swait() | |
| 2042 | c.Transparency = c.Transparency + 1/20 | |
| 2043 | end | |
| 2044 | c.PE.Enabled = false | |
| 2045 | Debris:AddItem(c,2) | |
| 2046 | end)) | |
| 2047 | end | |
| 2048 | end | |
| 2049 | end | |
| 2050 | end | |
| 2051 | function StatLabel(CFRAME, TEXT, COLOR) | |
| 2052 | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
| 2053 | STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5))) | |
| 2054 | local BODYGYRO = IT("BodyGyro", STATPART)
| |
| 2055 | game:GetService("Debris"):AddItem(STATPART ,5)
| |
| 2056 | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
| |
| 2057 | BILLBOARDGUI.Adornee = STATPART | |
| 2058 | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) | |
| 2059 | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
| 2060 | BILLBOARDGUI.AlwaysOnTop = false | |
| 2061 | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
| |
| 2062 | TEXTLABEL.BackgroundTransparency = 1 | |
| 2063 | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
| 2064 | TEXTLABEL.Text = TEXT | |
| 2065 | TEXTLABEL.Font = SKILLFONT | |
| 2066 | TEXTLABEL.FontSize="Size42" | |
| 2067 | TEXTLABEL.TextColor3 = COLOR | |
| 2068 | TEXTLABEL.TextStrokeTransparency = 0 | |
| 2069 | TEXTLABEL.TextScaled = true | |
| 2070 | TEXTLABEL.TextWrapped = true | |
| 2071 | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
| 2072 | for i = 1, 50 do | |
| 2073 | Swait() | |
| 2074 | STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) | |
| 2075 | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50) | |
| 2076 | TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency | |
| 2077 | end | |
| 2078 | THEPART.Parent = nil | |
| 2079 | end),STATPART, TEXTLABEL) | |
| 2080 | end | |
| 2081 | function killnearest(position,range,EFFECT) | |
| 2082 | for i,v in ipairs(workspace:GetChildren()) do | |
| 2083 | local body = v:GetChildren() | |
| 2084 | for part = 1, #body do | |
| 2085 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
| 2086 | local SIZE = body[part].Size.Magnitude | |
| 2087 | if(body[part].Position - position).Magnitude < range + SIZE/2 then | |
| 2088 | if v.ClassName == "Model" then | |
| 2089 | if v:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 2090 | if v:FindFirstChildOfClass("Humanoid").Health > 0 then
| |
| 2091 | v:BreakJoints() | |
| 2092 | if EFFECT == "Glitch" then | |
| 2093 | coroutine.resume(coroutine.create(function() | |
| 2094 | local ORIGINPOS = body[part].CFrame | |
| 2095 | local SIZE = body[part].Size | |
| 2096 | for i = 1, 100 do | |
| 2097 | Swait() | |
| 2098 | local PART = body[part] | |
| 2099 | PART.Anchored = true | |
| 2100 | PART.Size = SIZE*MRANDOM(5,15)/10 | |
| 2101 | PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15) | |
| 2102 | end | |
| 2103 | body[part]:remove() | |
| 2104 | end)) | |
| 2105 | elseif EFFECT == "Shatter" then | |
| 2106 | for _, c in pairs(v:GetChildren()) do | |
| 2107 | if c.ClassName == "Part" or c.ClassName == "MeshPart" then | |
| 2108 | Shatter(c) | |
| 2109 | end | |
| 2110 | end | |
| 2111 | end | |
| 2112 | end | |
| 2113 | end | |
| 2114 | end | |
| 2115 | end | |
| 2116 | end | |
| 2117 | end | |
| 2118 | end | |
| 2119 | end | |
| 2120 | ||
| 2121 | --//=================================\\ | |
| 2122 | --|| ATTACK FUNCTIONS AND STUFF | |
| 2123 | --\\=================================// | |
| 2124 | function Darkness() | |
| 2125 | ATTACK = true | |
| 2126 | Rooted = true | |
| 2127 | local GYRO = IT("BodyGyro",RootPart)
| |
| 2128 | GYRO.D = 100 | |
| 2129 | GYRO.P = 2000 | |
| 2130 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 2131 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2132 | CreateSound("429459101", RightArm, 10, 0.8)
| |
| 2133 | for i=0, 3.5, 0.1 / Animation_Speed do | |
| 2134 | Swait() | |
| 2135 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2136 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
| |
| 2137 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 2138 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 2139 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2140 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2141 | end | |
| 2142 | GYRO:remove() | |
| 2143 | for i=0, 0.15, 0.1 / Animation_Speed do | |
| 2144 | Swait() | |
| 2145 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2146 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
| |
| 2147 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 2148 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 2149 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2150 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2151 | end | |
| 2152 | local BOMBSPOTS = {}
| |
| 2153 | for i = 1, 25 do | |
| 2154 | local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8)) | |
| 2155 | SPOT.Color = SKILLTEXTCOLOR | |
| 2156 | SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
| 2157 | table.insert(BOMBSPOTS,SPOT) | |
| 2158 | MakeForm(SPOT,"Cyl2") | |
| 2159 | end | |
| 2160 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 2161 | Swait() | |
| 2162 | WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
| |
| 2163 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 2164 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 2165 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2166 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2167 | end | |
| 2168 | ATTACK = false | |
| 2169 | Rooted = false | |
| 2170 | coroutine.resume(coroutine.create(function() | |
| 2171 | Swait(3) | |
| 2172 | for i = 1, #BOMBSPOTS do | |
| 2173 | if BOMBSPOTS[i] ~= nil then | |
| 2174 | local E = BOMBSPOTS[i] | |
| 2175 | coroutine.resume(coroutine.create(function() | |
| 2176 | local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0)) | |
| 2177 | BLADE.Color = SKILLTEXTCOLOR | |
| 2178 | CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
| |
| 2179 | CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
| 2180 | BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
| 2181 | for i = 1, 10 do | |
| 2182 | Swait() | |
| 2183 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(0,50,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BLADE.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
| |
| 2184 | killnearest(BLADE.Position,6,80) | |
| 2185 | BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
| 2186 | BLADE.Transparency = BLADE.Transparency - 0.1 | |
| 2187 | end | |
| 2188 | Swait(45) | |
| 2189 | for i = 1, 100 do | |
| 2190 | Swait() | |
| 2191 | BLADE.Transparency = BLADE.Transparency + 0.01 | |
| 2192 | E.Transparency = E.Transparency + 0.01 | |
| 2193 | end | |
| 2194 | BLADE:remove() | |
| 2195 | E:remove() | |
| 2196 | end)) | |
| 2197 | end | |
| 2198 | end | |
| 2199 | end)) | |
| 2200 | end | |
| 2201 | function Whitelist() | |
| 2202 | if Mouse.Target ~= nil then | |
| 2203 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 2204 | if game.Players:FindFirstChild(Mouse.Target.Parent.Name) then | |
| 2205 | table.insert(WHITELIST,Mouse.Target.Parent.Name) | |
| 2206 | end | |
| 2207 | end | |
| 2208 | end | |
| 2209 | end | |
| 2210 | ||
| 2211 | function Clear_Whitelist() | |
| 2212 | if Mouse.Target ~= nil then | |
| 2213 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 2214 | for LIST = 1, #WHITELIST do | |
| 2215 | if WHITELIST[LIST] ~= nil then | |
| 2216 | if Mouse.Target.Parent.Name == WHITELIST[LIST] then | |
| 2217 | table.remove(WHITELIST,LIST) | |
| 2218 | for _, c in pairs(Cam:GetChildren()) do | |
| 2219 | if c.Name == Mouse.Target.Parent.Name then | |
| 2220 | c:remove() | |
| 2221 | end | |
| 2222 | end | |
| 2223 | end | |
| 2224 | end | |
| 2225 | end | |
| 2226 | end | |
| 2227 | end | |
| 2228 | end | |
| 2229 | function Unload() | |
| 2230 | ATTACK = true | |
| 2231 | Rooted = false | |
| 2232 | repeat | |
| 2233 | local GYRO = IT("BodyGyro",RootPart)
| |
| 2234 | GYRO.D = 175 | |
| 2235 | GYRO.P = 20000 | |
| 2236 | GYRO.MaxTorque = VT(0,40000,0) | |
| 2237 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2238 | if COMBO == 1 then | |
| 2239 | COMBO = 2 | |
| 2240 | for i=0, 0, 0.1 / Animation_Speed do | |
| 2241 | Swait() | |
| 2242 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2243 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
| 2244 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
| 2245 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2246 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2247 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2248 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2249 | end | |
| 2250 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2251 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2252 | CreateSound(131070686, LeftHole, 7, 1, false) | |
| 2253 | BulletDetection(LeftHole.Position,Mouse.Hit.p,false) | |
| 2254 | for i=0, 0, 0.1 / Animation_Speed do | |
| 2255 | Swait() | |
| 2256 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
| 2257 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) | |
| 2258 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2259 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2260 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2261 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2262 | end | |
| 2263 | elseif COMBO == 2 then | |
| 2264 | COMBO = 1 | |
| 2265 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 2266 | Swait() | |
| 2267 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2268 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed) | |
| 2269 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
| 2270 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2271 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2272 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2273 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2274 | end | |
| 2275 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2276 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2277 | CreateSound(131070686, RightHole, 7, 1, false) | |
| 2278 | BulletDetection(RightHole.Position,Mouse.Hit.p,false) | |
| 2279 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 2280 | Swait() | |
| 2281 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed) | |
| 2282 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed) | |
| 2283 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2284 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2285 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2286 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2287 | end | |
| 2288 | end | |
| 2289 | GYRO:remove() | |
| 2290 | until KEYHOLD == false | |
| 2291 | ATTACK = false | |
| 2292 | Rooted = false | |
| 2293 | end | |
| 2294 | function Deathbound() | |
| 2295 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false) | |
| 2296 | ATTACK = true | |
| 2297 | Rooted = true | |
| 2298 | for i=0, 1, 0.1 / Animation_Speed do | |
| 2299 | Swait() | |
| 2300 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2301 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2302 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2303 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2304 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2305 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2306 | end | |
| 2307 | local DONE = false | |
| 2308 | local GATE = nil | |
| 2309 | local GATESPIN = true | |
| 2310 | coroutine.resume(coroutine.create(function() | |
| 2311 | repeat | |
| 2312 | Swait() | |
| 2313 | if GATE ~= nil then | |
| 2314 | GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0)) | |
| 2315 | end | |
| 2316 | until GATESPIN == false | |
| 2317 | end)) | |
| 2318 | coroutine.resume(coroutine.create(function() | |
| 2319 | repeat | |
| 2320 | Swait() | |
| 2321 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2322 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2323 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2324 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2325 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2326 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2327 | until DONE == true | |
| 2328 | Swait(50) | |
| 2329 | for i = 1, 35 do | |
| 2330 | Swait(4) | |
| 2331 | local FIRED = false | |
| 2332 | local CHILDREN = workspace:GetDescendants() | |
| 2333 | for index, CHILD in pairs(CHILDREN) do | |
| 2334 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 2335 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2336 | if HUM then | |
| 2337 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2338 | if TORSO then | |
| 2339 | if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then | |
| 2340 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
| 2341 | local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
| 2342 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 131070686, SoundPitch = 1.5, SoundVolume = 6})
| |
| 2343 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2344 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
| 2345 | Kill(CHILD) | |
| 2346 | FIRED = true | |
| 2347 | break | |
| 2348 | end | |
| 2349 | end | |
| 2350 | end | |
| 2351 | end | |
| 2352 | end | |
| 2353 | if FIRED == false then | |
| 2354 | local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) | |
| 2355 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(10,0,0), SoundID = 268761947, SoundPitch = 1, SoundVolume = 6})
| |
| 2356 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2357 | SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) | |
| 2358 | local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character) | |
| 2359 | if HITBOD ~= nil then | |
| 2360 | if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 2361 | Kill(HITBOD.Parent) | |
| 2362 | end | |
| 2363 | end | |
| 2364 | end | |
| 2365 | end | |
| 2366 | for i = 1, 45 do | |
| 2367 | Swait() | |
| 2368 | GATE.Size = GATE.Size - VT(3,0,3) | |
| 2369 | end | |
| 2370 | GATESPIN = false | |
| 2371 | GATE:remove() | |
| 2372 | end)) | |
| 2373 | Swait(15) | |
| 2374 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) | |
| 2375 | GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0)) | |
| 2376 | local DECAL = IT("Decal",GATE)
| |
| 2377 | DECAL.Texture = "http://www.roblox.com/asset/?id=268043891" | |
| 2378 | DECAL.Face = "Top" | |
| 2379 | GATE.CFrame = CF(HITPOS) | |
| 2380 | CreateSound(160772554, GATE, 7, 1.3, false) | |
| 2381 | for i = 1, 45 do | |
| 2382 | Swait() | |
| 2383 | GATE.Size = GATE.Size + VT(3,0,3) | |
| 2384 | end | |
| 2385 | CreateSound(268761947, RightHole, 7, 1, false) | |
| 2386 | CreateSound(268761947, LeftHole, 7, 1, false) | |
| 2387 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2388 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 2389 | ATTACK = false | |
| 2390 | Rooted = false | |
| 2391 | DONE = true | |
| 2392 | end | |
| 2393 | Circle = nil | |
| 2394 | CircleParts = {}
| |
| 2395 | Equipped = false | |
| 2396 | ||
| 2397 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 2398 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 2399 | end | |
| 2400 | Equipped = true | |
| 2401 | Circle = Instance.new("Model")
| |
| 2402 | Circle.Name = "Circle" | |
| 2403 | Angle = 0 | |
| 2404 | for i = 1, 1 do | |
| 2405 | local CirclePart = Instance.new("Part")
| |
| 2406 | CirclePart.Name = "CirclePart" | |
| 2407 | CirclePart.Transparency = 1 | |
| 2408 | CirclePart.BrickColor = BrickColor.new("Really black")
| |
| 2409 | CirclePart.Material = Enum.Material.Plastic | |
| 2410 | CirclePart.Shape = Enum.PartType.Block | |
| 2411 | CirclePart.FormFactor = Enum.FormFactor.Custom | |
| 2412 | CirclePart.TopSurface = Enum.SurfaceType.Smooth | |
| 2413 | CirclePart.BottomSurface = Enum.SurfaceType.Smooth | |
| 2414 | CirclePart.Anchored = true | |
| 2415 | CirclePart.CanCollide = false | |
| 2416 | CirclePart.Locked = true | |
| 2417 | CirclePart.Size = Vector3.new(10, 0.2, 10) | |
| 2418 | local Aura = Instance.new('ParticleEmitter')
| |
| 2419 | Aura.Name = "Aura" | |
| 2420 | Aura.Texture = "rbxassetid://341277531" | |
| 2421 | Aura.Parent = CirclePart | |
| 2422 | Aura.LightEmission = 0 | |
| 2423 | Aura.Transparency = NumberSequence.new(0.2,0.4,1) | |
| 2424 | Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200)) | |
| 2425 | Aura.Size = NumberSequence.new(0.9,0.5,0.3) | |
| 2426 | Aura.LockedToPart = false | |
| 2427 | Aura.Lifetime = NumberRange.new(1) | |
| 2428 | Aura.Rate = 50 | |
| 2429 | Aura.Speed = NumberRange.new(2.5) | |
| 2430 | Aura.SpreadAngle = Vector2.new(80,80) | |
| 2431 | local BlockMesh = Instance.new("BlockMesh")
| |
| 2432 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
| 2433 | BlockMesh.Parent = CirclePart | |
| 2434 | CirclePart.Parent = Circle | |
| 2435 | local Star = Instance.new("Decal", CirclePart)
| |
| 2436 | Star.Texture = "http://www.roblox.com/asset/?id=127817290" | |
| 2437 | Star.Face = "Top" | |
| 2438 | local Light = Instance.new("PointLight", CirclePart)
| |
| 2439 | Light.Color = Color3.new(.20,0,0) | |
| 2440 | Light.Brightness = 100 | |
| 2441 | Light.Range = 15 | |
| 2442 | table.insert(CircleParts, CirclePart) | |
| 2443 | end | |
| 2444 | Spawn(function() | |
| 2445 | while Equipped and Humanoid.Parent and Torso.Parent do | |
| 2446 | if Angle == 360 then | |
| 2447 | Angle = 0 | |
| 2448 | end | |
| 2449 | Angle = Angle + 0.05 | |
| 2450 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
| |
| 2451 | if Hit then | |
| 2452 | if not Circle.Parent then | |
| 2453 | Circle.Parent = Character | |
| 2454 | end | |
| 2455 | for i, v in pairs(CircleParts) do | |
| 2456 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
| 2457 | end | |
| 2458 | else | |
| 2459 | Circle.Parent = nil | |
| 2460 | end | |
| 2461 | wait() | |
| 2462 | end | |
| 2463 | end) | |
| 2464 | ||
| 2465 | function ChainPunch() | |
| 2466 | ATTACK = true | |
| 2467 | Rooted = false | |
| 2468 | local GYRO = IT("BodyGyro",RootPart)
| |
| 2469 | GYRO.D = 25 | |
| 2470 | GYRO.P = 2000 | |
| 2471 | GYRO.MaxTorque = VT(0,40000,0) | |
| 2472 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2473 | repeat | |
| 2474 | Swait() | |
| 2475 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 2476 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2477 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) | |
| 2478 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2479 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2480 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2481 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2482 | until HOLD == true | |
| 2483 | local POS = Mouse.Hit.p | |
| 2484 | local CHAINS = false | |
| 2485 | local CHAINLINKS = {}
| |
| 2486 | local A = IT("Attachment",RightArm)
| |
| 2487 | A.Position = VT(1,-1,0)*SIZE | |
| 2488 | A.Orientation = VT(-90, -89.982, 0) | |
| 2489 | local B = IT("Attachment",RightArm)
| |
| 2490 | B.Position = VT(-1,-1,0)*SIZE | |
| 2491 | B.Orientation = VT(-90, 89.988, 0) | |
| 2492 | local C = IT("Attachment",RightArm)
| |
| 2493 | C.Position = VT(0.5,-1.3,0)*SIZE | |
| 2494 | C.Orientation = VT(-90, -89.982, 0) | |
| 2495 | local D = IT("Attachment",RightArm)
| |
| 2496 | D.Position = VT(-0.5,-1.3,0)*SIZE | |
| 2497 | D.Orientation = VT(-90, 89.988, 0) | |
| 2498 | local LIGHT = IT("Attachment",RightArm)
| |
| 2499 | LIGHT.Position = VT(0,-1,0)*SIZE | |
| 2500 | local LIGHT2 = IT("PointLight",LIGHT)
| |
| 2501 | LIGHT2.Range = 7 | |
| 2502 | LIGHT2.Brightness = 5 | |
| 2503 | LIGHT2.Color = SKILLTEXTCOLOR | |
| 2504 | chatfunc("Take a void Potion,")
| |
| 2505 | for i = 1, 2 do | |
| 2506 | local TWIST = -2 | |
| 2507 | local START = A | |
| 2508 | local END = B | |
| 2509 | if i == 1 then | |
| 2510 | START = B | |
| 2511 | END = A | |
| 2512 | end | |
| 2513 | local ChainLink = IT("Beam",Torso)
| |
| 2514 | ChainLink.Texture = "rbxassetid://73042633" | |
| 2515 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 2516 | ChainLink.TextureSpeed = 1 | |
| 2517 | ChainLink.Width0 = 1 | |
| 2518 | ChainLink.Width1 = 1 | |
| 2519 | ChainLink.TextureLength = 2.5 | |
| 2520 | ChainLink.Attachment0 = START | |
| 2521 | ChainLink.Attachment1 = END | |
| 2522 | ChainLink.CurveSize0 = TWIST | |
| 2523 | ChainLink.CurveSize1 = TWIST | |
| 2524 | --ChainLink.FaceCamera = true | |
| 2525 | ChainLink.Segments = 45 | |
| 2526 | ChainLink.Transparency = NumberSequence.new(1) | |
| 2527 | table.insert(CHAINLINKS,ChainLink) | |
| 2528 | end | |
| 2529 | for i = 1, 2 do | |
| 2530 | local TWIST = -1 | |
| 2531 | local START = C | |
| 2532 | local END = D | |
| 2533 | if i == 1 then | |
| 2534 | START = D | |
| 2535 | END = C | |
| 2536 | end | |
| 2537 | local ChainLink = IT("Beam",Torso)
| |
| 2538 | ChainLink.Texture = "rbxassetid://73042633" | |
| 2539 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 2540 | ChainLink.TextureSpeed = 1 | |
| 2541 | ChainLink.Width0 = 1 | |
| 2542 | ChainLink.Width1 = 1 | |
| 2543 | ChainLink.TextureLength = 5 | |
| 2544 | ChainLink.Attachment0 = START | |
| 2545 | ChainLink.Attachment1 = END | |
| 2546 | ChainLink.CurveSize0 = TWIST | |
| 2547 | ChainLink.CurveSize1 = TWIST | |
| 2548 | --ChainLink.FaceCamera = true | |
| 2549 | ChainLink.Segments = 25 | |
| 2550 | ChainLink.LightEmission = 0.5 | |
| 2551 | ChainLink.Transparency = NumberSequence.new(1) | |
| 2552 | table.insert(CHAINLINKS,ChainLink) | |
| 2553 | end | |
| 2554 | coroutine.resume(coroutine.create(function() | |
| 2555 | repeat | |
| 2556 | Swait() | |
| 2557 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
| 2558 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
| 2559 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2560 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2561 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2562 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2563 | until CHAINS == true | |
| 2564 | repeat | |
| 2565 | Swait() | |
| 2566 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed) | |
| 2567 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
| 2568 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2569 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2570 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2571 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2572 | until ATTACK == false | |
| 2573 | for e = 1, 15 do | |
| 2574 | Swait() | |
| 2575 | chatfunc("To YOUR FACE!!")
| |
| 2576 | for i = 1, #CHAINLINKS do | |
| 2577 | CHAINLINKS[i].Transparency = NumberSequence.new((e/15)) | |
| 2578 | end | |
| 2579 | end | |
| 2580 | A:remove() | |
| 2581 | B:remove() | |
| 2582 | C:remove() | |
| 2583 | D:remove() | |
| 2584 | end)) | |
| 2585 | CreateSound(233856115, RightArm, 5, 1.2, false) | |
| 2586 | for e = 1, 15 do | |
| 2587 | Swait() | |
| 2588 | for i = 1, #CHAINLINKS do | |
| 2589 | CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15)) | |
| 2590 | end | |
| 2591 | end | |
| 2592 | CHAINS = true | |
| 2593 | Rooted = true | |
| 2594 | wait(0.25) | |
| 2595 | local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Royal Purple", "Part", VT(2,2,2)) | |
| 2596 | FIST.Color = C3(1, 215/255, 1) | |
| 2597 | FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
| 2598 | local LIGHT3 = IT("PointLight",FIST)
| |
| 2599 | LIGHT3.Range = 7 | |
| 2600 | LIGHT3.Brightness = 5 | |
| 2601 | LIGHT3.Color = SKILLTEXTCOLOR | |
| 2602 | CreateMesh("SpecialMesh", FIST, "FileMesh", "56343678", "", VT(10,10,10), VT(0,0,0))
| |
| 2603 | local FISTA = IT("Attachment",FIST)
| |
| 2604 | FISTA.Position = VT(0.062, 0.977, 0) | |
| 2605 | local ChainLink = IT("Beam",Torso)
| |
| 2606 | ChainLink.Texture = "rbxassetid://73042633" | |
| 2607 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 2608 | ChainLink.TextureSpeed = 2 | |
| 2609 | ChainLink.Width0 = 3 | |
| 2610 | ChainLink.Width1 = 3 | |
| 2611 | ChainLink.TextureLength = 12 | |
| 2612 | ChainLink.Attachment0 = LIGHT | |
| 2613 | ChainLink.Attachment1 = FISTA | |
| 2614 | ChainLink.FaceCamera = true | |
| 2615 | ChainLink.Segments = 45 | |
| 2616 | ChainLink.LightEmission = 0.5 | |
| 2617 | ChainLink.Transparency = NumberSequence.new(0.25) | |
| 2618 | local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false) | |
| 2619 | for i = 1, 85 do | |
| 2620 | Swait() | |
| 2621 | FIST.CFrame = FIST.CFrame*CF(0,-2,0) | |
| 2622 | ChainLink.TextureLength = 12+(i*2) | |
| 2623 | ApplyAoE(FIST.Position,10,15,25,100,true) | |
| 2624 | WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 2625 | local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character) | |
| 2626 | if HITFLOOR ~= nil then | |
| 2627 | HITFLOOR:BreakJoints() | |
| 2628 | coroutine.resume(coroutine.create(function() | |
| 2629 | for i = 1, 15 do | |
| 2630 | Swait() | |
| 2631 | FISTSOUND.Volume = FISTSOUND.Volume - 0.15 | |
| 2632 | ApplyAoE(FIST.Position,10+(i*2),5,15,5,true) | |
| 2633 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 2634 | end | |
| 2635 | end)) | |
| 2636 | break | |
| 2637 | end | |
| 2638 | end | |
| 2639 | coroutine.resume(coroutine.create(function() | |
| 2640 | for i = 1, 50 do | |
| 2641 | Swait() | |
| 2642 | FIST.Transparency = FIST.Transparency + 0.5/50 | |
| 2643 | LIGHT3.Range = LIGHT3.Range - 7/50 | |
| 2644 | end | |
| 2645 | FIST:remove() | |
| 2646 | end)) | |
| 2647 | LIGHT:remove() | |
| 2648 | GYRO:remove() | |
| 2649 | ATTACK = false | |
| 2650 | Rooted = false | |
| 2651 | end | |
| 2652 | ||
| 2653 | function PandorasBox() | |
| 2654 | local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 2655 | if HITFLOOR ~= nil then | |
| 2656 | ATTACK = false | |
| 2657 | Rooted = false | |
| 2658 | local RINGSPIN = true | |
| 2659 | local CONSTRUCTING = true | |
| 2660 | local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0)) | |
| 2661 | RING.Color = C3(0,0,0) | |
| 2662 | MakeForm(RING,"Cyl") | |
| 2663 | RING.CFrame = CF(HITPOS) | |
| 2664 | CreateSound(402981977, RING, 5, 1.2, false) | |
| 2665 | coroutine.resume(coroutine.create(function() | |
| 2666 | repeat | |
| 2667 | Swait() | |
| 2668 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2669 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 2670 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2671 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2672 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2673 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2674 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2675 | until CONSTRUCTING == false | |
| 2676 | repeat | |
| 2677 | Swait() | |
| 2678 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2679 | until RINGSPIN == false | |
| 2680 | for i = 1, 25 do | |
| 2681 | Swait() | |
| 2682 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 2683 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
| 2684 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
| 2685 | RING.Transparency = RING.Transparency + 1/25 | |
| 2686 | end | |
| 2687 | RING:remove() | |
| 2688 | end)) | |
| 2689 | for i = 1, 15 do | |
| 2690 | Swait() | |
| 2691 | RING.Size = RING.Size + VT(0.75,0,0.75) | |
| 2692 | RING.Transparency = RING.Transparency - 1/15 | |
| 2693 | end | |
| 2694 | chatfunc("Lets see the void box, It has some surprises for you.")
| |
| 2695 | local BOXSPIN = true | |
| 2696 | local PANDORASBOX = IT("Model",Effects)
| |
| 2697 | PANDORASBOX.Name = "Pandora's Box" | |
| 2698 | local BOX = IT("Model",PANDORASBOX)
| |
| 2699 | BOX.Name = "Body" | |
| 2700 | local LID = IT("Model",PANDORASBOX)
| |
| 2701 | LID.Name = "Lid" | |
| 2702 | --BUILDING THE BOX-- | |
| 2703 | local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Black", VT(2,1.8,2)) | |
| 2704 | BASE.Color = C3(0,0,0) | |
| 2705 | PANDORASBOX.PrimaryPart = BASE | |
| 2706 | BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z)) | |
| 2707 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,1.9,0.2)) | |
| 2708 | WOOD.CFrame = BASE.CFrame*CF(1,0,1) | |
| 2709 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,1.9,0.2)) | |
| 2710 | WOOD.CFrame = BASE.CFrame*CF(1,0,-1) | |
| 2711 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,1.9,0.2)) | |
| 2712 | WOOD.CFrame = BASE.CFrame*CF(-1,0,1) | |
| 2713 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,1.9,0.2)) | |
| 2714 | WOOD.CFrame = BASE.CFrame*CF(-1,0,-1) | |
| 2715 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(2.1,0.2,0.2)) | |
| 2716 | WOOD.CFrame = BASE.CFrame*CF(0,0.9,1) | |
| 2717 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(2.1,0.2,0.2)) | |
| 2718 | WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1) | |
| 2719 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,0.2,2.1)) | |
| 2720 | WOOD.CFrame = BASE.CFrame*CF(1,0.9,0) | |
| 2721 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,0.2,2.1)) | |
| 2722 | WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0) | |
| 2723 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(2.1,0.2,0.2)) | |
| 2724 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1) | |
| 2725 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(2.1,0.2,0.2)) | |
| 2726 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1) | |
| 2727 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,0.2,2.1)) | |
| 2728 | WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0) | |
| 2729 | local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,0.2,2.1)) | |
| 2730 | WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0) | |
| 2731 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1)) | |
| 2732 | WOOD.CFrame = BASE.CFrame*CF(0,0,1) | |
| 2733 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1)) | |
| 2734 | WOOD.CFrame = BASE.CFrame*CF(0,0,-1) | |
| 2735 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1)) | |
| 2736 | WOOD.CFrame = BASE.CFrame*CF(1,0,0) | |
| 2737 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1)) | |
| 2738 | WOOD.CFrame = BASE.CFrame*CF(-1,0,0) | |
| 2739 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1)) | |
| 2740 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0) | |
| 2741 | ------------- | |
| 2742 | local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1)) | |
| 2743 | LIDPART.CFrame = BASE.CFrame*CF(0,1,0) | |
| 2744 | LID.PrimaryPart = LIDPART | |
| 2745 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal Purple", "Marble", VT(2.1,0.2,0.2)) | |
| 2746 | WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1) | |
| 2747 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal Purple", "Marble", VT(2.1,0.2,0.2)) | |
| 2748 | WOOD.CFrame = LIDPART.CFrame*CF(0,0,1) | |
| 2749 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,0.2,2.1)) | |
| 2750 | WOOD.CFrame = LIDPART.CFrame*CF(1,0,0) | |
| 2751 | local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Royal Purple", "Marble", VT(0.2,0.2,2.1)) | |
| 2752 | WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0) | |
| 2753 | local DECAL = IT("Decal",LIDPART)
| |
| 2754 | DECAL.Face = "Top" | |
| 2755 | DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061" | |
| 2756 | DECAL.Color3 = C3(0,0,0) | |
| 2757 | --BUILDING THE BOX-- | |
| 2758 | coroutine.resume(coroutine.create(function() | |
| 2759 | repeat | |
| 2760 | Swait() | |
| 2761 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0))) | |
| 2762 | until BOXSPIN == false | |
| 2763 | end)) | |
| 2764 | for i = 1, 25 do | |
| 2765 | Swait() | |
| 2766 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0)) | |
| 2767 | end | |
| 2768 | wait(0.5) | |
| 2769 | BOXSPIN = false | |
| 2770 | CONSTRUCTING = false | |
| 2771 | coroutine.resume(coroutine.create(function() | |
| 2772 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
| |
| 2773 | --[[for i = 1, 45 do | |
| 2774 | Swait() | |
| 2775 | LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0))) | |
| 2776 | end- | |
| 2777 | LID:remove()]]-- | |
| 2778 | for _, c in pairs(LID:GetChildren()) do | |
| 2779 | if c.ClassName == "Part" then | |
| 2780 | c.Anchored = false | |
| 2781 | c.CanCollide = true | |
| 2782 | if c ~= LIDPART then | |
| 2783 | weldBetween(LIDPART,c) | |
| 2784 | end | |
| 2785 | end | |
| 2786 | end | |
| 2787 | LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65 | |
| 2788 | Debris:AddItem(LID,15) | |
| 2789 | wait(0.5) | |
| 2790 | local RANDOMEFFECT = MRANDOM(1,4) | |
| 2791 | if RANDOMEFFECT == 1 then | |
| 2792 | for i = 1, 45 do | |
| 2793 | wait((2-(i/15))/15) | |
| 2794 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
| |
| 2795 | end | |
| 2796 | wait(1) | |
| 2797 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
| |
| 2798 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
| |
| 2799 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 2800 | for i = 1, 5 do | |
| 2801 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 2802 | end | |
| 2803 | ApplyAoE(BASE.Position,50,1,200,375,true) | |
| 2804 | ApplyAoE(BASE.Position,250,35,75,175,true) | |
| 2805 | elseif RANDOMEFFECT == 2 then | |
| 2806 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
| 2807 | FIELD.CFrame = BASE.CFrame | |
| 2808 | MakeForm(FIELD,"Ball") | |
| 2809 | for i = 1, 50 do | |
| 2810 | Swait() | |
| 2811 | FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01) | |
| 2812 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 2813 | end | |
| 2814 | wait(0.2) | |
| 2815 | local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true) | |
| 2816 | coroutine.resume(coroutine.create(function() | |
| 2817 | for i = 1, 75 do | |
| 2818 | Swait() | |
| 2819 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 2820 | LOOP.Parent = FIELD | |
| 2821 | local CHILDREN = workspace:GetDescendants() | |
| 2822 | for index, CHILD in pairs(CHILDREN) do | |
| 2823 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2824 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2825 | if HUM then | |
| 2826 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2827 | if TORSO then | |
| 2828 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 2829 | HUM.Health = HUM.Health - 1.5 | |
| 2830 | TORSO.Velocity = VT(0,5,0) | |
| 2831 | HUM.PlatformStand = true | |
| 2832 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2833 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 2834 | end | |
| 2835 | end | |
| 2836 | end | |
| 2837 | end | |
| 2838 | end | |
| 2839 | end | |
| 2840 | FIELD.Size = FIELD.Size + VT(9,9,9) | |
| 2841 | FIELD.Transparency = FIELD.Transparency + 0.8/75 | |
| 2842 | end | |
| 2843 | for i = 1, 500 do | |
| 2844 | Swait() | |
| 2845 | LOOP.Parent = FIELD | |
| 2846 | local CHILDREN = workspace:GetDescendants() | |
| 2847 | for index, CHILD in pairs(CHILDREN) do | |
| 2848 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2849 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2850 | if HUM then | |
| 2851 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2852 | if TORSO then | |
| 2853 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 2854 | TORSO.Velocity = VT(0,5,0) | |
| 2855 | HUM.Health = HUM.Health - 1.5 | |
| 2856 | HUM.PlatformStand = true | |
| 2857 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2858 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 2859 | end | |
| 2860 | end | |
| 2861 | end | |
| 2862 | end | |
| 2863 | end | |
| 2864 | end | |
| 2865 | end | |
| 2866 | for i = 1, 25 do | |
| 2867 | Swait() | |
| 2868 | LOOP.Volume = LOOP.Volume + 10/25 | |
| 2869 | LOOP.Parent = FIELD | |
| 2870 | local CHILDREN = workspace:GetDescendants() | |
| 2871 | for index, CHILD in pairs(CHILDREN) do | |
| 2872 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 2873 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 2874 | if HUM then | |
| 2875 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 2876 | if TORSO then | |
| 2877 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then | |
| 2878 | TORSO.Velocity = VT(0,5,0) | |
| 2879 | HUM.Health = HUM.Health - 1.5 | |
| 2880 | HUM.PlatformStand = false | |
| 2881 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 2882 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 2883 | end | |
| 2884 | end | |
| 2885 | end | |
| 2886 | end | |
| 2887 | end | |
| 2888 | end | |
| 2889 | FIELD.Size = FIELD.Size - VT(3,3,3) | |
| 2890 | FIELD.Transparency = FIELD.Transparency + 0.2/25 | |
| 2891 | end | |
| 2892 | FIELD:remove() | |
| 2893 | end)) | |
| 2894 | elseif RANDOMEFFECT == 3 then | |
| 2895 | for i = 1, 10 do | |
| 2896 | wait(0.15) | |
| 2897 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
| |
| 2898 | coroutine.resume(coroutine.create(function() | |
| 2899 | local MINION = CLONE:Clone() | |
| 2900 | MINION.Parent = Effects | |
| 2901 | MINION.Name = "Shadow" | |
| 2902 | MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) | |
| 2903 | MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100) | |
| 2904 | for _, c in pairs(MINION:GetChildren()) do | |
| 2905 | if c.ClassName == "Part" then | |
| 2906 | c.Material = "Neon" | |
| 2907 | c.Color = C3(0,0,0) | |
| 2908 | c.Transparency = 0.25 | |
| 2909 | if c.Name == "Head" then | |
| 2910 | c:ClearAllChildren() | |
| 2911 | local MSH = IT("BlockMesh",c)
| |
| 2912 | MSH.Scale = VT(0.5,1,1) | |
| 2913 | end | |
| 2914 | end | |
| 2915 | end | |
| 2916 | local TORSO = MINION.Torso | |
| 2917 | local HUMAN = MINION.Humanoid | |
| 2918 | HUMAN.WalkSpeed = 20 | |
| 2919 | HUMAN.MaxHealth = math.huge | |
| 2920 | HUMAN.Health = math.huge | |
| 2921 | HUMAN.DisplayDistanceType = "None" | |
| 2922 | HUMAN.Died:connect(function() | |
| 2923 | MINION:remove() | |
| 2924 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false) | |
| 2925 | end) | |
| 2926 | wait(1) | |
| 2927 | local findNearestTorso = function(POS) | |
| 2928 | local list = game.Workspace:GetDescendants() | |
| 2929 | local torso = nil | |
| 2930 | local dist = 500 | |
| 2931 | local temp = nil | |
| 2932 | local human = nil | |
| 2933 | local temp2 = nil | |
| 2934 | for x = 1, #list do | |
| 2935 | temp2 = list[x] | |
| 2936 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then | |
| 2937 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
| |
| 2938 | human = temp2:findFirstChildOfClass("Humanoid")
| |
| 2939 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
| 2940 | if (temp.Position - POS).magnitude < dist then | |
| 2941 | torso = temp | |
| 2942 | dist = (temp.Position - POS).magnitude | |
| 2943 | end | |
| 2944 | end | |
| 2945 | end | |
| 2946 | end | |
| 2947 | return torso, dist | |
| 2948 | end | |
| 2949 | for i = 1, 40 do | |
| 2950 | if HUMAN.Health == 0 then | |
| 2951 | break | |
| 2952 | end | |
| 2953 | wait(0.3) | |
| 2954 | local target,dist= findNearestTorso(TORSO.Position) | |
| 2955 | if target then | |
| 2956 | HUMAN:MoveTo(target.Position) | |
| 2957 | if dist < 25 then | |
| 2958 | CreateSound(348663022, TORSO, 10, 1, true) | |
| 2959 | wait(2) | |
| 2960 | --local ANIM = HUMAN:LoadAnimation(ATANIM) | |
| 2961 | --ANIM:Play() | |
| 2962 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false) | |
| 2963 | ApplyAoE(TORSO.Position,10,0,0,85,true) | |
| 2964 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
| |
| 2965 | for i = 1, 5 do | |
| 2966 | WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 2967 | end | |
| 2968 | break | |
| 2969 | end | |
| 2970 | end | |
| 2971 | end | |
| 2972 | MINION:remove() | |
| 2973 | end)) | |
| 2974 | end | |
| 2975 | elseif RANDOMEFFECT == 4 then | |
| 2976 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
| 2977 | FIELD.Color = C3(0,0,0) | |
| 2978 | FIELD.CFrame = BASE.CFrame | |
| 2979 | MakeForm(FIELD,"Ball") | |
| 2980 | FIELD.CanCollide = true | |
| 2981 | for i = 1, 50 do | |
| 2982 | Swait() | |
| 2983 | FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01) | |
| 2984 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 2985 | end | |
| 2986 | wait(0.2) | |
| 2987 | local LOOP = CreateSound(487214658, FIELD, 0, 1, true) | |
| 2988 | coroutine.resume(coroutine.create(function() | |
| 2989 | local E = 0 | |
| 2990 | for i = 1, 75 do | |
| 2991 | E = E + 1 | |
| 2992 | Swait() | |
| 2993 | if E >= 35 then | |
| 2994 | E = 0 | |
| 2995 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
| |
| 2996 | end | |
| 2997 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 2998 | LOOP.Parent = FIELD | |
| 2999 | local CHILDREN = workspace:GetDescendants() | |
| 3000 | for index, CHILD in pairs(CHILDREN) do | |
| 3001 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 3002 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 3003 | if HUM then | |
| 3004 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 3005 | if TORSO then | |
| 3006 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then | |
| 3007 | for _, c in pairs(CHILD:GetChildren()) do | |
| 3008 | if c:IsA("BasePart") then
| |
| 3009 | local bv = Instance.new("BodyVelocity")
| |
| 3010 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3011 | bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50 | |
| 3012 | bv.Parent = c | |
| 3013 | Debris:AddItem(bv,0.05) | |
| 3014 | end | |
| 3015 | end | |
| 3016 | HUM.Health = HUM.Health - 0.3 | |
| 3017 | end | |
| 3018 | end | |
| 3019 | end | |
| 3020 | end | |
| 3021 | end | |
| 3022 | FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5 | |
| 3023 | end | |
| 3024 | for i = 1, 180 do | |
| 3025 | E = E + 1 | |
| 3026 | Swait() | |
| 3027 | if E >= 35 then | |
| 3028 | E = 0 | |
| 3029 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
| |
| 3030 | end | |
| 3031 | LOOP.Parent = FIELD | |
| 3032 | local CHILDREN = workspace:GetDescendants() | |
| 3033 | for index, CHILD in pairs(CHILDREN) do | |
| 3034 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 3035 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 3036 | if HUM then | |
| 3037 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 3038 | if TORSO then | |
| 3039 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then | |
| 3040 | for _, c in pairs(CHILD:GetChildren()) do | |
| 3041 | if c:IsA("BasePart") then
| |
| 3042 | local bv = Instance.new("BodyVelocity")
| |
| 3043 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 3044 | bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50 | |
| 3045 | bv.Parent = c | |
| 3046 | Debris:AddItem(bv,0.05) | |
| 3047 | end | |
| 3048 | end | |
| 3049 | HUM.Health = HUM.Health - 0.3 | |
| 3050 | end | |
| 3051 | end | |
| 3052 | end | |
| 3053 | end | |
| 3054 | end | |
| 3055 | end | |
| 3056 | ApplyAoE(FIELD.Position,40,15,20,375,true) | |
| 3057 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
| |
| 3058 | for i = 1, 5 do | |
| 3059 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 3060 | end | |
| 3061 | FIELD:remove() | |
| 3062 | end)) | |
| 3063 | elseif RANDOMEFFECT == 5 then | |
| 3064 | end | |
| 3065 | wait(0.5) | |
| 3066 | for i = 1, 25 do | |
| 3067 | Swait() | |
| 3068 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0)) | |
| 3069 | end | |
| 3070 | PANDORASBOX:remove() | |
| 3071 | RINGSPIN = false | |
| 3072 | end)) | |
| 3073 | ATTACK = false | |
| 3074 | Rooted = false | |
| 3075 | end | |
| 3076 | end | |
| 3077 | ||
| 3078 | function TimeStop () | |
| 3079 | local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 3080 | CHOICE = 6 | |
| 3081 | CreateSound(1193182658, Character, 5, 1, false) | |
| 3082 | chatfunc ("Zen der ru.")
| |
| 3083 | back = CreateSound(1841228386, Character, 9999, 1, false) | |
| 3084 | local killsky = Instance.new('Sky', game:GetService'Lighting')
| |
| 3085 | killsky.SkyboxBk = "rbxassetid://38101481" | |
| 3086 | killsky.SkyboxDn = "rbxassetid://13323299" | |
| 3087 | killsky.SkyboxFt = "rbxassetid://13323299" | |
| 3088 | killsky.SkyboxLf = "rbxassetid://13323299" | |
| 3089 | killsky.SkyboxRt = "rbxassetid://13323299" | |
| 3090 | killsky.SkyboxUp = "rbxassetid://13323299" | |
| 3091 | killsky.StarCount = 0 | |
| 3092 | killsky.SunAngularSize = 0 | |
| 3093 | killsky.MoonAngularSize = 0 | |
| 3094 | killsky.MoonTextureId = "" | |
| 3095 | killsky.CelestialBodiesShown = false | |
| 3096 | game.Lighting.FogColor = Color3.new(1,0,1) | |
| 3097 | game.Lighting.FogEnd = 1400 | |
| 3098 | if HITFLOOR ~= nil then | |
| 3099 | ATTACK = false | |
| 3100 | Rooted = false | |
| 3101 | local RINGSPIN = true | |
| 3102 | local CONSTRUCTING = true | |
| 3103 | local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0)) | |
| 3104 | RING.Color = C3(0,0,0) | |
| 3105 | MakeForm(RING,"Cyl") | |
| 3106 | RING.CFrame = CF(HITPOS) | |
| 3107 | coroutine.resume(coroutine.create(function() | |
| 3108 | repeat | |
| 3109 | Swait() | |
| 3110 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 3111 | until CONSTRUCTING == false | |
| 3112 | repeat | |
| 3113 | Swait() | |
| 3114 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 3115 | until RINGSPIN == false | |
| 3116 | for i = 1, 25 do | |
| 3117 | Swait() | |
| 3118 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 3119 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
| 3120 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
| 3121 | RING.Transparency = RING.Transparency + 1/25 | |
| 3122 | end | |
| 3123 | RING:remove() | |
| 3124 | end)) | |
| 3125 | for i = 1, 15 do | |
| 3126 | Swait() | |
| 3127 | RING.Size = RING.Size + VT(0,0,0) | |
| 3128 | RING.Transparency = RING.Transparency - 1/15 | |
| 3129 | end | |
| 3130 | end | |
| 3131 | local RANDOMEFFECT = MRANDOM(1) | |
| 3132 | local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2)) | |
| 3133 | BASE.Color = C3(0,0,0) | |
| 3134 | BASE.Transparency = 1 | |
| 3135 | BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z)) | |
| 3136 | if RANDOMEFFECT == 1 then | |
| 3137 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3)) | |
| 3138 | FIELD.CFrame = BASE.CFrame | |
| 3139 | MakeForm(FIELD,"Ball") | |
| 3140 | for i = 1, 50 do | |
| 3141 | Swait() | |
| 3142 | FIELD.Size = VT(0,0,0) | |
| 3143 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 3144 | end | |
| 3145 | end | |
| 3146 | wait(0.2) | |
| 3147 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Royal Purple", "Field", VT(0.3,0.3,0.3)) | |
| 3148 | FIELD.CFrame = BASE.CFrame | |
| 3149 | local LOOP = CreateSound(1837443398, Character, 0, 1, true) | |
| 3150 | coroutine.resume(coroutine.create(function() | |
| 3151 | for i = 1, 75 do | |
| 3152 | Swait() | |
| 3153 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 3154 | LOOP.Parent = FIELD | |
| 3155 | local CHILDREN = workspace:GetDescendants() | |
| 3156 | for index, CHILD in pairs(CHILDREN) do | |
| 3157 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 3158 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 3159 | if HUM then | |
| 3160 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 3161 | if TORSO then | |
| 3162 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 3163 | HUM.Health = HUM.Health - 0 | |
| 3164 | TORSO.Velocity = VT(0,5,0) | |
| 3165 | HUM.PlatformStand = true | |
| 3166 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 3167 | TORSO.Anchored = true | |
| 3168 | end | |
| 3169 | end | |
| 3170 | end | |
| 3171 | end | |
| 3172 | end | |
| 3173 | end | |
| 3174 | FIELD.Size = FIELD.Size + VT(90,90,90) | |
| 3175 | FIELD.Transparency = FIELD.Transparency + 0.8/75 | |
| 3176 | end | |
| 3177 | for i = 1, 500 do | |
| 3178 | Swait() | |
| 3179 | LOOP.Parent = FIELD | |
| 3180 | local CHILDREN = workspace:GetDescendants() | |
| 3181 | for index, CHILD in pairs(CHILDREN) do | |
| 3182 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 3183 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 3184 | if HUM then | |
| 3185 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 3186 | if TORSO then | |
| 3187 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 3188 | TORSO.Velocity = VT(0,5,0) | |
| 3189 | HUM.Health = HUM.Health - 0 | |
| 3190 | HUM.PlatformStand = true | |
| 3191 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 3192 | TORSO.Anchored = true | |
| 3193 | end | |
| 3194 | end | |
| 3195 | end | |
| 3196 | end | |
| 3197 | end | |
| 3198 | end | |
| 3199 | end | |
| 3200 | wait (20) | |
| 3201 | back:Remove() | |
| 3202 | CreateSound(1538466750, Character, 99999, 1, false) | |
| 3203 | chatfunc ("The Curse has been removed.")
| |
| 3204 | killsky:Remove() | |
| 3205 | game.Lighting.FogEnd = 90000000 | |
| 3206 | wait (5) | |
| 3207 | CHOICE = MRANDOM (1,5) | |
| 3208 | for i = 1, 25 do | |
| 3209 | Swait() | |
| 3210 | LOOP.Volume = LOOP.Volume + 10/25 | |
| 3211 | LOOP.Parent = FIELD | |
| 3212 | local CHILDREN = workspace:GetDescendants() | |
| 3213 | for index, CHILD in pairs(CHILDREN) do | |
| 3214 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 3215 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 3216 | if HUM then | |
| 3217 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 3218 | if TORSO then | |
| 3219 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then | |
| 3220 | TORSO.Velocity = VT(0,5,0) | |
| 3221 | HUM.Health = HUM.Health - 0 | |
| 3222 | HUM.PlatformStand = false | |
| 3223 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 3224 | TORSO.Anchored = false | |
| 3225 | end | |
| 3226 | end | |
| 3227 | end | |
| 3228 | end | |
| 3229 | end | |
| 3230 | FIELD.Size = FIELD.Size - VT(3,3,3) | |
| 3231 | FIELD.Transparency = FIELD.Transparency + 0.2/25 | |
| 3232 | end | |
| 3233 | end | |
| 3234 | end)) | |
| 3235 | FIELD:Remove() | |
| 3236 | ATTACK = false | |
| 3237 | Rooted = false | |
| 3238 | end | |
| 3239 | ||
| 3240 | ||
| 3241 | function Taunt() | |
| 3242 | ATTACK = true | |
| 3243 | local LAUGH = nil | |
| 3244 | coroutine.resume(coroutine.create(function() | |
| 3245 | repeat | |
| 3246 | Swait() | |
| 3247 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 3248 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3249 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3250 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3251 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3252 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3253 | until LAUGH ~= nil | |
| 3254 | repeat | |
| 3255 | Swait() | |
| 3256 | LAUGH.Parent = Head | |
| 3257 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
| 3258 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3259 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3260 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3261 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3262 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3263 | until LAUGH.Playing == false | |
| 3264 | ATTACK = false | |
| 3265 | end)) | |
| 3266 | wait(0.1) | |
| 3267 | CHOICE = 6 | |
| 3268 | chatfunc("You Will Know Pain.")
| |
| 3269 | LAUGH = CreateSound(907333294, Character, 8099999, 1, false) | |
| 3270 | wait(1.5) | |
| 3271 | CHOICE = MRANDOM (1,5) | |
| 3272 | end | |
| 3273 | function Corrupted_Explosion() | |
| 3274 | ATTACK = true | |
| 3275 | Rooted = false | |
| 3276 | CreateSound(1368573150, RightArm, 3, 1.5) | |
| 3277 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 3, 1) | |
| 3278 | for i=0, 0.6, 0.1 / Animation_Speed do | |
| 3279 | Swait() | |
| 3280 | WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 3281 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3282 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
| 3283 | end | |
| 3284 | local POWER = 0 | |
| 3285 | repeat | |
| 3286 | Swait() | |
| 3287 | WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 3288 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3289 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
| 3290 | POWER = POWER + 0.5 | |
| 3291 | if POWER >= 85 then | |
| 3292 | POWER = 85 | |
| 3293 | end | |
| 3294 | until KEYHOLD == false | |
| 3295 | if POWER < 0.6 then | |
| 3296 | SpawnMeteor(Mouse.Hit.p) | |
| 3297 | else | |
| 3298 | if POWER < 15 then | |
| 3299 | POWER = 15 | |
| 3300 | end | |
| 3301 | SpawnMeteor(Mouse.Hit.p,POWER/15) | |
| 3302 | end | |
| 3303 | ATTACK = false | |
| 3304 | Rooted = false | |
| 3305 | end | |
| 3306 | function Morning_Star() | |
| 3307 | ATTACK = true | |
| 3308 | Rooted = true | |
| 3309 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false) | |
| 3310 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 3311 | Swait() | |
| 3312 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3313 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) | |
| 3314 | end | |
| 3315 | coroutine.resume(coroutine.create(function() | |
| 3316 | local POS = Mouse.Hit.p | |
| 3317 | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,2000,0)) | |
| 3318 | MakeForm(RAY,"Cyl") | |
| 3319 | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0)) | |
| 3320 | MakeForm(SPHERE,"Ball") | |
| 3321 | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0)) | |
| 3322 | MakeForm(SHIELD,"Ball") | |
| 3323 | SHIELD.CFrame = CF(POS) | |
| 3324 | RAY.CFrame = CF(POS) | |
| 3325 | SPHERE.CFrame = CF(POS) | |
| 3326 | CreateSound(144699494, SPHERE, 10, 0.8, false) | |
| 3327 | CreateSound(1146688617, SPHERE, 10, 0.8, false) | |
| 3328 | for i = 1, 200 do | |
| 3329 | Swait() | |
| 3330 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 3331 | RAY.Size = RAY.Size + VT(0.05,0,0.05) | |
| 3332 | SPHERE.Size = SPHERE.Size + VT(2,2,2) | |
| 3333 | SHIELD.Size = SPHERE.Size + VT(3,3,3) | |
| 3334 | ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) | |
| 3335 | end | |
| 3336 | for i = 1, 45 do | |
| 3337 | Swait() | |
| 3338 | RAY.Transparency = RAY.Transparency + 1/45 | |
| 3339 | SPHERE.Transparency = RAY.Transparency | |
| 3340 | SHIELD.Transparency = SPHERE.Transparency + 1/45 | |
| 3341 | end | |
| 3342 | RAY:remove() | |
| 3343 | SHIELD:remove() | |
| 3344 | SPHERE:remove() | |
| 3345 | end)) | |
| 3346 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 3347 | Swait() | |
| 3348 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 3349 | end | |
| 3350 | ATTACK = false | |
| 3351 | Rooted = false | |
| 3352 | end | |
| 3353 | function Meteor_Shower() | |
| 3354 | ATTACK = true | |
| 3355 | Rooted = false | |
| 3356 | CreateSound(1368573150, RightArm, 3, 0.8) | |
| 3357 | CreateSound(649634100, Torso, 10, 0.8) | |
| 3358 | for i=0, 1.2, 0.1 / Animation_Speed do | |
| 3359 | Swait() | |
| 3360 | WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 3361 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3362 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
| 3363 | end | |
| 3364 | local POS = Mouse.Hit.p | |
| 3365 | CreateSound(463593339, Effects, 3, 1) | |
| 3366 | coroutine.resume(coroutine.create(function() | |
| 3367 | for i = 1, 35 do | |
| 3368 | wait(MRANDOM(5,150)/100) | |
| 3369 | SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10) | |
| 3370 | end | |
| 3371 | end)) | |
| 3372 | ATTACK = false | |
| 3373 | Rooted = false | |
| 3374 | end | |
| 3375 | function Click() | |
| 3376 | ATTACK = true | |
| 3377 | Rooted = false | |
| 3378 | local HIT = nil | |
| 3379 | OFFSET = -45 | |
| 3380 | for i=0, 1, 0.1 / Animation_Speed do | |
| 3381 | Swait() | |
| 3382 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
| 3383 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 3384 | end | |
| 3385 | OFFSET = 45 | |
| 3386 | local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false) | |
| 3387 | PUNCH.CanCollide = true | |
| 3388 | CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
| |
| 3389 | TAUNT = true | |
| 3390 | local TOUCH = PUNCH.Touched:Connect(function(hit) | |
| 3391 | if hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 3392 | HIT = hit.Parent | |
| 3393 | end | |
| 3394 | end) | |
| 3395 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 3396 | Swait() | |
| 3397 | RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3) | |
| 3398 | if HIT ~= nil then | |
| 3399 | break | |
| 3400 | end | |
| 3401 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed) | |
| 3402 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 3403 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 3404 | end | |
| 3405 | PUNCH:remove() | |
| 3406 | TOUCH:disconnect() | |
| 3407 | if HIT ~= nil then | |
| 3408 | for _, c in pairs(HIT:GetChildren()) do | |
| 3409 | if c:IsA("BasePart") then
| |
| 3410 | c.Anchored = true | |
| 3411 | end | |
| 3412 | end | |
| 3413 | Rooted = true | |
| 3414 | CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 0.8) | |
| 3415 | CreateSound(1368573150, RightArm, 3, 1.5) | |
| 3416 | for i=0, 0.6, 0.1 / Animation_Speed do | |
| 3417 | Swait() | |
| 3418 | WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
| |
| 3419 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed) | |
| 3420 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 3421 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 3422 | end | |
| 3423 | for _, c in pairs(HIT:GetChildren()) do | |
| 3424 | if c:IsA("BasePart") then
| |
| 3425 | c.Anchored = false | |
| 3426 | end | |
| 3427 | end | |
| 3428 | KillChildren(HIT) | |
| 3429 | end | |
| 3430 | OFFSET = 0 | |
| 3431 | ATTACK = false | |
| 3432 | Rooted = false | |
| 3433 | TAUNT = false | |
| 3434 | end | |
| 3435 | function TakeOnMe() | |
| 3436 | Speed = 5 | |
| 3437 | local MEME = CreateSound(967455212, Effects, 2, 1, false) | |
| 3438 | ATTACK = true | |
| 3439 | Rooted = false | |
| 3440 | local DANCE = true | |
| 3441 | local KEY = Mouse.KeyDown:connect(function(NEWKEY) | |
| 3442 | if NEWKEY == "b" then | |
| 3443 | DANCE = false | |
| 3444 | end | |
| 3445 | end) | |
| 3446 | PLAYSONG = false | |
| 3447 | while true do | |
| 3448 | for i = 1, 15 do | |
| 3449 | Swait() | |
| 3450 | MEME.Parent = Effects | |
| 3451 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3452 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3453 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3454 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3455 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3456 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3457 | end | |
| 3458 | if DANCE == false then | |
| 3459 | break | |
| 3460 | end | |
| 3461 | for i = 1, 15 do | |
| 3462 | Swait() | |
| 3463 | MEME.Parent = Effects | |
| 3464 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3465 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3466 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3467 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3468 | RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3469 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3470 | end | |
| 3471 | end | |
| 3472 | PLAYSONG = true | |
| 3473 | KEY:Disconnect() | |
| 3474 | MEME:remove() | |
| 3475 | Speed = 45 | |
| 3476 | ATTACK = false | |
| 3477 | Rooted = false | |
| 3478 | end | |
| 3479 | function Banisher_Bullet() | |
| 3480 | ATTACK = true | |
| 3481 | Rooted = false | |
| 3482 | for i=0, 0.05, 0.1 / Animation_Speed do | |
| 3483 | Swait() | |
| 3484 | turnto(Mouse.Hit.p) | |
| 3485 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
| 3486 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
| 3487 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 3488 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 3489 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 3490 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 3491 | end | |
| 3492 | repeat | |
| 3493 | for i=0, 0.05, 0.1 / Animation_Speed do | |
| 3494 | Swait() | |
| 3495 | turnto(Mouse.Hit.p) | |
| 3496 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
| 3497 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) | |
| 3498 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 3499 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 3500 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 3501 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 3502 | end | |
| 3503 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
| 3504 | SpawnTrail(Hole.Position,POS) | |
| 3505 | if HIT ~= nil then | |
| 3506 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
| 3507 | Banish(HIT.Parent) | |
| 3508 | end | |
| 3509 | end | |
| 3510 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 3511 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 3512 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 3513 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 3514 | for i=0, 0.05, 0.1 / Animation_Speed do | |
| 3515 | Swait() | |
| 3516 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) | |
| 3517 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) | |
| 3518 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 3519 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 3520 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 3521 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 3522 | chatfunc("Don't come back until you have learned your lesson.")
| |
| 3523 | end | |
| 3524 | until KEYHOLD == false | |
| 3525 | ATTACK = false | |
| 3526 | Rooted = false | |
| 3527 | end | |
| 3528 | function Teleport() | |
| 3529 | ATTACK = true | |
| 3530 | Rooted = false | |
| 3531 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 3532 | Swait() | |
| 3533 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3534 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) | |
| 3535 | end | |
| 3536 | for e = 1, #BODY do | |
| 3537 | if BODY[e] ~= nil then | |
| 3538 | local STUFF = BODY[e] | |
| 3539 | local PART = STUFF[1] | |
| 3540 | if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
| |
| 3541 | local PRT = PART:Clone() | |
| 3542 | PRT.Anchored = true | |
| 3543 | PRT.CanCollide = false | |
| 3544 | PRT.Material = "Neon" | |
| 3545 | PRT.Color = C3(255,100,255) | |
| 3546 | PRT.Name = "WarpEffect" | |
| 3547 | PRT.Parent = Effects | |
| 3548 | PRT.CFrame = PART.CFrame | |
| 3549 | PRT:BreakJoints() | |
| 3550 | if PRT:FindFirstChildOfClass("Sound") then
| |
| 3551 | PRT:FindFirstChildOfClass("Sound"):remove()
| |
| 3552 | end | |
| 3553 | if PRT:FindFirstChildOfClass("Decal") then
| |
| 3554 | PRT:FindFirstChildOfClass("Decal"):remove()
| |
| 3555 | end | |
| 3556 | coroutine.resume(coroutine.create(function() | |
| 3557 | for i = 1, 100 do | |
| 3558 | Swait() | |
| 3559 | PRT.Transparency = PRT.Transparency + 1/100 | |
| 3560 | end | |
| 3561 | PRT:remove() | |
| 3562 | end)) | |
| 3563 | end | |
| 3564 | end | |
| 3565 | end | |
| 3566 | CreateSound(217767125, Torso, 10, 1) | |
| 3567 | local POS = RootPart.Orientation | |
| 3568 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) | |
| 3569 | RootPart.Orientation = POS | |
| 3570 | RootJoint.Parent = RootPart | |
| 3571 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 3572 | Swait() | |
| 3573 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3574 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) | |
| 3575 | end | |
| 3576 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 3577 | Swait() | |
| 3578 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) | |
| 3579 | end | |
| 3580 | ATTACK = false | |
| 3581 | Rooted = false | |
| 3582 | end | |
| 3583 | function BanishmentBeam() | |
| 3584 | ATTACK = true | |
| 3585 | Rooted = false | |
| 3586 | local GYRO = IT("BodyGyro",RootPart)
| |
| 3587 | GYRO.D = 100 | |
| 3588 | GYRO.P = 2000 | |
| 3589 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 3590 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 3591 | CreateSound("93724183", RightArm, 5, 1, false)
| |
| 3592 | for i=1, 35 do | |
| 3593 | Swait() | |
| 3594 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
| |
| 3595 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 3596 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
| 3597 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3598 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3599 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3600 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3601 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3602 | end | |
| 3603 | local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Lazer", VT(0,0,0)) | |
| 3604 | local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
| |
| 3605 | local TOCH = BEAM.Touched:Connect(function(hit) | |
| 3606 | if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then | |
| 3607 | Kill(hit) | |
| 3608 | end | |
| 3609 | end) | |
| 3610 | local I = 0 | |
| 3611 | repeat | |
| 3612 | Swait() | |
| 3613 | I = I + 1 | |
| 3614 | if I <= 10 then | |
| 3615 | BEAM.Transparency = BEAM.Transparency - 0.1 | |
| 3616 | end | |
| 3617 | local STARTPOS = RightArm.CFrame*CF(0,-4,0).p | |
| 3618 | local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character) | |
| 3619 | local DISTANCE = (STARTPOS - ENDPOS).Magnitude | |
| 3620 | BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5)) | |
| 3621 | BEAM.Size = VT(2,2,DISTANCE) | |
| 3622 | WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 3623 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
| |
| 3624 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
| |
| 3625 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 3626 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
| 3627 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3628 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3629 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3630 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3631 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3632 | if ENDHIT ~= nil then | |
| 3633 | if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then | |
| 3634 | Banish(ENDHIT) | |
| 3635 | end | |
| 3636 | end | |
| 3637 | until LOOP.Playing == false | |
| 3638 | GYRO:remove() | |
| 3639 | BEAM:remove() | |
| 3640 | ATTACK = false | |
| 3641 | Rooted = false | |
| 3642 | end | |
| 3643 | ||
| 3644 | function HI() | |
| 3645 | ATTACK = true | |
| 3646 | Rooted = false | |
| 3647 | local LOOP = 0 | |
| 3648 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 3649 | Swait() | |
| 3650 | chatfunc ("Why hello there!")
| |
| 3651 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3652 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3653 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3654 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3655 | end | |
| 3656 | for i=0, 3, 0.1 / Animation_Speed do | |
| 3657 | Swait() | |
| 3658 | LOOP = LOOP + 1 | |
| 3659 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3660 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3661 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3662 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3663 | end | |
| 3664 | for i=0, 0.1, 0.1 / Animation_Speed do | |
| 3665 | Swait() | |
| 3666 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3667 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3668 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3669 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3670 | end | |
| 3671 | ATTACK = false | |
| 3672 | Rooted = false | |
| 3673 | end | |
| 3674 | function Equivalent_Pain() | |
| 3675 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
| 3676 | if HITFLOOR then | |
| 3677 | ATTACK = true | |
| 3678 | Rooted = true | |
| 3679 | FULL = true | |
| 3680 | local GYRO = IT("BodyGyro",RootPart)
| |
| 3681 | GYRO.D = 25 | |
| 3682 | GYRO.P = 20000 | |
| 3683 | GYRO.MaxTorque = VT(0,math.huge,0) | |
| 3684 | for i=0, 0.3, 0.1 / Animation_Speed do | |
| 3685 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 3686 | Swait() | |
| 3687 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 3688 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3689 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3690 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3691 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35)), 1 / Animation_Speed) | |
| 3692 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed) | |
| 3693 | end | |
| 3694 | GYRO:remove() | |
| 3695 | CreateSound(12222200, RightArm, 10, 1) | |
| 3696 | for i=0, 0.4, 0.1 / Animation_Speed do | |
| 3697 | Swait() | |
| 3698 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed) | |
| 3699 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3700 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 3701 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 3702 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed) | |
| 3703 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 3704 | end | |
| 3705 | CreateSound(289842971, RightArm, 10, 1) | |
| 3706 | coroutine.resume(coroutine.create(function() | |
| 3707 | local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character) | |
| 3708 | local ECHO = POS | |
| 3709 | if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 3710 | HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent) | |
| 3711 | ECHO = POS | |
| 3712 | elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 3713 | HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent) | |
| 3714 | ECHO = POS | |
| 3715 | end | |
| 3716 | if ECHO.Y == HITPOS.Y then | |
| 3717 | local DISTANCE = (HITPOS - ECHO).Magnitude/3 | |
| 3718 | local CFRAME = CF(HITPOS,ECHO) | |
| 3719 | local RANGE = math.ceil(DISTANCE) | |
| 3720 | for i = 1, RANGE-1 do | |
| 3721 | Swait(3) | |
| 3722 | local A = CFRAME*CF(0,0,-i*3) | |
| 3723 | ApplyAoE(A.p,4) | |
| 3724 | CreateFlyingDebree(HITFLOOR,A,2,VT(2,2,2),2,65) | |
| 3725 | end | |
| 3726 | local SIZE = 3 | |
| 3727 | local POS = CFRAME*CF(0,0,-RANGE*3).p | |
| 3728 | WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
| |
| 3729 | WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
| |
| 3730 | WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
| |
| 3731 | for i = 1, 9 do | |
| 3732 | WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
| |
| 3733 | end | |
| 3734 | for i = 1, 9 do | |
| 3735 | WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
| |
| 3736 | end | |
| 3737 | ApplyAoE(POS,30*SIZE) | |
| 3738 | CreateDebreeRing(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5) | |
| 3739 | CreateDebreeRing(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5) | |
| 3740 | end | |
| 3741 | end)) | |
| 3742 | for i=0, 0.6, 0.1 / Animation_Speed do | |
| 3743 | Swait() | |
| 3744 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed) | |
| 3745 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3746 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
| 3747 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
| 3748 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed) | |
| 3749 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 3750 | end | |
| 3751 | FULL = false | |
| 3752 | ATTACK = false | |
| 3753 | Rooted = false | |
| 3754 | end | |
| 3755 | end | |
| 3756 | function CyberSmash() | |
| 3757 | ATTACK = true | |
| 3758 | Rooted = false | |
| 3759 | local GYRO = IT("BodyGyro",RootPart)
| |
| 3760 | GYRO.D = 100 | |
| 3761 | GYRO.P = 2000 | |
| 3762 | GYRO.MaxTorque = VT(0,4000000,0) | |
| 3763 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 3764 | local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Royal Purple", "Block", VT(25,25,25)) | |
| 3765 | SMASH.CanCollide = true | |
| 3766 | SMASH.Color = C3(0,0,0) | |
| 3767 | local EF = Instance.new("SelectionBox",SMASH)
| |
| 3768 | EF.Adornee = SMASH | |
| 3769 | EF.Color = BrickColor.new("Really red")
| |
| 3770 | EF.LineThickness = 0.2 | |
| 3771 | EF.Transparency = 1 | |
| 3772 | coroutine.resume(coroutine.create(function() | |
| 3773 | for i = 1, 20 do | |
| 3774 | Swait() | |
| 3775 | SMASH.Transparency = SMASH.Transparency - 0.05 | |
| 3776 | EF.Transparency = SMASH.Transparency | |
| 3777 | end | |
| 3778 | end)) | |
| 3779 | repeat | |
| 3780 | SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0) | |
| 3781 | Swait() | |
| 3782 | GYRO.cframe = CF(RootPart.Position,SMASH.Position) | |
| 3783 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
| 3784 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3785 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3786 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3787 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3788 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3789 | until HOLD == true and SMASH.Transparency < 0.99 | |
| 3790 | for i = 1, 25 do | |
| 3791 | Swait() | |
| 3792 | SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0) | |
| 3793 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
| 3794 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3795 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3796 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3797 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3798 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3799 | end | |
| 3800 | local TOCH = SMASH.Touched:Connect(function(hit) | |
| 3801 | if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then | |
| 3802 | Shatter(hit) | |
| 3803 | end | |
| 3804 | end) | |
| 3805 | local n0 = nil | |
| 3806 | local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character) | |
| 3807 | if HITFLOOR ~= nil then | |
| 3808 | if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then | |
| 3809 | if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 3810 | if HITFLOOR.Parent.ClassName == "Model" then | |
| 3811 | HITFLOOR.Parent:BreakJoints() | |
| 3812 | elseif HITFLOOR.Parent.Parent.ClassName == "Model" then | |
| 3813 | HITFLOOR.Parent.Parent:BreakJoints() | |
| 3814 | end | |
| 3815 | end | |
| 3816 | local POS = HITPOS | |
| 3817 | n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent) | |
| 3818 | end | |
| 3819 | end | |
| 3820 | killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter") | |
| 3821 | SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0)) | |
| 3822 | WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
| |
| 3823 | for i = 1, 25 do | |
| 3824 | Swait() | |
| 3825 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) | |
| 3826 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3827 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3828 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3829 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3830 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3831 | end | |
| 3832 | coroutine.resume(coroutine.create(function() | |
| 3833 | wait(0.2) | |
| 3834 | TOCH:disconnect() | |
| 3835 | wait(1.8) | |
| 3836 | for i = 1, 100 do | |
| 3837 | Swait() | |
| 3838 | SMASH.Transparency = i/100 | |
| 3839 | end | |
| 3840 | for i = 1, 10 do | |
| 3841 | Swait() | |
| 3842 | EF.Transparency = EF.Transparency + 0.1 | |
| 3843 | end | |
| 3844 | SMASH:remove() | |
| 3845 | end)) | |
| 3846 | GYRO:remove() | |
| 3847 | ATTACK = false | |
| 3848 | Rooted = false | |
| 3849 | end | |
| 3850 | function CyberOutburst() | |
| 3851 | if HITFLOOR ~= nil then | |
| 3852 | ATTACK = true | |
| 3853 | Rooted = true | |
| 3854 | for i=0, 2, 0.1 / Animation_Speed do | |
| 3855 | Swait() | |
| 3856 | WACKYEFFECT({EffectType = "Box", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0), MoveToPos = Torso.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 3857 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3858 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3859 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3860 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3861 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3862 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3863 | end | |
| 3864 | for i=0, 2, 0.1 / Animation_Speed do | |
| 3865 | Swait() | |
| 3866 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3867 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3868 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3869 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3870 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3871 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3872 | end | |
| 3873 | WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(25,25,25), Transparency = 0.25, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = 0.6, SoundVolume = 6})
| |
| 3874 | WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(35,35,35), Transparency = 0.5, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 0.8, SoundVolume = 4})
| |
| 3875 | WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(40,40,40), Transparency = 0.75, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 178452241, SoundPitch = 1, SoundVolume = 2})
| |
| 3876 | for i=0, 0.4, 0.1 / Animation_Speed do | |
| 3877 | Swait() | |
| 3878 | killnearest(Torso.Position,45,"Glitch") | |
| 3879 | WACKYEFFECT({Time = 75, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 3880 | WACKYEFFECT({Time = 45, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))*CF(0,0,55).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 3881 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3882 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 3883 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 3884 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(-35), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 3885 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3886 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(20.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 3887 | end | |
| 3888 | ATTACK = false | |
| 3889 | Rooted = false | |
| 3890 | end | |
| 3891 | end | |
| 3892 | --//=================================\\ | |
| 3893 | --|| ASSIGN THINGS TO KEYS | |
| 3894 | --\\=================================// | |
| 3895 | function MouseDown(Mouse) | |
| 3896 | if ATTACK == false then | |
| 3897 | Click() | |
| 3898 | end | |
| 3899 | end | |
| 3900 | function MouseDown(Mouse) | |
| 3901 | HOLD = true | |
| 3902 | if ATTACK == false then | |
| 3903 | end | |
| 3904 | end | |
| 3905 | ||
| 3906 | function MouseUp(Mouse) | |
| 3907 | HOLD = false | |
| 3908 | end | |
| 3909 | ||
| 3910 | function KeyDown(Key) | |
| 3911 | KEYHOLD = true | |
| 3912 | if Key == "q" and ATTACK == false then | |
| 3913 | Morning_Star() | |
| 3914 | end | |
| 3915 | if Key == "po" and ATTACK == false then | |
| 3916 | Corrupted_Explosion() | |
| 3917 | end | |
| 3918 | if Key == "z" and ATTACK == false then | |
| 3919 | Unload() | |
| 3920 | end | |
| 3921 | if Key == "x" and ATTACK == false then | |
| 3922 | CyberOutburst() | |
| 3923 | end | |
| 3924 | if Key == "l" and ATTACK == false then | |
| 3925 | Banisher_Bullet() | |
| 3926 | end | |
| 3927 | if Key == "r" and ATTACK == false then | |
| 3928 | HI() | |
| 3929 | end | |
| 3930 | if Key == "p" and ATTACK == false then | |
| 3931 | CyberSmash() | |
| 3932 | end | |
| 3933 | if Key == "p" and ATTACK == false then | |
| 3934 | Equivalent_Pain() | |
| 3935 | end | |
| 3936 | if Key == "h" and ATTACK == false then | |
| 3937 | BanishmentBeam() | |
| 3938 | end | |
| 3939 | if Key == "v" and ATTACK == false then | |
| 3940 | Teleport() | |
| 3941 | end | |
| 3942 | if Key == "c" and ATTACK == false then | |
| 3943 | ChainPunch() | |
| 3944 | end | |
| 3945 | if Key == "b" and ATTACK == false then | |
| 3946 | TakeOnMe() | |
| 3947 | end | |
| 3948 | if Key == "e" and ATTACK == false then | |
| 3949 | PandorasBox() | |
| 3950 | end | |
| 3951 | ||
| 3952 | if Key == "y" and ATTACK == false then | |
| 3953 | TimeStop() | |
| 3954 | end | |
| 3955 | if Key == "po23" and ATTACK == false then | |
| 3956 | Meteor_Shower() | |
| 3957 | end | |
| 3958 | if Key == "f" and ATTACK == false then | |
| 3959 | Deathbound() | |
| 3960 | end | |
| 3961 | if Key == "n" and ATTACK == false then | |
| 3962 | Whitelist() | |
| 3963 | end | |
| 3964 | if Key == "m" and ATTACK == false then | |
| 3965 | Clear_Whitelist() | |
| 3966 | end | |
| 3967 | if Key == "t" and ATTACK == false then | |
| 3968 | Taunt() | |
| 3969 | elseif Key == "1" and ATTACK == false then | |
| 3970 | if CHOICE ~= 1 then | |
| 3971 | CHOICE = 1 | |
| 3972 | sick:Play() | |
| 3973 | chatfunc("Original Song")
| |
| 3974 | end | |
| 3975 | elseif Key == "2" and ATTACK == false then | |
| 3976 | if CHOICE ~= 2 then | |
| 3977 | CHOICE = 2 | |
| 3978 | sick:Play() | |
| 3979 | chatfunc("Custom Song..")
| |
| 3980 | end | |
| 3981 | elseif Key == "3" and ATTACK == false then | |
| 3982 | if CHOICE ~= 3 then | |
| 3983 | CHOICE = 3 | |
| 3984 | sick:Play() | |
| 3985 | chatfunc("Custom Song")
| |
| 3986 | tecks2.Color = Color3.new (255,0,0) | |
| 3987 | end | |
| 3988 | elseif Key == "4" and ATTACK == false then | |
| 3989 | if CHOICE ~= 4 then | |
| 3990 | CHOICE = 4 | |
| 3991 | sick:Play() | |
| 3992 | chatfunc("Custom Song.")
| |
| 3993 | end | |
| 3994 | elseif Key == "5" and ATTACK == false then | |
| 3995 | if CHOICE ~= 5 then | |
| 3996 | CHOICE = 5 | |
| 3997 | sick:Play() | |
| 3998 | chatfunc("I'll take a break, Why not.")
| |
| 3999 | end | |
| 4000 | elseif Key == "6" and ATTACK == false then | |
| 4001 | if CHOICE ~= 6 then | |
| 4002 | CHOICE = 6 | |
| 4003 | sick:Play() | |
| 4004 | chatfunc("Switching to A Custom Song...")
| |
| 4005 | end | |
| 4006 | elseif Key == "7" and ATTACK == false then | |
| 4007 | if CHOICE ~= 7 then | |
| 4008 | CHOICE = 7 | |
| 4009 | sick:Play() | |
| 4010 | chatfunc("Switching to a custom song.")
| |
| 4011 | end | |
| 4012 | elseif Key == "8" and ATTACK == false then | |
| 4013 | if CHOICE ~= 8 then | |
| 4014 | CHOICE = 8 | |
| 4015 | sick:Play() | |
| 4016 | chatfunc("Switching to a custom song..")
| |
| 4017 | end | |
| 4018 | elseif Key == "9" and ATTACK == false then | |
| 4019 | if CHOICE ~= 9 then | |
| 4020 | CHOICE = 9 | |
| 4021 | sick:Play() | |
| 4022 | chatfunc("Switching to the last custom song.")
| |
| 4023 | end | |
| 4024 | elseif Key == "0" and ATTACK == false then | |
| 4025 | if CHOICE ~= 10 then | |
| 4026 | CHOICE = 10 | |
| 4027 | sick:Play() | |
| 4028 | chatfunc("Music Is Turned Off.")
| |
| 4029 | end | |
| 4030 | end | |
| 4031 | end | |
| 4032 | ||
| 4033 | function KeyUp(Key) | |
| 4034 | KEYHOLD = false | |
| 4035 | end | |
| 4036 | ||
| 4037 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 4038 | MouseDown(NEWKEY) | |
| 4039 | end) | |
| 4040 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 4041 | MouseUp(NEWKEY) | |
| 4042 | end) | |
| 4043 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 4044 | KeyDown(NEWKEY) | |
| 4045 | end) | |
| 4046 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 4047 | KeyUp(NEWKEY) | |
| 4048 | end) | |
| 4049 | ||
| 4050 | --//=================================\\ | |
| 4051 | --\\=================================// | |
| 4052 | ||
| 4053 | ||
| 4054 | function unanchor() | |
| 4055 | if UNANCHOR == true then | |
| 4056 | RootPart.Anchored = false | |
| 4057 | end | |
| 4058 | g = Character:GetChildren() | |
| 4059 | for i = 1, #g do | |
| 4060 | if g[i].ClassName == "Part" and g[i] ~= RootPart then | |
| 4061 | g[i].Anchored = false | |
| 4062 | end | |
| 4063 | end | |
| 4064 | g = Weapon:GetChildren() | |
| 4065 | for i = 1, #g do | |
| 4066 | if g[i].ClassName == "Part" then | |
| 4067 | g[i].Anchored = false | |
| 4068 | end | |
| 4069 | end | |
| 4070 | end | |
| 4071 | ||
| 4072 | ||
| 4073 | --//=================================\\ | |
| 4074 | --|| WRAP THE WHOLE SCRIPT UP | |
| 4075 | --\\=================================// | |
| 4076 | ||
| 4077 | Humanoid.Changed:connect(function(Jump) | |
| 4078 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 4079 | Humanoid.Jump = false | |
| 4080 | end | |
| 4081 | end) | |
| 4082 | ||
| 4083 | while true do | |
| 4084 | Swait() | |
| 4085 | refit() | |
| 4086 | script.Parent = WEAPONGUI | |
| 4087 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 4088 | v:Stop(); | |
| 4089 | end | |
| 4090 | ANIMATE.Parent = nil | |
| 4091 | SINE = SINE + CHANGE*1.5 | |
| 4092 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 4093 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 4094 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 4095 | local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16) | |
| 4096 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 4097 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 4098 | Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 4099 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 4100 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 4101 | Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 4102 | end | |
| 4103 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 4104 | ANIM = "Jump" | |
| 4105 | if ATTACK == false then | |
| 4106 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4107 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4108 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 4109 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 4110 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
| 4111 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed) | |
| 4112 | end | |
| 4113 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 4114 | ANIM = "Fall" | |
| 4115 | if ATTACK == false then | |
| 4116 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4117 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4118 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 4119 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 4120 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
| 4121 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
| 4122 | end | |
| 4123 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 4124 | ANIM = "Idle" | |
| 4125 | if ATTACK == false then | |
| 4126 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) | |
| 4127 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4128 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 4129 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(15 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 4130 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4131 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4132 | end | |
| 4133 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 4134 | ANIM = "Walk" | |
| 4135 | if ATTACK == false then | |
| 4136 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4137 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 4138 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 4139 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 4140 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 4141 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 4142 | end | |
| 4143 | end | |
| 4144 | unanchor() | |
| 4145 | Humanoid.MaxHealth = "inf" | |
| 4146 | Humanoid.Health = "inf" | |
| 4147 | if Rooted == false then | |
| 4148 | Disable_Jump = false | |
| 4149 | Humanoid.WalkSpeed = Speed | |
| 4150 | elseif Rooted == true then | |
| 4151 | Disable_Jump = true | |
| 4152 | Humanoid.WalkSpeed = 0 | |
| 4153 | end | |
| 4154 | for _, c in pairs(Character:GetChildren()) do | |
| 4155 | if c.ClassName == "Part" and c.Name ~= "Detail" then | |
| 4156 | c.Material = "Neon" | |
| 4157 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 4158 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 4159 | end | |
| 4160 | if c ~= Head then | |
| 4161 | c.Color = C3(0,0,0) | |
| 4162 | else | |
| 4163 | c.Color = C3(0,0,0) | |
| 4164 | end | |
| 4165 | if c == Head then | |
| 4166 | if c:FindFirstChild("face") then
| |
| 4167 | c.face:remove() | |
| 4168 | end | |
| 4169 | end | |
| 4170 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
| 4171 | c:remove() | |
| 4172 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 4173 | c:remove() | |
| 4174 | end | |
| 4175 | end | |
| 4176 | sick.SoundId = "rbxassetid://"..bored[CHOICE] | |
| 4177 | sick.Looped = true | |
| 4178 | sick.Pitch = 1 | |
| 4179 | sick.Volume = 999999 | |
| 4180 | sick.Parent = Character | |
| 4181 | sick:Resume() | |
| 4182 | --sick.Playing = false | |
| 4183 | Humanoid.Name = "Master of Time = "..Player.Name | |
| 4184 | end | |
| 4185 | ||
| 4186 | --//=================================\\ | |
| 4187 | --\\=================================// | |
| 4188 | ||
| 4189 | ||
| 4190 | ||
| 4191 | ||
| 4192 | ||
| 4193 | --//====================================================\\-- | |
| 4194 | --|| END OF SCRIPT | |
| 4195 | --\\====================================================//-- |