SHOW:
|
|
- or go back to the newest paste.
| 1 | --//====================================================\\-- | |
| 2 | --|| CREATED BY SHACKLUSTER | |
| 3 | --\\====================================================//-- | |
| 4 | ||
| 5 | wait(0.2) | |
| 6 | ||
| 7 | Player = game:GetService("Players").LocalPlayer
| |
| 8 | PlayerGui = Player.PlayerGui | |
| 9 | Cam = workspace.CurrentCamera | |
| 10 | Backpack = Player.Backpack | |
| 11 | Character = Player.Character | |
| 12 | Humanoid = Character.Humanoid | |
| 13 | Mouse = Player:GetMouse() | |
| 14 | RootPart = Character["HumanoidRootPart"] | |
| 15 | Torso = Character["Torso"] | |
| 16 | Head = Character["Head"] | |
| 17 | RightArm = Character["Right Arm"] | |
| 18 | LeftArm = Character["Left Arm"] | |
| 19 | RightLeg = Character["Right Leg"] | |
| 20 | LeftLeg = Character["Left Leg"] | |
| 21 | RootJoint = RootPart["RootJoint"] | |
| 22 | Neck = Torso["Neck"] | |
| 23 | RightShoulder = Torso["Right Shoulder"] | |
| 24 | LeftShoulder = Torso["Left Shoulder"] | |
| 25 | RightHip = Torso["Right Hip"] | |
| 26 | LeftHip = Torso["Left Hip"] | |
| 27 | Character.Archivable = true | |
| 28 | Player:ClearCharacterAppearance() | |
| 29 | ||
| 30 | IT = Instance.new | |
| 31 | CF = CFrame.new | |
| 32 | VT = Vector3.new | |
| 33 | RAD = math.rad | |
| 34 | C3 = Color3.new | |
| 35 | UD2 = UDim2.new | |
| 36 | BRICKC = BrickColor.new | |
| 37 | ANGLES = CFrame.Angles | |
| 38 | EULER = CFrame.fromEulerAnglesXYZ | |
| 39 | COS = math.cos | |
| 40 | ACOS = math.acos | |
| 41 | SIN = math.sin | |
| 42 | ASIN = math.asin | |
| 43 | ABS = math.abs | |
| 44 | MRANDOM = math.random | |
| 45 | FLOOR = math.floor | |
| 46 | ||
| 47 | --//=================================\\ | |
| 48 | --|| USEFUL VALUES | |
| 49 | --\\=================================// | |
| 50 | ||
| 51 | Animation_Speed = 3 | |
| 52 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 53 | local Speed = 20 | |
| 54 | local SIZE = 1.4 | |
| 55 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 56 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 57 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 58 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 59 | local DAMAGEMULTIPLIER = 1 | |
| 60 | local ANIM = "Idle" | |
| 61 | local ATTACK = false | |
| 62 | local EQUIPPED = false | |
| 63 | local HOLD = false | |
| 64 | local COMBO = 1 | |
| 65 | local Rooted = false | |
| 66 | local SINE = 0 | |
| 67 | local KEYHOLD = false | |
| 68 | local CHANGE = 2 / Animation_Speed | |
| 69 | local WALKINGANIM = false | |
| 70 | local VALUE1 = false | |
| 71 | local VALUE2 = false | |
| 72 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 73 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 74 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 75 | local ATANIM = IT("Animation")
| |
| 76 | ATANIM.Name = "Attack Animation" | |
| 77 | ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663" | |
| 78 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 79 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 80 | WEAPONGUI.Name = "Weapon GUI" | |
| 81 | local Weapon = IT("Model")
| |
| 82 | Weapon.Name = "Adds" | |
| 83 | local Effects = IT("Folder", Weapon)
| |
| 84 | Effects.Name = "Effects" | |
| 85 | local ANIMATOR = Humanoid.Animator | |
| 86 | local ANIMATE = Character.Animate | |
| 87 | local UNANCHOR = true | |
| 88 | local CLOCKLOOP = 0 | |
| 89 | - | local SONG = 1382488262 |
| 89 | + | |
| 90 | local CLOCKSPEED = 1.5 | |
| 91 | - | local CLOCKSPEED = 1 |
| 91 | + | |
| 92 | local CLONE = Character:Clone() | |
| 93 | CLONE.Parent = nil | |
| 94 | Character.Archivable = false | |
| 95 | ||
| 96 | - | local sick = Instance.new("Sound",Torso)
|
| 96 | + | |
| 97 | --\\=================================// | |
| 98 | ||
| 99 | ||
| 100 | --//=================================\\ | |
| 101 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 102 | --\\=================================// | |
| 103 | ||
| 104 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 105 | ArtificialHB.Name = "ArtificialHB" | |
| 106 | ||
| 107 | script:WaitForChild("ArtificialHB")
| |
| 108 | ||
| 109 | frame = Frame_Speed | |
| 110 | tf = 0 | |
| 111 | allowframeloss = false | |
| 112 | tossremainder = false | |
| 113 | lastframe = tick() | |
| 114 | script.ArtificialHB:Fire() | |
| 115 | ||
| 116 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 117 | tf = tf + s | |
| 118 | if tf >= frame then | |
| 119 | if allowframeloss then | |
| 120 | script.ArtificialHB:Fire() | |
| 121 | lastframe = tick() | |
| 122 | else | |
| 123 | for i = 1, math.floor(tf / frame) do | |
| 124 | script.ArtificialHB:Fire() | |
| 125 | end | |
| 126 | lastframe = tick() | |
| 127 | end | |
| 128 | if tossremainder then | |
| 129 | tf = 0 | |
| 130 | else | |
| 131 | tf = tf - frame * math.floor(tf / frame) | |
| 132 | end | |
| 133 | end | |
| 134 | end) | |
| 135 | ||
| 136 | --//=================================\\ | |
| 137 | --\\=================================// | |
| 138 | ||
| 139 | --//=================================\\ | |
| 140 | --|| SOME FUNCTIONS | |
| 141 | --\\=================================// | |
| 142 | ||
| 143 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 144 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 145 | end | |
| 146 | ||
| 147 | function PositiveAngle(NUMBER) | |
| 148 | if NUMBER >= 0 then | |
| 149 | NUMBER = 0 | |
| 150 | end | |
| 151 | return NUMBER | |
| 152 | end | |
| 153 | ||
| 154 | function NegativeAngle(NUMBER) | |
| 155 | if NUMBER <= 0 then | |
| 156 | NUMBER = 0 | |
| 157 | end | |
| 158 | return NUMBER | |
| 159 | end | |
| 160 | ||
| 161 | function Swait(NUMBER) | |
| 162 | if NUMBER == 0 or NUMBER == nil then | |
| 163 | ArtificialHB.Event:wait() | |
| 164 | else | |
| 165 | for i = 1, NUMBER do | |
| 166 | ArtificialHB.Event:wait() | |
| 167 | end | |
| 168 | end | |
| 169 | end | |
| 170 | ||
| 171 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 172 | local NEWMESH = IT(MESH) | |
| 173 | if MESH == "SpecialMesh" then | |
| 174 | NEWMESH.MeshType = MESHTYPE | |
| 175 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 176 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 177 | end | |
| 178 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 179 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 180 | end | |
| 181 | end | |
| 182 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 183 | NEWMESH.Scale = SCALE | |
| 184 | NEWMESH.Parent = PARENT | |
| 185 | return NEWMESH | |
| 186 | end | |
| 187 | ||
| 188 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 189 | local NEWPART = IT("Part")
| |
| 190 | NEWPART.formFactor = FORMFACTOR | |
| 191 | NEWPART.Reflectance = REFLECTANCE | |
| 192 | NEWPART.Transparency = TRANSPARENCY | |
| 193 | NEWPART.CanCollide = false | |
| 194 | NEWPART.Locked = true | |
| 195 | NEWPART.Anchored = true | |
| 196 | if ANCHOR == false then | |
| 197 | NEWPART.Anchored = false | |
| 198 | end | |
| 199 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 200 | NEWPART.Name = NAME | |
| 201 | NEWPART.Size = SIZE | |
| 202 | NEWPART.Position = Torso.Position | |
| 203 | NEWPART.Material = MATERIAL | |
| 204 | NEWPART:BreakJoints() | |
| 205 | NEWPART.Parent = PARENT | |
| 206 | return NEWPART | |
| 207 | end | |
| 208 | ||
| 209 | local function weldBetween(a, b) | |
| 210 | local weldd = Instance.new("ManualWeld")
| |
| 211 | weldd.Part0 = a | |
| 212 | weldd.Part1 = b | |
| 213 | weldd.C0 = CFrame.new() | |
| 214 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 215 | weldd.Parent = a | |
| 216 | return weldd | |
| 217 | end | |
| 218 | ||
| 219 | ||
| 220 | function QuaternionFromCFrame(cf) | |
| 221 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 222 | local trace = m00 + m11 + m22 | |
| 223 | if trace > 0 then | |
| 224 | local s = math.sqrt(1 + trace) | |
| 225 | local recip = 0.5 / s | |
| 226 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 227 | else | |
| 228 | local i = 0 | |
| 229 | if m11 > m00 then | |
| 230 | i = 1 | |
| 231 | end | |
| 232 | if m22 > (i == 0 and m00 or m11) then | |
| 233 | i = 2 | |
| 234 | end | |
| 235 | if i == 0 then | |
| 236 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 237 | local recip = 0.5 / s | |
| 238 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 239 | elseif i == 1 then | |
| 240 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 241 | local recip = 0.5 / s | |
| 242 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 243 | elseif i == 2 then | |
| 244 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 245 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 246 | end | |
| 247 | end | |
| 248 | end | |
| 249 | ||
| 250 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 251 | local xs, ys, zs = x + x, y + y, z + z | |
| 252 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 253 | local xx = x * xs | |
| 254 | local xy = x * ys | |
| 255 | local xz = x * zs | |
| 256 | local yy = y * ys | |
| 257 | local yz = y * zs | |
| 258 | local zz = z * zs | |
| 259 | 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)) | |
| 260 | end | |
| 261 | ||
| 262 | function QuaternionSlerp(a, b, t) | |
| 263 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 264 | local startInterp, finishInterp; | |
| 265 | if cosTheta >= 0.0001 then | |
| 266 | if (1 - cosTheta) > 0.0001 then | |
| 267 | local theta = ACOS(cosTheta) | |
| 268 | local invSinTheta = 1 / SIN(theta) | |
| 269 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 270 | finishInterp = SIN(t * theta) * invSinTheta | |
| 271 | else | |
| 272 | startInterp = 1 - t | |
| 273 | finishInterp = t | |
| 274 | end | |
| 275 | else | |
| 276 | if (1 + cosTheta) > 0.0001 then | |
| 277 | local theta = ACOS(-cosTheta) | |
| 278 | local invSinTheta = 1 / SIN(theta) | |
| 279 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 280 | finishInterp = SIN(t * theta) * invSinTheta | |
| 281 | else | |
| 282 | startInterp = t - 1 | |
| 283 | finishInterp = t | |
| 284 | end | |
| 285 | end | |
| 286 | 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 | |
| 287 | end | |
| 288 | ||
| 289 | function Clerp(a, b, t) | |
| 290 | local qa = {QuaternionFromCFrame(a)}
| |
| 291 | local qb = {QuaternionFromCFrame(b)}
| |
| 292 | local ax, ay, az = a.x, a.y, a.z | |
| 293 | local bx, by, bz = b.x, b.y, b.z | |
| 294 | local _t = 1 - t | |
| 295 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 296 | end | |
| 297 | ||
| 298 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 299 | local frame = IT("Frame")
| |
| 300 | frame.BackgroundTransparency = TRANSPARENCY | |
| 301 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 302 | frame.Position = POSITION | |
| 303 | frame.Size = SIZE | |
| 304 | frame.BackgroundColor3 = COLOR | |
| 305 | frame.BorderColor3 = BORDERCOLOR | |
| 306 | frame.Name = NAME | |
| 307 | frame.Parent = PARENT | |
| 308 | return frame | |
| 309 | end | |
| 310 | ||
| 311 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 312 | local label = IT("TextLabel")
| |
| 313 | label.BackgroundTransparency = 1 | |
| 314 | label.Size = UD2(1, 0, 1, 0) | |
| 315 | label.Position = UD2(0, 0, 0, 0) | |
| 316 | label.TextColor3 = TEXTCOLOR | |
| 317 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 318 | label.TextTransparency = TRANSPARENCY | |
| 319 | label.FontSize = TEXTFONTSIZE | |
| 320 | label.Font = TEXTFONT | |
| 321 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 322 | label.TextStrokeColor3 = C3(1,1,1) | |
| 323 | label.TextScaled = false | |
| 324 | label.Text = TEXT | |
| 325 | label.Name = NAME | |
| 326 | label.Parent = PARENT | |
| 327 | return label | |
| 328 | end | |
| 329 | ||
| 330 | function NoOutlines(PART) | |
| 331 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 332 | end | |
| 333 | ||
| 334 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 335 | local NEWWELD = IT(TYPE) | |
| 336 | NEWWELD.Part0 = PART0 | |
| 337 | NEWWELD.Part1 = PART1 | |
| 338 | NEWWELD.C0 = C0 | |
| 339 | NEWWELD.C1 = C1 | |
| 340 | NEWWELD.Parent = PARENT | |
| 341 | return NEWWELD | |
| 342 | end | |
| 343 | ||
| 344 | local S = IT("Sound")
| |
| 345 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 346 | local NEWSOUND = nil | |
| 347 | coroutine.resume(coroutine.create(function() | |
| 348 | NEWSOUND = S:Clone() | |
| 349 | NEWSOUND.Parent = PARENT | |
| 350 | NEWSOUND.Volume = VOLUME | |
| 351 | NEWSOUND.Pitch = PITCH | |
| 352 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 353 | NEWSOUND:play() | |
| 354 | if DOESLOOP == true then | |
| 355 | NEWSOUND.Looped = true | |
| 356 | else | |
| 357 | repeat wait(1) until NEWSOUND.Playing == false | |
| 358 | NEWSOUND:remove() | |
| 359 | end | |
| 360 | end)) | |
| 361 | return NEWSOUND | |
| 362 | end | |
| 363 | ||
| 364 | function CFrameFromTopBack(at, top, back) | |
| 365 | local right = top:Cross(back) | |
| 366 | 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) | |
| 367 | end | |
| 368 | ||
| 369 | --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})
| |
| 370 | function WACKYEFFECT(Table) | |
| 371 | local TYPE = (Table.EffectType or "Sphere") | |
| 372 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 373 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 374 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 375 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 376 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 377 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 378 | local ROTATION1 = (Table.RotationX or 0) | |
| 379 | local ROTATION2 = (Table.RotationY or 0) | |
| 380 | local ROTATION3 = (Table.RotationZ or 0) | |
| 381 | local MATERIAL = (Table.Material or "Neon") | |
| 382 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 383 | local TIME = (Table.Time or 45) | |
| 384 | local SOUNDID = (Table.SoundID or nil) | |
| 385 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 386 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 387 | coroutine.resume(coroutine.create(function() | |
| 388 | local PLAYSSOUND = false | |
| 389 | local SOUND = nil | |
| 390 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Gold"), "Effect", VT(1,1,1), true)
| |
| 391 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 392 | - | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
|
| 392 | + | |
| 393 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 394 | end | |
| 395 | EFFECT.Color = COLOR | |
| 396 | local MSH = nil | |
| 397 | if TYPE == "Sphere" then | |
| 398 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 399 | elseif TYPE == "Block" then | |
| 400 | MSH = IT("BlockMesh",EFFECT)
| |
| 401 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 402 | elseif TYPE == "Wave" then | |
| 403 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 404 | elseif TYPE == "Ring" then | |
| 405 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 406 | elseif TYPE == "Slash" then | |
| 407 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 408 | elseif TYPE == "Round Slash" then | |
| 409 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 410 | elseif TYPE == "Swirl" then | |
| 411 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 412 | elseif TYPE == "Skull" then | |
| 413 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 414 | elseif TYPE == "Crystal" then | |
| 415 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 416 | end | |
| 417 | if MSH ~= nil then | |
| 418 | local MOVESPEED = nil | |
| 419 | if MOVEDIRECTION ~= nil then | |
| 420 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 421 | end | |
| 422 | local GROWTH = SIZE - ENDSIZE | |
| 423 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 424 | if TYPE == "Block" then | |
| 425 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 426 | else | |
| 427 | EFFECT.CFrame = CFRAME | |
| 428 | end | |
| 429 | for LOOP = 1, TIME+1 do | |
| 430 | Swait() | |
| 431 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 432 | if TYPE == "Wave" then | |
| 433 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 434 | end | |
| 435 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 436 | if TYPE == "Block" then | |
| 437 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 438 | else | |
| 439 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 440 | end | |
| 441 | if MOVEDIRECTION ~= nil then | |
| 442 | local ORI = EFFECT.Orientation | |
| 443 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 444 | EFFECT.Orientation = ORI | |
| 445 | end | |
| 446 | end | |
| 447 | if PLAYSSOUND == false then | |
| 448 | EFFECT:remove() | |
| 449 | else | |
| 450 | repeat Swait() until SOUND.Playing == false | |
| 451 | EFFECT:remove() | |
| 452 | end | |
| 453 | else | |
| 454 | if PLAYSSOUND == false then | |
| 455 | EFFECT:remove() | |
| 456 | else | |
| 457 | repeat Swait() until SOUND.Playing == false | |
| 458 | EFFECT:remove() | |
| 459 | end | |
| 460 | end | |
| 461 | end)) | |
| 462 | end | |
| 463 | ||
| 464 | function MakeForm(PART,TYPE) | |
| 465 | if TYPE == "Cyl" then | |
| 466 | local MSH = IT("CylinderMesh",PART)
| |
| 467 | elseif TYPE == "Ball" then | |
| 468 | local MSH = IT("SpecialMesh",PART)
| |
| 469 | MSH.MeshType = "Sphere" | |
| 470 | elseif TYPE == "Wedge" then | |
| 471 | local MSH = IT("SpecialMesh",PART)
| |
| 472 | MSH.MeshType = "Wedge" | |
| 473 | end | |
| 474 | end | |
| 475 | ||
| 476 | Debris = game:GetService("Debris")
| |
| 477 | ||
| 478 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 479 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 480 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 481 | end | |
| 482 | ||
| 483 | function turnto(position) | |
| 484 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 485 | end | |
| 486 | ||
| 487 | --//=================================\\ | |
| 488 | --|| WEAPON CREATION | |
| 489 | --\\=================================// | |
| 490 | ||
| 491 | Humanoid.Parent = nil | |
| 492 | RootPart.Size = RootPart.Size*SIZE | |
| 493 | Torso.Size = Torso.Size*SIZE | |
| 494 | RightArm.Size = RightArm.Size*SIZE | |
| 495 | RightLeg.Size = RightLeg.Size*SIZE | |
| 496 | LeftArm.Size = LeftArm.Size*SIZE | |
| 497 | LeftLeg.Size = LeftLeg.Size*SIZE | |
| 498 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 499 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 500 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 501 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 502 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 503 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 504 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 505 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 506 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 507 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 508 | Head.Size = Head.Size*SIZE | |
| 509 | RootJoint.Parent = RootPart | |
| 510 | Neck.Parent = Torso | |
| 511 | RightShoulder.Parent = Torso | |
| 512 | LeftShoulder.Parent = Torso | |
| 513 | RightHip.Parent = Torso | |
| 514 | LeftHip.Parent = Torso | |
| 515 | ||
| 516 | Humanoid.DisplayDistanceType = "None" | |
| 517 | local naeeym2 = IT("BillboardGui",Character)
| |
| 518 | naeeym2.AlwaysOnTop = true | |
| 519 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 520 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 521 | naeeym2.MaxDistance = 75 | |
| 522 | naeeym2.Adornee = Character.Head | |
| 523 | naeeym2.Name = "Name" | |
| 524 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 525 | tecks2.BackgroundTransparency = 1 | |
| 526 | tecks2.TextScaled = true | |
| 527 | tecks2.BorderSizePixel = 0 | |
| 528 | tecks2.Text = "buff boii with watcc" | |
| 529 | tecks2.Font = "Fantasy" | |
| 530 | - | tecks2.Text = "Pandora" |
| 530 | + | |
| 531 | tecks2.TextStrokeTransparency = 0 | |
| 532 | tecks2.TextColor3 = C3(1,1,1) | |
| 533 | tecks2.TextStrokeColor3 = C3(255, 255, 0) | |
| 534 | tecks2.Rotation = math.random(-4, 4) | |
| 535 | - | tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255) |
| 535 | + | |
| 536 | tecks2.Parent = naeeym2 | |
| 537 | ||
| 538 | - | local top = Instance.new("Shirt")
|
| 538 | + | |
| 539 | - | top.ShirtTemplate = "rbxassetid://1533635803" |
| 539 | + | |
| 540 | - | top.Parent = Character |
| 540 | + | |
| 541 | - | top.Name = "Cloth" |
| 541 | + | |
| 542 | - | local bottom = Instance.new("Pants")
|
| 542 | + | |
| 543 | - | bottom.PantsTemplate = "rbxassetid://1460022985" |
| 543 | + | |
| 544 | - | bottom.Parent = Character |
| 544 | + | |
| 545 | - | bottom.Name = "Cloth" |
| 545 | + | |
| 546 | - | local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false) |
| 546 | + | PRT.Color = C3(255, 255, 0) |
| 547 | local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false) | |
| 548 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 548 | + | |
| 549 | - | CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
|
| 549 | + | |
| 550 | - | local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false) |
| 550 | + | |
| 551 | - | PRT.Color = C3(1,1,1) |
| 551 | + | |
| 552 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
|
| 552 | + | |
| 553 | - | CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
|
| 553 | + | |
| 554 | - | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false) |
| 554 | + | |
| 555 | - | PRT.Color = C3(159/255, 111/255, 183/255) |
| 555 | + | |
| 556 | - | MakeForm(PRT,"Ball") |
| 556 | + | |
| 557 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
|
| 557 | + | |
| 558 | - | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false) |
| 558 | + | |
| 559 | - | PRT.Color = C3(159/255, 111/255, 183/255) |
| 559 | + | |
| 560 | - | MakeForm(PRT,"Ball") |
| 560 | + | |
| 561 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
|
| 561 | + | |
| 562 | - | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false) |
| 562 | + | |
| 563 | - | PRT.Color = C3(159/255, 111/255, 183/255) |
| 563 | + | |
| 564 | - | MakeForm(PRT,"Ball") |
| 564 | + | |
| 565 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
|
| 565 | + | |
| 566 | - | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false) |
| 566 | + | |
| 567 | - | PRT.Color = C3(159/255, 111/255, 183/255) |
| 567 | + | |
| 568 | - | MakeForm(PRT,"Ball") |
| 568 | + | |
| 569 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
|
| 569 | + | |
| 570 | - | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false) |
| 570 | + | |
| 571 | - | PRT.Color = C3(159/255, 111/255, 183/255) |
| 571 | + | CLOCKLOOP = CLOCKLOOP - 8*CLOCKSPEED |
| 572 | - | MakeForm(PRT,"Ball") |
| 572 | + | |
| 573 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
|
| 573 | + | |
| 574 | - | local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false) |
| 574 | + | |
| 575 | - | PRT.Color = C3(159/255, 111/255, 183/255) |
| 575 | + | |
| 576 | - | MakeForm(PRT,"Ball") |
| 576 | + | |
| 577 | - | CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
|
| 577 | + | WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(0.1,0.1,0.1), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = 0, SoundPitch = 0, SoundVolume = 0})
|
| 578 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 579 | - | local LASTPART = Head |
| 579 | + | |
| 580 | - | for i = 1, 24 do |
| 580 | + | 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, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 2})
|
| 581 | - | local MATH = (1-(i/30)) |
| 581 | + | 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, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 2})
|
| 582 | - | if LASTPART == Head then |
| 582 | + | |
| 583 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 583 | + | |
| 584 | - | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
|
| 584 | + | |
| 585 | - | LASTPART = Horn |
| 585 | + | |
| 586 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 586 | + | |
| 587 | if CLOCKTARGET.Health == 0 then | |
| 588 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 588 | + | |
| 589 | - | 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))
|
| 589 | + | |
| 590 | - | LASTPART = Horn |
| 590 | + | |
| 591 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 591 | + | |
| 592 | end | |
| 593 | end | |
| 594 | - | local LASTPART = Head |
| 594 | + | |
| 595 | - | for i = 1, 24 do |
| 595 | + | |
| 596 | - | local MATH = (1-(i/30)) |
| 596 | + | |
| 597 | - | if LASTPART == Head then |
| 597 | + | |
| 598 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 598 | + | |
| 599 | - | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
|
| 599 | + | |
| 600 | - | LASTPART = Horn |
| 600 | + | |
| 601 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 601 | + | |
| 602 | Neck.Name = "Weld" | |
| 603 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 603 | + | |
| 604 | - | 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))
|
| 604 | + | |
| 605 | - | LASTPART = Horn |
| 605 | + | |
| 606 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 606 | + | |
| 607 | LeftHip.Name = "Weld" | |
| 608 | ||
| 609 | - | local LASTPART = Head |
| 609 | + | local SKILLTEXTCOLOR = C3(255, 255, 0) |
| 610 | - | for i = 1, 8 do |
| 610 | + | |
| 611 | - | local MATH = (1-(i/14)) |
| 611 | + | |
| 612 | - | if LASTPART == Head then |
| 612 | + | |
| 613 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 613 | + | |
| 614 | - | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
|
| 614 | + | |
| 615 | - | LASTPART = Horn |
| 615 | + | |
| 616 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 616 | + | |
| 617 | ATTACK = true | |
| 618 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 618 | + | |
| 619 | - | 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))
|
| 619 | + | |
| 620 | - | LASTPART = Horn |
| 620 | + | |
| 621 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 621 | + | |
| 622 | 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") | |
| 623 | 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") | |
| 624 | - | local LASTPART = Head |
| 624 | + | |
| 625 | - | for i = 1, 8 do |
| 625 | + | |
| 626 | - | local MATH = (1-(i/14)) |
| 626 | + | |
| 627 | - | if LASTPART == Head then |
| 627 | + | |
| 628 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 628 | + | |
| 629 | - | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
|
| 629 | + | |
| 630 | - | LASTPART = Horn |
| 630 | + | |
| 631 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 631 | + | |
| 632 | --//=================================\\ | |
| 633 | - | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false) |
| 633 | + | |
| 634 | - | 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))
|
| 634 | + | |
| 635 | - | LASTPART = Horn |
| 635 | + | |
| 636 | - | Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255)) |
| 636 | + | |
| 637 | local defence = Instance.new("BoolValue",Humanoid.Parent)
| |
| 638 | defence.Name = ("HitBy"..Player.Name)
| |
| 639 | game:GetService("Debris"):AddItem(defence, 0.001)
| |
| 640 | Damage = Damage * DAMAGEMULTIPLIER | |
| 641 | if Humanoid.Health ~= 0 then | |
| 642 | local CritChance = MRANDOM(1,100) | |
| 643 | if Damage > Humanoid.Health then | |
| 644 | Damage = math.ceil(Humanoid.Health) | |
| 645 | if Damage == 0 then | |
| 646 | Damage = 0.1 | |
| 647 | - | PRT.Color = C3(159/255, 111/255, 183/255) |
| 647 | + | |
| 648 | end | |
| 649 | Humanoid.Health = Humanoid.Health - Damage | |
| 650 | end | |
| 651 | end | |
| 652 | ||
| 653 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
| 654 | local CHILDREN = workspace:GetDescendants() | |
| 655 | for index, CHILD in pairs(CHILDREN) do | |
| 656 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 657 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 658 | if HUM then | |
| 659 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 660 | if TORSO then | |
| 661 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 662 | if INSTAKILL == true then | |
| 663 | CHILD:BreakJoints() | |
| 664 | else | |
| 665 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
| 666 | ApplyDamage(HUM,DMG,TORSO) | |
| 667 | end | |
| 668 | if FLING > 0 then | |
| 669 | for _, c in pairs(CHILD:GetChildren()) do | |
| 670 | if c:IsA("BasePart") then
| |
| 671 | local bv = Instance.new("BodyVelocity")
| |
| 672 | - | CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED |
| 672 | + | |
| 673 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
| 674 | bv.Parent = c | |
| 675 | Debris:AddItem(bv,0.05) | |
| 676 | end | |
| 677 | end | |
| 678 | - | 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(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
|
| 678 | + | |
| 679 | end | |
| 680 | end | |
| 681 | - | 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 681 | + | |
| 682 | - | 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 682 | + | |
| 683 | end | |
| 684 | end | |
| 685 | ||
| 686 | --//=================================\\ | |
| 687 | --|| ATTACK FUNCTIONS AND STUFF | |
| 688 | --\\=================================// | |
| 689 | ||
| 690 | function MagicMissiles() | |
| 691 | ATTACK = true | |
| 692 | Rooted = true | |
| 693 | local SELECTING = true | |
| 694 | local SPOTS = {}
| |
| 695 | coroutine.resume(coroutine.create(function() | |
| 696 | local LOOP = 0 | |
| 697 | repeat | |
| 698 | LOOP = LOOP + 1 | |
| 699 | Swait() | |
| 700 | if LOOP >= 10 then | |
| 701 | LOOP = 0 | |
| 702 | for i = 1, #SPOTS do | |
| 703 | if SPOTS[i] ~= nil then | |
| 704 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 705 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 706 | end | |
| 707 | end | |
| 708 | end | |
| 709 | 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) | |
| 710 | - | local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255) |
| 710 | + | |
| 711 | 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) | |
| 712 | 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) | |
| 713 | 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) | |
| 714 | 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) | |
| 715 | until SELECTING == false | |
| 716 | Rooted = false | |
| 717 | repeat | |
| 718 | LOOP = LOOP + 1 | |
| 719 | Swait() | |
| 720 | if LOOP >= 10 then | |
| 721 | LOOP = 0 | |
| 722 | for i = 1, #SPOTS do | |
| 723 | if SPOTS[i] ~= nil then | |
| 724 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 725 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 726 | end | |
| 727 | end | |
| 728 | end | |
| 729 | 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) | |
| 730 | 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) | |
| 731 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 732 | 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) | |
| 733 | 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) | |
| 734 | 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) | |
| 735 | until ATTACK == false | |
| 736 | end)) | |
| 737 | repeat | |
| 738 | repeat Swait() until HOLD == true | |
| 739 | local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude | |
| 740 | if DIST > 65 then | |
| 741 | DIST = 65 | |
| 742 | end | |
| 743 | local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace) | |
| 744 | local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 745 | if HITFLOOR ~= nil then | |
| 746 | table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))) | |
| 747 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
| |
| 748 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 749 | end | |
| 750 | repeat Swait() until HOLD == false | |
| 751 | until #SPOTS == 5 | |
| 752 | SELECTING = false | |
| 753 | for i = 1, #SPOTS do | |
| 754 | if SPOTS[i] ~= nil then | |
| 755 | local POS = SPOTS[i] | |
| 756 | coroutine.resume(coroutine.create(function() | |
| 757 | local MISSILE = IT("Model",Effects)
| |
| 758 | MISSILE.Name = "Missile" | |
| 759 | local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2)) | |
| 760 | MakeForm(BASEPART,"Cyl") | |
| 761 | MISSILE.PrimaryPart = BASEPART | |
| 762 | BASEPART.CFrame = POS*CF(0,-30*3,0) | |
| 763 | local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2)) | |
| 764 | MakeForm(HEAD,"Ball") | |
| 765 | HEAD.CFrame = BASEPART.CFrame*CF(0,1,0) | |
| 766 | local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5)) | |
| 767 | MakeForm(TAIL,"Cyl") | |
| 768 | TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0) | |
| 769 | for i = 1, 10 do | |
| 770 | Swait() | |
| 771 | for _, c in pairs(MISSILE:GetChildren()) do | |
| 772 | if c.ClassName == "Part" then | |
| 773 | c.Transparency = c.Transparency - 1/10 | |
| 774 | end | |
| 775 | end | |
| 776 | end | |
| 777 | for i = 1, 15*1.5 do | |
| 778 | Swait() | |
| 779 | MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0)) | |
| 780 | end | |
| 781 | ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false) | |
| 782 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
| |
| 783 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
| |
| 784 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 785 | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 786 | MISSILE:remove() | |
| 787 | end)) | |
| 788 | end | |
| 789 | end | |
| 790 | wait(0.6) | |
| 791 | ATTACK = false | |
| 792 | Rooted = false | |
| 793 | end | |
| 794 | ||
| 795 | function TimesUp() | |
| 796 | CLOCKTARGET = nil | |
| 797 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 798 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 799 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
| |
| 800 | if TORSO then | |
| 801 | ATTACK = true | |
| 802 | Rooted = false | |
| 803 | coroutine.resume(coroutine.create(function() | |
| 804 | repeat | |
| 805 | - | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 805 | + | |
| 806 | - | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 806 | + | |
| 807 | 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) | |
| 808 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 809 | 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) | |
| 810 | 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) | |
| 811 | 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) | |
| 812 | until ATTACK == false | |
| 813 | end)) | |
| 814 | if Effects:FindFirstChild("NeonDoll") then
| |
| 815 | repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
| |
| 816 | end | |
| 817 | wait(0.5) | |
| 818 | local FAKECHARACTER = IT("Model",Effects)
| |
| 819 | FAKECHARACTER.Name = "NeonDoll" | |
| 820 | local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false) | |
| 821 | CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
| |
| 822 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false) | |
| 823 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
| |
| 824 | local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false) | |
| 825 | - | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 825 | + | |
| 826 | - | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 826 | + | |
| 827 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
| |
| 828 | local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false) | |
| 829 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
| |
| 830 | local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false) | |
| 831 | CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
| |
| 832 | CreateSound(201858045, TORS, 5, 0.4, false) | |
| 833 | for i = 1, 150 do | |
| 834 | Swait() | |
| 835 | CLOCKSPEED = 6 | |
| 836 | for _, c in pairs(FAKECHARACTER:GetChildren()) do | |
| 837 | if c.ClassName == "Part" then | |
| 838 | c.Transparency = c.Transparency - 0.5/150 | |
| 839 | end | |
| 840 | end | |
| 841 | end | |
| 842 | CLOCKTARGET = HUM | |
| 843 | coroutine.resume(coroutine.create(function() | |
| 844 | repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil | |
| 845 | for i = 1, 25 do | |
| 846 | Swait() | |
| 847 | for _, c in pairs(FAKECHARACTER:GetChildren()) do | |
| 848 | - | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
|
| 848 | + | |
| 849 | - | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 849 | + | |
| 850 | end | |
| 851 | end | |
| 852 | end | |
| 853 | CLOCKSPEED = 1 | |
| 854 | FAKECHARACTER:remove() | |
| 855 | end)) | |
| 856 | wait(0.5) | |
| 857 | ATTACK = false | |
| 858 | Rooted = false | |
| 859 | end | |
| 860 | end | |
| 861 | end | |
| 862 | ||
| 863 | function ChainPunch() | |
| 864 | ATTACK = true | |
| 865 | Rooted = false | |
| 866 | local GYRO = IT("BodyGyro",RootPart)
| |
| 867 | GYRO.D = 25 | |
| 868 | GYRO.P = 2000 | |
| 869 | GYRO.MaxTorque = VT(0,40000,0) | |
| 870 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 871 | repeat | |
| 872 | Swait() | |
| 873 | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
| 874 | 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) | |
| 875 | 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) | |
| 876 | 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) | |
| 877 | 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) | |
| 878 | 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) | |
| 879 | 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) | |
| 880 | until HOLD == true | |
| 881 | local POS = Mouse.Hit.p | |
| 882 | local CHAINS = false | |
| 883 | - | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
|
| 883 | + | |
| 884 | - | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
|
| 884 | + | |
| 885 | - | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 885 | + | |
| 886 | - | WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 886 | + | |
| 887 | local B = IT("Attachment",RightArm)
| |
| 888 | B.Position = VT(-1,-1,0)*SIZE | |
| 889 | B.Orientation = VT(-90, 89.988, 0) | |
| 890 | local C = IT("Attachment",RightArm)
| |
| 891 | C.Position = VT(0.5,-1.3,0)*SIZE | |
| 892 | C.Orientation = VT(-90, -89.982, 0) | |
| 893 | local D = IT("Attachment",RightArm)
| |
| 894 | D.Position = VT(-0.5,-1.3,0)*SIZE | |
| 895 | D.Orientation = VT(-90, 89.988, 0) | |
| 896 | local LIGHT = IT("Attachment",RightArm)
| |
| 897 | LIGHT.Position = VT(0,-1,0)*SIZE | |
| 898 | local LIGHT2 = IT("PointLight",LIGHT)
| |
| 899 | LIGHT2.Range = 7 | |
| 900 | LIGHT2.Brightness = 5 | |
| 901 | LIGHT2.Color = SKILLTEXTCOLOR | |
| 902 | for i = 1, 2 do | |
| 903 | local TWIST = -2 | |
| 904 | local START = A | |
| 905 | local END = B | |
| 906 | if i == 1 then | |
| 907 | START = B | |
| 908 | END = A | |
| 909 | end | |
| 910 | local ChainLink = IT("Beam",Torso)
| |
| 911 | ChainLink.Texture = "rbxassetid://73042633" | |
| 912 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 913 | ChainLink.TextureSpeed = 1 | |
| 914 | ChainLink.Width0 = 1 | |
| 915 | ChainLink.Width1 = 1 | |
| 916 | ChainLink.TextureLength = 2.5 | |
| 917 | ChainLink.Attachment0 = START | |
| 918 | ChainLink.Attachment1 = END | |
| 919 | ChainLink.CurveSize0 = TWIST | |
| 920 | ChainLink.CurveSize1 = TWIST | |
| 921 | --ChainLink.FaceCamera = true | |
| 922 | ChainLink.Segments = 45 | |
| 923 | ChainLink.Transparency = NumberSequence.new(1) | |
| 924 | table.insert(CHAINLINKS,ChainLink) | |
| 925 | end | |
| 926 | for i = 1, 2 do | |
| 927 | local TWIST = -1 | |
| 928 | local START = C | |
| 929 | local END = D | |
| 930 | if i == 1 then | |
| 931 | START = D | |
| 932 | END = C | |
| 933 | end | |
| 934 | local ChainLink = IT("Beam",Torso)
| |
| 935 | ChainLink.Texture = "rbxassetid://73042633" | |
| 936 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 937 | ChainLink.TextureSpeed = 1 | |
| 938 | ChainLink.Width0 = 1 | |
| 939 | ChainLink.Width1 = 1 | |
| 940 | ChainLink.TextureLength = 5 | |
| 941 | ChainLink.Attachment0 = START | |
| 942 | ChainLink.Attachment1 = END | |
| 943 | ChainLink.CurveSize0 = TWIST | |
| 944 | ChainLink.CurveSize1 = TWIST | |
| 945 | --ChainLink.FaceCamera = true | |
| 946 | ChainLink.Segments = 25 | |
| 947 | ChainLink.LightEmission = 0.5 | |
| 948 | ChainLink.Transparency = NumberSequence.new(1) | |
| 949 | table.insert(CHAINLINKS,ChainLink) | |
| 950 | end | |
| 951 | coroutine.resume(coroutine.create(function() | |
| 952 | repeat | |
| 953 | Swait() | |
| 954 | 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) | |
| 955 | 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) | |
| 956 | 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) | |
| 957 | 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) | |
| 958 | 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) | |
| 959 | 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) | |
| 960 | until CHAINS == true | |
| 961 | repeat | |
| 962 | Swait() | |
| 963 | 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) | |
| 964 | 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) | |
| 965 | 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) | |
| 966 | 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) | |
| 967 | 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) | |
| 968 | 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) | |
| 969 | until ATTACK == false | |
| 970 | for e = 1, 15 do | |
| 971 | Swait() | |
| 972 | for i = 1, #CHAINLINKS do | |
| 973 | CHAINLINKS[i].Transparency = NumberSequence.new((e/15)) | |
| 974 | end | |
| 975 | end | |
| 976 | A:remove() | |
| 977 | B:remove() | |
| 978 | C:remove() | |
| 979 | D:remove() | |
| 980 | end)) | |
| 981 | CreateSound(233856115, RightArm, 5, 1.2, false) | |
| 982 | for e = 1, 15 do | |
| 983 | Swait() | |
| 984 | for i = 1, #CHAINLINKS do | |
| 985 | CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15)) | |
| 986 | end | |
| 987 | end | |
| 988 | CHAINS = true | |
| 989 | Rooted = true | |
| 990 | wait(0.25) | |
| 991 | local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2)) | |
| 992 | FIST.Color = C3(1, 215/255, 1) | |
| 993 | FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0)) | |
| 994 | local LIGHT3 = IT("PointLight",FIST)
| |
| 995 | LIGHT3.Range = 7 | |
| 996 | LIGHT3.Brightness = 5 | |
| 997 | LIGHT3.Color = SKILLTEXTCOLOR | |
| 998 | CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
| |
| 999 | local FISTA = IT("Attachment",FIST)
| |
| 1000 | FISTA.Position = VT(0.062, 0.977, 0) | |
| 1001 | local ChainLink = IT("Beam",Torso)
| |
| 1002 | ChainLink.Texture = "rbxassetid://73042633" | |
| 1003 | ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR) | |
| 1004 | ChainLink.TextureSpeed = 0 | |
| 1005 | ChainLink.Width0 = 3 | |
| 1006 | ChainLink.Width1 = 3 | |
| 1007 | ChainLink.TextureLength = 12 | |
| 1008 | ChainLink.Attachment0 = LIGHT | |
| 1009 | ChainLink.Attachment1 = FISTA | |
| 1010 | ChainLink.FaceCamera = true | |
| 1011 | ChainLink.Segments = 45 | |
| 1012 | ChainLink.LightEmission = 0.5 | |
| 1013 | ChainLink.Transparency = NumberSequence.new(0.25) | |
| 1014 | local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false) | |
| 1015 | for i = 1, 85 do | |
| 1016 | Swait() | |
| 1017 | FIST.CFrame = FIST.CFrame*CF(0,-2,0) | |
| 1018 | ChainLink.TextureLength = 12+(i*2) | |
| 1019 | ApplyAoE(FIST.Position,10,15,25,100,false) | |
| 1020 | 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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1021 | local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character) | |
| 1022 | if HITFLOOR ~= nil then | |
| 1023 | HITFLOOR:BreakJoints() | |
| 1024 | coroutine.resume(coroutine.create(function() | |
| 1025 | for i = 1, 15 do | |
| 1026 | Swait() | |
| 1027 | FISTSOUND.Volume = FISTSOUND.Volume - 0.15 | |
| 1028 | ApplyAoE(FIST.Position,10+(i*2),5,15,5,false) | |
| 1029 | 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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1030 | end | |
| 1031 | end)) | |
| 1032 | break | |
| 1033 | end | |
| 1034 | end | |
| 1035 | coroutine.resume(coroutine.create(function() | |
| 1036 | for i = 1, 50 do | |
| 1037 | Swait() | |
| 1038 | FIST.Transparency = FIST.Transparency + 0.5/50 | |
| 1039 | LIGHT3.Range = LIGHT3.Range - 7/50 | |
| 1040 | end | |
| 1041 | FIST:remove() | |
| 1042 | end)) | |
| 1043 | LIGHT:remove() | |
| 1044 | GYRO:remove() | |
| 1045 | ATTACK = false | |
| 1046 | Rooted = false | |
| 1047 | end | |
| 1048 | ||
| 1049 | function WarpMeteor() | |
| 1050 | local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude | |
| 1051 | if DIST > 180 then | |
| 1052 | DIST = 180 | |
| 1053 | end | |
| 1054 | local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace) | |
| 1055 | local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character) | |
| 1056 | if HITFLOOR then | |
| 1057 | local POS = HITPOS | |
| 1058 | ATTACK = true | |
| 1059 | Rooted = true | |
| 1060 | local WARPED = false | |
| 1061 | local SMASHED = false | |
| 1062 | local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character) | |
| 1063 | coroutine.resume(coroutine.create(function() | |
| 1064 | repeat | |
| 1065 | Swait() | |
| 1066 | 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) | |
| 1067 | 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) | |
| 1068 | RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1069 | 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) | |
| 1070 | 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) | |
| 1071 | 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) | |
| 1072 | until WARPED == true | |
| 1073 | repeat | |
| 1074 | Swait() | |
| 1075 | 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) | |
| 1076 | 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) | |
| 1077 | RightShoulder.C0 = Clerp(RightShoulder.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))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1078 | 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) | |
| 1079 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*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) | |
| 1080 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*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) | |
| 1081 | until SMASHED == true | |
| 1082 | repeat | |
| 1083 | Swait() | |
| 1084 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1085 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1086 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1087 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1088 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
| 1089 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1090 | until ATTACK == false | |
| 1091 | end)) | |
| 1092 | VALUE1 = true | |
| 1093 | CreateSound(233856115, Torso, 5, 1.6, false) | |
| 1094 | for i = 1, 25 do | |
| 1095 | Swait() | |
| 1096 | for _, c in pairs(Character:GetChildren()) do | |
| 1097 | if c.ClassName == "Part" then | |
| 1098 | c.Transparency = c.Transparency + 1/25 | |
| 1099 | end | |
| 1100 | end | |
| 1101 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1102 | if c.ClassName == "Part" then | |
| 1103 | c.Transparency = c.Transparency + 1/25 | |
| 1104 | end | |
| 1105 | end | |
| 1106 | end | |
| 1107 | UNANCHOR = false | |
| 1108 | RootPart.Anchored = true | |
| 1109 | RootPart.Velocity = VT(0,0,0) | |
| 1110 | local ROOTPOS = RootPart.Position | |
| 1111 | RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z)) | |
| 1112 | WARPED = true | |
| 1113 | for i = 1, 25 do | |
| 1114 | Swait() | |
| 1115 | for _, c in pairs(Character:GetChildren()) do | |
| 1116 | if c.ClassName == "Part" then | |
| 1117 | c.Transparency = c.Transparency - 1/25 | |
| 1118 | end | |
| 1119 | end | |
| 1120 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1121 | - | 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 1121 | + | |
| 1122 | c.Transparency = c.Transparency - 1/25 | |
| 1123 | end | |
| 1124 | end | |
| 1125 | end | |
| 1126 | local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0)) | |
| 1127 | SHELL.CFrame = RootPart.CFrame | |
| 1128 | MakeForm(SHELL,"Ball") | |
| 1129 | CreateSound(402981977, SHELL, 5, 1.6, false) | |
| 1130 | - | 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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 1130 | + | |
| 1131 | Swait() | |
| 1132 | SHELL.Transparency = SHELL.Transparency - 1/10 | |
| 1133 | SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8 | |
| 1134 | end | |
| 1135 | for i = 1, math.ceil(75/2) do | |
| 1136 | Swait() | |
| 1137 | RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0) | |
| 1138 | SHELL.CFrame = CF(RootPart.Position) | |
| 1139 | WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1140 | end | |
| 1141 | RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z)) | |
| 1142 | SHELL.CFrame = CF(RootPart.Position) | |
| 1143 | WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1144 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1145 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
| |
| 1146 | for i = 1, 5 do | |
| 1147 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.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, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
| |
| 1148 | end | |
| 1149 | SHELL:remove() | |
| 1150 | ApplyAoE(RootPart.Position,75,35,75,175,false) | |
| 1151 | SMASHED = true | |
| 1152 | wait(1) | |
| 1153 | VALUE1 = false | |
| 1154 | UNANCHOR = true | |
| 1155 | ATTACK = false | |
| 1156 | Rooted = false | |
| 1157 | end | |
| 1158 | end | |
| 1159 | ||
| 1160 | function PandorasBox() | |
| 1161 | 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) | |
| 1162 | if HITFLOOR ~= nil then | |
| 1163 | ATTACK = true | |
| 1164 | Rooted = true | |
| 1165 | local RINGSPIN = true | |
| 1166 | local CONSTRUCTING = true | |
| 1167 | local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0)) | |
| 1168 | RING.Color = C3(0,0,0) | |
| 1169 | MakeForm(RING,"Cyl") | |
| 1170 | RING.CFrame = CF(HITPOS) | |
| 1171 | CreateSound(402981977, RING, 5, 1.2, false) | |
| 1172 | coroutine.resume(coroutine.create(function() | |
| 1173 | repeat | |
| 1174 | Swait() | |
| 1175 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1176 | 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) | |
| 1177 | 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) | |
| 1178 | 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) | |
| 1179 | 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) | |
| 1180 | 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) | |
| 1181 | 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) | |
| 1182 | until CONSTRUCTING == false | |
| 1183 | repeat | |
| 1184 | Swait() | |
| 1185 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1186 | until RINGSPIN == false | |
| 1187 | for i = 1, 25 do | |
| 1188 | Swait() | |
| 1189 | RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0)) | |
| 1190 | RING.Size = RING.Size - VT(0.15,0,0.15) | |
| 1191 | --DECAL.Transparency = DECAL.Transparency + 1/25 | |
| 1192 | RING.Transparency = RING.Transparency + 1/25 | |
| 1193 | end | |
| 1194 | RING:remove() | |
| 1195 | end)) | |
| 1196 | for i = 1, 15 do | |
| 1197 | Swait() | |
| 1198 | RING.Size = RING.Size + VT(0.75,0,0.75) | |
| 1199 | RING.Transparency = RING.Transparency - 1/15 | |
| 1200 | end | |
| 1201 | local BOXSPIN = true | |
| 1202 | local PANDORASBOX = IT("Model",Effects)
| |
| 1203 | PANDORASBOX.Name = "Pandora's Box" | |
| 1204 | local BOX = IT("Model",PANDORASBOX)
| |
| 1205 | BOX.Name = "Body" | |
| 1206 | local LID = IT("Model",PANDORASBOX)
| |
| 1207 | LID.Name = "Lid" | |
| 1208 | --BUILDING THE BOX-- | |
| 1209 | local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2)) | |
| 1210 | BASE.Color = C3(0,0,0) | |
| 1211 | PANDORASBOX.PrimaryPart = BASE | |
| 1212 | BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z)) | |
| 1213 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1214 | WOOD.CFrame = BASE.CFrame*CF(1,0,1) | |
| 1215 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1216 | WOOD.CFrame = BASE.CFrame*CF(1,0,-1) | |
| 1217 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1218 | WOOD.CFrame = BASE.CFrame*CF(-1,0,1) | |
| 1219 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2)) | |
| 1220 | WOOD.CFrame = BASE.CFrame*CF(-1,0,-1) | |
| 1221 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1222 | WOOD.CFrame = BASE.CFrame*CF(0,0.9,1) | |
| 1223 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1224 | WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1) | |
| 1225 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1226 | WOOD.CFrame = BASE.CFrame*CF(1,0.9,0) | |
| 1227 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1228 | WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0) | |
| 1229 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1230 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1) | |
| 1231 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1232 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1) | |
| 1233 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1234 | WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0) | |
| 1235 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1236 | WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0) | |
| 1237 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1)) | |
| 1238 | WOOD.CFrame = BASE.CFrame*CF(0,0,1) | |
| 1239 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1)) | |
| 1240 | WOOD.CFrame = BASE.CFrame*CF(0,0,-1) | |
| 1241 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1)) | |
| 1242 | WOOD.CFrame = BASE.CFrame*CF(1,0,0) | |
| 1243 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1)) | |
| 1244 | WOOD.CFrame = BASE.CFrame*CF(-1,0,0) | |
| 1245 | local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1)) | |
| 1246 | WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0) | |
| 1247 | ------------- | |
| 1248 | - | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.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(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
|
| 1248 | + | |
| 1249 | LIDPART.CFrame = BASE.CFrame*CF(0,1,0) | |
| 1250 | LID.PrimaryPart = LIDPART | |
| 1251 | local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1252 | WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1) | |
| 1253 | local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2)) | |
| 1254 | WOOD.CFrame = LIDPART.CFrame*CF(0,0,1) | |
| 1255 | local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1256 | WOOD.CFrame = LIDPART.CFrame*CF(1,0,0) | |
| 1257 | local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1)) | |
| 1258 | WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0) | |
| 1259 | local DECAL = IT("Decal",LIDPART)
| |
| 1260 | DECAL.Face = "Top" | |
| 1261 | DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061" | |
| 1262 | DECAL.Color3 = C3(0,0,0) | |
| 1263 | --BUILDING THE BOX-- | |
| 1264 | coroutine.resume(coroutine.create(function() | |
| 1265 | repeat | |
| 1266 | Swait() | |
| 1267 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0))) | |
| 1268 | until BOXSPIN == false | |
| 1269 | end)) | |
| 1270 | for i = 1, 25 do | |
| 1271 | Swait() | |
| 1272 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0)) | |
| 1273 | end | |
| 1274 | wait(0.5) | |
| 1275 | BOXSPIN = false | |
| 1276 | CONSTRUCTING = false | |
| 1277 | coroutine.resume(coroutine.create(function() | |
| 1278 | 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})
| |
| 1279 | --[[for i = 1, 45 do | |
| 1280 | Swait() | |
| 1281 | LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0))) | |
| 1282 | end- | |
| 1283 | LID:remove()]]-- | |
| 1284 | for _, c in pairs(LID:GetChildren()) do | |
| 1285 | if c.ClassName == "Part" then | |
| 1286 | c.Anchored = false | |
| 1287 | c.CanCollide = true | |
| 1288 | if c ~= LIDPART then | |
| 1289 | weldBetween(LIDPART,c) | |
| 1290 | end | |
| 1291 | end | |
| 1292 | end | |
| 1293 | LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65 | |
| 1294 | Debris:AddItem(LID,15) | |
| 1295 | wait(0.5) | |
| 1296 | local RANDOMEFFECT = MRANDOM(1,4) | |
| 1297 | if RANDOMEFFECT == 1 then | |
| 1298 | for i = 1, 45 do | |
| 1299 | wait((2-(i/15))/15) | |
| 1300 | 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})
| |
| 1301 | end | |
| 1302 | wait(1) | |
| 1303 | 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})
| |
| 1304 | 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})
| |
| 1305 | 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})
| |
| 1306 | for i = 1, 5 do | |
| 1307 | 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})
| |
| 1308 | end | |
| 1309 | ApplyAoE(BASE.Position,50,1,200,375,false) | |
| 1310 | ApplyAoE(BASE.Position,250,35,75,175,false) | |
| 1311 | elseif RANDOMEFFECT == 2 then | |
| 1312 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3)) | |
| 1313 | FIELD.CFrame = BASE.CFrame | |
| 1314 | MakeForm(FIELD,"Ball") | |
| 1315 | for i = 1, 50 do | |
| 1316 | Swait() | |
| 1317 | FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01) | |
| 1318 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 1319 | end | |
| 1320 | wait(0.2) | |
| 1321 | local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true) | |
| 1322 | coroutine.resume(coroutine.create(function() | |
| 1323 | for i = 1, 75 do | |
| 1324 | Swait() | |
| 1325 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 1326 | LOOP.Parent = FIELD | |
| 1327 | local CHILDREN = workspace:GetDescendants() | |
| 1328 | for index, CHILD in pairs(CHILDREN) do | |
| 1329 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1330 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1331 | if HUM then | |
| 1332 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1333 | if TORSO then | |
| 1334 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 1335 | HUM.Health = HUM.Health - 0.1 | |
| 1336 | TORSO.Velocity = VT(0,5,0) | |
| 1337 | HUM.PlatformStand = true | |
| 1338 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 1339 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 1340 | end | |
| 1341 | end | |
| 1342 | end | |
| 1343 | end | |
| 1344 | end | |
| 1345 | end | |
| 1346 | FIELD.Size = FIELD.Size + VT(3,3,3) | |
| 1347 | FIELD.Transparency = FIELD.Transparency + 0.8/75 | |
| 1348 | end | |
| 1349 | for i = 1, 500 do | |
| 1350 | Swait() | |
| 1351 | LOOP.Parent = FIELD | |
| 1352 | local CHILDREN = workspace:GetDescendants() | |
| 1353 | for index, CHILD in pairs(CHILDREN) do | |
| 1354 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1355 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1356 | if HUM then | |
| 1357 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1358 | if TORSO then | |
| 1359 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then | |
| 1360 | TORSO.Velocity = VT(0,5,0) | |
| 1361 | HUM.Health = HUM.Health - 0.1 | |
| 1362 | HUM.PlatformStand = true | |
| 1363 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 1364 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 1365 | end | |
| 1366 | end | |
| 1367 | end | |
| 1368 | end | |
| 1369 | end | |
| 1370 | end | |
| 1371 | end | |
| 1372 | for i = 1, 25 do | |
| 1373 | Swait() | |
| 1374 | LOOP.Volume = LOOP.Volume + 10/25 | |
| 1375 | LOOP.Parent = FIELD | |
| 1376 | local CHILDREN = workspace:GetDescendants() | |
| 1377 | for index, CHILD in pairs(CHILDREN) do | |
| 1378 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1379 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1380 | if HUM then | |
| 1381 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1382 | if TORSO then | |
| 1383 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then | |
| 1384 | TORSO.Velocity = VT(0,5,0) | |
| 1385 | HUM.Health = HUM.Health - 0.1 | |
| 1386 | HUM.PlatformStand = false | |
| 1387 | if TORSO.RotVelocity.Magnitude < 15 then | |
| 1388 | TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)) | |
| 1389 | end | |
| 1390 | end | |
| 1391 | end | |
| 1392 | end | |
| 1393 | end | |
| 1394 | end | |
| 1395 | FIELD.Size = FIELD.Size - VT(3,3,3) | |
| 1396 | FIELD.Transparency = FIELD.Transparency + 0.2/25 | |
| 1397 | end | |
| 1398 | FIELD:remove() | |
| 1399 | end)) | |
| 1400 | elseif RANDOMEFFECT == 3 then | |
| 1401 | for i = 1, 10 do | |
| 1402 | wait(0.15) | |
| 1403 | 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})
| |
| 1404 | coroutine.resume(coroutine.create(function() | |
| 1405 | local MINION = CLONE:Clone() | |
| 1406 | MINION.Parent = Effects | |
| 1407 | MINION.Name = "Shadow" | |
| 1408 | MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) | |
| 1409 | MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100) | |
| 1410 | for _, c in pairs(MINION:GetChildren()) do | |
| 1411 | if c.ClassName == "Part" then | |
| 1412 | c.Material = "Neon" | |
| 1413 | c.Color = C3(0,0,0) | |
| 1414 | c.Transparency = 0.25 | |
| 1415 | if c.Name == "Head" then | |
| 1416 | c:ClearAllChildren() | |
| 1417 | local MSH = IT("BlockMesh",c)
| |
| 1418 | MSH.Scale = VT(0.5,1,1) | |
| 1419 | end | |
| 1420 | end | |
| 1421 | end | |
| 1422 | local TORSO = MINION.Torso | |
| 1423 | local HUMAN = MINION.Humanoid | |
| 1424 | HUMAN.WalkSpeed = 20 | |
| 1425 | HUMAN.MaxHealth = math.huge | |
| 1426 | HUMAN.Health = math.huge | |
| 1427 | HUMAN.DisplayDistanceType = "None" | |
| 1428 | HUMAN.Died:connect(function() | |
| 1429 | MINION:remove() | |
| 1430 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false) | |
| 1431 | end) | |
| 1432 | wait(1) | |
| 1433 | local findNearestTorso = function(POS) | |
| 1434 | local list = game.Workspace:GetDescendants() | |
| 1435 | local torso = nil | |
| 1436 | local dist = 500 | |
| 1437 | local temp = nil | |
| 1438 | local human = nil | |
| 1439 | local temp2 = nil | |
| 1440 | for x = 1, #list do | |
| 1441 | temp2 = list[x] | |
| 1442 | if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then | |
| 1443 | temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
| |
| 1444 | human = temp2:findFirstChildOfClass("Humanoid")
| |
| 1445 | if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then | |
| 1446 | if (temp.Position - POS).magnitude < dist then | |
| 1447 | torso = temp | |
| 1448 | dist = (temp.Position - POS).magnitude | |
| 1449 | end | |
| 1450 | end | |
| 1451 | end | |
| 1452 | end | |
| 1453 | return torso, dist | |
| 1454 | end | |
| 1455 | for i = 1, 40 do | |
| 1456 | if HUMAN.Health == 0 then | |
| 1457 | break | |
| 1458 | end | |
| 1459 | wait(0.3) | |
| 1460 | local target,dist= findNearestTorso(TORSO.Position) | |
| 1461 | if target then | |
| 1462 | HUMAN:MoveTo(target.Position) | |
| 1463 | if dist < 25 then | |
| 1464 | CreateSound(348663022, TORSO, 10, 1, true) | |
| 1465 | wait(2) | |
| 1466 | --local ANIM = HUMAN:LoadAnimation(ATANIM) | |
| 1467 | --ANIM:Play() | |
| 1468 | --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false) | |
| 1469 | ApplyAoE(TORSO.Position,10,0,0,85,true) | |
| 1470 | 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})
| |
| 1471 | for i = 1, 5 do | |
| 1472 | 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})
| |
| 1473 | end | |
| 1474 | break | |
| 1475 | end | |
| 1476 | end | |
| 1477 | end | |
| 1478 | MINION:remove() | |
| 1479 | end)) | |
| 1480 | end | |
| 1481 | elseif RANDOMEFFECT == 4 then | |
| 1482 | local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3)) | |
| 1483 | FIELD.Color = C3(0,0,0) | |
| 1484 | FIELD.CFrame = BASE.CFrame | |
| 1485 | MakeForm(FIELD,"Ball") | |
| 1486 | FIELD.CanCollide = true | |
| 1487 | for i = 1, 50 do | |
| 1488 | Swait() | |
| 1489 | FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01) | |
| 1490 | FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0) | |
| 1491 | end | |
| 1492 | wait(0.2) | |
| 1493 | local LOOP = CreateSound(487214658, FIELD, 0, 1, true) | |
| 1494 | coroutine.resume(coroutine.create(function() | |
| 1495 | local E = 0 | |
| 1496 | for i = 1, 75 do | |
| 1497 | E = E + 1 | |
| 1498 | Swait() | |
| 1499 | if E >= 35 then | |
| 1500 | E = 0 | |
| 1501 | 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})
| |
| 1502 | end | |
| 1503 | LOOP.Volume = LOOP.Volume + 10/75 | |
| 1504 | LOOP.Parent = FIELD | |
| 1505 | local CHILDREN = workspace:GetDescendants() | |
| 1506 | for index, CHILD in pairs(CHILDREN) do | |
| 1507 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1508 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1509 | if HUM then | |
| 1510 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1511 | if TORSO then | |
| 1512 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then | |
| 1513 | for _, c in pairs(CHILD:GetChildren()) do | |
| 1514 | if c:IsA("BasePart") then
| |
| 1515 | local bv = Instance.new("BodyVelocity")
| |
| 1516 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1517 | bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50 | |
| 1518 | bv.Parent = c | |
| 1519 | Debris:AddItem(bv,0.05) | |
| 1520 | end | |
| 1521 | end | |
| 1522 | HUM.Health = HUM.Health - 0.3 | |
| 1523 | end | |
| 1524 | end | |
| 1525 | end | |
| 1526 | end | |
| 1527 | end | |
| 1528 | FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5 | |
| 1529 | end | |
| 1530 | for i = 1, 180 do | |
| 1531 | E = E + 1 | |
| 1532 | Swait() | |
| 1533 | if E >= 35 then | |
| 1534 | E = 0 | |
| 1535 | 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})
| |
| 1536 | end | |
| 1537 | LOOP.Parent = FIELD | |
| 1538 | local CHILDREN = workspace:GetDescendants() | |
| 1539 | for index, CHILD in pairs(CHILDREN) do | |
| 1540 | if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then | |
| 1541 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1542 | if HUM then | |
| 1543 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1544 | if TORSO then | |
| 1545 | if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then | |
| 1546 | for _, c in pairs(CHILD:GetChildren()) do | |
| 1547 | if c:IsA("BasePart") then
| |
| 1548 | local bv = Instance.new("BodyVelocity")
| |
| 1549 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1550 | bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50 | |
| 1551 | bv.Parent = c | |
| 1552 | Debris:AddItem(bv,0.05) | |
| 1553 | end | |
| 1554 | end | |
| 1555 | HUM.Health = HUM.Health - 0.3 | |
| 1556 | end | |
| 1557 | end | |
| 1558 | end | |
| 1559 | end | |
| 1560 | end | |
| 1561 | end | |
| 1562 | ApplyAoE(FIELD.Position,40,15,20,375,false) | |
| 1563 | 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})
| |
| 1564 | for i = 1, 5 do | |
| 1565 | 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})
| |
| 1566 | end | |
| 1567 | FIELD:remove() | |
| 1568 | end)) | |
| 1569 | elseif RANDOMEFFECT == 5 then | |
| 1570 | end | |
| 1571 | wait(0.5) | |
| 1572 | for i = 1, 25 do | |
| 1573 | Swait() | |
| 1574 | PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0)) | |
| 1575 | end | |
| 1576 | PANDORASBOX:remove() | |
| 1577 | RINGSPIN = false | |
| 1578 | end)) | |
| 1579 | ATTACK = false | |
| 1580 | Rooted = false | |
| 1581 | end | |
| 1582 | end | |
| 1583 | ||
| 1584 | function Taunt() | |
| 1585 | ATTACK = true | |
| 1586 | local LAUGH = nil | |
| 1587 | coroutine.resume(coroutine.create(function() | |
| 1588 | repeat | |
| 1589 | Swait() | |
| 1590 | 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) | |
| 1591 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) | |
| 1592 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1593 | 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) | |
| 1594 | 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) | |
| 1595 | 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) | |
| 1596 | until LAUGH ~= nil | |
| 1597 | repeat | |
| 1598 | Swait() | |
| 1599 | LAUGH.Parent = Head | |
| 1600 | 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) | |
| 1601 | 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(-45)), 1 / Animation_Speed) | |
| 1602 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(100), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1603 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(105), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1604 | 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) | |
| 1605 | 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) | |
| 1606 | until LAUGH.Playing == false | |
| 1607 | ATTACK = false | |
| 1608 | end)) | |
| 1609 | wait(0.1) | |
| 1610 | LAUGH = CreateSound(1608455246, Head, 10, 1, false) | |
| 1611 | wait() | |
| 1612 | end | |
| 1613 | ||
| 1614 | --//=================================\\ | |
| 1615 | --|| ASSIGN THINGS TO KEYS | |
| 1616 | --\\=================================// | |
| 1617 | ||
| 1618 | function MouseDown(Mouse) | |
| 1619 | HOLD = true | |
| 1620 | if ATTACK == false then | |
| 1621 | end | |
| 1622 | end | |
| 1623 | ||
| 1624 | function MouseUp(Mouse) | |
| 1625 | HOLD = false | |
| 1626 | end | |
| 1627 | ||
| 1628 | function KeyDown(Key) | |
| 1629 | KEYHOLD = true | |
| 1630 | if Key == "z" and ATTACK == false then | |
| 1631 | MagicMissiles() | |
| 1632 | end | |
| 1633 | ||
| 1634 | if Key == "b" and ATTACK == false then | |
| 1635 | TimesUp() | |
| 1636 | end | |
| 1637 | ||
| 1638 | if Key == "c" and ATTACK == false then | |
| 1639 | ChainPunch() | |
| 1640 | end | |
| 1641 | ||
| 1642 | if Key == "v" and ATTACK == false then | |
| 1643 | WarpMeteor() | |
| 1644 | end | |
| 1645 | ||
| 1646 | if Key == "x" and ATTACK == false then | |
| 1647 | PandorasBox() | |
| 1648 | end | |
| 1649 | ||
| 1650 | if Key == "t" and ATTACK == false then | |
| 1651 | Taunt() | |
| 1652 | end | |
| 1653 | end | |
| 1654 | ||
| 1655 | function KeyUp(Key) | |
| 1656 | KEYHOLD = false | |
| 1657 | end | |
| 1658 | ||
| 1659 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 1660 | MouseDown(NEWKEY) | |
| 1661 | end) | |
| 1662 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 1663 | MouseUp(NEWKEY) | |
| 1664 | end) | |
| 1665 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 1666 | KeyDown(NEWKEY) | |
| 1667 | end) | |
| 1668 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 1669 | KeyUp(NEWKEY) | |
| 1670 | end) | |
| 1671 | ||
| 1672 | --//=================================\\ | |
| 1673 | --\\=================================// | |
| 1674 | ||
| 1675 | ||
| 1676 | function unanchor() | |
| 1677 | if UNANCHOR == true then | |
| 1678 | RootPart.Anchored = false | |
| 1679 | end | |
| 1680 | g = Character:GetChildren() | |
| 1681 | for i = 1, #g do | |
| 1682 | if g[i].ClassName == "Part" and g[i] ~= RootPart then | |
| 1683 | g[i].Anchored = false | |
| 1684 | end | |
| 1685 | end | |
| 1686 | g = Weapon:GetChildren() | |
| 1687 | for i = 1, #g do | |
| 1688 | if g[i].ClassName == "Part" then | |
| 1689 | g[i].Anchored = false | |
| 1690 | end | |
| 1691 | end | |
| 1692 | end | |
| 1693 | ||
| 1694 | ||
| 1695 | --//=================================\\ | |
| 1696 | --|| WRAP THE WHOLE SCRIPT UP | |
| 1697 | --\\=================================// | |
| 1698 | ||
| 1699 | Humanoid.Changed:connect(function(Jump) | |
| 1700 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1701 | Humanoid.Jump = false | |
| 1702 | end | |
| 1703 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1703 | + | |
| 1704 | - | 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) |
| 1704 | + | |
| 1705 | while true do | |
| 1706 | Swait() | |
| 1707 | script.Parent = WEAPONGUI | |
| 1708 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 1709 | v:Stop(); | |
| 1710 | end | |
| 1711 | - | sick:Pause() |
| 1711 | + | |
| 1712 | - | LAUGH = CreateSound(525166232, Head, 10, 1, false) |
| 1712 | + | |
| 1713 | - | wait(1) |
| 1713 | + | |
| 1714 | - | sick:Resume() |
| 1714 | + | |
| 1715 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 1716 | tecks2.Rotation = math.random(-14, 14) | |
| 1717 | local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16) | |
| 1718 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 1719 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1720 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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) | |
| 1721 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1722 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1723 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 1724 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1725 | Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1726 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1727 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1728 | end | |
| 1729 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 1730 | ANIM = "Jump" | |
| 1731 | if ATTACK == false then | |
| 1732 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1733 | 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) | |
| 1734 | 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) | |
| 1735 | 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) | |
| 1736 | 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) | |
| 1737 | 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) | |
| 1738 | end | |
| 1739 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 1740 | ANIM = "Fall" | |
| 1741 | if ATTACK == false then | |
| 1742 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1743 | 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) | |
| 1744 | 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) | |
| 1745 | 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) | |
| 1746 | 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) | |
| 1747 | 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) | |
| 1748 | end | |
| 1749 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 1750 | ANIM = "Idle" | |
| 1751 | if ATTACK == false then | |
| 1752 | 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) | |
| 1753 | 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) | |
| 1754 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-5), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1755 | 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) | |
| 1756 | 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) | |
| 1757 | 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) | |
| 1758 | end | |
| 1759 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 1760 | ANIM = "Walk" | |
| 1761 | if ATTACK == false then | |
| 1762 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1763 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed) | |
| 1764 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-5), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(25 + 7.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1765 | 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) | |
| 1766 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1767 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
| 1768 | end | |
| 1769 | end | |
| 1770 | end | |
| 1771 | unanchor() | |
| 1772 | Humanoid.MaxHealth = "inf" | |
| 1773 | Humanoid.Health = "inf" | |
| 1774 | if Rooted == false then | |
| 1775 | Disable_Jump = false | |
| 1776 | Humanoid.WalkSpeed = Speed | |
| 1777 | elseif Rooted == true then | |
| 1778 | Disable_Jump = true | |
| 1779 | Humanoid.WalkSpeed = 0 | |
| 1780 | end | |
| 1781 | for _, c in pairs(Character:GetChildren()) do | |
| 1782 | if c.ClassName == "Part" and c.Name ~= "Detail" then | |
| 1783 | c.Material = "Fabric" | |
| 1784 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1785 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1786 | end | |
| 1787 | if c ~= Head then | |
| 1788 | c.Color = C3(0,0,0) | |
| 1789 | else | |
| 1790 | c.Color = C3(1,1,1) | |
| 1791 | end | |
| 1792 | if c == Head then | |
| 1793 | if c:FindFirstChild("face") then
| |
| 1794 | c.face:remove() | |
| 1795 | end | |
| 1796 | end | |
| 1797 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
| 1798 | c:remove() | |
| 1799 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 1800 | c:remove() | |
| 1801 | end | |
| 1802 | end | |
| 1803 | ||
| 1804 | for _, c in pairs(Character:GetChildren()) do | |
| 1805 | if c.ClassName == "Part" then | |
| 1806 | c.Material = "SmoothPlastic" | |
| 1807 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1808 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1809 | end | |
| 1810 | if c == Torso then | |
| 1811 | c.BrickColor = BRICKC"Bright blue" | |
| 1812 | elseif c == RightLeg or c == LeftLeg then | |
| 1813 | c.BrickColor = BRICKC"Br. yellowish green" | |
| 1814 | else | |
| 1815 | c.BrickColor = BRICKC"Bright yellow" | |
| 1816 | end | |
| 1817 | if c == Head then | |
| 1818 | if c:FindFirstChild("face") then
| |
| 1819 | c.face.Texture = "http://www.roblox.com/asset/?id=145914523" | |
| 1820 | end | |
| 1821 | end | |
| 1822 | end | |
| 1823 | Humanoid.Name = "big boie cancer = "..Player.Name | |
| 1824 | end | |
| 1825 | --//=================================\\ | |
| 1826 | --\\=================================// | |
| 1827 | ||
| 1828 | ||
| 1829 | ||
| 1830 | ||
| 1831 | ||
| 1832 | --//====================================================\\-- | |
| 1833 | --|| END OF SCRIPT | |
| 1834 | --\\====================================================//-- |