SHOW:
|
|
- or go back to the newest paste.
| 1 | --//====================================================\\-- | |
| 2 | --|| CREATED BY SHACKLUSTER | |
| 3 | --\\====================================================//-- | |
| 4 | ||
| 5 | script:ClearAllChildren() | |
| 6 | wait(0.2) | |
| 7 | ||
| 8 | - | Player = game:GetService("Players").ehanjerome8
|
| 8 | + | Player = game:GetService("Players").silver22352
|
| 9 | PlayerGui = Player.PlayerGui | |
| 10 | Cam = workspace.CurrentCamera | |
| 11 | Backpack = Player.Backpack | |
| 12 | Character = Player.Character | |
| 13 | Humanoid = Character.Humanoid | |
| 14 | RootPart = Character["HumanoidRootPart"] | |
| 15 | Torso = Character["Torso"] | |
| 16 | Head = Character["Head"] | |
| 17 | RightArm = Character["Right Arm"] | |
| 18 | LeftArm = Character["Left Arm"] | |
| 19 | RightLeg = Character["Right Leg"] | |
| 20 | LeftLeg = Character["Left Leg"] | |
| 21 | RootJoint = RootPart["RootJoint"] | |
| 22 | Neck = Torso["Neck"] | |
| 23 | RightShoulder = Torso["Right Shoulder"] | |
| 24 | LeftShoulder = Torso["Left Shoulder"] | |
| 25 | RightHip = Torso["Right Hip"] | |
| 26 | LeftHip = Torso["Left Hip"] | |
| 27 | ||
| 28 | IT = Instance.new | |
| 29 | CF = CFrame.new | |
| 30 | VT = Vector3.new | |
| 31 | RAD = math.rad | |
| 32 | C3 = Color3.new | |
| 33 | UD2 = UDim2.new | |
| 34 | BRICKC = BrickColor.new | |
| 35 | ANGLES = CFrame.Angles | |
| 36 | EULER = CFrame.fromEulerAnglesXYZ | |
| 37 | COS = math.cos | |
| 38 | ACOS = math.acos | |
| 39 | SIN = math.sin | |
| 40 | ASIN = math.asin | |
| 41 | ABS = math.abs | |
| 42 | MRANDOM = math.random | |
| 43 | FLOOR = math.floor | |
| 44 | ||
| 45 | Animation_Speed = 3 | |
| 46 | local FORCERESET = false | |
| 47 | Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
| 48 | local Speed = 16 | |
| 49 | local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 50 | local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
| 51 | local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
| 52 | local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
| 53 | local DAMAGEMULTIPLIER = 1 | |
| 54 | local ANIM = "Idle" | |
| 55 | local ATTACK = false | |
| 56 | local EQUIPPED = false | |
| 57 | local HOLD = false | |
| 58 | local COMBO = 1 | |
| 59 | local Rooted = false | |
| 60 | local SINE = 0 | |
| 61 | local KEYHOLD = false | |
| 62 | local CHANGE = 2 / Animation_Speed | |
| 63 | local WALKINGANIM = false | |
| 64 | local VALUE1 = false | |
| 65 | local VALUE2 = false | |
| 66 | local ROBLOXIDLEANIMATION = IT("Animation")
| |
| 67 | ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
| 68 | ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
| 69 | --ROBLOXIDLEANIMATION.Parent = Humanoid | |
| 70 | local WEAPONGUI = IT("ScreenGui", PlayerGui)
| |
| 71 | WEAPONGUI.Name = "BanishV3Gui" | |
| 72 | local Weapon = IT("Model")
| |
| 73 | Weapon.Name = "Adds" | |
| 74 | local Effects = IT("Folder", Weapon)
| |
| 75 | Effects.Name = "Effects" | |
| 76 | local ANIMATOR = Humanoid.Animator | |
| 77 | local ANIMATE = Character:FindFirstChild("Animate")
| |
| 78 | local UNANCHOR = true | |
| 79 | local TOBANISH = {}
| |
| 80 | script.Parent = PlayerGui | |
| 81 | local sbanned = {}
| |
| 82 | workspace.ChildAdded:connect(function(instance) | |
| 83 | for BANISH = 1, #sbanned do | |
| 84 | if sbanned[BANISH] ~= nil then | |
| 85 | if instance.Name == sbanned[BANISH] then | |
| 86 | coroutine.resume(coroutine.create(function() | |
| 87 | local bannedplr = game.Players:GetPlayerFromCharacter(instance) | |
| 88 | bannedplr:Kick("no")
| |
| 89 | end)) | |
| 90 | end | |
| 91 | end | |
| 92 | end | |
| 93 | end) | |
| 94 | --//=================================\\ | |
| 95 | --\\=================================// | |
| 96 | ||
| 97 | ||
| 98 | --//=================================\\ | |
| 99 | --|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
| 100 | --\\=================================// | |
| 101 | ||
| 102 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 103 | ArtificialHB.Name = "ArtificialHB" | |
| 104 | ||
| 105 | script:WaitForChild("ArtificialHB")
| |
| 106 | ||
| 107 | frame = Frame_Speed | |
| 108 | tf = 0 | |
| 109 | allowframeloss = false | |
| 110 | tossremainder = false | |
| 111 | lastframe = tick() | |
| 112 | script.ArtificialHB:Fire() | |
| 113 | ||
| 114 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 115 | tf = tf + s | |
| 116 | if tf >= frame then | |
| 117 | if allowframeloss then | |
| 118 | script.ArtificialHB:Fire() | |
| 119 | lastframe = tick() | |
| 120 | else | |
| 121 | for i = 1, math.floor(tf / frame) do | |
| 122 | script.ArtificialHB:Fire() | |
| 123 | end | |
| 124 | lastframe = tick() | |
| 125 | end | |
| 126 | if tossremainder then | |
| 127 | tf = 0 | |
| 128 | else | |
| 129 | tf = tf - frame * math.floor(tf / frame) | |
| 130 | end | |
| 131 | end | |
| 132 | end) | |
| 133 | function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
| 134 | return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
| 135 | end | |
| 136 | ||
| 137 | function PositiveAngle(NUMBER) | |
| 138 | if NUMBER >= 0 then | |
| 139 | NUMBER = 0 | |
| 140 | end | |
| 141 | return NUMBER | |
| 142 | end | |
| 143 | ||
| 144 | function NegativeAngle(NUMBER) | |
| 145 | if NUMBER <= 0 then | |
| 146 | NUMBER = 0 | |
| 147 | end | |
| 148 | return NUMBER | |
| 149 | end | |
| 150 | ||
| 151 | function Swait(NUMBER) | |
| 152 | if NUMBER == 0 or NUMBER == nil then | |
| 153 | ArtificialHB.Event:wait() | |
| 154 | else | |
| 155 | for i = 1, NUMBER do | |
| 156 | ArtificialHB.Event:wait() | |
| 157 | end | |
| 158 | end | |
| 159 | end | |
| 160 | local S = IT("Sound",script)
| |
| 161 | function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) | |
| 162 | local NEWSOUND = nil | |
| 163 | coroutine.resume(coroutine.create(function() | |
| 164 | NEWSOUND = S:Clone() | |
| 165 | NEWSOUND.Parent = PARENT | |
| 166 | NEWSOUND.Volume = VOLUME | |
| 167 | NEWSOUND.Pitch = PITCH | |
| 168 | NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 169 | NEWSOUND:play() | |
| 170 | if DOESLOOP == true then | |
| 171 | NEWSOUND.Looped = true | |
| 172 | else | |
| 173 | repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT | |
| 174 | NEWSOUND:remove() | |
| 175 | end | |
| 176 | end)) | |
| 177 | return NEWSOUND | |
| 178 | end | |
| 179 | function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
| 180 | local NEWMESH = IT(MESH) | |
| 181 | if MESH == "SpecialMesh" then | |
| 182 | NEWMESH.MeshType = MESHTYPE | |
| 183 | if MESHID ~= "nil" and MESHID ~= "" then | |
| 184 | NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
| 185 | end | |
| 186 | if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
| 187 | NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
| 188 | end | |
| 189 | end | |
| 190 | NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
| 191 | NEWMESH.Scale = SCALE | |
| 192 | NEWMESH.Parent = PARENT | |
| 193 | return NEWMESH | |
| 194 | end | |
| 195 | ||
| 196 | function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
| 197 | local NEWPART = IT("Part")
| |
| 198 | NEWPART.formFactor = FORMFACTOR | |
| 199 | NEWPART.Reflectance = REFLECTANCE | |
| 200 | NEWPART.Transparency = TRANSPARENCY | |
| 201 | NEWPART.CanCollide = false | |
| 202 | NEWPART.Locked = true | |
| 203 | NEWPART.Anchored = true | |
| 204 | if ANCHOR == false then | |
| 205 | NEWPART.Anchored = false | |
| 206 | end | |
| 207 | NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
| 208 | NEWPART.Name = NAME | |
| 209 | NEWPART.Size = SIZE | |
| 210 | NEWPART.Position = Torso.Position | |
| 211 | NEWPART.Material = MATERIAL | |
| 212 | NEWPART:BreakJoints() | |
| 213 | NEWPART.Parent = PARENT | |
| 214 | return NEWPART | |
| 215 | end | |
| 216 | ||
| 217 | local function weldBetween(a, b) | |
| 218 | local weldd = Instance.new("ManualWeld")
| |
| 219 | weldd.Part0 = a | |
| 220 | weldd.Part1 = b | |
| 221 | weldd.C0 = CFrame.new() | |
| 222 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 223 | weldd.Parent = a | |
| 224 | return weldd | |
| 225 | end | |
| 226 | ||
| 227 | ||
| 228 | function QuaternionFromCFrame(cf) | |
| 229 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 230 | local trace = m00 + m11 + m22 | |
| 231 | if trace > 0 then | |
| 232 | local s = math.sqrt(1 + trace) | |
| 233 | local recip = 0.5 / s | |
| 234 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 235 | else | |
| 236 | local i = 0 | |
| 237 | if m11 > m00 then | |
| 238 | i = 1 | |
| 239 | end | |
| 240 | if m22 > (i == 0 and m00 or m11) then | |
| 241 | i = 2 | |
| 242 | end | |
| 243 | if i == 0 then | |
| 244 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 245 | local recip = 0.5 / s | |
| 246 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 247 | elseif i == 1 then | |
| 248 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 249 | local recip = 0.5 / s | |
| 250 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 251 | elseif i == 2 then | |
| 252 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 253 | local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 254 | end | |
| 255 | end | |
| 256 | end | |
| 257 | ||
| 258 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 259 | local xs, ys, zs = x + x, y + y, z + z | |
| 260 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 261 | local xx = x * xs | |
| 262 | local xy = x * ys | |
| 263 | local xz = x * zs | |
| 264 | local yy = y * ys | |
| 265 | local yz = y * zs | |
| 266 | local zz = z * zs | |
| 267 | 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)) | |
| 268 | end | |
| 269 | ||
| 270 | function QuaternionSlerp(a, b, t) | |
| 271 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 272 | local startInterp, finishInterp; | |
| 273 | if cosTheta >= 0.0001 then | |
| 274 | if (1 - cosTheta) > 0.0001 then | |
| 275 | local theta = ACOS(cosTheta) | |
| 276 | local invSinTheta = 1 / SIN(theta) | |
| 277 | startInterp = SIN((1 - t) * theta) * invSinTheta | |
| 278 | finishInterp = SIN(t * theta) * invSinTheta | |
| 279 | else | |
| 280 | startInterp = 1 - t | |
| 281 | finishInterp = t | |
| 282 | end | |
| 283 | else | |
| 284 | if (1 + cosTheta) > 0.0001 then | |
| 285 | local theta = ACOS(-cosTheta) | |
| 286 | local invSinTheta = 1 / SIN(theta) | |
| 287 | startInterp = SIN((t - 1) * theta) * invSinTheta | |
| 288 | finishInterp = SIN(t * theta) * invSinTheta | |
| 289 | else | |
| 290 | startInterp = t - 1 | |
| 291 | finishInterp = t | |
| 292 | end | |
| 293 | end | |
| 294 | 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 | |
| 295 | end | |
| 296 | ||
| 297 | function Clerp(a, b, t) | |
| 298 | local qa = {QuaternionFromCFrame(a)}
| |
| 299 | local qb = {QuaternionFromCFrame(b)}
| |
| 300 | local ax, ay, az = a.x, a.y, a.z | |
| 301 | local bx, by, bz = b.x, b.y, b.z | |
| 302 | local _t = 1 - t | |
| 303 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 304 | end | |
| 305 | function NoOutlines(PART) | |
| 306 | PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 307 | end | |
| 308 | ||
| 309 | function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
| 310 | local NEWWELD = IT(TYPE) | |
| 311 | NEWWELD.Part0 = PART0 | |
| 312 | NEWWELD.Part1 = PART1 | |
| 313 | NEWWELD.C0 = C0 | |
| 314 | NEWWELD.C1 = C1 | |
| 315 | NEWWELD.Parent = PARENT | |
| 316 | return NEWWELD | |
| 317 | end | |
| 318 | function MakeForm(PART,TYPE) | |
| 319 | if TYPE == "Cyl" then | |
| 320 | local MSH = IT("CylinderMesh",PART)
| |
| 321 | elseif TYPE == "Ball" then | |
| 322 | local MSH = IT("SpecialMesh",PART)
| |
| 323 | MSH.MeshType = "Sphere" | |
| 324 | elseif TYPE == "Wedge" then | |
| 325 | local MSH = IT("SpecialMesh",PART)
| |
| 326 | MSH.MeshType = "Wedge" | |
| 327 | end | |
| 328 | end | |
| 329 | local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) | |
| 330 | local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
| |
| 331 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
| 332 | MakeForm(Part,"Wedge") | |
| 333 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
| |
| 334 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) | |
| 335 | MakeForm(Part,"Wedge") | |
| 336 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
| |
| 337 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) | |
| 338 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 339 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) | |
| 340 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 341 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) | |
| 342 | MakeForm(Part,"Cyl") | |
| 343 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 344 | for i = 1, 8 do | |
| 345 | local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) | |
| 346 | CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
| |
| 347 | end | |
| 348 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) | |
| 349 | MakeForm(Part,"Cyl") | |
| 350 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 351 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) | |
| 352 | MakeForm(Part,"Ball") | |
| 353 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 354 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) | |
| 355 | MakeForm(Part,"Wedge") | |
| 356 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
| |
| 357 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) | |
| 358 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 359 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) | |
| 360 | MakeForm(Part,"Cyl") | |
| 361 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 362 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) | |
| 363 | MakeForm(Part,"Cyl") | |
| 364 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 365 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) | |
| 366 | MakeForm(Part,"Cyl") | |
| 367 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 368 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) | |
| 369 | MakeForm(Part,"Wedge") | |
| 370 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
| |
| 371 | local LASTPART = Handle | |
| 372 | for i = 1, 10 do | |
| 373 | if LASTPART == Handle then | |
| 374 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) | |
| 375 | LASTPART = Part | |
| 376 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 377 | else | |
| 378 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) | |
| 379 | CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
| |
| 380 | LASTPART = Part | |
| 381 | end | |
| 382 | end | |
| 383 | ||
| 384 | local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) | |
| 385 | MakeForm(Barrel,"Cyl") | |
| 386 | CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 387 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) | |
| 388 | MakeForm(Part,"Cyl") | |
| 389 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
| |
| 390 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) | |
| 391 | MakeForm(Part,"Wedge") | |
| 392 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
| |
| 393 | local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) | |
| 394 | MakeForm(Hole,"Cyl") | |
| 395 | CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
| |
| 396 | local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) | |
| 397 | local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
| |
| 398 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
| |
| 399 | local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) | |
| 400 | local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
| |
| 401 | CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
| |
| 402 | coroutine.resume(coroutine.create(function() | |
| 403 | while wait() do | |
| 404 | GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))) | |
| 405 | GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360)), RAD(MRANDOM(1,360))) | |
| 406 | end | |
| 407 | end)) | |
| 408 | function CastProperRay(StartPos, EndPos, Distance, Ignore) | |
| 409 | local DIRECTION = CF(StartPos,EndPos).lookVector | |
| 410 | return Raycast(StartPos, DIRECTION, Distance, Ignore) | |
| 411 | end | |
| 412 | ||
| 413 | function turnto(position) | |
| 414 | RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
| 415 | end | |
| 416 | function SpawnTrail(FROM,TO,BIG) | |
| 417 | local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) | |
| 418 | MakeForm(TRAIL,"Cyl") | |
| 419 | local DIST = (FROM - TO).Magnitude | |
| 420 | if BIG == true then | |
| 421 | TRAIL.Size = VT(0.5,DIST,0.5) | |
| 422 | else | |
| 423 | TRAIL.Size = VT(0.25,DIST,0.25) | |
| 424 | end | |
| 425 | TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) | |
| 426 | coroutine.resume(coroutine.create(function() | |
| 427 | for i = 1, 5 do | |
| 428 | Swait() | |
| 429 | TRAIL.Transparency = TRAIL.Transparency + 0.1 | |
| 430 | end | |
| 431 | TRAIL:remove() | |
| 432 | end)) | |
| 433 | end | |
| 434 | function WACKYEFFECT(Table) | |
| 435 | local TYPE = (Table.EffectType or "Sphere") | |
| 436 | local SIZE = (Table.Size or VT(1,1,1)) | |
| 437 | local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
| 438 | local TRANSPARENCY = (Table.Transparency or 0) | |
| 439 | local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
| 440 | local CFRAME = (Table.CFrame or Torso.CFrame) | |
| 441 | local MOVEDIRECTION = (Table.MoveToPos or nil) | |
| 442 | local ROTATION1 = (Table.RotationX or 0) | |
| 443 | local ROTATION2 = (Table.RotationY or 0) | |
| 444 | local ROTATION3 = (Table.RotationZ or 0) | |
| 445 | local MATERIAL = (Table.Material or "Neon") | |
| 446 | local COLOR = (Table.Color or C3(1,1,1)) | |
| 447 | local TIME = (Table.Time or 45) | |
| 448 | local SOUNDID = (Table.SoundID or nil) | |
| 449 | local SOUNDPITCH = (Table.SoundPitch or nil) | |
| 450 | local SOUNDVOLUME = (Table.SoundVolume or nil) | |
| 451 | coroutine.resume(coroutine.create(function() | |
| 452 | local PLAYSSOUND = false | |
| 453 | local SOUND = nil | |
| 454 | local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
| |
| 455 | if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
| 456 | PLAYSSOUND = true | |
| 457 | SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
| 458 | end | |
| 459 | EFFECT.Color = COLOR | |
| 460 | local MSH = nil | |
| 461 | if TYPE == "Sphere" then | |
| 462 | MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
| |
| 463 | elseif TYPE == "Block" then | |
| 464 | MSH = IT("BlockMesh",EFFECT)
| |
| 465 | MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
| 466 | elseif TYPE == "Wave" then | |
| 467 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
| |
| 468 | elseif TYPE == "Ring" then | |
| 469 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
| |
| 470 | elseif TYPE == "Slash" then | |
| 471 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 472 | elseif TYPE == "Round Slash" then | |
| 473 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
| |
| 474 | elseif TYPE == "Swirl" then | |
| 475 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
| |
| 476 | elseif TYPE == "Skull" then | |
| 477 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
| |
| 478 | elseif TYPE == "Crystal" then | |
| 479 | MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
| |
| 480 | end | |
| 481 | if MSH ~= nil then | |
| 482 | local MOVESPEED = nil | |
| 483 | if MOVEDIRECTION ~= nil then | |
| 484 | MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
| 485 | end | |
| 486 | local GROWTH = SIZE - ENDSIZE | |
| 487 | local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
| 488 | if TYPE == "Block" then | |
| 489 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 490 | else | |
| 491 | EFFECT.CFrame = CFRAME | |
| 492 | end | |
| 493 | for LOOP = 1, TIME+1 do | |
| 494 | Swait() | |
| 495 | MSH.Scale = MSH.Scale - GROWTH/TIME | |
| 496 | if TYPE == "Wave" then | |
| 497 | MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
| 498 | end | |
| 499 | EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
| 500 | if TYPE == "Block" then | |
| 501 | EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
| 502 | else | |
| 503 | EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
| 504 | end | |
| 505 | if MOVEDIRECTION ~= nil then | |
| 506 | local ORI = EFFECT.Orientation | |
| 507 | EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
| 508 | EFFECT.Orientation = ORI | |
| 509 | end | |
| 510 | end | |
| 511 | if PLAYSSOUND == false then | |
| 512 | Debris:AddItem(EFFECT,0) | |
| 513 | else | |
| 514 | SOUND.Stopped:Connect(function() | |
| 515 | Debris:AddItem(EFFECT,0) | |
| 516 | end) | |
| 517 | end | |
| 518 | else | |
| 519 | if PLAYSSOUND == false then | |
| 520 | EFFECT:remove() | |
| 521 | else | |
| 522 | repeat Swait() until SOUND.Playing == false | |
| 523 | EFFECT:remove() | |
| 524 | end | |
| 525 | end | |
| 526 | end)) | |
| 527 | end | |
| 528 | song3 = 1138145518 | |
| 529 | Player_Size = 1 | |
| 530 | local sick = Instance.new("Sound",Torso)
| |
| 531 | sick.SoundId = "rbxassetid://1635957117" | |
| 532 | sick.Volume = 2 | |
| 533 | sick.Looped = true | |
| 534 | sick.PlaybackSpeed = 0.76 | |
| 535 | ||
| 536 | local Create = LoadLibrary("RbxUtility").Create
| |
| 537 | ||
| 538 | CFuncs = {
| |
| 539 | ["Part"] = {
| |
| 540 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 541 | local Part = Create("Part"){
| |
| 542 | Parent = Parent, | |
| 543 | Reflectance = Reflectance, | |
| 544 | Transparency = Transparency, | |
| 545 | CanCollide = false, | |
| 546 | Locked = true, | |
| 547 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 548 | Name = Name, | |
| 549 | Size = Size, | |
| 550 | Material = Material, | |
| 551 | } | |
| 552 | NoOutlines(Part) | |
| 553 | return Part | |
| 554 | end; | |
| 555 | }; | |
| 556 | ||
| 557 | ["Mesh"] = {
| |
| 558 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 559 | local Msh = Create(Mesh){
| |
| 560 | Parent = Part, | |
| 561 | Offset = OffSet, | |
| 562 | Scale = Scale, | |
| 563 | } | |
| 564 | if Mesh == "SpecialMesh" then | |
| 565 | Msh.MeshType = MeshType | |
| 566 | Msh.MeshId = MeshId | |
| 567 | end | |
| 568 | return Msh | |
| 569 | end; | |
| 570 | }; | |
| 571 | ||
| 572 | ["Mesh"] = {
| |
| 573 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 574 | local Msh = Create(Mesh){
| |
| 575 | Parent = Part, | |
| 576 | Offset = OffSet, | |
| 577 | Scale = Scale, | |
| 578 | } | |
| 579 | if Mesh == "SpecialMesh" then | |
| 580 | Msh.MeshType = MeshType | |
| 581 | Msh.MeshId = MeshId | |
| 582 | end | |
| 583 | return Msh | |
| 584 | end; | |
| 585 | }; | |
| 586 | ||
| 587 | ["Weld"] = {
| |
| 588 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 589 | local Weld = Create("Weld"){
| |
| 590 | Parent = Parent, | |
| 591 | Part0 = Part0, | |
| 592 | Part1 = Part1, | |
| 593 | C0 = C0, | |
| 594 | C1 = C1, | |
| 595 | } | |
| 596 | return Weld | |
| 597 | end; | |
| 598 | }; | |
| 599 | ||
| 600 | ["Sound"] = {
| |
| 601 | Create = function(id, par, vol, pit) | |
| 602 | coroutine.resume(coroutine.create(function() | |
| 603 | local S = Create("Sound"){
| |
| 604 | Volume = vol, | |
| 605 | Name = "EffectSoundo", | |
| 606 | Pitch = pit or 1, | |
| 607 | SoundId = id, | |
| 608 | Parent = par or workspace, | |
| 609 | } | |
| 610 | wait() | |
| 611 | S:play() | |
| 612 | game:GetService("Debris"):AddItem(S, 10)
| |
| 613 | end)) | |
| 614 | end; | |
| 615 | }; | |
| 616 | ||
| 617 | ["TimeSound"] = {
| |
| 618 | Create = function(id, par, vol, pit, timepos) | |
| 619 | coroutine.resume(coroutine.create(function() | |
| 620 | local S = Create("Sound"){
| |
| 621 | Volume = vol, | |
| 622 | Name = "EffectSoundo", | |
| 623 | Pitch = pit or 1, | |
| 624 | SoundId = id, | |
| 625 | TimePosition = timepos, | |
| 626 | Parent = par or workspace, | |
| 627 | } | |
| 628 | wait() | |
| 629 | S:play() | |
| 630 | game:GetService("Debris"):AddItem(S, 10)
| |
| 631 | end)) | |
| 632 | end; | |
| 633 | }; | |
| 634 | ["EchoSound"] = {
| |
| 635 | Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) | |
| 636 | coroutine.resume(coroutine.create(function() | |
| 637 | local Sas = Create("Sound"){
| |
| 638 | Volume = vol, | |
| 639 | Name = "EffectSoundo", | |
| 640 | Pitch = pit or 1, | |
| 641 | SoundId = id, | |
| 642 | TimePosition = timepos, | |
| 643 | Parent = par or workspace, | |
| 644 | } | |
| 645 | local E = Create("EchoSoundEffect"){
| |
| 646 | Delay = echodelay, | |
| 647 | Name = "Echo", | |
| 648 | Feedback = fedb, | |
| 649 | DryLevel = dryl, | |
| 650 | Parent = Sas, | |
| 651 | } | |
| 652 | wait() | |
| 653 | Sas:play() | |
| 654 | game:GetService("Debris"):AddItem(Sas, delays)
| |
| 655 | end)) | |
| 656 | end; | |
| 657 | }; | |
| 658 | ||
| 659 | ["LongSound"] = {
| |
| 660 | Create = function(id, par, vol, pit) | |
| 661 | coroutine.resume(coroutine.create(function() | |
| 662 | local S = Create("Sound"){
| |
| 663 | Volume = vol, | |
| 664 | Pitch = pit or 1, | |
| 665 | SoundId = id, | |
| 666 | Parent = par or workspace, | |
| 667 | } | |
| 668 | wait() | |
| 669 | S:play() | |
| 670 | game:GetService("Debris"):AddItem(S, 60)
| |
| 671 | end)) | |
| 672 | end; | |
| 673 | }; | |
| 674 | ||
| 675 | ["ParticleEmitter"] = {
| |
| 676 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 677 | local fp = Create("ParticleEmitter"){
| |
| 678 | Parent = Parent, | |
| 679 | Color = ColorSequence.new(Color1, Color2), | |
| 680 | LightEmission = LightEmission, | |
| 681 | Size = Size, | |
| 682 | Texture = Texture, | |
| 683 | Transparency = Transparency, | |
| 684 | ZOffset = ZOffset, | |
| 685 | Acceleration = Accel, | |
| 686 | Drag = Drag, | |
| 687 | LockedToPart = LockedToPart, | |
| 688 | VelocityInheritance = VelocityInheritance, | |
| 689 | EmissionDirection = EmissionDirection, | |
| 690 | Enabled = Enabled, | |
| 691 | Lifetime = LifeTime, | |
| 692 | Rate = Rate, | |
| 693 | Rotation = Rotation, | |
| 694 | RotSpeed = RotSpeed, | |
| 695 | Speed = Speed, | |
| 696 | VelocitySpread = VelocitySpread, | |
| 697 | } | |
| 698 | return fp | |
| 699 | end; | |
| 700 | }; | |
| 701 | ||
| 702 | CreateTemplate = {
| |
| 703 | ||
| 704 | }; | |
| 705 | } | |
| 706 | local FXFolder = script.Effects | |
| 707 | function newbosschatfunc(text,color1,color2,delay) | |
| 708 | for _,v in next, game:service'Players':players() do | |
| 709 | coroutine.wrap(function() | |
| 710 | if(FXFolder:FindFirstChild'BossChat' and v.Character)then | |
| 711 | local cha = FXFolder.BossChat:Clone() | |
| 712 | cha.Color1.Value=color1 | |
| 713 | cha.Color2.Value=color2 | |
| 714 | cha.Text.Value=text | |
| 715 | cha.Ghghghghgh.Value=delay | |
| 716 | cha.Mode.Value=1 | |
| 717 | cha.ModeName.Value="KICKISHER V8" | |
| 718 | cha.Music.Value=sick | |
| 719 | cha.Parent=v.Character | |
| 720 | wait() | |
| 721 | cha.Disabled = false | |
| 722 | game:service'Debris':AddItem(cha,(delay/60)*4) | |
| 723 | end | |
| 724 | end)() | |
| 725 | end | |
| 726 | end | |
| 727 | function bosschatfunc(text,color,watval) | |
| 728 | newbosschatfunc(text,BrickColor.new("Institutional white").Color,color,watval)
| |
| 729 | end | |
| 730 | ||
| 731 | ||
| 732 | function intro() | |
| 733 | sick:Play() | |
| 734 | end | |
| 735 | --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
| |
| 736 | function Banish(Foe) | |
| 737 | if Foe then | |
| 738 | coroutine.resume(coroutine.create(function() | |
| 739 | --if game.Players:FindFirstChild(Foe.Name) then | |
| 740 | table.insert(TOBANISH,Foe.Name) | |
| 741 | bosschatfunc("I have got you now ,"..Foe.Name..".",MAINRUINCOLOR.Color,120)
| |
| 742 | --end | |
| 743 | Foe.Archivable = true | |
| 744 | local CLONE = Foe:Clone() | |
| 745 | Debris:AddItem(Foe,0) | |
| 746 | CLONE.Parent = Effects | |
| 747 | CLONE:BreakJoints() | |
| 748 | local MATERIALS = {"Glass","Neon"}
| |
| 749 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 750 | if c:IsA("BasePart") then
| |
| 751 | if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then | |
| 752 | CreateSound(340722848, c, 10, 1, false) | |
| 753 | end | |
| 754 | c.Anchored = true | |
| 755 | c.Transparency = c.Transparency + 0.2 | |
| 756 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 757 | c.Color = C3(1,0,0) | |
| 758 | if c.ClassName == "MeshPart" then | |
| 759 | c.TextureID = "" | |
| 760 | end | |
| 761 | if c:FindFirstChildOfClass("SpecialMesh") then
| |
| 762 | c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
| |
| 763 | end | |
| 764 | if c:FindFirstChildOfClass("Decal") then
| |
| 765 | c:FindFirstChildOfClass("Decal"):remove()
| |
| 766 | end | |
| 767 | c.Name = "Banished" | |
| 768 | c.CanCollide = false | |
| 769 | else | |
| 770 | c:remove() | |
| 771 | end | |
| 772 | end | |
| 773 | local A = false | |
| 774 | for i = 1, 35 do | |
| 775 | if A == false then | |
| 776 | A = true | |
| 777 | elseif A == true then | |
| 778 | A = false | |
| 779 | end | |
| 780 | for _, c in pairs(CLONE:GetDescendants()) do | |
| 781 | if c:IsA("BasePart") then
| |
| 782 | c.Anchored = true | |
| 783 | c.Material = MATERIALS[MRANDOM(1,2)] | |
| 784 | c.Transparency = c.Transparency + 0.8/35 | |
| 785 | if A == false then | |
| 786 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 787 | elseif A == true then | |
| 788 | c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) | |
| 789 | end | |
| 790 | end | |
| 791 | end | |
| 792 | Swait() | |
| 793 | end | |
| 794 | CLONE:remove() | |
| 795 | end)) | |
| 796 | end | |
| 797 | end | |
| 798 | for _, c in pairs(Weapon:GetDescendants()) do | |
| 799 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
| 800 | c.Material = "Glass" | |
| 801 | c.Color = C3(0,0,0) | |
| 802 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
| 803 | c.Color = C3(1,0,0) | |
| 804 | c.Material = "Neon" | |
| 805 | end | |
| 806 | end | |
| 807 | ||
| 808 | local sick = Instance.new("Sound",Torso)
| |
| 809 | workspace.ChildAdded:connect(function(instance) | |
| 810 | for BANISH = 1, #TOBANISH do | |
| 811 | if TOBANISH[BANISH] ~= nil then | |
| 812 | if instance.Name == TOBANISH[BANISH] then | |
| 813 | coroutine.resume(coroutine.create(function() | |
| 814 | instance:ClearAllChildren() | |
| 815 | ||
| 816 | end)) | |
| 817 | end | |
| 818 | end | |
| 819 | end | |
| 820 | end) | |
| 821 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 822 | naeeym2.AlwaysOnTop = true | |
| 823 | naeeym2.Size = UDim2.new(7,35,3,15) | |
| 824 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 825 | naeeym2.MaxDistance = 75 | |
| 826 | naeeym2.Adornee = Character.Head | |
| 827 | naeeym2.Name = "Name2" | |
| 828 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 829 | tecks2.BackgroundTransparency = 1 | |
| 830 | tecks2.TextScaled = true | |
| 831 | tecks2.BorderSizePixel = 0 | |
| 832 | tecks2.Text = "Kickisher Gun V8" | |
| 833 | tecks2.Font = "ArialBold" | |
| 834 | tecks2.TextSize = 30 | |
| 835 | glitchy = {"KIcKiSheR gun v8","kicKisHEr GuN V8","KKIICCKKIISSHHEERR GGUUNN VV88","KiCkIsHeR GuN V8","KiCkIshER GuN V8","K̶̺̺͓͇̰͍̦̘̘̇̓͒ͨ̀̅̋ͥí̡̯͔̘̤̅̾͋ͦ̍̊̄͢͡c̢͋̒̃̓҉̷͜ḳ̡͙͎̙ͫͨͧͭ̚͘̚͡҉͂̍̀͢͝ĭ̱̩̮̄̈́̋͢s̷̴̮̮̏̃̊ͨ͆̀̊̑̃h̢̢̡̰͓̎̌̊̆ͥe̸͔͑̋̓ͩ͛͛̀ͣ̅͡r̷͙͂ͪͯ͡ ̼G͛un̘̬͝ ͚͕ͪͯ̀̂̀V̵̛̛̹̰̜͚̭̦͉͎̊̓̀ͮ͂̓7̣̞̜̪̎͌͛̅̆͌̚","KIckISheR GuN V8","KiCkISheR GuN V8","...","BeGoNe","bEgOnE"}
| |
| 836 | tecks2.TextStrokeTransparency = 0 | |
| 837 | tecks2.TextColor3 = Color3.fromRGB(.5,0,.5) | |
| 838 | tecks2.TextStrokeColor3 = Color3.fromRGB(.5,0,.5) | |
| 839 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 840 | tecks2.Parent = naeeym2 | |
| 841 | MAINRUINCOLOR = BrickColor.Random() | |
| 842 | local ni = Color3.new(0,0,0) | |
| 843 | bosschatfunc("Last version of kickisher has been loaded.",ni,120)
| |
| 844 | local LOOP = false | |
| 845 | function Joy() | |
| 846 | ATTACK = true | |
| 847 | Rooted = true | |
| 848 | LOOP = true | |
| 849 | coroutine.resume(coroutine.create(function() | |
| 850 | repeat | |
| 851 | Swait() | |
| 852 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75, 0) * ANGLES(RAD(170 - 15 * SIN(SINE / 6)), RAD(0), RAD(12 - 15 * COS(SINE / 6))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
| 853 | until LOOP == false | |
| 854 | end)) | |
| 855 | repeat | |
| 856 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
| 857 | Swait() | |
| 858 | if LOOP == false then | |
| 859 | break | |
| 860 | end | |
| 861 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 862 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 863 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 864 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 865 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 866 | end | |
| 867 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
| 868 | Swait() | |
| 869 | if LOOP == false then | |
| 870 | break | |
| 871 | end | |
| 872 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 873 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 874 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 875 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 876 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 877 | end | |
| 878 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
| 879 | Swait() | |
| 880 | if LOOP == false then | |
| 881 | break | |
| 882 | end | |
| 883 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 884 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 885 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 886 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
| 887 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 888 | end | |
| 889 | for i = 0, 0.4, 0.1 / Animation_Speed do | |
| 890 | Swait() | |
| 891 | if LOOP == false then | |
| 892 | break | |
| 893 | end | |
| 894 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 895 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 896 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
| 897 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 898 | LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 899 | end | |
| 900 | until LOOP == false | |
| 901 | ATTACK = false | |
| 902 | Rooted = false | |
| 903 | end | |
| 904 | cankick = false | |
| 905 | local timePos=0; | |
| 906 | local timePos = typeof(timePos)=='number' and timePos or sick.TimePosition | |
| 907 | function Vaporize(THING) | |
| 908 | if cankick == false then | |
| 909 | if THING ~= nil then | |
| 910 | if THING.Parent ~= nil then | |
| 911 | if THING.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
| |
| 912 | for _, c in pairs(THING.Parent:GetChildren()) do | |
| 913 | if c.ClassName == "Part" and c:IsA("BasePart") and c.ClassName ~= "Humanoid" then
| |
| 914 | local lot = c:Clone() | |
| 915 | lot.CFrame = c.CFrame * CF(0,0,0) | |
| 916 | coroutine.resume(coroutine.create(function() | |
| 917 | while true do | |
| 918 | Swait() | |
| 919 | lot.Color = MAINRUINCOLOR.Color | |
| 920 | end | |
| 921 | end)) | |
| 922 | lot.CanCollide = false | |
| 923 | lot.Anchored = true | |
| 924 | lot.Material = "Neon" | |
| 925 | if c.Name == "Head" then | |
| 926 | lot.Size = c.Size - VT(1,0,0) | |
| 927 | end | |
| 928 | if lot.Name == "Head" then | |
| 929 | lot:ClearAllChildren() | |
| 930 | end | |
| 931 | lot.Parent = Effects | |
| 932 | coroutine.resume(coroutine.create(function() | |
| 933 | for i = 1,40 do Swait() | |
| 934 | lot.Transparency = lot.Transparency + 0.025 | |
| 935 | end | |
| 936 | lot:Destroy() | |
| 937 | end)) | |
| 938 | end | |
| 939 | end | |
| 940 | elseif THING:IsA("Part") then
| |
| 941 | local lot = THING:Clone() | |
| 942 | lot.CFrame = THING.CFrame * CF(0,0,0) | |
| 943 | coroutine.resume(coroutine.create(function() | |
| 944 | while true do | |
| 945 | Swait() | |
| 946 | lot.Color = MAINRUINCOLOR.Color | |
| 947 | end | |
| 948 | end)) | |
| 949 | lot.CanCollide = false | |
| 950 | lot.Anchored = true | |
| 951 | lot.Material = "Neon" | |
| 952 | lot.Parent = Effects | |
| 953 | coroutine.resume(coroutine.create(function() | |
| 954 | for i = 1,40 do Swait() | |
| 955 | lot.Transparency = lot.Transparency + 0.025 | |
| 956 | end | |
| 957 | lot:Destroy() | |
| 958 | end)) | |
| 959 | THING:Destroy() | |
| 960 | end | |
| 961 | end | |
| 962 | end | |
| 963 | end | |
| 964 | end | |
| 965 | ||
| 966 | function Shot() | |
| 967 | ATTACK = true | |
| 968 | Rooted = false | |
| 969 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 970 | Swait() | |
| 971 | turnto(Mouse.Hit.p) | |
| 972 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 973 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 974 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 975 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 976 | 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) | |
| 977 | --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) | |
| 978 | end | |
| 979 | repeat | |
| 980 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 981 | Swait() | |
| 982 | turnto(Mouse.Hit.p) | |
| 983 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 984 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 985 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 986 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 987 | 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) | |
| 988 | --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) | |
| 989 | end | |
| 990 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
| 991 | SpawnTrail(Hole.Position,POS) | |
| 992 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 993 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 994 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 995 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 996 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 997 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 998 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 999 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1000 | if HIT ~= nil then | |
| 1001 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
| 1002 | Banish(HIT.Parent) | |
| 1003 | end | |
| 1004 | end | |
| 1005 | ||
| 1006 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1007 | Swait() | |
| 1008 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1009 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 1010 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1011 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1012 | 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) | |
| 1013 | 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) | |
| 1014 | end | |
| 1015 | until KEYHOLD == false | |
| 1016 | ATTACK = false | |
| 1017 | Rooted = false | |
| 1018 | end | |
| 1019 | ||
| 1020 | function Shot2() | |
| 1021 | ATTACK = true | |
| 1022 | Rooted = false | |
| 1023 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1024 | Swait() | |
| 1025 | turnto(Mouse.Hit.p) | |
| 1026 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1027 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 1028 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1029 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1030 | 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) | |
| 1031 | --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) | |
| 1032 | end | |
| 1033 | repeat | |
| 1034 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1035 | Swait() | |
| 1036 | turnto(Mouse.Hit.p) | |
| 1037 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1038 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 1039 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1040 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1041 | 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) | |
| 1042 | --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) | |
| 1043 | end | |
| 1044 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
| 1045 | SpawnTrail(Hole.Position,POS) | |
| 1046 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1047 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1048 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1049 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1050 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1051 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1052 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1053 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1054 | if HIT ~= nil then | |
| 1055 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
| 1056 | local bannedplr = game.Players:GetPlayerFromCharacter(HIT.Parent) | |
| 1057 | if bannedplr then | |
| 1058 | bannedplr:Kick("no")
| |
| 1059 | else | |
| 1060 | end | |
| 1061 | Vaporize(HIT.Parent) | |
| 1062 | bosschatfunc("I have got you now ,"..HIT.Parent.Name..".",MAINRUINCOLOR.Color,120)
| |
| 1063 | end | |
| 1064 | end | |
| 1065 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1066 | Swait() | |
| 1067 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1068 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 1069 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1070 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1071 | 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) | |
| 1072 | 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) | |
| 1073 | end | |
| 1074 | until KEYHOLD == false | |
| 1075 | ATTACK = false | |
| 1076 | Rooted = false | |
| 1077 | end | |
| 1078 | ||
| 1079 | function Shot3() | |
| 1080 | ATTACK = true | |
| 1081 | Rooted = false | |
| 1082 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1083 | Swait() | |
| 1084 | turnto(Mouse.Hit.p) | |
| 1085 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1086 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 1087 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1088 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1089 | 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) | |
| 1090 | --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) | |
| 1091 | end | |
| 1092 | repeat | |
| 1093 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1094 | Swait() | |
| 1095 | turnto(Mouse.Hit.p) | |
| 1096 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1097 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 1098 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1099 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1100 | 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) | |
| 1101 | --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) | |
| 1102 | end | |
| 1103 | local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) | |
| 1104 | SpawnTrail(Hole.Position,POS) | |
| 1105 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1106 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1107 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1108 | WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1109 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1110 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1111 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1112 | WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
| |
| 1113 | if HIT ~= nil then | |
| 1114 | if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then | |
| 1115 | table.insert(sbanned,HIT.Parent.Name) | |
| 1116 | local bannedplr = game.Players:GetPlayerFromCharacter(HIT.Parent) | |
| 1117 | if bannedplr then | |
| 1118 | bannedplr:Kick("no")
| |
| 1119 | else | |
| 1120 | end | |
| 1121 | Vaporize(HIT.Parent) | |
| 1122 | bosschatfunc("I have got you now ,"..HIT.Parent.Name..".",MAINRUINCOLOR.Color,120)
| |
| 1123 | end | |
| 1124 | end | |
| 1125 | for i=0, 0.01, 0.1 / Animation_Speed do | |
| 1126 | Swait() | |
| 1127 | RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) | |
| 1128 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed) | |
| 1129 | RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1130 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
| 1131 | 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) | |
| 1132 | 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) | |
| 1133 | end | |
| 1134 | until KEYHOLD == false | |
| 1135 | ATTACK = false | |
| 1136 | Rooted = false | |
| 1137 | end | |
| 1138 | Player.Chatted:Connect(function(msg) | |
| 1139 | bosschatfunc(msg,ni,120) | |
| 1140 | end) | |
| 1141 | Weapon.Parent = Character | |
| 1142 | for _, c in pairs(Weapon:GetChildren()) do | |
| 1143 | if c.ClassName == "Part" then | |
| 1144 | c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
| 1145 | end | |
| 1146 | end | |
| 1147 | Mouse.KeyDown:Connect(function(key) | |
| 1148 | KEYHOLD = true | |
| 1149 | if key == "z" and ATTACK == false then | |
| 1150 | Shot() | |
| 1151 | elseif key == "x" and ATTACK == false then | |
| 1152 | Shot2() | |
| 1153 | elseif key == "c" and ATTACK == false then | |
| 1154 | Shot3() | |
| 1155 | elseif key == "t" and LOOP == false then | |
| 1156 | Joy() | |
| 1157 | elseif key == "t" and LOOP == true then | |
| 1158 | LOOP = false | |
| 1159 | end | |
| 1160 | end) | |
| 1161 | Mouse.KeyUp:Connect(function() | |
| 1162 | KEYHOLD = false | |
| 1163 | end) | |
| 1164 | intro() | |
| 1165 | local lightning = Instance.new("ParticleEmitter",Torso)
| |
| 1166 | lightning.Texture = "http://www.roblox.com/asset/?id=348321827" | |
| 1167 | lightning.LightEmission = 0 | |
| 1168 | lightning.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1)) | |
| 1169 | lightning.LockedToPart = true | |
| 1170 | lightning.Rate = 40 | |
| 1171 | lightning.Lifetime = NumberRange.new(0.1,0.10) | |
| 1172 | lightning.Rotation = NumberRange.new(0,360) | |
| 1173 | lightning.Size = NumberSequence.new(3,3,3) | |
| 1174 | lightning.Transparency = NumberSequence.new(0,0) | |
| 1175 | lightning.Speed = NumberRange.new(0,0) | |
| 1176 | lightning.RotSpeed = NumberRange.new(0,0) | |
| 1177 | lightning.ZOffset = 5.5 | |
| 1178 | lightning.Parent = Character.Torso | |
| 1179 | lightning.Enabled = false | |
| 1180 | ||
| 1181 | local eeeffecto = Instance.new("ParticleEmitter",Torso)
| |
| 1182 | eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367" | |
| 1183 | eeeffecto.LightEmission = 0 | |
| 1184 | eeeffecto.Color = ColorSequence.new(Color3.new(1,0,1),Color3.new(1,0,1)) | |
| 1185 | eeeffecto.LockedToPart = true | |
| 1186 | eeeffecto.Rate = 10.5 | |
| 1187 | eeeffecto.Lifetime = NumberRange.new(0.1,0.1) | |
| 1188 | eeeffecto.Rotation = NumberRange.new(0,0) | |
| 1189 | eeeffecto.Size = NumberSequence.new(9,9,9) | |
| 1190 | eeeffecto.Transparency = NumberSequence.new(0,0) | |
| 1191 | eeeffecto.Speed = NumberRange.new(0,0) | |
| 1192 | eeeffecto.RotSpeed = NumberRange.new(0,0) | |
| 1193 | eeeffecto.Parent = Character.Torso | |
| 1194 | eeeffecto.Enabled = false | |
| 1195 | lightning.Enabled = true | |
| 1196 | eeeffecto.Enabled = true | |
| 1197 | Debris = game.Debris | |
| 1198 | function unanchor() | |
| 1199 | for i,v in pairs(Character:GetChildren()) do | |
| 1200 | if v:IsA("Part") then
| |
| 1201 | v.Anchored = false | |
| 1202 | end | |
| 1203 | end | |
| 1204 | end | |
| 1205 | local spinc = 0 | |
| 1206 | ||
| 1207 | local spinc=0 | |
| 1208 | cf = CFrame.new | |
| 1209 | radian = math.rad | |
| 1210 | random = math.random | |
| 1211 | Vec3 = Vector3.new | |
| 1212 | Inst = Instance.new | |
| 1213 | cFrame = CFrame.new | |
| 1214 | Euler = CFrame.fromEulerAnglesXYZ | |
| 1215 | vt = Vector3.new | |
| 1216 | bc = BrickColor.new | |
| 1217 | br = BrickColor.random | |
| 1218 | it = Instance.new | |
| 1219 | LH = LeftHip | |
| 1220 | RH = RightHip | |
| 1221 | LW = LeftShoulder | |
| 1222 | RW = RightShoulder | |
| 1223 | local sine = 0 | |
| 1224 | local change = 1 | |
| 1225 | angles=CFrame.Angles | |
| 1226 | RootCF=Euler(-1.57,0,3.14) | |
| 1227 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1228 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 1229 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1230 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 1231 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1232 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 1233 | function clerp(a,b,t) | |
| 1234 | local qa = {QuaternionFromCFrame(a)}
| |
| 1235 | local qb = {QuaternionFromCFrame(b)}
| |
| 1236 | local ax, ay, az = a.x, a.y, a.z | |
| 1237 | local bx, by, bz = b.x, b.y, b.z | |
| 1238 | local _t = 1-t | |
| 1239 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 1240 | end | |
| 1241 | local spinc=0 | |
| 1242 | local cR=255 | |
| 1243 | local cG=0 | |
| 1244 | local cB=0 | |
| 1245 | local flg5=1 local omgidk=1 | |
| 1246 | local add=15 | |
| 1247 | local color = nil | |
| 1248 | game:GetService("RunService").Heartbeat:Connect(function()
| |
| 1249 | if omgidk>10000 then omgidk=0 end | |
| 1250 | omgidk=omgidk+1 | |
| 1251 | if cR>=255 then flg5=1 end | |
| 1252 | if cG>=255 then flg5=2 end | |
| 1253 | if cB>=255 then flg5=3 end | |
| 1254 | if flg5==1 then cR=cR-add cG=cG+add end | |
| 1255 | if flg5==2 then cG=cG-add cB=cB+add end | |
| 1256 | if flg5==3 then cB=cB-add cR=cR+add end | |
| 1257 | color=Color3.fromRGB(cR,cG,cB) | |
| 1258 | ||
| 1259 | end) | |
| 1260 | coroutine.resume(coroutine.create(function() | |
| 1261 | while wait() do | |
| 1262 | spinc=spinc+1 | |
| 1263 | local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
| 1264 | WACKYEFFECT({Time = 12.5, EffectType = "Wave", Size = VT(5,1,5), Size2 = VT(5,1,5), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS)*CFrame.Angles(RAD(0),RAD(spinc),RAD(0)), RotationX = 0, RotationY = 0--[[sick.PlaybackLoudness/50]], RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
| |
| 1265 | end | |
| 1266 | end)) | |
| 1267 | local musictime = sick.TimePosition | |
| 1268 | for i = 1, 10 do | |
| 1269 | local FACE = CreatePart(3, Character, "Fabric", 0, 0 + (i - 1) / 10.2, "Dark stone grey", "FaceGradient", VT(1.01, 0.65, 1.01), false) | |
| 1270 | FACE.Color = C3(0, 0, 0) | |
| 1271 | Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
| |
| 1272 | CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0, 0.28 - (i - 1) / 30, 0), CF(0, 0, 0))
| |
| 1273 | end | |
| 1274 | while true do | |
| 1275 | Swait() | |
| 1276 | Humanoid.HipHeight = 1.5 | |
| 1277 | ANIMATE.Parent = nil | |
| 1278 | timePos = sick.TimePosition | |
| 1279 | if Character:FindFirstChildOfClass("Humanoid") == nil then
| |
| 1280 | Humanoid = IT("Humanoid",Character)
| |
| 1281 | end | |
| 1282 | for _,v in next, Humanoid:GetPlayingAnimationTracks() do | |
| 1283 | v:Stop(); | |
| 1284 | end | |
| 1285 | for _, c in pairs(Weapon:GetDescendants()) do | |
| 1286 | if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then | |
| 1287 | c.Material = "Neon" | |
| 1288 | c.Color = color | |
| 1289 | elseif c.ClassName == "Part" and c.Name == "Eye" then | |
| 1290 | c.Color = color | |
| 1291 | c.Material = "Neon" | |
| 1292 | end | |
| 1293 | end | |
| 1294 | tecks2.Rotation = -2 * math.cos(SINE / 1) + math.random(-3,3) | |
| 1295 | tecks2.TextColor3 = MAINRUINCOLOR.Color | |
| 1296 | tecks2.TextStrokeColor3 = BrickColor.Random().Color | |
| 1297 | tecks2.Text = glitchy[MRANDOM(1,#glitchy)] | |
| 1298 | MAINRUINCOLOR = BrickColor.Random() | |
| 1299 | unanchor() | |
| 1300 | lightning.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 1301 | eeeffecto.Color = ColorSequence.new(MAINRUINCOLOR.Color) | |
| 1302 | if sick.Parent~= Torso then | |
| 1303 | sick = Instance.new("Sound",Torso)
| |
| 1304 | sick.SoundId = "rbxassetid://2079410088" | |
| 1305 | sick.Volume = 2 | |
| 1306 | sick.Looped = true | |
| 1307 | sick.TimePosition = timePos | |
| 1308 | sick.PlaybackSpeed = 0.76 | |
| 1309 | sick:Play() | |
| 1310 | else | |
| 1311 | timePos = sick.TimePosition | |
| 1312 | sick.SoundId = "rbxassetid://2079410088" | |
| 1313 | sick.Volume = 2 | |
| 1314 | sick.Looped = true | |
| 1315 | sick.PlaybackSpeed = 0.76 | |
| 1316 | end | |
| 1317 | SINE = SINE + CHANGE | |
| 1318 | local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
| 1319 | local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
| 1320 | local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) | |
| 1321 | if ATTACK == false then | |
| 1322 | if TORSOVELOCITY < 1 then | |
| 1323 | local snap = math.random(1,5) | |
| 1324 | if snap == 1 then | |
| 1325 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6) | |
| 1326 | end | |
| 1327 | RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed) | |
| 1328 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
| 1329 | 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) | |
| 1330 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(-15 + -10 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1331 | 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) | |
| 1332 | 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) | |
| 1333 | elseif TORSOVELOCITY > 1 then | |
| 1334 | 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(25)), 1 / Animation_Speed) | |
| 1335 | Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed) | |
| 1336 | 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) | |
| 1337 | LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
| 1338 | RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
| 1339 | 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) | |
| 1340 | end | |
| 1341 | end | |
| 1342 | Humanoid.MaxHealth = math.huge | |
| 1343 | Humanoid.Health = math.huge | |
| 1344 | if Rooted == false then | |
| 1345 | Disable_Jump = false | |
| 1346 | Humanoid.WalkSpeed = Speed | |
| 1347 | elseif Rooted == true then | |
| 1348 | Disable_Jump = true | |
| 1349 | Humanoid.WalkSpeed = 0 | |
| 1350 | end | |
| 1351 | if Head:FindFirstChild("face") then
| |
| 1352 | Head.face.Texture = "rbxassetid://210559531" | |
| 1353 | end | |
| 1354 | end | |
| 1355 | ||
| 1356 | --//=================================\\ | |
| 1357 | --\\=================================// | |
| 1358 | ||
| 1359 | ||
| 1360 | ||
| 1361 | ||
| 1362 | ||
| 1363 | --//====================================================\\-- | |
| 1364 | --|| END OF SCRIPT | |
| 1365 | --\\====================================================//-- |