Upscalefanatic3

(Roblox) [Void] X-Event Chara

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