SHOW:
|
|
- or go back to the newest paste.
| 1 | ----------------------- | |
| 2 | --[[ Name : the creepy man]]-- | |
| 3 | ------------------------------------------------------- | |
| 4 | ||
| 5 | --[[ "Haha, I'm a funny guy, but once you anger me..." ]]-- | |
| 6 | - | --[[ "There's no coming back" ]] |
| 6 | + | --[[ "There's no coming back =)" ]]-- |
| 7 | - | --"a line by ggrelior333"-- |
| 7 | + | |
| 8 | - | --A script By ggrelior333 |
| 8 | + | --A script By makhail07 |
| 9 | ||
| 10 | --Discord Creterisk#2958 | |
| 11 | ||
| 12 | --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION | |
| 13 | --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT | |
| 14 | --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT | |
| 15 | --YOU FUCKING SKIDS, | |
| 16 | --For Those who log/decompile this, If you sell or trade this, | |
| 17 | --and I find out who you are, i will take massive action. | |
| 18 | ------------------------------------------------------- | |
| 19 | ||
| 20 | local FavIDs = {
| |
| 21 | 340106355, --Nefl Crystals | |
| 22 | 927529620, --Dimension | |
| 23 | 876981900, --Fantasy | |
| 24 | 398987889, --Ordinary Days | |
| 25 | 1117396305, --Oh wait, it's you. | |
| 26 | 885996042, --Action Winter Journey | |
| 27 | 919231299, --Sprawling Idiot Effigy | |
| 28 | 743466274, --Good Day Sunshine | |
| 29 | 727411183, --Knife Fight | |
| 30 | 1402748531, --The Earth Is Counting On You! | |
| 31 | 595230126 --Robot Language | |
| 32 | } | |
| 33 | ||
| 34 | ||
| 35 | ||
| 36 | --The reality of my life isn't real but a Universe -makhail07 | |
| 37 | wait() | |
| 38 | local plr = game:service'Players'.LocalPlayer | |
| 39 | print('Local User is '..plr.Name)
| |
| 40 | local char = plr.Character | |
| 41 | local hum = char.Humanoid | |
| 42 | local hed = char.Head | |
| 43 | local root = char.HumanoidRootPart | |
| 44 | local rootj = root.RootJoint | |
| 45 | local tors = char.Torso | |
| 46 | local ra = char["Right Arm"] | |
| 47 | local la = char["Left Arm"] | |
| 48 | local rl = char["Right Leg"] | |
| 49 | local ll = char["Left Leg"] | |
| 50 | local neck = tors["Neck"] | |
| 51 | local mouse = plr:GetMouse() | |
| 52 | local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 53 | local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) | |
| 54 | local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) | |
| 55 | - | local maincolor = BrickColor.new("Institutional white")
|
| 55 | + | local maincolor = BrickColor.new("Yellow")
|
| 56 | ||
| 57 | ------------------------------------------------------- | |
| 58 | --Start Good Stuff-- | |
| 59 | ------------------------------------------------------- | |
| 60 | cam = game.Workspace.CurrentCamera | |
| 61 | CF = CFrame.new | |
| 62 | angles = CFrame.Angles | |
| 63 | attack = false | |
| 64 | Euler = CFrame.fromEulerAnglesXYZ | |
| 65 | Rad = math.rad | |
| 66 | IT = Instance.new | |
| 67 | BrickC = BrickColor.new | |
| 68 | Cos = math.cos | |
| 69 | Acos = math.acos | |
| 70 | Sin = math.sin | |
| 71 | Asin = math.asin | |
| 72 | Abs = math.abs | |
| 73 | Mrandom = math.random | |
| 74 | Floor = math.floor | |
| 75 | ------------------------------------------------------- | |
| 76 | --End Good Stuff-- | |
| 77 | ------------------------------------------------------- | |
| 78 | necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 79 | RSH, LSH = nil, nil | |
| 80 | RW = Instance.new("Weld")
| |
| 81 | LW = Instance.new("Weld")
| |
| 82 | RH = tors["Right Hip"] | |
| 83 | LH = tors["Left Hip"] | |
| 84 | RSH = tors["Right Shoulder"] | |
| 85 | LSH = tors["Left Shoulder"] | |
| 86 | RSH.Parent = nil | |
| 87 | LSH.Parent = nil | |
| 88 | RW.Name = "RW" | |
| 89 | RW.Part0 = tors | |
| 90 | RW.C0 = CF(1.5, 0.5, 0) | |
| 91 | RW.C1 = CF(0, 0.5, 0) | |
| 92 | RW.Part1 = ra | |
| 93 | RW.Parent = tors | |
| 94 | LW.Name = "LW" | |
| 95 | LW.Part0 = tors | |
| 96 | LW.C0 = CF(-1.5, 0.5, 0) | |
| 97 | LW.C1 = CF(0, 0.5, 0) | |
| 98 | LW.Part1 = la | |
| 99 | LW.Parent = tors | |
| 100 | Effects = {}
| |
| 101 | ------------------------------------------------------- | |
| 102 | --Start HeartBeat-- | |
| 103 | ------------------------------------------------------- | |
| 104 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 105 | ArtificialHB.Name = "Heartbeat" | |
| 106 | script:WaitForChild("Heartbeat")
| |
| 107 | ||
| 108 | frame = 1 / 60 | |
| 109 | tf = 0 | |
| 110 | allowframeloss = false | |
| 111 | tossremainder = false | |
| 112 | ||
| 113 | ||
| 114 | lastframe = tick() | |
| 115 | script.Heartbeat:Fire() | |
| 116 | ||
| 117 | ||
| 118 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 119 | tf = tf + s | |
| 120 | if tf >= frame then | |
| 121 | if allowframeloss then | |
| 122 | script.Heartbeat:Fire() | |
| 123 | lastframe = tick() | |
| 124 | else | |
| 125 | for i = 1, math.floor(tf / frame) do | |
| 126 | script.Heartbeat:Fire() | |
| 127 | end | |
| 128 | lastframe = tick() | |
| 129 | end | |
| 130 | if tossremainder then | |
| 131 | tf = 0 | |
| 132 | else | |
| 133 | tf = tf - frame * math.floor(tf / frame) | |
| 134 | end | |
| 135 | end | |
| 136 | end) | |
| 137 | ------------------------------------------------------- | |
| 138 | --End HeartBeat-- | |
| 139 | ------------------------------------------------------- | |
| 140 | ||
| 141 | ------------------------------------------------------- | |
| 142 | --Start Important Functions-- | |
| 143 | ------------------------------------------------------- | |
| 144 | function swait(num) | |
| 145 | if num == 0 or num == nil then | |
| 146 | game:service("RunService").Stepped:wait(0)
| |
| 147 | else | |
| 148 | for i = 0, num do | |
| 149 | game:service("RunService").Stepped:wait(0)
| |
| 150 | end | |
| 151 | end | |
| 152 | end | |
| 153 | function thread(f) | |
| 154 | coroutine.resume(coroutine.create(f)) | |
| 155 | end | |
| 156 | function clerp(a, b, t) | |
| 157 | local qa = {
| |
| 158 | QuaternionFromCFrame(a) | |
| 159 | } | |
| 160 | local qb = {
| |
| 161 | QuaternionFromCFrame(b) | |
| 162 | } | |
| 163 | local ax, ay, az = a.x, a.y, a.z | |
| 164 | local bx, by, bz = b.x, b.y, b.z | |
| 165 | local _t = 1 - t | |
| 166 | return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
| 167 | end | |
| 168 | function QuaternionFromCFrame(cf) | |
| 169 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 170 | local trace = m00 + m11 + m22 | |
| 171 | if trace > 0 then | |
| 172 | local s = math.sqrt(1 + trace) | |
| 173 | local recip = 0.5 / s | |
| 174 | return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
| 175 | else | |
| 176 | local i = 0 | |
| 177 | if m00 < m11 then | |
| 178 | i = 1 | |
| 179 | end | |
| 180 | if m22 > (i == 0 and m00 or m11) then | |
| 181 | i = 2 | |
| 182 | end | |
| 183 | if i == 0 then | |
| 184 | local s = math.sqrt(m00 - m11 - m22 + 1) | |
| 185 | local recip = 0.5 / s | |
| 186 | return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
| 187 | elseif i == 1 then | |
| 188 | local s = math.sqrt(m11 - m22 - m00 + 1) | |
| 189 | local recip = 0.5 / s | |
| 190 | return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
| 191 | elseif i == 2 then | |
| 192 | local s = math.sqrt(m22 - m00 - m11 + 1) | |
| 193 | local recip = 0.5 / s | |
| 194 | return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
| 195 | end | |
| 196 | end | |
| 197 | end | |
| 198 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 199 | local xs, ys, zs = x + x, y + y, z + z | |
| 200 | local wx, wy, wz = w * xs, w * ys, w * zs | |
| 201 | local xx = x * xs | |
| 202 | local xy = x * ys | |
| 203 | local xz = x * zs | |
| 204 | local yy = y * ys | |
| 205 | local yz = y * zs | |
| 206 | local zz = z * zs | |
| 207 | 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)) | |
| 208 | end | |
| 209 | function QuaternionSlerp(a, b, t) | |
| 210 | local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
| 211 | local startInterp, finishInterp | |
| 212 | if cosTheta >= 1.0E-4 then | |
| 213 | if 1 - cosTheta > 1.0E-4 then | |
| 214 | local theta = math.acos(cosTheta) | |
| 215 | local invSinTheta = 1 / Sin(theta) | |
| 216 | startInterp = Sin((1 - t) * theta) * invSinTheta | |
| 217 | finishInterp = Sin(t * theta) * invSinTheta | |
| 218 | else | |
| 219 | startInterp = 1 - t | |
| 220 | finishInterp = t | |
| 221 | end | |
| 222 | elseif 1 + cosTheta > 1.0E-4 then | |
| 223 | local theta = math.acos(-cosTheta) | |
| 224 | local invSinTheta = 1 / Sin(theta) | |
| 225 | startInterp = Sin((t - 1) * theta) * invSinTheta | |
| 226 | finishInterp = Sin(t * theta) * invSinTheta | |
| 227 | else | |
| 228 | startInterp = t - 1 | |
| 229 | finishInterp = t | |
| 230 | end | |
| 231 | 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 | |
| 232 | end | |
| 233 | function rayCast(Position, Direction, Range, Ignore) | |
| 234 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 235 | end | |
| 236 | local RbxUtility = LoadLibrary("RbxUtility")
| |
| 237 | local Create = RbxUtility.Create | |
| 238 | ||
| 239 | ------------------------------------------------------- | |
| 240 | --Start Damage Function-- | |
| 241 | ------------------------------------------------------- | |
| 242 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
| 243 | if hit.Parent == nil then | |
| 244 | return | |
| 245 | end | |
| 246 | local h = hit.Parent:FindFirstChildOfClass("Humanoid")
| |
| 247 | for _, v in pairs(hit.Parent:children()) do | |
| 248 | if v:IsA("Humanoid") then
| |
| 249 | h = v | |
| 250 | end | |
| 251 | end | |
| 252 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
| |
| 253 | ||
| 254 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 255 | end | |
| 256 | ||
| 257 | if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
| |
| 258 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then
| |
| 259 | if hit.Parent.DebounceHit.Value == true then | |
| 260 | return | |
| 261 | end | |
| 262 | end | |
| 263 | if insta == true then | |
| 264 | hit.Parent:FindFirstChild("Head"):BreakJoints()
| |
| 265 | end | |
| 266 | local c = Create("ObjectValue"){
| |
| 267 | Name = "creator", | |
| 268 | Value = game:service("Players").LocalPlayer,
| |
| 269 | Parent = h, | |
| 270 | } | |
| 271 | game:GetService("Debris"):AddItem(c, .5)
| |
| 272 | if HitSound ~= nil and HitPitch ~= nil then | |
| 273 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
| 274 | end | |
| 275 | local Damage = math.random(minim, maxim) | |
| 276 | local blocked = false | |
| 277 | local block = hit.Parent:findFirstChild("Block")
| |
| 278 | if block ~= nil then | |
| 279 | if block.className == "IntValue" then | |
| 280 | if block.Value > 0 then | |
| 281 | blocked = true | |
| 282 | block.Value = block.Value - 1 | |
| 283 | print(block.Value) | |
| 284 | end | |
| 285 | end | |
| 286 | end | |
| 287 | if blocked == false then | |
| 288 | h.Health = h.Health - Damage | |
| 289 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 290 | else | |
| 291 | h.Health = h.Health - (Damage / 2) | |
| 292 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color) | |
| 293 | end | |
| 294 | if Type == "Knockdown" then | |
| 295 | local hum = hit.Parent.Humanoid | |
| 296 | hum.PlatformStand = true | |
| 297 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 298 | swait(1) | |
| 299 | HHumanoid.PlatformStand = false | |
| 300 | end), hum) | |
| 301 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
| 302 | local bodvol = Create("BodyVelocity"){
| |
| 303 | velocity = angle * knockback, | |
| 304 | P = 5000, | |
| 305 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 306 | Parent = hit, | |
| 307 | } | |
| 308 | local rl = Create("BodyAngularVelocity"){
| |
| 309 | P = 3000, | |
| 310 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
| 311 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
| 312 | Parent = hit, | |
| 313 | } | |
| 314 | game:GetService("Debris"):AddItem(bodvol, .5)
| |
| 315 | game:GetService("Debris"):AddItem(rl, .5)
| |
| 316 | elseif Type == "Normal" then | |
| 317 | local vp = Create("BodyVelocity"){
| |
| 318 | P = 500, | |
| 319 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
| 320 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
| 321 | } | |
| 322 | if knockback > 0 then | |
| 323 | vp.Parent = hit.Parent.Torso | |
| 324 | end | |
| 325 | game:GetService("Debris"):AddItem(vp, .5)
| |
| 326 | elseif Type == "Up" then | |
| 327 | local bodyVelocity = Create("BodyVelocity"){
| |
| 328 | velocity = Vector3.new(0, 20, 0), | |
| 329 | P = 5000, | |
| 330 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 331 | Parent = hit, | |
| 332 | } | |
| 333 | game:GetService("Debris"):AddItem(bodyVelocity, .5)
| |
| 334 | elseif Type == "DarkUp" then | |
| 335 | coroutine.resume(coroutine.create(function() | |
| 336 | for i = 0, 1, 0.1 do | |
| 337 | swait() | |
| 338 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
| |
| 339 | end | |
| 340 | end)) | |
| 341 | local bodyVelocity = Create("BodyVelocity"){
| |
| 342 | velocity = Vector3.new(0, 20, 0), | |
| 343 | P = 5000, | |
| 344 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
| 345 | Parent = hit, | |
| 346 | } | |
| 347 | game:GetService("Debris"):AddItem(bodyVelocity, 1)
| |
| 348 | elseif Type == "Snare" then | |
| 349 | local bp = Create("BodyPosition"){
| |
| 350 | P = 2000, | |
| 351 | D = 100, | |
| 352 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 353 | position = hit.Parent.Torso.Position, | |
| 354 | Parent = hit.Parent.Torso, | |
| 355 | } | |
| 356 | game:GetService("Debris"):AddItem(bp, 1)
| |
| 357 | elseif Type == "Freeze" then | |
| 358 | local BodPos = Create("BodyPosition"){
| |
| 359 | P = 50000, | |
| 360 | D = 1000, | |
| 361 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
| 362 | position = hit.Parent.Torso.Position, | |
| 363 | Parent = hit.Parent.Torso, | |
| 364 | } | |
| 365 | local BodGy = Create("BodyGyro") {
| |
| 366 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
| 367 | P = 20e+003, | |
| 368 | Parent = hit.Parent.Torso, | |
| 369 | cframe = hit.Parent.Torso.CFrame, | |
| 370 | } | |
| 371 | hit.Parent.Torso.Anchored = true | |
| 372 | coroutine.resume(coroutine.create(function(Part) | |
| 373 | swait(1.5) | |
| 374 | Part.Anchored = false | |
| 375 | end), hit.Parent.Torso) | |
| 376 | game:GetService("Debris"):AddItem(BodPos, 3)
| |
| 377 | game:GetService("Debris"):AddItem(BodGy, 3)
| |
| 378 | end | |
| 379 | local debounce = Create("BoolValue"){
| |
| 380 | Name = "DebounceHit", | |
| 381 | Parent = hit.Parent, | |
| 382 | Value = true, | |
| 383 | } | |
| 384 | game:GetService("Debris"):AddItem(debounce, Delay)
| |
| 385 | c = Create("ObjectValue"){
| |
| 386 | Name = "creator", | |
| 387 | Value = Player, | |
| 388 | Parent = h, | |
| 389 | } | |
| 390 | game:GetService("Debris"):AddItem(c, .5)
| |
| 391 | end | |
| 392 | end | |
| 393 | ------------------------------------------------------- | |
| 394 | --End Damage Function-- | |
| 395 | ------------------------------------------------------- | |
| 396 | ||
| 397 | ------------------------------------------------------- | |
| 398 | --Start Damage Function Customization-- | |
| 399 | ------------------------------------------------------- | |
| 400 | function ShowDamage(Pos, Text, Time, Color) | |
| 401 | local Rate = (1 / 30) | |
| 402 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
| 403 | local Text = (Text or "") | |
| 404 | local Time = (Time or 2) | |
| 405 | local Color = (Color or Color3.new(1, 0, 1)) | |
| 406 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
| 407 | EffectPart.Anchored = true | |
| 408 | local BillboardGui = Create("BillboardGui"){
| |
| 409 | Size = UDim2.new(3, 0, 3, 0), | |
| 410 | Adornee = EffectPart, | |
| 411 | Parent = EffectPart, | |
| 412 | } | |
| 413 | local TextLabel = Create("TextLabel"){
| |
| 414 | BackgroundTransparency = 1, | |
| 415 | Size = UDim2.new(1, 0, 1, 0), | |
| 416 | Text = Text, | |
| 417 | Font = "Bodoni", | |
| 418 | TextColor3 = Color, | |
| 419 | TextScaled = true, | |
| 420 | TextStrokeColor3 = Color3.fromRGB(0,0,0), | |
| 421 | Parent = BillboardGui, | |
| 422 | } | |
| 423 | game.Debris:AddItem(EffectPart, (Time)) | |
| 424 | EffectPart.Parent = game:GetService("Workspace")
| |
| 425 | delay(0, function() | |
| 426 | local Frames = (Time / Rate) | |
| 427 | for Frame = 1, Frames do | |
| 428 | wait(Rate) | |
| 429 | local Percent = (Frame / Frames) | |
| 430 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
| 431 | TextLabel.TextTransparency = Percent | |
| 432 | end | |
| 433 | if EffectPart and EffectPart.Parent then | |
| 434 | EffectPart:Destroy() | |
| 435 | end | |
| 436 | end) | |
| 437 | end | |
| 438 | ------------------------------------------------------- | |
| 439 | --End Damage Function Customization-- | |
| 440 | ------------------------------------------------------- | |
| 441 | ||
| 442 | function MagniDamage(Part, magni, mindam, maxdam, knock, Type) | |
| 443 | for _, c in pairs(workspace:children()) do | |
| 444 | local hum = c:findFirstChild("Humanoid")
| |
| 445 | if hum ~= nil then | |
| 446 | local head = c:findFirstChild("Head")
| |
| 447 | if head ~= nil then | |
| 448 | local targ = head.Position - Part.Position | |
| 449 | local mag = targ.magnitude | |
| 450 | if magni >= mag and c.Name ~= plr.Name then | |
| 451 | Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2) | |
| 452 | end | |
| 453 | end | |
| 454 | end | |
| 455 | end | |
| 456 | end | |
| 457 | ||
| 458 | ||
| 459 | CFuncs = {
| |
| 460 | Part = {
| |
| 461 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 462 | local Part = Create("Part")({
| |
| 463 | Parent = Parent, | |
| 464 | Reflectance = Reflectance, | |
| 465 | Transparency = Transparency, | |
| 466 | CanCollide = false, | |
| 467 | Locked = true, | |
| 468 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 469 | Name = Name, | |
| 470 | Size = Size, | |
| 471 | Material = Material | |
| 472 | }) | |
| 473 | RemoveOutlines(Part) | |
| 474 | return Part | |
| 475 | end | |
| 476 | }, | |
| 477 | Mesh = {
| |
| 478 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 479 | local Msh = Create(Mesh)({
| |
| 480 | Parent = Part, | |
| 481 | Offset = OffSet, | |
| 482 | Scale = Scale | |
| 483 | }) | |
| 484 | if Mesh == "SpecialMesh" then | |
| 485 | Msh.MeshType = MeshType | |
| 486 | Msh.MeshId = MeshId | |
| 487 | end | |
| 488 | return Msh | |
| 489 | end | |
| 490 | }, | |
| 491 | Mesh = {
| |
| 492 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 493 | local Msh = Create(Mesh)({
| |
| 494 | Parent = Part, | |
| 495 | Offset = OffSet, | |
| 496 | Scale = Scale | |
| 497 | }) | |
| 498 | if Mesh == "SpecialMesh" then | |
| 499 | Msh.MeshType = MeshType | |
| 500 | Msh.MeshId = MeshId | |
| 501 | end | |
| 502 | return Msh | |
| 503 | end | |
| 504 | }, | |
| 505 | Weld = {
| |
| 506 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 507 | local Weld = Create("Weld")({
| |
| 508 | Parent = Parent, | |
| 509 | Part0 = Part0, | |
| 510 | Part1 = Part1, | |
| 511 | C0 = C0, | |
| 512 | C1 = C1 | |
| 513 | }) | |
| 514 | return Weld | |
| 515 | end | |
| 516 | }, | |
| 517 | Sound = {
| |
| 518 | Create = function(id, par, vol, pit) | |
| 519 | coroutine.resume(coroutine.create(function() | |
| 520 | local S = Create("Sound")({
| |
| 521 | Volume = vol, | |
| 522 | Pitch = pit or 1, | |
| 523 | SoundId = id, | |
| 524 | Parent = par or workspace | |
| 525 | }) | |
| 526 | wait() | |
| 527 | S:play() | |
| 528 | game:GetService("Debris"):AddItem(S, 6)
| |
| 529 | end)) | |
| 530 | end | |
| 531 | }, | |
| 532 | ParticleEmitter = {
| |
| 533 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 534 | local fp = Create("ParticleEmitter")({
| |
| 535 | Parent = Parent, | |
| 536 | Color = ColorSequence.new(Color1, Color2), | |
| 537 | LightEmission = LightEmission, | |
| 538 | Size = Size, | |
| 539 | Texture = Texture, | |
| 540 | Transparency = Transparency, | |
| 541 | ZOffset = ZOffset, | |
| 542 | Acceleration = Accel, | |
| 543 | Drag = Drag, | |
| 544 | LockedToPart = LockedToPart, | |
| 545 | VelocityInheritance = VelocityInheritance, | |
| 546 | EmissionDirection = EmissionDirection, | |
| 547 | Enabled = Enabled, | |
| 548 | Lifetime = LifeTime, | |
| 549 | Rate = Rate, | |
| 550 | Rotation = Rotation, | |
| 551 | RotSpeed = RotSpeed, | |
| 552 | Speed = Speed, | |
| 553 | VelocitySpread = VelocitySpread | |
| 554 | }) | |
| 555 | return fp | |
| 556 | end | |
| 557 | } | |
| 558 | } | |
| 559 | function RemoveOutlines(part) | |
| 560 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 561 | end | |
| 562 | function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 563 | local Part = Create("Part")({
| |
| 564 | formFactor = FormFactor, | |
| 565 | Parent = Parent, | |
| 566 | Reflectance = Reflectance, | |
| 567 | Transparency = Transparency, | |
| 568 | CanCollide = false, | |
| 569 | Locked = true, | |
| 570 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 571 | Name = Name, | |
| 572 | Size = Size, | |
| 573 | Material = Material | |
| 574 | }) | |
| 575 | RemoveOutlines(Part) | |
| 576 | return Part | |
| 577 | end | |
| 578 | function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 579 | local Msh = Create(Mesh)({
| |
| 580 | Parent = Part, | |
| 581 | Offset = OffSet, | |
| 582 | Scale = Scale | |
| 583 | }) | |
| 584 | if Mesh == "SpecialMesh" then | |
| 585 | Msh.MeshType = MeshType | |
| 586 | Msh.MeshId = MeshId | |
| 587 | end | |
| 588 | return Msh | |
| 589 | end | |
| 590 | function CreateWeld(Parent, Part0, Part1, C0, C1) | |
| 591 | local Weld = Create("Weld")({
| |
| 592 | Parent = Parent, | |
| 593 | Part0 = Part0, | |
| 594 | Part1 = Part1, | |
| 595 | C0 = C0, | |
| 596 | C1 = C1 | |
| 597 | }) | |
| 598 | return Weld | |
| 599 | end | |
| 600 | ||
| 601 | ||
| 602 | ------------------------------------------------------- | |
| 603 | --Start Effect Function-- | |
| 604 | ------------------------------------------------------- | |
| 605 | EffectModel = Instance.new("Model", char)
| |
| 606 | Effects = {
| |
| 607 | Block = {
| |
| 608 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
| 609 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 610 | prt.Anchored = true | |
| 611 | prt.CFrame = cframe | |
| 612 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 613 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 614 | if Type == 1 or Type == nil then | |
| 615 | table.insert(Effects, {
| |
| 616 | prt, | |
| 617 | "Block1", | |
| 618 | delay, | |
| 619 | x3, | |
| 620 | y3, | |
| 621 | z3, | |
| 622 | msh | |
| 623 | }) | |
| 624 | elseif Type == 2 then | |
| 625 | table.insert(Effects, {
| |
| 626 | prt, | |
| 627 | "Block2", | |
| 628 | delay, | |
| 629 | x3, | |
| 630 | y3, | |
| 631 | z3, | |
| 632 | msh | |
| 633 | }) | |
| 634 | else | |
| 635 | table.insert(Effects, {
| |
| 636 | prt, | |
| 637 | "Block3", | |
| 638 | delay, | |
| 639 | x3, | |
| 640 | y3, | |
| 641 | z3, | |
| 642 | msh | |
| 643 | }) | |
| 644 | end | |
| 645 | end | |
| 646 | }, | |
| 647 | Sphere = {
| |
| 648 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 649 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 650 | prt.Anchored = true | |
| 651 | prt.CFrame = cframe | |
| 652 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 653 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 654 | table.insert(Effects, {
| |
| 655 | prt, | |
| 656 | "Cylinder", | |
| 657 | delay, | |
| 658 | x3, | |
| 659 | y3, | |
| 660 | z3, | |
| 661 | msh | |
| 662 | }) | |
| 663 | end | |
| 664 | }, | |
| 665 | Cylinder = {
| |
| 666 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 667 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 668 | prt.Anchored = true | |
| 669 | prt.CFrame = cframe | |
| 670 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 671 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 672 | table.insert(Effects, {
| |
| 673 | prt, | |
| 674 | "Cylinder", | |
| 675 | delay, | |
| 676 | x3, | |
| 677 | y3, | |
| 678 | z3, | |
| 679 | msh | |
| 680 | }) | |
| 681 | end | |
| 682 | }, | |
| 683 | Wave = {
| |
| 684 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 685 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 686 | prt.Anchored = true | |
| 687 | prt.CFrame = cframe | |
| 688 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
| |
| 689 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 690 | table.insert(Effects, {
| |
| 691 | prt, | |
| 692 | "Cylinder", | |
| 693 | delay, | |
| 694 | x3 / 60, | |
| 695 | y3 / 60, | |
| 696 | z3 / 60, | |
| 697 | msh | |
| 698 | }) | |
| 699 | end | |
| 700 | }, | |
| 701 | Ring = {
| |
| 702 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 703 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 704 | prt.Anchored = true | |
| 705 | prt.CFrame = cframe | |
| 706 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 707 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 708 | table.insert(Effects, {
| |
| 709 | prt, | |
| 710 | "Cylinder", | |
| 711 | delay, | |
| 712 | x3, | |
| 713 | y3, | |
| 714 | z3, | |
| 715 | msh | |
| 716 | }) | |
| 717 | end | |
| 718 | }, | |
| 719 | Break = {
| |
| 720 | Create = function(brickcolor, cframe, x1, y1, z1) | |
| 721 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
| 722 | prt.Anchored = true | |
| 723 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 724 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 725 | local num = math.random(10, 50) / 1000 | |
| 726 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 727 | table.insert(Effects, {
| |
| 728 | prt, | |
| 729 | "Shatter", | |
| 730 | num, | |
| 731 | prt.CFrame, | |
| 732 | math.random() - math.random(), | |
| 733 | 0, | |
| 734 | math.random(50, 100) / 100 | |
| 735 | }) | |
| 736 | end | |
| 737 | }, | |
| 738 | Spiral = {
| |
| 739 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 740 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 741 | prt.Anchored = true | |
| 742 | prt.CFrame = cframe | |
| 743 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 744 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 745 | table.insert(Effects, {
| |
| 746 | prt, | |
| 747 | "Cylinder", | |
| 748 | delay, | |
| 749 | x3, | |
| 750 | y3, | |
| 751 | z3, | |
| 752 | msh | |
| 753 | }) | |
| 754 | end | |
| 755 | }, | |
| 756 | Push = {
| |
| 757 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 758 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
| 759 | prt.Anchored = true | |
| 760 | prt.CFrame = cframe | |
| 761 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
| |
| 762 | game:GetService("Debris"):AddItem(prt, 10)
| |
| 763 | table.insert(Effects, {
| |
| 764 | prt, | |
| 765 | "Cylinder", | |
| 766 | delay, | |
| 767 | x3, | |
| 768 | y3, | |
| 769 | z3, | |
| 770 | msh | |
| 771 | }) | |
| 772 | end | |
| 773 | } | |
| 774 | } | |
| 775 | function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size) | |
| 776 | local fp = IT("Part")
| |
| 777 | fp.formFactor = formfactor | |
| 778 | fp.Parent = parent | |
| 779 | fp.Reflectance = reflectance | |
| 780 | fp.Transparency = transparency | |
| 781 | fp.CanCollide = false | |
| 782 | fp.Locked = true | |
| 783 | fp.BrickColor = brickcolor | |
| 784 | fp.Name = name | |
| 785 | fp.Size = size | |
| 786 | fp.Position = tors.Position | |
| 787 | RemoveOutlines(fp) | |
| 788 | fp.Material = "SmoothPlastic" | |
| 789 | fp:BreakJoints() | |
| 790 | return fp | |
| 791 | end | |
| 792 | ||
| 793 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 794 | local mesh = IT(Mesh) | |
| 795 | mesh.Parent = part | |
| 796 | if Mesh == "SpecialMesh" then | |
| 797 | mesh.MeshType = meshtype | |
| 798 | if meshid ~= "nil" then | |
| 799 | mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid | |
| 800 | end | |
| 801 | end | |
| 802 | mesh.Offset = offset | |
| 803 | mesh.Scale = scale | |
| 804 | return mesh | |
| 805 | end | |
| 806 | ||
| 807 | function Magic(bonuspeed, type, pos, scale, value, color, MType) | |
| 808 | local type = type | |
| 809 | local rng = Instance.new("Part", char)
| |
| 810 | rng.Anchored = true | |
| 811 | rng.BrickColor = color | |
| 812 | rng.CanCollide = false | |
| 813 | rng.FormFactor = 3 | |
| 814 | rng.Name = "Ring" | |
| 815 | rng.Material = "Neon" | |
| 816 | rng.Size = Vector3.new(1, 1, 1) | |
| 817 | rng.Transparency = 0 | |
| 818 | rng.TopSurface = 0 | |
| 819 | rng.BottomSurface = 0 | |
| 820 | rng.CFrame = pos | |
| 821 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 822 | rngm.MeshType = MType | |
| 823 | rngm.Scale = scale | |
| 824 | local scaler2 = 1 | |
| 825 | if type == "Add" then | |
| 826 | scaler2 = 1 * value | |
| 827 | elseif type == "Divide" then | |
| 828 | scaler2 = 1 / value | |
| 829 | end | |
| 830 | coroutine.resume(coroutine.create(function() | |
| 831 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 832 | swait() | |
| 833 | if type == "Add" then | |
| 834 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 835 | elseif type == "Divide" then | |
| 836 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 837 | end | |
| 838 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 839 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed) | |
| 840 | end | |
| 841 | rng:Destroy() | |
| 842 | end)) | |
| 843 | end | |
| 844 | ||
| 845 | function Eviscerate(dude) | |
| 846 | if dude.Name ~= char then | |
| 847 | local bgf = IT("BodyGyro", dude.Head)
| |
| 848 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 849 | local val = IT("BoolValue", dude)
| |
| 850 | val.Name = "IsHit" | |
| 851 | local ds = coroutine.wrap(function() | |
| 852 | dude:WaitForChild("Head"):BreakJoints()
| |
| 853 | wait(0.5) | |
| 854 | target = nil | |
| 855 | coroutine.resume(coroutine.create(function() | |
| 856 | for i, v in pairs(dude:GetChildren()) do | |
| 857 | if v:IsA("Accessory") then
| |
| 858 | v:Destroy() | |
| 859 | end | |
| 860 | if v:IsA("Humanoid") then
| |
| 861 | v:Destroy() | |
| 862 | end | |
| 863 | if v:IsA("CharacterMesh") then
| |
| 864 | v:Destroy() | |
| 865 | end | |
| 866 | if v:IsA("Model") then
| |
| 867 | v:Destroy() | |
| 868 | end | |
| 869 | if v:IsA("Part") or v:IsA("MeshPart") then
| |
| 870 | for x, o in pairs(v:GetChildren()) do | |
| 871 | if o:IsA("Decal") then
| |
| 872 | o:Destroy() | |
| 873 | end | |
| 874 | end | |
| 875 | coroutine.resume(coroutine.create(function() | |
| 876 | v.Material = "Neon" | |
| 877 | v.CanCollide = false | |
| 878 | local PartEmmit1 = IT("ParticleEmitter", v)
| |
| 879 | PartEmmit1.LightEmission = 1 | |
| 880 | PartEmmit1.Texture = "rbxassetid://284205403" | |
| 881 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 882 | PartEmmit1.Rate = 150 | |
| 883 | PartEmmit1.Lifetime = NumberRange.new(1) | |
| 884 | PartEmmit1.Size = NumberSequence.new({
| |
| 885 | NumberSequenceKeypoint.new(0, 0.75, 0), | |
| 886 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 887 | }) | |
| 888 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 889 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 890 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 891 | }) | |
| 892 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 893 | PartEmmit1.VelocitySpread = 30000 | |
| 894 | PartEmmit1.Rotation = NumberRange.new(-500, 500) | |
| 895 | PartEmmit1.RotSpeed = NumberRange.new(-500, 500) | |
| 896 | local BodPoss = IT("BodyPosition", v)
| |
| 897 | BodPoss.P = 3000 | |
| 898 | BodPoss.D = 1000 | |
| 899 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 900 | BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 901 | v.Color = maincolor.Color | |
| 902 | coroutine.resume(coroutine.create(function() | |
| 903 | for i = 0, 49 do | |
| 904 | swait(1) | |
| 905 | v.Transparency = v.Transparency + 0.08 | |
| 906 | end | |
| 907 | wait(0.5) | |
| 908 | PartEmmit1.Enabled = false | |
| 909 | wait(3) | |
| 910 | v:Destroy() | |
| 911 | dude:Destroy() | |
| 912 | end)) | |
| 913 | end)) | |
| 914 | end | |
| 915 | end | |
| 916 | end)) | |
| 917 | end) | |
| 918 | ds() | |
| 919 | end | |
| 920 | end | |
| 921 | ||
| 922 | function FindNearestHead(Position, Distance, SinglePlayer) | |
| 923 | if SinglePlayer then | |
| 924 | return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude | |
| 925 | end | |
| 926 | local List = {}
| |
| 927 | for i, v in pairs(workspace:GetChildren()) do | |
| 928 | if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
| |
| 929 | table.insert(List, v) | |
| 930 | end | |
| 931 | end | |
| 932 | return List | |
| 933 | end | |
| 934 | ||
| 935 | function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType) | |
| 936 | local type = type | |
| 937 | local rng = Instance.new("Part", char)
| |
| 938 | rng.Anchored = true | |
| 939 | rng.BrickColor = color | |
| 940 | rng.CanCollide = false | |
| 941 | rng.FormFactor = 3 | |
| 942 | rng.Name = "Ring" | |
| 943 | rng.Material = "Neon" | |
| 944 | rng.Size = Vector3.new(1, 1, 1) | |
| 945 | rng.Transparency = 0 | |
| 946 | rng.TopSurface = 0 | |
| 947 | rng.BottomSurface = 0 | |
| 948 | rng.CFrame = pos | |
| 949 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos | |
| 950 | local rngm = Instance.new("SpecialMesh", rng)
| |
| 951 | rngm.MeshType = MType | |
| 952 | rngm.Scale = Vector3.new(x1, y1, z1) | |
| 953 | local scaler2 = 1 | |
| 954 | local speeder = FastSpeed | |
| 955 | if type == "Add" then | |
| 956 | scaler2 = 1 * value | |
| 957 | elseif type == "Divide" then | |
| 958 | scaler2 = 1 / value | |
| 959 | end | |
| 960 | coroutine.resume(coroutine.create(function() | |
| 961 | for i = 0, 10 / bonuspeed, 0.1 do | |
| 962 | swait() | |
| 963 | if type == "Add" then | |
| 964 | scaler2 = scaler2 - 0.01 * value / bonuspeed | |
| 965 | elseif type == "Divide" then | |
| 966 | scaler2 = scaler2 - 0.01 / value * bonuspeed | |
| 967 | end | |
| 968 | speeder = speeder - 0.01 * FastSpeed * bonuspeed | |
| 969 | rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed | |
| 970 | rng.Transparency = rng.Transparency + 0.01 * bonuspeed | |
| 971 | rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0) | |
| 972 | end | |
| 973 | rng:Destroy() | |
| 974 | end)) | |
| 975 | end | |
| 976 | ||
| 977 | function SoulSteal(dude) | |
| 978 | if dude.Name ~= char then | |
| 979 | local bgf = IT("BodyGyro", dude.Head)
| |
| 980 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0) | |
| 981 | local val = IT("BoolValue", dude)
| |
| 982 | val.Name = "IsHit" | |
| 983 | local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart') | |
| 984 | local soulst = coroutine.wrap(function() | |
| 985 | local soul = Instance.new("Part",dude)
| |
| 986 | soul.Size = Vector3.new(1,1,1) | |
| 987 | soul.CanCollide = false | |
| 988 | soul.Anchored = false | |
| 989 | soul.Position = torso.Position | |
| 990 | soul.Transparency = 1 | |
| 991 | local PartEmmit1 = IT("ParticleEmitter", soul)
| |
| 992 | PartEmmit1.LightEmission = 1 | |
| 993 | PartEmmit1.Texture = "rbxassetid://569507414" | |
| 994 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 995 | PartEmmit1.Rate = 250 | |
| 996 | PartEmmit1.Lifetime = NumberRange.new(1.6) | |
| 997 | PartEmmit1.Size = NumberSequence.new({
| |
| 998 | NumberSequenceKeypoint.new(0, 1, 0), | |
| 999 | NumberSequenceKeypoint.new(1, 0, 0) | |
| 1000 | }) | |
| 1001 | PartEmmit1.Transparency = NumberSequence.new({
| |
| 1002 | NumberSequenceKeypoint.new(0, 0, 0), | |
| 1003 | NumberSequenceKeypoint.new(1, 1, 0) | |
| 1004 | }) | |
| 1005 | PartEmmit1.Speed = NumberRange.new(0, 0) | |
| 1006 | PartEmmit1.VelocitySpread = 30000 | |
| 1007 | PartEmmit1.Rotation = NumberRange.new(-360, 360) | |
| 1008 | PartEmmit1.RotSpeed = NumberRange.new(-360, 360) | |
| 1009 | local BodPoss = IT("BodyPosition", soul)
| |
| 1010 | BodPoss.P = 3000 | |
| 1011 | BodPoss.D = 1000 | |
| 1012 | BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000) | |
| 1013 | BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15)) | |
| 1014 | wait(1.6) | |
| 1015 | soul.Touched:connect(function(hit) | |
| 1016 | if hit.Parent == char then | |
| 1017 | soul:Destroy() | |
| 1018 | end | |
| 1019 | end) | |
| 1020 | wait(1.2) | |
| 1021 | while soul do | |
| 1022 | swait() | |
| 1023 | PartEmmit1.Color = ColorSequence.new(maincolor.Color) | |
| 1024 | BodPoss.Position = tors.Position | |
| 1025 | end | |
| 1026 | end) | |
| 1027 | soulst() | |
| 1028 | end | |
| 1029 | end | |
| 1030 | function FaceMouse() | |
| 1031 | local Cam = workspace.CurrentCamera | |
| 1032 | return {
| |
| 1033 | CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)), | |
| 1034 | Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z) | |
| 1035 | } | |
| 1036 | end | |
| 1037 | ------------------------------------------------------- | |
| 1038 | --End Effect Function-- | |
| 1039 | ------------------------------------------------------- | |
| 1040 | function Cso(ID, PARENT, VOLUME, PITCH) | |
| 1041 | local NSound = nil | |
| 1042 | coroutine.resume(coroutine.create(function() | |
| 1043 | NSound = IT("Sound", PARENT)
| |
| 1044 | NSound.Volume = VOLUME | |
| 1045 | NSound.Pitch = PITCH | |
| 1046 | NSound.SoundId = "http://www.roblox.com/asset/?id="..ID | |
| 1047 | swait() | |
| 1048 | NSound:play() | |
| 1049 | game:GetService("Debris"):AddItem(NSound, 10)
| |
| 1050 | end)) | |
| 1051 | return NSound | |
| 1052 | end | |
| 1053 | function CameraEnshaking(Length, Intensity) | |
| 1054 | coroutine.resume(coroutine.create(function() | |
| 1055 | local intensity = 1 * Intensity | |
| 1056 | local rotM = 0.01 * Intensity | |
| 1057 | for i = 0, Length, 0.1 do | |
| 1058 | swait() | |
| 1059 | intensity = intensity - 0.05 * Intensity / Length | |
| 1060 | rotM = rotM - 5.0E-4 * Intensity / Length | |
| 1061 | hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) | |
| 1062 | cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM) | |
| 1063 | end | |
| 1064 | hum.CameraOffset = Vector3.new(0, 0, 0) | |
| 1065 | end)) | |
| 1066 | end | |
| 1067 | ------------------------------------------------------- | |
| 1068 | --End Important Functions-- | |
| 1069 | ------------------------------------------------------- | |
| 1070 | ||
| 1071 | ||
| 1072 | ------------------------------------------------------- | |
| 1073 | --Start Customization-- | |
| 1074 | ------------------------------------------------------- | |
| 1075 | local Player_Size = 1 | |
| 1076 | if Player_Size ~= 1 then | |
| 1077 | root.Size = root.Size * Player_Size | |
| 1078 | tors.Size = tors.Size * Player_Size | |
| 1079 | hed.Size = hed.Size * Player_Size | |
| 1080 | ra.Size = ra.Size * Player_Size | |
| 1081 | la.Size = la.Size * Player_Size | |
| 1082 | rl.Size = rl.Size * Player_Size | |
| 1083 | ll.Size = ll.Size * Player_Size | |
| 1084 | ---------------------------------------------------------------------------------- | |
| 1085 | rootj.Parent = root | |
| 1086 | neck.Parent = tors | |
| 1087 | RW.Parent = tors | |
| 1088 | LW.Parent = tors | |
| 1089 | RH.Parent = tors | |
| 1090 | LH.Parent = tors | |
| 1091 | ---------------------------------------------------------------------------------- | |
| 1092 | rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1093 | rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1094 | neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1095 | neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180)) | |
| 1096 | RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0 | |
| 1097 | LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0 | |
| 1098 | ---------------------------------------------------------------------------------- | |
| 1099 | RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1100 | LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1101 | RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1102 | LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0)) | |
| 1103 | --hat.Parent = Character | |
| 1104 | end | |
| 1105 | ---------------------------------------------------------------------------------- | |
| 1106 | local SONG = 1494452913 | |
| 1107 | local SONG2 = 1130685064 | |
| 1108 | local Music = Instance.new("Sound",tors)
| |
| 1109 | Music.Volume = 2.5 | |
| 1110 | Music.Looped = true | |
| 1111 | Music.Pitch = 1 --Pitcher | |
| 1112 | ---------------------------------------------------------------------------------- | |
| 1113 | local equipped = false | |
| 1114 | local idle = 0 | |
| 1115 | local change = 1 | |
| 1116 | local val = 0 | |
| 1117 | local toim = 0 | |
| 1118 | local idleanim = 0.4 | |
| 1119 | local sine = 0 | |
| 1120 | local Sit = 1 | |
| 1121 | ---------------------------------------------------------------------------------- | |
| 1122 | hum.WalkSpeed = 10 | |
| 1123 | hum.JumpPower = 57 | |
| 1124 | hum.Animator.Parent = nil | |
| 1125 | ---------------------------------------------------------------------------------- | |
| 1126 | local naeeym2 = IT("BillboardGui",char)
| |
| 1127 | naeeym2.AlwaysOnTop = true | |
| 1128 | naeeym2.Size = UDim2.new(5,35,2,15) | |
| 1129 | naeeym2.StudsOffset = Vector3.new(0,2,0) | |
| 1130 | naeeym2.MaxDistance = 75 | |
| 1131 | naeeym2.Adornee = hed | |
| 1132 | naeeym2.Name = "Name" | |
| 1133 | --naeeym2.PlayerToHideFrom = Player | |
| 1134 | local tecks2 = IT("TextLabel",naeeym2)
| |
| 1135 | tecks2.BackgroundTransparency = 1 | |
| 1136 | tecks2.TextScaled = true | |
| 1137 | tecks2.BorderSizePixel = 0 | |
| 1138 | - | tecks2.Text = "your nightmare" |
| 1138 | + | tecks2.Text = "jeffy" |
| 1139 | tecks2.Font = "Fantasy" | |
| 1140 | tecks2.TextSize = 30 | |
| 1141 | tecks2.TextStrokeTransparency = 0 | |
| 1142 | tecks2.TextColor3 = Color3.new(1,1,1) | |
| 1143 | tecks2.TextStrokeColor3 = Color3.fromRGB(177, 167, 255) | |
| 1144 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1145 | tecks2.Parent = naeeym2 | |
| 1146 | local top = Instance.new("Shirt")
| |
| 1147 | top.ShirtTemplate = "rbxassetid://338740550" | |
| 1148 | top.Parent = char | |
| 1149 | top.Name = "Cloth" | |
| 1150 | local bottom = Instance.new("Pants")
| |
| 1151 | bottom.PantsTemplate = "rbxassetid://338750779" | |
| 1152 | bottom.Parent = char | |
| 1153 | bottom.Name = "Cloth" | |
| 1154 | ---------------------------------------------------------------------------------- | |
| 1155 | --[[ | |
| 1156 | Thanks for using Build-To-Lua by jarredbcv. | |
| 1157 | ]]-- | |
| 1158 | ||
| 1159 | New = function(Object, Parent, Name, Data) | |
| 1160 | local Object = Instance.new(Object) | |
| 1161 | for Index, Value in pairs(Data or {}) do
| |
| 1162 | Object[Index] = Value | |
| 1163 | end | |
| 1164 | Object.Parent = Parent | |
| 1165 | Object.Name = Name | |
| 1166 | return Object | |
| 1167 | end | |
| 1168 | ||
| 1169 | Eyo = New("Model",char,"Eyo",{})
| |
| 1170 | - | Eye = New("Part",Eyo,"Eye",{BrickColor = BrickColor.new("Institutional white"),Shape = Enum.PartType.Ball,Size = Vector3.new(1.96000075, 1.96000075, 1.96000075),CFrame = CFrame.new(-137.175568, 1.33095813, -17.0833168, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
|
| 1170 | + | Eye = New("Part",Eyo,"Eye",{BrickColor = BrickColor.new("Yellow"),Shape = Enum.PartType.Ball,Size = Vector3.new(1.96000075, 1.96000075, 1.96000075),CFrame = CFrame.new(-137.175568, 1.33095813, -17.0833168, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
|
| 1171 | Pupil = New("Part",Eyo,"Pupil",{BrickColor = BrickColor.new("Black"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.37000075, 0.37000075, 0.37000075),CFrame = CFrame.new(-137.235779, 1.42530513, -18.0334377, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 1172 | mot = New("Motor",Pupil,"mot",{Part0 = Pupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0602111816, 0.0943470001, -0.950120926, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
| |
| 1173 | TopHat2 = New("Part",Eyo,"TopHat2",{BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0500000007, 1, 1),CFrame = CFrame.new(-137.740799, 2.24810791, -17.0272255, 0.458347857, 0.877660632, -0.140108809, -0.888243496, 0.446898967, -0.106327571, -0.0307050757, 0.173186749, 0.984412611),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1174 | mot = New("Motor",TopHat2,"mot",{Part0 = TopHat2,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.458347201, -0.88824302, -0.0307050198, 0.877660394, 0.446899265, 0.173186243, -0.140109047, -0.106327735, 0.98441118),C1 = CFrame.new(-0.565231323, 0.917149663, 0.0560913086, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
| |
| 1175 | TopHat1 = New("Part",Eyo,"TopHat1",{BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.54000056, 1.80000043, 0.780000567),CFrame = CFrame.new(-138.100586, 2.94428444, -17.0250435, 0.457500041, 0.889210463, 3.57628181e-07, -0.88921082, 0.45749861, 2.01165761e-07, -1.52640816e-08, 4.10039718e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1176 | mot = New("Motor",TopHat1,"mot",{Part0 = TopHat1,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.457499385, -0.889210343, -5.08804376e-09, 0.889210224, 0.457498908, 1.36679802e-07, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.925018311, 1.61332572, 0.0582733154, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
| |
| 1177 | OuterPupil = New("Part",Eyo,"OuterPupil",{BrickColor = BrickColor.new("Alder"),Material = Enum.Material.Neon,Shape = Enum.PartType.Ball,Size = Vector3.new(1.0000006, 1.0000006, 1.0000006),CFrame = CFrame.new(-137.20755, 1.40179217, -17.6748943, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.705882, 0.501961, 1),})
| |
| 1178 | mot = New("Motor",OuterPupil,"mot",{Part0 = OuterPupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0319824219, 0.0708340406, -0.59157753, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
| |
| 1179 | TopHat3 = New("Part",Eyo,"TopHat3",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.779999912, 0.5, 0.769999981),CFrame = CFrame.new(-138.460098, 3.63034701, -17.0150394, -0.258819818, -0.455481321, 0.851792634, -5.44427401e-08, 0.881841302, 0.471547186, -0.965928435, 0.122045919, -0.228237376),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 1180 | Mesh = New("SpecialMesh",TopHat3,"Mesh",{MeshType = Enum.MeshType.Sphere,})
| |
| 1181 | mot = New("Motor",TopHat3,"mot",{Part0 = TopHat3,Part1 = Eye,C0 = CFrame.new(0, 0, 0, -0.258819461, -4.83165614e-08, -0.965926886, -0.455480665, 0.881840825, 0.122045726, 0.851792514, 0.471547544, -0.228237316),C1 = CFrame.new(-1.28453064, 2.29938841, 0.068277359, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
| |
| 1182 | ||
| 1183 | local NewInstance = function(instance,parent,properties) | |
| 1184 | local inst = Instance.new(instance,parent) | |
| 1185 | if(properties)then | |
| 1186 | for i,v in next, properties do | |
| 1187 | pcall(function() inst[i] = v end) | |
| 1188 | end | |
| 1189 | end | |
| 1190 | return inst; | |
| 1191 | end | |
| 1192 | ||
| 1193 | local HW = NewInstance('Weld',char,{Part0=tors, Part1=Eye, C0 = CF(0,4,0) * angles(0,0,0)})
| |
| 1194 | for i,v in pairs(char:children()) do | |
| 1195 | if v:IsA("Hat") then
| |
| 1196 | v:Destroy() | |
| 1197 | end | |
| 1198 | end | |
| 1199 | for i,v in pairs(char:children()) do | |
| 1200 | if v:IsA("Accessory") then
| |
| 1201 | v:Destroy() | |
| 1202 | end | |
| 1203 | end | |
| 1204 | hed.Transparency = 1 | |
| 1205 | hed.face:Remove() | |
| 1206 | ------------------------------------------------------- | |
| 1207 | --End Customization-- | |
| 1208 | ------------------------------------------------------- | |
| 1209 | ||
| 1210 | ||
| 1211 | ------------------------------------------------------- | |
| 1212 | --Start Attacks N Stuff-- | |
| 1213 | ------------------------------------------------------- | |
| 1214 | function Taunt1() | |
| 1215 | attack = true | |
| 1216 | hum.WalkSpeed = 0 | |
| 1217 | for i = 0, 9, 0.1 do | |
| 1218 | swait() | |
| 1219 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.15) | |
| 1220 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1221 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(15)), 0.15) | |
| 1222 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-15)), 0.15) | |
| 1223 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12) | |
| 1224 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1225 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1226 | end | |
| 1227 | attack = false | |
| 1228 | hum.WalkSpeed = 10 | |
| 1229 | end | |
| 1230 | function Taunt2() | |
| 1231 | attack = true | |
| 1232 | hum.WalkSpeed = 0 | |
| 1233 | --Cso("221057812", hed, 10, 1.1)
| |
| 1234 | for i = 0, 2, 0.1 do | |
| 1235 | swait() | |
| 1236 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1237 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1238 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1239 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1240 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1241 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1242 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1243 | end | |
| 1244 | for i = 0, 6, 0.1 do | |
| 1245 | swait() | |
| 1246 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1247 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15) | |
| 1248 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1249 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1250 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1251 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1252 | HW.C0 = clerp(HW.C0, CF(0, 4 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0 - 255.45 * i), Rad(0), Rad(0)), 0.15) | |
| 1253 | end | |
| 1254 | for i = 0, 2, 0.1 do | |
| 1255 | swait() | |
| 1256 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1257 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1258 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1259 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1260 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1261 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1262 | HW.C0 = clerp(HW.C0, CF(0, 1.8, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1263 | end | |
| 1264 | attack = false | |
| 1265 | hum.WalkSpeed = 10 | |
| 1266 | end | |
| 1267 | function Astigmatism() | |
| 1268 | attack = true | |
| 1269 | hum.WalkSpeed = 0 | |
| 1270 | local Ring1 = Instance.new("Part", char)
| |
| 1271 | Ring1.Anchored = true | |
| 1272 | Ring1.BrickColor = maincolor | |
| 1273 | Ring1.CanCollide = false | |
| 1274 | Ring1.FormFactor = 3 | |
| 1275 | Ring1.Name = "Ring" | |
| 1276 | Ring1.Material = "Neon" | |
| 1277 | Ring1.Size = Vector3.new(1, 0.05, 1) | |
| 1278 | Ring1.Transparency = 1 | |
| 1279 | Ring1.TopSurface = 0 | |
| 1280 | Ring1.BottomSurface = 0 | |
| 1281 | local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
| |
| 1282 | Ring1Mesh.MeshType = "Brick" | |
| 1283 | Ring1Mesh.Name = "SizeMesh" | |
| 1284 | Ring1Mesh.Scale = Vector3.new(0, 1, 0) | |
| 1285 | local InnerRing1 = Ring1:Clone() | |
| 1286 | InnerRing1.Parent = char | |
| 1287 | InnerRing1.Transparency = 0 | |
| 1288 | InnerRing1.BrickColor = BrickColor.new("New Yeller")
| |
| 1289 | InnerRing1.Size = Vector3.new(1, 1, 1) | |
| 1290 | local InnerRing1Mesh = InnerRing1.SizeMesh | |
| 1291 | InnerRing1Mesh.Scale = Vector3.new(0, 0, 0) | |
| 1292 | InnerRing1Mesh.MeshType = "Sphere" | |
| 1293 | Ring1:Destroy() | |
| 1294 | for i = 0, 6, 0.1 do | |
| 1295 | swait() | |
| 1296 | --orb.CFrame = Pupil.CFrame | |
| 1297 | Aura(7, 0.12, "Add", Pupil.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere") | |
| 1298 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1299 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1300 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1301 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1302 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1303 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1304 | HW.C0 = clerp(HW.C0, CF(0, 3 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1305 | end | |
| 1306 | InnerRing1.Transparency = 1 | |
| 1307 | InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 5 | |
| 1308 | Cso("294188875", char, 2.3, 1)
| |
| 1309 | local a = IT("Part", char)
| |
| 1310 | a.Name = "Direction" | |
| 1311 | a.Anchored = true | |
| 1312 | a.BrickColor = BrickC("Pastel violet")
| |
| 1313 | a.Material = "SmoothPlastic" | |
| 1314 | a.Transparency = 0 | |
| 1315 | a.Shape = "Cylinder" | |
| 1316 | a.CanCollide = false | |
| 1317 | local a2 = IT("Part", char)
| |
| 1318 | a2.Name = "Direction" | |
| 1319 | a2.Anchored = true | |
| 1320 | a2.BrickColor = maincolor | |
| 1321 | a2.Color = maincolor.Color | |
| 1322 | a2.Material = "Neon" | |
| 1323 | a2.Transparency = 0.7 | |
| 1324 | a2.Shape = "Cylinder" | |
| 1325 | a2.CanCollide = false | |
| 1326 | local ba = IT("Part", char)
| |
| 1327 | ba.Name = "HitDirect" | |
| 1328 | ba.Anchored = true | |
| 1329 | ba.BrickColor = maincolor | |
| 1330 | ba.Material = "Neon" | |
| 1331 | ba.Transparency = 1 | |
| 1332 | ba.CanCollide = false | |
| 1333 | local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
| 1334 | local ignore = char | |
| 1335 | local hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 1336 | a.BottomSurface = 10 | |
| 1337 | a.TopSurface = 10 | |
| 1338 | a2.BottomSurface = 10 | |
| 1339 | a2.TopSurface = 10 | |
| 1340 | local distance = (InnerRing1.CFrame.p - position).magnitude | |
| 1341 | a.Size = Vector3.new(distance, 1, 1) | |
| 1342 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 1343 | a2.Size = Vector3.new(distance, 1, 1) | |
| 1344 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 1345 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
| 1346 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
| 1347 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
| 1348 | game:GetService("Debris"):AddItem(a, 20)
| |
| 1349 | game:GetService("Debris"):AddItem(a2, 20)
| |
| 1350 | game:GetService("Debris"):AddItem(ba, 20)
| |
| 1351 | local msh = Instance.new("SpecialMesh", a)
| |
| 1352 | msh.MeshType = "Brick" | |
| 1353 | msh.Scale = Vector3.new(1, 5, 5) | |
| 1354 | local msh2 = Instance.new("SpecialMesh", a2)
| |
| 1355 | msh2.MeshType = "Brick" | |
| 1356 | msh2.Scale = Vector3.new(1, 7, 7) | |
| 1357 | for i = 0, 10, 0.1 do | |
| 1358 | swait() | |
| 1359 | CameraEnshaking(1, 5) | |
| 1360 | a2.Color = maincolor.Color | |
| 1361 | root.CFrame = FaceMouse()[1] | |
| 1362 | InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 4 | |
| 1363 | ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000) | |
| 1364 | hit, position, normal = workspace:FindPartOnRay(ray, ignore) | |
| 1365 | distance = (InnerRing1.CFrame.p - position).magnitude | |
| 1366 | a.Size = Vector3.new(distance, 1, 1) | |
| 1367 | a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 1368 | a2.Size = Vector3.new(distance, 1, 1) | |
| 1369 | a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2) | |
| 1370 | ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance) | |
| 1371 | a.CFrame = a.CFrame * angles(0, Rad(90), 0) | |
| 1372 | a2.CFrame = a2.CFrame * angles(0, Rad(90), 0) | |
| 1373 | msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05) | |
| 1374 | msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03) | |
| 1375 | Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere") | |
| 1376 | for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do | |
| 1377 | if v:FindFirstChild("Head") then
| |
| 1378 | Eviscerate(v) | |
| 1379 | end | |
| 1380 | end | |
| 1381 | end | |
| 1382 | a:Destroy() | |
| 1383 | a2:Destroy() | |
| 1384 | ba:Destroy() | |
| 1385 | InnerRing1:Destroy() | |
| 1386 | attack = false | |
| 1387 | hum.WalkSpeed = 10 | |
| 1388 | hum.CameraOffset = Vector3.new(0,0,0) | |
| 1389 | end | |
| 1390 | function EyeThrow() | |
| 1391 | attack = true | |
| 1392 | hum.WalkSpeed = 3.01 | |
| 1393 | for i = 0, 6, 0.1 do | |
| 1394 | swait() | |
| 1395 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1396 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1397 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1398 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1399 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.7 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(215 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1400 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1401 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1402 | end | |
| 1403 | local Head01 = Eye:Clone() | |
| 1404 | Head01.Parent = char | |
| 1405 | Eye.Transparency = 1 | |
| 1406 | local weldHead01 = IT("Weld")
| |
| 1407 | weldHead01.Parent = Head01 | |
| 1408 | weldHead01.Part0 = ra | |
| 1409 | weldHead01.Part1 = Head01 | |
| 1410 | weldHead01.C1 = CF(0, 0, 1.2) * angles(Rad(90), Rad(0), Rad(0)) | |
| 1411 | for i = 0, 6, 0.1 do | |
| 1412 | swait() | |
| 1413 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(-20)), 0.2) | |
| 1414 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3) | |
| 1415 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2) | |
| 1416 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2) | |
| 1417 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2) | |
| 1418 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2) | |
| 1419 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(20), Rad(0)), 0.1) | |
| 1420 | end | |
| 1421 | local A = IT("Attachment",Head01)
| |
| 1422 | A.Position = Vector3.new(-0, 0.2, 0.136) | |
| 1423 | local B = IT("Attachment",Head01)
| |
| 1424 | B.Position = Vector3.new(-0, -0.95, -0.982) | |
| 1425 | local Trail = IT("Trail",Head01)
| |
| 1426 | Trail.Attachment0 = B | |
| 1427 | Trail.Attachment1 = A | |
| 1428 | Trail.Lifetime = 0.6 | |
| 1429 | Trail.Transparency = NumberSequence.new(0.5, 1) | |
| 1430 | Trail.Texture = "http://www.roblox.com/asset/?id=1472703539" | |
| 1431 | Trail.Enabled = true | |
| 1432 | weldHead01:Destroy() | |
| 1433 | Head01.CanCollide = true | |
| 1434 | local bodyVelocity2 = Create("BodyVelocity")({
| |
| 1435 | velocity = (mouse.Hit.p - Head01.CFrame.p).unit * 165, | |
| 1436 | P = 5000, | |
| 1437 | maxForce = Vector3.new(8000, 8000, 8000), | |
| 1438 | Parent = Head01 | |
| 1439 | }) | |
| 1440 | game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
| |
| 1441 | Head01.Touched:connect(function(hit) | |
| 1442 | if(not char:IsAncestorOf(hit))then | |
| 1443 | local hum = (hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid') | |
| 1444 | local hedder = (hit and hit.Parent and hit.Parent:FindFirstChild'Head') | |
| 1445 | if(hum and hedder and hum.Health > 0)then | |
| 1446 | Eviscerate(hit.Parent) | |
| 1447 | Cso("491296320", hit.Parent.Torso, 10, 1)
| |
| 1448 | end | |
| 1449 | end | |
| 1450 | end) | |
| 1451 | for i = 0, 2, 0.1 do | |
| 1452 | swait() | |
| 1453 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(40)), 0.2) | |
| 1454 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.3) | |
| 1455 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2) | |
| 1456 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2) | |
| 1457 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-134), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2) | |
| 1458 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1) | |
| 1459 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.2) | |
| 1460 | end | |
| 1461 | for i = 0, 6, 0.1 do | |
| 1462 | swait() | |
| 1463 | Eye.Transparency = Eye.Transparency - 0.05 | |
| 1464 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(40)), 0.2) | |
| 1465 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.2) | |
| 1466 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2) | |
| 1467 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2) | |
| 1468 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-134), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2) | |
| 1469 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.2) | |
| 1470 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.1) | |
| 1471 | end | |
| 1472 | coroutine.resume(coroutine.create(function() | |
| 1473 | for i = 0, 1.8, 0.05 do | |
| 1474 | swait() | |
| 1475 | Head01.Transparency = i | |
| 1476 | end | |
| 1477 | Head01:Destroy() | |
| 1478 | end)) | |
| 1479 | --Head01:Destory() | |
| 1480 | attack = false | |
| 1481 | Trail.Enabled = false | |
| 1482 | hum.WalkSpeed = 10 | |
| 1483 | end | |
| 1484 | function Call_Upon_The_Eyes() | |
| 1485 | attack = true | |
| 1486 | hum.WalkSpeed = 0 | |
| 1487 | for i = 0, 6, 0.1 do | |
| 1488 | swait() | |
| 1489 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1490 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1491 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1492 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1493 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1494 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1495 | HW.C0 = clerp(HW.C0, CF(0, 3.5 + 0.2 * Cos(sine / 20), 0) * angles(Rad(90), Rad(0), Rad(0)), 0.1) | |
| 1496 | end | |
| 1497 | Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 1498 | Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 1499 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere") | |
| 1500 | Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
| 1501 | CameraEnshaking(4, 25) | |
| 1502 | for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do | |
| 1503 | if v:FindFirstChild("Head") then
| |
| 1504 | Eviscerate(v) | |
| 1505 | end | |
| 1506 | end | |
| 1507 | for i = 0, 6, 0.1 do | |
| 1508 | swait() | |
| 1509 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1510 | neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1511 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1512 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1513 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2) | |
| 1514 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1515 | HW.C0 = clerp(HW.C0, CF(0, 3 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0 - 255.45 * i), Rad(0), Rad(0)), 0.15) | |
| 1516 | end | |
| 1517 | attack = false | |
| 1518 | hum.WalkSpeed = 10 | |
| 1519 | end | |
| 1520 | function Eyeyeyeyeyeyey_Slammo() | |
| 1521 | attack = true | |
| 1522 | hum.WalkSpeed = 0 | |
| 1523 | local Blobby = IT("Part", char)
| |
| 1524 | Blobby.Name = "Blob" | |
| 1525 | Blobby.CanCollide = false | |
| 1526 | Blobby.BrickColor = BrickC("Really black")
| |
| 1527 | Blobby.Transparency = 0 | |
| 1528 | Blobby.Material = "Plastic" | |
| 1529 | Blobby.Size = Vector3.new(1, 1, 2) | |
| 1530 | Blobby.TopSurface = Enum.SurfaceType.Smooth | |
| 1531 | Blobby.BottomSurface = Enum.SurfaceType.Smooth | |
| 1532 | ||
| 1533 | local Weld = IT("Weld", Blobby)
| |
| 1534 | Weld.Part0 = hed | |
| 1535 | Weld.Part1 = Blobby | |
| 1536 | Weld.C1 = CF(0, -17.6, 1.4) | |
| 1537 | Weld.C0 = angles(Rad(0),0,0) | |
| 1538 | ||
| 1539 | local M2 = IT("SpecialMesh")
| |
| 1540 | M2.Parent = Blobby | |
| 1541 | M2.MeshId = "http://www.roblox.com/asset/?id=1185246" | |
| 1542 | M2.TextureId = "http://www.roblox.com/asset/?id=28301750" | |
| 1543 | M2.Scale = Vector3.new(45.65, 45.65, 45.65) | |
| 1544 | for i = 0, 6, 0.1 do | |
| 1545 | swait() | |
| 1546 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.2) | |
| 1547 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1548 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1549 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1550 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1551 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1552 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1553 | end | |
| 1554 | Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere") | |
| 1555 | Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere") | |
| 1556 | Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere") | |
| 1557 | for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do | |
| 1558 | if v:FindFirstChild("Head") then
| |
| 1559 | Eviscerate(v) | |
| 1560 | end | |
| 1561 | end | |
| 1562 | CameraEnshaking(4, 25) | |
| 1563 | for i = 0, 6, 0.1 do | |
| 1564 | swait() | |
| 1565 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1566 | neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1567 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15) | |
| 1568 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15) | |
| 1569 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1570 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1571 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1572 | end | |
| 1573 | Blobby:Destroy() | |
| 1574 | attack = false | |
| 1575 | hum.WalkSpeed = 10 | |
| 1576 | end | |
| 1577 | ------------------------------------------------------- | |
| 1578 | --End Attacks N Stuff-- | |
| 1579 | ------------------------------------------------------- | |
| 1580 | mouse.KeyDown:connect(function(key) | |
| 1581 | if attack == false then | |
| 1582 | if key == 't' then | |
| 1583 | Taunt1() | |
| 1584 | elseif key == 'y' then | |
| 1585 | Taunt2() | |
| 1586 | elseif key == 'z' then | |
| 1587 | Astigmatism() | |
| 1588 | elseif key == 'x' then | |
| 1589 | EyeThrow() | |
| 1590 | elseif key == 'c' then | |
| 1591 | Call_Upon_The_Eyes() | |
| 1592 | elseif key == 'v' then | |
| 1593 | Eyeyeyeyeyeyey_Slammo() | |
| 1594 | end | |
| 1595 | end | |
| 1596 | end) | |
| 1597 | ||
| 1598 | ||
| 1599 | ||
| 1600 | ||
| 1601 | ||
| 1602 | ||
| 1603 | ||
| 1604 | ||
| 1605 | ||
| 1606 | ------------------------------------------------------- | |
| 1607 | --Start Animations-- | |
| 1608 | ------------------------------------------------------- | |
| 1609 | while true do | |
| 1610 | swait() | |
| 1611 | sine = sine + change | |
| 1612 | local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1613 | local velderp = root.Velocity.y | |
| 1614 | hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char) | |
| 1615 | if equipped == true or equipped == false then | |
| 1616 | if attack == false then | |
| 1617 | idle = idle + 1 | |
| 1618 | else | |
| 1619 | idle = 0 | |
| 1620 | end | |
| 1621 | if 1 < root.Velocity.y and hitfloor == nil then | |
| 1622 | Anim = "Jump" | |
| 1623 | if attack == false then | |
| 1624 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15) | |
| 1625 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1626 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1627 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15) | |
| 1628 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1) | |
| 1629 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1) | |
| 1630 | end | |
| 1631 | elseif -1 > root.Velocity.y and hitfloor == nil then | |
| 1632 | Anim = "Fall" | |
| 1633 | if attack == false then | |
| 1634 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15) | |
| 1635 | neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1636 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
| 1637 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15) | |
| 1638 | RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1) | |
| 1639 | LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1) | |
| 1640 | end | |
| 1641 | elseif torvel < 1 and hitfloor ~= nil then | |
| 1642 | Anim = "Idle" | |
| 1643 | change = .5 | |
| 1644 | if attack == false then | |
| 1645 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15) | |
| 1646 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3) | |
| 1647 | RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1648 | LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15) | |
| 1649 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1650 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1651 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1652 | end | |
| 1653 | elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then | |
| 1654 | Anim = "Walk" | |
| 1655 | change = 1 | |
| 1656 | if attack == false then | |
| 1657 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15) | |
| 1658 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 1659 | RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 1660 | LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 1661 | RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1662 | LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12) | |
| 1663 | HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1) | |
| 1664 | end | |
| 1665 | elseif torvel >= 25 and hitfloor ~= nil then | |
| 1666 | Anim = "Sprint" | |
| 1667 | change = 1.35 | |
| 1668 | if attack == false then | |
| 1669 | rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15) | |
| 1670 | tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3) | |
| 1671 | RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 1672 | LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) | |
| 1673 | RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15) | |
| 1674 | LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15) | |
| 1675 | end | |
| 1676 | end | |
| 1677 | end | |
| 1678 | for _, c in pairs(char:GetChildren()) do | |
| 1679 | if c.ClassName == "Part" and c.Name ~= "Detail" then | |
| 1680 | --c.Material = "Fabric" | |
| 1681 | if c:FindFirstChildOfClass("ParticleEmitter") then
| |
| 1682 | c:FindFirstChildOfClass("ParticleEmitter"):remove()
| |
| 1683 | end | |
| 1684 | if c ~= hed then | |
| 1685 | --c.Color = C3(0,0,0) | |
| 1686 | else | |
| 1687 | c.Color = Color3.new(1,1,1) | |
| 1688 | end | |
| 1689 | elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
| 1690 | c:remove() | |
| 1691 | elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then | |
| 1692 | c:remove() | |
| 1693 | end | |
| 1694 | end | |
| 1695 | - | Music.SoundId = "rbxassetid://2521392429" |
| 1695 | + | Music.SoundId = "rbxassetid://1304913275" |
| 1696 | Music.Looped = true | |
| 1697 | Music.Pitch = 1 | |
| 1698 | Music.Volume = 5 | |
| 1699 | Music.Parent = tors | |
| 1700 | Music:Resume() | |
| 1701 | if 0 < #Effects then | |
| 1702 | for e = 1, #Effects do | |
| 1703 | if Effects[e] ~= nil then | |
| 1704 | local Thing = Effects[e] | |
| 1705 | if Thing ~= nil then | |
| 1706 | local Part = Thing[1] | |
| 1707 | local Mode = Thing[2] | |
| 1708 | local Delay = Thing[3] | |
| 1709 | local IncX = Thing[4] | |
| 1710 | local IncY = Thing[5] | |
| 1711 | local IncZ = Thing[6] | |
| 1712 | if 1 >= Thing[1].Transparency then | |
| 1713 | if Thing[2] == "Block1" then | |
| 1714 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
| 1715 | local Mesh = Thing[1].Mesh | |
| 1716 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1717 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1718 | elseif Thing[2] == "Block2" then | |
| 1719 | Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0) | |
| 1720 | local Mesh = Thing[7] | |
| 1721 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1722 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1723 | elseif Thing[2] == "Block3" then | |
| 1724 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0) | |
| 1725 | local Mesh = Thing[7] | |
| 1726 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1727 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1728 | elseif Thing[2] == "Cylinder" then | |
| 1729 | local Mesh = Thing[1].Mesh | |
| 1730 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1731 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1732 | elseif Thing[2] == "Blood" then | |
| 1733 | local Mesh = Thing[7] | |
| 1734 | Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) | |
| 1735 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
| 1736 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1737 | elseif Thing[2] == "Elec" then | |
| 1738 | local Mesh = Thing[1].Mesh | |
| 1739 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
| 1740 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1741 | elseif Thing[2] == "Disappear" then | |
| 1742 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1743 | elseif Thing[2] == "Shatter" then | |
| 1744 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
| 1745 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
| 1746 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
| 1747 | Thing[6] = Thing[6] + Thing[5] | |
| 1748 | end | |
| 1749 | else | |
| 1750 | Part.Parent = nil | |
| 1751 | table.remove(Effects, e) | |
| 1752 | end | |
| 1753 | end | |
| 1754 | end | |
| 1755 | end | |
| 1756 | end | |
| 1757 | end | |
| 1758 | ------------------------------------------------------- | |
| 1759 | --End Animations And Script-- | |
| 1760 | ------------------------------------------------------- |