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