SHOW:
|
|
- or go back to the newest paste.
| 1 | --//====================================================\\-- | |
| 2 | - | --|| CREATED BY SHACKLUSTER |
| 2 | + | --|| CREATED BY SHACKLUSTER EDIT BY tamloveeif02 |
| 3 | --\\====================================================//-- | |
| 4 | ||
| 5 | wait(0.2) | |
| 6 | ||
| 7 | Player = game:GetService("Players").LocalPlayer
| |
| 8 | PlayerGui = Player.PlayerGui | |
| 9 | Cam = workspace.CurrentCamera | |
| 10 | Backpack = Player.Backpack | |
| 11 | Character = Player.Character | |
| 12 | Humanoid = Character.Humanoid | |
| 13 | Mouse = Player:GetMouse() | |
| 14 | RootPart = Character["HumanoidRootPart"] | |
| 15 | Torso = Character["Torso"] | |
| 16 | Head = Character["Head"] | |
| 17 | RightArm = Character["Right Arm"] | |
| 18 | LeftArm = Character["Left Arm"] | |
| 19 | RightLeg = Character["Right Leg"] | |
| 20 | LeftLeg = Character["Left Leg"] | |
| 21 | RootJoint = RootPart["RootJoint"] | |
| 22 | Neck = Torso["Neck"] | |
| 23 | RightShoulder = Torso["Right Shoulder"] | |
| 24 | LeftShoulder = Torso["Left Shoulder"] | |
| 25 | RightHip = Torso["Right Hip"] | |
| 26 | LeftHip = Torso["Left Hip"] | |
| 27 | - | local sick = Instance.new("Sound",Torso)
|
| 27 | + | local sick = Instance.new("Sound",Character)
|
| 28 | - | sick.SoundId = "rbxassetid://848439234" |
| 28 | + | sick.SoundId = "rbxassetid://318062766" |
| 29 | sick.Looped = true | |
| 30 | - | sick.Pitch = 1 |
| 30 | + | sick.Volume = 1 |
| 31 | - | sick.Volume = 3 |
| 31 | + | |
| 32 | - | sick:Play() |
| 32 | + | |
| 33 | IT = Instance.new | |
| 34 | CF = CFrame.new | |
| 35 | VT = Vector3.new | |
| 36 | RAD = math.rad | |
| 37 | C3 = Color3.new | |
| 38 | UD2 = UDim2.new | |
| 39 | BRICKC = BrickColor.new | |
| 40 | ANGLES = CFrame.Angles | |
| 41 | EULER = CFrame.fromEulerAnglesXYZ | |
| 42 | COS = math.cos | |
| 43 | ACOS = math.acos | |
| 44 | SIN = math.sin | |
| 45 | ASIN = math.asin | |
| 46 | ABS = math.abs | |
| 47 | MRANDOM = math.random | |
| 48 | FLOOR = math.floor | |
| 49 | ||
| 50 | --//=================================\\ | |
| 51 | --|| USEFUL VALUES | |
| 52 | --\\=================================// | |
| 53 | ||
| 54 | Animation_Speed = 3 | |
| 55 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 56 | local Speed = 45 | |
| 57 | - | local Speed = 35 |
| 57 | + | |
| 58 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 59 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 60 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 61 | local DAMAGEMULTIPLIER = 1 | |
| 62 | local ANIM = "Idle" | |
| 63 | local ATTACK = false | |
| 64 | local EQUIPPED = false | |
| 65 | local HOLD = false | |
| 66 | local COMBO = 1 | |
| 67 | local Rooted = false | |
| 68 | local SINE = 0 | |
| 69 | local KEYHOLD = false | |
| 70 | local CHANGE = 2 / Animation_Speed | |
| 71 | local WALKINGANIM = false | |
| 72 | local VALUE1 = false | |
| 73 | local VALUE2 = false | |
| 74 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 75 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 76 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 77 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 78 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 79 | WEAPONGUI.Name = "Weapon GUI" | |
| 80 | local Effects = IT("Folder", Character)
| |
| 81 | Effects.Name = "Effects" | |
| 82 | local ANIMATOR = Humanoid.Animator | |
| 83 | local ANIMATE = Character.Animate | |
| 84 | local UNANCHOR = true | |
| 85 | local HITPOS = nil | |
| 86 | local HITFLOOR = nil | |
| 87 | - | local SONGS = {534861083,530959353,1534958855,0}
|
| 87 | + | local LEFTWINGS = {}
|
| 88 | - | local CHOICE = MRANDOM(1,4) |
| 88 | + | local RIGHTWINGS = {}
|
| 89 | local BODY = {}
| |
| 90 | ||
| 91 | --//=================================\\ | |
| 92 | --\\=================================// | |
| 93 | ||
| 94 | ||
| 95 | --//=================================\\ | |
| 96 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 97 | --\\=================================// | |
| 98 | ||
| 99 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 100 | ArtificialHB.Name = "ArtificialHB" | |
| 101 | ||
| 102 | script:WaitForChild("ArtificialHB")
| |
| 103 | ||
| 104 | frame = Frame_Speed | |
| 105 | tf = 0 | |
| 106 | allowframeloss = false | |
| 107 | tossremainder = false | |
| 108 | lastframe = tick() | |
| 109 | script.ArtificialHB:Fire() | |
| 110 | ||
| 111 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 112 | tf = tf + s | |
| 113 | if tf >= frame then | |
| 114 | if allowframeloss then | |
| 115 | script.ArtificialHB:Fire() | |
| 116 | lastframe = tick() | |
| 117 | else | |
| 118 | for i = 1, math.floor(tf / frame) do | |
| 119 | script.ArtificialHB:Fire() | |
| 120 | end | |
| 121 | lastframe = tick() | |
| 122 | end | |
| 123 | if tossremainder then | |
| 124 | tf = 0 | |
| 125 | else | |
| 126 | tf = tf - frame * math.floor(tf / frame) | |
| 127 | end | |
| 128 | end | |
| 129 | end) | |
| 130 | ||
| 131 | --//=================================\\ | |
| 132 | --\\=================================// | |
| 133 | ||
| 134 | --//=================================\\ | |
| 135 | --|| SOME FUNCTIONS | |
| 136 | --\\=================================// | |
| 137 | ||
| 138 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 139 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 140 | end | |
| 141 | ||
| 142 | function PositiveAngle(NUMBER) | |
| 143 | if NUMBER >= 0 then | |
| 144 | NUMBER = 0 | |
| 145 | end | |
| 146 | return NUMBER | |
| 147 | end | |
| 148 | ||
| 149 | function NegativeAngle(NUMBER) | |
| 150 | if NUMBER <= 0 then | |
| 151 | NUMBER = 0 | |
| 152 | end | |
| 153 | return NUMBER | |
| 154 | end | |
| 155 | ||
| 156 | function Swait(NUMBER) | |
| 157 | if NUMBER == 0 or NUMBER == nil then | |
| 158 | ArtificialHB.Event:wait() | |
| 159 | else | |
| 160 | for i = 1, NUMBER do | |
| 161 | ArtificialHB.Event:wait() | |
| 162 | end | |
| 163 | end | |
| 164 | end | |
| 165 | ||
| 166 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 167 | local NEWMESH = IT(MESH) | |
| 168 | if MESH == "SpecialMesh" then | |
| 169 | NEWMESH.MeshType = MESHTYPE | |
| 170 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 171 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 172 | end | |
| 173 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 174 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 175 | end | |
| 176 | end | |
| 177 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 178 | NEWMESH.Scale = SCALE | |
| 179 | NEWMESH.Parent = PARENT | |
| 180 | return NEWMESH | |
| 181 | end | |
| 182 | ||
| 183 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 184 | local NEWPART = IT("Part")
| |
| 185 | NEWPART.formFactor = FORMFACTOR | |
| 186 | NEWPART.Reflectance = REFLECTANCE | |
| 187 | NEWPART.Transparency = TRANSPARENCY | |
| 188 | NEWPART.CanCollide = false | |
| 189 | NEWPART.Locked = true | |
| 190 | NEWPART.Anchored = true | |
| 191 | if ANCHOR == false then | |
| 192 | NEWPART.Anchored = false | |
| 193 | end | |
| 194 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 195 | NEWPART.Name = NAME | |
| 196 | NEWPART.Size = SIZE | |
| 197 | NEWPART.Position = Torso.Position | |
| 198 | NEWPART.Material = MATERIAL | |
| 199 | NEWPART:BreakJoints() | |
| 200 | NEWPART.Parent = PARENT | |
| 201 | return NEWPART | |
| 202 | end | |
| 203 | ||
| 204 | - | local weldd = IT("Weld")
|
| 204 | + | |
| 205 | local weldd = Instance.new("ManualWeld")
| |
| 206 | weldd.Part0 = a | |
| 207 | - | weldd.C0 = CF() |
| 207 | + | |
| 208 | weldd.C0 = CFrame.new() | |
| 209 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 210 | weldd.Parent = a | |
| 211 | return weldd | |
| 212 | end | |
| 213 | ||
| 214 | ||
| 215 | function QuaternionFromCFrame(cf) | |
| 216 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 217 | local trace = m00 + m11 + m22 | |
| 218 | if trace > 0 then | |
| 219 | local s = math.sqrt(1 + trace) | |
| 220 | local recip = 0.5 / s | |
| 221 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 222 | else | |
| 223 | local i = 0 | |
| 224 | if m11 > m00 then | |
| 225 | i = 1 | |
| 226 | end | |
| 227 | if m22 > (i == 0 and m00 or m11) then | |
| 228 | i = 2 | |
| 229 | end | |
| 230 | if i == 0 then | |
| 231 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 232 | local recip = 0.5 / s | |
| 233 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 234 | elseif i == 1 then | |
| 235 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 236 | local recip = 0.5 / s | |
| 237 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 238 | elseif i == 2 then | |
| 239 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 240 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 241 | end | |
| 242 | end | |
| 243 | end | |
| 244 | ||
| 245 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 246 | local xs, ys, zs = x + x, y + y, z + z | |
| 247 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 248 | local xx = x * xs | |
| 249 | local xy = x * ys | |
| 250 | local xz = x * zs | |
| 251 | local yy = y * ys | |
| 252 | local yz = y * zs | |
| 253 | local zz = z * zs | |
| 254 | 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)) | |
| 255 | end | |
| 256 | ||
| 257 | function QuaternionSlerp(a, b, t) | |
| 258 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 259 | local startInterp, finishInterp; | |
| 260 | if cosTheta >= 0.0001 then | |
| 261 | if (1 - cosTheta) > 0.0001 then | |
| 262 | local theta = ACOS(cosTheta) | |
| 263 | local invSinTheta = 1 / SIN(theta) | |
| 264 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 265 | finishInterp = SIN(t * theta) * invSinTheta | |
| 266 | else | |
| 267 | startInterp = 1 - t | |
| 268 | finishInterp = t | |
| 269 | end | |
| 270 | else | |
| 271 | if (1 + cosTheta) > 0.0001 then | |
| 272 | local theta = ACOS(-cosTheta) | |
| 273 | local invSinTheta = 1 / SIN(theta) | |
| 274 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 275 | finishInterp = SIN(t * theta) * invSinTheta | |
| 276 | else | |
| 277 | startInterp = t - 1 | |
| 278 | finishInterp = t | |
| 279 | end | |
| 280 | end | |
| 281 | 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 | |
| 282 | end | |
| 283 | ||
| 284 | function Clerp(a, b, t) | |
| 285 | local qa = {QuaternionFromCFrame(a)}
| |
| 286 | local qb = {QuaternionFromCFrame(b)}
| |
| 287 | local ax, ay, az = a.x, a.y, a.z | |
| 288 | local bx, by, bz = b.x, b.y, b.z | |
| 289 | local _t = 1 - t | |
| 290 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 291 | end | |
| 292 | ||
| 293 | function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
| 294 | local frame = IT("Frame")
| |
| 295 | frame.BackgroundTransparency = TRANSPARENCY | |
| 296 | frame.BorderSizePixel = BORDERSIZEPIXEL | |
| 297 | frame.Position = POSITION | |
| 298 | frame.Size = SIZE | |
| 299 | frame.BackgroundColor3 = COLOR | |
| 300 | frame.BorderColor3 = BORDERCOLOR | |
| 301 | frame.Name = NAME | |
| 302 | frame.Parent = PARENT | |
| 303 | return frame | |
| 304 | end | |
| 305 | ||
| 306 | function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
| 307 | local label = IT("TextLabel")
| |
| 308 | label.BackgroundTransparency = 1 | |
| 309 | label.Size = UD2(1, 0, 1, 0) | |
| 310 | label.Position = UD2(0, 0, 0, 0) | |
| 311 | label.TextColor3 = TEXTCOLOR | |
| 312 | label.TextStrokeColor3 = BRICKC"Really blue".Color | |
| 313 | label.TextStrokeTransparency = STROKETRANSPARENCY | |
| 314 | label.TextTransparency = TRANSPARENCY | |
| 315 | label.FontSize = TEXTFONTSIZE | |
| 316 | label.Font = TEXTFONT | |
| 317 | label.BorderSizePixel = BORDERSIZEPIXEL | |
| 318 | label.TextScaled = false | |
| 319 | label.Text = TEXT | |
| 320 | label.Name = NAME | |
| 321 | label.Parent = PARENT | |
| 322 | return label | |
| 323 | end | |
| 324 | ||
| 325 | function NoOutlines(PART) | |
| 326 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 327 | end | |
| 328 | ||
| 329 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 330 | local NEWWELD = IT(TYPE) | |
| 331 | NEWWELD.Part0 = PART0 | |
| 332 | NEWWELD.Part1 = PART1 | |
| 333 | NEWWELD.C0 = C0 | |
| 334 | NEWWELD.C1 = C1 | |
| 335 | NEWWELD.Parent = PARENT | |
| 336 | return NEWWELD | |
| 337 | end | |
| 338 | ||
| 339 | local S = IT("Sound")
| |
| 340 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 341 | local NEWSOUND = nil | |
| 342 | coroutine.resume(coroutine.create(function() | |
| 343 | NEWSOUND = S:Clone() | |
| 344 | NEWSOUND.Parent = PARENT | |
| 345 | NEWSOUND.Volume = VOLUME | |
| 346 | NEWSOUND.Pitch = PITCH | |
| 347 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 348 | NEWSOUND:play() | |
| 349 | NEWSOUND.Name = "Audio" | |
| 350 | - | repeat wait(1) until NEWSOUND.Playing == false |
| 350 | + | |
| 351 | NEWSOUND.Looped = true | |
| 352 | else | |
| 353 | repeat Swait() until NEWSOUND.Playing == false | |
| 354 | NEWSOUND:remove() | |
| 355 | end | |
| 356 | end)) | |
| 357 | return NEWSOUND | |
| 358 | end | |
| 359 | ||
| 360 | function CFrameFromTopBack(at, top, back) | |
| 361 | local right = top:Cross(back) | |
| 362 | 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) | |
| 363 | end | |
| 364 | ||
| 365 | --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 366 | function WACKYEFFECT(Table) | |
| 367 | local TYPE = (Table.EffectType or "Sphere") | |
| 368 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 369 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 370 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 371 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 372 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 373 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 374 | local ROTATION1 = (Table.RotationX or 0) | |
| 375 | local ROTATION2 = (Table.RotationY or 0) | |
| 376 | local ROTATION3 = (Table.RotationZ or 0) | |
| 377 | local MATERIAL = (Table.Material or "Neon") | |
| 378 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 379 | local TIME = (Table.Time or 45) | |
| 380 | local SOUNDID = (Table.SoundID or nil) | |
| 381 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 382 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 383 | coroutine.resume(coroutine.create(function() | |
| 384 | local PLAYSSOUND = false | |
| 385 | local SOUND = nil | |
| 386 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 387 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 388 | PLAYSSOUND = true | |
| 389 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 390 | end | |
| 391 | EFFECT.Color = COLOR | |
| 392 | local MSH = nil | |
| 393 | if TYPE == "Sphere" then | |
| 394 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 395 | elseif TYPE == "Block" then | |
| 396 | MSH = IT("BlockMesh",EFFECT)
| |
| 397 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 398 | elseif TYPE == "Box" then | |
| 399 | MSH = IT("BlockMesh",EFFECT)
| |
| 400 | MSH.Scale = SIZE | |
| 401 | elseif TYPE == "Wave" then | |
| 402 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 403 | elseif TYPE == "Ring" then | |
| 404 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 405 | elseif TYPE == "Slash" then | |
| 406 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 407 | elseif TYPE == "Round Slash" then | |
| 408 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 409 | elseif TYPE == "Swirl" then | |
| 410 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 411 | elseif TYPE == "Skull" then | |
| 412 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 413 | elseif TYPE == "Crystal" then | |
| 414 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 415 | end | |
| 416 | if MSH ~= nil then | |
| 417 | local MOVESPEED = nil | |
| 418 | if MOVEDIRECTION ~= nil then | |
| 419 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 420 | end | |
| 421 | local GROWTH = SIZE - ENDSIZE | |
| 422 | - | for LOOP = 1, TIME+1 do |
| 422 | + | |
| 423 | if TYPE == "Block" then | |
| 424 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 425 | else | |
| 426 | EFFECT.CFrame = CFRAME | |
| 427 | end | |
| 428 | for LOOP = 1, TIME do | |
| 429 | Swait() | |
| 430 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 431 | if TYPE == "Wave" then | |
| 432 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 433 | end | |
| 434 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 435 | if TYPE == "Block" then | |
| 436 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 437 | else | |
| 438 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 439 | end | |
| 440 | if MOVEDIRECTION ~= nil then | |
| 441 | local ORI = EFFECT.Orientation | |
| 442 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 443 | - | SOUND.Stopped:Connect(function() |
| 443 | + | |
| 444 | - | EFFECT:remove() |
| 444 | + | |
| 445 | - | end) |
| 445 | + | |
| 446 | if PLAYSSOUND == false then | |
| 447 | EFFECT:remove() | |
| 448 | else | |
| 449 | repeat Swait() until SOUND.Playing == false | |
| 450 | EFFECT:remove() | |
| 451 | end | |
| 452 | else | |
| 453 | if PLAYSSOUND == false then | |
| 454 | EFFECT:remove() | |
| 455 | else | |
| 456 | repeat Swait() until SOUND.Playing == false | |
| 457 | EFFECT:remove() | |
| 458 | end | |
| 459 | end | |
| 460 | end)) | |
| 461 | end | |
| 462 | ||
| 463 | function Shatter(Part) | |
| 464 | if Part.Transparency == 0 then | |
| 465 | local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0)) | |
| 466 | Debris:AddItem(SOUNDPART,5) | |
| 467 | CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
| |
| 468 | local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z | |
| 469 | local SIZESET = SIZE/4 | |
| 470 | local XOffset = Part.Size.X*1.5/SIZESET | |
| 471 | local YOffset = Part.Size.Y*1.5/SIZESET | |
| 472 | local ZOffset = Part.Size.Z*1.5/SIZESET | |
| 473 | for x = 1, math.ceil(XOffset) do | |
| 474 | for y = 1, math.ceil(YOffset) do | |
| 475 | for z = 1, math.ceil(ZOffset) do | |
| 476 | local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false) | |
| 477 | SHARD.CanCollide = true | |
| 478 | SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4)) | |
| 479 | SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3 | |
| 480 | Debris:AddItem(SHARD,MRANDOM(10,25)/3) | |
| 481 | - | function SpawnTrail(FROM,TO,BIG) |
| 481 | + | |
| 482 | - | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) |
| 482 | + | |
| 483 | - | MakeForm(TRAIL,"Cyl") |
| 483 | + | |
| 484 | - | local DIST = (FROM - TO).Magnitude |
| 484 | + | |
| 485 | - | if BIG == true then |
| 485 | + | |
| 486 | - | TRAIL.Size = VT(0.5,DIST,0.5) |
| 486 | + | |
| 487 | ||
| 488 | - | TRAIL.Size = VT(0.25,DIST,0.25) |
| 488 | + | |
| 489 | if TYPE == "Cyl" then | |
| 490 | - | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) |
| 490 | + | |
| 491 | elseif TYPE == "Ball" then | |
| 492 | - | for i = 1, 5 do |
| 492 | + | |
| 493 | MSH.MeshType = "Sphere" | |
| 494 | - | TRAIL.Transparency = TRAIL.Transparency + 0.1 |
| 494 | + | |
| 495 | local MSH = IT("SpecialMesh",PART)
| |
| 496 | - | TRAIL:remove() |
| 496 | + | |
| 497 | end | |
| 498 | end | |
| 499 | ||
| 500 | - | local asd = Instance.new("ParticleEmitter")
|
| 500 | + | |
| 501 | - | asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0)) |
| 501 | + | |
| 502 | - | asd.LightEmission = .1 |
| 502 | + | |
| 503 | - | asd.Texture = "http://www.roblox.com/asset/?ID=291880914" |
| 503 | + | |
| 504 | - | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
|
| 504 | + | |
| 505 | - | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
|
| 505 | + | |
| 506 | - | asd.Transparency = bbb |
| 506 | + | |
| 507 | - | asd.Size = aaa |
| 507 | + | |
| 508 | - | asd.ZOffset = .9 |
| 508 | + | |
| 509 | - | asd.Acceleration = Vector3.new(0, -15, 0) |
| 509 | + | |
| 510 | - | asd.LockedToPart = false |
| 510 | + | |
| 511 | - | asd.EmissionDirection = "Back" |
| 511 | + | |
| 512 | - | asd.Lifetime = NumberRange.new(1, 2) |
| 512 | + | |
| 513 | - | asd.Rotation = NumberRange.new(-100, 100) |
| 513 | + | |
| 514 | - | asd.RotSpeed = NumberRange.new(-100, 100) |
| 514 | + | |
| 515 | - | asd.Speed = NumberRange.new(10) |
| 515 | + | local Back = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Wing", VT(1,1,0.35),false) |
| 516 | - | asd.Enabled = false |
| 516 | + | CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
|
| 517 | - | asd.VelocitySpread = 999 |
| 517 | + | |
| 518 | local ANGLE = 35 | |
| 519 | - | function getbloody(victim,amount) |
| 519 | + | for i = 1, 5 do |
| 520 | - | local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) |
| 520 | + | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.15,2+(i/2),0.15),false) |
| 521 | - | PART.CFrame = victim.CFrame |
| 521 | + | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
|
| 522 | - | local HITPLAYERSOUNDS = {"356551938","264486467"}
|
| 522 | + | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false) |
| 523 | - | Debris:AddItem(PART,5) |
| 523 | + | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
|
| 524 | - | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) |
| 524 | + | ANGLE = ANGLE - 15 |
| 525 | - | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) |
| 525 | + | table.insert(LEFTWINGS,WingWeld) |
| 526 | - | CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) |
| 526 | + | |
| 527 | - | local prtcl = asd:Clone() |
| 527 | + | ANGLE = 35 |
| 528 | - | prtcl.Parent = PART |
| 528 | + | for i = 1, 5 do |
| 529 | - | prtcl:Emit(amount*10) |
| 529 | + | local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.15,2+(i/2),0.15),false) |
| 530 | local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
| |
| 531 | local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Wing", VT(0.25,1,0.25),false) | |
| 532 | - | local Particle = IT("ParticleEmitter",nil)
|
| 532 | + | CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
|
| 533 | - | Particle.Enabled = false |
| 533 | + | ANGLE = ANGLE - 15 |
| 534 | - | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
|
| 534 | + | table.insert(RIGHTWINGS,WingWeld) |
| 535 | - | Particle.LightEmission = 0.5 |
| 535 | + | |
| 536 | - | Particle.Rate = 150 |
| 536 | + | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.3,0.3,0.3),false) |
| 537 | - | Particle.ZOffset = 1 |
| 537 | + | local EyeWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
|
| 538 | - | Particle.Rotation = NumberRange.new(-180, 180) |
| 538 | + | local Eye2 = CreatePart(3, Character, "Neon", 0, 0.5, "Really red", "Eye", VT(0.5,0.5,0.29),false) |
| 539 | - | Particle.RotSpeed = NumberRange.new(-180, 180) |
| 539 | + | local EyeWeld2 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye2, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
|
| 540 | - | Particle.Texture = "http://www.roblox.com/asset/?id=304437537" |
| 540 | + | |
| 541 | - | Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0)) |
| 541 | + | local Eye3 = CreatePart(3, Character, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,0.1,0.31),false) |
| 542 | local EyeWeld3 = CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye3, CF(0,0.2,0) * ANGLES(RAD(-5),RAD(-25),RAD(0)) * CF(0,0,-0.45), CF(0,0,0))
| |
| 543 | - | --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
|
| 543 | + | |
| 544 | - | function ParticleEmitter(Table) |
| 544 | + | local SKILLTEXTCOLOR = BRICKC"Really blue".Color |
| 545 | - | local PRTCL = Particle:Clone() |
| 545 | + | local SKILLFONT = "SciFi" |
| 546 | - | local Speed = Table.Speed or 5 |
| 546 | + | |
| 547 | - | local Drag = Table.Drag or 0 |
| 547 | + | |
| 548 | - | local Size1 = Table.Size1 or 1 |
| 548 | + | local naeeym2 = Instance.new("BillboardGui",Character)
|
| 549 | - | local Size2 = Table.Size2 or 5 |
| 549 | + | naeeym2.AlwaysOnTop = true |
| 550 | - | local Lifetime1 = Table.Lifetime1 or 1 |
| 550 | + | naeeym2.Size = UDim2.new(5,35,2,15) |
| 551 | - | local Lifetime2 = Table.Lifetime2 or 1.5 |
| 551 | + | naeeym2.StudsOffset = Vector3.new(0,1.2,0) |
| 552 | - | local Parent = Table.Parent or Torso |
| 552 | + | naeeym2.Adornee = Character.Head |
| 553 | - | local Emit = Table.Emit or 100 |
| 553 | + | naeeym2.Name = "Name" |
| 554 | - | local Offset = Table.Offset or 360 |
| 554 | + | naeeym2.PlayerToHideFrom = Player |
| 555 | - | local Acel = Table.Acel or VT(0,0,0) |
| 555 | + | local tecks2 = Instance.new("TextLabel",naeeym2)
|
| 556 | - | local Enabled = Table.Enabled or false |
| 556 | + | tecks2.BackgroundTransparency = 1 |
| 557 | - | PRTCL.Parent = Parent |
| 557 | + | tecks2.TextScaled = true |
| 558 | - | PRTCL.Size = NumberSequence.new(Size1,Size2) |
| 558 | + | tecks2.BorderSizePixel = 0 |
| 559 | - | PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) |
| 559 | + | tecks2.Text = "Reanimate" |
| 560 | - | PRTCL.Speed = NumberRange.new(Speed) |
| 560 | + | tecks2.Font = SKILLFONT |
| 561 | - | PRTCL.VelocitySpread = Offset |
| 561 | + | tecks2.TextSize = 30 |
| 562 | - | PRTCL.Drag = Drag |
| 562 | + | tecks2.TextStrokeTransparency = 0 |
| 563 | - | PRTCL.Acceleration = Acel |
| 563 | + | tecks2.TextColor3 = C3(0,0,0) |
| 564 | - | if Enabled == false then |
| 564 | + | tecks2.TextStrokeColor3 = BRICKC"Really blue".Color |
| 565 | - | PRTCL:Emit(Emit) |
| 565 | + | tecks2.Size = UDim2.new(1,0,0.5,0) |
| 566 | - | Debris:AddItem(PRTCL,Lifetime2) |
| 566 | + | tecks2.Parent = naeeym2 |
| 567 | ||
| 568 | - | PRTCL.Enabled = true |
| 568 | + | for _, c in pairs(Character:GetChildren()) do |
| 569 | if c.ClassName == "Part" then | |
| 570 | - | return PRTCL |
| 570 | + | table.insert(BODY,{c,Character})
|
| 571 | for _, q in pairs(c:GetChildren()) do | |
| 572 | if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then | |
| 573 | table.insert(BODY,{q,c})
| |
| 574 | end | |
| 575 | end | |
| 576 | end | |
| 577 | - | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false) |
| 577 | + | |
| 578 | - | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
|
| 578 | + | |
| 579 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false) |
| 579 | + | |
| 580 | - | MakeForm(Part,"Wedge") |
| 580 | + | |
| 581 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
|
| 581 | + | |
| 582 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false) |
| 582 | + | |
| 583 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 583 | + | |
| 584 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) |
| 584 | + | |
| 585 | - | MakeForm(Part,"Cyl") |
| 585 | + | |
| 586 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 586 | + | PART.Parent = PARENT |
| 587 | - | for i = 1, 8 do |
| 587 | + | |
| 588 | - | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) |
| 588 | + | |
| 589 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
|
| 589 | + | |
| 590 | ||
| 591 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
| 591 | + | Humanoid.HealthChanged:connect(function() |
| 592 | - | MakeForm(Part,"Wedge") |
| 592 | + | Humanoid.Parent = nil |
| 593 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
|
| 593 | + | |
| 594 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false) |
| 594 | + | |
| 595 | - | MakeForm(Part,"Cyl") |
| 595 | + | |
| 596 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 596 | + | Humanoid.Parent = Character |
| 597 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) |
| 597 | + | |
| 598 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 598 | + | |
| 599 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false) |
| 599 | + | |
| 600 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 600 | + | Humanoid.Parent = nil |
| 601 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false) |
| 601 | + | |
| 602 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
|
| 602 | + | |
| 603 | - | local RightBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false) |
| 603 | + | |
| 604 | - | MakeForm(RightBarrel,"Cyl") |
| 604 | + | Humanoid.Parent = Character |
| 605 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
|
| 605 | + | |
| 606 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false) |
| 606 | + | |
| 607 | - | MakeForm(Part,"Wedge") |
| 607 | + | local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") |
| 608 | - | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 608 | + | local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") |
| 609 | - | local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) |
| 609 | + | local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") |
| 610 | - | MakeForm(RightHole,"Cyl") |
| 610 | + | local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") |
| 611 | - | CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
|
| 611 | + | |
| 612 | - | local Handle = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false) |
| 612 | + | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Cyber Star", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1") |
| 613 | - | local LeftArmGraps = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
|
| 613 | + | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Techno Beam", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2") |
| 614 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false) |
| 614 | + | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Techno Warp", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3") |
| 615 | - | MakeForm(Part,"Wedge") |
| 615 | + | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Cyber Smash", C3(50/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4") |
| 616 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
|
| 616 | + | |
| 617 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false) |
| 617 | + | |
| 618 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 618 | + | |
| 619 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) |
| 619 | + | |
| 620 | - | MakeForm(Part,"Cyl") |
| 620 | + | |
| 621 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 621 | + | function killnearest(position,range,EFFECT) |
| 622 | - | for i = 1, 8 do |
| 622 | + | for i,v in ipairs(workspace:GetChildren()) do |
| 623 | - | local Piece = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) |
| 623 | + | local body = v:GetChildren() |
| 624 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
|
| 624 | + | for part = 1, #body do |
| 625 | if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
| 626 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) |
| 626 | + | local SIZE = body[part].Size.Magnitude |
| 627 | - | MakeForm(Part,"Wedge") |
| 627 | + | if(body[part].Position - position).Magnitude < range + SIZE/2 then |
| 628 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
|
| 628 | + | if v.ClassName == "Model" then |
| 629 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false) |
| 629 | + | if v:FindFirstChildOfClass("Humanoid") ~= nil then
|
| 630 | - | MakeForm(Part,"Cyl") |
| 630 | + | if v:FindFirstChildOfClass("Humanoid").Health > 0 then
|
| 631 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 631 | + | v:BreakJoints() |
| 632 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) |
| 632 | + | if EFFECT == "Glitch" then |
| 633 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 633 | + | coroutine.resume(coroutine.create(function() |
| 634 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false) |
| 634 | + | local ORIGINPOS = body[part].CFrame |
| 635 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 635 | + | local SIZE = body[part].Size |
| 636 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false) |
| 636 | + | for i = 1, 100 do |
| 637 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
|
| 637 | + | Swait() |
| 638 | - | local LeftBarrel = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false) |
| 638 | + | local PART = body[part] |
| 639 | - | MakeForm(LeftBarrel,"Cyl") |
| 639 | + | PART.Anchored = true |
| 640 | - | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, LeftBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
|
| 640 | + | PART.Size = SIZE*MRANDOM(5,15)/10 |
| 641 | - | local Part = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false) |
| 641 | + | PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15) |
| 642 | - | MakeForm(Part,"Wedge") |
| 642 | + | end |
| 643 | - | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
|
| 643 | + | body[part]:remove() |
| 644 | - | local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) |
| 644 | + | end)) |
| 645 | - | MakeForm(LeftHole,"Cyl") |
| 645 | + | elseif EFFECT == "Shatter" then |
| 646 | - | CreateWeldOrSnapOrMotor("Weld", Handle, LeftBarrel, LeftHole, CF(0, 2.5, 0), CF(0, 0, 0))
|
| 646 | + | for _, c in pairs(v:GetChildren()) do |
| 647 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) |
| 647 | + | if c.ClassName == "Part" or c.ClassName == "MeshPart" then |
| 648 | - | MakeForm(Eye,"Ball") |
| 648 | + | Shatter(c) |
| 649 | - | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
|
| 649 | + | end |
| 650 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false) |
| 650 | + | end |
| 651 | - | MakeForm(Eye,"Ball") |
| 651 | + | end |
| 652 | - | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
|
| 652 | + | |
| 653 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) |
| 653 | + | |
| 654 | - | MakeForm(Eye,"Ball") |
| 654 | + | |
| 655 | - | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
|
| 655 | + | |
| 656 | - | local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false) |
| 656 | + | |
| 657 | - | MakeForm(Eye,"Ball") |
| 657 | + | |
| 658 | - | CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
|
| 658 | + | |
| 659 | - | local A = IT("Attachment",Torso)
|
| 659 | + | |
| 660 | - | A.Position = VT(1,1.3,0) |
| 660 | + | |
| 661 | - | A.Orientation = VT(-0.098, -89.999, 0.227) |
| 661 | + | |
| 662 | - | local B = IT("Attachment",Torso)
|
| 662 | + | |
| 663 | - | B.Position = VT(-1.3,-0.6,0) |
| 663 | + | |
| 664 | - | B.Orientation = VT(-88.911, -68.808, 158.782) |
| 664 | + | |
| 665 | - | local ChainLink = IT("Beam",Torso)
|
| 665 | + | |
| 666 | - | ChainLink.Texture = "rbxassetid://73042633" |
| 666 | + | |
| 667 | - | ChainLink.Color = ColorSequence.new(C3(1,0,0)) |
| 667 | + | |
| 668 | - | ChainLink.TextureSpeed = 1 |
| 668 | + | |
| 669 | - | ChainLink.FaceCamera = true |
| 669 | + | |
| 670 | - | ChainLink.Width0 = 1 |
| 670 | + | |
| 671 | - | ChainLink.Width1 = 1 |
| 671 | + | |
| 672 | - | ChainLink.TextureLength = 3 |
| 672 | + | |
| 673 | - | ChainLink.Attachment0 = A |
| 673 | + | |
| 674 | - | ChainLink.Attachment1 = B |
| 674 | + | |
| 675 | - | ChainLink.CurveSize0 = 1.6 |
| 675 | + | killnearest(CHILD) |
| 676 | - | ChainLink.CurveSize1 = 1.6 |
| 676 | + | |
| 677 | - | ChainLink.FaceCamera = true |
| 677 | + | |
| 678 | - | ChainLink.Transparency = NumberSequence.new(0) |
| 678 | + | |
| 679 | - | local ChainLink = IT("Beam",Torso)
|
| 679 | + | |
| 680 | - | ChainLink.Texture = "rbxassetid://73042633" |
| 680 | + | |
| 681 | - | ChainLink.Color = ColorSequence.new(C3(1,0,0)) |
| 681 | + | |
| 682 | - | ChainLink.TextureSpeed = 1 |
| 682 | + | |
| 683 | - | ChainLink.FaceCamera = true |
| 683 | + | |
| 684 | - | ChainLink.Width0 = 1 |
| 684 | + | |
| 685 | - | ChainLink.Width1 = 1 |
| 685 | + | |
| 686 | - | ChainLink.TextureLength = 3 |
| 686 | + | function Cyber_Star() |
| 687 | - | ChainLink.Attachment0 = B |
| 687 | + | |
| 688 | - | ChainLink.Attachment1 = A |
| 688 | + | |
| 689 | - | ChainLink.CurveSize0 = 1.6 |
| 689 | + | |
| 690 | - | ChainLink.CurveSize1 = 1.6 |
| 690 | + | |
| 691 | - | ChainLink.FaceCamera = true |
| 691 | + | |
| 692 | - | ChainLink.Transparency = NumberSequence.new(0) |
| 692 | + | |
| 693 | - | local A = IT("Attachment",Torso)
|
| 693 | + | |
| 694 | - | A.Position = VT(1.3,-0.85,0) |
| 694 | + | |
| 695 | - | A.Orientation = VT(-0.098, -89.999, 0.227) |
| 695 | + | |
| 696 | - | local B = IT("Attachment",Torso)
|
| 696 | + | |
| 697 | - | B.Position = VT(-1,2,0) |
| 697 | + | |
| 698 | - | B.Orientation = VT(-88.911, -68.808, 158.782) |
| 698 | + | |
| 699 | - | local ChainLink = IT("Beam",Torso)
|
| 699 | + | |
| 700 | - | ChainLink.Texture = "rbxassetid://73042633" |
| 700 | + | |
| 701 | - | ChainLink.Color = ColorSequence.new(C3(1,0,0)) |
| 701 | + | local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,2000,0)) |
| 702 | - | ChainLink.TextureSpeed = 1 |
| 702 | + | |
| 703 | - | ChainLink.FaceCamera = true |
| 703 | + | local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really blue", "Strike", VT(0,0,0)) |
| 704 | - | ChainLink.Width0 = 1 |
| 704 | + | |
| 705 | - | ChainLink.Width1 = 1 |
| 705 | + | local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Strike", VT(0,0,0)) |
| 706 | - | ChainLink.TextureLength = 3 |
| 706 | + | |
| 707 | - | ChainLink.Attachment0 = A |
| 707 | + | |
| 708 | - | ChainLink.Attachment1 = B |
| 708 | + | |
| 709 | - | ChainLink.CurveSize0 = 1.3 |
| 709 | + | |
| 710 | - | ChainLink.CurveSize1 = 1.3 |
| 710 | + | |
| 711 | - | ChainLink.FaceCamera = true |
| 711 | + | |
| 712 | - | ChainLink.Transparency = NumberSequence.new(0) |
| 712 | + | |
| 713 | - | local ChainLink = IT("Beam",Torso)
|
| 713 | + | |
| 714 | - | ChainLink.Texture = "rbxassetid://73042633" |
| 714 | + | |
| 715 | - | ChainLink.Color = ColorSequence.new(C3(1,0,0)) |
| 715 | + | |
| 716 | - | ChainLink.TextureSpeed = 1 |
| 716 | + | |
| 717 | - | ChainLink.FaceCamera = true |
| 717 | + | |
| 718 | - | ChainLink.Width0 = 1 |
| 718 | + | |
| 719 | - | ChainLink.Width1 = 1 |
| 719 | + | |
| 720 | - | ChainLink.TextureLength = 3 |
| 720 | + | |
| 721 | - | ChainLink.Attachment0 = B |
| 721 | + | |
| 722 | - | ChainLink.Attachment1 = A |
| 722 | + | |
| 723 | - | ChainLink.CurveSize0 = 1.3 |
| 723 | + | |
| 724 | - | ChainLink.CurveSize1 = 1.3 |
| 724 | + | |
| 725 | - | ChainLink.FaceCamera = true |
| 725 | + | |
| 726 | - | ChainLink.Transparency = NumberSequence.new(0) |
| 726 | + | |
| 727 | SHIELD:remove() | |
| 728 | - | local A = IT("Attachment",RightBarrel)
|
| 728 | + | |
| 729 | - | A.Position = VT(0,-2.5,0) |
| 729 | + | |
| 730 | - | local B = IT("Attachment",RightBarrel)
|
| 730 | + | |
| 731 | - | B.Position = VT(0,2.5,0) |
| 731 | + | |
| 732 | - | local Trail = IT("Trail",RightBarrel)
|
| 732 | + | |
| 733 | - | Trail.Attachment0 = A |
| 733 | + | |
| 734 | - | Trail.Attachment1 = B |
| 734 | + | |
| 735 | - | Trail.Lifetime = 0.2 |
| 735 | + | |
| 736 | - | Trail.Color = ColorSequence.new(BRICKC"Really red".Color) |
| 736 | + | |
| 737 | - | Trail.Transparency = NumberSequence.new(0, 1) |
| 737 | + | |
| 738 | - | Trail.Enabled = false |
| 738 | + | |
| 739 | ATTACK = false | |
| 740 | - | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
|
| 740 | + | |
| 741 | - | PRT.LockedToPart = true |
| 741 | + | |
| 742 | - | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
|
| 742 | + | |
| 743 | - | PRT.LockedToPart = true |
| 743 | + | function Technobeam() |
| 744 | - | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
|
| 744 | + | |
| 745 | - | PRT.LockedToPart = true |
| 745 | + | |
| 746 | - | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
|
| 746 | + | |
| 747 | - | PRT.LockedToPart = true |
| 747 | + | GYRO.D = 100 |
| 748 | - | local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
|
| 748 | + | GYRO.P = 2000 |
| 749 | - | PRT.LockedToPart = true |
| 749 | + | GYRO.MaxTorque = VT(0,4000000,0) |
| 750 | - | for _, c in pairs(Character:GetDescendants()) do |
| 750 | + | |
| 751 | - | if c and c.Parent then |
| 751 | + | CreateSound("93724183", RightArm, 5, 1, false)
|
| 752 | - | if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then |
| 752 | + | for i=1, 35 do |
| 753 | - | local ACCESSORY = c.Parent |
| 753 | + | |
| 754 | - | c.Parent = Character |
| 754 | + | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
|
| 755 | - | if c then |
| 755 | + | |
| 756 | - | if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
|
| 756 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) |
| 757 | - | weldBetween(Head,c) |
| 757 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 758 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 759 | - | weldBetween(Torso,c) |
| 759 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 760 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 761 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 762 | - | ACCESSORY:remove() |
| 762 | + | |
| 763 | - | elseif c.Parent.ClassName ~= "Accessory" and c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then |
| 763 | + | local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Really blue", "Lazer", VT(0,0,0)) |
| 764 | local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
| |
| 765 | local TOCH = BEAM.Touched:Connect(function(hit) | |
| 766 | - | if c:FindFirstChildOfClass("SpecialMesh") then
|
| 766 | + | if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then |
| 767 | - | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
|
| 767 | + | Shatter(hit) |
| 768 | end | |
| 769 | end) | |
| 770 | local I = 0 | |
| 771 | repeat | |
| 772 | Swait() | |
| 773 | I = I + 1 | |
| 774 | - | elseif c.ClassName == "Part" and c.Name == "Eye" then |
| 774 | + | if I <= 10 then |
| 775 | - | c.Color = C3(1,0,0) |
| 775 | + | BEAM.Transparency = BEAM.Transparency - 0.1 |
| 776 | end | |
| 777 | - | elseif c.ClassName == "CharacterMesh" or c.Name == "Body Colors" then |
| 777 | + | local STARTPOS = RightArm.CFrame*CF(0,-4,0).p |
| 778 | local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character) | |
| 779 | - | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then |
| 779 | + | local DISTANCE = (STARTPOS - ENDPOS).Magnitude |
| 780 | BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5)) | |
| 781 | BEAM.Size = VT(2,2,DISTANCE) | |
| 782 | WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 783 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
| |
| 784 | WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
| |
| 785 | - | for _, c in pairs(Character:GetDescendants()) do |
| 785 | + | |
| 786 | - | if c:IsA("BasePart") and c.Name ~= "Handle" then
|
| 786 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) |
| 787 | - | if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then |
| 787 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 788 | - | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) |
| 788 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 789 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 790 | - | table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
|
| 790 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 791 | - | elseif c:IsA("JointInstance") then
|
| 791 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 792 | - | table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
|
| 792 | + | if ENDHIT ~= nil then |
| 793 | if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then | |
| 794 | Shatter(ENDHIT) | |
| 795 | end | |
| 796 | end | |
| 797 | until LOOP.Playing == false | |
| 798 | GYRO:remove() | |
| 799 | BEAM:remove() | |
| 800 | ATTACK = false | |
| 801 | Rooted = false | |
| 802 | - | local MATERIAL = STUFF[3] |
| 802 | + | |
| 803 | - | local COLOR = STUFF[4] |
| 803 | + | |
| 804 | - | local TRANSPARENCY = STUFF[5] |
| 804 | + | function Technowarp() |
| 805 | - | --local SIZE = STUFF[6] |
| 805 | + | local FRAME = RootPart.Position |
| 806 | - | local NAME = STUFF[7] |
| 806 | + | for i = 1, 6 do |
| 807 | - | if PART.ClassName == "Part" and PART ~= RootPart then |
| 807 | + | WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
|
| 808 | - | PART.Material = MATERIAL |
| 808 | + | |
| 809 | - | PART.Transparency = TRANSPARENCY |
| 809 | + | RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z)) |
| 810 | - | PART.Name = NAME |
| 810 | + | for i = 1, 6 do |
| 811 | WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2})
| |
| 812 | - | if PART.Parent ~= PARENT then |
| 812 | + | |
| 813 | - | Humanoid:remove() |
| 813 | + | |
| 814 | - | PART.Parent = PARENT |
| 814 | + | |
| 815 | - | Humanoid = IT("Humanoid",Character)
|
| 815 | + | function CyberSmash() |
| 816 | ATTACK = true | |
| 817 | Rooted = false | |
| 818 | local GYRO = IT("BodyGyro",RootPart)
| |
| 819 | GYRO.D = 100 | |
| 820 | GYRO.P = 2000 | |
| 821 | - | local SKILLTEXTCOLOR = C3(1,0,0) |
| 821 | + | GYRO.MaxTorque = VT(0,4000000,0) |
| 822 | - | local SKILLFONT = "Fantasy" |
| 822 | + | |
| 823 | local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Really blue", "Block", VT(25,25,25)) | |
| 824 | SMASH.CanCollide = true | |
| 825 | SMASH.Color = C3(0,0,0) | |
| 826 | local EF = Instance.new("SelectionBox",SMASH)
| |
| 827 | EF.Adornee = SMASH | |
| 828 | EF.Color = BrickColor.new("Really blue")
| |
| 829 | - | local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") |
| 829 | + | EF.LineThickness = 0.2 |
| 830 | - | local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") |
| 830 | + | EF.Transparency = 1 |
| 831 | - | local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") |
| 831 | + | |
| 832 | - | local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") |
| 832 | + | for i = 1, 20 do |
| 833 | - | local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") |
| 833 | + | |
| 834 | - | local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame") |
| 834 | + | SMASH.Transparency = SMASH.Transparency - 0.05 |
| 835 | - | local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame") |
| 835 | + | EF.Transparency = SMASH.Transparency |
| 836 | end | |
| 837 | - | local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1") |
| 837 | + | |
| 838 | - | local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Lift", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2") |
| 838 | + | |
| 839 | - | local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Cleave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") |
| 839 | + | SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0) |
| 840 | - | local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Lock n' load", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") |
| 840 | + | |
| 841 | - | local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Morning Star", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5") |
| 841 | + | GYRO.cframe = CF(RootPart.Position,SMASH.Position) |
| 842 | - | local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Deathbound", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6") |
| 842 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) |
| 843 | - | local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7") |
| 843 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 844 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 845 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 846 | - | --|| DAMAGE FUNCTIONS |
| 846 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 847 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 848 | until HOLD == true and SMASH.Transparency < 0.99 | |
| 849 | - | function StatLabel(CFRAME, TEXT, COLOR) |
| 849 | + | for i = 1, 25 do |
| 850 | - | local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) |
| 850 | + | |
| 851 | - | STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5))) |
| 851 | + | SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0) |
| 852 | - | local BODYGYRO = IT("BodyGyro", STATPART)
|
| 852 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) |
| 853 | - | game:GetService("Debris"):AddItem(STATPART ,5)
|
| 853 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 854 | - | local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
|
| 854 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 855 | - | BILLBOARDGUI.Adornee = STATPART |
| 855 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 856 | - | BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) |
| 856 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 857 | - | BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) |
| 857 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 858 | - | BILLBOARDGUI.AlwaysOnTop = false |
| 858 | + | |
| 859 | - | local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
|
| 859 | + | local TOCH = SMASH.Touched:Connect(function(hit) |
| 860 | - | TEXTLABEL.BackgroundTransparency = 1 |
| 860 | + | if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then |
| 861 | - | TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) |
| 861 | + | Shatter(hit) |
| 862 | - | TEXTLABEL.Text = TEXT |
| 862 | + | |
| 863 | - | TEXTLABEL.Font = SKILLFONT |
| 863 | + | |
| 864 | - | TEXTLABEL.FontSize="Size42" |
| 864 | + | local n0 = nil |
| 865 | - | TEXTLABEL.TextColor3 = COLOR |
| 865 | + | local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character) |
| 866 | - | TEXTLABEL.TextStrokeTransparency = 0 |
| 866 | + | if HITFLOOR ~= nil then |
| 867 | - | TEXTLABEL.TextScaled = true |
| 867 | + | if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then |
| 868 | - | TEXTLABEL.TextWrapped = true |
| 868 | + | if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
|
| 869 | - | coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) |
| 869 | + | if HITFLOOR.Parent.ClassName == "Model" then |
| 870 | - | for i = 1, 50 do |
| 870 | + | HITFLOOR.Parent:BreakJoints() |
| 871 | elseif HITFLOOR.Parent.Parent.ClassName == "Model" then | |
| 872 | - | STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) |
| 872 | + | HITFLOOR.Parent.Parent:BreakJoints() |
| 873 | - | TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50) |
| 873 | + | |
| 874 | - | TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency |
| 874 | + | |
| 875 | local POS = HITPOS | |
| 876 | - | THEPART.Parent = nil |
| 876 | + | n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent) |
| 877 | - | end),STATPART, TEXTLABEL) |
| 877 | + | |
| 878 | end | |
| 879 | killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter") | |
| 880 | SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0)) | |
| 881 | WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
| |
| 882 | for i = 1, 25 do | |
| 883 | Swait() | |
| 884 | - | function Kill(Char) |
| 884 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) |
| 885 | - | local NewCharacter = IT("Model",Effects)
|
| 885 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 886 | - | NewCharacter.Name = "Ow im ded ;-;" |
| 886 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 887 | - | for _, c in pairs(Char:GetDescendants()) do |
| 887 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 888 | - | if c:IsA("BasePart") and c.Transparency == 0 then
|
| 888 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 889 | - | if c.Parent == Char then |
| 889 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 890 | - | getbloody(c,5) |
| 890 | + | |
| 891 | coroutine.resume(coroutine.create(function() | |
| 892 | - | c:BreakJoints() |
| 892 | + | wait(0.2) |
| 893 | - | c.Material = "Glass" |
| 893 | + | TOCH:disconnect() |
| 894 | - | c.Color = C3(0.5,0,0) |
| 894 | + | wait(1.8) |
| 895 | - | c.CanCollide = true |
| 895 | + | for i = 1, 100 do |
| 896 | - | c.Transparency = 0.3 |
| 896 | + | |
| 897 | - | if c:FindFirstChildOfClass("SpecialMesh") then
|
| 897 | + | SMASH.Transparency = i/100 |
| 898 | - | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
|
| 898 | + | |
| 899 | for i = 1, 10 do | |
| 900 | - | if c.Name == "Head" then |
| 900 | + | |
| 901 | - | c:ClearAllChildren() |
| 901 | + | EF.Transparency = EF.Transparency + 0.1 |
| 902 | - | c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) |
| 902 | + | |
| 903 | SMASH:remove() | |
| 904 | - | if c.ClassName == "MeshPart" then |
| 904 | + | |
| 905 | - | c.TextureID = "" |
| 905 | + | |
| 906 | ATTACK = false | |
| 907 | - | if c:FindFirstChildOfClass("BodyPosition") then
|
| 907 | + | |
| 908 | - | c:FindFirstChildOfClass("BodyPosition"):remove()
|
| 908 | + | |
| 909 | ||
| 910 | --//=================================\\ | |
| 911 | --|| ASSIGN THINGS TO KEYS | |
| 912 | --\\=================================// | |
| 913 | - | c.Parent = NewCharacter |
| 913 | + | |
| 914 | - | c.Name = "DeadPart" |
| 914 | + | |
| 915 | - | c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 |
| 915 | + | HOLD = true |
| 916 | - | c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) |
| 916 | + | |
| 917 | end | |
| 918 | end | |
| 919 | - | Char:remove() |
| 919 | + | |
| 920 | - | Debris:AddItem(NewCharacter,5) |
| 920 | + | |
| 921 | HOLD = false | |
| 922 | end | |
| 923 | ||
| 924 | function KeyDown(Key) | |
| 925 | if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then | |
| 926 | KEYHOLD = true | |
| 927 | if Key == "z" and ATTACK == false then | |
| 928 | Cyber_Star() | |
| 929 | end | |
| 930 | ||
| 931 | if Key == "b" and ATTACK == false then | |
| 932 | Technobeam() | |
| 933 | - | Kill(CHILD) |
| 933 | + | |
| 934 | ||
| 935 | if Key == "c" and ATTACK == false then | |
| 936 | Technowarp() | |
| 937 | end | |
| 938 | ||
| 939 | if Key == "v" and ATTACK == false then | |
| 940 | CyberSmash() | |
| 941 | end | |
| 942 | ||
| 943 | if Key == "t" then | |
| 944 | - | function BulletDetection(FROM,TO,BRUTAL) |
| 944 | + | local TAUNT = CreateSound("132392118", Head, 10, 0.8)
|
| 945 | - | local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character) |
| 945 | + | TAUNT.TimePosition = 1.1 |
| 946 | end | |
| 947 | - | if AIMHIT ~= nil then |
| 947 | + | |
| 948 | - | if AIMHIT.Parent ~= Character then |
| 948 | + | |
| 949 | - | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
|
| 949 | + | |
| 950 | - | if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
|
| 950 | + | |
| 951 | if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then | |
| 952 | - | Kill(AIMHIT.Parent) |
| 952 | + | |
| 953 | end | |
| 954 | - | getbloody(AIMHIT,15) |
| 954 | + | |
| 955 | - | AIMHIT.Parent:BreakJoints() |
| 955 | + | |
| 956 | - | if AIMHIT.Name == "Head" then |
| 956 | + | |
| 957 | - | AIMHIT.Name = "HEADSHOT" |
| 957 | + | |
| 958 | - | AIMHIT:remove() |
| 958 | + | |
| 959 | Mouse.Button1Up:connect(function(NEWKEY) | |
| 960 | MouseUp(NEWKEY) | |
| 961 | - | else |
| 961 | + | |
| 962 | Mouse.KeyDown:connect(function(NEWKEY) | |
| 963 | - | Kill(AIMHIT.Parent.Parent) |
| 963 | + | |
| 964 | end) | |
| 965 | - | AIMHIT.Parent.Parent:BreakJoints() |
| 965 | + | |
| 966 | KeyUp(NEWKEY) | |
| 967 | end) | |
| 968 | ||
| 969 | --//=================================\\ | |
| 970 | --\\=================================// | |
| 971 | ||
| 972 | - | SpawnTrail(FROM,AIMPOS) |
| 972 | + | |
| 973 | - | return AIMHIT,AIMPOS,NORMAL |
| 973 | + | |
| 974 | if UNANCHOR == true then | |
| 975 | g = Character:GetChildren() | |
| 976 | for i = 1, #g do | |
| 977 | if g[i].ClassName == "Part" then | |
| 978 | g[i].Anchored = false | |
| 979 | end | |
| 980 | - | function Unload() |
| 980 | + | |
| 981 | end | |
| 982 | end | |
| 983 | ||
| 984 | - | local GYRO = IT("BodyGyro",RootPart)
|
| 984 | + | |
| 985 | - | GYRO.D = 175 |
| 985 | + | |
| 986 | - | GYRO.P = 20000 |
| 986 | + | |
| 987 | - | GYRO.MaxTorque = VT(0,40000,0) |
| 987 | + | |
| 988 | ||
| 989 | - | if COMBO == 1 then |
| 989 | + | |
| 990 | - | COMBO = 2 |
| 990 | + | |
| 991 | - | for i=0, 0.6, 0.1 / Animation_Speed do |
| 991 | + | |
| 992 | end | |
| 993 | - | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) |
| 993 | + | |
| 994 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) |
| 994 | + | |
| 995 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) |
| 995 | + | Humanoid.HipHeight = 2 |
| 996 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 996 | + | |
| 997 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 997 | + | |
| 998 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 998 | + | |
| 999 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 999 | + | |
| 1000 | Character.Parent = workspace | |
| 1001 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = LeftHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 1001 | + | Humanoid.Parent = Character |
| 1002 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 1002 | + | |
| 1003 | - | CreateSound(145080998, LeftHole, 7, 1, false) |
| 1003 | + | local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) |
| 1004 | - | BulletDetection(LeftHole.Position,Mouse.Hit.p,false) |
| 1004 | + | IDLEANIMATION:Play() |
| 1005 | - | for i=0, 0.2, 0.1 / Animation_Speed do |
| 1005 | + | |
| 1006 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1007 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed) |
| 1007 | + | |
| 1008 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed) |
| 1008 | + | HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character) |
| 1009 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1009 | + | local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) |
| 1010 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1010 | + | EyeWeld3.C1 = Clerp(EyeWeld3.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed) |
| 1011 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1011 | + | EyeWeld2.C1 = Clerp(EyeWeld2.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-SINE*2)), 1 / Animation_Speed) |
| 1012 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1012 | + | EyeWeld.C1 = Clerp(EyeWeld.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(SINE*2)), 1 / Animation_Speed) |
| 1013 | for LW = 1, #LEFTWINGS do | |
| 1014 | - | elseif COMBO == 2 then |
| 1014 | + | if LEFTWINGS[LW] ~= nil then |
| 1015 | - | COMBO = 1 |
| 1015 | + | LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 1016 | - | for i=0, 0.6, 0.1 / Animation_Speed do |
| 1016 | + | |
| 1017 | end | |
| 1018 | - | GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) |
| 1018 | + | for RW = 1, #RIGHTWINGS do |
| 1019 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed) |
| 1019 | + | if RIGHTWINGS[RW] ~= nil then |
| 1020 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed) |
| 1020 | + | RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 1021 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1021 | + | |
| 1022 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1022 | + | |
| 1023 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1023 | + | |
| 1024 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1024 | + | |
| 1025 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1026 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = RightHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 1026 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 1027 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 1027 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1028 | - | CreateSound(145080998, RightHole, 7, 1, false) |
| 1028 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1029 | - | BulletDetection(RightHole.Position,Mouse.Hit.p,false) |
| 1029 | + | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1030 | - | for i=0, 0.2, 0.1 / Animation_Speed do |
| 1030 | + | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1031 | elseif TORSOVELOCITY > 1 then | |
| 1032 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed) |
| 1032 | + | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 1033 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed) |
| 1033 | + | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-2.5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) |
| 1034 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1034 | + | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1035 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1035 | + | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 12), -1) * ANGLES(RAD(25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1036 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1036 | + | |
| 1037 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1037 | + | |
| 1038 | end | |
| 1039 | end | |
| 1040 | - | GYRO:remove() |
| 1040 | + | for _, c in pairs(Character:GetChildren()) do |
| 1041 | - | until KEYHOLD == false |
| 1041 | + | if c.ClassName == "Part" and c.Name ~= "Eye" then |
| 1042 | c.Material = "Neon" | |
| 1043 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1044 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1045 | - | function Psyo() |
| 1045 | + | |
| 1046 | - | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
|
| 1046 | + | if c ~= Head and c ~= RootPart and c:FindFirstChild("BoxEffect") == nil then
|
| 1047 | - | local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
|
| 1047 | + | local EF = Instance.new("SelectionBox",c)
|
| 1048 | - | local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
|
| 1048 | + | EF.Adornee = c |
| 1049 | - | if TORSO and HUM.Health > 0 then |
| 1049 | + | EF.Color = BrickColor.new("Really red")
|
| 1050 | - | ATTACK = true |
| 1050 | + | EF.LineThickness = 0.01 |
| 1051 | - | Rooted = false |
| 1051 | + | EF.Transparency = 0 |
| 1052 | - | local GYRO = IT("BodyGyro",RootPart)
|
| 1052 | + | EF.Name = "BoxEffect" |
| 1053 | - | GYRO.D = 275 |
| 1053 | + | |
| 1054 | - | GYRO.P = 20000 |
| 1054 | + | |
| 1055 | - | GYRO.MaxTorque = VT(0,40000,0) |
| 1055 | + | |
| 1056 | - | for i=0, 0.8, 0.1 / Animation_Speed do |
| 1056 | + | --[[if c:FindFirstChild("Dominus") == nil then
|
| 1057 | local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0))
| |
| 1058 | - | GYRO.cframe = CF(RootPart.Position,TORSO.Position) |
| 1058 | + | M.Name = "Dominus" |
| 1059 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1059 | + | end]]-- |
| 1060 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1060 | + | |
| 1061 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1061 | + | |
| 1062 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1062 | + | |
| 1063 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1063 | + | |
| 1064 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1064 | + | elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then |
| 1065 | - | end |
| 1065 | + | |
| 1066 | - | local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
|
| 1066 | + | |
| 1067 | - | MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
|
| 1067 | + | |
| 1068 | - | local grav = Instance.new("BodyPosition",TORSO)
|
| 1068 | + | if HITFLOOR ~= nil and MRANDOM(1,6) == 1 then |
| 1069 | - | grav.D = 1500 |
| 1069 | + | local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(5,15),0,0).p |
| 1070 | - | grav.P = 20000 |
| 1070 | + | local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character) |
| 1071 | - | grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) |
| 1071 | + | if BOXFLOOR ~= nil then |
| 1072 | - | grav.position = TORSO.Position+VT(0,15,0) |
| 1072 | + | WACKYEFFECT({EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,15,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(BOXPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 1073 | - | Debris:AddItem(grav,10) |
| 1073 | + | |
| 1074 | - | Debris:AddItem(MAGIC,10) |
| 1074 | + | |
| 1075 | - | CreateSound(429459101, Torso, 7, 1, false) |
| 1075 | + | |
| 1076 | - | CreateSound(429459101, TORSO, 7, 1, false) |
| 1076 | + | |
| 1077 | - | for i=0, 1, 0.1 / Animation_Speed do |
| 1077 | + | |
| 1078 | if Rooted == false then | |
| 1079 | - | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1079 | + | |
| 1080 | - | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1080 | + | |
| 1081 | - | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) |
| 1081 | + | |
| 1082 | - | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) |
| 1082 | + | |
| 1083 | - | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1083 | + | |
| 1084 | - | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) |
| 1084 | + | |
| 1085 | for _, c in pairs(workspace:GetChildren()) do | |
| 1086 | - | GYRO:remove() |
| 1086 | + | if c.ClassName == "Model" and c:FindFirstChild("Humanoid") and c ~= Character then
|
| 1087 | - | ATTACK = false |
| 1087 | + | |
| 1088 | - | Rooted = false |
| 1088 | + | |
| 1089 | script.Parent = WEAPONGUI | |
| 1090 | Humanoid.Name = "Monarch" | |
| 1091 | sick.Parent = Effects | |
| 1092 | - | function Cleave() |
| 1092 | + | sick.Pitch = 0.85 |
| 1093 | sick.Playing = true | |
| 1094 | for _, q in pairs(Head:GetChildren()) do | |
| 1095 | - | local TARGET = nil |
| 1095 | + | if q.ClassName == "Sound" and q.Name ~= "Audio" then |
| 1096 | - | local TORS = nil |
| 1096 | + | q:remove() |
| 1097 | end | |
| 1098 | - | GYRO.D = 175 |
| 1098 | + | |
| 1099 | - | GYRO.P = 20000 |
| 1099 | + | Humanoid.DisplayDistanceType = "None" |
| 1100 | - | GYRO.MaxTorque = VT(0,40000,0) |
| 1100 | + | |
| 1101 | ||
| 1102 | - | local RANGE = 5 |
| 1102 | + | |
| 1103 | - | CreateSound(541909867, Torso, 7, 1, false) |
| 1103 | + | |
| 1104 | - | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(12,0.5,12), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
|
| 1104 | + | |
| 1105 | ||
| 1106 | ||
| 1107 | - | RootPart.CFrame = RootPart.CFrame * CF(0,0,-2) |
| 1107 | + | |
| 1108 | ||
| 1109 | - | local CHILDREN = workspace:GetDescendants() |
| 1109 | + | |
| 1110 | - | for index, CHILD in pairs(CHILDREN) do |
| 1110 | + | |
| 1111 | - | if CHILD.ClassName == "Model" and CHILD ~= Character then |
| 1111 | + |