Advertisement
CrossXEvent

XEvent Chara

Feb 26th, 2019
3,130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RBScript 77.85 KB | None | 0 0
  1. -----------------------
  2. --XEvent Chara--
  3. -----------------------
  4. -------------------------------------------------------
  5. --A script By makhail07 and KillerDarkness0105
  6. --Effect Smoothing By OblivionCreature
  7. --Discords Creterisk#2958, Codex#6685, and [L]ewd#2941
  8. -------------------------------------------------------
  9.  
  10. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  11.  
  12. function swait(num)
  13. if num==0 or num==nil then
  14. game:service'RunService'.Stepped:wait(0)
  15. else
  16. for i=0,num do
  17. game:service'RunService'.Stepped:wait(0)
  18. end
  19. end
  20. end
  21. function thread(f)
  22.   coroutine.resume(coroutine.create(f))
  23. end
  24.  
  25. --Needed to add this for a good reason, thank me later mak.
  26. so = function(id,par,vol,pit)
  27. coroutine.resume(coroutine.create(function()
  28. local sou = Instance.new("Sound",par or workspace)
  29. sou.Volume=vol
  30. sou.Pitch=pit or 1
  31. sou.SoundId=id
  32. swait()
  33. sou:play()
  34. game:GetService("Debris"):AddItem(sou,8)
  35. end))
  36. end
  37.  
  38.  
  39. function clerp(a, b, t)
  40.     local qa = {
  41.         QuaternionFromCFrame(a)
  42.     }
  43.     local qb = {
  44.         QuaternionFromCFrame(b)
  45.     }
  46.     local ax, ay, az = a.x, a.y, a.z
  47.     local bx, by, bz = b.x, b.y, b.z
  48.     local _t = 1 - t
  49.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  50. end
  51. function QuaternionFromCFrame(cf)
  52.   local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  53.   local trace = m00 + m11 + m22
  54.   if trace > 0 then
  55.     local s = math.sqrt(1 + trace)
  56.     local recip = 0.5 / s
  57.     return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  58.   else
  59.     local i = 0
  60.     if m00 < m11 then
  61.       i = 1
  62.     end
  63.     if m22 > (i == 0 and m00 or m11) then
  64.       i = 2
  65.     end
  66.     if i == 0 then
  67.       local s = math.sqrt(m00 - m11 - m22 + 1)
  68.       local recip = 0.5 / s
  69.       return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  70.     elseif i == 1 then
  71.       local s = math.sqrt(m11 - m22 - m00 + 1)
  72.       local recip = 0.5 / s
  73.       return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  74.     elseif i == 2 then
  75.       local s = math.sqrt(m22 - m00 - m11 + 1)
  76.       local recip = 0.5 / s
  77.       return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  78.     end
  79.   end
  80. end
  81. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  82.   local xs, ys, zs = x + x, y + y, z + z
  83.   local wx, wy, wz = w * xs, w * ys, w * zs
  84.   local xx = x * xs
  85.   local xy = x * ys
  86.   local xz = x * zs
  87.   local yy = y * ys
  88.   local yz = y * zs
  89.   local zz = z * zs
  90.   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))
  91. end
  92. function QuaternionSlerp(a, b, t)
  93.   local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  94.   local startInterp, finishInterp
  95.   if cosTheta >= 1.0E-4 then
  96.     if 1 - cosTheta > 1.0E-4 then
  97.       local theta = math.acos(cosTheta)
  98.       local invSinTheta = 1 / math.sin(theta)
  99.       startInterp = math.sin((1 - t) * theta) * invSinTheta
  100.       finishInterp = math.sin(t * theta) * invSinTheta
  101.     else
  102.       startInterp = 1 - t
  103.       finishInterp = t
  104.     end
  105.   elseif 1 + cosTheta > 1.0E-4 then
  106.     local theta = math.acos(-cosTheta)
  107.     local invSinTheta = 1 / math.sin(theta)
  108.     startInterp = math.sin((t - 1) * theta) * invSinTheta
  109.     finishInterp = math.sin(t * theta) * invSinTheta
  110.   else
  111.     startInterp = t - 1
  112.     finishInterp = t
  113.   end
  114.   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
  115. end
  116. function rayCast(Position, Direction, Range, Ignore)
  117.   return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  118. end
  119. --Wait what okay
  120. wait()
  121. local plr = onwer
  122. local char = plr.Character
  123. local hum = char.Humanoid
  124. local ra = char["Right Arm"]
  125. local la= char["Left Arm"]
  126. local rl= char["Right Leg"]
  127. local ll = char["Left Leg"]
  128. local hed = char.Head
  129. local root = char.HumanoidRootPart
  130. local rootj = root.RootJoint
  131. local tors = char.Torso
  132. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  133. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  134. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  135. local maincolor = BrickColor.new("Dark indigo")
  136. cf = CFrame.new
  137. angles = CFrame.Angles
  138. attack = false
  139. euler=CFrame.fromEulerAnglesXYZ
  140. equipped = false
  141. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  142. RSH, LSH = nil, nil
  143. RW = Instance.new("Weld")
  144. LW = Instance.new("Weld")
  145. RH = tors["Right Hip"]
  146. LH = tors["Left Hip"]
  147. RSH = tors["Right Shoulder"]
  148. LSH = tors["Left Shoulder"]
  149. RSH.Parent = nil
  150. LSH.Parent = nil
  151. RW.Name = "RW"
  152. RW.Part0 = tors
  153. RW.C0 = CFrame.new(1.5, 0.5, 0)
  154. RW.C1 = CFrame.new(0, 0.5, 0)
  155. RW.Part1 = ra
  156. RW.Parent = tors
  157. LW.Name = "LW"
  158. LW.Part0 = tors
  159. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  160. LW.C1 = CFrame.new(0, 0.5, 0)
  161. LW.Part1 = la
  162. LW.Parent = tors
  163. print('User is '..plr.Name)
  164. Effects = {}
  165.    
  166. ArtificialHB = Instance.new("BindableEvent", script)
  167. ArtificialHB.Name = "Heartbeat"
  168.  
  169. script:WaitForChild("Heartbeat")
  170.  
  171. frame = 1 / 60
  172. tf = 0
  173. allowframeloss = false
  174. tossremainder = false
  175. lastframe = tick()
  176. script.Heartbeat:Fire()
  177.  
  178. game:GetService("RunService").Heartbeat:connect(function(s, p)
  179.     tf = tf + s
  180.     if tf >= frame then
  181.         if allowframeloss then
  182.             script.Heartbeat:Fire()
  183.             lastframe = tick()
  184.         else
  185.             for i = 1, math.floor(tf / frame) do
  186.                 script.Heartbeat:Fire()
  187.             end
  188.             lastframe = tick()
  189.         end
  190.         if tossremainder then
  191.             tf = 0
  192.         else
  193.             tf = tf - frame * math.floor(tf / frame)
  194.         end
  195.     end
  196. end)
  197. local RbxUtility = LoadLibrary("RbxUtility")
  198. local Create = RbxUtility.Create
  199.  
  200. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  201.     if hit.Parent == nil then
  202.         return
  203.     end
  204.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  205.     for _, v in pairs(hit.Parent:children()) do
  206.         if v:IsA("Humanoid") then
  207.             h = v
  208.         end
  209.     end
  210.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  211.          warn'No R15 allowed'
  212.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  213.          end
  214.  
  215.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  216.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  217.             if hit.Parent.DebounceHit.Value == true then
  218.                 return
  219.             end
  220.         end
  221.          if insta == true then
  222.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  223.          end
  224.         local c = Create("ObjectValue"){
  225.             Name = "creator",
  226.             Value = game:service("Players").LocalPlayer,
  227.             Parent = h,
  228.         }
  229.         game:GetService("Debris"):AddItem(c, .5)
  230.         if HitSound ~= nil and HitPitch ~= nil then
  231.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  232.         end
  233.         local Damage = math.random(minim, maxim)
  234.         local blocked = false
  235.         local block = hit.Parent:findFirstChild("Block")
  236.         if block ~= nil then
  237.             if block.className == "IntValue" then
  238.                 if block.Value > 0 then
  239.                     blocked = true
  240.                     block.Value = block.Value - 1
  241.                     print(block.Value)
  242.                 end
  243.             end
  244.         end
  245.         if blocked == false then
  246.             h.Health = h.Health - Damage
  247.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  248.         else
  249.             h.Health = h.Health - (Damage / 2)
  250.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  251.         end
  252.         if Type == "Knockdown" then
  253.             local hum = hit.Parent.Humanoid
  254.             hum.PlatformStand = true
  255.             coroutine.resume(coroutine.create(function(HHumanoid)
  256.                 swait(1)
  257.                 HHumanoid.PlatformStand = false
  258.             end), hum)
  259.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  260.             local bodvol = Create("BodyVelocity"){
  261.                 velocity = angle * knockback,
  262.                 P = 5000,
  263.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  264.                 Parent = hit,
  265.             }
  266.             local rl = Create("BodyAngularVelocity"){
  267.                 P = 3000,
  268.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  269.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  270.                 Parent = hit,
  271.             }
  272.             game:GetService("Debris"):AddItem(bodvol, .5)
  273.             game:GetService("Debris"):AddItem(rl, .5)
  274.         elseif Type == "Normal" then
  275.             local vp = Create("BodyVelocity"){
  276.                 P = 500,
  277.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  278.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  279.             }
  280.             if knockback > 0 then
  281.                 vp.Parent = hit.Parent.Torso
  282.             end
  283.             game:GetService("Debris"):AddItem(vp, .5)
  284.         elseif Type == "Up" then
  285.             local bodyVelocity = Create("BodyVelocity"){
  286.                 velocity = Vector3.new(0, 20, 0),
  287.                 P = 5000,
  288.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  289.                 Parent = hit,
  290.             }
  291.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  292.         elseif Type == "DarkUp" then
  293.             coroutine.resume(coroutine.create(function()
  294.                 for i = 0, 1, 0.1 do
  295.                     swait()
  296.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  297.                 end
  298.             end))
  299.             local bodyVelocity = Create("BodyVelocity"){
  300.                 velocity = Vector3.new(0, 20, 0),
  301.                 P = 5000,
  302.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  303.                 Parent = hit,
  304.             }
  305.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  306.         elseif Type == "Snare" then
  307.             local bp = Create("BodyPosition"){
  308.                 P = 2000,
  309.                 D = 100,
  310.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  311.                 position = hit.Parent.Torso.Position,
  312.                 Parent = hit.Parent.Torso,
  313.             }
  314.             game:GetService("Debris"):AddItem(bp, 1)
  315.         elseif Type == "Freeze" then
  316.             local BodPos = Create("BodyPosition"){
  317.                 P = 50000,
  318.                 D = 1000,
  319.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  320.                 position = hit.Parent.Torso.Position,
  321.                 Parent = hit.Parent.Torso,
  322.             }
  323.             local BodGy = Create("BodyGyro") {
  324.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  325.                 P = 20e+003,
  326.                 Parent = hit.Parent.Torso,
  327.                 cframe = hit.Parent.Torso.CFrame,
  328.             }
  329.             hit.Parent.Torso.Anchored = true
  330.             coroutine.resume(coroutine.create(function(Part)
  331.                 swait(1.5)
  332.                 Part.Anchored = false
  333.             end), hit.Parent.Torso)
  334.             game:GetService("Debris"):AddItem(BodPos, 3)
  335.             game:GetService("Debris"):AddItem(BodGy, 3)
  336.         end
  337.         local debounce = Create("BoolValue"){
  338.             Name = "DebounceHit",
  339.             Parent = hit.Parent,
  340.             Value = true,
  341.         }
  342.         game:GetService("Debris"):AddItem(debounce, Delay)
  343.         c = Create("ObjectValue"){
  344.             Name = "creator",
  345.             Value = Player,
  346.             Parent = h,
  347.         }
  348.         game:GetService("Debris"):AddItem(c, .5)
  349.     end
  350. end
  351.  
  352. function ShowDamage(Pos, Text, Time, Color)
  353.     local Rate = (1 / 30)
  354.     local Pos = (Pos or Vector3.new(0, 0, 0))
  355.     local Text = (Text or "")
  356.     local Time = (Time or 2)
  357.     local Color = (Color or Color3.new(1, 0, 1))
  358.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  359.     EffectPart.Anchored = true
  360.     local BillboardGui = Create("BillboardGui"){
  361.         Size = UDim2.new(3, 0, 3, 0),
  362.         Adornee = EffectPart,
  363.         Parent = EffectPart,
  364.     }
  365.     local TextLabel = Create("TextLabel"){
  366.         BackgroundTransparency = 1,
  367.         Size = UDim2.new(1, 0, 1, 0),
  368.         Text = Text,
  369.         Font = "Highway",
  370.         TextColor3 = Color,
  371.         TextScaled = true,
  372.         Parent = BillboardGui,
  373.     }
  374.     game.Debris:AddItem(EffectPart, (Time))
  375.     EffectPart.Parent = game:GetService("Workspace")
  376.     delay(0, function()
  377.         local Frames = (Time / Rate)
  378.         for Frame = 1, Frames do
  379.             wait(Rate)
  380.             local Percent = (Frame / Frames)
  381.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  382.             TextLabel.TextTransparency = Percent
  383.         end
  384.         if EffectPart and EffectPart.Parent then
  385.             EffectPart:Destroy()
  386.         end
  387.     end)
  388. end
  389. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  390.   for _, c in pairs(workspace:children()) do
  391.     local hum = c:findFirstChild("Humanoid")
  392.     if hum ~= nil then
  393.       local head = c:findFirstChild("Head")
  394.       if head ~= nil then
  395.         local targ = head.Position - Part.Position
  396.         local mag = targ.magnitude
  397.         if magni >= mag and c.Name ~= plr.Name then
  398.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
  399.         end
  400.       end
  401.     end
  402.   end
  403. end
  404. function MagniKILL(Part, magni, knock, Type)
  405.   for _, c in pairs(workspace:children()) do
  406.     local hum = c:findFirstChild("Humanoid")
  407.     if hum ~= nil then
  408.       local head = c:findFirstChild("Head")
  409.       if head ~= nil then
  410.         local targ = head.Position - Part.Position
  411.         local mag = targ.magnitude
  412.         if magni >= mag and c.Name ~= plr.Name then
  413.           hum.Health = 0
  414.         end
  415.       end
  416.     end
  417.   end
  418. end
  419. CFuncs = {
  420.   Part = {
  421.     Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  422.       local Part = Create("Part")({
  423.         Parent = Parent,
  424.         Reflectance = Reflectance,
  425.         Transparency = Transparency,
  426.         CanCollide = false,
  427.         Locked = true,
  428.         BrickColor = BrickColor.new(tostring(BColor)),
  429.         Name = Name,
  430.         Size = Size,
  431.         Material = Material
  432.       })
  433.       RemoveOutlines(Part)
  434.       return Part
  435.     end
  436.   },
  437.   Mesh = {
  438.     Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  439.       local Msh = Create(Mesh)({
  440.         Parent = Part,
  441.         Offset = OffSet,
  442.         Scale = Scale
  443.       })
  444.       if Mesh == "SpecialMesh" then
  445.         Msh.MeshType = MeshType
  446.         Msh.MeshId = MeshId
  447.       end
  448.       return Msh
  449.     end
  450.   },
  451.   Mesh = {
  452.     Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  453.       local Msh = Create(Mesh)({
  454.         Parent = Part,
  455.         Offset = OffSet,
  456.         Scale = Scale
  457.       })
  458.       if Mesh == "SpecialMesh" then
  459.         Msh.MeshType = MeshType
  460.         Msh.MeshId = MeshId
  461.       end
  462.       return Msh
  463.     end
  464.   },
  465.   Weld = {
  466.     Create = function(Parent, Part0, Part1, C0, C1)
  467.       local Weld = Create("Weld")({
  468.         Parent = Parent,
  469.         Part0 = Part0,
  470.         Part1 = Part1,
  471.         C0 = C0,
  472.         C1 = C1
  473.       })
  474.       return Weld
  475.     end
  476.   },
  477.   Sound = {
  478.     Create = function(id, par, vol, pit)
  479.       coroutine.resume(coroutine.create(function()
  480.         local S = Create("Sound")({
  481.           Volume = vol,
  482.           Pitch = pit or 1,
  483.           SoundId = id,
  484.           Parent = par or workspace
  485.         })
  486.         wait()
  487.         S:play()
  488.         game:GetService("Debris"):AddItem(S, 6)
  489.       end))
  490.     end
  491.   },
  492.   ParticleEmitter = {
  493.     Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  494.       local fp = Create("ParticleEmitter")({
  495.         Parent = Parent,
  496.         Color = ColorSequence.new(Color1, Color2),
  497.         LightEmission = LightEmission,
  498.         Size = Size,
  499.         Texture = Texture,
  500.         Transparency = Transparency,
  501.         ZOffset = ZOffset,
  502.         Acceleration = Accel,
  503.         Drag = Drag,
  504.         LockedToPart = LockedToPart,
  505.         VelocityInheritance = VelocityInheritance,
  506.         EmissionDirection = EmissionDirection,
  507.         Enabled = Enabled,
  508.         Lifetime = LifeTime,
  509.         Rate = Rate,
  510.         Rotation = Rotation,
  511.         RotSpeed = RotSpeed,
  512.         Speed = Speed,
  513.         VelocitySpread = VelocitySpread
  514.       })
  515.       return fp
  516.     end
  517.   }
  518. }
  519. function RemoveOutlines(part)
  520.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  521. end
  522. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  523.   local Part = Create("Part")({
  524.     formFactor = FormFactor,
  525.     Parent = Parent,
  526.     Reflectance = Reflectance,
  527.     Transparency = Transparency,
  528.     CanCollide = false,
  529.     Locked = true,
  530.     BrickColor = BrickColor.new(tostring(BColor)),
  531.     Name = Name,
  532.     Size = Size,
  533.     Material = Material
  534.   })
  535.   RemoveOutlines(Part)
  536.   return Part
  537. end
  538. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  539.   local Msh = Create(Mesh)({
  540.     Parent = Part,
  541.     Offset = OffSet,
  542.     Scale = Scale
  543.   })
  544.   if Mesh == "SpecialMesh" then
  545.     Msh.MeshType = MeshType
  546.     Msh.MeshId = MeshId
  547.   end
  548.   return Msh
  549. end
  550. function CreateWeld(Parent, Part0, Part1, C0, C1)
  551.   local Weld = Create("Weld")({
  552.     Parent = Parent,
  553.     Part0 = Part0,
  554.     Part1 = Part1,
  555.     C0 = C0,
  556.     C1 = C1
  557.   })
  558.   return Weld
  559. end
  560. EffectModel = Instance.new("Model", char)
  561. Effects = {
  562.   Block = {
  563.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  564.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  565.       prt.Anchored = true
  566.       prt.CFrame = cframe
  567.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  568.       game:GetService("Debris"):AddItem(prt, 10)
  569.       if Type == 1 or Type == nil then
  570.         table.insert(Effects, {
  571.           prt,
  572.           "Block1",
  573.           delay,
  574.           x3,
  575.           y3,
  576.           z3,
  577.           msh
  578.         })
  579.       elseif Type == 2 then
  580.         table.insert(Effects, {
  581.           prt,
  582.           "Block2",
  583.           delay,
  584.           x3,
  585.           y3,
  586.           z3,
  587.           msh
  588.         })
  589.       else
  590.         table.insert(Effects, {
  591.           prt,
  592.           "Block3",
  593.           delay,
  594.           x3,
  595.           y3,
  596.           z3,
  597.           msh
  598.         })
  599.       end
  600.     end
  601.   },
  602.   Sphere = {
  603.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  604.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  605.       prt.Anchored = true
  606.       prt.CFrame = cframe
  607.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  608.       game:GetService("Debris"):AddItem(prt, 10)
  609.       table.insert(Effects, {
  610.         prt,
  611.         "Cylinder",
  612.         delay,
  613.         x3,
  614.         y3,
  615.         z3,
  616.         msh
  617.       })
  618.     end
  619.   },
  620.   Cylinder = {
  621.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  622.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  623.       prt.Anchored = true
  624.       prt.CFrame = cframe
  625.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  626.       game:GetService("Debris"):AddItem(prt, 10)
  627.       table.insert(Effects, {
  628.         prt,
  629.         "Cylinder",
  630.         delay,
  631.         x3,
  632.         y3,
  633.         z3,
  634.         msh
  635.       })
  636.     end
  637.   },
  638.   Wave = {
  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, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  644.       game:GetService("Debris"):AddItem(prt, 10)
  645.       table.insert(Effects, {
  646.         prt,
  647.         "Cylinder",
  648.         delay,
  649.         x3 / 60,
  650.         y3 / 60,
  651.         z3 / 60,
  652.         msh
  653.       })
  654.     end
  655.   },
  656.   Ring = {
  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("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", 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.   Break = {
  675.     Create = function(brickcolor, cframe, x1, y1, z1)
  676.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  677.       prt.Anchored = true
  678.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  679.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  680.       local num = math.random(10, 50) / 1000
  681.       game:GetService("Debris"):AddItem(prt, 10)
  682.       table.insert(Effects, {
  683.         prt,
  684.         "Shatter",
  685.         num,
  686.         prt.CFrame,
  687.         math.random() - math.random(),
  688.         0,
  689.         math.random(50, 100) / 100
  690.       })
  691.     end
  692.   }
  693. }
  694. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  695.   local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  696.   prt.Anchored = true
  697.   prt.CFrame = cframe
  698.   local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  699.   game:GetService("Debris"):AddItem(prt, 10)
  700.   if Type == 1 or Type == nil then
  701.     table.insert(Effects, {
  702.       prt,
  703.       "Block1",
  704.       delay,
  705.       x3,
  706.       y3,
  707.       z3,
  708.       msh
  709.     })
  710.   elseif Type == 2 then
  711.     table.insert(Effects, {
  712.       prt,
  713.       "Block2",
  714.       delay,
  715.       x3,
  716.       y3,
  717.       z3,
  718.       msh
  719.     })
  720.   elseif Type == 3 then
  721.     table.insert(Effects, {
  722.       prt,
  723.       "Block3",
  724.       delay,
  725.       x3,
  726.       y3,
  727.       z3,
  728.       msh
  729.     })
  730.   end
  731. end
  732. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  733.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  734.   prt.Anchored = true
  735.   prt.CFrame = cframe
  736.   local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  737.   game:GetService("Debris"):AddItem(prt, 10)
  738.   table.insert(Effects, {
  739.     prt,
  740.     "Cylinder",
  741.     delay,
  742.     x3,
  743.     y3,
  744.     z3,
  745.     msh
  746.   })
  747. end
  748. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  749.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  750.   prt.Anchored = true
  751.   prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  752.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", 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. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  765.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  766.   prt.Anchored = true
  767.   prt.CFrame = cframe
  768.   local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  769.   game:GetService("Debris"):AddItem(prt, 10)
  770.   table.insert(Effects, {
  771.     prt,
  772.     "Cylinder",
  773.     delay,
  774.     x3,
  775.     y3,
  776.     z3,
  777.     msh
  778.   })
  779. end
  780. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  781.   local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  782.   prt.Anchored = true
  783.   prt.CFrame = cframe
  784.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  785.   game:GetService("Debris"):AddItem(prt, 10)
  786.   table.insert(Effects, {
  787.     prt,
  788.     "Cylinder",
  789.     delay,
  790.     x3,
  791.     y3,
  792.     z3,
  793.     msh
  794.   })
  795. end
  796. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  797.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  798.   prt.Anchored = true
  799.   prt.CFrame = cframe
  800.   local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  801.   game:GetService("Debris"):AddItem(prt, 10)
  802.   table.insert(Effects, {
  803.     prt,
  804.     "Cylinder",
  805.     delay,
  806.     x3,
  807.     y3,
  808.     z3,
  809.     msh
  810.   })
  811. end
  812. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  813.   local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  814.   prt.Anchored = true
  815.   prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  816.   local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  817.   local num = math.random(10, 50) / 1000
  818.   game:GetService("Debris"):AddItem(prt, 10)
  819.   table.insert(Effects, {
  820.     prt,
  821.     "Shatter",
  822.     num,
  823.     prt.CFrame,
  824.     math.random() - math.random(),
  825.     0,
  826.     math.random(50, 100) / 100
  827.   })
  828. end
  829. function CreateSound(ID, PARENT, VOLUME, PITCH)
  830.     local NEWSOUND = nil
  831.     coroutine.resume(coroutine.create(function()
  832.         NEWSOUND = Instance.new("Sound", PARENT)
  833.         NEWSOUND.Volume = VOLUME
  834.         NEWSOUND.Pitch = PITCH
  835.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  836.         swait()
  837.         NEWSOUND:play()
  838.         game:GetService("Debris"):AddItem(NEWSOUND, 10)
  839.     end))
  840.     return NEWSOUND
  841. end
  842.  
  843.  
  844. --[[
  845.         Thanks for using Build-To-Lua by jarredbcv.
  846. ]]--
  847.  
  848. New = function(Object, Parent, Name, Data)
  849.     local Object = Instance.new(Object)
  850.     for Index, Value in pairs(Data or {}) do
  851.         Object[Index] = Value
  852.     end
  853.     Object.Parent = Parent
  854.     Object.Name = Name
  855.     return Object
  856. end
  857.    
  858. XBlade = New("Model",char,"XBlade",{})
  859. Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2, 0.119999982, 0.119999982),CFrame = CFrame.new(-44.0486794, 1.89940667, 173.921341, 0.99009043, -0.134159163, -0.0414969474, 0.0418755226, -2.00014849e-09, 0.999122798, -0.134041354, -0.990959466, 0.00561797712),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  860. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.3519974, 0.784493208, 173.553787, 0.134159118, 0.931669831, -0.337627381, -1.78345172e-10, 0.340707511, 0.940169215, 0.990959346, -0.126132146, 0.0457089804),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  861. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.93166995, 0.340707511, -0.12613225, -0.337627441, 0.940169275, 0.0457090214),C1 = CFrame.new(2.67253876, 0.00244140625, -1.22790456, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  862. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0702477, 1.93928599, 173.921783, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  863. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, 0.0407419205, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  864. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.7464447, 1.01027775, 173.471802, 0.134159118, 0.903306067, -0.407478601, -1.78345172e-10, 0.411195904, 0.911546826, 0.990959346, -0.122292183, 0.0551656336),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  865. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.903306186, 0.411195934, -0.122292288, -0.40747866, 0.911546886, 0.0551656857),C1 = CFrame.new(3.29253769, 0.00245666504, -1.02790737, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  866. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.130000025),CFrame = CFrame.new(-39.0396805, 1.93485165, 173.240723, 0.134159118, 0.86384666, -0.48556143, -1.78345172e-10, 0.489991099, 0.871727467, 0.990959346, -0.116950043, 0.065736711),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  867. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863846779, 0.489991099, -0.116950139, -0.48556149, 0.871727467, 0.0657367632),C1 = CFrame.new(5.05207825, 0.00245666504, -0.176268101, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  868. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.2101974, 1.23313034, 173.3992, 0.134159118, 0.88381362, -0.448190004, -1.78345172e-10, 0.452278793, 0.891876459, 0.990959346, -0.119653247, 0.0606772564),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  869. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.883813798, 0.452278793, -0.119653352, -0.448190093, 0.891876578, 0.0606773123),C1 = CFrame.new(3.84253311, 0.00245666504, -0.827910662, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  870. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.9794464, 0.607830167, 173.638718, 0.134159118, 0.966715217, -0.217858434, -1.78345172e-10, 0.219845936, 0.975534439, 0.990959346, -0.130876735, 0.0294943117),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  871. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.966715395, 0.219845951, -0.130876839, -0.217858493, 0.975534499, 0.0294943396),C1 = CFrame.new(2.03252411, 0.00245666504, -1.37789822, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  872. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.08000004, 0.0500000156),CFrame = CFrame.new(-42.5497932, 0.498351336, 173.715927, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  873. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.45289612, 0.00247192383, -1.46317959, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  874. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0665131, 1.84935343, 173.92128, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  875. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, -0.0492696762, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  876. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-42.5316505, 0.708744168, 173.713501, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  877. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.47999573, 0.00244140625, -1.25373793, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  878. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.079999879, 0.149999917, 0.100000016),CFrame = CFrame.new(-45.0332489, 1.85846865, 174.05719, 0.134159118, -0.0414969884, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418755673, 0.990959346, 0.00561798224, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  879. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, -0.0414970033, 0.999122858, 0.00561798783, -0.990090549, -0.0418755673, 0.134041384),C1 = CFrame.new(-0.994735718, -0.00253295898, 0.000717639923, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  880. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.52999997, 0.0500000156),CFrame = CFrame.new(-43.0991249, 1.12461293, 173.790329, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  881. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00244140625, -0.814253807, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  882. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.8233681, 0.848814011, 173.617599, 0.134159118, 0.949757814, -0.282773912, -1.78345172e-10, 0.285353601, 0.958422184, 0.990959346, -0.128580973, 0.0382827483),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  883. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.949757874, 0.285353601, -0.128581077, -0.282773942, 0.958422303, 0.0382827818),C1 = CFrame.new(2.19998169, 0.00245666504, -1.14372134, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  884. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 0.0799999386, 0.0500000156),CFrame = CFrame.new(-43.1370964, 2.03881836, 173.795456, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  885. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00245666504, 0.100754261, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  886. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-38.9191017, 1.90829134, 173.224411, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  887. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.17253876, 0.00245666504, -0.207900524, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  888. Wedge = New("WedgePart",XBlade,"Wedge",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,Size = Vector3.new(0.0799999461, 4.97000027, 1.66999996),CFrame = CFrame.new(-40.6379662, 1.33008528, 173.459518, 0.134159088, 0.990090489, -0.0414969511, -3.48056417e-10, 0.0418755226, 0.999122798, 0.990959585, -0.134041339, 0.00561797852),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  889. mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.41497803, 7.62939453e-05, -0.712950706, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  890. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-40.5334549, 1.31371856, 173.442963, 0.134159118, 0.888382077, -0.439065397, -1.78345172e-10, 0.443070978, 0.89648658, 0.990959346, -0.120271713, 0.059441939),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  891. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.888382196, 0.443070978, -0.120271817, -0.439065516, 0.89648664, 0.0594419949),C1 = CFrame.new(3.51998901, 0.00245666504, -0.733733177, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  892. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-39.8037491, 1.65485072, 173.344177, 0.134159118, 0.879470766, -0.456653416, -1.78345172e-10, 0.460819334, 0.887493968, 0.990959346, -0.1190653, 0.0618230514),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  893. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.879470944, 0.460819364, -0.119065404, -0.456653476, 0.887494028, 0.0618231073),C1 = CFrame.new(4.26998901, 0.00245666504, -0.423735619, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  894. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.02999997, 0.0500000156),CFrame = CFrame.new(-38.633503, 2.03729534, 173.18576, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  895. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.46588898, 0.00244140625, -0.0910782814, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  896. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-39.5588799, 1.55094099, 173.311005, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  897. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(4.51252747, 0.00247192383, -0.537901878, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  898. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 5, 0.0500000156),CFrame = CFrame.new(-40.6833267, 2.18262863, 173.463257, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
  899. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.40526581, 0.00245666504, 0.140748024, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  900. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.1286964, 1.07836723, 173.523544, 0.134159118, 0.920541048, -0.36688596, -1.78345172e-10, 0.37023294, 0.928938925, 0.990959346, -0.124625482, 0.0496700779),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  901. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.920541227, 0.37023297, -0.124625586, -0.36688602, 0.928938985, 0.0496701226),C1 = CFrame.new(2.9099884, 0.00245666504, -0.943724632, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  902.  
  903.  
  904. HeartLocket = New("Model",char,"Heart Locket",{})
  905. Heart = New("Hat",HeartLocket,"Heart",{})
  906. Handle2 = New("Part",Heart,"Handle2",{BrickColor = BrickColor.new("Gold"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0500000007, 0.0500000007, 0.25),CFrame = CFrame.new(-42.7335167, 3.20922303, 175.050156, 0.14691636, -0.00137452304, -0.989146531, 0.00403097179, 0.999989152, -0.00079088629, 0.98914516, -0.00387096009, 0.14692001),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.937255, 0.721569, 0.219608),})
  907. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  908. String = New("Part",HeartLocket,"String",{BrickColor = BrickColor.new("Burnt Sienna"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-43.4914551, 3.64470506, 175.102722, 0.0703944117, 0, -0.997525692, 0, 1, 0, 0.997519255, 0, 0.0703952685),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.415686, 0.223529, 0.0352941),})
  909. Mesh = New("SpecialMesh",String,"Mesh",{Scale = Vector3.new(1.10000002, 1, 0.949999988),VertexColor = Vector3.new(0, 0, 0),MeshId = "http://www.roblox.com/asset/?id=34237901",MeshType = Enum.MeshType.FileMesh,})
  910.  
  911.  
  912. for _, v in pairs(XBlade:GetChildren()) do
  913.     if v:IsA'BasePart' then
  914.     v.CanCollide = false
  915. end
  916. end
  917.  
  918.  
  919.  
  920. local NewInstance = function(instance,parent,properties)
  921.     local inst = Instance.new(instance,parent)
  922.     if(properties)then
  923.         for i,v in next, properties do
  924.             pcall(function() inst[i] = v end)
  925.         end
  926.     end
  927.     return inst;
  928. end
  929. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
  930. local Locket = NewInstance('Weld',char,{Part0=hed,Part1=String,C0 = CFrame.new(0,-.9,0.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
  931. local HeartL = NewInstance('Weld',char,{Part0=hed,Part1=Handle2,C0 = CFrame.new(0,-1.3,-0.7)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
  932.  
  933.  
  934.  
  935.  
  936. --Chat Function--
  937. function chatfunc(text,waitt)
  938. local chat = coroutine.wrap(function()
  939. if char:FindFirstChild("TalkingBillBoard")~= nil then
  940. char:FindFirstChild("TalkingBillBoard").Parent = nil
  941. end
  942. local naeeym2 = Instance.new("BillboardGui",char)
  943. naeeym2.Size = UDim2.new(0,100,0,40)
  944. naeeym2.StudsOffset = Vector3.new(0,2,0)
  945. naeeym2.Adornee = char.Head
  946. naeeym2.Name = "TalkingBillBoard"
  947. naeeym2.AlwaysOnTop = true
  948. local tecks2 = Instance.new("TextLabel",naeeym2)
  949. tecks2.BackgroundTransparency = 1
  950. tecks2.BorderSizePixel = 0
  951. tecks2.Text = ""
  952. tecks2.Font = "Code"
  953. tecks2.TextSize = 30
  954. tecks2.TextStrokeTransparency = 0
  955. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  956. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  957. tecks2.Size = UDim2.new(1,0,0.5,0)
  958. for i = 1,string.len(text),1 do
  959. tecks2.Text = string.sub(text,1,i)
  960. swait(3)
  961. end
  962. wait(waitt/10)
  963. coroutine.resume(coroutine.create(function()
  964.     for i = 1, 10 do
  965.         tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  966.         swait()
  967.     end
  968.     naeeym2:Destroy()
  969. end))
  970. end)
  971. chat()
  972. end
  973.  
  974. local asd = Instance.new("ParticleEmitter")
  975. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  976. asd.LightEmission = .1
  977. asd.Size = NumberSequence.new(0.2)
  978. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  979. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  980. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  981. asd.Transparency = bbb
  982. asd.Size = aaa
  983. asd.ZOffset = .9
  984. asd.Acceleration = Vector3.new(0, -5, 0)
  985. asd.LockedToPart = false
  986. asd.EmissionDirection = "Back"
  987. asd.Lifetime = NumberRange.new(1, 2)
  988. asd.Rotation = NumberRange.new(-100, 100)
  989. asd.RotSpeed = NumberRange.new(-100, 100)
  990. asd.Speed = NumberRange.new(2)
  991. asd.Enabled = false
  992. asd.VelocitySpread = 10000
  993.  
  994. function bleed(victim,amount)
  995. local prtcl = asd:Clone()
  996. prtcl.Parent = victim
  997. prtcl:Emit(amount)
  998. end
  999.  
  1000.  
  1001. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1002.     local NEWMESH = Instance.new(MESH)
  1003.     if MESH == "SpecialMesh" then
  1004.         NEWMESH.MeshType = MESHTYPE
  1005.         if MESHID ~= "nil" and MESHID ~= "" then
  1006.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1007.         end
  1008.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1009.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1010.         end
  1011.     end
  1012.     NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1013.     NEWMESH.Scale = SCALE
  1014.     NEWMESH.Parent = PARENT
  1015.     return NEWMESH
  1016. end
  1017.  
  1018. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1019.     local NEWPART = Instance.new("Part")
  1020.     NEWPART.formFactor = FORMFACTOR
  1021.     NEWPART.Reflectance = REFLECTANCE
  1022.     NEWPART.Transparency = TRANSPARENCY
  1023.     NEWPART.CanCollide = false
  1024.     NEWPART.Locked = true
  1025.     NEWPART.Anchored = true
  1026.     if ANCHOR == false then
  1027.         NEWPART.Anchored = false
  1028.     end
  1029.     NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1030.     NEWPART.Name = NAME
  1031.     NEWPART.Size = SIZE
  1032.     NEWPART.Position = tors.Position
  1033.     NEWPART.Material = MATERIAL
  1034.     NEWPART:BreakJoints()
  1035.     NEWPART.Parent = PARENT
  1036.     return NEWPART
  1037. end
  1038.  
  1039. local function weldBetween(a, b)
  1040.         local weldd = Instance.new("ManualWeld")
  1041.         weldd.Part0 = a
  1042.         weldd.Part1 = b
  1043.         weldd.C0 = CFrame.new()
  1044.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  1045.         weldd.Parent = a
  1046.         return weldd
  1047.     end
  1048.  
  1049. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1050. local acs = Instance.new("Part")
  1051. acs.CanCollide = false
  1052. acs.Anchored = false
  1053. acs.Size = Vector3.new(0,0,0)
  1054. acs.CFrame = attachmentpart.CFrame
  1055. acs.Parent = char
  1056. acs.BrickColor = color
  1057.     local meshs = Instance.new("SpecialMesh")
  1058.     meshs.MeshId = mesh
  1059.     meshs.TextureId = texture
  1060.     meshs.Parent = acs
  1061.     meshs.Scale = scale
  1062.     meshs.Offset = offset
  1063. weldBetween(attachmentpart,acs)
  1064. end
  1065.  
  1066. local accessories = Instance.new("Folder",char)
  1067. accessories.Name = "Add-ons"
  1068.  
  1069. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1070. if TYPE == "Gem" then
  1071.     local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1072.     acs.Anchored = false
  1073.     acs.CanCollide = false
  1074.     acs.CFrame = PART.CFrame
  1075.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1076. weldBetween(PART,acs)
  1077. elseif TYPE == "Skull" then
  1078.     local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1079.     acs.Anchored = false
  1080.     acs.CanCollide = false
  1081.     acs.CFrame = PART.CFrame
  1082.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1083. weldBetween(PART,acs)
  1084. elseif TYPE == "Eye" then
  1085.     local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1086.     acs.Anchored = false
  1087.     acs.CanCollide = false
  1088.     acs.CFrame = PART.CFrame
  1089.     local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1090. weldBetween(PART,acs)
  1091. end
  1092. end
  1093.  
  1094. createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1095. createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1096.  
  1097. --Extras--
  1098. q = char:GetChildren()
  1099.         for u = 1, #q do
  1100.         if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1101.                 q[u]:remove()
  1102.                 elseif q[u].ClassName == "CharacterMesh" then
  1103.                 q[u]:remove()
  1104.             elseif q[u].ClassName == "ShirtGraphic" then
  1105.                 q[u]:remove()
  1106.     elseif q[u].ClassName == "Shirt" then
  1107.         q[u]:Destroy()
  1108. elseif q[u].ClassName == "Pants" then
  1109.     q[u]:Destroy()
  1110.     end
  1111. end
  1112. local top = Instance.new("Shirt")
  1113. top.ShirtTemplate = "rbxassetid://831629350"
  1114. top.Parent = char
  1115. local bottom = Instance.new("Pants")
  1116. bottom.PantsTemplate = "rbxassetid://227915108"
  1117. bottom.Parent = char
  1118.  
  1119. local BodyColors =  char:FindFirstChildOfClass"BodyColors"
  1120. if BodyColors then
  1121.     BodyColors.HeadColor = BrickColor.new"Institutional white"
  1122.     BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1123.     BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1124.     BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1125.     BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1126.     BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1127. end
  1128.  
  1129. --Scarfs--
  1130. local Blobby = Instance.new("Part", char)
  1131. Blobby.Name = "Blob"
  1132. Blobby.CanCollide = false
  1133. Blobby.BrickColor = BrickColor.new("Institutional white")
  1134. Blobby.Transparency = 0
  1135. Blobby.Material = "Plastic"
  1136. Blobby.Size = Vector3.new(1, 1, 2)
  1137. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1138. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1139.  
  1140. local Weld = Instance.new("Weld", Blobby)
  1141. Weld.Part0 = hed
  1142. Weld.Part1 = Blobby
  1143. Weld.C1 = CFrame.new(0, 1.1, 0)
  1144. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1145.  
  1146. local M2 = Instance.new("SpecialMesh")
  1147. M2.Parent = Blobby
  1148. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1149. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1150.  
  1151. local Blobby2 = Instance.new("Part", char)
  1152. Blobby2.Name = "Blob"
  1153. Blobby2.CanCollide = false
  1154. Blobby2.BrickColor = BrickColor.new("Really black")
  1155. Blobby2.Transparency = 0
  1156. Blobby2.Material = "Plastic"
  1157. Blobby2.Size = Vector3.new(1, 1, 2)
  1158. Blobby2.TopSurface = Enum.SurfaceType.Smooth
  1159. Blobby2.BottomSurface = Enum.SurfaceType.Smooth
  1160.  
  1161. local Weld = Instance.new("Weld", Blobby2)
  1162. Weld.Part0 = hed
  1163. Weld.Part1 = Blobby2
  1164. Weld.C1 = CFrame.new(0, 1.2, 0)
  1165. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1166.  
  1167. local M2 = Instance.new("SpecialMesh")
  1168. M2.Parent = Blobby2
  1169. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1170. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1171.  
  1172. --Hair--
  1173. local Hair = Instance.new("Part", char)
  1174. Hair.Name = "Hair"
  1175. Hair.CanCollide = false
  1176. Hair.BrickColor = BrickColor.new("Institutional white")
  1177. Hair.Transparency = 0
  1178. Hair.Material = "Plastic"
  1179. Hair.Size = Vector3.new(1, 1, 2)
  1180. Hair.TopSurface = Enum.SurfaceType.Smooth
  1181. Hair.BottomSurface = Enum.SurfaceType.Smooth
  1182.  
  1183. local Weld = Instance.new("Weld", Hair)
  1184. Weld.Part0 = hed
  1185. Weld.Part1 = Hair
  1186. Weld.C1 = CFrame.new(0, -.5, 0)
  1187. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1188.  
  1189. local M2 = Instance.new("SpecialMesh")
  1190. M2.Parent = Hair
  1191. M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
  1192. M2.Scale = Vector3.new(1.2, 1.1, 1.1)
  1193.  
  1194. --Hood--
  1195. local Hood = Instance.new("Part", char)
  1196. Hood.Name = "Hood"
  1197. Hood.CanCollide = false
  1198. Hood.BrickColor = BrickColor.new("Institutional white")
  1199. Hood.Transparency = 0
  1200. Hood.Material = "Plastic"
  1201. Hood.Size = Vector3.new(1, 1, 2)
  1202. Hood.TopSurface = Enum.SurfaceType.Smooth
  1203. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1204.  
  1205. local Weld = Instance.new("Weld", Hood)
  1206. Weld.Part0 = tors
  1207. Weld.Part1 = Hood
  1208. Weld.C1 = CFrame.new(0, .4, -.9)
  1209. Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
  1210.  
  1211. local M2 = Instance.new("SpecialMesh")
  1212. M2.Parent = Hood
  1213. M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
  1214. M2.Scale = Vector3.new(0.922, 0.922, 0.922)
  1215. hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
  1216.  
  1217.  
  1218.  
  1219. Slashy = Instance.new("Sound", ra)
  1220. Slashy.Volume = 5
  1221. Slashy.Pitch = 1
  1222. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  1223. Slashy.Looped = false
  1224.  
  1225. local VALUE1 = false
  1226. local sine=0
  1227. for _, v in pairs(XBlade:GetChildren()) do
  1228.     if v:IsA'BasePart' then
  1229.     v.CanCollide = false
  1230.     v.Transparency = 1
  1231. end
  1232. end
  1233. function intro()
  1234. attack = true
  1235. chatfunc("Finally, after all this time.",3)
  1236. hum.WalkSpeed = 0
  1237. for i = 0,6,0.1 do
  1238.     swait()
  1239.     rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1240. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1241. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1242. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1243. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1244. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1245. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1246. end
  1247. wait(2.5)
  1248. chatfunc("At last I have a human soul.",3)
  1249. for i = 0,6,0.1 do
  1250.     swait()
  1251.     rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1252. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1253. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1254. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1255. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1256. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1257. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1258. end
  1259. wait(2.5)
  1260. chatfunc("And finally not attached to that dumb Skeleton.",3)
  1261. for i = 0,6,0.1 do
  1262.     swait()
  1263.     rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1264. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1265. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1266. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1267. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1268. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1269. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1270. end
  1271. wait(2.5)
  1272. chatfunc("You'll get to live long enough to see something special.",5)
  1273.  
  1274. for i = 0,6,0.1 do
  1275. swait()
  1276. for _, v in pairs(XBlade:GetChildren()) do
  1277.     if v:IsA'BasePart' then
  1278.     v.CanCollide = false
  1279.     v.Transparency = v.Transparency - .3
  1280. end
  1281. end
  1282. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1283. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1284. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1285. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1286. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(5)), 0.1)
  1287. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1288. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1289. end
  1290. wait(4.5)
  1291. chatfunc("Welcome my friend, to the XEvent.",3)
  1292. wait(2.5)
  1293. CreateSound("367453005", hed, 10, 1)
  1294. ShadowHead = New("Part",char,"ShadowHead",{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),})
  1295. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1296. Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1297. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame*angles(math.rad(90),math.rad(0),math.rad(0)), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1298. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1299. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1300. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1301. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1302. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1303. local bigboi = Instance.new("Sound",tors)
  1304. bigboi.SoundId = "rbxassetid://736980589"
  1305. bigboi.Volume = 2.5
  1306. bigboi.Looped = true
  1307. bigboi.Pitch = 1
  1308. bigboi:Play()
  1309. attack = false
  1310. VALUE1 = true
  1311. hum.WalkSpeed = 28
  1312. end
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318. function NothingPersonal()
  1319.     if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1320.         local HITBODY = mouse.Target.Parent
  1321.         local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1322.         local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1323.         if TORS ~= nil and HUMAN ~= nil then
  1324.             attack = true
  1325.             hum.WalkSpeed = 0
  1326.             root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1327.             TORS.Anchored = true
  1328.             CreateSound("367453005", hed, 10, 1)
  1329.             Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1330.             for i = 0,6,0.1 do
  1331.     swait()
  1332.     rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(-20)),0.15)
  1333. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1334. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1335. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1336. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(125)), 0.1)
  1337. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.1)
  1338. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1339.             end
  1340.             CreateSound("357417055", hed, 10, 1)
  1341.             for i = 0,4,0.1 do
  1342.     rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(45)),0.15)
  1343. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1344. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1345. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1346. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.1)
  1347. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1)
  1348. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1349.             end
  1350.             wait(2.5)
  1351.             CreateSound("623904185", hed, 10, 1)
  1352.             HITBODY:BreakJoints()
  1353.             TORS.Anchored = false
  1354.             attack = false
  1355.             hum.WalkSpeed = 28
  1356.             bleed(TORS,25)
  1357.             end
  1358.         end
  1359. end
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372. ---ATTACKS N STUFF
  1373. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1374.   Hitboxpart = Instance.new("Part", EffectModel)
  1375.   RemoveOutlines(Hitboxpart)
  1376.   Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1377.   Hitboxpart.CanCollide = false
  1378.   Hitboxpart.Transparency = 1
  1379.   Hitboxpart.Anchored = true
  1380.   Hitboxpart.CFrame = Pose
  1381.   game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1382.   MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1383. end
  1384. wait2 = false
  1385. combo = 1
  1386. mouse.Button1Down:connect(function(key)
  1387.   if attack == false then
  1388.     attack = true
  1389.     hum.WalkSpeed = 3.01
  1390.     if combo == 1 and wait2 == false then
  1391.       wait2 = true
  1392.       for i = 0, 1.2, 0.1 do
  1393.         swait()
  1394.         rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1395.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1396.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(175), math.rad(0), math.rad(0)), 0.1)
  1397.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1398.         RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1399.         LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1400.       end
  1401. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1402. Slashy:Play()
  1403.       HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1404.       for i = 0, 1.2, 0.1 do
  1405.         swait()
  1406.         rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  1407.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1408.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1409.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1410.         RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1411.         LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1412.       end
  1413.       combo = 2
  1414.     end
  1415.     if combo == 2 and wait2 == false then
  1416.       wait2 = true
  1417.       HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1418.       for i = 0, 1.4, 0.1 do
  1419.         swait()
  1420.        rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1421.     tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1422.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1423.     LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-4.5)),0.15)
  1424.     RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
  1425.     LH.C0=clerp(LH.C0,cf(-1,-1,-1)*angles(math.rad(-60),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  1426.       end
  1427.       combo = 3
  1428.     end
  1429.     if combo == 3 and wait2 == false then
  1430.       wait2 = true
  1431.  
  1432.       for i = 0, 1.2, 0.1 do
  1433.         swait()
  1434.         rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1435.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1436.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.1)
  1437.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1438.         RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1439.         LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1440.       end
  1441.       HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1442.   Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1443. Slashy:Play()
  1444.       for i = 0, 1.2, 0.1 do
  1445.         swait()
  1446.         rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  1447.         tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1448.         RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  1449.         LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1450.         RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1451.         LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1452.       end
  1453.       combo = 1
  1454.     end
  1455.     hum.WalkSpeed = 16
  1456.     wait2 = false
  1457.     attack = false
  1458.   end
  1459. end)
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466. function DashingSpin()
  1467.             attack = true
  1468.             hum.WalkSpeed = 0
  1469.             CreateSound("707957812", workspace, 5, 1)
  1470. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1471.     Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1472. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1473.     Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1474.  Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1475.  
  1476. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1477. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1478. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1479. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1480. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1481. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1482.             root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1483.             for i = 0,6,0.1 do
  1484. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1485. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1486. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1487. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110), math.rad(90)), 0.1)
  1488. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15)
  1489. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  1490. LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
  1491. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1492.             end
  1493.             for i = 0,9,0.1 do
  1494.                 swait()
  1495.                 MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  1496. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25+0.45*i)*angles(math.rad(0),math.rad(0),math.rad(0-255.45*i)),0.15)
  1497. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30-5.35*i),math.rad(0),math.rad(0)),0.15)
  1498. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110-25.35*i), math.rad(90)), 0.1)
  1499. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0+17.35*i),math.rad(0-25.35*i),math.rad(-4.5)),0.15)
  1500. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60+10.35*i),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
  1501. LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
  1502. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1503.             end
  1504.             attack = false
  1505.             hum.WalkSpeed = 28
  1506. end
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514. mouse.KeyDown:connect(function(key)
  1515.     if attack == false then
  1516.     if key == 'q' then
  1517.         NothingPersonal()
  1518.     elseif key == 'c' then
  1519.         CreateSound("367453005", hed, 10, 1)
  1520.         Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1521.         root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1522.         Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1523.     elseif key == 'f' then
  1524.         DashingSpin()
  1525.     elseif key == 't' then
  1526.         CreateSound("649634100", hed, 10, .89)
  1527.         end
  1528.     end
  1529. end)
  1530.  
  1531.  
  1532.  
  1533. ff = Instance.new("ForceField",char)
  1534. ff.Visible = false
  1535.  
  1536. local idle=0
  1537. local change = 1
  1538. local val = 0
  1539. toim = 0
  1540. hum.Animator.Parent = nil
  1541. idleanim=.4
  1542. while true do
  1543. swait()
  1544. hum.MaxHealth = math.huge
  1545. hum.Health = math.huge
  1546. hum.Name = "TheXEvent"
  1547. sine = sine + change
  1548. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1549. local velderp=root.Velocity.y
  1550. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1551. if equipped==true or equipped==false then
  1552. if attack==false then
  1553. idle=idle+1
  1554. else
  1555. idle=0
  1556. end
  1557. if root.Velocity.y > 1 and hitfloor==nil then
  1558. Anim="Jump"
  1559. if attack==false then
  1560. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1561. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1562. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1563. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1564. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1565. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1566. end
  1567. elseif root.Velocity.y < -1 and hitfloor==nil then
  1568. Anim="Fall"
  1569. if attack==false then
  1570. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1571. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1572. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1573. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1574. LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1575. RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1576. end
  1577. elseif torvel<1 and hitfloor~=nil then
  1578. Anim="Idle"
  1579. change = 1
  1580. if attack==false then
  1581. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(43)),0.15)
  1582. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1583. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1584. LH.C0=clerp(LH.C0,cf(-1,-.6-0.1*math.cos(sine/20),-.085)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1585. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-40), math.rad(15)), 0.1)
  1586. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
  1587. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1588. end
  1589.  
  1590. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1591. Anim="Walk"
  1592. change = 1
  1593. if attack==false then
  1594. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(20),math.rad(0),math.rad(0)),0.15)
  1595. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1596. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1597. LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1598. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-5), math.rad(15)), 0.1)
  1599. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
  1600. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1601. end
  1602. end
  1603. end
  1604.  
  1605. if 0 < #Effects then
  1606.     for e = 1, #Effects do
  1607.       if Effects[e] ~= nil then
  1608.         local Thing = Effects[e]
  1609.         if Thing ~= nil then
  1610.           local Part = Thing[1]
  1611.           local Mode = Thing[2]
  1612.           local Delay = Thing[3]
  1613.           local IncX = Thing[4]
  1614.           local IncY = Thing[5]
  1615.           local IncZ = Thing[6]
  1616.           if 1 >= Thing[1].Transparency then
  1617.             if Thing[2] == "Block1" then
  1618.               Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1619.               local Mesh = Thing[1].Mesh
  1620.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1621.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1622.             elseif Thing[2] == "Block2" then
  1623.               Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1624.               local Mesh = Thing[7]
  1625.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1626.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1627.             elseif Thing[2] == "Block3" then
  1628.               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)
  1629.               local Mesh = Thing[7]
  1630.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1631.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1632.             elseif Thing[2] == "Cylinder" then
  1633.               local Mesh = Thing[1].Mesh
  1634.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1635.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1636.             elseif Thing[2] == "Blood" then
  1637.               local Mesh = Thing[7]
  1638.               Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1639.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1640.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1641.             elseif Thing[2] == "Elec" then
  1642.               local Mesh = Thing[1].Mesh
  1643.               Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1644.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1645.             elseif Thing[2] == "Disappear" then
  1646.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1647.             elseif Thing[2] == "Shatter" then
  1648.               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1649.               Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1650.               Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1651.               Thing[6] = Thing[6] + Thing[5]
  1652.             end
  1653.           else
  1654.             Part.Parent = nil
  1655.             table.remove(Effects, e)
  1656.           end
  1657.         end
  1658.       end
  1659.     end
  1660.   end
  1661. if VALUE1 == false and attack == false then
  1662.         intro()
  1663.     end
  1664. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement