SHOW:
|
|
- or go back to the newest paste.
| 1 | --//====================================================\\-- | |
| 2 | --|| CREATED BY SHACKLUSTER | |
| 3 | --\\====================================================//-- | |
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | wait(0.2) | |
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | Player = game:GetService("Players").LocalPlayer
| |
| 12 | PlayerGui = Player.PlayerGui | |
| 13 | Cam = workspace.CurrentCamera | |
| 14 | Backpack = Player.Backpack | |
| 15 | Character = Player.Character | |
| 16 | Humanoid = Character.Humanoid | |
| 17 | Mouse = Player:GetMouse() | |
| 18 | RootPart = Character["HumanoidRootPart"] | |
| 19 | Torso = Character["Torso"] | |
| 20 | Head = Character["Head"] | |
| 21 | RightArm = Character["Right Arm"] | |
| 22 | LeftArm = Character["Left Arm"] | |
| 23 | RightLeg = Character["Right Leg"] | |
| 24 | LeftLeg = Character["Left Leg"] | |
| 25 | RootJoint = RootPart["RootJoint"] | |
| 26 | Neck = Torso["Neck"] | |
| 27 | RightShoulder = Torso["Right Shoulder"] | |
| 28 | LeftShoulder = Torso["Left Shoulder"] | |
| 29 | RightHip = Torso["Right Hip"] | |
| 30 | LeftHip = Torso["Left Hip"] | |
| 31 | local sick = Instance.new("Sound",Character)
| |
| 32 | sick.SoundId = "rbxassetid://563062677" | |
| 33 | sick.Looped = true | |
| 34 | sick.Pitch = 1 | |
| 35 | sick.Volume = 2 | |
| 36 | Player:ClearCharacterAppearance() | |
| 37 | local HANDS = {}
| |
| 38 | Character.Archivable = true | |
| 39 | Humanoid.DisplayDistanceType = "None" | |
| 40 | ||
| 41 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 42 | naeeym2.AlwaysOnTop = true | |
| 43 | naeeym2.Size = UDim2.new(5,35,2,35) | |
| 44 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 45 | naeeym2.Adornee = Character.Head | |
| 46 | naeeym2.Name = "Name" | |
| 47 | naeeym2.PlayerToHideFrom = Player | |
| 48 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 49 | tecks2.BackgroundTransparency = 1 | |
| 50 | tecks2.TextScaled = true | |
| 51 | tecks2.BorderSizePixel = 0 | |
| 52 | tecks2.Text = "Grim" | |
| 53 | tecks2.Font = "Antique" | |
| 54 | tecks2.TextSize = 30 | |
| 55 | tecks2.TextTransparency = 1 | |
| 56 | tecks2.TextStrokeTransparency = 1 | |
| 57 | tecks2.TextColor3 = Color3.new(1,0,0) | |
| 58 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 59 | tecks2.Parent = naeeym2 | |
| 60 | ||
| 61 | IT = Instance.new | |
| 62 | CF = CFrame.new | |
| 63 | VT = Vector3.new | |
| 64 | RAD = math.rad | |
| 65 | C3 = Color3.new | |
| 66 | UD2 = UDim2.new | |
| 67 | BRICKC = BrickColor.new | |
| 68 | ANGLES = CFrame.Angles | |
| 69 | EULER = CFrame.fromEulerAnglesXYZ | |
| 70 | COS = math.cos | |
| 71 | ACOS = math.acos | |
| 72 | SIN = math.sin | |
| 73 | ASIN = math.asin | |
| 74 | ABS = math.abs | |
| 75 | MRANDOM = math.random | |
| 76 | FLOOR = math.floor | |
| 77 | ||
| 78 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 79 | local NEWMESH = IT(MESH) | |
| 80 | if MESH == "SpecialMesh" then | |
| 81 | NEWMESH.MeshType = MESHTYPE | |
| 82 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 83 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 84 | end | |
| 85 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 86 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 87 | end | |
| 88 | end | |
| 89 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 90 | NEWMESH.Scale = SCALE | |
| 91 | NEWMESH.Parent = PARENT | |
| 92 | return NEWMESH | |
| 93 | end | |
| 94 | ||
| 95 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 96 | local NEWPART = IT("Part")
| |
| 97 | NEWPART.formFactor = FORMFACTOR | |
| 98 | NEWPART.Reflectance = REFLECTANCE | |
| 99 | NEWPART.Transparency = TRANSPARENCY | |
| 100 | NEWPART.CanCollide = false | |
| 101 | NEWPART.Locked = true | |
| 102 | NEWPART.Anchored = true | |
| 103 | if ANCHOR == false then | |
| 104 | NEWPART.Anchored = false | |
| 105 | end | |
| 106 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 107 | NEWPART.Name = NAME | |
| 108 | NEWPART.Size = SIZE | |
| 109 | NEWPART.Position = Torso.Position | |
| 110 | NEWPART.Material = MATERIAL | |
| 111 | NEWPART:BreakJoints() | |
| 112 | NEWPART.Parent = PARENT | |
| 113 | return NEWPART | |
| 114 | end | |
| 115 | ||
| 116 | --//=================================\\ | |
| 117 | --|| CUSTOMIZATION | |
| 118 | --\\=================================// | |
| 119 | ||
| 120 | Player_Size = 1 --Size of the player. | |
| 121 | Animation_Speed = 3 | |
| 122 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 123 | ||
| 124 | local Speed = 16 | |
| 125 | local Effects2 = {}
| |
| 126 | ||
| 127 | --//=================================\\ | |
| 128 | --|| END OF CUSTOMIZATION | |
| 129 | --\\=================================// | |
| 130 | ||
| 131 | local function weldBetween(a, b) | |
| 132 | local weldd = Instance.new("ManualWeld")
| |
| 133 | weldd.Part0 = a | |
| 134 | weldd.Part1 = b | |
| 135 | weldd.C0 = CFrame.new() | |
| 136 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 137 | weldd.Parent = a | |
| 138 | return weldd | |
| 139 | end | |
| 140 | ||
| 141 | --//=================================\\ | |
| 142 | --|| USEFUL VALUES | |
| 143 | --\\=================================// | |
| 144 | ||
| 145 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 146 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 147 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 148 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 149 | local CHANGEDEFENSE = 0 | |
| 150 | local CHANGEDAMAGE = 0 | |
| 151 | local CHANGEMOVEMENT = 0 | |
| 152 | local ANIM = "Idle" | |
| 153 | local ATTACK = false | |
| 154 | local EQUIPPED = false | |
| 155 | local HOLD = false | |
| 156 | local COMBO = 1 | |
| 157 | local Rooted = false | |
| 158 | local SINE = 0 | |
| 159 | local KEYHOLD = false | |
| 160 | local CHANGE = 2 / Animation_Speed | |
| 161 | local WALKINGANIM = false | |
| 162 | local WALK = 0 | |
| 163 | local VALUE1 = false | |
| 164 | local VALUE2 = false | |
| 165 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 166 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 167 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 168 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 169 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 170 | WEAPONGUI.Name = "Weapon GUI" | |
| 171 | local Weapon = IT("Model")
| |
| 172 | Weapon.Name = "Weapon" | |
| 173 | local Effects = IT("Folder", Weapon)
| |
| 174 | Effects.Name = "Effects" | |
| 175 | local ANIMATOR = Humanoid.Animator | |
| 176 | local ANIMATE = Character.Animate | |
| 177 | local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
| |
| 178 | local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
| |
| 179 | local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
| |
| 180 | local HITBLOCKSOUNDS = {"199148933", "199148947"}
| |
| 181 | local UNANCHOR = true | |
| 182 | local INTRO = false | |
| 183 | local TRANSFORMED = false | |
| 184 | local INSTANT = false | |
| 185 | ||
| 186 | local SKILLTEXTCOLOR = BRICKC("Black").Color
| |
| 187 | ||
| 188 | --//=================================\\ | |
| 189 | --\\=================================// | |
| 190 | ||
| 191 | ||
| 192 | --//=================================\\ | |
| 193 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 194 | --\\=================================// | |
| 195 | ||
| 196 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 197 | ArtificialHB.Name = "ArtificialHB" | |
| 198 | ||
| 199 | script:WaitForChild("ArtificialHB")
| |
| 200 | ||
| 201 | frame = Frame_Speed | |
| 202 | tf = 0 | |
| 203 | allowframeloss = false | |
| 204 | tossremainder = false | |
| 205 | lastframe = tick() | |
| 206 | script.ArtificialHB:Fire() | |
| 207 | ||
| 208 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 209 | tf = tf + s | |
| 210 | if tf >= frame then | |
| 211 | if allowframeloss then | |
| 212 | script.ArtificialHB:Fire() | |
| 213 | lastframe = tick() | |
| 214 | else | |
| 215 | for i = 1, math.floor(tf / frame) do | |
| 216 | script.ArtificialHB:Fire() | |
| 217 | end | |
| 218 | lastframe = tick() | |
| 219 | end | |
| 220 | if tossremainder then | |
| 221 | tf = 0 | |
| 222 | else | |
| 223 | tf = tf - frame * math.floor(tf / frame) | |
| 224 | end | |
| 225 | end | |
| 226 | end) | |
| 227 | ||
| 228 | --//=================================\\ | |
| 229 | --\\=================================// | |
| 230 | ||
| 231 | ||
| 232 | ||
| 233 | ||
| 234 | ||
| 235 | --//=================================\\ | |
| 236 | --|| SOME FUNCTIONS | |
| 237 | --\\=================================// | |
| 238 | ||
| 239 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 240 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 241 | end | |
| 242 | ||
| 243 | function PositiveAngle(NUMBER) | |
| 244 | if NUMBER >= 0 then | |
| 245 | NUMBER = 0 | |
| 246 | end | |
| 247 | return NUMBER | |
| 248 | end | |
| 249 | ||
| 250 | function NegativeAngle(NUMBER) | |
| 251 | if NUMBER <= 0 then | |
| 252 | NUMBER = 0 | |
| 253 | end | |
| 254 | return NUMBER | |
| 255 | end | |
| 256 | ||
| 257 | function Swait(NUMBER) | |
| 258 | if NUMBER == 0 or NUMBER == nil then | |
| 259 | ArtificialHB.Event:wait() | |
| 260 | else | |
| 261 | for i = 1, NUMBER do | |
| 262 | ArtificialHB.Event:wait() | |
| 263 | end | |
| 264 | end | |
| 265 | end | |
| 266 | ||
| 267 | function QuaternionFromCFrame(cf) | |
| 268 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 269 | local trace = m00 + m11 + m22 | |
| 270 | if trace > 0 then | |
| 271 | local s = math.sqrt(1 + trace) | |
| 272 | local recip = 0.5 / s | |
| 273 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 274 | else | |
| 275 | local i = 0 | |
| 276 | if m11 > m00 then | |
| 277 | i = 1 | |
| 278 | end | |
| 279 | if m22 > (i == 0 and m00 or m11) then | |
| 280 | i = 2 | |
| 281 | end | |
| 282 | if i == 0 then | |
| 283 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 284 | local recip = 0.5 / s | |
| 285 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 286 | elseif i == 1 then | |
| 287 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 288 | local recip = 0.5 / s | |
| 289 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 290 | elseif i == 2 then | |
| 291 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 292 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 293 | end | |
| 294 | end | |
| 295 | end | |
| 296 | ||
| 297 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 298 | local xs, ys, zs = x + x, y + y, z + z | |
| 299 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 300 | local xx = x * xs | |
| 301 | local xy = x * ys | |
| 302 | local xz = x * zs | |
| 303 | local yy = y * ys | |
| 304 | local yz = y * zs | |
| 305 | local zz = z * zs | |
| 306 | 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)) | |
| 307 | end | |
| 308 | ||
| 309 | function QuaternionSlerp(a, b, t) | |
| 310 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 311 | local startInterp, finishInterp; | |
| 312 | if cosTheta >= 0.0001 then | |
| 313 | if (1 - cosTheta) > 0.0001 then | |
| 314 | local theta = ACOS(cosTheta) | |
| 315 | local invSinTheta = 1 / SIN(theta) | |
| 316 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 317 | finishInterp = SIN(t * theta) * invSinTheta | |
| 318 | else | |
| 319 | startInterp = 1 - t | |
| 320 | finishInterp = t | |
| 321 | end | |
| 322 | else | |
| 323 | if (1 + cosTheta) > 0.0001 then | |
| 324 | local theta = ACOS(-cosTheta) | |
| 325 | local invSinTheta = 1 / SIN(theta) | |
| 326 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 327 | finishInterp = SIN(t * theta) * invSinTheta | |
| 328 | else | |
| 329 | startInterp = t - 1 | |
| 330 | finishInterp = t | |
| 331 | end | |
| 332 | end | |
| 333 | 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 | |
| 334 | end | |
| 335 | ||
| 336 | function Clerp(a, b, t) | |
| 337 | local qa = {QuaternionFromCFrame(a)}
| |
| 338 | local qb = {QuaternionFromCFrame(b)}
| |
| 339 | local ax, ay, az = a.x, a.y, a.z | |
| 340 | local bx, by, bz = b.x, b.y, b.z | |
| 341 | local _t = 1 - t | |
| 342 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 343 | end | |
| 344 | ||
| 345 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 346 | local frame = IT("Frame")
| |
| 347 | frame.BackgroundTransparency = TRANSPARENCY | |
| 348 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 349 | frame.Position = POSITION | |
| 350 | frame.Size = SIZE | |
| 351 | frame.BackgroundColor3 = COLOR | |
| 352 | frame.BorderColor3 = BORDERCOLOR | |
| 353 | frame.Name = NAME | |
| 354 | frame.Parent = PARENT | |
| 355 | return frame | |
| 356 | end | |
| 357 | ||
| 358 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 359 | local label = IT("TextLabel")
| |
| 360 | label.BackgroundTransparency = 1 | |
| 361 | label.Size = UD2(1, 0, 1, 0) | |
| 362 | label.Position = UD2(0, 0, 0, 0) | |
| 363 | label.TextColor3 = TEXTCOLOR | |
| 364 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 365 | label.TextTransparency = TRANSPARENCY | |
| 366 | label.FontSize = TEXTFONTSIZE | |
| 367 | label.Font = TEXTFONT | |
| 368 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 369 | label.TextScaled = false | |
| 370 | label.Text = TEXT | |
| 371 | label.Name = NAME | |
| 372 | label.Parent = PARENT | |
| 373 | return label | |
| 374 | end | |
| 375 | ||
| 376 | function NoOutlines(PART) | |
| 377 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 378 | end | |
| 379 | ||
| 380 | ||
| 381 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 382 | local NEWWELD = IT(TYPE) | |
| 383 | NEWWELD.Part0 = PART0 | |
| 384 | NEWWELD.Part1 = PART1 | |
| 385 | NEWWELD.C0 = C0 | |
| 386 | NEWWELD.C1 = C1 | |
| 387 | NEWWELD.Parent = PARENT | |
| 388 | return NEWWELD | |
| 389 | end | |
| 390 | ||
| 391 | function CreateSound(ID, PARENT, VOLUME, PITCH) | |
| 392 | local NEWSOUND = nil | |
| 393 | coroutine.resume(coroutine.create(function() | |
| 394 | NEWSOUND = IT("Sound", PARENT)
| |
| 395 | NEWSOUND.Volume = VOLUME | |
| 396 | NEWSOUND.Pitch = PITCH | |
| 397 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 398 | Swait() | |
| 399 | NEWSOUND:play() | |
| 400 | game:GetService("Debris"):AddItem(NEWSOUND, 10)
| |
| 401 | end)) | |
| 402 | return NEWSOUND | |
| 403 | end | |
| 404 | ||
| 405 | function CFrameFromTopBack(at, top, back) | |
| 406 | local right = top:Cross(back) | |
| 407 | 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) | |
| 408 | end | |
| 409 | ||
| 410 | function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW) | |
| 411 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
| 412 | local mesh = IT("SpecialMesh",wave)
| |
| 413 | mesh.MeshType = "FileMesh" | |
| 414 | mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 415 | mesh.Scale = SIZE | |
| 416 | mesh.Offset = VT(0,0,0) | |
| 417 | wave.CFrame = CFRAME | |
| 418 | coroutine.resume(coroutine.create(function(PART) | |
| 419 | for i = 1, WAIT do | |
| 420 | Swait() | |
| 421 | mesh.Scale = mesh.Scale + GROW | |
| 422 | if DOESROT == true then | |
| 423 | wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
| 424 | end | |
| 425 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 426 | if wave.Transparency > 0.99 then | |
| 427 | wave:remove() | |
| 428 | end | |
| 429 | end | |
| 430 | end)) | |
| 431 | end | |
| 432 | ||
| 433 | function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
| 434 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
| 435 | local mesh = IT("SpecialMesh",wave)
| |
| 436 | mesh.MeshType = "Sphere" | |
| 437 | mesh.Scale = SIZE | |
| 438 | mesh.Offset = VT(0,0,0) | |
| 439 | wave.CFrame = CFRAME | |
| 440 | coroutine.resume(coroutine.create(function(PART) | |
| 441 | for i = 1, WAIT do | |
| 442 | Swait() | |
| 443 | mesh.Scale = mesh.Scale + GROW | |
| 444 | wave.Transparency = wave.Transparency + (1/WAIT) | |
| 445 | if wave.Transparency > 0.99 then | |
| 446 | wave:remove() | |
| 447 | end | |
| 448 | end | |
| 449 | end)) | |
| 450 | end | |
| 451 | ||
| 452 | function Slice(SIZE,WAIT,CFRAME,COLOR,GROW) | |
| 453 | local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
| 454 | local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
| |
| 455 | wave.CFrame = CFRAME | |
| 456 | coroutine.resume(coroutine.create(function(PART) | |
| 457 | for i = 1, WAIT do | |
| 458 | Swait() | |
| 459 | mesh.Scale = mesh.Scale * GROW | |
| 460 | wave.Transparency = wave.Transparency + (0.5/WAIT) | |
| 461 | if wave.Transparency > 0.99 then | |
| 462 | wave:remove() | |
| 463 | end | |
| 464 | end | |
| 465 | end)) | |
| 466 | end | |
| 467 | ||
| 468 | function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW) | |
| 469 | local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true) | |
| 470 | local mesh = IT("BlockMesh",wave)
| |
| 471 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
| 472 | coroutine.resume(coroutine.create(function(PART) | |
| 473 | for i = 1, WAIT do | |
| 474 | Swait() | |
| 475 | mesh.Scale = mesh.Scale + GROW | |
| 476 | wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) | |
| 477 | wave.Transparency = wave.Transparency + (1/WAIT) | |
| 478 | if wave.Transparency > 0.99 then | |
| 479 | wave:remove() | |
| 480 | end | |
| 481 | end | |
| 482 | end)) | |
| 483 | end | |
| 484 | ||
| 485 | function MakeForm(PART,TYPE) | |
| 486 | if TYPE == "Cyl" then | |
| 487 | local MSH = IT("CylinderMesh",PART)
| |
| 488 | elseif TYPE == "Ball" then | |
| 489 | local MSH = IT("SpecialMesh",PART)
| |
| 490 | MSH.MeshType = "Sphere" | |
| 491 | elseif TYPE == "Wedge" then | |
| 492 | local MSH = IT("SpecialMesh",PART)
| |
| 493 | MSH.MeshType = "Wedge" | |
| 494 | end | |
| 495 | end | |
| 496 | ||
| 497 | function CheckTableForString(Table, String) | |
| 498 | for i, v in pairs(Table) do | |
| 499 | if string.find(string.lower(String), string.lower(v)) then | |
| 500 | return true | |
| 501 | end | |
| 502 | end | |
| 503 | return false | |
| 504 | end | |
| 505 | ||
| 506 | function CheckIntangible(Hit) | |
| 507 | local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
| |
| 508 | if Hit and Hit.Parent then | |
| 509 | if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
| |
| 510 | return true | |
| 511 | end | |
| 512 | end | |
| 513 | return false | |
| 514 | end | |
| 515 | ||
| 516 | Debris = game:GetService("Debris")
| |
| 517 | ||
| 518 | function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
| 519 | local Direction = CFrame.new(StartPos, Vec).lookVector | |
| 520 | local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
| |
| 521 | local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
| |
| 522 | if RayHit and CheckIntangible(RayHit) then | |
| 523 | if DelayIfHit then | |
| 524 | wait() | |
| 525 | end | |
| 526 | RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
| 527 | end | |
| 528 | return RayHit, RayPos, RayNormal | |
| 529 | end | |
| 530 | ||
| 531 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 532 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 533 | end | |
| 534 | ||
| 535 | function turnto(position) | |
| 536 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 537 | end | |
| 538 | ||
| 539 | --//=================================\\ | |
| 540 | --|| SPEECH | |
| 541 | --\\=================================// | |
| 542 | ||
| 543 | function chatfunc(text,waitt) | |
| 544 | local chat = coroutine.wrap(function() | |
| 545 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 546 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 547 | end | |
| 548 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 549 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 550 | naeeym2.StudsOffset = Vector3.new(0,5,0) | |
| 551 | naeeym2.Adornee = Character.Head | |
| 552 | naeeym2.Name = "TalkingBillBoard" | |
| 553 | naeeym2.AlwaysOnTop = true | |
| 554 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 555 | tecks2.BackgroundTransparency = 1 | |
| 556 | tecks2.BorderSizePixel = 0 | |
| 557 | tecks2.Text = "" | |
| 558 | tecks2.Font = "SciFi" | |
| 559 | tecks2.TextSize = 30 | |
| 560 | tecks2.TextStrokeTransparency = 1 | |
| 561 | tecks2.TextColor3 = SKILLTEXTCOLOR | |
| 562 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 563 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 564 | for i = 1,string.len(text),1 do | |
| 565 | tecks2.Text = string.sub(text,1,i) | |
| 566 | Swait() | |
| 567 | end | |
| 568 | wait(waitt) | |
| 569 | coroutine.resume(coroutine.create(function() | |
| 570 | for i = 1, 10 do | |
| 571 | tecks2.TextTransparency = tecks2.TextTransparency + 0.1 | |
| 572 | Swait() | |
| 573 | end | |
| 574 | naeeym2:Destroy() | |
| 575 | end)) | |
| 576 | end) | |
| 577 | chat() | |
| 578 | end | |
| 579 | ||
| 580 | --//=================================\\ | |
| 581 | --|| WEAPON CREATION | |
| 582 | --\\=================================// | |
| 583 | ||
| 584 | local EyeSizes={
| |
| 585 | NumberSequenceKeypoint.new(0,1,0), | |
| 586 | NumberSequenceKeypoint.new(1,0,0) | |
| 587 | } | |
| 588 | local EyeTrans={
| |
| 589 | NumberSequenceKeypoint.new(0,0.8,0), | |
| 590 | NumberSequenceKeypoint.new(1,1,0) | |
| 591 | } | |
| 592 | local PE=Instance.new("ParticleEmitter",art)
| |
| 593 | PE.LightEmission=.8 | |
| 594 | - | PE.Color = ColorSequence.new(BRICKC("Toothpaste").Color)
|
| 594 | + | PE.Color = ColorSequence.new(BRICKC("Magenta").Color)
|
| 595 | PE.Size=NumberSequence.new(EyeSizes) | |
| 596 | PE.Transparency=NumberSequence.new(EyeTrans) | |
| 597 | PE.Lifetime=NumberRange.new(0.35,1.5) | |
| 598 | PE.Rotation=NumberRange.new(0,360) | |
| 599 | PE.Rate=999 | |
| 600 | PE.VelocitySpread = 10000 | |
| 601 | PE.Acceleration = Vector3.new(0,0,0) | |
| 602 | PE.Drag = 5 | |
| 603 | PE.Speed = NumberRange.new(0,0,0) | |
| 604 | PE.Texture="http://www.roblox.com/asset/?id=1351966707" | |
| 605 | PE.ZOffset = -1.5 | |
| 606 | PE.Name = "PE" | |
| 607 | PE.Enabled = false | |
| 608 | ||
| 609 | function particles(art) | |
| 610 | local PARTICLES = PE:Clone() | |
| 611 | PARTICLES.Parent = art | |
| 612 | end | |
| 613 | ||
| 614 | local HANDFOLDER = IT("Folder",Weapon)
| |
| 615 | HANDFOLDER.Name = "Hands" | |
| 616 | ||
| 617 | for i = 1, 3 do | |
| 618 | - | local Palm = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really black", "HandPart", VT(1,1,1),false) |
| 618 | + | local Palm = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Bright red", "HandPart", VT(1,1,1),false) |
| 619 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Palm, Torso, Palm, CF(-1,3,2) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 620 | CreateMesh("SpecialMesh", Palm, "FileMesh", "546760018", "", VT(5,5,5), VT(0,0,0))
| |
| 621 | - | local Palm2 = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Really black", "HandPart", VT(1,1,1)*1.2,false) |
| 621 | + | local Palm2 = CreatePart(3, HANDFOLDER, "SmoothPlastic", 0, 1, "Bright red", "HandPart", VT(1,1,1)*1.2,false) |
| 622 | local HandleWeld2 = CreateWeldOrSnapOrMotor("Weld", Palm2, Palm, Palm2, CF(0.2,1.25,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 623 | MakeForm(Palm2,"Ball") | |
| 624 | particles(Palm2) | |
| 625 | ||
| 626 | local EN = IT("BoolValue",Palm)
| |
| 627 | EN.Name = "IsEnabled" | |
| 628 | EN.Value = true | |
| 629 | table.insert(HANDS,{Palm,HandleWeld})
| |
| 630 | end | |
| 631 | ||
| 632 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
| 632 | + | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright violet", "Hood", VT(1,1,1),false) |
| 633 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(0,0,0.55) * ANGLES(RAD(-190), RAD(180), RAD(0)), CF(0, 0, 0))
| |
| 634 | CreateMesh("SpecialMesh", HandlePart, "FileMesh", "63717022", "", VT(1.5,2.7,1), VT(0,0.8,0))
| |
| 635 | ||
| 636 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
| 636 | + | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright violet", "Hood", VT(1,1,1),false) |
| 637 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 638 | CreateMesh("SpecialMesh", HandlePart, "FileMesh", "85855767", "", VT(1,1,1), VT(0,-0.25,0))
| |
| 639 | ||
| 640 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
| 640 | + | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright violet", "Hood", VT(1,1,1),false) |
| 641 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 642 | CreateMesh("SpecialMesh", HandlePart, "FileMesh", "57780106", "", VT(1,1,1), VT(0,0,0))
| |
| 643 | ||
| 644 | - | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Really black", "Hood", VT(1,1,1),false) |
| 644 | + | local HandlePart = CreatePart(3, Character, "SmoothPlastic", 0, 1, "Bright violet", "Hood", VT(1,1,1),false) |
| 645 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 646 | CreateMesh("SpecialMesh", HandlePart, "FileMesh", "57780106", "", VT(1,1,1), VT(0,0,0))
| |
| 647 | ||
| 648 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
| 648 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
| 649 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.25, 0.15, -0.5) * ANGLES(RAD(-15), RAD(-25), RAD(0)), CF(0, 0, 0))
| |
| 650 | MakeForm(HandlePart,"Ball") | |
| 651 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
| 651 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.3,0.02,0.1)*1.3,false) |
| 652 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.25, 0.15, -0.5) * ANGLES(RAD(-15), RAD(25), RAD(0)), CF(0, 0, 0))
| |
| 653 | MakeForm(HandlePart,"Ball") | |
| 654 | ||
| 655 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0,0.2,0.2), false) |
| 655 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0,0.2,0.2), false) |
| 656 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0, 0, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 657 | MakeForm(HandlePart,"Ball") | |
| 658 | ||
| 659 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.5,0,0.2)*1.3,false) |
| 659 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.5,0,0.2)*1.3,false) |
| 660 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 661 | MakeForm(HandlePart,"Ball") | |
| 662 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
| 662 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
| 663 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 664 | MakeForm(HandlePart,"Ball") | |
| 665 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
| 665 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
| 666 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.05, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 667 | MakeForm(HandlePart,"Ball") | |
| 668 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
| 668 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.2,0.2)*1.4,false) |
| 669 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.05, -0.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 670 | MakeForm(HandlePart,"Ball") | |
| 671 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.19,0.2)*1.4,false) |
| 671 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.19,0.2)*1.4,false) |
| 672 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.1, -0.2, -0.49) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 673 | MakeForm(HandlePart,"Ball") | |
| 674 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.19,0.2)*1.4,false) |
| 674 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright volet", "Handle", VT(0.01,0.19,0.2)*1.4,false) |
| 675 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.1, -0.2, -0.49) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 676 | MakeForm(HandlePart,"Ball") | |
| 677 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
| 677 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
| 678 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.15, -0.2, -0.48) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 679 | MakeForm(HandlePart,"Ball") | |
| 680 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
| 680 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.175,0.2)*1.4,false) |
| 681 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.15, -0.2, -0.48) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 682 | MakeForm(HandlePart,"Ball") | |
| 683 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
| 683 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
| 684 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(0.2, -0.2, -0.465) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 685 | MakeForm(HandlePart,"Ball") | |
| 686 | - | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Toothpaste", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
| 686 | + | local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Bright violet", "Handle", VT(0.01,0.15,0.2)*1.4,false) |
| 687 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Head, HandlePart, CF(-0.2, -0.2, -0.465) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 688 | MakeForm(HandlePart,"Ball") | |
| 689 | ||
| 690 | local SCYTHE = IT("Model",Character)
| |
| 691 | SCYTHE.Name = "SCYTHE" | |
| 692 | ||
| 693 | local B = SCYTHE | |
| 694 | - | local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Really black", "HandPart", VT(0.3,0.3,0.3),false) |
| 694 | + | local HandlePart = CreatePart(3, B, "Neon", 0, 1, "Bright violet", "HandPart", VT(0.3,0.3,0.3),false) |
| 695 | particles(HandlePart) | |
| 696 | local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Character, Torso, HandlePart, CF(0,1,1) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 697 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.2,3.5,0.2),false) |
| 697 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright violet", "ScythePart", VT(0.2,3.5,0.2),false) |
| 698 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-1.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 699 | MakeForm(part,"Ball") | |
| 700 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,1,0.3),false) |
| 700 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright violet", "ScythePart", VT(0.3,1,0.3),false) |
| 701 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 702 | MakeForm(part,"Ball") | |
| 703 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.25,1,0.25),false) |
| 703 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright violet", "ScythePart", VT(0.25,1,0.25),false) |
| 704 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 705 | MakeForm(part,"Ball") | |
| 706 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,2,0.15),false) |
| 706 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.15,2,0.15),false) |
| 707 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 708 | MakeForm(part,"Ball") | |
| 709 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.55,0.15),false) |
| 709 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.15,0.55,0.15),false) |
| 710 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,0.75) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 711 | MakeForm(part,"Ball") | |
| 712 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.5,0.15),false) |
| 712 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.15,0.5,0.15),false) |
| 713 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.15,1) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 714 | MakeForm(part,"Ball") | |
| 715 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.45,0.15),false) |
| 715 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.15,0.45,0.15),false) |
| 716 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.125,1.25) * ANGLES(RAD(40), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 717 | MakeForm(part,"Ball") | |
| 718 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,2,0.3),false) |
| 718 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.3,2,0.3),false) |
| 719 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0,-2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 720 | MakeForm(part,"Ball") | |
| 721 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,0.8,0.3),false) |
| 721 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.3,0.8,0.3),false) |
| 722 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-3.2) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 723 | MakeForm(part,"Ball") | |
| 724 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,0.3,0.3),false) |
| 724 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.3,0.3,0.3),false) |
| 725 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.025,-2.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 726 | MakeForm(part,"Ball") | |
| 727 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.15,0.8,0.15),false) |
| 727 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.15,0.8,0.15),false) |
| 728 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-3.5) * ANGLES(RAD(160), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 729 | MakeForm(part,"Ball") | |
| 730 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.2,0.8,0.2),false) |
| 730 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.2,0.8,0.2),false) |
| 731 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.85,-3.8) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 732 | MakeForm(part,"Ball") | |
| 733 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.4,1.3,0.8),false) |
| 733 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.4,1.3,0.8),false) |
| 734 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.6,-4.2) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 735 | MakeForm(part,"Ball") | |
| 736 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,1.3,0.6),false) |
| 736 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.3,1.3,0.6),false) |
| 737 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.3,-4.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 738 | MakeForm(part,"Ball") | |
| 739 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.2,2,0.4),false) |
| 739 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.2,2,0.4),false) |
| 740 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.2,-4.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 741 | MakeForm(part,"Ball") | |
| 742 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.1,2,0.4),false) |
| 742 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.1,2,0.4),false) |
| 743 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.6,-4.1) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 744 | MakeForm(part,"Ball") | |
| 745 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.05,2,0.2),false) |
| 745 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.05,2,0.2),false) |
| 746 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-1.6,-3.475) * ANGLES(RAD(-45), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 747 | MakeForm(part,"Ball") | |
| 748 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.3,1.3,0.6),false) |
| 748 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.3,1.3,0.6),false) |
| 749 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.5,-4) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 750 | MakeForm(part,"Ball") | |
| 751 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Really black", "ScythePart", VT(0.2,1,0.4),false) |
| 751 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Bright violet", "ScythePart", VT(0.2,1,0.4),false) |
| 752 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.1,-4) * ANGLES(RAD(-35), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 753 | MakeForm(part,"Ball") | |
| 754 | - | local part = CreatePart(3, B, "Granite", 0, 1, "Really black", "ScythePart", VT(0.15,1,0.2),false) |
| 754 | + | local part = CreatePart(3, B, "Granite", 0, 1, "Magenta", "ScythePart", VT(0.15,1,0.2),false) |
| 755 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,-0.45,-3.8) * ANGLES(RAD(-55), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 756 | MakeForm(part,"Ball") | |
| 757 | - | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Toothpaste", "ScythePart", VT(0.1,0.5,0.1),false) |
| 757 | + | local part = CreatePart(3, B, "SmoothPlastic", 0, 1, "Magenta", "ScythePart", VT(0.1,0.5,0.1),false) |
| 758 | local weld = CreateWeldOrSnapOrMotor("Weld", part, HandlePart, part, CF(0,0.1,-3.3) * ANGLES(RAD(-25), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 759 | MakeForm(part,"Ball") | |
| 760 | - | local HitBox = CreatePart(3, B, "Neon", 0, 1, "Toothpaste", "Hitbox", VT(5,1.3,0.6),false) |
| 760 | + | local HitBox = CreatePart(3, B, "Neon", 0, 1, "Magenta", "Hitbox", VT(5,1.3,0.6),false) |
| 761 | local weld = CreateWeldOrSnapOrMotor("Weld", HitBox, HandlePart, HitBox, CF(0,0,-3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 762 | ||
| 763 | for _, c in pairs(SCYTHE:GetChildren()) do | |
| 764 | if c.ClassName == "Part" then | |
| 765 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 766 | end | |
| 767 | end | |
| 768 | ||
| 769 | Weapon.Parent = Character | |
| 770 | ||
| 771 | Humanoid.Died:connect(function() | |
| 772 | KillChildren(Character) | |
| 773 | HANDS = {}
| |
| 774 | HANDFOLDER:ClearAllChildren() | |
| 775 | SCYTHE:ClearAllChildren() | |
| 776 | for i = 1, 100 do | |
| 777 | Swait() | |
| 778 | sick.Volume = sick.Volume - 0.02 | |
| 779 | end | |
| 780 | end) | |
| 781 | ||
| 782 | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
| 783 | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
| 784 | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
| 785 | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
| 786 | local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
| 787 | ||
| 788 | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warp", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 1") | |
| 789 | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Deadly Dash", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 2") | |
| 790 | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Fatal Grab", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 3") | |
| 791 | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Fatal Wave", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 4") | |
| 792 | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Reap", SKILLTEXTCOLOR, 8, "Antique", 0, 2, 0, "Text 5") | |
| 793 | ||
| 794 | --//=================================\\ | |
| 795 | --|| DAMAGING | |
| 796 | --\\=================================// | |
| 797 | ||
| 798 | function KillChildren(v) | |
| 799 | v:BreakJoints() | |
| 800 | for _, c in pairs(v:GetChildren()) do | |
| 801 | if c.ClassName == "Part" or c.ClassName == "MesPart" then | |
| 802 | if c.Transparency < 1 then | |
| 803 | if c:FindFirstChildOfClass("Decal") then
| |
| 804 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 805 | end | |
| 806 | particles(c) | |
| 807 | c.PE.Enabled = true | |
| 808 | c.Parent = Effects | |
| 809 | c.CanCollide = false | |
| 810 | c.Material = "Neon" | |
| 811 | c.Color = C3(1,0,0) | |
| 812 | c.Transparency = 0.5 | |
| 813 | local grav = Instance.new("BodyPosition",c)
| |
| 814 | grav.P = 20000 | |
| 815 | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 816 | grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)) | |
| 817 | grav.Name = "GravityForce" | |
| 818 | coroutine.resume(coroutine.create(function() | |
| 819 | for i = 1, 50 do | |
| 820 | Swait() | |
| 821 | c.Transparency = c.Transparency + 0.01 | |
| 822 | end | |
| 823 | c.PE.Enabled = false | |
| 824 | Debris:AddItem(c,2) | |
| 825 | end)) | |
| 826 | end | |
| 827 | end | |
| 828 | end | |
| 829 | end | |
| 830 | ||
| 831 | function killnearest(position,range) | |
| 832 | for i,v in ipairs(workspace:GetChildren()) do | |
| 833 | local body = v:GetChildren() | |
| 834 | for part = 1, #body do | |
| 835 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
| 836 | if(body[part].Position - position).Magnitude < range then | |
| 837 | if v.ClassName == "Model" then | |
| 838 | KillChildren(v) | |
| 839 | end | |
| 840 | end | |
| 841 | end | |
| 842 | end | |
| 843 | end | |
| 844 | end | |
| 845 | ||
| 846 | --//=================================\\ | |
| 847 | --|| ATTACK FUNCTIONS AND STUFF | |
| 848 | --\\=================================// | |
| 849 | ||
| 850 | function Intro() | |
| 851 | ATTACK = true | |
| 852 | Rooted = true | |
| 853 | local HITFLOOR, HITPOS = Raycast(VT(0,250,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 500, Character) | |
| 854 | RootPart.CFrame = CF(HITPOS+VT(0,3,0)) | |
| 855 | local ORB = CreatePart(3, Head, "Cobblestone", 0, 0, "Really black", "Seal", VT(1,1,1)) | |
| 856 | MakeForm(ORB,"Ball") | |
| 857 | local ORB2 = CreatePart(3, Head, "Neon", 0, 0.9, "Toothpaste", "Seal", VT(1,1,1)*1.1) | |
| 858 | MakeForm(ORB2,"Ball") | |
| 859 | ORB.CFrame = CF(HITPOS+VT(0,3,0)) | |
| 860 | ORB2.CFrame = CF(HITPOS+VT(0,3,0)) | |
| 861 | for _, c in pairs(Character:GetChildren()) do | |
| 862 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
| 863 | c.Transparency = 1 | |
| 864 | end | |
| 865 | end | |
| 866 | for i=0, 1, 0.1 / Animation_Speed do | |
| 867 | Swait() | |
| 868 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
| 869 | ORB2.CFrame = ORB.CFrame | |
| 870 | for _, c in pairs(Character:GetChildren()) do | |
| 871 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
| 872 | c.Transparency = 1 | |
| 873 | elseif c.ClassName == "Accessory" then | |
| 874 | c:remove() | |
| 875 | end | |
| 876 | end | |
| 877 | for _, c in pairs(SCYTHE:GetChildren()) do | |
| 878 | if c.ClassName == "Part" then | |
| 879 | c.Transparency = 1 | |
| 880 | c.Color = C3(0,0,0) | |
| 881 | end | |
| 882 | end | |
| 883 | Player:ClearCharacterAppearance() | |
| 884 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 885 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 886 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.75, 0.75, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 887 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.75, 0.25, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 888 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 889 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 890 | end | |
| 891 | repeat | |
| 892 | Swait() | |
| 893 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
| 894 | ORB2.CFrame = ORB.CFrame | |
| 895 | until sick.TimePosition > 12 | |
| 896 | CreateSound("134978657", Effects, 5, 1)
| |
| 897 | repeat | |
| 898 | Swait() | |
| 899 | if MRANDOM(1,5) == 1 then | |
| 900 | local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Toothpaste", "Magic", VT(1,1,1)*MRANDOM(2,35)/10) | |
| 901 | SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15)) | |
| 902 | MakeForm(SPHERE,"Ball") | |
| 903 | coroutine.resume(coroutine.create(function() | |
| 904 | for i = 1, 100 do | |
| 905 | Swait() | |
| 906 | SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0) | |
| 907 | SPHERE.Transparency = (i/100) | |
| 908 | end | |
| 909 | SPHERE:remove() | |
| 910 | end)) | |
| 911 | end | |
| 912 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
| 913 | ORB2.CFrame = ORB.CFrame | |
| 914 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
| 915 | until sick.TimePosition > 24 | |
| 916 | CreateSound("135017578", Effects, 5, 1)
| |
| 917 | repeat | |
| 918 | Swait() | |
| 919 | if MRANDOM(1,5) == 1 then | |
| 920 | local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Toothpaste", "Magic", VT(1,1,1)*MRANDOM(2,35)/10) | |
| 921 | SPHERE.CFrame = CF(HITPOS) * CF(MRANDOM(-15,15),-5,MRANDOM(-15,15)) | |
| 922 | MakeForm(SPHERE,"Ball") | |
| 923 | coroutine.resume(coroutine.create(function() | |
| 924 | for i = 1, 100 do | |
| 925 | Swait() | |
| 926 | SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0) | |
| 927 | SPHERE.Transparency = (i/100) | |
| 928 | end | |
| 929 | SPHERE:remove() | |
| 930 | end)) | |
| 931 | end | |
| 932 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
| 933 | ORB2.CFrame = ORB.CFrame | |
| 934 | if MRANDOM(1,5) == 1 then | |
| 935 | CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
| 936 | end | |
| 937 | if MRANDOM(1,5) == 1 then | |
| 938 | CreateRing(VT(0,0,0),false,0,MRANDOM(15,25),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(3,3,0)) | |
| 939 | end | |
| 940 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
| 941 | until sick.TimePosition > 34.5 | |
| 942 | repeat | |
| 943 | Swait() | |
| 944 | ORB.CFrame = CF(HITPOS+VT(0,3 + 0.15 * COS(SINE / 12),0)) | |
| 945 | ORB2.CFrame = ORB.CFrame | |
| 946 | MagicSphere(VT(0,0,0),15,ORB.CFrame,"Maroon",VT(1,15,1)) | |
| 947 | if MRANDOM(1,5) == 1 then | |
| 948 | CreateRing(VT(0,0,0),false,0,MRANDOM(150,250),CF(ORB.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
| 949 | end | |
| 950 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
| 951 | until sick.TimePosition > 36 | |
| 952 | MagicSphere(VT(0,0,0),15,CF(HITPOS),"Maroon",VT(5,5,5)) | |
| 953 | MagicSphere(VT(0,0,0),15,CF(HITPOS),"Maroon",VT(2.5,2.5,2.5)) | |
| 954 | MagicSphere(VT(0,0,0),15,CF(HITPOS),"Maroon",VT(0.5,0.5,0.5)) | |
| 955 | CreateSound("2691586", Effects, 5, 1)
| |
| 956 | CreateSound("181384451", Effects, 10, 0.6)
| |
| 957 | ORB:remove() | |
| 958 | ORB2:remove() | |
| 959 | tecks2.TextTransparency = 0 | |
| 960 | repeat | |
| 961 | Swait() | |
| 962 | for _, c in pairs(Character:GetChildren()) do | |
| 963 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
| 964 | c.Transparency = 0 | |
| 965 | c.Color = C3(0,0,0) | |
| 966 | elseif c.ClassName == "Accessory" then | |
| 967 | c:remove() | |
| 968 | end | |
| 969 | end | |
| 970 | for _, c in pairs(Weapon:GetChildren()) do | |
| 971 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
| 972 | c.Transparency = 0 | |
| 973 | end | |
| 974 | end | |
| 975 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
| 976 | if c.ClassName == "Part" then | |
| 977 | c.Transparency = 0 | |
| 978 | c.Color = C3(0,0,0) | |
| 979 | end | |
| 980 | end | |
| 981 | CreateRing(VT(0,0,0.1),false,0,15,CF(HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(5,5,0)) | |
| 982 | --CreateRing(VT(0,0,0),false,0,150,CF(HITPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
| 983 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 984 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 985 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 986 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 987 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 988 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 989 | until sick.TimePosition > 42 | |
| 990 | HandleWeld.Part0 = RightArm | |
| 991 | for i=0, 1, 0.1 / Animation_Speed do | |
| 992 | Swait() | |
| 993 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1) | |
| 994 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 995 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 996 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 997 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 998 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 999 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1000 | end | |
| 1001 | for i = 1, 100 do | |
| 1002 | Swait() | |
| 1003 | CreateRing(VT(0,0,0),false,0,150,HitBox.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.2,0.2,0)) | |
| 1004 | for _, c in pairs(SCYTHE:GetChildren()) do | |
| 1005 | if c.ClassName == "Part" then | |
| 1006 | if c.Material ~= Enum.Material.Neon then | |
| 1007 | c.Transparency = c.Transparency - 0.01 | |
| 1008 | end | |
| 1009 | c.Color = C3(0,0,0) | |
| 1010 | end | |
| 1011 | end | |
| 1012 | end | |
| 1013 | HandleWeld.Part0 = Torso | |
| 1014 | TRANSFORMED = true | |
| 1015 | ATTACK = false | |
| 1016 | Rooted = false | |
| 1017 | end | |
| 1018 | ||
| 1019 | function AttackTemplate() | |
| 1020 | ATTACK = true | |
| 1021 | Rooted = false | |
| 1022 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1023 | HandleWeld.Part0 = RightArm | |
| 1024 | HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 1025 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1026 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1027 | Swait() | |
| 1028 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1029 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1030 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1031 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1032 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1033 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1034 | end | |
| 1035 | HandleWeld.Part0 = Torso | |
| 1036 | ATTACK = false | |
| 1037 | Rooted = false | |
| 1038 | end | |
| 1039 | ||
| 1040 | function Hit() | |
| 1041 | local HAND = HANDS[MRANDOM(1,#HANDS)] | |
| 1042 | if HAND[1].IsEnabled.Value == true then | |
| 1043 | HAND[1].IsEnabled.Value = false | |
| 1044 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6)
| |
| 1045 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
| 1046 | for i = 1, 4 do | |
| 1047 | Swait() | |
| 1048 | killnearest(HAND[1].Position,5) | |
| 1049 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,0,-6) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed) | |
| 1050 | end | |
| 1051 | HAND[1].IsEnabled.Value = true | |
| 1052 | end | |
| 1053 | end | |
| 1054 | ||
| 1055 | function Warp() | |
| 1056 | ATTACK = true | |
| 1057 | Rooted = true | |
| 1058 | UNANCHOR = false | |
| 1059 | RootPart.Anchored = true | |
| 1060 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1061 | HandleWeld.Part0 = RightArm | |
| 1062 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1) | |
| 1063 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1064 | for i=0, 0.5, 0.1 / Animation_Speed do | |
| 1065 | Swait() | |
| 1066 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
| 1067 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
| 1068 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2) | |
| 1069 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1070 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1071 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1072 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1073 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1074 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1075 | end | |
| 1076 | for i = 1, 10 do | |
| 1077 | Swait() | |
| 1078 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
| 1079 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
| 1080 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
| 1081 | if c.ClassName == "Part" then | |
| 1082 | c.Transparency = c.Transparency + 0.1 | |
| 1083 | end | |
| 1084 | end | |
| 1085 | end | |
| 1086 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1087 | Swait() | |
| 1088 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
| 1089 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
| 1090 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2) | |
| 1091 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -25) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1092 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1093 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1094 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1095 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1096 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1097 | end | |
| 1098 | local ORIGIN = RootPart.Position | |
| 1099 | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),ORIGIN) | |
| 1100 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1101 | Swait() | |
| 1102 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
| 1103 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
| 1104 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 2) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2) | |
| 1105 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1106 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1107 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1108 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.8) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1109 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1110 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1111 | end | |
| 1112 | UNANCHOR = true | |
| 1113 | RootPart.Anchored = false | |
| 1114 | for i = 1, 10 do | |
| 1115 | Swait() | |
| 1116 | CreateRing(VT(0,0,0),false,0,15,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(1,1,0)) | |
| 1117 | MagicSphere(VT(0,0.2,0),15,CF(RootPart.Position-VT(0,3,0)),"Maroon",VT(0.5,0,0.5)) | |
| 1118 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
| 1119 | if c.ClassName == "Part" then | |
| 1120 | c.Transparency = c.Transparency - 0.1 | |
| 1121 | end | |
| 1122 | end | |
| 1123 | end | |
| 1124 | HandleWeld.Part0 = Torso | |
| 1125 | ATTACK = false | |
| 1126 | Rooted = false | |
| 1127 | end | |
| 1128 | ||
| 1129 | function DeathlyDash() | |
| 1130 | ATTACK = true | |
| 1131 | Rooted = false | |
| 1132 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1133 | HandleWeld.Part0 = RightArm | |
| 1134 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1) | |
| 1135 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1136 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1137 | Swait() | |
| 1138 | turnto(Mouse.Hit.p) | |
| 1139 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2) | |
| 1140 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed) | |
| 1141 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed) | |
| 1142 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1143 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1144 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1145 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1146 | end | |
| 1147 | local TRAILS = {}
| |
| 1148 | local FOUND = false | |
| 1149 | for i = 1, 75 do | |
| 1150 | Swait() | |
| 1151 | local TRAIL = Character:Clone() | |
| 1152 | for _, c in pairs(TRAIL:GetChildren()) do | |
| 1153 | if c.ClassName == "Part" then | |
| 1154 | c.Anchored = true | |
| 1155 | c.Color = C3(1,0,0) | |
| 1156 | c.Transparency = 0.5 | |
| 1157 | c.Material = "Neon" | |
| 1158 | c.CanCollide = false | |
| 1159 | else | |
| 1160 | c:remove() | |
| 1161 | end | |
| 1162 | end | |
| 1163 | TRAIL.Parent = Effects | |
| 1164 | table.insert(TRAILS,TRAIL) | |
| 1165 | Debris:AddItem(TRAIL,0.08) | |
| 1166 | for _, c in pairs(workspace:GetChildren()) do | |
| 1167 | if c.ClassName == "Model" then | |
| 1168 | if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
| |
| 1169 | local HUMANOID = c:FindFirstChildOfClass("Humanoid")
| |
| 1170 | local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
| |
| 1171 | if (TORSO.Position - (Torso.CFrame*CF(0,0,-8).p)).Magnitude < 15 then | |
| 1172 | killnearest(TORSO.Position,25) | |
| 1173 | FOUND = true | |
| 1174 | end | |
| 1175 | end | |
| 1176 | end | |
| 1177 | end | |
| 1178 | if FOUND == true then | |
| 1179 | for i = 1, 65 do | |
| 1180 | killnearest(Torso.CFrame*CF(0,0,-8).p,25) | |
| 1181 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-1) | |
| 1182 | end | |
| 1183 | local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
| |
| 1184 | Slice(2,25,RootPart.CFrame *CF(0,0,-5)*ANGLES(RAD(90),RAD(90),RAD(0)),"Toothpaste",1) | |
| 1185 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1186 | Swait() | |
| 1187 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)) * ANGLES(RAD(-70), RAD(0), RAD(0)), 1) | |
| 1188 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(25)), 3 / Animation_Speed) | |
| 1189 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 3 / Animation_Speed) | |
| 1190 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 3 / Animation_Speed) | |
| 1191 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 3 / Animation_Speed) | |
| 1192 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 1193 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed) | |
| 1194 | end | |
| 1195 | break | |
| 1196 | end | |
| 1197 | RootPart.CFrame = RootPart.CFrame * CF(0,0,-2.5) | |
| 1198 | end | |
| 1199 | HandleWeld.Part0 = Torso | |
| 1200 | ATTACK = false | |
| 1201 | Rooted = false | |
| 1202 | end | |
| 1203 | ||
| 1204 | function FatalGrab() | |
| 1205 | Rooted = true | |
| 1206 | local HAND = HANDS[MRANDOM(1,#HANDS)] | |
| 1207 | if HAND[1].IsEnabled.Value == true then | |
| 1208 | HAND[1].IsEnabled.Value = false | |
| 1209 | HAND[1].CanCollide = true | |
| 1210 | local GRABBED = false | |
| 1211 | local GRABTARGET = nil | |
| 1212 | local HUMAN = nil | |
| 1213 | local HIT = HAND[1].Touched:Connect(function(hit) | |
| 1214 | if hit.Parent:FindFirstChildOfClass("Humanoid") then
| |
| 1215 | local TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
| |
| 1216 | if TORS ~= nil then | |
| 1217 | GRABTARGET = TORS | |
| 1218 | GRABBED = true | |
| 1219 | HUMAN = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 1220 | end | |
| 1221 | end | |
| 1222 | end) | |
| 1223 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HAND[1], 2, 0.6)
| |
| 1224 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
| 1225 | for i = 1, 4 do | |
| 1226 | Swait() | |
| 1227 | turnto(Mouse.Hit.p) | |
| 1228 | if GRABBED == true then | |
| 1229 | break | |
| 1230 | end | |
| 1231 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,5,-20) * ANGLES(RAD(90), RAD(0), RAD(45)), 2 / Animation_Speed) | |
| 1232 | end | |
| 1233 | if GRABBED == true then | |
| 1234 | UNANCHOR = false | |
| 1235 | RootPart.Anchored = true | |
| 1236 | HUMAN.PlatformStand = true | |
| 1237 | GRABTARGET.CFrame = HAND[1].CFrame*ANGLES(RAD(-90),RAD(0),RAD(0)) | |
| 1238 | local WELD = weldBetween(HAND[1],GRABTARGET) | |
| 1239 | VALUE2 = true | |
| 1240 | for i = 1, 30 do | |
| 1241 | Swait() | |
| 1242 | HUMAN.PlatformStand = true | |
| 1243 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 0.5 / Animation_Speed) | |
| 1244 | end | |
| 1245 | for i = 1, 50 do | |
| 1246 | Swait() | |
| 1247 | HUMAN.PlatformStand = true | |
| 1248 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.2 / Animation_Speed) | |
| 1249 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0+MRANDOM(-2,2)/5,7+MRANDOM(-2,2)/5,-20+MRANDOM(-2,2)/5) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed) | |
| 1250 | end | |
| 1251 | local SOUND = CreateSound("62339698", HitBox, 10, 0.3)
| |
| 1252 | MagicSphere(VT(0.5,0,0.5),25,CF(GRABTARGET.Position),"Toothpaste",VT(0,5,0)) | |
| 1253 | CreateSound("289315275", GRABTARGET, 10, 2.5)
| |
| 1254 | MagicBlock(0,25,HAND[1].CFrame,"Toothpaste",VT(5,5,5)) | |
| 1255 | WELD:remove() | |
| 1256 | KillChildren(GRABTARGET.Parent) | |
| 1257 | killnearest(GRABTARGET.Position,10) | |
| 1258 | UNANCHOR = true | |
| 1259 | RootPart.Anchored = false | |
| 1260 | for i = 1, 10 do | |
| 1261 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-15, 7, -19) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed) | |
| 1262 | Swait() | |
| 1263 | HAND[2].C0 = Clerp(HAND[2].C0, CF(0,7,-20) * ANGLES(RAD(75), RAD(0), RAD(45)), 3 / Animation_Speed) | |
| 1264 | end | |
| 1265 | VALUE2 = false | |
| 1266 | end | |
| 1267 | HAND[1].CanCollide = false | |
| 1268 | HAND[1].IsEnabled.Value = true | |
| 1269 | end | |
| 1270 | Rooted = false | |
| 1271 | end | |
| 1272 | ||
| 1273 | function FatalWave() | |
| 1274 | ATTACK = true | |
| 1275 | Rooted = true | |
| 1276 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1277 | HandleWeld.Part0 = RightArm | |
| 1278 | HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 1279 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1280 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1281 | Swait() | |
| 1282 | CreateRing(VT(0,0,0),false,0,5,CF(RootPart.Position-VT(0,3,0))*ANGLES(RAD(90),RAD(0),RAD(0)),"Maroon",VT(1,1,0)) | |
| 1283 | turnto(Mouse.Hit.p) | |
| 1284 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-74), RAD(0)), 0.2) | |
| 1285 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5 / Animation_Speed) | |
| 1286 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5 / Animation_Speed) | |
| 1287 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1288 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.2, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1289 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1290 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1291 | end | |
| 1292 | for i=0,0.1, 0.1 / Animation_Speed do | |
| 1293 | Swait() | |
| 1294 | turnto(Mouse.Hit.p) | |
| 1295 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2) | |
| 1296 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5) | |
| 1297 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5) | |
| 1298 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 0.5) | |
| 1299 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5) | |
| 1300 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
| 1301 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
| 1302 | end | |
| 1303 | local angle = - 30 | |
| 1304 | for i = 1, 5 do | |
| 1305 | coroutine.resume(coroutine.create(function() | |
| 1306 | local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
| |
| 1307 | local SpawnPosition = RayPos | |
| 1308 | local floor = RayHit | |
| 1309 | local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0)) | |
| 1310 | local LastPosition = RayPos | |
| 1311 | local Delay = 1 | |
| 1312 | for i = 1, 15 do | |
| 1313 | local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
| |
| 1314 | local End = RayPos | |
| 1315 | LastPosition = End | |
| 1316 | if SpawnPosition then | |
| 1317 | killnearest(End,25) | |
| 1318 | CreateRing(VT(0,0,0),false,0,15,needcframe * CF(0,0,-5*i)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Maroon",VT(0.4,0.4,0)*i) | |
| 1319 | Slice(2+(i/5),25, needcframe * CF(0,0,-5*i)*ANGLES(RAD(90),RAD(90),RAD(0)),"Toothpaste",1) | |
| 1320 | end | |
| 1321 | Swait() | |
| 1322 | end | |
| 1323 | end)) | |
| 1324 | angle = angle + 15 | |
| 1325 | end | |
| 1326 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
| |
| 1327 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
| 1328 | CreateSound("62339698", HitBox, 10, 0.4)
| |
| 1329 | for i=0, 1, 0.1 / Animation_Speed do | |
| 1330 | Swait() | |
| 1331 | turnto(Mouse.Hit.p) | |
| 1332 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.2) | |
| 1333 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(75)), 0.5) | |
| 1334 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 0.5) | |
| 1335 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 0.5) | |
| 1336 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 0.5) | |
| 1337 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
| 1338 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5) | |
| 1339 | end | |
| 1340 | HandleWeld.Part0 = Torso | |
| 1341 | ATTACK = false | |
| 1342 | Rooted = false | |
| 1343 | end | |
| 1344 | ||
| 1345 | function Reap() | |
| 1346 | ATTACK = true | |
| 1347 | Rooted = true | |
| 1348 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1349 | HandleWeld.Part0 = RightArm | |
| 1350 | HandleWeld.C0 = CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
| 1351 | MagicSphere(VT(0,0,0),15,HitBox.CFrame,"Maroon",VT(2,2,2)) | |
| 1352 | for i=0, 3, 0.1 / Animation_Speed do | |
| 1353 | Swait() | |
| 1354 | for e=1,#HANDS do | |
| 1355 | if HANDS[e]~=nil then | |
| 1356 | local Thing=HANDS[e] | |
| 1357 | if Thing~=nil then | |
| 1358 | local MainPart=Thing[1] | |
| 1359 | local F=Thing[2] | |
| 1360 | MainPart.IsEnabled.Value = false | |
| 1361 | F.C0 = Clerp(F.C0, CF(0,15,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed) | |
| 1362 | end | |
| 1363 | end | |
| 1364 | end | |
| 1365 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(5), RAD(0), RAD(45)), 0.2) | |
| 1366 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1367 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1368 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1369 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1370 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1371 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-15), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1372 | end | |
| 1373 | local SOUND = CreateSound("rbxasset://sounds/swordlunge.wav", HitBox, 5, 0.6)
| |
| 1374 | SOUND.SoundId = "rbxasset://sounds/swordlunge.wav" | |
| 1375 | local SOUND = CreateSound("135017578", Effects, 5, 1)
| |
| 1376 | Swait() | |
| 1377 | repeat | |
| 1378 | Swait() | |
| 1379 | for e=1,#HANDS do | |
| 1380 | if HANDS[e]~=nil then | |
| 1381 | local Thing=HANDS[e] | |
| 1382 | if Thing~=nil then | |
| 1383 | local MainPart=Thing[1] | |
| 1384 | local F=Thing[2] | |
| 1385 | MainPart.IsEnabled.Value = false | |
| 1386 | F.C0 = Clerp(F.C0, CF(0,-2.5,0) * ANGLES(RAD(0), RAD(360/e), RAD(0))* CF(0,0,15), 0.5 / Animation_Speed) | |
| 1387 | end | |
| 1388 | end | |
| 1389 | end | |
| 1390 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-35), RAD(0), RAD(45)), 0.2) | |
| 1391 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1392 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1393 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1394 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1395 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1396 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1397 | until SOUND.playing == false | |
| 1398 | local FLOOR = CreatePart(3, Effects, "Neon", 0, 1, "Toothpaste", "Blood", VT(800,0,800)) | |
| 1399 | MakeForm(FLOOR,"Cyl") | |
| 1400 | FLOOR.CFrame = CF(RootPart.Position+VT(0,-3,0)) | |
| 1401 | CreateSound("289315275", Effects, 5, 0.3)
| |
| 1402 | for i = 1, 400 do | |
| 1403 | Swait() | |
| 1404 | FLOOR.Transparency = FLOOR.Transparency - (1/400) | |
| 1405 | if i > 100 then | |
| 1406 | if MRANDOM(1,2) == 1 then | |
| 1407 | local SPHERE = CreatePart(3, Head, "Neon", 0, 0, "Toothpaste", "Magic", VT(1,1,1)*MRANDOM(2,35)/10) | |
| 1408 | SPHERE.CFrame = CF(FLOOR.Position) * CF(MRANDOM(-285,285),-5,MRANDOM(-285,285)) | |
| 1409 | MakeForm(SPHERE,"Ball") | |
| 1410 | coroutine.resume(coroutine.create(function() | |
| 1411 | for i = 1, 100 do | |
| 1412 | Swait() | |
| 1413 | SPHERE.CFrame = SPHERE.CFrame * CF(0,0.3,0) | |
| 1414 | SPHERE.Transparency = (i/100) | |
| 1415 | end | |
| 1416 | SPHERE:remove() | |
| 1417 | end)) | |
| 1418 | end | |
| 1419 | end | |
| 1420 | end | |
| 1421 | CreateSound("62339698", Effects, 10, 0.3)
| |
| 1422 | killnearest(FLOOR.Position,FLOOR.Size.Z/2) | |
| 1423 | FLOOR:ClearAllChildren() | |
| 1424 | MakeForm(FLOOR,"Ball") | |
| 1425 | for i = 1, 50 do | |
| 1426 | Swait() | |
| 1427 | FLOOR.Size = FLOOR.Size + VT(-16,1,-16) | |
| 1428 | FLOOR.Transparency = FLOOR.Transparency + (1/50) | |
| 1429 | end | |
| 1430 | FLOOR:remove() | |
| 1431 | HandleWeld.Part0 = Torso | |
| 1432 | ATTACK = false | |
| 1433 | Rooted = false | |
| 1434 | for e=1,#HANDS do | |
| 1435 | if HANDS[e]~=nil then | |
| 1436 | local Thing=HANDS[e] | |
| 1437 | if Thing~=nil then | |
| 1438 | local MainPart=Thing[1] | |
| 1439 | local F=Thing[2] | |
| 1440 | MainPart.IsEnabled.Value = true | |
| 1441 | end | |
| 1442 | end | |
| 1443 | end | |
| 1444 | end | |
| 1445 | ||
| 1446 | function Taunt() | |
| 1447 | ATTACK = true | |
| 1448 | Rooted = true | |
| 1449 | local SOUND = CreateSound("134978657", Head, 10, 1)
| |
| 1450 | Swait() | |
| 1451 | repeat | |
| 1452 | Swait() | |
| 1453 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1454 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1455 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1456 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1457 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1458 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-45+(SOUND.PlaybackLoudness/10)), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 1459 | until SOUND.Playing == false | |
| 1460 | ATTACK = false | |
| 1461 | Rooted = false | |
| 1462 | end | |
| 1463 | ||
| 1464 | --//=================================\\ | |
| 1465 | --|| ASSIGN THINGS TO KEYS | |
| 1466 | --\\=================================// | |
| 1467 | ||
| 1468 | function MouseDown(Mouse) | |
| 1469 | if ATTACK == false then | |
| 1470 | Hit() | |
| 1471 | end | |
| 1472 | end | |
| 1473 | ||
| 1474 | function MouseUp(Mouse) | |
| 1475 | HOLD = false | |
| 1476 | end | |
| 1477 | ||
| 1478 | function KeyDown(Key) | |
| 1479 | KEYHOLD = true | |
| 1480 | if TRANSFORMED == true and Rooted == false then | |
| 1481 | if Key == "t" and ATTACK == false then | |
| 1482 | Taunt() | |
| 1483 | end | |
| 1484 | ||
| 1485 | if Key == "z" and ATTACK == false then | |
| 1486 | Warp() | |
| 1487 | end | |
| 1488 | ||
| 1489 | if Key == "b" and ATTACK == false then | |
| 1490 | DeathlyDash() | |
| 1491 | end | |
| 1492 | ||
| 1493 | if Key == "c" and ATTACK == false then | |
| 1494 | FatalGrab() | |
| 1495 | end | |
| 1496 | ||
| 1497 | if Key == "v" and ATTACK == false then | |
| 1498 | FatalWave() | |
| 1499 | end | |
| 1500 | ||
| 1501 | if Key == "x" and ATTACK == false then | |
| 1502 | Reap() | |
| 1503 | end | |
| 1504 | end | |
| 1505 | ||
| 1506 | if Key == "9" and ATTACK == false then | |
| 1507 | CreateSound("135017578", Effects, 5, 1)
| |
| 1508 | end | |
| 1509 | end | |
| 1510 | ||
| 1511 | function KeyUp(Key) | |
| 1512 | KEYHOLD = false | |
| 1513 | end | |
| 1514 | ||
| 1515 | Mouse.Button1Down:connect(function(NEWKEY) | |
| 1516 | MouseDown(NEWKEY) | |
| 1517 | end) | |
| 1518 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 1519 | MouseUp(NEWKEY) | |
| 1520 | end) | |
| 1521 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 1522 | KeyDown(NEWKEY) | |
| 1523 | end) | |
| 1524 | Mouse.KeyUp:connect(function(NEWKEY) | |
| 1525 | KeyUp(NEWKEY) | |
| 1526 | end) | |
| 1527 | ||
| 1528 | --//=================================\\ | |
| 1529 | --\\=================================// | |
| 1530 | ||
| 1531 | ||
| 1532 | function unanchor() | |
| 1533 | if UNANCHOR == true then | |
| 1534 | RootPart.Anchored = false | |
| 1535 | end | |
| 1536 | for _, c in pairs(SCYTHE:GetChildren()) do | |
| 1537 | if c.ClassName == "Part" then | |
| 1538 | c.Anchored = false | |
| 1539 | end | |
| 1540 | end | |
| 1541 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
| 1542 | if c.ClassName == "Part" then | |
| 1543 | c.Anchored = false | |
| 1544 | end | |
| 1545 | end | |
| 1546 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1547 | if c.ClassName == "Part" then | |
| 1548 | c.Anchored = false | |
| 1549 | end | |
| 1550 | end | |
| 1551 | end | |
| 1552 | ||
| 1553 | ||
| 1554 | --//=================================\\ | |
| 1555 | --|| WRAP THE WHOLE SCRIPT UP | |
| 1556 | --\\=================================// | |
| 1557 | ||
| 1558 | Humanoid.Changed:connect(function(Jump) | |
| 1559 | if Jump == "Jump" and (Disable_Jump == true) then | |
| 1560 | Humanoid.Jump = false | |
| 1561 | end | |
| 1562 | end) | |
| 1563 | ||
| 1564 | local FF = IT("ForceField",Character)
| |
| 1565 | FF.Visible = false | |
| 1566 | ||
| 1567 | INSTANT = false | |
| 1568 | Speed = 20 | |
| 1569 | ||
| 1570 | while true do | |
| 1571 | Swait() | |
| 1572 | SINE = SINE + CHANGE | |
| 1573 | --if DEAD == false then | |
| 1574 | if VALUE2 == false then | |
| 1575 | for e=1,#HANDS do | |
| 1576 | if HANDS[e]~=nil then | |
| 1577 | local Thing=HANDS[e] | |
| 1578 | if Thing~=nil then | |
| 1579 | local MainPart=Thing[1] | |
| 1580 | local F=Thing[2] | |
| 1581 | if MainPart.IsEnabled.Value == true then | |
| 1582 | F.C0 = Clerp(F.C0, CF(-e*2,5-((e-1)*2) + 0.5 * COS(SINE/(e*15)),2) * ANGLES(RAD(180), RAD(-90), RAD(25*e)) * ANGLES(RAD(0), RAD(45), RAD(0)), 0.2 / Animation_Speed) | |
| 1583 | end | |
| 1584 | end | |
| 1585 | end | |
| 1586 | end | |
| 1587 | end | |
| 1588 | ANIMATE.Parent = nil | |
| 1589 | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
| 1590 | IDLEANIMATION:Play() | |
| 1591 | if TRANSFORMED == true then | |
| 1592 | tecks2.TextTransparency = 0 | |
| 1593 | for _, c in pairs(Character:GetChildren()) do | |
| 1594 | if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then | |
| 1595 | c.Anchored = false | |
| 1596 | c.Transparency = 0 | |
| 1597 | c.Color = C3(0,0,0) | |
| 1598 | end | |
| 1599 | end | |
| 1600 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1601 | if c.ClassName == "Part" then | |
| 1602 | c.Transparency = 0 | |
| 1603 | end | |
| 1604 | end | |
| 1605 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
| 1606 | if c.ClassName == "Part" then | |
| 1607 | c.Color = C3(0,0,0) | |
| 1608 | if c:FindFirstChild("PE") then
| |
| 1609 | c.PE.Enabled = true | |
| 1610 | end | |
| 1611 | end | |
| 1612 | end | |
| 1613 | for _, c in pairs(SCYTHE:GetChildren()) do | |
| 1614 | if c.ClassName == "Part" then | |
| 1615 | if c.Material ~= Enum.Material.Neon then | |
| 1616 | c.Transparency = 0 | |
| 1617 | end | |
| 1618 | c.Color = C3(0,0,0) | |
| 1619 | if c:FindFirstChild("PE") then
| |
| 1620 | c.PE.Enabled = true | |
| 1621 | end | |
| 1622 | end | |
| 1623 | end | |
| 1624 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1625 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 1626 | local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
| 1627 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
| 1628 | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
| 1629 | if ATTACK == false and VALUE2 == false then | |
| 1630 | HandleWeld.C0 = Clerp(HandleWeld.C0, CF(2, 3 + 0.35 * COS(SINE / 12), 1) * ANGLES(RAD(45 + 15 * COS(SINE / 12)), RAD(-45), RAD(0)), 0.2 / Animation_Speed) | |
| 1631 | end | |
| 1632 | if ANIM == "Walk" and TORSOVELOCITY > 1 then | |
| 1633 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1634 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1635 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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) | |
| 1636 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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) | |
| 1637 | elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then | |
| 1638 | RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1639 | Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1640 | RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1641 | LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1642 | end | |
| 1643 | if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
| 1644 | ANIM = "Jump" | |
| 1645 | if ATTACK == false then | |
| 1646 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1647 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1648 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1649 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1650 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
| 1651 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
| 1652 | end | |
| 1653 | elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
| 1654 | ANIM = "Fall" | |
| 1655 | if ATTACK == false then | |
| 1656 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1657 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
| 1658 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1659 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
| 1660 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
| 1661 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
| 1662 | end | |
| 1663 | elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
| 1664 | ANIM = "Idle" | |
| 1665 | if ATTACK == false then | |
| 1666 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1667 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1668 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1669 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1670 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1671 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1672 | end | |
| 1673 | elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
| 1674 | ANIM = "Walk" | |
| 1675 | WALK = WALK + 1 / Animation_Speed | |
| 1676 | if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
| 1677 | WALK = 0 | |
| 1678 | if WALKINGANIM == true then | |
| 1679 | WALKINGANIM = false | |
| 1680 | elseif WALKINGANIM == false then | |
| 1681 | WALKINGANIM = true | |
| 1682 | end | |
| 1683 | end | |
| 1684 | --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1685 | --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
| 1686 | if ATTACK == false then | |
| 1687 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1688 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
| 1689 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1690 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
| 1691 | RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
| 1692 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
| 1693 | end | |
| 1694 | end | |
| 1695 | end | |
| 1696 | --end | |
| 1697 | Humanoid.DisplayDistanceType = "None" | |
| 1698 | unanchor() | |
| 1699 | Humanoid.MaxHealth = "inf" | |
| 1700 | Humanoid.Health = "inf" | |
| 1701 | if Rooted == false then | |
| 1702 | Disable_Jump = false | |
| 1703 | Humanoid.WalkSpeed = Speed | |
| 1704 | elseif Rooted == true then | |
| 1705 | Disable_Jump = true | |
| 1706 | Humanoid.WalkSpeed = 0 | |
| 1707 | end | |
| 1708 | if Head:FindFirstChild("face") then
| |
| 1709 | Head.face:remove() | |
| 1710 | end | |
| 1711 | local MATHS = {"0","1"}
| |
| 1712 | Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] | |
| 1713 | Humanoid.PlatformStand = false | |
| 1714 | if INTRO == false and INSTANT == false then | |
| 1715 | INTRO = true | |
| 1716 | coroutine.resume(coroutine.create(function() | |
| 1717 | sick:Play() | |
| 1718 | Intro() | |
| 1719 | end)) | |
| 1720 | end | |
| 1721 | if INSTANT == true then | |
| 1722 | if TRANSFORMED == false then | |
| 1723 | sick.TimePosition = 60 | |
| 1724 | Player:ClearCharacterAppearance() | |
| 1725 | sick:Play() | |
| 1726 | for _, c in pairs(HANDFOLDER:GetChildren()) do | |
| 1727 | if c.ClassName == "Part" then | |
| 1728 | c.Transparency = 0 | |
| 1729 | end | |
| 1730 | end | |
| 1731 | end | |
| 1732 | TRANSFORMED = true | |
| 1733 | end | |
| 1734 | script.Parent = PlayerGui | |
| 1735 | Character.Parent = workspace | |
| 1736 | Humanoid.Parent = Character | |
| 1737 | Player:ClearCharacterAppearance() | |
| 1738 | end | |
| 1739 | ||
| 1740 | --//=================================\\ | |
| 1741 | --\\=================================// | |
| 1742 | ||
| 1743 | ||
| 1744 | ||
| 1745 | ||
| 1746 | ||
| 1747 | --//====================================================\\-- | |
| 1748 | --|| END OF SCRIPT | |
| 1749 | --\\====================================================//-- |