Advertisement
wanTH092

Byeeeeee

Mar 19th, 2018
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 58.44 KB | None | 0 0
  1. -----------------------
  2. --Bye Bye--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Probably my most brutal script yet :joy:
  7.  
  8. --Discord Creterisk#2958
  9.     --Discord Server discord.gg/r7mfmPa self advertisement ftw
  10. -------------------------------------------------------
  11.  
  12. local FavIDs = {
  13.     340106355, --Nefl Crystals
  14.     927529620, --Dimension
  15.     876981900, --Fantasy
  16.     398987889, --Ordinary Days
  17.     1117396305, --Oh wait, it's you.
  18.     885996042, --Action Winter Journey
  19.     919231299, --Sprawling Idiot Effigy
  20.     743466274, --Good Day Sunshine
  21.     727411183, --Knife Fight
  22.     1402748531, --The Earth Is Counting On You!
  23.     595230126 --Robot Language
  24.     }
  25.  
  26.  
  27.  
  28. --The reality of my life isn't real but a Universe -makhail07
  29. wait()
  30. local plr = game:service'Players'.LocalPlayer
  31. print('Local User is '..plr.Name)
  32. local char = plr.Character
  33. local hum = char.Humanoid
  34. local ra = char["Right Arm"]
  35. local la= char["Left Arm"]
  36. local rl= char["Right Leg"]
  37. local ll = char["Left Leg"]
  38. local hed = char.Head
  39. local root = char.HumanoidRootPart
  40. local rootj = root.RootJoint
  41. local tors = char.Torso
  42. local mouse = plr:GetMouse()
  43. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  44. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  45. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  46.  
  47.  
  48. -------------------------------------------------------
  49. --Start Good Stuff--
  50. -------------------------------------------------------
  51. CF = CFrame.new
  52. angles = CFrame.Angles
  53. attack = false
  54. Euler = CFrame.fromEulerAnglesXYZ
  55. Rad = math.rad
  56. IT = Instance.new
  57. BrickC = BrickColor.new
  58. Cos = math.cos
  59. Acos = math.acos
  60. Sin = math.sin
  61. Asin = math.asin
  62. Abs = math.abs
  63. Mrandom = math.random
  64. Floor = math.floor
  65. -------------------------------------------------------
  66. --End Good Stuff--
  67. -------------------------------------------------------
  68. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  69. RSH, LSH = nil, nil
  70. RW = Instance.new("Weld")
  71. LW = Instance.new("Weld")
  72. RH = tors["Right Hip"]
  73. LH = tors["Left Hip"]
  74. RSH = tors["Right Shoulder"]
  75. LSH = tors["Left Shoulder"]
  76. RSH.Parent = nil
  77. LSH.Parent = nil
  78. RW.Name = "RW"
  79. RW.Part0 = tors
  80. RW.C0 = CF(1.5, 0.5, 0)
  81. RW.C1 = CF(0, 0.5, 0)
  82. RW.Part1 = ra
  83. RW.Parent = tors
  84. LW.Name = "LW"
  85. LW.Part0 = tors
  86. LW.C0 = CF(-1.5, 0.5, 0)
  87. LW.C1 = CF(0, 0.5, 0)
  88. LW.Part1 = la
  89. LW.Parent = tors
  90. Effects = {}
  91.  
  92. -------------------------------------------------------
  93. --Start HeartBeat--
  94. -------------------------------------------------------
  95. ArtificialHB = Instance.new("BindableEvent", script)
  96. ArtificialHB.Name = "Heartbeat"
  97. script:WaitForChild("Heartbeat")
  98.  
  99. frame = 1 / 60
  100. tf = 0
  101. allowframeloss = false
  102. tossremainder = false
  103.  
  104.  
  105. lastframe = tick()
  106. script.Heartbeat:Fire()
  107.  
  108.  
  109. game:GetService("RunService").Heartbeat:connect(function(s, p)
  110.     tf = tf + s
  111.     if tf >= frame then
  112.         if allowframeloss then
  113.             script.Heartbeat:Fire()
  114.             lastframe = tick()
  115.         else
  116.             for i = 1, math.floor(tf / frame) do
  117.                 script.Heartbeat:Fire()
  118.             end
  119.             lastframe = tick()
  120.         end
  121.         if tossremainder then
  122.             tf = 0
  123.         else
  124.             tf = tf - frame * math.floor(tf / frame)
  125.         end
  126.     end
  127. end)
  128. -------------------------------------------------------
  129. --End HeartBeat--
  130. -------------------------------------------------------
  131.  
  132. -------------------------------------------------------
  133. --Start Important Functions--
  134. -------------------------------------------------------
  135. function swait(num)
  136.     if num == 0 or num == nil then
  137.         game:service("RunService").Stepped:wait(0)
  138.     else
  139.         for i = 0, num do
  140.             game:service("RunService").Stepped:wait(0)
  141.         end
  142.     end
  143. end
  144. function thread(f)
  145.     coroutine.resume(coroutine.create(f))
  146. end
  147. function clerp(a, b, t)
  148.     local qa = {
  149.         QuaternionFromCFrame(a)
  150.     }
  151.     local qb = {
  152.         QuaternionFromCFrame(b)
  153.     }
  154.     local ax, ay, az = a.x, a.y, a.z
  155.     local bx, by, bz = b.x, b.y, b.z
  156.     local _t = 1 - t
  157.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  158. end
  159. function QuaternionFromCFrame(cf)
  160.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  161.     local trace = m00 + m11 + m22
  162.     if trace > 0 then
  163.         local s = math.sqrt(1 + trace)
  164.         local recip = 0.5 / s
  165.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  166.     else
  167.         local i = 0
  168.         if m00 < m11 then
  169.             i = 1
  170.         end
  171.         if m22 > (i == 0 and m00 or m11) then
  172.             i = 2
  173.         end
  174.         if i == 0 then
  175.             local s = math.sqrt(m00 - m11 - m22 + 1)
  176.             local recip = 0.5 / s
  177.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  178.         elseif i == 1 then
  179.             local s = math.sqrt(m11 - m22 - m00 + 1)
  180.             local recip = 0.5 / s
  181.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  182.         elseif i == 2 then
  183.             local s = math.sqrt(m22 - m00 - m11 + 1)
  184.             local recip = 0.5 / s
  185.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  186.         end
  187.     end
  188. end
  189. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  190.     local xs, ys, zs = x + x, y + y, z + z
  191.     local wx, wy, wz = w * xs, w * ys, w * zs
  192.     local xx = x * xs
  193.     local xy = x * ys
  194.     local xz = x * zs
  195.     local yy = y * ys
  196.     local yz = y * zs
  197.     local zz = z * zs
  198.     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))
  199. end
  200. function QuaternionSlerp(a, b, t)
  201.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  202.     local startInterp, finishInterp
  203.     if cosTheta >= 1.0E-4 then
  204.         if 1 - cosTheta > 1.0E-4 then
  205.             local theta = math.acos(cosTheta)
  206.             local invSinTheta = 1 / Sin(theta)
  207.             startInterp = Sin((1 - t) * theta) * invSinTheta
  208.             finishInterp = Sin(t * theta) * invSinTheta
  209.         else
  210.             startInterp = 1 - t
  211.             finishInterp = t
  212.         end
  213.     elseif 1 + cosTheta > 1.0E-4 then
  214.         local theta = math.acos(-cosTheta)
  215.         local invSinTheta = 1 / Sin(theta)
  216.         startInterp = Sin((t - 1) * theta) * invSinTheta
  217.         finishInterp = Sin(t * theta) * invSinTheta
  218.     else
  219.         startInterp = t - 1
  220.         finishInterp = t
  221.     end
  222.     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
  223. end
  224. function rayCast(Position, Direction, Range, Ignore)
  225.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  226. end
  227. local RbxUtility = LoadLibrary("RbxUtility")
  228. local Create = RbxUtility.Create
  229.  
  230. -------------------------------------------------------
  231. --Start Damage Function--
  232. -------------------------------------------------------
  233. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  234.     if hit.Parent == nil then
  235.         return
  236.     end
  237.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  238.     for _, v in pairs(hit.Parent:children()) do
  239.         if v:IsA("Humanoid") then
  240.             h = v
  241.         end
  242.     end
  243.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  244.    
  245.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  246.          end
  247.  
  248.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  249.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  250.             if hit.Parent.DebounceHit.Value == true then
  251.                 return
  252.             end
  253.         end
  254.          if insta == true then
  255.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  256.          end
  257.         local c = Create("ObjectValue"){
  258.             Name = "creator",
  259.             Value = game:service("Players").LocalPlayer,
  260.             Parent = h,
  261.         }
  262.         game:GetService("Debris"):AddItem(c, .5)
  263.         if HitSound ~= nil and HitPitch ~= nil then
  264.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  265.         end
  266.         local Damage = math.random(minim, maxim)
  267.         local blocked = false
  268.         local block = hit.Parent:findFirstChild("Block")
  269.         if block ~= nil then
  270.             if block.className == "IntValue" then
  271.                 if block.Value > 0 then
  272.                     blocked = true
  273.                     block.Value = block.Value - 1
  274.                     print(block.Value)
  275.                 end
  276.             end
  277.         end
  278.         if blocked == false then
  279.             h.Health = h.Health - Damage
  280.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  281.         else
  282.             h.Health = h.Health - (Damage / 2)
  283.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  284.         end
  285.         if Type == "Knockdown" then
  286.             local hum = hit.Parent.Humanoid
  287.             hum.PlatformStand = true
  288.             coroutine.resume(coroutine.create(function(HHumanoid)
  289.                 swait(1)
  290.                 HHumanoid.PlatformStand = false
  291.             end), hum)
  292.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  293.             local bodvol = Create("BodyVelocity"){
  294.                 velocity = angle * knockback,
  295.                 P = 5000,
  296.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  297.                 Parent = hit,
  298.             }
  299.             local rl = Create("BodyAngularVelocity"){
  300.                 P = 3000,
  301.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  302.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  303.                 Parent = hit,
  304.             }
  305.             game:GetService("Debris"):AddItem(bodvol, .5)
  306.             game:GetService("Debris"):AddItem(rl, .5)
  307.         elseif Type == "Normal" then
  308.             local vp = Create("BodyVelocity"){
  309.                 P = 500,
  310.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  311.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  312.             }
  313.             if knockback > 0 then
  314.                 vp.Parent = hit.Parent.Torso
  315.             end
  316.             game:GetService("Debris"):AddItem(vp, .5)
  317.         elseif Type == "Up" then
  318.             local bodyVelocity = Create("BodyVelocity"){
  319.                 velocity = Vector3.new(0, 20, 0),
  320.                 P = 5000,
  321.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  322.                 Parent = hit,
  323.             }
  324.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  325.         elseif Type == "DarkUp" then
  326.             coroutine.resume(coroutine.create(function()
  327.                 for i = 0, 1, 0.1 do
  328.                     swait()
  329.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  330.                 end
  331.             end))
  332.             local bodyVelocity = Create("BodyVelocity"){
  333.                 velocity = Vector3.new(0, 20, 0),
  334.                 P = 5000,
  335.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  336.                 Parent = hit,
  337.             }
  338.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  339.         elseif Type == "Snare" then
  340.             local bp = Create("BodyPosition"){
  341.                 P = 2000,
  342.                 D = 100,
  343.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  344.                 position = hit.Parent.Torso.Position,
  345.                 Parent = hit.Parent.Torso,
  346.             }
  347.             game:GetService("Debris"):AddItem(bp, 1)
  348.         elseif Type == "Freeze" then
  349.             local BodPos = Create("BodyPosition"){
  350.                 P = 50000,
  351.                 D = 1000,
  352.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  353.                 position = hit.Parent.Torso.Position,
  354.                 Parent = hit.Parent.Torso,
  355.             }
  356.             local BodGy = Create("BodyGyro") {
  357.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  358.                 P = 20e+003,
  359.                 Parent = hit.Parent.Torso,
  360.                 cframe = hit.Parent.Torso.CFrame,
  361.             }
  362.             hit.Parent.Torso.Anchored = true
  363.             coroutine.resume(coroutine.create(function(Part)
  364.                 swait(1.5)
  365.                 Part.Anchored = false
  366.             end), hit.Parent.Torso)
  367.             game:GetService("Debris"):AddItem(BodPos, 3)
  368.             game:GetService("Debris"):AddItem(BodGy, 3)
  369.         end
  370.         local debounce = Create("BoolValue"){
  371.             Name = "DebounceHit",
  372.             Parent = hit.Parent,
  373.             Value = true,
  374.         }
  375.         game:GetService("Debris"):AddItem(debounce, Delay)
  376.         c = Create("ObjectValue"){
  377.             Name = "creator",
  378.             Value = Player,
  379.             Parent = h,
  380.         }
  381.         game:GetService("Debris"):AddItem(c, .5)
  382.     end
  383. end
  384. -------------------------------------------------------
  385. --End Damage Function--
  386. -------------------------------------------------------
  387.  
  388. -------------------------------------------------------
  389. --Start Damage Function Customization--
  390. -------------------------------------------------------
  391. function ShowDamage(Pos, Text, Time, Color)
  392.     local Rate = (1 / 30)
  393.     local Pos = (Pos or Vector3.new(0, 0, 0))
  394.     local Text = (Text or "")
  395.     local Time = (Time or 2)
  396.     local Color = (Color or Color3.new(1, 0, 1))
  397.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  398.     EffectPart.Anchored = true
  399.     local BillboardGui = Create("BillboardGui"){
  400.         Size = UDim2.new(3, 0, 3, 0),
  401.         Adornee = EffectPart,
  402.         Parent = EffectPart,
  403.     }
  404.     local TextLabel = Create("TextLabel"){
  405.         BackgroundTransparency = 1,
  406.         Size = UDim2.new(1, 0, 1, 0),
  407.         Text = Text,
  408.         Font = "Bodoni",
  409.         TextColor3 = Color,
  410.         TextScaled = true,
  411.         TextStrokeColor3 = Color3.fromRGB(0,0,0),
  412.         Parent = BillboardGui,
  413.     }
  414.     game.Debris:AddItem(EffectPart, (Time))
  415.     EffectPart.Parent = game:GetService("Workspace")
  416.     delay(0, function()
  417.         local Frames = (Time / Rate)
  418.         for Frame = 1, Frames do
  419.             wait(Rate)
  420.             local Percent = (Frame / Frames)
  421.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  422.             TextLabel.TextTransparency = Percent
  423.         end
  424.         if EffectPart and EffectPart.Parent then
  425.             EffectPart:Destroy()
  426.         end
  427.     end)
  428. end
  429. -------------------------------------------------------
  430. --End Damage Function Customization--
  431. -------------------------------------------------------
  432.  
  433. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  434.   for _, c in pairs(workspace:children()) do
  435.     local hum = c:findFirstChild("Humanoid")
  436.     if hum ~= nil then
  437.       local head = c:findFirstChild("Head")
  438.       if head ~= nil then
  439.         local targ = head.Position - Part.Position
  440.         local mag = targ.magnitude
  441.         if magni >= mag and c.Name ~= plr.Name then
  442.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  443.         end
  444.       end
  445.     end
  446.   end
  447. end
  448.  
  449.  
  450. CFuncs = {
  451.     Part = {
  452.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  453.             local Part = Create("Part")({
  454.                 Parent = Parent,
  455.                 Reflectance = Reflectance,
  456.                 Transparency = Transparency,
  457.                 CanCollide = false,
  458.                 Locked = true,
  459.                 BrickColor = BrickColor.new(tostring(BColor)),
  460.                 Name = Name,
  461.                 Size = Size,
  462.                 Material = Material
  463.             })
  464.             RemoveOutlines(Part)
  465.             return Part
  466.         end
  467.     },
  468.     Mesh = {
  469.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  470.             local Msh = Create(Mesh)({
  471.                 Parent = Part,
  472.                 Offset = OffSet,
  473.                 Scale = Scale
  474.             })
  475.             if Mesh == "SpecialMesh" then
  476.                 Msh.MeshType = MeshType
  477.                 Msh.MeshId = MeshId
  478.             end
  479.             return Msh
  480.         end
  481.     },
  482.     Mesh = {
  483.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  484.             local Msh = Create(Mesh)({
  485.                 Parent = Part,
  486.                 Offset = OffSet,
  487.                 Scale = Scale
  488.             })
  489.             if Mesh == "SpecialMesh" then
  490.                 Msh.MeshType = MeshType
  491.                 Msh.MeshId = MeshId
  492.             end
  493.             return Msh
  494.         end
  495.     },
  496.     Weld = {
  497.         Create = function(Parent, Part0, Part1, C0, C1)
  498.             local Weld = Create("Weld")({
  499.                 Parent = Parent,
  500.                 Part0 = Part0,
  501.                 Part1 = Part1,
  502.                 C0 = C0,
  503.                 C1 = C1
  504.             })
  505.             return Weld
  506.         end
  507.     },
  508.     Sound = {
  509.         Create = function(id, par, vol, pit)
  510.             coroutine.resume(coroutine.create(function()
  511.                 local S = Create("Sound")({
  512.                     Volume = vol,
  513.                     Pitch = pit or 1,
  514.                     SoundId = id,
  515.                     Parent = par or workspace
  516.                 })
  517.                 wait()
  518.                 S:play()
  519.                 game:GetService("Debris"):AddItem(S, 6)
  520.             end))
  521.         end
  522.     },
  523.     ParticleEmitter = {
  524.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  525.             local fp = Create("ParticleEmitter")({
  526.                 Parent = Parent,
  527.                 Color = ColorSequence.new(Color1, Color2),
  528.                 LightEmission = LightEmission,
  529.                 Size = Size,
  530.                 Texture = Texture,
  531.                 Transparency = Transparency,
  532.                 ZOffset = ZOffset,
  533.                 Acceleration = Accel,
  534.                 Drag = Drag,
  535.                 LockedToPart = LockedToPart,
  536.                 VelocityInheritance = VelocityInheritance,
  537.                 EmissionDirection = EmissionDirection,
  538.                 Enabled = Enabled,
  539.                 Lifetime = LifeTime,
  540.                 Rate = Rate,
  541.                 Rotation = Rotation,
  542.                 RotSpeed = RotSpeed,
  543.                 Speed = Speed,
  544.                 VelocitySpread = VelocitySpread
  545.             })
  546.             return fp
  547.         end
  548.     }
  549. }
  550. function RemoveOutlines(part)
  551.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  552. end
  553. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  554.     local Part = Create("Part")({
  555.         formFactor = FormFactor,
  556.         Parent = Parent,
  557.         Reflectance = Reflectance,
  558.         Transparency = Transparency,
  559.         CanCollide = false,
  560.         Locked = true,
  561.         BrickColor = BrickColor.new(tostring(BColor)),
  562.         Name = Name,
  563.         Size = Size,
  564.         Material = Material
  565.     })
  566.     RemoveOutlines(Part)
  567.     return Part
  568. end
  569. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  570.     local Msh = Create(Mesh)({
  571.         Parent = Part,
  572.         Offset = OffSet,
  573.         Scale = Scale
  574.     })
  575.     if Mesh == "SpecialMesh" then
  576.         Msh.MeshType = MeshType
  577.         Msh.MeshId = MeshId
  578.     end
  579.     return Msh
  580. end
  581. function CreateWeld(Parent, Part0, Part1, C0, C1)
  582.     local Weld = Create("Weld")({
  583.         Parent = Parent,
  584.         Part0 = Part0,
  585.         Part1 = Part1,
  586.         C0 = C0,
  587.         C1 = C1
  588.     })
  589.     return Weld
  590. end
  591.  
  592.  
  593. -------------------------------------------------------
  594. --Start Effect Function--
  595. -------------------------------------------------------
  596. EffectModel = Instance.new("Model", char)
  597. Effects = {
  598.   Block = {
  599.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  600.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  601.       prt.Anchored = true
  602.       prt.CFrame = cframe
  603.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  604.       game:GetService("Debris"):AddItem(prt, 10)
  605.       if Type == 1 or Type == nil then
  606.         table.insert(Effects, {
  607.           prt,
  608.           "Block1",
  609.           delay,
  610.           x3,
  611.           y3,
  612.           z3,
  613.           msh
  614.         })
  615.       elseif Type == 2 then
  616.         table.insert(Effects, {
  617.           prt,
  618.           "Block2",
  619.           delay,
  620.           x3,
  621.           y3,
  622.           z3,
  623.           msh
  624.         })
  625.       else
  626.         table.insert(Effects, {
  627.           prt,
  628.           "Block3",
  629.           delay,
  630.           x3,
  631.           y3,
  632.           z3,
  633.           msh
  634.         })
  635.       end
  636.     end
  637.   },
  638.   Sphere = {
  639.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  640.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  641.       prt.Anchored = true
  642.       prt.CFrame = cframe
  643.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  644.       game:GetService("Debris"):AddItem(prt, 10)
  645.       table.insert(Effects, {
  646.         prt,
  647.         "Cylinder",
  648.         delay,
  649.         x3,
  650.         y3,
  651.         z3,
  652.         msh
  653.       })
  654.     end
  655.   },
  656.   Cylinder = {
  657.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  658.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  659.       prt.Anchored = true
  660.       prt.CFrame = cframe
  661.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  662.       game:GetService("Debris"):AddItem(prt, 10)
  663.       table.insert(Effects, {
  664.         prt,
  665.         "Cylinder",
  666.         delay,
  667.         x3,
  668.         y3,
  669.         z3,
  670.         msh
  671.       })
  672.     end
  673.   },
  674.   Wave = {
  675.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  676.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  677.       prt.Anchored = true
  678.       prt.CFrame = cframe
  679.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  680.       game:GetService("Debris"):AddItem(prt, 10)
  681.       table.insert(Effects, {
  682.         prt,
  683.         "Cylinder",
  684.         delay,
  685.         x3 / 60,
  686.         y3 / 60,
  687.         z3 / 60,
  688.         msh
  689.       })
  690.     end
  691.   },
  692.   Ring = {
  693.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  694.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  695.       prt.Anchored = true
  696.       prt.CFrame = cframe
  697.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  698.       game:GetService("Debris"):AddItem(prt, 10)
  699.       table.insert(Effects, {
  700.         prt,
  701.         "Cylinder",
  702.         delay,
  703.         x3,
  704.         y3,
  705.         z3,
  706.         msh
  707.       })
  708.     end
  709.   },
  710.   Break = {
  711.     Create = function(brickcolor, cframe, x1, y1, z1)
  712.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  713.       prt.Anchored = true
  714.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  715.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716.       local num = math.random(10, 50) / 1000
  717.       game:GetService("Debris"):AddItem(prt, 10)
  718.       table.insert(Effects, {
  719.         prt,
  720.         "Shatter",
  721.         num,
  722.         prt.CFrame,
  723.         math.random() - math.random(),
  724.         0,
  725.         math.random(50, 100) / 100
  726.       })
  727.     end
  728.   },
  729. Spiral = {
  730.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  731.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  732.       prt.Anchored = true
  733.       prt.CFrame = cframe
  734.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  735.       game:GetService("Debris"):AddItem(prt, 10)
  736.       table.insert(Effects, {
  737.         prt,
  738.         "Cylinder",
  739.         delay,
  740.         x3,
  741.         y3,
  742.         z3,
  743.         msh
  744.       })
  745.     end
  746.   },
  747. Push = {
  748.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  749.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  750.       prt.Anchored = true
  751.       prt.CFrame = cframe
  752.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753.       game:GetService("Debris"):AddItem(prt, 10)
  754.       table.insert(Effects, {
  755.         prt,
  756.         "Cylinder",
  757.         delay,
  758.         x3,
  759.         y3,
  760.         z3,
  761.         msh
  762.       })
  763.     end
  764.   }
  765. }
  766. -------------------------------------------------------
  767. --End Effect Function--
  768. -------------------------------------------------------
  769.  
  770. function CreateSound(ID, PARENT, VOLUME, PITCH)
  771.     local NSound = nil
  772.     coroutine.resume(coroutine.create(function()
  773.         NSound = Instance.new("Sound", PARENT)
  774.         NSound.Volume = VOLUME
  775.         NSound.Pitch = PITCH
  776.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  777.         swait()
  778.         NSound:play()
  779.         game:GetService("Debris"):AddItem(NSound, 10)
  780.     end))
  781.     return NSound
  782. end
  783.  
  784. -------------------------------------------------------
  785. --Start Kyu's shitty stuff--
  786. -------------------------------------------------------
  787.  
  788. function ragdoll(model)
  789.     local char = model
  790.     torso = char.HumanoidRootPart
  791.     torso2 = char.Torso
  792.     LW.Parent = nil
  793.     RW.Parent = nil
  794.     LH.Parent = nil
  795.     RH.Parent = nil
  796.         if hum ~= nil then
  797.         hum.PlatformStand = true
  798.         end
  799.  
  800.         local Head = char:FindFirstChild("Head")
  801.         if Head then
  802.             local Neck = Instance.new("Weld")
  803.             Neck.Name = "Neck"
  804.             Neck.Part0 = torso
  805.             Neck.Part1 = Head
  806.             Neck.C0 = CFrame.new(0, 1.5, 0)
  807.             Neck.C1 = CFrame.new()
  808.             Neck.Parent = torso
  809.         end
  810.         local Limb = char:FindFirstChild("Right Arm")
  811.         if Limb then
  812.  
  813.             Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  814.             local Joint = Instance.new("Glue")
  815.             Joint.Name = "RightShoulder"
  816.             Joint.Part0 = torso
  817.             Joint.Part1 = Limb
  818.             Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  819.             Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  820.             Joint.Parent = torso
  821.  
  822.             local B = Instance.new("Part")
  823.             B.TopSurface = 0
  824.             B.BottomSurface = 0
  825.             B.formFactor = "Symmetric"
  826.             B.Size = Vector3.new(1, 1, 1)
  827.             B.Transparency = 1
  828.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  829.             B.Parent = char
  830.             local W = Instance.new("Weld")
  831.             W.Part0 = Limb
  832.             W.Part1 = B
  833.             W.C0 = CFrame.new(0, -0.5, 0)
  834.             W.Parent = Limb
  835.  
  836.         end
  837.         local Limb = char:FindFirstChild("Left Arm")
  838.         if Limb then
  839.  
  840.             Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  841.             local Joint = Instance.new("Glue")
  842.             Joint.Name = "LeftShoulder"
  843.             Joint.Part0 = torso
  844.             Joint.Part1 = Limb
  845.             Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  846.             Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  847.             Joint.Parent = torso
  848.  
  849.             local B = Instance.new("Part")
  850.             B.TopSurface = 0
  851.             B.BottomSurface = 0
  852.             B.formFactor = "Symmetric"
  853.             B.Size = Vector3.new(1, 1, 1)
  854.             B.Transparency = 1
  855.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  856.             B.Parent = char
  857.             local W = Instance.new("Weld")
  858.             W.Part0 = Limb
  859.             W.Part1 = B
  860.             W.C0 = CFrame.new(0, -0.5, 0)
  861.             W.Parent = Limb
  862.  
  863.         end
  864.         local Limb = char:FindFirstChild("Right Leg")
  865.         if Limb then
  866.  
  867.             Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  868.             local Joint = Instance.new("Glue")
  869.             Joint.Name = "RightHip"
  870.             Joint.Part0 = torso
  871.             Joint.Part1 = Limb
  872.             Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  873.             Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  874.             Joint.Parent = torso
  875.  
  876.             local B = Instance.new("Part")
  877.             B.TopSurface = 0
  878.             B.BottomSurface = 0
  879.             B.formFactor = "Symmetric"
  880.             B.Size = Vector3.new(1, 1, 1)
  881.             B.Transparency = 1
  882.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  883.             B.Parent = char
  884.             local W = Instance.new("Weld")
  885.             W.Part0 = Limb
  886.             W.Part1 = B
  887.             W.C0 = CFrame.new(0, -0.5, 0)
  888.             W.Parent = Limb
  889.  
  890.         end
  891.         local Limb = char:FindFirstChild("Left Leg")
  892.         if Limb then
  893.  
  894.             Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  895.             local Joint = Instance.new("Glue")
  896.             Joint.Name = "LeftHip"
  897.             Joint.Part0 = torso
  898.             Joint.Part1 = Limb
  899.             Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  900.             Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  901.             Joint.Parent = torso
  902.  
  903.             local B = Instance.new("Part")
  904.             B.TopSurface = 0
  905.             B.BottomSurface = 0
  906.             B.formFactor = "Symmetric"
  907.             B.Size = Vector3.new(1, 1, 1)
  908.             B.Transparency = 1
  909.             B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  910.             B.Parent = char
  911.             local W = Instance.new("Weld")
  912.             W.Part0 = Limb
  913.             W.Part1 = B
  914.             W.C0 = CFrame.new(0, -0.5, 0)
  915.             W.Parent = Limb
  916.  
  917.         end
  918.         --[
  919.         local Bar = Instance.new("Part")
  920.         Bar.TopSurface = 0
  921.         Bar.BottomSurface = 0
  922.         Bar.formFactor = "Symmetric"
  923.         Bar.Size = Vector3.new(1, 1, 1)
  924.         Bar.Transparency = 1
  925.         Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  926.         Bar.Parent = char
  927.         local Weld = Instance.new("Weld")
  928.         Weld.Part0 = torso
  929.         Weld.Part1 = Bar
  930.         Weld.C0 = CFrame.new(0, 0.5, 0)
  931.         Weld.Parent = torso
  932.         --]]
  933.  
  934. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  935.  
  936. end
  937.  
  938. -------------------------------------------------------
  939. --End Kyu's shitty stuff--
  940. -------------------------------------------------------
  941.  
  942. function New(Object, Parent, Name, Data)
  943.   local Object = Instance.new(Object)
  944.   for Index, Value in pairs(Data or {}) do
  945.     Object[Index] = Value
  946.   end
  947.   Object.Parent = Parent
  948.   Object.Name = Name
  949.   return Object
  950. end
  951.  
  952. local Blood1 = Create("ParticleEmitter")({
  953.   Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  954.   Transparency = NumberSequence.new(0.1, 1),
  955.   Size = NumberSequence.new(0.5, 0),
  956.   Texture = "rbxassetid://602578593",
  957.   Lifetime = NumberRange.new(0.8),
  958.   Rate = 255,
  959.   VelocitySpread = 40,
  960.   Rotation = NumberRange.new(100),
  961.   Speed = NumberRange.new(5),
  962.   LightEmission = 0,
  963.   LockedToPart = false,
  964.   Acceleration = Vector3.new(0, -10, 0),
  965.   EmissionDirection = "Bottom"
  966. })
  967.  
  968. FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  969. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  970. Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  971. FHead.CanCollide = false
  972.  
  973. -------------------------------------------------------
  974. --End Important Functions--
  975. -------------------------------------------------------
  976.  
  977.  
  978. -------------------------------------------------------
  979. --Start Music Option--
  980. -------------------------------------------------------
  981. local Music = Instance.new("Sound",tors)
  982. Music.Volume = 4
  983. Music.SoundId = "rbxassetid://643172198"
  984. Music.Looped = true
  985. Music.Pitch = 1 --Pitcher
  986. Music:Play()
  987. -------------------------------------------------------
  988. --End Music Option--
  989. -------------------------------------------------------
  990.  
  991.  
  992. -------------------------------------------------------
  993. --Start Attacks N Stuff--
  994. -------------------------------------------------------
  995.  
  996.  
  997.  
  998.  
  999. local sine=0
  1000. function ByeBye()
  1001.     local target = nil
  1002.     local targettorso = nil
  1003.     if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1004.         if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1005.             target = mouse.Target.Parent.Humanoid
  1006.             targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1007.             targethead = mouse.Target.Parent:FindFirstChild("Head")
  1008.         end
  1009.     end
  1010.     if target ~= nil then
  1011.         targettorso.Anchored = true
  1012.         attack = true
  1013.         hum.WalkSpeed = 0
  1014.         root.CFrame = targettorso.CFrame * CF(0,0,2)
  1015.         for i = 0,4.2,0.1 do
  1016.             swait()
  1017.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1018.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1019.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1020.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1021.         RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  1022.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
  1023.         end
  1024.         local bloody = Instance.new("ParticleEmitter",targettorso)
  1025.         bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1026.         bloody.LightEmission = .1
  1027.         bloody.Size = NumberSequence.new(0.5, 0)
  1028.         bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
  1029.         aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1030.         bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1031.         bloody.Transparency = bbb
  1032.         bloody.Size = aaa
  1033.         bloody.ZOffset = -.9
  1034.         bloody.Acceleration = Vector3.new(0, -5, 0)
  1035.         bloody.LockedToPart = false
  1036.         bloody.Lifetime = NumberRange.new(0.8)
  1037.         bloody.Rate = 255
  1038.         bloody.Rotation = NumberRange.new(-100, 100)
  1039.         bloody.RotSpeed = NumberRange.new(-100, 100)
  1040.         bloody.Speed = NumberRange.new(6)
  1041.         bloody.VelocitySpread = 0
  1042.         bloody.Enabled=true
  1043.         targethead:Remove()
  1044.         CreateSound("429400881", targettorso, 5, .8)
  1045.         CreateSound("1093102664", targettorso, 10, 1)
  1046.         for i = 0,6.2,0.1 do
  1047.             swait()
  1048.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.15)
  1049.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
  1050.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1051.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1052.         RW.C0 = clerp(RW.C0, CF(1.3, 0.7 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(100), Rad(0), Rad(-15)), 0.1)
  1053.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1054.         end
  1055.         targettorso.Anchored = false
  1056.         attack = false
  1057.         hum.WalkSpeed = 16
  1058.         root.CFrame = targettorso.CFrame * CF(0,0,3)
  1059.     end
  1060. end
  1061.  
  1062.  
  1063. function Sayonara()
  1064.     local target = nil
  1065.     local targettorso = nil
  1066.     if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1067.         if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1068.             target = mouse.Target.Parent.Humanoid
  1069.             targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1070.             targethead = mouse.Target.Parent:FindFirstChild("Head")
  1071.             targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  1072.             targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  1073.         end
  1074.     end
  1075.     if target ~= nil then
  1076.         targettorso.Anchored = true
  1077.         attack = true
  1078.         hum.WalkSpeed = 0
  1079.         root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  1080.         for i = 0,6.2,0.1 do
  1081.             swait()
  1082.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1083.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  1084.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  1085.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  1086.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  1087.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  1088.         end
  1089.         do
  1090.         CreateSound("429400881", targettorso, 5, 1)
  1091.         local ModelArm02 = New("Model", char, "Arm", {})
  1092.         local ModelArm03 = New("Model", char, "Arm", {})
  1093.         local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  1094.         local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  1095.         local Arm02 = targetleftarm:Clone()
  1096.         local Arm03 = targetrightarm:Clone()
  1097.         targetleftarm.Transparency = 1
  1098.         targetrightarm.Transparency = 1
  1099.         Arm02.Parent = ModelArm02
  1100.         Arm03.Parent = ModelArm03
  1101.         for i, v in pairs(Arm02:GetChildren()) do
  1102.           v:Destroy()
  1103.         end
  1104.         for i, v in pairs(Arm03:GetChildren()) do
  1105.           v:Destroy()
  1106.         end
  1107.         local weldArm02 = Instance.new("Weld")
  1108.         weldArm02.Parent = Arm02
  1109.         weldArm02.Part0 = targetleftarm
  1110.         weldArm02.Part1 = Arm02
  1111.         weldArm02.C1 = CFrame.new(0, 0, 0)
  1112.         local weldArm03 = Instance.new("Weld")
  1113.         weldArm03.Parent = Arm03
  1114.         weldArm03.Part0 = targetrightarm
  1115.         weldArm03.Part1 = Arm03
  1116.         weldArm03.C1 = CFrame.new(0, 0, 0)
  1117.         for i, v in pairs(target:GetChildren()) do
  1118.           if v:IsA("Shirt") then
  1119.             v:clone().Parent = ModelArm02
  1120.           end
  1121.         end
  1122.         for i, v in pairs(target:GetChildren()) do
  1123.           if v:IsA("Shirt") then
  1124.             v:clone().Parent = ModelArm03
  1125.           end
  1126.         end
  1127.         weldArm02.Part0 = la
  1128.         weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1129.         weldArm03.Part0 = ra
  1130.         weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1131.         local BE1 = Blood1:Clone()
  1132.         BE1.Parent = targetleftarm
  1133.         game:GetService("Debris"):AddItem(BE1, 3)
  1134.         BE1.Rate = 255
  1135.         local BE2 = Blood1:Clone()
  1136.         BE2.Parent = targetrightarm
  1137.         game:GetService("Debris"):AddItem(BE2, 3)
  1138.         BE2.Rate = 255
  1139.         for i = 0,6.2,0.1 do
  1140.             swait()
  1141.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  1142.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1143.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  1144.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  1145.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  1146.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1147.         end
  1148.         for i = 0,6.2,0.1 do
  1149.             swait()
  1150.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1151.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1152.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1153.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1154.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  1155.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  1156.         end
  1157.         CreateSound("541909763", targettorso, 5, .8)
  1158.         weldArm02:Destroy()
  1159.         Arm02.CanCollide = true
  1160.         weldArm03:Destroy()
  1161.         Arm03.CanCollide = true
  1162.         local bodyVelocity2 = Create("BodyVelocity")({
  1163.           velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1164.           P = 5000,
  1165.           maxForce = Vector3.new(8000, 8000, 8000),
  1166.           Parent = Arm02
  1167.         })
  1168.         local bodyVelocity3 = Create("BodyVelocity")({
  1169.           velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1170.           P = 5000,
  1171.           maxForce = Vector3.new(8000, 8000, 8000),
  1172.           Parent = Arm03
  1173.         })
  1174.         game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1175.         game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  1176.         for i = 0,6.2,0.1 do
  1177.             swait()
  1178.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1179.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1180.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  1181.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1182.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  1183.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  1184.         end
  1185.         for i = 0,6.2,0.1 do
  1186.             swait()
  1187.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1188.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1189.         RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  1190.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1191.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  1192.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  1193.         end
  1194.         targettorso:Remove()
  1195.         for i = 0,6.2,0.1 do
  1196.             swait()
  1197.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -2.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  1198.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1199.         RH.C0 = clerp(RH.C0, CF(1, -0.2 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  1200.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-35)), 0.15)
  1201.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(15)), 0.1)
  1202.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(-15)), 0.1)
  1203.         end
  1204.         end
  1205.         targettorso.Anchored = false
  1206.         attack = false
  1207.         hum.WalkSpeed = 16
  1208.         root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1209.     end
  1210. end
  1211.  
  1212. function AlohaMyFriend()
  1213.     local target = nil
  1214.     local targettorso = nil
  1215.     if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1216.         if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1217.             target = mouse.Target.Parent.Humanoid
  1218.             targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1219.             targethead = mouse.Target.Parent:FindFirstChild("Head")
  1220.         end
  1221.     end
  1222.     if target ~= nil then
  1223.         targettorso.Anchored = true
  1224.         attack = true
  1225.         hum.WalkSpeed = 0
  1226.         root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1227.         for i = 0,6.2,0.1 do
  1228.             swait()
  1229.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1230.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1231.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1232.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1233.         RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  1234.         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.1)
  1235.         end
  1236.         local ModelHead01 = New("Model", char, "Head of Decapitated", {})
  1237.         local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  1238.         local Head01 = targethead:Clone()
  1239.         targethead.Transparency = 1
  1240.         Head01.Parent = ModelHead01
  1241.         local weldHead01 = Instance.new("Weld")
  1242.         weldHead01.Parent = Head01
  1243.         weldHead01.Part0 = targethead
  1244.         weldHead01.Part1 = Head01
  1245.         weldHead01.C1 = CFrame.new(0, 0, 0)
  1246.         targethead.face:Remove()
  1247.         weldHead01.Part0 = ra
  1248.         weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1249.         local BE1 = Blood1:Clone()
  1250.         BE1.Parent = targethead
  1251.         game:GetService("Debris"):AddItem(BE1, 3)
  1252.         BE1.Rate = 255
  1253.         targettorso:BreakJoints()
  1254.         CreateSound("314390675", targettorso, 5, .7)
  1255.         for i = 0,4.2,0.1 do
  1256.             swait()
  1257.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1258.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1259.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1260.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1261.         RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(145), Rad(0), Rad(-15)), 0.1)
  1262.         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.1)
  1263.         end
  1264.         for i = 0,6.2,0.1 do
  1265.             swait()
  1266.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1267.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1268.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1269.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1270.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  1271.         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)
  1272.         end
  1273.         CreateSound("541909763", targettorso, 5, .8)
  1274.         weldHead01:Destroy()
  1275.         Head01.CanCollide = true
  1276.         local bodyVelocity2 = Create("BodyVelocity")({
  1277.           velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1278.           P = 5000,
  1279.           maxForce = Vector3.new(8000, 8000, 8000),
  1280.           Parent = Head01
  1281.         })
  1282.         game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1283.         for i = 0,6.2,0.1 do
  1284.             swait()
  1285.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1286.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1287.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1288.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1289.         RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  1290.         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)
  1291.         end
  1292.         targettorso.Anchored = false
  1293.         attack = false
  1294.         hum.WalkSpeed = 16
  1295.         root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1296.     end
  1297. end
  1298.  
  1299. function Good_Bye()
  1300.     local target = nil
  1301.     local targettorso = nil
  1302.     if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1303.         if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1304.             target = mouse.Target.Parent.Humanoid
  1305.             targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1306.             targethead = mouse.Target.Parent:FindFirstChild("Head")
  1307.         end
  1308.     end
  1309.     if target ~= nil then
  1310.         targettorso.Anchored = true
  1311.         attack = true
  1312.         hum.WalkSpeed = 0
  1313.         root.CFrame = targettorso.CFrame * CF(0,0,3)
  1314.         for i = 0,6.2,0.1 do
  1315.             swait()
  1316.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.15)
  1317.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  1318.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1319.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1320.         RW.C0 = clerp(RW.C0, CF(1.3, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1)
  1321.         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.1)
  1322.         end
  1323.         local BloodColor = Color3.new(1, 0, 0)
  1324.         local PE1 = Blood1:Clone()
  1325.         local PE2 = Blood1:Clone()
  1326.         local Heart = Instance.new("Part")
  1327.         Heart.Parent = workspace
  1328.         Heart.Size = Vector3.new(1, 1, 1)
  1329.         Heart.Archivable = true
  1330.         Heart.Transparency = 0
  1331.         Heart.CanCollide = false
  1332.         Heart.BrickColor = BrickColor.new("Really red")
  1333.         Heart.Material = "Granite"
  1334.         Heart.CanCollide = true
  1335.         local weld1Heart = Instance.new("Weld")
  1336.         weld1Heart.Parent = ra
  1337.         weld1Heart.Part0 = ra
  1338.         weld1Heart.Part1 = Heart
  1339.         weld1Heart.C1 = CFrame.new(0, 1.3, 0)
  1340.         CreateSound("429400881", targettorso, 5, 1)
  1341.         CreateSound("131038747", targettorso, 7, 1)
  1342.         PE1.Parent = ra
  1343.         PE2.Parent = Heart
  1344.         game:GetService("Debris"):AddItem(PE1, 3)
  1345.         game:GetService("Debris"):AddItem(weld1Heart, 1.5)
  1346.         game:GetService("Debris"):AddItem(Heart, 8)
  1347.         for i = 0,8,0.1 do
  1348.             swait()
  1349.         rootj.C0 = clerp(rootj.C0, RootCF * CF(1.2, -2.5, -0.2) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1350.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(-45)), 0.3)
  1351.         RH.C0 = clerp(RH.C0, CF(1, -0.8, -0.4) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1352.         LH.C0 = clerp(LH.C0, CF(-1, -0.8, -0.2) * LHCF * angles(Rad(-5), Rad(0), Rad(56)), 0.15)
  1353.         RW.C0 = clerp(RW.C0, CF(1.5, 0.51 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(40)), 0.1)
  1354.         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.1)
  1355.         end
  1356.         targettorso:BreakJoints()
  1357.         for i = 0,9,0.1 do
  1358.             swait()
  1359.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1360.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-20)), 0.3)
  1361.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1362.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1363.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  1364.         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.1)
  1365.         end
  1366.         targettorso.Anchored = false
  1367.         attack = false
  1368.         hum.WalkSpeed = 16
  1369.         root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1370.     end
  1371. end
  1372.  
  1373. function Taunt()
  1374.     attack = true
  1375.     hum.WalkSpeed = 0
  1376.     CreateSound("290084602", tors, 10, 1)
  1377.     for i = 0,6.2,0.1 do
  1378.             swait()
  1379.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1380.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3)
  1381.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1382.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1383.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(145)), 0.1)
  1384.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1)
  1385.     end
  1386.     for i = 0,6.2,0.1 do
  1387.             swait()
  1388.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1389.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1390.         RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1391.         LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1392.         RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  1393.         LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  1394.     end
  1395.     attack = false
  1396.     hum.WalkSpeed = 16
  1397. end
  1398. -------------------------------------------------------
  1399. --End Attacks N Stuff--
  1400. -------------------------------------------------------
  1401. mouse.KeyDown:connect(function(key)
  1402.     if attack == false then
  1403.         if key == 'e' then
  1404.             ByeBye()
  1405.         elseif key == 'q' then
  1406.             Sayonara()
  1407.         elseif key == 'r' then
  1408.             AlohaMyFriend()
  1409.         elseif key == 'f' then
  1410.             Good_Bye()
  1411.         elseif key == 't' then
  1412.             Taunt()
  1413.         end
  1414.     end
  1415.  end)
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422. -------------------------------------------------------
  1423. --Start Animations--
  1424. -------------------------------------------------------
  1425. local equipped = false
  1426. local idle = 0
  1427. local change = 1
  1428. local val = 0
  1429. local toim = 0
  1430. local idleanim = 0.4
  1431. hum.Animator.Parent = nil
  1432. while true do
  1433.     swait()
  1434.     sine = sine + change
  1435.    
  1436.     Music.Parent = char
  1437.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1438.     local velderp = root.Velocity.y
  1439.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1440.     if equipped == true or equipped == false then
  1441.         if attack == false then
  1442.             idle = idle + 1
  1443.         else
  1444.             idle = 0
  1445.         end
  1446.         if 1 < root.Velocity.y and hitfloor == nil then
  1447.             Anim = "Jump"
  1448.             if attack == false then
  1449.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1450.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1451.                 RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1452.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1453.                 LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1454.                 RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1455.             end
  1456.         elseif -1 > root.Velocity.y and hitfloor == nil then
  1457.             Anim = "Fall"
  1458.             if attack == false then
  1459.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1460.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  1461.                 RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1462.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1463.                 LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1464.                 RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1465.             end
  1466.         elseif torvel < 1 and hitfloor ~= nil then
  1467.             Anim = "Idle"
  1468.             change = 1
  1469.             if attack == false then
  1470.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1471.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(-10 - 2.5 * Sin(sine/ 20)), Rad(20 * Cos(sine / 20))), 0.3)
  1472.                 RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  1473.                 LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-7), Rad(0), Rad(-5)), 0.15)
  1474.                 RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10 + 5 * Sin(sine/ 20))), 0.1)
  1475.                 LW.C0 = clerp(LW.C0, CF(-1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10 - 5 * Sin(sine/ 20))), 0.1)
  1476.             end
  1477.         elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1478.             Anim = "Walk"
  1479.             change = 1
  1480.             if attack == false then
  1481.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  1482.                 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1483.                 RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * 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)
  1484.                 LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * 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)
  1485.                 RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70)  * Cos(sine / 7) , Rad(0), Rad(10) - ra.RotVelocity.Y / 75), 0.1)
  1486.                 LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70)  * Cos(sine / 7) , Rad(0) ,    Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1487.             end
  1488.         end
  1489.     end
  1490.     if 0 < #Effects then
  1491.         for e = 1, #Effects do
  1492.             if Effects[e] ~= nil then
  1493.                 local Thing = Effects[e]
  1494.                 if Thing ~= nil then
  1495.                     local Part = Thing[1]
  1496.                     local Mode = Thing[2]
  1497.                     local Delay = Thing[3]
  1498.                     local IncX = Thing[4]
  1499.                     local IncY = Thing[5]
  1500.                     local IncZ = Thing[6]
  1501.                     if 1 >= Thing[1].Transparency then
  1502.                         if Thing[2] == "Block1" then
  1503.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1504.                             local Mesh = Thing[1].Mesh
  1505.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1506.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1507.                         elseif Thing[2] == "Block2" then
  1508.                             Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1509.                             local Mesh = Thing[7]
  1510.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1511.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1512.                         elseif Thing[2] == "Block3" then
  1513.                             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)
  1514.                             local Mesh = Thing[7]
  1515.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1516.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1517.                         elseif Thing[2] == "Cylinder" then
  1518.                             local Mesh = Thing[1].Mesh
  1519.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1520.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1521.                         elseif Thing[2] == "Blood" then
  1522.                             local Mesh = Thing[7]
  1523.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1524.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1525.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1526.                         elseif Thing[2] == "Elec" then
  1527.                             local Mesh = Thing[1].Mesh
  1528.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1529.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1530.                         elseif Thing[2] == "Disappear" then
  1531.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1532.                         elseif Thing[2] == "Shatter" then
  1533.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1534.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1535.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1536.                             Thing[6] = Thing[6] + Thing[5]
  1537.                         end
  1538.                     else
  1539.                         Part.Parent = nil
  1540.                         table.remove(Effects, e)
  1541.                     end
  1542.                 end
  1543.             end
  1544.         end
  1545.     end
  1546. end
  1547. -------------------------------------------------------
  1548. --End Animations And Script--
  1549. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement