SHOW:
|
|
- or go back to the newest paste.
| 1 | --//=========================================================\\-- | |
| 2 | --|| CREATED BY SHACKLUSTER EDITED BY BLACKKASH | |
| 3 | --\\=========================================================//-- | |
| 4 | ||
| 5 | wait(0.2) | |
| 6 | ||
| 7 | - | Player = game:GetService("Players").BlackKash
|
| 7 | + | Player = game:GetService("Players").TameDoNotClick
|
| 8 | PlayerGui = Player.PlayerGui | |
| 9 | Cam = workspace.CurrentCamera | |
| 10 | Backpack = Player.Backpack | |
| 11 | Character = Player.Character | |
| 12 | Humanoid = Character:FindFirstChildOfClass("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 | ||
| 28 | IT = Instance.new | |
| 29 | CF = CFrame.new | |
| 30 | VT = Vector3.new | |
| 31 | RAD = math.rad | |
| 32 | C3 = Color3.new | |
| 33 | UD2 = UDim2.new | |
| 34 | BRICKC = BrickColor.new | |
| 35 | ANGLES = CFrame.Angles | |
| 36 | EULER = CFrame.fromEulerAnglesXYZ | |
| 37 | COS = math.cos | |
| 38 | ACOS = math.acos | |
| 39 | SIN = math.sin | |
| 40 | ASIN = math.asin | |
| 41 | ABS = math.abs | |
| 42 | MRANDOM = math.random | |
| 43 | FLOOR = math.floor | |
| 44 | ||
| 45 | --//=================================\\ | |
| 46 | --|| USEFUL VALUES | |
| 47 | --\\=================================// | |
| 48 | ||
| 49 | Animation_Speed = 3 | |
| 50 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 51 | local Speed = 25 | |
| 52 | local SIZE = 2 | |
| 53 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 54 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 55 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 56 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 57 | local DAMAGEMULTIPLIER = 1 | |
| 58 | local ANIM = "Idle" | |
| 59 | local ATTACK = false | |
| 60 | local EQUIPPED = false | |
| 61 | local HOLD = false | |
| 62 | local COMBO = 1 | |
| 63 | local Rooted = false | |
| 64 | local SINE = 0 | |
| 65 | local KEYHOLD = false | |
| 66 | local CHANGE = 2 / Animation_Speed | |
| 67 | local WALKINGANIM = false | |
| 68 | local VALUE1 = false | |
| 69 | local VALUE2 = false | |
| 70 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 71 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 72 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 73 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 74 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 75 | WEAPONGUI.Name = "Weapon GUI" | |
| 76 | local Weapon = IT("Folder")
| |
| 77 | Weapon.Name = "Adds" | |
| 78 | local Effects = IT("Folder", Weapon)
| |
| 79 | Effects.Name = "Effects" | |
| 80 | local ANIMATOR = Humanoid.Animator | |
| 81 | local ANIMATE = Character.Animate | |
| 82 | local UNANCHOR = true | |
| 83 | local VOCALS_BASIC = {468972244,468972378,468972711,468972944}
| |
| 84 | local VOCALS_TAUNT = {468973055,468973159}
| |
| 85 | local VOCAL_GROWL = 723872527 | |
| 86 | local VOCALS_ENRAGES = {723872601,723872601,723872601,723872601}
| |
| 87 | local CHARGE = 459523787 | |
| 88 | local ROUGHBLAST = 461105534 | |
| 89 | local WALLSOUND = 424195952 | |
| 90 | local FORCEIDLE = false | |
| 91 | Character.Archivable = true | |
| 92 | script.Parent = WEAPONGUI | |
| 93 | local CLONE = Character:Clone() | |
| 94 | CLONE.Parent = nil | |
| 95 | Character.Archivable = false | |
| 96 | local sick = Instance.new("Sound",Character)
| |
| 97 | local XATTACK = false | |
| 98 | Humanoid.JumpPower = 200 | |
| 99 | ||
| 100 | --//=================================\\ | |
| 101 | --\\=================================// | |
| 102 | ||
| 103 | ||
| 104 | --//=================================\\ | |
| 105 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 106 | --\\=================================// | |
| 107 | ||
| 108 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 109 | ArtificialHB.Name = "ArtificialHB" | |
| 110 | ||
| 111 | script:WaitForChild("ArtificialHB")
| |
| 112 | ||
| 113 | frame = Frame_Speed | |
| 114 | tf = 0 | |
| 115 | allowframeloss = false | |
| 116 | tossremainder = false | |
| 117 | lastframe = tick() | |
| 118 | script.ArtificialHB:Fire() | |
| 119 | ||
| 120 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 121 | tf = tf + s | |
| 122 | if tf >= frame then | |
| 123 | if allowframeloss then | |
| 124 | script.ArtificialHB:Fire() | |
| 125 | lastframe = tick() | |
| 126 | else | |
| 127 | for i = 1, math.floor(tf / frame) do | |
| 128 | script.ArtificialHB:Fire() | |
| 129 | end | |
| 130 | lastframe = tick() | |
| 131 | end | |
| 132 | if tossremainder then | |
| 133 | tf = 0 | |
| 134 | else | |
| 135 | tf = tf - frame * math.floor(tf / frame) | |
| 136 | end | |
| 137 | end | |
| 138 | end) | |
| 139 | ||
| 140 | --//=================================\\ | |
| 141 | --\\=================================// | |
| 142 | ||
| 143 | --//=================================\\ | |
| 144 | --|| SOME FUNCTIONS | |
| 145 | --\\=================================// | |
| 146 | ||
| 147 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 148 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 149 | end | |
| 150 | ||
| 151 | function PositiveAngle(NUMBER) | |
| 152 | if NUMBER >= 0 then | |
| 153 | NUMBER = 0 | |
| 154 | end | |
| 155 | return NUMBER | |
| 156 | end | |
| 157 | ||
| 158 | function NegativeAngle(NUMBER) | |
| 159 | if NUMBER <= 0 then | |
| 160 | NUMBER = 0 | |
| 161 | end | |
| 162 | return NUMBER | |
| 163 | end | |
| 164 | ||
| 165 | function Swait(NUMBER) | |
| 166 | if NUMBER == 0 or NUMBER == nil then | |
| 167 | ArtificialHB.Event:wait() | |
| 168 | else | |
| 169 | for i = 1, NUMBER do | |
| 170 | ArtificialHB.Event:wait() | |
| 171 | end | |
| 172 | end | |
| 173 | end | |
| 174 | ||
| 175 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 176 | local NEWMESH = IT(MESH) | |
| 177 | if MESH == "SpecialMesh" then | |
| 178 | NEWMESH.MeshType = MESHTYPE | |
| 179 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 180 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 181 | end | |
| 182 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 183 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 184 | end | |
| 185 | end | |
| 186 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 187 | NEWMESH.Scale = SCALE | |
| 188 | NEWMESH.Parent = PARENT | |
| 189 | return NEWMESH | |
| 190 | end | |
| 191 | ||
| 192 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 193 | local NEWPART = IT("Part")
| |
| 194 | NEWPART.formFactor = FORMFACTOR | |
| 195 | NEWPART.Reflectance = REFLECTANCE | |
| 196 | NEWPART.Transparency = TRANSPARENCY | |
| 197 | NEWPART.CanCollide = false | |
| 198 | NEWPART.Locked = true | |
| 199 | NEWPART.Anchored = true | |
| 200 | if ANCHOR == false then | |
| 201 | NEWPART.Anchored = false | |
| 202 | end | |
| 203 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 204 | NEWPART.Name = NAME | |
| 205 | NEWPART.Size = SIZE | |
| 206 | NEWPART.Position = Torso.Position | |
| 207 | NEWPART.Material = MATERIAL | |
| 208 | NEWPART:BreakJoints() | |
| 209 | NEWPART.Parent = PARENT | |
| 210 | return NEWPART | |
| 211 | end | |
| 212 | ||
| 213 | local function weldBetween(a, b) | |
| 214 | local weldd = Instance.new("ManualWeld")
| |
| 215 | weldd.Part0 = a | |
| 216 | weldd.Part1 = b | |
| 217 | weldd.C0 = CFrame.new() | |
| 218 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 219 | weldd.Parent = a | |
| 220 | return weldd | |
| 221 | end | |
| 222 | ||
| 223 | ||
| 224 | function QuaternionFromCFrame(cf) | |
| 225 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 226 | local trace = m00 + m11 + m22 | |
| 227 | if trace > 0 then | |
| 228 | local s = math.sqrt(1 + trace) | |
| 229 | local recip = 0.5 / s | |
| 230 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 231 | else | |
| 232 | local i = 0 | |
| 233 | if m11 > m00 then | |
| 234 | i = 1 | |
| 235 | end | |
| 236 | if m22 > (i == 0 and m00 or m11) then | |
| 237 | i = 2 | |
| 238 | end | |
| 239 | if i == 0 then | |
| 240 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 241 | local recip = 0.5 / s | |
| 242 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 243 | elseif i == 1 then | |
| 244 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 245 | local recip = 0.5 / s | |
| 246 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 247 | elseif i == 2 then | |
| 248 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 249 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 250 | end | |
| 251 | end | |
| 252 | end | |
| 253 | ||
| 254 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 255 | local xs, ys, zs = x + x, y + y, z + z | |
| 256 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 257 | local xx = x * xs | |
| 258 | local xy = x * ys | |
| 259 | local xz = x * zs | |
| 260 | local yy = y * ys | |
| 261 | local yz = y * zs | |
| 262 | local zz = z * zs | |
| 263 | 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)) | |
| 264 | end | |
| 265 | ||
| 266 | function QuaternionSlerp(a, b, t) | |
| 267 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 268 | local startInterp, finishInterp; | |
| 269 | if cosTheta >= 0.0001 then | |
| 270 | if (1 - cosTheta) > 0.0001 then | |
| 271 | local theta = ACOS(cosTheta) | |
| 272 | local invSinTheta = 1 / SIN(theta) | |
| 273 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 274 | finishInterp = SIN(t * theta) * invSinTheta | |
| 275 | else | |
| 276 | startInterp = 1 - t | |
| 277 | finishInterp = t | |
| 278 | end | |
| 279 | else | |
| 280 | if (1 + cosTheta) > 0.0001 then | |
| 281 | local theta = ACOS(-cosTheta) | |
| 282 | local invSinTheta = 1 / SIN(theta) | |
| 283 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 284 | finishInterp = SIN(t * theta) * invSinTheta | |
| 285 | else | |
| 286 | startInterp = t - 1 | |
| 287 | finishInterp = t | |
| 288 | end | |
| 289 | end | |
| 290 | 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 | |
| 291 | end | |
| 292 | ||
| 293 | function Clerp(a, b, t) | |
| 294 | local qa = {QuaternionFromCFrame(a)}
| |
| 295 | local qb = {QuaternionFromCFrame(b)}
| |
| 296 | local ax, ay, az = a.x, a.y, a.z | |
| 297 | local bx, by, bz = b.x, b.y, b.z | |
| 298 | local _t = 1 - t | |
| 299 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 300 | end | |
| 301 | ||
| 302 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 303 | local frame = IT("Frame")
| |
| 304 | frame.BackgroundTransparency = TRANSPARENCY | |
| 305 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 306 | frame.Position = POSITION | |
| 307 | frame.Size = SIZE | |
| 308 | frame.BackgroundColor3 = COLOR | |
| 309 | frame.BorderColor3 = BORDERCOLOR | |
| 310 | frame.Name = NAME | |
| 311 | frame.Parent = PARENT | |
| 312 | return frame | |
| 313 | end | |
| 314 | ||
| 315 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 316 | local label = IT("TextLabel")
| |
| 317 | label.BackgroundTransparency = 1 | |
| 318 | label.Size = UD2(1, 0, 1, 0) | |
| 319 | label.Position = UD2(0, 0, 0, 0) | |
| 320 | label.TextColor3 = TEXTCOLOR | |
| 321 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 322 | label.TextTransparency = TRANSPARENCY | |
| 323 | label.FontSize = TEXTFONTSIZE | |
| 324 | label.Font = TEXTFONT | |
| 325 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 326 | label.TextScaled = false | |
| 327 | label.Text = TEXT | |
| 328 | label.Name = NAME | |
| 329 | label.Parent = PARENT | |
| 330 | return label | |
| 331 | end | |
| 332 | ||
| 333 | function NoOutlines(PART) | |
| 334 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 335 | end | |
| 336 | ||
| 337 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 338 | local NEWWELD = IT(TYPE) | |
| 339 | NEWWELD.Part0 = PART0 | |
| 340 | NEWWELD.Part1 = PART1 | |
| 341 | NEWWELD.C0 = C0 | |
| 342 | NEWWELD.C1 = C1 | |
| 343 | NEWWELD.Parent = PARENT | |
| 344 | return NEWWELD | |
| 345 | end | |
| 346 | ||
| 347 | local S = IT("Sound")
| |
| 348 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 349 | local NEWSOUND = nil | |
| 350 | coroutine.resume(coroutine.create(function() | |
| 351 | NEWSOUND = S:Clone() | |
| 352 | NEWSOUND.Parent = PARENT | |
| 353 | NEWSOUND.Volume = VOLUME | |
| 354 | NEWSOUND.Pitch = PITCH | |
| 355 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 356 | NEWSOUND:play() | |
| 357 | if DOESLOOP == true then | |
| 358 | NEWSOUND.Looped = true | |
| 359 | else | |
| 360 | repeat wait(1) until NEWSOUND.Playing == false | |
| 361 | NEWSOUND:remove() | |
| 362 | end | |
| 363 | end)) | |
| 364 | return NEWSOUND | |
| 365 | end | |
| 366 | ||
| 367 | function CFrameFromTopBack(at, top, back) | |
| 368 | local right = top:Cross(back) | |
| 369 | 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) | |
| 370 | end | |
| 371 | ||
| 372 | --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})
| |
| 373 | function WACKYEFFECT(Table) | |
| 374 | local TYPE = (Table.EffectType or "Sphere") | |
| 375 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 376 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 377 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 378 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 379 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 380 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 381 | local ROTATION1 = (Table.RotationX or 0) | |
| 382 | local ROTATION2 = (Table.RotationY or 0) | |
| 383 | local ROTATION3 = (Table.RotationZ or 0) | |
| 384 | local MATERIAL = (Table.Material or "Neon") | |
| 385 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 386 | local TIME = (Table.Time or 45) | |
| 387 | local SOUNDID = (Table.SoundID or nil) | |
| 388 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 389 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 390 | coroutine.resume(coroutine.create(function() | |
| 391 | local PLAYSSOUND = false | |
| 392 | local SOUND = nil | |
| 393 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 394 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 395 | PLAYSSOUND = true | |
| 396 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 397 | end | |
| 398 | EFFECT.Color = COLOR | |
| 399 | local MSH = nil | |
| 400 | if TYPE == "Sphere" then | |
| 401 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 402 | elseif TYPE == "Block" then | |
| 403 | MSH = IT("BlockMesh",EFFECT)
| |
| 404 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 405 | elseif TYPE == "Wave" then | |
| 406 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 407 | elseif TYPE == "Ring" then | |
| 408 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 409 | elseif TYPE == "Slash" then | |
| 410 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 411 | elseif TYPE == "Round Slash" then | |
| 412 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 413 | elseif TYPE == "Swirl" then | |
| 414 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 415 | elseif TYPE == "Skull" then | |
| 416 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 417 | elseif TYPE == "Crystal" then | |
| 418 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 419 | end | |
| 420 | if MSH ~= nil then | |
| 421 | local MOVESPEED = nil | |
| 422 | if MOVEDIRECTION ~= nil then | |
| 423 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 424 | end | |
| 425 | local GROWTH = SIZE - ENDSIZE | |
| 426 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 427 | if TYPE == "Block" then | |
| 428 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 429 | else | |
| 430 | EFFECT.CFrame = CFRAME | |
| 431 | end | |
| 432 | for LOOP = 1, TIME+1 do | |
| 433 | Swait() | |
| 434 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 435 | if TYPE == "Wave" then | |
| 436 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 437 | end | |
| 438 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 439 | if TYPE == "Block" then | |
| 440 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 441 | else | |
| 442 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 443 | end | |
| 444 | if MOVEDIRECTION ~= nil then | |
| 445 | local ORI = EFFECT.Orientation | |
| 446 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 447 | EFFECT.Orientation = ORI | |
| 448 | end | |
| 449 | end | |
| 450 | EFFECT.Transparency = 1 | |
| 451 | if PLAYSSOUND == false then | |
| 452 | EFFECT:remove() | |
| 453 | else | |
| 454 | repeat Swait() until SOUND.Playing == false | |
| 455 | EFFECT:remove() | |
| 456 | end | |
| 457 | else | |
| 458 | if PLAYSSOUND == false then | |
| 459 | EFFECT:remove() | |
| 460 | else | |
| 461 | repeat Swait() until SOUND.Playing == false | |
| 462 | EFFECT:remove() | |
| 463 | end | |
| 464 | end | |
| 465 | end)) | |
| 466 | end | |
| 467 | ||
| 468 | function MakeForm(PART,TYPE) | |
| 469 | if TYPE == "Cyl" then | |
| 470 | local MSH = IT("CylinderMesh",PART)
| |
| 471 | elseif TYPE == "Ball" then | |
| 472 | local MSH = IT("SpecialMesh",PART)
| |
| 473 | MSH.MeshType = "Sphere" | |
| 474 | elseif TYPE == "Wedge" then | |
| 475 | local MSH = IT("SpecialMesh",PART)
| |
| 476 | MSH.MeshType = "Wedge" | |
| 477 | end | |
| 478 | end | |
| 479 | ||
| 480 | Debris = game:GetService("Debris")
| |
| 481 | ||
| 482 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 483 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 484 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 485 | end | |
| 486 | ||
| 487 | function turnto(position) | |
| 488 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 489 | end | |
| 490 | ||
| 491 | local Particle = IT("ParticleEmitter",nil)
| |
| 492 | Particle.Enabled = false | |
| 493 | Particle.LightEmission = 0.2 | |
| 494 | Particle.Rate = 150 | |
| 495 | Particle.ZOffset = 1 | |
| 496 | Particle.Rotation = NumberRange.new(-180, 180) | |
| 497 | ||
| 498 | --ParticleEmitter({Speed = 5, RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false, Color1 = C3(1,1,1), Color2 = C3(1,1,1), Texture = ""})
| |
| 499 | function ParticleEmitter(Table) | |
| 500 | local PRTCL = Particle:Clone() | |
| 501 | local Color1 = Table.Color1 or C3(1,1,1) | |
| 502 | local Color2 = Table.Color2 or C3(1,1,1) | |
| 503 | local Speed = Table.Speed or 5 | |
| 504 | local Drag = Table.Drag or 0 | |
| 505 | local Size1 = Table.Size1 or 1 | |
| 506 | local Size2 = Table.Size2 or 5 | |
| 507 | local Lifetime1 = Table.Lifetime1 or 1 | |
| 508 | local Lifetime2 = Table.Lifetime2 or 1.5 | |
| 509 | local Parent = Table.Parent or Torso | |
| 510 | local Emit = Table.Emit or 100 | |
| 511 | local Offset = Table.Offset or 360 | |
| 512 | local Acel = Table.Acel or VT(0,0,0) | |
| 513 | local Enabled = Table.Enabled or false | |
| 514 | local Texture = Table.Texture or "281983280" | |
| 515 | local RotS = Table.RotSpeed or NumberRange.new(-15, 15) | |
| 516 | local Trans1 = Table.Transparency1 or 0 | |
| 517 | local Trans2 = Table.Transparency2 or 0 | |
| 518 | PRTCL.Parent = Parent | |
| 519 | PRTCL.RotSpeed = RotS | |
| 520 | PRTCL.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,Trans1),NumberSequenceKeypoint.new(1,Trans2)})
| |
| 521 | PRTCL.Texture = "http://www.roblox.com/asset/?id="..Texture | |
| 522 | PRTCL.Color = ColorSequence.new(Color1,Color2) | |
| 523 | PRTCL.Size = NumberSequence.new(Size1,Size2) | |
| 524 | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
| 525 | PRTCL.Speed = NumberRange.new(Speed) | |
| 526 | PRTCL.VelocitySpread = Offset | |
| 527 | PRTCL.Drag = Drag | |
| 528 | PRTCL.Acceleration = Acel | |
| 529 | if Enabled == false then | |
| 530 | PRTCL:Emit(Emit) | |
| 531 | Debris:AddItem(PRTCL,Lifetime2) | |
| 532 | else | |
| 533 | PRTCL.Enabled = true | |
| 534 | end | |
| 535 | return PRTCL | |
| 536 | end | |
| 537 | ||
| 538 | function AddChildrenToTable(FROM,PARENT,DIST,TABLE) | |
| 539 | for _, c in pairs(PARENT:GetDescendants()) do | |
| 540 | if c.ClassName == "Model" then | |
| 541 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
| |
| 542 | local HUMANOID = c:FindFirstChildOfClass("Humanoid")
| |
| 543 | local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
| |
| 544 | if (TORSO.Position - FROM).Magnitude < DIST then | |
| 545 | table.insert(TABLE,c) | |
| 546 | end | |
| 547 | end | |
| 548 | end | |
| 549 | end | |
| 550 | end | |
| 551 | ||
| 552 | --//=================================\\ | |
| 553 | --|| WEAPON CREATION | |
| 554 | --\\=================================// | |
| 555 | ||
| 556 | local DECAL = IT("Decal",nil)
| |
| 557 | DECAL.Transparency = 1 | |
| 558 | DECAL.Texture = "http://www.roblox.com/asset/?id=99174105" | |
| 559 | Head:ClearAllChildren() | |
| 560 | ||
| 561 | Humanoid.Parent = nil | |
| 562 | RootPart.Size = RootPart.Size*SIZE | |
| 563 | Torso.Size = Torso.Size*SIZE | |
| 564 | RightArm.Size = RightArm.Size*SIZE | |
| 565 | RightLeg.Size = RightLeg.Size*SIZE | |
| 566 | LeftArm.Size = LeftArm.Size*SIZE | |
| 567 | LeftLeg.Size = LeftLeg.Size*SIZE | |
| 568 | RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 569 | RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 570 | Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 571 | Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 572 | RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 573 | LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE) | |
| 574 | RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 575 | LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 576 | RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 577 | LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 578 | Head.Size = VT(Head.Size.Y,Head.Size.Y,Head.Size.Y)*SIZE | |
| 579 | RootJoint.Parent = RootPart | |
| 580 | Neck.Parent = Torso | |
| 581 | RightShoulder.Parent = Torso | |
| 582 | LeftShoulder.Parent = Torso | |
| 583 | RightHip.Parent = Torso | |
| 584 | LeftHip.Parent = Torso | |
| 585 | ||
| 586 | CreateMesh("SpecialMesh", Head, "FileMesh", "1532586252", "99174105", VT(1.75, 1.75, 1.7)*SIZE, VT(0,0.4,0.1)*SIZE)
| |
| 587 | --CreateMesh("SpecialMesh", Head, "FileMesh", "62719736", "1566254101", VT(0.85,0.85,0.85)*SIZE, VT(0,1,-0.4))
| |
| 588 | Humanoid.DisplayDistanceType = "None" | |
| 589 | local naeeym = IT("BillboardGui",Character)
| |
| 590 | naeeym.AlwaysOnTop = true | |
| 591 | naeeym.Size = UDim2.new(5,35,2,15) | |
| 592 | naeeym.StudsOffset = Vector3.new(0,5,0) | |
| 593 | naeeym.MaxDistance = 75 | |
| 594 | naeeym.Adornee = Character.Head | |
| 595 | naeeym.Name = "Name" | |
| 596 | local tecks = IT("TextLabel",naeeym)
| |
| 597 | tecks.BackgroundTransparency = 1 | |
| 598 | tecks.TextScaled = true | |
| 599 | tecks.BorderSizePixel = 0 | |
| 600 | tecks.Text = "<><><><><><>" | |
| 601 | tecks.Font = "Fantasy" | |
| 602 | tecks.TextSize = 30 | |
| 603 | tecks.TextTransparency = 0.5 | |
| 604 | tecks.TextStrokeTransparency = 0.5 | |
| 605 | tecks.TextColor3 = C3(0,0,0) | |
| 606 | tecks.TextStrokeColor3 = C3(0/1275, 100/1275, 0/1275) | |
| 607 | tecks.Size = UDim2.new(1,0,0.5,0) | |
| 608 | tecks.Parent = naeeym | |
| 609 | local naeeym2 = IT("BillboardGui",Character)
| |
| 610 | naeeym2.AlwaysOnTop = true | |
| 611 | naeeym2.Size = UDim2.new(7,35,3,15) | |
| 612 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
| 613 | naeeym2.MaxDistance = 75 | |
| 614 | naeeym2.Adornee = Character.Head | |
| 615 | naeeym2.Name = "Name2" | |
| 616 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 617 | tecks2.BackgroundTransparency = 1 | |
| 618 | tecks2.TextScaled = true | |
| 619 | tecks2.BorderSizePixel = 0 | |
| 620 | tecks2.Text = "Salvatore" | |
| 621 | tecks2.Font = "Fantasy" | |
| 622 | tecks2.TextSize = 30 | |
| 623 | tecks2.TextStrokeTransparency = 0 | |
| 624 | tecks2.TextColor3 = C3(0,0,0) | |
| 625 | tecks2.TextStrokeColor3 = C3(0/575, 100/675, 0/675) | |
| 626 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 627 | tecks2.Parent = naeeym2 | |
| 628 | ||
| 629 | local MSG = game.Chat:FilterStringForBroadcast(tecks2.Text,Player) | |
| 630 | tecks2.Text = MSG | |
| 631 | ||
| 632 | local MSG = game.Chat:FilterStringForBroadcast(tecks.Text,Player) | |
| 633 | tecks.Text = MSG | |
| 634 | ||
| 635 | local RINGFIRE = {}
| |
| 636 | local top = Instance.new("Shirt")
| |
| 637 | top.ShirtTemplate = "rbxassetid://1368748836" | |
| 638 | top.Parent = Character | |
| 639 | top.Name = "Cloth" | |
| 640 | local bottom = Instance.new("Pants")
| |
| 641 | bottom.PantsTemplate = "rbxassetid://1326319289" | |
| 642 | bottom.Parent = Character | |
| 643 | bottom.Name = "Cloth" | |
| 644 | local FIRE = IT("Model",Weapon)
| |
| 645 | FIRE.Name = "RingOfFire" | |
| 646 | local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0)) | |
| 647 | FIRE.PrimaryPart = MAIN | |
| 648 | for i = 1, 45 do | |
| 649 | local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Lavender", "RingPart", VT(1,1,1)) | |
| 650 | PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,8) | |
| 651 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 0.2, Acel = VT(8,18,6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = PRT, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0.2,0.2,0.2), Texture = "1523916715"})
| |
| 652 | PRTCL.LockedToPart = true | |
| 653 | PRTCL.Rate = 35 | |
| 654 | table.insert(RINGFIRE,PRTCL) | |
| 655 | end | |
| 656 | local A = IT("Attachment",RightArm)
| |
| 657 | A.Position = VT(0,-1*SIZE,0.1*SIZE) | |
| 658 | local B = IT("Attachment",LeftArm)
| |
| 659 | B.Position = VT(0,-1*SIZE,0.1*SIZE) | |
| 660 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 1, Acel = VT(0,-1,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = A, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 661 | PRTCL.LockedToPart = true | |
| 662 | PRTCL.Rate = 85 | |
| 663 | table.insert(RINGFIRE,PRTCL) | |
| 664 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 1, Acel = VT(0,-1,0), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1.4, Parent = B, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 665 | PRTCL.LockedToPart = true | |
| 666 | PRTCL.Rate = 85 | |
| 667 | table.insert(RINGFIRE,PRTCL) | |
| 668 | for _, c in pairs(Character:GetChildren()) do | |
| 669 | if c.ClassName == "Part" and c ~= RootPart then | |
| 670 | local Face = DECAL:Clone() | |
| 671 | Face.Parent = c | |
| 672 | Face.Face = "Top" | |
| 673 | local Face = DECAL:Clone() | |
| 674 | Face.Parent = c | |
| 675 | Face.Face = "Left" | |
| 676 | local Face = DECAL:Clone() | |
| 677 | Face.Parent = c | |
| 678 | Face.Face = "Right" | |
| 679 | local Face = DECAL:Clone() | |
| 680 | Face.Parent = c | |
| 681 | Face.Face = "Front" | |
| 682 | local Face = DECAL:Clone() | |
| 683 | Face.Parent = c | |
| 684 | Face.Face = "Back" | |
| 685 | local Face = DECAL:Clone() | |
| 686 | Face.Parent = c | |
| 687 | Face.Face = "Bottom" | |
| 688 | end | |
| 689 | end | |
| 690 | ||
| 691 | local LASTPART = Head | |
| 692 | for i = 1, 45 do | |
| 693 | local MATH = (1-(i/50)) | |
| 694 | if LASTPART == Head then | |
| 695 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 696 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.15, 1.5, -0.2) * ANGLES(RAD(-75), RAD(15), RAD(-15)), CF(0, 0, 0))
| |
| 697 | LASTPART = Horn | |
| 698 | Horn.Color = C3(0,0,0) | |
| 699 | MakeForm(Horn,"Cyl") | |
| 700 | local Face = DECAL:Clone() | |
| 701 | Face.Parent = Horn | |
| 702 | Face.Face = "Top" | |
| 703 | local Face = DECAL:Clone() | |
| 704 | Face.Parent = Horn | |
| 705 | Face.Face = "Left" | |
| 706 | local Face = DECAL:Clone() | |
| 707 | Face.Parent = Horn | |
| 708 | Face.Face = "Right" | |
| 709 | local Face = DECAL:Clone() | |
| 710 | Face.Parent = Horn | |
| 711 | Face.Face = "Front" | |
| 712 | local Face = DECAL:Clone() | |
| 713 | Face.Parent = Horn | |
| 714 | Face.Face = "Back" | |
| 715 | local Face = DECAL:Clone() | |
| 716 | Face.Parent = Horn | |
| 717 | Face.Face = "Bottom" | |
| 718 | else | |
| 719 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 720 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3), RAD(1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 721 | LASTPART = Horn | |
| 722 | Horn.Color = C3(0,0,0) | |
| 723 | MakeForm(Horn,"Cyl") | |
| 724 | local Face = DECAL:Clone() | |
| 725 | Face.Parent = Horn | |
| 726 | Face.Face = "Top" | |
| 727 | local Face = DECAL:Clone() | |
| 728 | Face.Parent = Horn | |
| 729 | Face.Face = "Left" | |
| 730 | local Face = DECAL:Clone() | |
| 731 | Face.Parent = Horn | |
| 732 | Face.Face = "Right" | |
| 733 | local Face = DECAL:Clone() | |
| 734 | Face.Parent = Horn | |
| 735 | Face.Face = "Front" | |
| 736 | local Face = DECAL:Clone() | |
| 737 | Face.Parent = Horn | |
| 738 | Face.Face = "Back" | |
| 739 | local Face = DECAL:Clone() | |
| 740 | Face.Parent = Horn | |
| 741 | Face.Face = "Bottom" | |
| 742 | end | |
| 743 | end | |
| 744 | local LASTPART = Head | |
| 745 | for i = 1, 45 do | |
| 746 | local MATH = (1-(i/50)) | |
| 747 | if LASTPART == Head then | |
| 748 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 749 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.15, 1.5, -0.2) * ANGLES(RAD(-75), RAD(-15), RAD(15)), CF(0, 0, 0))
| |
| 750 | LASTPART = Horn | |
| 751 | Horn.Color = C3(0,0,0) | |
| 752 | MakeForm(Horn,"Cyl") | |
| 753 | local Face = DECAL:Clone() | |
| 754 | Face.Parent = Horn | |
| 755 | Face.Face = "Top" | |
| 756 | local Face = DECAL:Clone() | |
| 757 | Face.Parent = Horn | |
| 758 | Face.Face = "Left" | |
| 759 | local Face = DECAL:Clone() | |
| 760 | Face.Parent = Horn | |
| 761 | Face.Face = "Right" | |
| 762 | local Face = DECAL:Clone() | |
| 763 | Face.Parent = Horn | |
| 764 | Face.Face = "Front" | |
| 765 | local Face = DECAL:Clone() | |
| 766 | Face.Parent = Horn | |
| 767 | Face.Face = "Back" | |
| 768 | local Face = DECAL:Clone() | |
| 769 | Face.Parent = Horn | |
| 770 | Face.Face = "Bottom" | |
| 771 | else | |
| 772 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.15,0.25*MATH),false) | |
| 773 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(3), RAD(-1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 774 | LASTPART = Horn | |
| 775 | Horn.Color = C3(0,0,0) | |
| 776 | MakeForm(Horn,"Cyl") | |
| 777 | local Face = DECAL:Clone() | |
| 778 | Face.Parent = Horn | |
| 779 | Face.Face = "Top" | |
| 780 | local Face = DECAL:Clone() | |
| 781 | Face.Parent = Horn | |
| 782 | Face.Face = "Left" | |
| 783 | local Face = DECAL:Clone() | |
| 784 | Face.Parent = Horn | |
| 785 | Face.Face = "Right" | |
| 786 | local Face = DECAL:Clone() | |
| 787 | Face.Parent = Horn | |
| 788 | Face.Face = "Front" | |
| 789 | local Face = DECAL:Clone() | |
| 790 | Face.Parent = Horn | |
| 791 | Face.Face = "Back" | |
| 792 | local Face = DECAL:Clone() | |
| 793 | Face.Parent = Horn | |
| 794 | Face.Face = "Bottom" | |
| 795 | end | |
| 796 | end | |
| 797 | local LASTPART = Head | |
| 798 | for i = 1, 45 do | |
| 799 | local MATH = (1-(i/50)) | |
| 800 | if LASTPART == Head then | |
| 801 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 802 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.25, 1.5, -0.2) * ANGLES(RAD(-45), RAD(15), RAD(-35)), CF(0, 0, 0))
| |
| 803 | LASTPART = Horn | |
| 804 | Horn.Color = C3(0,0,0) | |
| 805 | MakeForm(Horn,"Cyl") | |
| 806 | local Face = DECAL:Clone() | |
| 807 | Face.Parent = Horn | |
| 808 | Face.Face = "Top" | |
| 809 | local Face = DECAL:Clone() | |
| 810 | Face.Parent = Horn | |
| 811 | Face.Face = "Left" | |
| 812 | local Face = DECAL:Clone() | |
| 813 | Face.Parent = Horn | |
| 814 | Face.Face = "Right" | |
| 815 | local Face = DECAL:Clone() | |
| 816 | Face.Parent = Horn | |
| 817 | Face.Face = "Front" | |
| 818 | local Face = DECAL:Clone() | |
| 819 | Face.Parent = Horn | |
| 820 | Face.Face = "Back" | |
| 821 | local Face = DECAL:Clone() | |
| 822 | Face.Parent = Horn | |
| 823 | Face.Face = "Bottom" | |
| 824 | else | |
| 825 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.12,0.25*MATH),false) | |
| 826 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(4), RAD(1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 827 | LASTPART = Horn | |
| 828 | Horn.Color = C3(0,0,0) | |
| 829 | MakeForm(Horn,"Cyl") | |
| 830 | local Face = DECAL:Clone() | |
| 831 | Face.Parent = Horn | |
| 832 | Face.Face = "Top" | |
| 833 | local Face = DECAL:Clone() | |
| 834 | Face.Parent = Horn | |
| 835 | Face.Face = "Left" | |
| 836 | local Face = DECAL:Clone() | |
| 837 | Face.Parent = Horn | |
| 838 | Face.Face = "Right" | |
| 839 | local Face = DECAL:Clone() | |
| 840 | Face.Parent = Horn | |
| 841 | Face.Face = "Front" | |
| 842 | local Face = DECAL:Clone() | |
| 843 | Face.Parent = Horn | |
| 844 | Face.Face = "Back" | |
| 845 | local Face = DECAL:Clone() | |
| 846 | Face.Parent = Horn | |
| 847 | Face.Face = "Bottom" | |
| 848 | end | |
| 849 | end | |
| 850 | local LASTPART = Head | |
| 851 | for i = 1, 45 do | |
| 852 | local MATH = (1-(i/50)) | |
| 853 | if LASTPART == Head then | |
| 854 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false) | |
| 855 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.25, 1.5, -0.2) * ANGLES(RAD(-45), RAD(-15), RAD(35)), CF(0, 0, 0))
| |
| 856 | LASTPART = Horn | |
| 857 | Horn.Color = C3(0,0,0) | |
| 858 | MakeForm(Horn,"Cyl") | |
| 859 | local Face = DECAL:Clone() | |
| 860 | Face.Parent = Horn | |
| 861 | Face.Face = "Top" | |
| 862 | local Face = DECAL:Clone() | |
| 863 | Face.Parent = Horn | |
| 864 | Face.Face = "Left" | |
| 865 | local Face = DECAL:Clone() | |
| 866 | Face.Parent = Horn | |
| 867 | Face.Face = "Right" | |
| 868 | local Face = DECAL:Clone() | |
| 869 | Face.Parent = Horn | |
| 870 | Face.Face = "Front" | |
| 871 | local Face = DECAL:Clone() | |
| 872 | Face.Parent = Horn | |
| 873 | Face.Face = "Back" | |
| 874 | local Face = DECAL:Clone() | |
| 875 | Face.Parent = Horn | |
| 876 | Face.Face = "Bottom" | |
| 877 | else | |
| 878 | local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.12,0.25*MATH),false) | |
| 879 | CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(4), RAD(-1), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
| |
| 880 | LASTPART = Horn | |
| 881 | Horn.Color = C3(0,0,0) | |
| 882 | MakeForm(Horn,"Cyl") | |
| 883 | local Face = DECAL:Clone() | |
| 884 | Face.Parent = Horn | |
| 885 | Face.Face = "Top" | |
| 886 | local Face = DECAL:Clone() | |
| 887 | Face.Parent = Horn | |
| 888 | Face.Face = "Left" | |
| 889 | local Face = DECAL:Clone() | |
| 890 | Face.Parent = Horn | |
| 891 | Face.Face = "Right" | |
| 892 | local Face = DECAL:Clone() | |
| 893 | Face.Parent = Horn | |
| 894 | Face.Face = "Front" | |
| 895 | local Face = DECAL:Clone() | |
| 896 | Face.Parent = Horn | |
| 897 | Face.Face = "Back" | |
| 898 | local Face = DECAL:Clone() | |
| 899 | Face.Parent = Horn | |
| 900 | Face.Face = "Bottom" | |
| 901 | end | |
| 902 | end | |
| 903 | ||
| 904 | local EYE1 = IT("Attachment",Head)
| |
| 905 | EYE1.Position = (VT(0.5, 0.900, -1.195)/2)*SIZE | |
| 906 | local EYE2 = IT("Attachment",Head)
| |
| 907 | EYE2.Position = (VT(-0.5, 0.900, -1.195)/2)*SIZE | |
| 908 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 1, Lifetime2 = 1.4, Parent = EYE1, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0,0.5,0), Texture = "1523916715"})
| |
| 909 | PRTCL.LockedToPart = true | |
| 910 | PRTCL.Rate = 185 | |
| 911 | PRTCL.ZOffset = 0.1 | |
| 912 | table.insert(RINGFIRE,PRTCL) | |
| 913 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(-2,0.5,0.6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 0.15, Size2 = 0, Lifetime1 = 1, Lifetime2 = 1.4, Parent = EYE2, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0,0.5,0), Texture = "1523916715"})
| |
| 914 | PRTCL.LockedToPart = true | |
| 915 | PRTCL.Rate = 185 | |
| 916 | PRTCL.ZOffset = 0.1 | |
| 917 | local BODY = {}
| |
| 918 | table.insert(RINGFIRE,PRTCL) | |
| 919 | for _, c in pairs(Character:GetDescendants()) do | |
| 920 | if c:IsA("BasePart") and c.Name ~= "Handle" then
| |
| 921 | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
| 922 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 923 | end | |
| 924 | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
| |
| 925 | elseif c:IsA("JointInstance") then
| |
| 926 | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
| |
| 927 | end | |
| 928 | end | |
| 929 | function refit() | |
| 930 | Character.Parent = workspace | |
| 931 | for e = 1, #BODY do | |
| 932 | if BODY[e] ~= nil then | |
| 933 | local STUFF = BODY[e] | |
| 934 | local PART = STUFF[1] | |
| 935 | local PARENT = STUFF[2] | |
| 936 | local MATERIAL = STUFF[3] | |
| 937 | local COLOR = STUFF[4] | |
| 938 | local TRANSPARENCY = STUFF[5] | |
| 939 | --local SIZE = STUFF[6] | |
| 940 | local NAME = STUFF[7] | |
| 941 | if PART.ClassName == "Part" and PART ~= RootPart then | |
| 942 | PART.Material = MATERIAL | |
| 943 | PART.Transparency = TRANSPARENCY | |
| 944 | PART.Name = NAME | |
| 945 | end | |
| 946 | if PART.Parent ~= PARENT then | |
| 947 | Humanoid:remove() | |
| 948 | PART.Parent = PARENT | |
| 949 | Humanoid = IT("Humanoid",Character)
| |
| 950 | end | |
| 951 | end | |
| 952 | end | |
| 953 | end | |
| 954 | ||
| 955 | for _, c in pairs(Weapon:GetChildren()) do | |
| 956 | if c.ClassName == "Part" then | |
| 957 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 958 | end | |
| 959 | end | |
| 960 | ||
| 961 | local SKILLTEXTCOLOR = C3(0,0,0) | |
| 962 | local SKILLFONT = "Fantasy" | |
| 963 | local SKILLTEXTSIZE = 6 | |
| 964 | ||
| 965 | Weapon.Parent = Character | |
| 966 | Humanoid.Parent = Character | |
| 967 | ||
| 968 | Humanoid.Died:connect(function() | |
| 969 | refit() | |
| 970 | end) | |
| 971 | ||
| 972 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 973 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 974 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.82, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 975 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 976 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.74, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 977 | ||
| 978 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1") | |
| 979 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2") | |
| 980 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3") | |
| 981 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4") | |
| 982 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 5") | |
| 983 | ||
| 984 | --//=================================\\ | |
| 985 | --|| DAMAGING | |
| 986 | --\\=================================// | |
| 987 | ||
| 988 | function ApplyDamage(Humanoid,Damage,TorsoPart) | |
| 989 | local defence = Instance.new("BoolValue",Humanoid.Parent)
| |
| 990 | defence.Name = ("HitBy"..Player.Name)
| |
| 991 | game:GetService("Debris"):AddItem(defence, 0.001)
| |
| 992 | Damage = Damage * DAMAGEMULTIPLIER | |
| 993 | if Humanoid.Health ~= 0 then | |
| 994 | local CritChance = MRANDOM(1,100) | |
| 995 | if Damage > Humanoid.Health then | |
| 996 | Damage = math.ceil(Humanoid.Health) | |
| 997 | if Damage == 0 then | |
| 998 | Damage = 0.1 | |
| 999 | end | |
| 1000 | end | |
| 1001 | Humanoid.Health = Humanoid.Health - Damage | |
| 1002 | end | |
| 1003 | end | |
| 1004 | ||
| 1005 | function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) | |
| 1006 | local CHILDREN = workspace:GetDescendants() | |
| 1007 | for index, CHILD in pairs(CHILDREN) do | |
| 1008 | if CHILD.ClassName == "Model" and CHILD ~= Character then | |
| 1009 | local HUM = CHILD:FindFirstChildOfClass("Humanoid")
| |
| 1010 | if HUM then | |
| 1011 | local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
| |
| 1012 | if TORSO then | |
| 1013 | if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
| 1014 | if CHILD.Parent == Effects and CHILD:FindFirstChild("RealBody") then
| |
| 1015 | local BODY = CHILD.RealBody.Value | |
| 1016 | if BODY then | |
| 1017 | local HUM = BODY:FindFirstChildOfClass("Humanoid")
| |
| 1018 | if HUM then | |
| 1019 | if INSTAKILL == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then | |
| 1020 | BODY:BreakJoints() | |
| 1021 | else | |
| 1022 | local TORSO = BODY:FindFirstChild("Torso") or BODY:FindFirstChild("UpperTorso")
| |
| 1023 | if TORSO then | |
| 1024 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
| |
| 1025 | local DMG = MRANDOM(MINDMG,MAXDMG)/2 | |
| 1026 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,85,1), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,0.3,0), SoundID = HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
| |
| 1027 | ApplyDamage(HUM,DMG,TORSO) | |
| 1028 | end | |
| 1029 | end | |
| 1030 | end | |
| 1031 | end | |
| 1032 | else | |
| 1033 | if INSTAKILL == true or (HUM.MaxHealth == math.huge and MAXDMG > 0) then | |
| 1034 | CHILD:BreakJoints() | |
| 1035 | else | |
| 1036 | local DMG = MRANDOM(MINDMG,MAXDMG) | |
| 1037 | ApplyDamage(HUM,DMG,TORSO) | |
| 1038 | end | |
| 1039 | if FLING > 0 then | |
| 1040 | for _, c in pairs(CHILD:GetChildren()) do | |
| 1041 | if c:IsA("BasePart") then
| |
| 1042 | local bv = Instance.new("BodyVelocity")
| |
| 1043 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1044 | bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING | |
| 1045 | bv.Parent = c | |
| 1046 | Debris:AddItem(bv,0.05) | |
| 1047 | end | |
| 1048 | end | |
| 1049 | end | |
| 1050 | end | |
| 1051 | end | |
| 1052 | end | |
| 1053 | end | |
| 1054 | end | |
| 1055 | end | |
| 1056 | end | |
| 1057 | ||
| 1058 | --//=================================\\ | |
| 1059 | --|| ATTACK FUNCTIONS AND STUFF | |
| 1060 | --\\=================================// | |
| 1061 | ||
| 1062 | function MissilesOfDespair() | |
| 1063 | ATTACK = true | |
| 1064 | Rooted = true | |
| 1065 | local MAKERING = true | |
| 1066 | local RINGGROW = false | |
| 1067 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
| 1068 | coroutine.resume(coroutine.create(function() | |
| 1069 | repeat | |
| 1070 | Swait() | |
| 1071 | if ATTACK == false then | |
| 1072 | break | |
| 1073 | end | |
| 1074 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1075 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1076 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1077 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1078 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1079 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1080 | until MAKERING == false | |
| 1081 | repeat | |
| 1082 | Swait() | |
| 1083 | if ATTACK == false then | |
| 1084 | break | |
| 1085 | end | |
| 1086 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1087 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1088 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1089 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1090 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1091 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1092 | until RINGGROW == true | |
| 1093 | end)) | |
| 1094 | local FIRERING = IT("Model",Effects)
| |
| 1095 | FIRERING.Name = "RingOfFire" | |
| 1096 | local MAIN = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "Center", VT(0,0,0)) | |
| 1097 | FIRERING.PrimaryPart = MAIN | |
| 1098 | local RINGS = {}
| |
| 1099 | local EMITTERS = {}
| |
| 1100 | for i = 1, 45 do | |
| 1101 | local PRT = CreatePart(3, FIRERING, "Neon", 0, 1, "Lavender", "RingPart", VT(1,1,1)) | |
| 1102 | PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,0) | |
| 1103 | table.insert(RINGS,PRT) | |
| 1104 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0,Speed = 0.2, Acel = VT(8,18,6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.8, Parent = PRT, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0,0.5,0), Texture = "1523916715"})
| |
| 1105 | PRTCL.LockedToPart = true | |
| 1106 | PRTCL.Rate = 35 | |
| 1107 | table.insert(EMITTERS,PRTCL) | |
| 1108 | end | |
| 1109 | FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0))) | |
| 1110 | wait(0.5) | |
| 1111 | MAKERING = false | |
| 1112 | CreateSound(278641993, MAIN, 5, 1.2, false) | |
| 1113 | for e = 1, 45 do | |
| 1114 | Swait() | |
| 1115 | FIRERING:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,3,-3)*ANGLES(RAD(-75),RAD(0),RAD(0))) | |
| 1116 | for i = 1, #RINGS do | |
| 1117 | RINGS[i].CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,e/10) | |
| 1118 | end | |
| 1119 | end | |
| 1120 | RINGGROW = true | |
| 1121 | wait(0.2) | |
| 1122 | for i = 1, 15 do | |
| 1123 | wait(0.08) | |
| 1124 | coroutine.resume(coroutine.create(function() | |
| 1125 | local POS = Mouse.Hit.p | |
| 1126 | local MISSILE = CreatePart(3, Effects, "Neon", 0, 1, "Forest green", "Missile", VT(0.5,1,0.5)) | |
| 1127 | MISSILE.Color = C3(0,0.2,0) | |
| 1128 | CreateSound(84005018, MISSILE, 0.2, 1.2, false) | |
| 1129 | MakeForm(MISSILE,"Ball") | |
| 1130 | MISSILE.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(1,5)) | |
| 1131 | for i = 1, 10 do | |
| 1132 | Swait() | |
| 1133 | MISSILE.Transparency = MISSILE.Transparency - 1/15 | |
| 1134 | MISSILE.CFrame = MISSILE.CFrame * CF(0,0.7,0) | |
| 1135 | end | |
| 1136 | for i = 1, 5 do | |
| 1137 | Swait() | |
| 1138 | MISSILE.Transparency = MISSILE.Transparency - 1/15 | |
| 1139 | MISSILE.CFrame = MISSILE.CFrame * CF(0,0.5,0) | |
| 1140 | end | |
| 1141 | MISSILE.Size = VT(0.2,0.2,1.5) | |
| 1142 | MISSILE.CFrame = CF(MISSILE.Position,POS) | |
| 1143 | for i = 1, 150 do | |
| 1144 | Swait() | |
| 1145 | MISSILE.CFrame = MISSILE.CFrame*CF(0,0,-3) | |
| 1146 | local HIT = Raycast(MISSILE.Position, MISSILE.CFrame.lookVector, 4, Character) | |
| 1147 | if HIT ~= nil then | |
| 1148 | WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3})
| |
| 1149 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = nil, SoundPitch = 1.3, SoundVolume = 3})
| |
| 1150 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = MISSILE.Size, Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = MISSILE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MISSILE.Color, SoundID = 165970126, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
| |
| 1151 | for i = 1, 5 do | |
| 1152 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(35,2,35), Transparency = 0.8, Transparency2 = 1, CFrame = MISSILE.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})
| |
| 1153 | end | |
| 1154 | ApplyAoE(MISSILE.Position,15,15,25,35,false) | |
| 1155 | break | |
| 1156 | end | |
| 1157 | end | |
| 1158 | MISSILE:remove() | |
| 1159 | end)) | |
| 1160 | end | |
| 1161 | for i = 1, #EMITTERS do | |
| 1162 | EMITTERS[i].Enabled = false | |
| 1163 | end | |
| 1164 | Debris:AddItem(FIRERING,3) | |
| 1165 | ATTACK = false | |
| 1166 | Rooted = false | |
| 1167 | end | |
| 1168 | ||
| 1169 | function ShadowRoam() | |
| 1170 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 1171 | if HITFLOOR then | |
| 1172 | ATTACK = true | |
| 1173 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
| 1174 | local BUSY = false | |
| 1175 | Rooted = true | |
| 1176 | local CLOAKING = false | |
| 1177 | local UNCLOAKED = true | |
| 1178 | local LOOP = nil | |
| 1179 | local FAKESHADOW = IT("Model",Effects)
| |
| 1180 | FAKESHADOW.Name = "Shadow" | |
| 1181 | local POS = RootPart.Position | |
| 1182 | local MOUSEHIT = nil | |
| 1183 | -- | |
| 1184 | local TORS = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Forest green", "Spike", Torso.Size) | |
| 1185 | TORS.Color = C3(0,0,0) | |
| 1186 | TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0)) | |
| 1187 | local HED = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Forest green", "Spike", VT(Head.Size.Y,Head.Size.Y,Head.Size.Y)) | |
| 1188 | HED.Color = C3(0,0,0) | |
| 1189 | HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0) | |
| 1190 | local RARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Forest green", "Spike", RightArm.Size) | |
| 1191 | RARM.Color = C3(0,0,0) | |
| 1192 | RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
| 1193 | local LARM = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Forest green", "Spike", RightArm.Size) | |
| 1194 | LARM.Color = C3(0,0,0) | |
| 1195 | LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
| 1196 | local RLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Forest green", "Spike", RightLeg.Size) | |
| 1197 | RLEG.Color = C3(0,0,0) | |
| 1198 | RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
| 1199 | local LLEG = CreatePart(3, FAKESHADOW, "Neon", 0, 1, "Forest green", "Spike", RightLeg.Size) | |
| 1200 | LLEG.Color = C3(0,0,0) | |
| 1201 | LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
| 1202 | -- | |
| 1203 | coroutine.resume(coroutine.create(function() | |
| 1204 | coroutine.resume(coroutine.create(function() | |
| 1205 | while wait() do | |
| 1206 | if RootPart.Position.Y > POS.Y then | |
| 1207 | BUSY = true | |
| 1208 | if MOUSEHIT then | |
| 1209 | MOUSEHIT:disconnect() | |
| 1210 | end | |
| 1211 | for _, c in pairs(Character:GetChildren()) do | |
| 1212 | if c.ClassName == "Part" and c ~= RootPart then | |
| 1213 | c.Transparency = 0 | |
| 1214 | for _, q in pairs(c:GetChildren()) do | |
| 1215 | if q.ClassName == "Decal" then | |
| 1216 | q.Transparency = 0 | |
| 1217 | end | |
| 1218 | end | |
| 1219 | end | |
| 1220 | end | |
| 1221 | for i=0, 1.5, 0.1 / Animation_Speed do | |
| 1222 | Swait() | |
| 1223 | RootPart.Anchored = true | |
| 1224 | UNCLOAKED = false | |
| 1225 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
| 1226 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1227 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1228 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1229 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1230 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1231 | end | |
| 1232 | coroutine.resume(coroutine.create(function() | |
| 1233 | for i = 1, 15 do | |
| 1234 | Swait() | |
| 1235 | if FAKESHADOW then | |
| 1236 | for _, q in pairs(FAKESHADOW:GetChildren()) do | |
| 1237 | if q.ClassName == "Part" then | |
| 1238 | q.Transparency = q.Transparency + 1/15 | |
| 1239 | end | |
| 1240 | end | |
| 1241 | end | |
| 1242 | end | |
| 1243 | if FAKESHADOW then | |
| 1244 | FAKESHADOW:remove() | |
| 1245 | end | |
| 1246 | FAKESHADOW = nil | |
| 1247 | end)) | |
| 1248 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1249 | Swait() | |
| 1250 | RootPart.Anchored = true | |
| 1251 | UNCLOAKED = true | |
| 1252 | if LOOP then | |
| 1253 | LOOP.Pitch = LOOP.Pitch - 0.2 | |
| 1254 | end | |
| 1255 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
| 1256 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1257 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1258 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1259 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1260 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1261 | end | |
| 1262 | LOOP:remove() | |
| 1263 | LOOP = nil | |
| 1264 | for i = 1, 35 do | |
| 1265 | Swait() | |
| 1266 | for _, c in pairs(Character:GetChildren()) do | |
| 1267 | if c.ClassName == "Part" then | |
| 1268 | for _, q in pairs(c:GetChildren()) do | |
| 1269 | if q.ClassName == "Decal" then | |
| 1270 | q.Transparency = q.Transparency + 1/35 | |
| 1271 | end | |
| 1272 | end | |
| 1273 | end | |
| 1274 | end | |
| 1275 | end | |
| 1276 | UNANCHOR = true | |
| 1277 | ATTACK = false | |
| 1278 | Rooted = false | |
| 1279 | end | |
| 1280 | if FAKESHADOW then | |
| 1281 | TORS.CFrame = RootPart.CFrame*CF(0,-6.85,-0.8) * ANGLES(RAD(90), RAD(180), RAD(0)) | |
| 1282 | HED.CFrame = TORS.CFrame*CF(0,-TORS.Size.Y/2-HED.Size.Y/2,0) | |
| 1283 | RARM.CFrame = TORS.CFrame*CF(TORS.Size.X/2+RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
| 1284 | LARM.CFrame = TORS.CFrame*CF(-TORS.Size.X/2-RARM.Size.X/1.9,-0.3,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
| 1285 | RLEG.CFrame = TORS.CFrame*CF(TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(-15)) | |
| 1286 | LLEG.CFrame = TORS.CFrame*CF(-TORS.Size.X/2.8,TORS.Size.Y,0) * ANGLES(RAD(0), RAD(0), RAD(15)) | |
| 1287 | end | |
| 1288 | if LOOP ~= nil then | |
| 1289 | LOOP.Parent = TORS | |
| 1290 | end | |
| 1291 | naeeym.Enabled = UNCLOAKED | |
| 1292 | naeeym2.Enabled = UNCLOAKED | |
| 1293 | for c = 1, #RINGFIRE do | |
| 1294 | RINGFIRE[c].Enabled = UNCLOAKED | |
| 1295 | end | |
| 1296 | if ATTACK == false then | |
| 1297 | break | |
| 1298 | end | |
| 1299 | end | |
| 1300 | end)) | |
| 1301 | repeat | |
| 1302 | Swait() | |
| 1303 | if ATTACK == false then | |
| 1304 | break | |
| 1305 | end | |
| 1306 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1307 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1308 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1309 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1310 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1311 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1312 | until CLOAKING == true | |
| 1313 | end)) | |
| 1314 | wait(0.3) | |
| 1315 | for i = 1, 35 do | |
| 1316 | Swait() | |
| 1317 | for _, c in pairs(Character:GetChildren()) do | |
| 1318 | if c.ClassName == "Part" then | |
| 1319 | for _, q in pairs(c:GetChildren()) do | |
| 1320 | if q.ClassName == "Decal" then | |
| 1321 | q.Transparency = q.Transparency - 1/35 | |
| 1322 | end | |
| 1323 | end | |
| 1324 | end | |
| 1325 | end | |
| 1326 | end | |
| 1327 | UNANCHOR = false | |
| 1328 | RootPart.Anchored = true | |
| 1329 | CLOAKING = true | |
| 1330 | coroutine.resume(coroutine.create(function() | |
| 1331 | for i = 1, 15 do | |
| 1332 | Swait() | |
| 1333 | for _, q in pairs(FAKESHADOW:GetChildren()) do | |
| 1334 | if q.ClassName == "Part" then | |
| 1335 | q.Transparency = q.Transparency - 1/15 | |
| 1336 | end | |
| 1337 | end | |
| 1338 | end | |
| 1339 | end)) | |
| 1340 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1341 | Swait() | |
| 1342 | RootPart.Anchored = true | |
| 1343 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -2*SIZE) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
| 1344 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1345 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1346 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1347 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1348 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1349 | end | |
| 1350 | LOOP = CreateSound(487214658, TORS, 0, 1, true) | |
| 1351 | for i=0, 0.6, 0.1 / Animation_Speed do | |
| 1352 | Swait() | |
| 1353 | RootPart.Anchored = true | |
| 1354 | UNCLOAKED = false | |
| 1355 | if LOOP then | |
| 1356 | LOOP.Volume = LOOP.Volume + 0.1 | |
| 1357 | end | |
| 1358 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -7*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
| 1359 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1360 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1361 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1362 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1363 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1364 | end | |
| 1365 | for _, c in pairs(Character:GetChildren()) do | |
| 1366 | if c.ClassName == "Part" then | |
| 1367 | c.Transparency = 1 | |
| 1368 | for _, q in pairs(c:GetChildren()) do | |
| 1369 | if q.ClassName == "Decal" then | |
| 1370 | q.Transparency = 1 | |
| 1371 | end | |
| 1372 | end | |
| 1373 | end | |
| 1374 | end | |
| 1375 | MOUSEHIT = Mouse.Button1Down:connect(function(NEWKEY) | |
| 1376 | local HITFLOOR,HITPOS = Raycast(RootPart.Position-VT(0,2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 1377 | if HITFLOOR then | |
| 1378 | local POS = HITPOS | |
| 1379 | local WORKING = true | |
| 1380 | coroutine.resume(coroutine.create(function() | |
| 1381 | repeat | |
| 1382 | Swait() | |
| 1383 | WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,0.2,10), Size2 = VT(0,0.5,0), Transparency = 1, Transparency2 = 0, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
| |
| 1384 | until WORKING == false | |
| 1385 | end)) | |
| 1386 | wait(0.3) | |
| 1387 | local SPIKE = CreatePart(3, Effects, "Fabric", 0, 0, "Forest green", "Spike", VT(2,32,2)) | |
| 1388 | SPIKE.Color = C3(0,0,0) | |
| 1389 | local MSH = IT("SpecialMesh",SPIKE)
| |
| 1390 | MSH.MeshType = "FileMesh" | |
| 1391 | MSH.MeshId = "http://www.roblox.com/asset/?id=785967755" | |
| 1392 | MSH.Scale = SPIKE.Size/50 | |
| 1393 | SPIKE.CFrame = CF(POS+VT(0,15,0)) | |
| 1394 | ApplyAoE(SPIKE.Position,15,35,55,35,false) | |
| 1395 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 178452241, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
| |
| 1396 | wait(0.2) | |
| 1397 | for i = 1, 16 do | |
| 1398 | Swait() | |
| 1399 | SPIKE.CFrame = SPIKE.CFrame*CF(0,-2,0) | |
| 1400 | end | |
| 1401 | SPIKE:remove() | |
| 1402 | WORKING = false | |
| 1403 | end | |
| 1404 | end) | |
| 1405 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 1406 | if NEWKEY == "b" and BUSY == false then | |
| 1407 | BUSY = true | |
| 1408 | if MOUSEHIT then | |
| 1409 | MOUSEHIT:disconnect() | |
| 1410 | end | |
| 1411 | for _, c in pairs(Character:GetChildren()) do | |
| 1412 | if c.ClassName == "Part" and c ~= RootPart then | |
| 1413 | c.Transparency = 0 | |
| 1414 | for _, q in pairs(c:GetChildren()) do | |
| 1415 | if q.ClassName == "Decal" then | |
| 1416 | q.Transparency = 0 | |
| 1417 | end | |
| 1418 | end | |
| 1419 | end | |
| 1420 | end | |
| 1421 | for i=0, 1.5, 0.1 / Animation_Speed do | |
| 1422 | Swait() | |
| 1423 | RootPart.Anchored = true | |
| 1424 | UNCLOAKED = false | |
| 1425 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
| 1426 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1427 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1428 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1429 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1430 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1431 | end | |
| 1432 | coroutine.resume(coroutine.create(function() | |
| 1433 | for i = 1, 15 do | |
| 1434 | Swait() | |
| 1435 | for _, q in pairs(FAKESHADOW:GetChildren()) do | |
| 1436 | if q.ClassName == "Part" then | |
| 1437 | q.Transparency = q.Transparency + 1/15 | |
| 1438 | end | |
| 1439 | end | |
| 1440 | end | |
| 1441 | FAKESHADOW:remove() | |
| 1442 | FAKESHADOW = nil | |
| 1443 | end)) | |
| 1444 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1445 | Swait() | |
| 1446 | RootPart.Anchored = true | |
| 1447 | UNCLOAKED = true | |
| 1448 | LOOP.Pitch = LOOP.Pitch - 0.2 | |
| 1449 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) | |
| 1450 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1451 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1452 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1453 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1454 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1455 | end | |
| 1456 | LOOP:remove() | |
| 1457 | LOOP = nil | |
| 1458 | for i = 1, 35 do | |
| 1459 | Swait() | |
| 1460 | for _, c in pairs(Character:GetChildren()) do | |
| 1461 | if c.ClassName == "Part" then | |
| 1462 | for _, q in pairs(c:GetChildren()) do | |
| 1463 | if q.ClassName == "Decal" then | |
| 1464 | q.Transparency = q.Transparency + 1/35 | |
| 1465 | end | |
| 1466 | end | |
| 1467 | end | |
| 1468 | end | |
| 1469 | end | |
| 1470 | UNANCHOR = true | |
| 1471 | ATTACK = false | |
| 1472 | Rooted = false | |
| 1473 | elseif NEWKEY == "w" and BUSY == false then | |
| 1474 | repeat | |
| 1475 | Swait() | |
| 1476 | local HITFLOOR = Raycast(CF(RootPart.CFrame*CF(0,-2.1*SIZE,0).p,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-3).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character) | |
| 1477 | local FLOOR,HITPOS = Raycast(RootPart.Position-VT(0,-2.1*SIZE,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5*SIZE, Character) | |
| 1478 | if HITFLOOR then | |
| 1479 | WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(4,0.2,4), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
| |
| 1480 | RootPart.CFrame = CF(RootPart.Position,VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z))*CF(0,0,-1) | |
| 1481 | end | |
| 1482 | until KEYHOLD == false or BUSY == true | |
| 1483 | end | |
| 1484 | end) | |
| 1485 | end | |
| 1486 | end | |
| 1487 | ||
| 1488 | function PillarOfDespair() | |
| 1489 | ATTACK = true | |
| 1490 | Rooted = true | |
| 1491 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/2.5, MRANDOM(9,11)/10, false) | |
| 1492 | FORCEIDLE = true | |
| 1493 | for i = 1, 5 do | |
| 1494 | Swait() | |
| 1495 | for _, c in pairs(Character:GetChildren()) do | |
| 1496 | if c.ClassName == "Part" then | |
| 1497 | for _, q in pairs(c:GetChildren()) do | |
| 1498 | if q.ClassName == "Decal" then | |
| 1499 | q.Transparency = q.Transparency - 1/5 | |
| 1500 | end | |
| 1501 | end | |
| 1502 | end | |
| 1503 | end | |
| 1504 | end | |
| 1505 | local ORIGINPOS = RootPart.Position | |
| 1506 | CreateSound(1447872444, Torso, 10, 1.2, false) | |
| 1507 | for c = 1, #RINGFIRE do | |
| 1508 | RINGFIRE[c].Enabled = false | |
| 1509 | end | |
| 1510 | for i = 1, 25 do | |
| 1511 | Swait() | |
| 1512 | coroutine.resume(coroutine.create(function() | |
| 1513 | local POS = RootPart.Position | |
| 1514 | WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,50,0), Size2 = VT(15+i,45,15+i), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.2*SIZE,0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1515 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,25,0), Size2 = VT(25+i,0,25+i), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,2.2*SIZE,0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1516 | wait(0.3) | |
| 1517 | ApplyAoE(POS,25+i,15,25,25,false) | |
| 1518 | end)) | |
| 1519 | RootPart.CFrame = RootPart.CFrame*CF(0,0,5) | |
| 1520 | end | |
| 1521 | for c = 1, #RINGFIRE do | |
| 1522 | RINGFIRE[c].Enabled = true | |
| 1523 | end | |
| 1524 | FORCEIDLE = false | |
| 1525 | local BUILDUP = true | |
| 1526 | coroutine.resume(coroutine.create(function() | |
| 1527 | for i = 1, 35 do | |
| 1528 | Swait() | |
| 1529 | for _, c in pairs(Character:GetChildren()) do | |
| 1530 | if c.ClassName == "Part" then | |
| 1531 | for _, q in pairs(c:GetChildren()) do | |
| 1532 | if q.ClassName == "Decal" then | |
| 1533 | q.Transparency = q.Transparency + 1/35 | |
| 1534 | end | |
| 1535 | end | |
| 1536 | end | |
| 1537 | end | |
| 1538 | end | |
| 1539 | end)) | |
| 1540 | coroutine.resume(coroutine.create(function() | |
| 1541 | repeat | |
| 1542 | Swait() | |
| 1543 | if ATTACK == false then | |
| 1544 | break | |
| 1545 | end | |
| 1546 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1547 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1548 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1549 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1550 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1551 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1552 | until BUILDUP == false | |
| 1553 | repeat | |
| 1554 | Swait() | |
| 1555 | if ATTACK == false then | |
| 1556 | break | |
| 1557 | end | |
| 1558 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1559 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1560 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1561 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1562 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1563 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1564 | until ATTACK == false | |
| 1565 | end)) | |
| 1566 | wait(0.5) | |
| 1567 | BUILDUP = false | |
| 1568 | coroutine.resume(coroutine.create(function() | |
| 1569 | WACKYEFFECT({Time = 50, EffectType = "Sphere", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(ORIGINPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = CHARGE, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/1.2})
| |
| 1570 | for i = 1, 5 do | |
| 1571 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(25,2,25), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.7, CFrame = CF(ORIGINPOS) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
| |
| 1572 | end | |
| 1573 | wait(1.3) | |
| 1574 | for i = 1, 6 do | |
| 1575 | WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(25,25,25), Size2 = VT(85+(i*3),85+(i*3),85+(i*3)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORIGINPOS-VT(0,2,0)) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,25,0), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15), RotationZ = 0, Material = "Granite", Color = C3(i/0,1,0), SoundID = ROUGHBLAST, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 10})
| |
| 1576 | end | |
| 1577 | for i = 1, 25 do | |
| 1578 | WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(325,1,325), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORIGINPOS-VT(0,2,0)) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 1, RotationY = 5, RotationZ = 0, Material = "Granite", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
| |
| 1579 | end | |
| 1580 | ApplyAoE(ORIGINPOS,85,35,85,125,false) | |
| 1581 | end)) | |
| 1582 | wait(0.4) | |
| 1583 | ATTACK = false | |
| 1584 | Rooted = false | |
| 1585 | end | |
| 1586 | ||
| 1587 | function InfernoWall() | |
| 1588 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
| 1589 | ATTACK = true | |
| 1590 | Rooted = true | |
| 1591 | local BUILDUP = true | |
| 1592 | local WALL = IT("Model",Effects)
| |
| 1593 | WALL.Name = "Wall of Fire" | |
| 1594 | local BASE = CreatePart(3, WALL, "Fabric", 0, 1, "Forest green", "FirePart", VT(0,0,0)) | |
| 1595 | BASE.CFrame = RootPart.CFrame*CF(0,-2.8*SIZE,8) | |
| 1596 | local FIRES = {}
| |
| 1597 | local BODIES = {}
| |
| 1598 | local REPEATREMOVE = true | |
| 1599 | WALL.PrimaryPart = BASE | |
| 1600 | coroutine.resume(coroutine.create(function() | |
| 1601 | repeat | |
| 1602 | Swait() | |
| 1603 | if ATTACK == false then | |
| 1604 | break | |
| 1605 | end | |
| 1606 | turnto(Mouse.Hit.p) | |
| 1607 | WALL:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,-2.8*SIZE,8)) | |
| 1608 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1609 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1610 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1611 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1612 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1613 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1614 | until BUILDUP == false | |
| 1615 | repeat | |
| 1616 | Swait() | |
| 1617 | if ATTACK == false then | |
| 1618 | break | |
| 1619 | end | |
| 1620 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1621 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1622 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(43 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1623 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1624 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1625 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1626 | until ATTACK == false | |
| 1627 | end)) | |
| 1628 | CreateSound(278641993, BASE, 10, 0.8, false) | |
| 1629 | coroutine.resume(coroutine.create(function() | |
| 1630 | for i = 1, 45 do | |
| 1631 | Swait() | |
| 1632 | local PART = CreatePart(3, WALL, "Fabric", 0, 1, "Forest green", "FirePart", VT(2,0,2)) | |
| 1633 | PART.CFrame = BASE.CFrame * ANGLES(RAD(0), RAD(90+i), RAD(0))*CF(32,0,0) | |
| 1634 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(0,28+(i/5),6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 2+(i/25), Parent = PART, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0,0.5,0), Texture = "1523916715"})
| |
| 1635 | PRTCL.LockedToPart = true | |
| 1636 | PRTCL.Rate = 35 | |
| 1637 | table.insert(FIRES,PRTCL) | |
| 1638 | end | |
| 1639 | end)) | |
| 1640 | coroutine.resume(coroutine.create(function() | |
| 1641 | for i = 1, 45 do | |
| 1642 | Swait() | |
| 1643 | local PART = CreatePart(3, WALL, "Fabric", 0, 1, "Forest green", "FirePart", VT(2,0,2)) | |
| 1644 | PART.CFrame = BASE.CFrame * ANGLES(RAD(0), RAD(-90-i), RAD(0))*CF(-32,0,0) | |
| 1645 | local PRTCL = ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 0.2, Acel = VT(0,28+(i/5),6), RotSpeed = NumberRange.new(-15, 15), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 2+(i/25), Parent = PART, Emit = 100, Offset = 360, Enabled = true, Color1 = C3(0,0,0), Color2 = C3(0,0.5,0), Texture = "1523916715"})
| |
| 1646 | PRTCL.LockedToPart = true | |
| 1647 | PRTCL.Rate = 35 | |
| 1648 | table.insert(FIRES,PRTCL) | |
| 1649 | end | |
| 1650 | end)) | |
| 1651 | repeat wait() until #WALL:GetChildren() == 91 | |
| 1652 | wait(0.3) | |
| 1653 | BUILDUP = false | |
| 1654 | coroutine.resume(coroutine.create(function() | |
| 1655 | coroutine.resume(coroutine.create(function() | |
| 1656 | repeat | |
| 1657 | wait(1) | |
| 1658 | for e = 1, #BODIES do | |
| 1659 | if BODIES[e] ~= nil and REPEATREMOVE == true then | |
| 1660 | local BOD = BODIES[e] | |
| 1661 | local TORSO = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
| |
| 1662 | if TORSO then | |
| 1663 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*(TORSO.Size.Y/2), workspace) | |
| 1664 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,0.2,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = MRANDOM(15,30)/10})
| |
| 1665 | end | |
| 1666 | for i = 1, 10 do | |
| 1667 | for i = 1, #BODIES do | |
| 1668 | if (BODIES[i] == BOD and i ~= e) then | |
| 1669 | table.remove(BODIES,i) | |
| 1670 | end | |
| 1671 | end | |
| 1672 | end | |
| 1673 | end | |
| 1674 | end | |
| 1675 | until REPEATREMOVE == false | |
| 1676 | end)) | |
| 1677 | CreateSound(WALLSOUND, BASE, 10, 0.8, false) | |
| 1678 | for i = 1, 70 do | |
| 1679 | Swait() | |
| 1680 | AddChildrenToTable(BASE.Position,workspace,32,BODIES) | |
| 1681 | WALL:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0,-4)) | |
| 1682 | end | |
| 1683 | for i = 1, #FIRES do | |
| 1684 | FIRES[i].Enabled = false | |
| 1685 | end | |
| 1686 | Debris:AddItem(WALL,5) | |
| 1687 | wait(1) | |
| 1688 | REPEATREMOVE = false | |
| 1689 | for e = 1, #BODIES do | |
| 1690 | if BODIES[e] ~= nil then | |
| 1691 | Swait() | |
| 1692 | local BOD = BODIES[e] | |
| 1693 | local TORSO = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
| |
| 1694 | if TORSO then | |
| 1695 | local HUM = BOD:FindFirstChildOfClass("Humanoid")
| |
| 1696 | if HUM then | |
| 1697 | if HUM.Health > 0 then | |
| 1698 | local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*(TORSO.Size.Y/2), BOD) | |
| 1699 | if HITFLOOR then | |
| 1700 | ApplyDamage(HUM,MRANDOM(65,85),TORSO) | |
| 1701 | CreateSound(ROUGHBLAST, TORSO, 10, 1.2, false) | |
| 1702 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 0.7, Parent = TORSO, Emit = 300, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0.5,0), Texture = "1523916715"})
| |
| 1703 | end | |
| 1704 | end | |
| 1705 | end | |
| 1706 | end | |
| 1707 | end | |
| 1708 | end | |
| 1709 | end)) | |
| 1710 | wait(1) | |
| 1711 | ATTACK = false | |
| 1712 | Rooted = false | |
| 1713 | end | |
| 1714 | ||
| 1715 | function FormerShadow() | |
| 1716 | CreateSound(VOCALS_BASIC[MRANDOM(1,#VOCALS_BASIC)], Head, MRANDOM(9,11)/1.5, MRANDOM(9,11)/10, false) | |
| 1717 | XATTACK = true | |
| 1718 | ATTACK = true | |
| 1719 | Rooted = true | |
| 1720 | local BODIES = {}
| |
| 1721 | local SHADOWS = {}
| |
| 1722 | local BUILDUP = true | |
| 1723 | local DONE = false | |
| 1724 | coroutine.resume(coroutine.create(function() | |
| 1725 | repeat | |
| 1726 | Swait() | |
| 1727 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1728 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 1729 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1730 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1731 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1732 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1733 | until DONE == true | |
| 1734 | end)) | |
| 1735 | local MOUSEHIT = Mouse.Button1Down:connect(function(NEWKEY) | |
| 1736 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 1737 | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1738 | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
| |
| 1739 | if TORSO and HUM then | |
| 1740 | local PASS = true | |
| 1741 | for e = 1, #BODIES do | |
| 1742 | if BODIES[e] ~= nil then | |
| 1743 | if BODIES[e] == Mouse.Target.Parent then | |
| 1744 | PASS = false | |
| 1745 | end | |
| 1746 | end | |
| 1747 | end | |
| 1748 | if PASS == true then | |
| 1749 | table.insert(BODIES,Mouse.Target.Parent) | |
| 1750 | end | |
| 1751 | end | |
| 1752 | end | |
| 1753 | end) | |
| 1754 | local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY) | |
| 1755 | if NEWKEY == "x" then | |
| 1756 | DONE = true | |
| 1757 | end | |
| 1758 | end) | |
| 1759 | repeat wait() until DONE == true or #BODIES == 3 | |
| 1760 | DONE = true | |
| 1761 | MOUSEHIT:disconnect() | |
| 1762 | KEYDOWN:disconnect() | |
| 1763 | if #BODIES > 0 then | |
| 1764 | coroutine.resume(coroutine.create(function() | |
| 1765 | repeat | |
| 1766 | Swait() | |
| 1767 | if ATTACK == false then | |
| 1768 | break | |
| 1769 | end | |
| 1770 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = RightArm, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 1771 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = LeftArm, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 1772 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = RightLeg, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 1773 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = LeftLeg, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 1774 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = Torso, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 1775 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 1, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = Head, Emit = 25, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 1776 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 1777 | WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,12,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
| |
| 1778 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1779 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1780 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-15 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1781 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(15 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1782 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1783 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1784 | until BUILDUP == false | |
| 1785 | end)) | |
| 1786 | CreateSound(WALLSOUND, Torso, 10, 0.8, false) | |
| 1787 | CreateSound(ROUGHBLAST, Torso, 10, 0.8, false) | |
| 1788 | for i = 1, #BODIES do | |
| 1789 | if BODIES[i] ~= nil then | |
| 1790 | local TORSO = BODIES[i]:FindFirstChild("HumanoidRootPart") or BODIES[i]:FindFirstChild("Torso") or BODIES[i]:FindFirstChild("UpperTorso")
| |
| 1791 | if TORSO then | |
| 1792 | CreateSound(WALLSOUND, TORSO, 10, 1, false) | |
| 1793 | ParticleEmitter({Transparency1 = 1, Transparency2 = 0, Speed = 5, Acel = VT(0,12,0), RotSpeed = NumberRange.new(-150, 150), Drag = 0, Size1 = 3, Size2 = 0, Lifetime1 = 0.4, Lifetime2 = 1, Parent = TORSO, Emit = 300, Offset = 360, Enabled = false, Color1 = C3(0,0,0), Color2 = C3(0,0,0), Texture = "1523916715"})
| |
| 1794 | end | |
| 1795 | end | |
| 1796 | end | |
| 1797 | wait(1) | |
| 1798 | local SHADOWFADE = false | |
| 1799 | for i = 1, #BODIES do | |
| 1800 | if BODIES[i] ~= nil then | |
| 1801 | local TORSO = BODIES[i]:FindFirstChild("HumanoidRootPart") or BODIES[i]:FindFirstChild("Torso") or BODIES[i]:FindFirstChild("UpperTorso")
| |
| 1802 | if TORSO then | |
| 1803 | local SHADOW = CLONE:Clone() | |
| 1804 | SHADOW.Parent = Effects | |
| 1805 | SHADOW.HumanoidRootPart.CFrame = TORSO.CFrame*CF(0,6,0) | |
| 1806 | --SHADOW.HumanoidRootPart.CFrame = RootPart.CFrame * ANGLES(RAD(0), RAD((360/#SHADOWS)*i), RAD(0))*CF(0,0,15) | |
| 1807 | SHADOW.Humanoid.WalkSpeed = 35 | |
| 1808 | SHADOW.Humanoid.Health = 1 | |
| 1809 | SHADOW.Humanoid.MaxHealth = 1 | |
| 1810 | SHADOW.Name = BODIES[i].Name | |
| 1811 | for i = 1, 3 do | |
| 1812 | for _, c in pairs(SHADOW:GetChildren()) do | |
| 1813 | if c.ClassName == "Part" then | |
| 1814 | c.Material = "Neon" | |
| 1815 | c.Color = C3(0,0,0) | |
| 1816 | c.Transparency = 1 | |
| 1817 | if c.Name == "Head" then | |
| 1818 | c:ClearAllChildren() | |
| 1819 | local MSH = IT("BlockMesh",c)
| |
| 1820 | MSH.Scale = VT(0.5,1,1) | |
| 1821 | end | |
| 1822 | elseif c.ClassName ~= "Part" and c.ClassName ~= "Humanoid" and c.Name ~= "Animate" then | |
| 1823 | c:remove() | |
| 1824 | end | |
| 1825 | end | |
| 1826 | end | |
| 1827 | local BODY = IT("ObjectValue",SHADOW)
| |
| 1828 | BODY.Name = "RealBody" | |
| 1829 | BODY.Value = BODIES[i] | |
| 1830 | table.insert(SHADOWS,SHADOW) | |
| 1831 | end | |
| 1832 | end | |
| 1833 | end | |
| 1834 | coroutine.resume(coroutine.create(function() | |
| 1835 | local LOOP = 0 | |
| 1836 | for i = 1, 25 do | |
| 1837 | Swait() | |
| 1838 | for i = 1, #SHADOWS do | |
| 1839 | if SHADOWS[i] ~= nil then | |
| 1840 | for _, c in pairs(SHADOWS[i]:GetChildren()) do | |
| 1841 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
| 1842 | c.Color = C3(0,0,0) | |
| 1843 | c.Transparency = c.Transparency - 1/25 | |
| 1844 | end | |
| 1845 | end | |
| 1846 | end | |
| 1847 | end | |
| 1848 | end | |
| 1849 | local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY) | |
| 1850 | if NEWKEY == "x" then | |
| 1851 | SHADOWFADE = true | |
| 1852 | end | |
| 1853 | end) | |
| 1854 | repeat | |
| 1855 | LOOP = LOOP + 2 | |
| 1856 | local JUMPIES = {}
| |
| 1857 | for i = 1, #SHADOWS do | |
| 1858 | if SHADOWS[i] ~= nil then | |
| 1859 | SHADOWS[i].Humanoid:MoveTo(CF(RootPart.Position) * ANGLES(RAD(0), RAD(((360/#SHADOWS)*i)+LOOP), RAD(0))*CF(0,0,25).p) | |
| 1860 | local BODY = SHADOWS[i].RealBody.Value | |
| 1861 | if BODY then | |
| 1862 | local HUM = BODY:FindFirstChildOfClass("Humanoid")
| |
| 1863 | if HUM then | |
| 1864 | local TRIGGER = HUM.Changed:connect(function(Jump) | |
| 1865 | if HUM.Jump == true then | |
| 1866 | SHADOWS[i].Humanoid.JumpPower = HUM.JumpPower | |
| 1867 | SHADOWS[i].Humanoid.Jump = true | |
| 1868 | end | |
| 1869 | end) | |
| 1870 | table.insert(JUMPIES,TRIGGER) | |
| 1871 | if HUM.Health == 0 then | |
| 1872 | SHADOWS[i].Humanoid.Health = 0 | |
| 1873 | end | |
| 1874 | end | |
| 1875 | end | |
| 1876 | if SHADOWS[i].Humanoid.Health == 0 then | |
| 1877 | if BODY then | |
| 1878 | BODY:BreakJoints() | |
| 1879 | end | |
| 1880 | SHADOWS[i]:remove() | |
| 1881 | table.remove(SHADOWS,i) | |
| 1882 | end | |
| 1883 | end | |
| 1884 | end | |
| 1885 | Swait() | |
| 1886 | for i = 1, #JUMPIES do | |
| 1887 | if JUMPIES[i] ~= nil then | |
| 1888 | JUMPIES[i]:disconnect() | |
| 1889 | end | |
| 1890 | end | |
| 1891 | until SHADOWFADE == true or #SHADOWS == 0 | |
| 1892 | KEYDOWN:disconnect() | |
| 1893 | if #SHADOWS > 0 then | |
| 1894 | for i = 1, 45 do | |
| 1895 | Swait() | |
| 1896 | for i = 1, #SHADOWS do | |
| 1897 | if SHADOWS[i] ~= nil then | |
| 1898 | for _, c in pairs(SHADOWS[i]:GetChildren()) do | |
| 1899 | if c.ClassName == "Part" then | |
| 1900 | c.Transparency = c.Transparency + 1/45 | |
| 1901 | end | |
| 1902 | end | |
| 1903 | SHADOWS[i].Humanoid.WalkSpeed = 12 | |
| 1904 | SHADOWS[i].Humanoid:MoveTo(CF(RootPart.Position,SHADOWS[i].HumanoidRootPart.Position+VT(0,2,0))*CF(0,0,-5).p) | |
| 1905 | end | |
| 1906 | end | |
| 1907 | end | |
| 1908 | for i = 1, #SHADOWS do | |
| 1909 | if SHADOWS[i] ~= nil then | |
| 1910 | SHADOWS[i]:remove() | |
| 1911 | end | |
| 1912 | end | |
| 1913 | end | |
| 1914 | XATTACK = false | |
| 1915 | end)) | |
| 1916 | else | |
| 1917 | XATTACK = false | |
| 1918 | end | |
| 1919 | ATTACK = false | |
| 1920 | Rooted = false | |
| 1921 | end | |
| 1922 | ||
| 1923 | function Taunt() | |
| 1924 | ATTACK = true | |
| 1925 | Rooted = true | |
| 1926 | local VIOLENCE = 1 | |
| 1927 | FORCEIDLE = true | |
| 1928 | repeat Swait() VIOLENCE = VIOLENCE + 1 until KEYHOLD == false | |
| 1929 | FORCEIDLE = false | |
| 1930 | if VIOLENCE <= 10 then | |
| 1931 | for i=0, 0.2, 0.1 / Animation_Speed do | |
| 1932 | Swait() | |
| 1933 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1934 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 1935 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1936 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1937 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1938 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1939 | end | |
| 1940 | local TAUNT = CreateSound(VOCALS_TAUNT[MRANDOM(1,#VOCALS_TAUNT)], Head, 10, 1, false) | |
| 1941 | repeat | |
| 1942 | Swait() | |
| 1943 | TAUNT.Parent = Head | |
| 1944 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1945 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-10-(TAUNT.PlaybackLoudness/55)), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 1946 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15*SIZE, 0.65*SIZE, -0.75*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-90)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1947 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15*SIZE, 0.1*SIZE, -0.75*SIZE) * ANGLES(RAD(-15), RAD(0), RAD(90)) * ANGLES(RAD(25), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1948 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1949 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1950 | until TAUNT.Playing == false | |
| 1951 | else | |
| 1952 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1953 | Swait() | |
| 1954 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1955 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1956 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(22)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1957 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(135), RAD(0), RAD(-22)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1958 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1959 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1960 | end | |
| 1961 | local TAUNT = CreateSound(VOCALS_ENRAGES[MRANDOM(1,#VOCALS_ENRAGES)], Head, 10, 1, false) | |
| 1962 | repeat Swait() until TAUNT.TimeLength > 0 | |
| 1963 | repeat | |
| 1964 | Swait() | |
| 1965 | ApplyAoE(Head.Position,15,0,0,200,false) | |
| 1966 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 1967 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(15,0,15), Transparency = 1-(TAUNT.PlaybackLoudness/1250), Transparency2 = 1, CFrame = CF(Head.Position) * 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(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
| |
| 1968 | WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,0,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
| |
| 1969 | TAUNT.Parent = Head | |
| 1970 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, -0.2*SIZE, -0.1*SIZE) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1971 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-25+MRANDOM(-(TAUNT.PlaybackLoudness/25),(TAUNT.PlaybackLoudness/25))), RAD(MRANDOM(-(TAUNT.PlaybackLoudness/15),(TAUNT.PlaybackLoudness/15))), RAD(MRANDOM(-(TAUNT.PlaybackLoudness/25),(TAUNT.PlaybackLoudness/25)))), 1 / Animation_Speed) | |
| 1972 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 1973 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.1*SIZE) * ANGLES(RAD(-35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 1974 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1975 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(45), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1976 | until TAUNT.TimePosition > TAUNT.TimeLength - 2 | |
| 1977 | end | |
| 1978 | ATTACK = false | |
| 1979 | Rooted = false | |
| 1980 | end | |
| 1981 | ||
| 1982 | --//=================================\\ | |
| 1983 | --|| ASSIGN THINGS TO KEYS | |
| 1984 | --\\=================================// | |
| 1985 | ||
| 1986 | function MouseDown(Mouse) | |
| 1987 | if ATTACK == false then | |
| 1988 | end | |
| 1989 | end | |
| 1990 | ||
| 1991 | function MouseUp(Mouse) | |
| 1992 | HOLD = false | |
| 1993 | end | |
| 1994 | ||
| 1995 | function KeyDown(Key) | |
| 1996 | KEYHOLD = true | |
| 1997 | if Key == "t" and ATTACK == false then | |
| 1998 | Taunt() | |
| 1999 | end | |
| 2000 | ||
| 2001 | if Key == "z" and ATTACK == false then | |
| 2002 | MissilesOfDespair() | |
| 2003 | end | |
| 2004 | ||
| 2005 | if Key == "b" and ATTACK == false and XATTACK == false then | |
| 2006 | ShadowRoam() | |
| 2007 | end | |
| 2008 | ||
| 2009 | if Key == "c" and ATTACK == false then | |
| 2010 | PillarOfDespair() | |
| 2011 | end | |
| 2012 | ||
| 2013 | if Key == "v" and ATTACK == false then | |
| 2014 | InfernoWall() | |
| 2015 | end | |
| 2016 | ||
| 2017 | if Key == "x" and ATTACK == false and XATTACK == false then | |
| 2018 | FormerShadow() | |
| 2019 | end | |
| 2020 | end | |
| 2021 | ||
| 2022 | function KeyUp(Key) | |
| 2023 | KEYHOLD = false | |
| 2024 | end | |
| 2025 | ||
| 2026 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 2027 | MouseDown(NEWKEY) | |
| 2028 | end) | |
| 2029 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 2030 | MouseUp(NEWKEY) | |
| 2031 | end) | |
| 2032 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 2033 | KeyDown(NEWKEY) | |
| 2034 | end) | |
| 2035 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 2036 | KeyUp(NEWKEY) | |
| 2037 | end) | |
| 2038 | ||
| 2039 | --//=================================\\ | |
| 2040 | --\\=================================// | |
| 2041 | ||
| 2042 | function unanchor() | |
| 2043 | if UNANCHOR == true then | |
| 2044 | RootPart.Anchored = false | |
| 2045 | end | |
| 2046 | g = Character:GetChildren() | |
| 2047 | for i = 1, #g do | |
| 2048 | if g[i].ClassName == "Part" and g[i] ~= RootPart then | |
| 2049 | g[i].Anchored = false | |
| 2050 | end | |
| 2051 | end | |
| 2052 | g = Weapon:GetChildren() | |
| 2053 | for i = 1, #g do | |
| 2054 | if g[i].ClassName == "Part" then | |
| 2055 | g[i].Anchored = false | |
| 2056 | end | |
| 2057 | end | |
| 2058 | end | |
| 2059 | ||
| 2060 | ||
| 2061 | --//=================================\\ | |
| 2062 | --|| WRAP THE WHOLE SCRIPT UP | |
| 2063 | --\\=================================// | |
| 2064 | ||
| 2065 | Humanoid.Changed:connect(function(Jump) | |
| 2066 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 2067 | Humanoid.Jump = false | |
| 2068 | end | |
| 2069 | end) | |
| 2070 | ||
| 2071 | while true do | |
| 2072 | Swait() | |
| 2073 | script.Parent = WEAPONGUI | |
| 2074 | ANIMATE.Parent = nil | |
| 2075 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 2076 | v:Stop(); | |
| 2077 | end | |
| 2078 | SINE = SINE + CHANGE | |
| 2079 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 2080 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 2081 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character) | |
| 2082 | local FLOOR1,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8*SIZE, Character) | |
| 2083 | local FLOOR2,HITPOS2 = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8*SIZE, Character) | |
| 2084 | local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16) | |
| 2085 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 2086 | 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) | |
| 2087 | 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) | |
| 2088 | 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.125 * COS(SINE / WALKSPEEDVALUE) +0.7+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2089 | 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.125 * COS(SINE / WALKSPEEDVALUE) +0.7+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 2090 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 2091 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 2092 | 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) | |
| 2093 | 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) | |
| 2094 | 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) | |
| 2095 | end | |
| 2096 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil and FORCEIDLE == false then | |
| 2097 | ANIM = "Jump" | |
| 2098 | if ATTACK == false then | |
| 2099 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2100 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2101 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.55*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(12)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2102 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.55*SIZE, 0*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-12)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2103 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.3*SIZE, -0.5*SIZE) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed) | |
| 2104 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.1*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed) | |
| 2105 | end | |
| 2106 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil and FORCEIDLE == false then | |
| 2107 | ANIM = "Fall" | |
| 2108 | if ATTACK == false then | |
| 2109 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2110 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2111 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(42)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2112 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42)) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2113 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE, -0.5*SIZE) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed) | |
| 2114 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed) | |
| 2115 | end | |
| 2116 | elseif (TORSOVELOCITY < 1 and HITFLOOR ~= nil) or FORCEIDLE == true then | |
| 2117 | ANIM = "Idle" | |
| 2118 | if ATTACK == false or FORCEIDLE == true then | |
| 2119 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2120 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 1 / Animation_Speed) | |
| 2121 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45), RAD(0), RAD(52 - 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2122 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35), RAD(0), RAD(-42 + 3 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2123 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20), RAD(55), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2124 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10), RAD(-74), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 2125 | end | |
| 2126 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and FORCEIDLE == false then | |
| 2127 | ANIM = "Walk" | |
| 2128 | if ATTACK == false then | |
| 2129 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15), RAD(0), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed) | |
| 2130 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed) | |
| 2131 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 2132 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 2133 | RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
| 2134 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
| 2135 | end | |
| 2136 | end | |
| 2137 | unanchor() | |
| 2138 | Humanoid.MaxHealth = "inf" | |
| 2139 | Humanoid.Health = "inf" | |
| 2140 | if Rooted == false then | |
| 2141 | Disable_Jump = false | |
| 2142 | Humanoid.WalkSpeed = Speed | |
| 2143 | elseif Rooted == true then | |
| 2144 | Disable_Jump = true | |
| 2145 | Humanoid.WalkSpeed = 0 | |
| 2146 | end | |
| 2147 | for _, c in pairs(Character:GetChildren()) do | |
| 2148 | if c.ClassName == "Part" and c.Name ~= "Eye" then | |
| 2149 | c.Material = "Granite" | |
| 2150 | if c ~= Head and c ~= Torso and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then | |
| 2151 | c.Color = C3(175/575, 148/675, 131/675) | |
| 2152 | else | |
| 2153 | c.Color = C3(0,0,0) | |
| 2154 | end | |
| 2155 | if c == Head then | |
| 2156 | if c:FindFirstChild("face") then
| |
| 2157 | c.face:remove() | |
| 2158 | end | |
| 2159 | end | |
| 2160 | elseif (c.ClassName == "CharacterMesh" or c.ClassName == "ShirtGraphic" or c.ClassName == "Accessory" or c.Name == "Body Colors") and c.Name ~= "Pressimus" then | |
| 2161 | c:remove() | |
| 2162 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 2163 | c:remove() | |
| 2164 | end | |
| 2165 | end | |
| 2166 | sick.Parent = Torso | |
| 2167 | sick.SoundId = "rbxassetid://182871692" | |
| 2168 | sick.Looped = true | |
| 2169 | sick.Pitch = 1 | |
| 2170 | sick.Volume = 2.5 | |
| 2171 | sick.Playing = true | |
| 2172 | if FLOOR1 ~= nil then | |
| 2173 | FIRE:SetPrimaryPartCFrame(CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(-90), RAD(0), RAD(0))) | |
| 2174 | else | |
| 2175 | FIRE:SetPrimaryPartCFrame(CF(HITPOS2)) | |
| 2176 | end | |
| 2177 | SKILL1FRAME.Rotation = MRANDOM(-25,25)/2 | |
| 2178 | SKILL2FRAME.Rotation = MRANDOM(-25,25)/2 | |
| 2179 | SKILL3FRAME.Rotation = MRANDOM(-25,25)/2 | |
| 2180 | SKILL4FRAME.Rotation = MRANDOM(-25,25)/2 | |
| 2181 | SKILL5FRAME.Rotation = MRANDOM(-25,25)/2 | |
| 2182 | tecks2.Rotation = MRANDOM(-25,25)/8 | |
| 2183 | tecks.Rotation = MRANDOM(-25,25)/8 | |
| 2184 | Humanoid.Name = MRANDOM(1000000,99999999) | |
| 2185 | FIRE.Parent = Weapon | |
| 2186 | refit() | |
| 2187 | end | |
| 2188 | - | plr = game.Players.BlackKash |
| 2188 | + | plr = game.Players.TameDoNotClick |
| 2189 | char = plr.Character | |
| 2190 | ff = Instance.new('ForceField', char)
| |
| 2191 | ff.Visible = false | |
| 2192 | ||
| 2193 | --//=================================\\ | |
| 2194 | --\\=================================// | |
| 2195 | ||
| 2196 | ||
| 2197 | ||
| 2198 | ||
| 2199 | ||
| 2200 | --//====================================================\\-- | |
| 2201 | --|| END OF SCRIPT | |
| 2202 | --\\====================================================//-- |