ColorblindRBLX

The disorted

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