Advertisement
plytalent

XEvent Chara fe(Broke)

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