Advertisement
WowBoi

Untitled

May 19th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 159.15 KB | None | 0 0
  1. --XEvent Chara--
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9. local ScriptLink = [[Paste ur raw script link here]]
  10.  
  11. --//Do not touch anything below this line, you may break it.
  12. local FeSource = nil;pcall(function()FeSource = game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/WaverlyCole/FE-Compatibility-VoidSb-/master/translate.lua")end);
  13. local ScriptSource = nil;pcall(function()ScriptSource = game:GetService("HttpService"):GetAsync(ScriptLink)end);
  14. if not FeSource then error("Failed to grab update! Try again later.",0)end;if not ScriptSource then error("Failed to get link!",0)end;
  15. local FeConversion = loadstring(FeSource);local FeSucc,FeErr = pcall(FeConversion);if not FeSucc then warn(FeErr)error("Failed to initiate! Try again later.",0) end;
  16. local Script = loadstring(ScriptSource);local Succ,Err = pcall(Script);if not Succ then warn(Err)error("Error loading script.",0) end;
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. -----------------------
  27. -------------------------------------------------------
  28. --A script By AetherFireDragon
  29. --Effect Smoothing By OblivionCreature
  30. --Discords Creterisk#2958, Codex#6685, and [L]ewd#2941
  31. -------------------------------------------------------
  32.  
  33. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  34.  
  35. function swait(num)
  36. if num==0 or num==nil then
  37. game:service'RunService'.Stepped:wait(0)
  38. else
  39. for i=0,num do
  40. game:service'RunService'.Stepped:wait(0)
  41. end
  42. end
  43. end
  44. function thread(f)
  45. coroutine.resume(coroutine.create(f))
  46. end
  47.  
  48. --Needed to add this for a good reason, thank me later mak.
  49. so = function(id,par,vol,pit)
  50. coroutine.resume(coroutine.create(function()
  51. local sou = Instance.new("Sound",par or workspace)
  52. sou.Volume=vol
  53. sou.Pitch=pit or 1
  54. sou.SoundId=id
  55. swait()
  56. sou:play()
  57. game:GetService("Debris"):AddItem(sou,8)
  58. end))
  59. end
  60.  
  61.  
  62. function clerp(a, b, t)
  63. local qa = {
  64. QuaternionFromCFrame(a)
  65. }
  66. local qb = {
  67. QuaternionFromCFrame(b)
  68. }
  69. local ax, ay, az = a.x, a.y, a.z
  70. local bx, by, bz = b.x, b.y, b.z
  71. local _t = 1 - t
  72. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  73. end
  74. function QuaternionFromCFrame(cf)
  75. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  76. local trace = m00 + m11 + m22
  77. if trace > 0 then
  78. local s = math.sqrt(1 + trace)
  79. local recip = 0.5 / s
  80. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  81. else
  82. local i = 0
  83. if m00 < m11 then
  84. i = 1
  85. end
  86. if m22 > (i == 0 and m00 or m11) then
  87. i = 2
  88. end
  89. if i == 0 then
  90. local s = math.sqrt(m00 - m11 - m22 + 1)
  91. local recip = 0.5 / s
  92. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  93. elseif i == 1 then
  94. local s = math.sqrt(m11 - m22 - m00 + 1)
  95. local recip = 0.5 / s
  96. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  97. elseif i == 2 then
  98. local s = math.sqrt(m22 - m00 - m11 + 1)
  99. local recip = 0.5 / s
  100. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  101. end
  102. end
  103. end
  104. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  105. local xs, ys, zs = x + x, y + y, z + z
  106. local wx, wy, wz = w * xs, w * ys, w * zs
  107. local xx = x * xs
  108. local xy = x * ys
  109. local xz = x * zs
  110. local yy = y * ys
  111. local yz = y * zs
  112. local zz = z * zs
  113. 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))
  114. end
  115. function QuaternionSlerp(a, b, t)
  116. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  117. local startInterp, finishInterp
  118. if cosTheta >= 1.0E-4 then
  119. if 1 - cosTheta > 1.0E-4 then
  120. local theta = math.acos(cosTheta)
  121. local invSinTheta = 1 / math.sin(theta)
  122. startInterp = math.sin((1 - t) * theta) * invSinTheta
  123. finishInterp = math.sin(t * theta) * invSinTheta
  124. else
  125. startInterp = 1 - t
  126. finishInterp = t
  127. end
  128. elseif 1 + cosTheta > 1.0E-4 then
  129. local theta = math.acos(-cosTheta)
  130. local invSinTheta = 1 / math.sin(theta)
  131. startInterp = math.sin((t - 1) * theta) * invSinTheta
  132. finishInterp = math.sin(t * theta) * invSinTheta
  133. else
  134. startInterp = t - 1
  135. finishInterp = t
  136. end
  137. 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
  138. end
  139. function rayCast(Position, Direction, Range, Ignore)
  140. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  141. end
  142. --Wait what okay
  143. wait()
  144. local plr = game:service'Players'.LocalPlayer
  145. local char = plr.Character
  146. local hum = char.Humanoid
  147. local ra = char["Right Arm"]
  148. local la= char["Left Arm"]
  149. local rl= char["Right Leg"]
  150. local ll = char["Left Leg"]
  151. local hed = char.Head
  152. local root = char.HumanoidRootPart
  153. local rootj = root.RootJoint
  154. local tors = char.Torso
  155. local mouse = plr:GetMouse()
  156. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  157. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  158. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  159. local maincolor = BrickColor.new("Dark indigo")
  160. cf = CFrame.new
  161. angles = CFrame.Angles
  162. attack = false
  163. euler=CFrame.fromEulerAnglesXYZ
  164. equipped = false
  165. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  166. RSH, LSH = nil, nil
  167. RW = Instance.new("Weld")
  168. LW = Instance.new("Weld")
  169. RH = tors["Right Hip"]
  170. LH = tors["Left Hip"]
  171. RSH = tors["Right Shoulder"]
  172. LSH = tors["Left Shoulder"]
  173. RSH.Parent = nil
  174. LSH.Parent = nil
  175. RW.Name = "RW"
  176. RW.Part0 = tors
  177. RW.C0 = CFrame.new(1.5, 0.5, 0)
  178. RW.C1 = CFrame.new(0, 0.5, 0)
  179. RW.Part1 = ra
  180. RW.Parent = tors
  181. LW.Name = "LW"
  182. LW.Part0 = tors
  183. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  184. LW.C1 = CFrame.new(0, 0.5, 0)
  185. LW.Part1 = la
  186. LW.Parent = tors
  187. print('User is '..plr.Name)
  188. Effects = {}
  189.  
  190. ArtificialHB = Instance.new("BindableEvent", script)
  191. ArtificialHB.Name = "Heartbeat"
  192.  
  193. script:WaitForChild("Heartbeat")
  194.  
  195. frame = 1 / 60
  196. tf = 0
  197. allowframeloss = false
  198. tossremainder = false
  199. lastframe = tick()
  200. script.Heartbeat:Fire()
  201.  
  202. game:GetService("RunService").Heartbeat:connect(function(s, p)
  203. tf = tf + s
  204. if tf >= frame then
  205. if allowframeloss then
  206. script.Heartbeat:Fire()
  207. lastframe = tick()
  208. else
  209. for i = 1, math.floor(tf / frame) do
  210. script.Heartbeat:Fire()
  211. end
  212. lastframe = tick()
  213. end
  214. if tossremainder then
  215. tf = 0
  216. else
  217. tf = tf - frame * math.floor(tf / frame)
  218. end
  219. end
  220. end)
  221. local RbxUtility = LoadLibrary("RbxUtility")
  222. local Create = RbxUtility.Create
  223.  
  224. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  225. if hit.Parent == nil then
  226. return
  227. end
  228. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  229. for _, v in pairs(hit.Parent:children()) do
  230. if v:IsA("Humanoid") then
  231. h = v
  232. end
  233. end
  234. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  235. warn'No R15 allowed'
  236. hit.Parent:FindFirstChild("Head"):BreakJoints()
  237. end
  238.  
  239. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  240. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  241. if hit.Parent.DebounceHit.Value == true then
  242. return
  243. end
  244. end
  245. if insta == true then
  246. hit.Parent:FindFirstChild("Head"):BreakJoints()
  247. end
  248. local c = Create("ObjectValue"){
  249. Name = "creator",
  250. Value = game:service("Players").LocalPlayer,
  251. Parent = h,
  252. }
  253. game:GetService("Debris"):AddItem(c, .5)
  254. if HitSound ~= nil and HitPitch ~= nil then
  255. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  256. end
  257. local Damage = math.random(minim, maxim)
  258. local blocked = false
  259. local block = hit.Parent:findFirstChild("Block")
  260. if block ~= nil then
  261. if block.className == "IntValue" then
  262. if block.Value > 0 then
  263. blocked = true
  264. block.Value = block.Value - 1
  265. print(block.Value)
  266. end
  267. end
  268. end
  269. if blocked == false then
  270. h.Health = h.Health - Damage
  271. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  272. else
  273. h.Health = h.Health - (Damage / 2)
  274. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  275. end
  276. if Type == "Knockdown" then
  277. local hum = hit.Parent.Humanoid
  278. hum.PlatformStand = true
  279. coroutine.resume(coroutine.create(function(HHumanoid)
  280. swait(1)
  281. HHumanoid.PlatformStand = false
  282. end), hum)
  283. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  284. local bodvol = Create("BodyVelocity"){
  285. velocity = angle * knockback,
  286. P = 5000,
  287. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  288. Parent = hit,
  289. }
  290. local rl = Create("BodyAngularVelocity"){
  291. P = 3000,
  292. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  293. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  294. Parent = hit,
  295. }
  296. game:GetService("Debris"):AddItem(bodvol, .5)
  297. game:GetService("Debris"):AddItem(rl, .5)
  298. elseif Type == "Normal" then
  299. local vp = Create("BodyVelocity"){
  300. P = 500,
  301. maxForce = Vector3.new(math.huge, 0, math.huge),
  302. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  303. }
  304. if knockback > 0 then
  305. vp.Parent = hit.Parent.Torso
  306. end
  307. game:GetService("Debris"):AddItem(vp, .5)
  308. elseif Type == "Up" then
  309. local bodyVelocity = Create("BodyVelocity"){
  310. velocity = Vector3.new(0, 20, 0),
  311. P = 5000,
  312. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  313. Parent = hit,
  314. }
  315. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  316. elseif Type == "DarkUp" then
  317. coroutine.resume(coroutine.create(function()
  318. for i = 0, 1, 0.1 do
  319. swait()
  320. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  321. end
  322. end))
  323. local bodyVelocity = Create("BodyVelocity"){
  324. velocity = Vector3.new(0, 20, 0),
  325. P = 5000,
  326. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  327. Parent = hit,
  328. }
  329. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  330. elseif Type == "Snare" then
  331. local bp = Create("BodyPosition"){
  332. P = 2000,
  333. D = 100,
  334. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  335. position = hit.Parent.Torso.Position,
  336. Parent = hit.Parent.Torso,
  337. }
  338. game:GetService("Debris"):AddItem(bp, 1)
  339. elseif Type == "Freeze" then
  340. local BodPos = Create("BodyPosition"){
  341. P = 50000,
  342. D = 1000,
  343. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  344. position = hit.Parent.Torso.Position,
  345. Parent = hit.Parent.Torso,
  346. }
  347. local BodGy = Create("BodyGyro") {
  348. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  349. P = 20e+003,
  350. Parent = hit.Parent.Torso,
  351. cframe = hit.Parent.Torso.CFrame,
  352. }
  353. hit.Parent.Torso.Anchored = true
  354. coroutine.resume(coroutine.create(function(Part)
  355. swait(1.5)
  356. Part.Anchored = false
  357. end), hit.Parent.Torso)
  358. game:GetService("Debris"):AddItem(BodPos, 3)
  359. game:GetService("Debris"):AddItem(BodGy, 3)
  360. end
  361. local debounce = Create("BoolValue"){
  362. Name = "DebounceHit",
  363. Parent = hit.Parent,
  364. Value = true,
  365. }
  366. game:GetService("Debris"):AddItem(debounce, Delay)
  367. c = Create("ObjectValue"){
  368. Name = "creator",
  369. Value = Player,
  370. Parent = h,
  371. }
  372. game:GetService("Debris"):AddItem(c, .5)
  373. end
  374. end
  375.  
  376. function ShowDamage(Pos, Text, Time, Color)
  377. local Rate = (1 / 30)
  378. local Pos = (Pos or Vector3.new(0, 0, 0))
  379. local Text = (Text or "")
  380. local Time = (Time or 2)
  381. local Color = (Color or Color3.new(1, 0, 1))
  382. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  383. EffectPart.Anchored = true
  384. local BillboardGui = Create("BillboardGui"){
  385. Size = UDim2.new(3, 0, 3, 0),
  386. Adornee = EffectPart,
  387. Parent = EffectPart,
  388. }
  389. local TextLabel = Create("TextLabel"){
  390. BackgroundTransparency = 1,
  391. Size = UDim2.new(1, 0, 1, 0),
  392. Text = Text,
  393. Font = "Highway",
  394. TextColor3 = Color,
  395. TextScaled = true,
  396. Parent = BillboardGui,
  397. }
  398. game.Debris:AddItem(EffectPart, (Time))
  399. EffectPart.Parent = game:GetService("Workspace")
  400. delay(0, function()
  401. local Frames = (Time / Rate)
  402. for Frame = 1, Frames do
  403. wait(Rate)
  404. local Percent = (Frame / Frames)
  405. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  406. TextLabel.TextTransparency = Percent
  407. end
  408. if EffectPart and EffectPart.Parent then
  409. EffectPart:Destroy()
  410. end
  411. end)
  412. end
  413. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  414. for _, c in pairs(workspace:children()) do
  415. local hum = c:findFirstChild("Humanoid")
  416. if hum ~= nil then
  417. local head = c:findFirstChild("Head")
  418. if head ~= nil then
  419. local targ = head.Position - Part.Position
  420. local mag = targ.magnitude
  421. if magni >= mag and c.Name ~= plr.Name then
  422. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
  423. end
  424. end
  425. end
  426. end
  427. end
  428. function MagniKILL(Part, magni, knock, Type)
  429. for _, c in pairs(workspace:children()) do
  430. local hum = c:findFirstChild("Humanoid")
  431. if hum ~= nil then
  432. local head = c:findFirstChild("Head")
  433. if head ~= nil then
  434. local targ = head.Position - Part.Position
  435. local mag = targ.magnitude
  436. if magni >= mag and c.Name ~= plr.Name then
  437. hum.Health = 0
  438. end
  439. end
  440. end
  441. end
  442. end
  443. CFuncs = {
  444. Part = {
  445. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  446. local Part = Create("Part")({
  447. Parent = Parent,
  448. Reflectance = Reflectance,
  449. Transparency = Transparency,
  450. CanCollide = false,
  451. Locked = true,
  452. BrickColor = BrickColor.new(tostring(BColor)),
  453. Name = Name,
  454. Size = Size,
  455. Material = Material
  456. })
  457. RemoveOutlines(Part)
  458. return Part
  459. end
  460. },
  461. Mesh = {
  462. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  463. local Msh = Create(Mesh)({
  464. Parent = Part,
  465. Offset = OffSet,
  466. Scale = Scale
  467. })
  468. if Mesh == "SpecialMesh" then
  469. Msh.MeshType = MeshType
  470. Msh.MeshId = MeshId
  471. end
  472. return Msh
  473. end
  474. },
  475. Mesh = {
  476. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  477. local Msh = Create(Mesh)({
  478. Parent = Part,
  479. Offset = OffSet,
  480. Scale = Scale
  481. })
  482. if Mesh == "SpecialMesh" then
  483. Msh.MeshType = MeshType
  484. Msh.MeshId = MeshId
  485. end
  486. return Msh
  487. end
  488. },
  489. Weld = {
  490. Create = function(Parent, Part0, Part1, C0, C1)
  491. local Weld = Create("Weld")({
  492. Parent = Parent,
  493. Part0 = Part0,
  494. Part1 = Part1,
  495. C0 = C0,
  496. C1 = C1
  497. })
  498. return Weld
  499. end
  500. },
  501. Sound = {
  502. Create = function(id, par, vol, pit)
  503. coroutine.resume(coroutine.create(function()
  504. local S = Create("Sound")({
  505. Volume = vol,
  506. Pitch = pit or 1,
  507. SoundId = id,
  508. Parent = par or workspace
  509. })
  510. wait()
  511. S:play()
  512. game:GetService("Debris"):AddItem(S, 6)
  513. end))
  514. end
  515. },
  516. ParticleEmitter = {
  517. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  518. local fp = Create("ParticleEmitter")({
  519. Parent = Parent,
  520. Color = ColorSequence.new(Color1, Color2),
  521. LightEmission = LightEmission,
  522. Size = Size,
  523. Texture = Texture,
  524. Transparency = Transparency,
  525. ZOffset = ZOffset,
  526. Acceleration = Accel,
  527. Drag = Drag,
  528. LockedToPart = LockedToPart,
  529. VelocityInheritance = VelocityInheritance,
  530. EmissionDirection = EmissionDirection,
  531. Enabled = Enabled,
  532. Lifetime = LifeTime,
  533. Rate = Rate,
  534. Rotation = Rotation,
  535. RotSpeed = RotSpeed,
  536. Speed = Speed,
  537. VelocitySpread = VelocitySpread
  538. })
  539. return fp
  540. end
  541. }
  542. }
  543. function RemoveOutlines(part)
  544. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  545. end
  546. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  547. local Part = Create("Part")({
  548. formFactor = FormFactor,
  549. Parent = Parent,
  550. Reflectance = Reflectance,
  551. Transparency = Transparency,
  552. CanCollide = false,
  553. Locked = true,
  554. BrickColor = BrickColor.new(tostring(BColor)),
  555. Name = Name,
  556. Size = Size,
  557. Material = Material
  558. })
  559. RemoveOutlines(Part)
  560. return Part
  561. end
  562. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  563. local Msh = Create(Mesh)({
  564. Parent = Part,
  565. Offset = OffSet,
  566. Scale = Scale
  567. })
  568. if Mesh == "SpecialMesh" then
  569. Msh.MeshType = MeshType
  570. Msh.MeshId = MeshId
  571. end
  572. return Msh
  573. end
  574. function CreateWeld(Parent, Part0, Part1, C0, C1)
  575. local Weld = Create("Weld")({
  576. Parent = Parent,
  577. Part0 = Part0,
  578. Part1 = Part1,
  579. C0 = C0,
  580. C1 = C1
  581. })
  582. return Weld
  583. end
  584. EffectModel = Instance.new("Model", char)
  585. Effects = {
  586. Block = {
  587. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  588. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  589. prt.Anchored = true
  590. prt.CFrame = cframe
  591. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  592. game:GetService("Debris"):AddItem(prt, 10)
  593. if Type == 1 or Type == nil then
  594. table.insert(Effects, {
  595. prt,
  596. "Block1",
  597. delay,
  598. x3,
  599. y3,
  600. z3,
  601. msh
  602. })
  603. elseif Type == 2 then
  604. table.insert(Effects, {
  605. prt,
  606. "Block2",
  607. delay,
  608. x3,
  609. y3,
  610. z3,
  611. msh
  612. })
  613. else
  614. table.insert(Effects, {
  615. prt,
  616. "Block3",
  617. delay,
  618. x3,
  619. y3,
  620. z3,
  621. msh
  622. })
  623. end
  624. end
  625. },
  626. Sphere = {
  627. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  628. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  629. prt.Anchored = true
  630. prt.CFrame = cframe
  631. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  632. game:GetService("Debris"):AddItem(prt, 10)
  633. table.insert(Effects, {
  634. prt,
  635. "Cylinder",
  636. delay,
  637. x3,
  638. y3,
  639. z3,
  640. msh
  641. })
  642. end
  643. },
  644. Cylinder = {
  645. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  646. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  647. prt.Anchored = true
  648. prt.CFrame = cframe
  649. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  650. game:GetService("Debris"):AddItem(prt, 10)
  651. table.insert(Effects, {
  652. prt,
  653. "Cylinder",
  654. delay,
  655. x3,
  656. y3,
  657. z3,
  658. msh
  659. })
  660. end
  661. },
  662. Wave = {
  663. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  664. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  665. prt.Anchored = true
  666. prt.CFrame = cframe
  667. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  668. game:GetService("Debris"):AddItem(prt, 10)
  669. table.insert(Effects, {
  670. prt,
  671. "Cylinder",
  672. delay,
  673. x3 / 60,
  674. y3 / 60,
  675. z3 / 60,
  676. msh
  677. })
  678. end
  679. },
  680. Ring = {
  681. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  682. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  683. prt.Anchored = true
  684. prt.CFrame = cframe
  685. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  686. game:GetService("Debris"):AddItem(prt, 10)
  687. table.insert(Effects, {
  688. prt,
  689. "Cylinder",
  690. delay,
  691. x3,
  692. y3,
  693. z3,
  694. msh
  695. })
  696. end
  697. },
  698. Break = {
  699. Create = function(brickcolor, cframe, x1, y1, z1)
  700. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  701. prt.Anchored = true
  702. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  703. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  704. local num = math.random(10, 50) / 1000
  705. game:GetService("Debris"):AddItem(prt, 10)
  706. table.insert(Effects, {
  707. prt,
  708. "Shatter",
  709. num,
  710. prt.CFrame,
  711. math.random() - math.random(),
  712. 0,
  713. math.random(50, 100) / 100
  714. })
  715. end
  716. }
  717. }
  718. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  719. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  720. prt.Anchored = true
  721. prt.CFrame = cframe
  722. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723. game:GetService("Debris"):AddItem(prt, 10)
  724. if Type == 1 or Type == nil then
  725. table.insert(Effects, {
  726. prt,
  727. "Block1",
  728. delay,
  729. x3,
  730. y3,
  731. z3,
  732. msh
  733. })
  734. elseif Type == 2 then
  735. table.insert(Effects, {
  736. prt,
  737. "Block2",
  738. delay,
  739. x3,
  740. y3,
  741. z3,
  742. msh
  743. })
  744. elseif Type == 3 then
  745. table.insert(Effects, {
  746. prt,
  747. "Block3",
  748. delay,
  749. x3,
  750. y3,
  751. z3,
  752. msh
  753. })
  754. end
  755. end
  756. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  757. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  758. prt.Anchored = true
  759. prt.CFrame = cframe
  760. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  761. game:GetService("Debris"):AddItem(prt, 10)
  762. table.insert(Effects, {
  763. prt,
  764. "Cylinder",
  765. delay,
  766. x3,
  767. y3,
  768. z3,
  769. msh
  770. })
  771. end
  772. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  773. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  774. prt.Anchored = true
  775. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  776. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  777. game:GetService("Debris"):AddItem(prt, 10)
  778. table.insert(Effects, {
  779. prt,
  780. "Cylinder",
  781. delay,
  782. x3,
  783. y3,
  784. z3,
  785. msh
  786. })
  787. end
  788. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  789. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  790. prt.Anchored = true
  791. prt.CFrame = cframe
  792. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  793. game:GetService("Debris"):AddItem(prt, 10)
  794. table.insert(Effects, {
  795. prt,
  796. "Cylinder",
  797. delay,
  798. x3,
  799. y3,
  800. z3,
  801. msh
  802. })
  803. end
  804. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  805. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  806. prt.Anchored = true
  807. prt.CFrame = cframe
  808. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  809. game:GetService("Debris"):AddItem(prt, 10)
  810. table.insert(Effects, {
  811. prt,
  812. "Cylinder",
  813. delay,
  814. x3,
  815. y3,
  816. z3,
  817. msh
  818. })
  819. end
  820. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  821. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  822. prt.Anchored = true
  823. prt.CFrame = cframe
  824. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. table.insert(Effects, {
  827. prt,
  828. "Cylinder",
  829. delay,
  830. x3,
  831. y3,
  832. z3,
  833. msh
  834. })
  835. end
  836. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  837. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  838. prt.Anchored = true
  839. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  840. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  841. local num = math.random(10, 50) / 1000
  842. game:GetService("Debris"):AddItem(prt, 10)
  843. table.insert(Effects, {
  844. prt,
  845. "Shatter",
  846. num,
  847. prt.CFrame,
  848. math.random() - math.random(),
  849. 0,
  850. math.random(50, 100) / 100
  851. })
  852. end
  853. function CreateSound(ID, PARENT, VOLUME, PITCH)
  854. local NEWSOUND = nil
  855. coroutine.resume(coroutine.create(function()
  856. NEWSOUND = Instance.new("Sound", PARENT)
  857. NEWSOUND.Volume = VOLUME
  858. NEWSOUND.Pitch = PITCH
  859. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  860. swait()
  861. NEWSOUND:play()
  862. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  863. end))
  864. return NEWSOUND
  865. end
  866.  
  867.  
  868. --[[
  869. Thanks for using Build-To-Lua by jarredbcv.
  870. ]]--
  871.  
  872. New = function(Object, Parent, Name, Data)
  873. local Object = Instance.new(Object)
  874. for Index, Value in pairs(Data or {}) do
  875. Object[Index] = Value
  876. end
  877. Object.Parent = Parent
  878. Object.Name = Name
  879. return Object
  880. end
  881.  
  882. XBlade = New("Model",char,"XBlade",{})
  883. 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),})
  884. 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),})
  885. 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),})
  886. 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),})
  887. 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),})
  888. 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),})
  889. 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),})
  890. 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),})
  891. 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),})
  892. 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),})
  893. 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),})
  894. 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),})
  895. 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),})
  896. 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),})
  897. 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),})
  898. 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),})
  899. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-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),})
  900. Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-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),})
  901. 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),})
  902. 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),})
  903. 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),})
  904. 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),})
  905. 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),})
  906. 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),})
  907. 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),})
  908. 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),})
  909. 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),})
  910. 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),})
  911. 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),})
  912. 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),})
  913. 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),})
  914. 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),})
  915. 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),})
  916. 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),})
  917. 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),})
  918. 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),})
  919. 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),})
  920. 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),})
  921. 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),})
  922. 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),})
  923. 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),})
  924. 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),})
  925. 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),})
  926.  
  927.  
  928. HeartLocket = New("Model",char,"Heart Locket",{})
  929. Heart = New("Hat",HeartLocket,"Heart",{})
  930. 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),})
  931. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  932. 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),})
  933. 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,})
  934.  
  935.  
  936. for _, v in pairs(XBlade:GetChildren()) do
  937. if v:IsA'BasePart' then
  938. v.CanCollide = false
  939. end
  940. end
  941.  
  942.  
  943.  
  944. local NewInstance = function(instance,parent,properties)
  945. local inst = Instance.new(instance,parent)
  946. if(properties)then
  947. for i,v in next, properties do
  948. pcall(function() inst[i] = v end)
  949. end
  950. end
  951. return inst;
  952. end
  953. 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))})
  954. 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))})
  955. 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))})
  956.  
  957.  
  958.  
  959.  
  960. --Chat Function--
  961. function chatfunc(text,waitt)
  962. local chat = coroutine.wrap(function()
  963. if char:FindFirstChild("TalkingBillBoard")~= nil then
  964. char:FindFirstChild("TalkingBillBoard").Parent = nil
  965. end
  966. local naeeym2 = Instance.new("BillboardGui",char)
  967. naeeym2.Size = UDim2.new(0,100,0,40)
  968. naeeym2.StudsOffset = Vector3.new(0,2,0)
  969. naeeym2.Adornee = char.Head
  970. naeeym2.Name = "TalkingBillBoard"
  971. naeeym2.AlwaysOnTop = true
  972. local tecks2 = Instance.new("TextLabel",naeeym2)
  973. tecks2.BackgroundTransparency = 1
  974. tecks2.BorderSizePixel = 0
  975. tecks2.Text = ""
  976. tecks2.Font = "Code"
  977. tecks2.TextSize = 30
  978. tecks2.TextStrokeTransparency = 0
  979. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  980. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  981. tecks2.Size = UDim2.new(1,0,0.5,0)
  982. for i = 1,string.len(text),1 do
  983. tecks2.Text = string.sub(text,1,i)
  984. swait(3)
  985. end
  986. wait(waitt/10)
  987. coroutine.resume(coroutine.create(function()
  988. for i = 1, 10 do
  989. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  990. swait()
  991. end
  992. naeeym2:Destroy()
  993. end))
  994. end)
  995. chat()
  996. end
  997.  
  998. local asd = Instance.new("ParticleEmitter")
  999. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1000. asd.LightEmission = .1
  1001. asd.Size = NumberSequence.new(0.2)
  1002. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1003. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1004. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1005. asd.Transparency = bbb
  1006. asd.Size = aaa
  1007. asd.ZOffset = .9
  1008. asd.Acceleration = Vector3.new(0, -5, 0)
  1009. asd.LockedToPart = false
  1010. asd.EmissionDirection = "Back"
  1011. asd.Lifetime = NumberRange.new(1, 2)
  1012. asd.Rotation = NumberRange.new(-100, 100)
  1013. asd.RotSpeed = NumberRange.new(-100, 100)
  1014. asd.Speed = NumberRange.new(2)
  1015. asd.Enabled = false
  1016. asd.VelocitySpread = 10000
  1017.  
  1018. function bleed(victim,amount)
  1019. local prtcl = asd:Clone()
  1020. prtcl.Parent = victim
  1021. prtcl:Emit(amount)
  1022. end
  1023.  
  1024.  
  1025. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1026. local NEWMESH = Instance.new(MESH)
  1027. if MESH == "SpecialMesh" then
  1028. NEWMESH.MeshType = MESHTYPE
  1029. if MESHID ~= "nil" and MESHID ~= "" then
  1030. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1031. end
  1032. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1033. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1034. end
  1035. end
  1036. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1037. NEWMESH.Scale = SCALE
  1038. NEWMESH.Parent = PARENT
  1039. return NEWMESH
  1040. end
  1041.  
  1042. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1043. local NEWPART = Instance.new("Part")
  1044. NEWPART.formFactor = FORMFACTOR
  1045. NEWPART.Reflectance = REFLECTANCE
  1046. NEWPART.Transparency = TRANSPARENCY
  1047. NEWPART.CanCollide = false
  1048. NEWPART.Locked = true
  1049. NEWPART.Anchored = true
  1050. if ANCHOR == false then
  1051. NEWPART.Anchored = false
  1052. end
  1053. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1054. NEWPART.Name = NAME
  1055. NEWPART.Size = SIZE
  1056. NEWPART.Position = tors.Position
  1057. NEWPART.Material = MATERIAL
  1058. NEWPART:BreakJoints()
  1059. NEWPART.Parent = PARENT
  1060. return NEWPART
  1061. end
  1062.  
  1063. local function weldBetween(a, b)
  1064. local weldd = Instance.new("ManualWeld")
  1065. weldd.Part0 = a
  1066. weldd.Part1 = b
  1067. weldd.C0 = CFrame.new()
  1068. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1069. weldd.Parent = a
  1070. return weldd
  1071. end
  1072.  
  1073. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1074. local acs = Instance.new("Part")
  1075. acs.CanCollide = false
  1076. acs.Anchored = false
  1077. acs.Size = Vector3.new(0,0,0)
  1078. acs.CFrame = attachmentpart.CFrame
  1079. acs.Parent = char
  1080. acs.BrickColor = color
  1081. local meshs = Instance.new("SpecialMesh")
  1082. meshs.MeshId = mesh
  1083. meshs.TextureId = texture
  1084. meshs.Parent = acs
  1085. meshs.Scale = scale
  1086. meshs.Offset = offset
  1087. weldBetween(attachmentpart,acs)
  1088. end
  1089.  
  1090. local accessories = Instance.new("Folder",char)
  1091. accessories.Name = "Add-ons"
  1092.  
  1093. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1094. if TYPE == "Gem" then
  1095. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1096. acs.Anchored = false
  1097. acs.CanCollide = false
  1098. acs.CFrame = PART.CFrame
  1099. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1100. weldBetween(PART,acs)
  1101. elseif TYPE == "Skull" then
  1102. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1103. acs.Anchored = false
  1104. acs.CanCollide = false
  1105. acs.CFrame = PART.CFrame
  1106. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1107. weldBetween(PART,acs)
  1108. elseif TYPE == "Eye" then
  1109. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1110. acs.Anchored = false
  1111. acs.CanCollide = false
  1112. acs.CFrame = PART.CFrame
  1113. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1114. weldBetween(PART,acs)
  1115. end
  1116. end
  1117.  
  1118. createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1119. createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1120.  
  1121. --Extras--
  1122. q = char:GetChildren()
  1123. for u = 1, #q do
  1124. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1125. q[u]:remove()
  1126. elseif q[u].ClassName == "CharacterMesh" then
  1127. q[u]:remove()
  1128. elseif q[u].ClassName == "ShirtGraphic" then
  1129. q[u]:remove()
  1130. elseif q[u].ClassName == "Shirt" then
  1131. q[u]:Destroy()
  1132. elseif q[u].ClassName == "Pants" then
  1133. q[u]:Destroy()
  1134. end
  1135. end
  1136. local top = Instance.new("Shirt")
  1137. top.ShirtTemplate = "rbxassetid://831629350"
  1138. top.Parent = char
  1139. local bottom = Instance.new("Pants")
  1140. bottom.PantsTemplate = "rbxassetid://227915108"
  1141. bottom.Parent = char
  1142.  
  1143. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  1144. if BodyColors then
  1145. BodyColors.HeadColor = BrickColor.new"Institutional white"
  1146. BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1147. BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1148. BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1149. BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1150. BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1151. end
  1152.  
  1153. --Scarfs--
  1154. local Blobby = Instance.new("Part", char)
  1155. Blobby.Name = "Blob"
  1156. Blobby.CanCollide = false
  1157. Blobby.BrickColor = BrickColor.new("Institutional white")
  1158. Blobby.Transparency = 0
  1159. Blobby.Material = "Plastic"
  1160. Blobby.Size = Vector3.new(1, 1, 2)
  1161. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1162. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1163.  
  1164. local Weld = Instance.new("Weld", Blobby)
  1165. Weld.Part0 = hed
  1166. Weld.Part1 = Blobby
  1167. Weld.C1 = CFrame.new(0, 1.1, 0)
  1168. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1169.  
  1170. local M2 = Instance.new("SpecialMesh")
  1171. M2.Parent = Blobby
  1172. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1173. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1174.  
  1175. local Blobby2 = Instance.new("Part", char)
  1176. Blobby2.Name = "Blob"
  1177. Blobby2.CanCollide = false
  1178. Blobby2.BrickColor = BrickColor.new("Really black")
  1179. Blobby2.Transparency = 0
  1180. Blobby2.Material = "Plastic"
  1181. Blobby2.Size = Vector3.new(1, 1, 2)
  1182. Blobby2.TopSurface = Enum.SurfaceType.Smooth
  1183. Blobby2.BottomSurface = Enum.SurfaceType.Smooth
  1184.  
  1185. local Weld = Instance.new("Weld", Blobby2)
  1186. Weld.Part0 = hed
  1187. Weld.Part1 = Blobby2
  1188. Weld.C1 = CFrame.new(0, 1.2, 0)
  1189. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1190.  
  1191. local M2 = Instance.new("SpecialMesh")
  1192. M2.Parent = Blobby2
  1193. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1194. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1195.  
  1196. --Hair--
  1197. local Hair = Instance.new("Part", char)
  1198. Hair.Name = "Hair"
  1199. Hair.CanCollide = false
  1200. Hair.BrickColor = BrickColor.new("Institutional white")
  1201. Hair.Transparency = 0
  1202. Hair.Material = "Plastic"
  1203. Hair.Size = Vector3.new(1, 1, 2)
  1204. Hair.TopSurface = Enum.SurfaceType.Smooth
  1205. Hair.BottomSurface = Enum.SurfaceType.Smooth
  1206.  
  1207. local Weld = Instance.new("Weld", Hair)
  1208. Weld.Part0 = hed
  1209. Weld.Part1 = Hair
  1210. Weld.C1 = CFrame.new(0, -.5, 0)
  1211. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1212.  
  1213. local M2 = Instance.new("SpecialMesh")
  1214. M2.Parent = Hair
  1215. M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
  1216. M2.Scale = Vector3.new(1.2, 1.1, 1.1)
  1217.  
  1218. --Hood--
  1219. local Hood = Instance.new("Part", char)
  1220. Hood.Name = "Hood"
  1221. Hood.CanCollide = false
  1222. Hood.BrickColor = BrickColor.new("Institutional white")
  1223. Hood.Transparency = 0
  1224. Hood.Material = "Plastic"
  1225. Hood.Size = Vector3.new(1, 1, 2)
  1226. Hood.TopSurface = Enum.SurfaceType.Smooth
  1227. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1228.  
  1229. local Weld = Instance.new("Weld", Hood)
  1230. Weld.Part0 = tors
  1231. Weld.Part1 = Hood
  1232. Weld.C1 = CFrame.new(0, .4, -.9)
  1233. Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
  1234.  
  1235. local M2 = Instance.new("SpecialMesh")
  1236. M2.Parent = Hood
  1237. M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
  1238. M2.Scale = Vector3.new(0.922, 0.922, 0.922)
  1239. hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
  1240.  
  1241.  
  1242.  
  1243. Slashy = Instance.new("Sound", ra)
  1244. Slashy.Volume = 5
  1245. Slashy.Pitch = 1
  1246. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  1247. Slashy.Looped = false
  1248.  
  1249. local VALUE1 = false
  1250. local sine=0
  1251. for _, v in pairs(XBlade:GetChildren()) do
  1252. if v:IsA'BasePart' then
  1253. v.CanCollide = false
  1254. v.Transparency = 1
  1255. end
  1256. end
  1257. function intro()
  1258. attack = true
  1259. chatfunc("Finally, after all this time.",3)
  1260. hum.WalkSpeed = 0
  1261. for i = 0,6,0.1 do
  1262. swait()
  1263. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1264. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1265. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1266. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1267. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1268. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1269. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1270. end
  1271. wait(2.5)
  1272. chatfunc("At last I have a human soul.",3)
  1273. for i = 0,6,0.1 do
  1274. swait()
  1275. 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)
  1276. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1277. 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)
  1278. 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)
  1279. 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)
  1280. 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)
  1281. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1282. end
  1283. wait(2.5)
  1284. chatfunc("And finally not attached to that dumb Skeleton.",3)
  1285. for i = 0,6,0.1 do
  1286. swait()
  1287. 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)
  1288. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1289. 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)
  1290. 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)
  1291. 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)
  1292. 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)
  1293. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1294. end
  1295. wait(2.5)
  1296. chatfunc("You'll get to live long enough to see something special.",5)
  1297.  
  1298. for i = 0,6,0.1 do
  1299. swait()
  1300. for _, v in pairs(XBlade:GetChildren()) do
  1301. if v:IsA'BasePart' then
  1302. v.CanCollide = false
  1303. v.Transparency = v.Transparency - .3
  1304. end
  1305. end
  1306. 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)
  1307. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1308. 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)
  1309. 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)
  1310. 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)
  1311. 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)
  1312. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1313. end
  1314. wait(4.5)
  1315. chatfunc("Welcome my friend, to the XEvent.",3)
  1316. wait(2.5)
  1317. CreateSound("367453005", hed, 10, 1)
  1318. 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),})
  1319. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1320. 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),})
  1321. 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)
  1322. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1323. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1324. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1325. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1326. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1327. local bigboi = Instance.new("Sound",tors)
  1328. bigboi.SoundId = "rbxassetid://736980589"
  1329. bigboi.Volume = 2.5
  1330. bigboi.Looped = true
  1331. bigboi.Pitch = 1
  1332. bigboi:Play()
  1333. attack = false
  1334. VALUE1 = true
  1335. hum.WalkSpeed = 28
  1336. end
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342. function NothingPersonal()
  1343. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1344. local HITBODY = mouse.Target.Parent
  1345. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1346. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1347. if TORS ~= nil and HUMAN ~= nil then
  1348. attack = true
  1349. hum.WalkSpeed = 0
  1350. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1351. TORS.Anchored = true
  1352. CreateSound("367453005", hed, 10, 1)
  1353. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1354. for i = 0,6,0.1 do
  1355. swait()
  1356. 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)
  1357. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1358. 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)
  1359. 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)
  1360. 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)
  1361. 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)
  1362. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1363. end
  1364. CreateSound("357417055", hed, 10, 1)
  1365. for i = 0,4,0.1 do
  1366. 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)
  1367. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1368. 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)
  1369. 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)
  1370. 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)
  1371. 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)
  1372. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1373. end
  1374. wait(2.5)
  1375. CreateSound("623904185", hed, 10, 1)
  1376. HITBODY:BreakJoints()
  1377. TORS.Anchored = false
  1378. attack = false
  1379. hum.WalkSpeed = 28
  1380. bleed(TORS,25)
  1381. end
  1382. end
  1383. end
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396. ---ATTACKS N STUFF
  1397. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1398. Hitboxpart = Instance.new("Part", EffectModel)
  1399. RemoveOutlines(Hitboxpart)
  1400. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1401. Hitboxpart.CanCollide = false
  1402. Hitboxpart.Transparency = 1
  1403. Hitboxpart.Anchored = true
  1404. Hitboxpart.CFrame = Pose
  1405. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1406. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1407. end
  1408. wait2 = false
  1409. combo = 1
  1410. mouse.Button1Down:connect(function(key)
  1411. if attack == false then
  1412. attack = true
  1413. hum.WalkSpeed = 3.01
  1414. if combo == 1 and wait2 == false then
  1415. wait2 = true
  1416. for i = 0, 1.2, 0.1 do
  1417. swait()
  1418. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1419. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1420. 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)
  1421. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1422. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1423. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1424. end
  1425. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1426. Slashy:Play()
  1427. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1428. for i = 0, 1.2, 0.1 do
  1429. swait()
  1430. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  1431. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1432. 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)
  1433. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1434. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1435. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1436. end
  1437. combo = 2
  1438. end
  1439. if combo == 2 and wait2 == false then
  1440. wait2 = true
  1441. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1442. for i = 0, 1.4, 0.1 do
  1443. swait()
  1444. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1445. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1446. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. end
  1451. combo = 3
  1452. end
  1453. if combo == 3 and wait2 == false then
  1454. wait2 = true
  1455.  
  1456. for i = 0, 1.2, 0.1 do
  1457. swait()
  1458. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1459. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1460. 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)
  1461. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1462. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1463. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1464. end
  1465. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1466. Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1467. Slashy:Play()
  1468. for i = 0, 1.2, 0.1 do
  1469. swait()
  1470. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  1471. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1472. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  1473. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1474. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1475. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1476. end
  1477. combo = 1
  1478. end
  1479. hum.WalkSpeed = 16
  1480. wait2 = false
  1481. attack = false
  1482. end
  1483. end)
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490. function DashingSpin()
  1491. attack = true
  1492. hum.WalkSpeed = 0
  1493. CreateSound("707957812", workspace, 5, 1)
  1494. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1495. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1496. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1497. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1498. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1499.  
  1500. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1501. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1502. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1503. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1504. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1505. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1506. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1507. for i = 0,6,0.1 do
  1508. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1509. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1510. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1511. 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)
  1512. 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)
  1513. 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)
  1514. 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)
  1515. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1516. end
  1517. for i = 0,9,0.1 do
  1518. swait()
  1519. MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  1520. 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)
  1521. 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)
  1522. 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)
  1523. 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)
  1524. 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)
  1525. 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)
  1526. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1527. end
  1528. attack = false
  1529. hum.WalkSpeed = 28
  1530. end
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538. mouse.KeyDown:connect(function(key)
  1539. if attack == false then
  1540. if key == 'q' then
  1541. NothingPersonal()
  1542. elseif key == 'c' then
  1543. CreateSound("367453005", hed, 10, 1)
  1544. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1545. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1546. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1547. elseif key == 'f' then
  1548. DashingSpin()
  1549. elseif key == 't' then
  1550. CreateSound("649634100", hed, 10, .89)
  1551. end
  1552. end
  1553. end)
  1554.  
  1555.  
  1556.  
  1557. ff = Instance.new("ForceField",char)
  1558. ff.Visible = false
  1559.  
  1560. local idle=0
  1561. local change = 1
  1562. local val = 0
  1563. toim = 0
  1564. hum.Animator.Parent = nil
  1565. idleanim=.4
  1566. while true do
  1567. swait()
  1568. hum.MaxHealth = math.huge
  1569. hum.Health = math.huge
  1570. hum.Name = "TheXEvent"
  1571. sine = sine + change
  1572. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1573. local velderp=root.Velocity.y
  1574. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1575. if equipped==true or equipped==false then
  1576. if attack==false then
  1577. idle=idle+1
  1578. else
  1579. idle=0
  1580. end
  1581. if root.Velocity.y > 1 and hitfloor==nil then
  1582. Anim="Jump"
  1583. if attack==false then
  1584. 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)
  1585. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1586. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1587. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1588. 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)
  1589. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1590. end
  1591. elseif root.Velocity.y < -1 and hitfloor==nil then
  1592. Anim="Fall"
  1593. if attack==false then
  1594. 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)
  1595. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1596. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1597. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1598. 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)
  1599. 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)
  1600. end
  1601. elseif torvel<1 and hitfloor~=nil then
  1602. Anim="Idle"
  1603. change = 1
  1604. if attack==false then
  1605. 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)
  1606. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1607. 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)
  1608. 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)
  1609. 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)
  1610. 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)
  1611. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1612. end
  1613.  
  1614. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1615. Anim="Walk"
  1616. change = 1
  1617. if attack==false then
  1618. 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)
  1619. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1620. 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)
  1621. 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)
  1622. 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)
  1623. 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)
  1624. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1625. end
  1626. end
  1627. end
  1628.  
  1629. if 0 < #Effects then
  1630. for e = 1, #Effects do
  1631. if Effects[e] ~= nil then
  1632. local Thing = Effects[e]
  1633. if Thing ~= nil then
  1634. local Part = Thing[1]
  1635. local Mode = Thing[2]
  1636. local Delay = Thing[3]
  1637. local IncX = Thing[4]
  1638. local IncY = Thing[5]
  1639. local IncZ = Thing[6]
  1640. if 1 >= Thing[1].Transparency then
  1641. if Thing[2] == "Block1" then
  1642. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1643. local Mesh = Thing[1].Mesh
  1644. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1645. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1646. elseif Thing[2] == "Block2" then
  1647. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1648. local Mesh = Thing[7]
  1649. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1651. elseif Thing[2] == "Block3" then
  1652. 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)
  1653. local Mesh = Thing[7]
  1654. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1655. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1656. elseif Thing[2] == "Cylinder" then
  1657. local Mesh = Thing[1].Mesh
  1658. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1659. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1660. elseif Thing[2] == "Blood" then
  1661. local Mesh = Thing[7]
  1662. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1663. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1664. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1665. elseif Thing[2] == "Elec" then
  1666. local Mesh = Thing[1].Mesh
  1667. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1668. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1669. elseif Thing[2] == "Disappear" then
  1670. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1671. elseif Thing[2] == "Shatter" then
  1672. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1673. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1674. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1675. Thing[6] = Thing[6] + Thing[5]
  1676. end
  1677. else
  1678. Part.Parent = nil
  1679. table.remove(Effects, e)
  1680. end
  1681. end
  1682. end
  1683. end
  1684. end
  1685. if VALUE1 == false and attack == false then
  1686. intro()
  1687. end
  1688. end
  1689. RAW Paste Data
  1690. -----------------------
  1691. --XEvent Chara--
  1692. -----------------------
  1693. -------------------------------------------------------
  1694. --A script By AetherFireDragon
  1695. --Effect Smoothing By OblivionCreature
  1696. --Discords Creterisk#2958, Codex#6685, and [L]ewd#2941
  1697. -------------------------------------------------------
  1698.  
  1699. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  1700.  
  1701. function swait(num)
  1702. if num==0 or num==nil then
  1703. game:service'RunService'.Stepped:wait(0)
  1704. else
  1705. for i=0,num do
  1706. game:service'RunService'.Stepped:wait(0)
  1707. end
  1708. end
  1709. end
  1710. function thread(f)
  1711. coroutine.resume(coroutine.create(f))
  1712. end
  1713.  
  1714. --Needed to add this for a good reason, thank me later mak.
  1715. so = function(id,par,vol,pit)
  1716. coroutine.resume(coroutine.create(function()
  1717. local sou = Instance.new("Sound",par or workspace)
  1718. sou.Volume=vol
  1719. sou.Pitch=pit or 1
  1720. sou.SoundId=id
  1721. swait()
  1722. sou:play()
  1723. game:GetService("Debris"):AddItem(sou,8)
  1724. end))
  1725. end
  1726.  
  1727.  
  1728. function clerp(a, b, t)
  1729. local qa = {
  1730. QuaternionFromCFrame(a)
  1731. }
  1732. local qb = {
  1733. QuaternionFromCFrame(b)
  1734. }
  1735. local ax, ay, az = a.x, a.y, a.z
  1736. local bx, by, bz = b.x, b.y, b.z
  1737. local _t = 1 - t
  1738. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1739. end
  1740. function QuaternionFromCFrame(cf)
  1741. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1742. local trace = m00 + m11 + m22
  1743. if trace > 0 then
  1744. local s = math.sqrt(1 + trace)
  1745. local recip = 0.5 / s
  1746. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1747. else
  1748. local i = 0
  1749. if m00 < m11 then
  1750. i = 1
  1751. end
  1752. if m22 > (i == 0 and m00 or m11) then
  1753. i = 2
  1754. end
  1755. if i == 0 then
  1756. local s = math.sqrt(m00 - m11 - m22 + 1)
  1757. local recip = 0.5 / s
  1758. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1759. elseif i == 1 then
  1760. local s = math.sqrt(m11 - m22 - m00 + 1)
  1761. local recip = 0.5 / s
  1762. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1763. elseif i == 2 then
  1764. local s = math.sqrt(m22 - m00 - m11 + 1)
  1765. local recip = 0.5 / s
  1766. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1767. end
  1768. end
  1769. end
  1770. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1771. local xs, ys, zs = x + x, y + y, z + z
  1772. local wx, wy, wz = w * xs, w * ys, w * zs
  1773. local xx = x * xs
  1774. local xy = x * ys
  1775. local xz = x * zs
  1776. local yy = y * ys
  1777. local yz = y * zs
  1778. local zz = z * zs
  1779. 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))
  1780. end
  1781. function QuaternionSlerp(a, b, t)
  1782. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1783. local startInterp, finishInterp
  1784. if cosTheta >= 1.0E-4 then
  1785. if 1 - cosTheta > 1.0E-4 then
  1786. local theta = math.acos(cosTheta)
  1787. local invSinTheta = 1 / math.sin(theta)
  1788. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1789. finishInterp = math.sin(t * theta) * invSinTheta
  1790. else
  1791. startInterp = 1 - t
  1792. finishInterp = t
  1793. end
  1794. elseif 1 + cosTheta > 1.0E-4 then
  1795. local theta = math.acos(-cosTheta)
  1796. local invSinTheta = 1 / math.sin(theta)
  1797. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1798. finishInterp = math.sin(t * theta) * invSinTheta
  1799. else
  1800. startInterp = t - 1
  1801. finishInterp = t
  1802. end
  1803. 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
  1804. end
  1805. function rayCast(Position, Direction, Range, Ignore)
  1806. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1807. end
  1808. --Wait what okay
  1809. wait()
  1810. local plr = game:service'Players'.LocalPlayer
  1811. local char = plr.Character
  1812. local hum = char.Humanoid
  1813. local ra = char["Right Arm"]
  1814. local la= char["Left Arm"]
  1815. local rl= char["Right Leg"]
  1816. local ll = char["Left Leg"]
  1817. local hed = char.Head
  1818. local root = char.HumanoidRootPart
  1819. local rootj = root.RootJoint
  1820. local tors = char.Torso
  1821. local mouse = plr:GetMouse()
  1822. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1823. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1824. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1825. local maincolor = BrickColor.new("Dark indigo")
  1826. cf = CFrame.new
  1827. angles = CFrame.Angles
  1828. attack = false
  1829. euler=CFrame.fromEulerAnglesXYZ
  1830. equipped = false
  1831. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1832. RSH, LSH = nil, nil
  1833. RW = Instance.new("Weld")
  1834. LW = Instance.new("Weld")
  1835. RH = tors["Right Hip"]
  1836. LH = tors["Left Hip"]
  1837. RSH = tors["Right Shoulder"]
  1838. LSH = tors["Left Shoulder"]
  1839. RSH.Parent = nil
  1840. LSH.Parent = nil
  1841. RW.Name = "RW"
  1842. RW.Part0 = tors
  1843. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1844. RW.C1 = CFrame.new(0, 0.5, 0)
  1845. RW.Part1 = ra
  1846. RW.Parent = tors
  1847. LW.Name = "LW"
  1848. LW.Part0 = tors
  1849. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  1850. LW.C1 = CFrame.new(0, 0.5, 0)
  1851. LW.Part1 = la
  1852. LW.Parent = tors
  1853. print('User is '..plr.Name)
  1854. Effects = {}
  1855.  
  1856. ArtificialHB = Instance.new("BindableEvent", script)
  1857. ArtificialHB.Name = "Heartbeat"
  1858.  
  1859. script:WaitForChild("Heartbeat")
  1860.  
  1861. frame = 1 / 60
  1862. tf = 0
  1863. allowframeloss = false
  1864. tossremainder = false
  1865. lastframe = tick()
  1866. script.Heartbeat:Fire()
  1867.  
  1868. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1869. tf = tf + s
  1870. if tf >= frame then
  1871. if allowframeloss then
  1872. script.Heartbeat:Fire()
  1873. lastframe = tick()
  1874. else
  1875. for i = 1, math.floor(tf / frame) do
  1876. script.Heartbeat:Fire()
  1877. end
  1878. lastframe = tick()
  1879. end
  1880. if tossremainder then
  1881. tf = 0
  1882. else
  1883. tf = tf - frame * math.floor(tf / frame)
  1884. end
  1885. end
  1886. end)
  1887. local RbxUtility = LoadLibrary("RbxUtility")
  1888. local Create = RbxUtility.Create
  1889.  
  1890. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1891. if hit.Parent == nil then
  1892. return
  1893. end
  1894. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1895. for _, v in pairs(hit.Parent:children()) do
  1896. if v:IsA("Humanoid") then
  1897. h = v
  1898. end
  1899. end
  1900. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1901. warn'No R15 allowed'
  1902. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1903. end
  1904.  
  1905. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1906. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1907. if hit.Parent.DebounceHit.Value == true then
  1908. return
  1909. end
  1910. end
  1911. if insta == true then
  1912. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1913. end
  1914. local c = Create("ObjectValue"){
  1915. Name = "creator",
  1916. Value = game:service("Players").LocalPlayer,
  1917. Parent = h,
  1918. }
  1919. game:GetService("Debris"):AddItem(c, .5)
  1920. if HitSound ~= nil and HitPitch ~= nil then
  1921. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1922. end
  1923. local Damage = math.random(minim, maxim)
  1924. local blocked = false
  1925. local block = hit.Parent:findFirstChild("Block")
  1926. if block ~= nil then
  1927. if block.className == "IntValue" then
  1928. if block.Value > 0 then
  1929. blocked = true
  1930. block.Value = block.Value - 1
  1931. print(block.Value)
  1932. end
  1933. end
  1934. end
  1935. if blocked == false then
  1936. h.Health = h.Health - Damage
  1937. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1938. else
  1939. h.Health = h.Health - (Damage / 2)
  1940. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1941. end
  1942. if Type == "Knockdown" then
  1943. local hum = hit.Parent.Humanoid
  1944. hum.PlatformStand = true
  1945. coroutine.resume(coroutine.create(function(HHumanoid)
  1946. swait(1)
  1947. HHumanoid.PlatformStand = false
  1948. end), hum)
  1949. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1950. local bodvol = Create("BodyVelocity"){
  1951. velocity = angle * knockback,
  1952. P = 5000,
  1953. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1954. Parent = hit,
  1955. }
  1956. local rl = Create("BodyAngularVelocity"){
  1957. P = 3000,
  1958. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1959. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1960. Parent = hit,
  1961. }
  1962. game:GetService("Debris"):AddItem(bodvol, .5)
  1963. game:GetService("Debris"):AddItem(rl, .5)
  1964. elseif Type == "Normal" then
  1965. local vp = Create("BodyVelocity"){
  1966. P = 500,
  1967. maxForce = Vector3.new(math.huge, 0, math.huge),
  1968. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1969. }
  1970. if knockback > 0 then
  1971. vp.Parent = hit.Parent.Torso
  1972. end
  1973. game:GetService("Debris"):AddItem(vp, .5)
  1974. elseif Type == "Up" then
  1975. local bodyVelocity = Create("BodyVelocity"){
  1976. velocity = Vector3.new(0, 20, 0),
  1977. P = 5000,
  1978. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1979. Parent = hit,
  1980. }
  1981. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1982. elseif Type == "DarkUp" then
  1983. coroutine.resume(coroutine.create(function()
  1984. for i = 0, 1, 0.1 do
  1985. swait()
  1986. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1987. end
  1988. end))
  1989. local bodyVelocity = Create("BodyVelocity"){
  1990. velocity = Vector3.new(0, 20, 0),
  1991. P = 5000,
  1992. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1993. Parent = hit,
  1994. }
  1995. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1996. elseif Type == "Snare" then
  1997. local bp = Create("BodyPosition"){
  1998. P = 2000,
  1999. D = 100,
  2000. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2001. position = hit.Parent.Torso.Position,
  2002. Parent = hit.Parent.Torso,
  2003. }
  2004. game:GetService("Debris"):AddItem(bp, 1)
  2005. elseif Type == "Freeze" then
  2006. local BodPos = Create("BodyPosition"){
  2007. P = 50000,
  2008. D = 1000,
  2009. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2010. position = hit.Parent.Torso.Position,
  2011. Parent = hit.Parent.Torso,
  2012. }
  2013. local BodGy = Create("BodyGyro") {
  2014. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2015. P = 20e+003,
  2016. Parent = hit.Parent.Torso,
  2017. cframe = hit.Parent.Torso.CFrame,
  2018. }
  2019. hit.Parent.Torso.Anchored = true
  2020. coroutine.resume(coroutine.create(function(Part)
  2021. swait(1.5)
  2022. Part.Anchored = false
  2023. end), hit.Parent.Torso)
  2024. game:GetService("Debris"):AddItem(BodPos, 3)
  2025. game:GetService("Debris"):AddItem(BodGy, 3)
  2026. end
  2027. local debounce = Create("BoolValue"){
  2028. Name = "DebounceHit",
  2029. Parent = hit.Parent,
  2030. Value = true,
  2031. }
  2032. game:GetService("Debris"):AddItem(debounce, Delay)
  2033. c = Create("ObjectValue"){
  2034. Name = "creator",
  2035. Value = Player,
  2036. Parent = h,
  2037. }
  2038. game:GetService("Debris"):AddItem(c, .5)
  2039. end
  2040. end
  2041.  
  2042. function ShowDamage(Pos, Text, Time, Color)
  2043. local Rate = (1 / 30)
  2044. local Pos = (Pos or Vector3.new(0, 0, 0))
  2045. local Text = (Text or "")
  2046. local Time = (Time or 2)
  2047. local Color = (Color or Color3.new(1, 0, 1))
  2048. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2049. EffectPart.Anchored = true
  2050. local BillboardGui = Create("BillboardGui"){
  2051. Size = UDim2.new(3, 0, 3, 0),
  2052. Adornee = EffectPart,
  2053. Parent = EffectPart,
  2054. }
  2055. local TextLabel = Create("TextLabel"){
  2056. BackgroundTransparency = 1,
  2057. Size = UDim2.new(1, 0, 1, 0),
  2058. Text = Text,
  2059. Font = "Highway",
  2060. TextColor3 = Color,
  2061. TextScaled = true,
  2062. Parent = BillboardGui,
  2063. }
  2064. game.Debris:AddItem(EffectPart, (Time))
  2065. EffectPart.Parent = game:GetService("Workspace")
  2066. delay(0, function()
  2067. local Frames = (Time / Rate)
  2068. for Frame = 1, Frames do
  2069. wait(Rate)
  2070. local Percent = (Frame / Frames)
  2071. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2072. TextLabel.TextTransparency = Percent
  2073. end
  2074. if EffectPart and EffectPart.Parent then
  2075. EffectPart:Destroy()
  2076. end
  2077. end)
  2078. end
  2079. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2080. for _, c in pairs(workspace:children()) do
  2081. local hum = c:findFirstChild("Humanoid")
  2082. if hum ~= nil then
  2083. local head = c:findFirstChild("Head")
  2084. if head ~= nil then
  2085. local targ = head.Position - Part.Position
  2086. local mag = targ.magnitude
  2087. if magni >= mag and c.Name ~= plr.Name then
  2088. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
  2089. end
  2090. end
  2091. end
  2092. end
  2093. end
  2094. function MagniKILL(Part, magni, knock, Type)
  2095. for _, c in pairs(workspace:children()) do
  2096. local hum = c:findFirstChild("Humanoid")
  2097. if hum ~= nil then
  2098. local head = c:findFirstChild("Head")
  2099. if head ~= nil then
  2100. local targ = head.Position - Part.Position
  2101. local mag = targ.magnitude
  2102. if magni >= mag and c.Name ~= plr.Name then
  2103. hum.Health = 0
  2104. end
  2105. end
  2106. end
  2107. end
  2108. end
  2109. CFuncs = {
  2110. Part = {
  2111. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2112. local Part = Create("Part")({
  2113. Parent = Parent,
  2114. Reflectance = Reflectance,
  2115. Transparency = Transparency,
  2116. CanCollide = false,
  2117. Locked = true,
  2118. BrickColor = BrickColor.new(tostring(BColor)),
  2119. Name = Name,
  2120. Size = Size,
  2121. Material = Material
  2122. })
  2123. RemoveOutlines(Part)
  2124. return Part
  2125. end
  2126. },
  2127. Mesh = {
  2128. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2129. local Msh = Create(Mesh)({
  2130. Parent = Part,
  2131. Offset = OffSet,
  2132. Scale = Scale
  2133. })
  2134. if Mesh == "SpecialMesh" then
  2135. Msh.MeshType = MeshType
  2136. Msh.MeshId = MeshId
  2137. end
  2138. return Msh
  2139. end
  2140. },
  2141. Mesh = {
  2142. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2143. local Msh = Create(Mesh)({
  2144. Parent = Part,
  2145. Offset = OffSet,
  2146. Scale = Scale
  2147. })
  2148. if Mesh == "SpecialMesh" then
  2149. Msh.MeshType = MeshType
  2150. Msh.MeshId = MeshId
  2151. end
  2152. return Msh
  2153. end
  2154. },
  2155. Weld = {
  2156. Create = function(Parent, Part0, Part1, C0, C1)
  2157. local Weld = Create("Weld")({
  2158. Parent = Parent,
  2159. Part0 = Part0,
  2160. Part1 = Part1,
  2161. C0 = C0,
  2162. C1 = C1
  2163. })
  2164. return Weld
  2165. end
  2166. },
  2167. Sound = {
  2168. Create = function(id, par, vol, pit)
  2169. coroutine.resume(coroutine.create(function()
  2170. local S = Create("Sound")({
  2171. Volume = vol,
  2172. Pitch = pit or 1,
  2173. SoundId = id,
  2174. Parent = par or workspace
  2175. })
  2176. wait()
  2177. S:play()
  2178. game:GetService("Debris"):AddItem(S, 6)
  2179. end))
  2180. end
  2181. },
  2182. ParticleEmitter = {
  2183. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2184. local fp = Create("ParticleEmitter")({
  2185. Parent = Parent,
  2186. Color = ColorSequence.new(Color1, Color2),
  2187. LightEmission = LightEmission,
  2188. Size = Size,
  2189. Texture = Texture,
  2190. Transparency = Transparency,
  2191. ZOffset = ZOffset,
  2192. Acceleration = Accel,
  2193. Drag = Drag,
  2194. LockedToPart = LockedToPart,
  2195. VelocityInheritance = VelocityInheritance,
  2196. EmissionDirection = EmissionDirection,
  2197. Enabled = Enabled,
  2198. Lifetime = LifeTime,
  2199. Rate = Rate,
  2200. Rotation = Rotation,
  2201. RotSpeed = RotSpeed,
  2202. Speed = Speed,
  2203. VelocitySpread = VelocitySpread
  2204. })
  2205. return fp
  2206. end
  2207. }
  2208. }
  2209. function RemoveOutlines(part)
  2210. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2211. end
  2212. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2213. local Part = Create("Part")({
  2214. formFactor = FormFactor,
  2215. Parent = Parent,
  2216. Reflectance = Reflectance,
  2217. Transparency = Transparency,
  2218. CanCollide = false,
  2219. Locked = true,
  2220. BrickColor = BrickColor.new(tostring(BColor)),
  2221. Name = Name,
  2222. Size = Size,
  2223. Material = Material
  2224. })
  2225. RemoveOutlines(Part)
  2226. return Part
  2227. end
  2228. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2229. local Msh = Create(Mesh)({
  2230. Parent = Part,
  2231. Offset = OffSet,
  2232. Scale = Scale
  2233. })
  2234. if Mesh == "SpecialMesh" then
  2235. Msh.MeshType = MeshType
  2236. Msh.MeshId = MeshId
  2237. end
  2238. return Msh
  2239. end
  2240. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2241. local Weld = Create("Weld")({
  2242. Parent = Parent,
  2243. Part0 = Part0,
  2244. Part1 = Part1,
  2245. C0 = C0,
  2246. C1 = C1
  2247. })
  2248. return Weld
  2249. end
  2250. EffectModel = Instance.new("Model", char)
  2251. Effects = {
  2252. Block = {
  2253. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2254. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2255. prt.Anchored = true
  2256. prt.CFrame = cframe
  2257. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2258. game:GetService("Debris"):AddItem(prt, 10)
  2259. if Type == 1 or Type == nil then
  2260. table.insert(Effects, {
  2261. prt,
  2262. "Block1",
  2263. delay,
  2264. x3,
  2265. y3,
  2266. z3,
  2267. msh
  2268. })
  2269. elseif Type == 2 then
  2270. table.insert(Effects, {
  2271. prt,
  2272. "Block2",
  2273. delay,
  2274. x3,
  2275. y3,
  2276. z3,
  2277. msh
  2278. })
  2279. else
  2280. table.insert(Effects, {
  2281. prt,
  2282. "Block3",
  2283. delay,
  2284. x3,
  2285. y3,
  2286. z3,
  2287. msh
  2288. })
  2289. end
  2290. end
  2291. },
  2292. Sphere = {
  2293. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2294. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2295. prt.Anchored = true
  2296. prt.CFrame = cframe
  2297. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2298. game:GetService("Debris"):AddItem(prt, 10)
  2299. table.insert(Effects, {
  2300. prt,
  2301. "Cylinder",
  2302. delay,
  2303. x3,
  2304. y3,
  2305. z3,
  2306. msh
  2307. })
  2308. end
  2309. },
  2310. Cylinder = {
  2311. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2312. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2313. prt.Anchored = true
  2314. prt.CFrame = cframe
  2315. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2316. game:GetService("Debris"):AddItem(prt, 10)
  2317. table.insert(Effects, {
  2318. prt,
  2319. "Cylinder",
  2320. delay,
  2321. x3,
  2322. y3,
  2323. z3,
  2324. msh
  2325. })
  2326. end
  2327. },
  2328. Wave = {
  2329. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2330. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2331. prt.Anchored = true
  2332. prt.CFrame = cframe
  2333. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2334. game:GetService("Debris"):AddItem(prt, 10)
  2335. table.insert(Effects, {
  2336. prt,
  2337. "Cylinder",
  2338. delay,
  2339. x3 / 60,
  2340. y3 / 60,
  2341. z3 / 60,
  2342. msh
  2343. })
  2344. end
  2345. },
  2346. Ring = {
  2347. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2348. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2349. prt.Anchored = true
  2350. prt.CFrame = cframe
  2351. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2352. game:GetService("Debris"):AddItem(prt, 10)
  2353. table.insert(Effects, {
  2354. prt,
  2355. "Cylinder",
  2356. delay,
  2357. x3,
  2358. y3,
  2359. z3,
  2360. msh
  2361. })
  2362. end
  2363. },
  2364. Break = {
  2365. Create = function(brickcolor, cframe, x1, y1, z1)
  2366. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2367. prt.Anchored = true
  2368. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2369. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2370. local num = math.random(10, 50) / 1000
  2371. game:GetService("Debris"):AddItem(prt, 10)
  2372. table.insert(Effects, {
  2373. prt,
  2374. "Shatter",
  2375. num,
  2376. prt.CFrame,
  2377. math.random() - math.random(),
  2378. 0,
  2379. math.random(50, 100) / 100
  2380. })
  2381. end
  2382. }
  2383. }
  2384. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2385. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2386. prt.Anchored = true
  2387. prt.CFrame = cframe
  2388. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2389. game:GetService("Debris"):AddItem(prt, 10)
  2390. if Type == 1 or Type == nil then
  2391. table.insert(Effects, {
  2392. prt,
  2393. "Block1",
  2394. delay,
  2395. x3,
  2396. y3,
  2397. z3,
  2398. msh
  2399. })
  2400. elseif Type == 2 then
  2401. table.insert(Effects, {
  2402. prt,
  2403. "Block2",
  2404. delay,
  2405. x3,
  2406. y3,
  2407. z3,
  2408. msh
  2409. })
  2410. elseif Type == 3 then
  2411. table.insert(Effects, {
  2412. prt,
  2413. "Block3",
  2414. delay,
  2415. x3,
  2416. y3,
  2417. z3,
  2418. msh
  2419. })
  2420. end
  2421. end
  2422. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2423. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2424. prt.Anchored = true
  2425. prt.CFrame = cframe
  2426. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2427. game:GetService("Debris"):AddItem(prt, 10)
  2428. table.insert(Effects, {
  2429. prt,
  2430. "Cylinder",
  2431. delay,
  2432. x3,
  2433. y3,
  2434. z3,
  2435. msh
  2436. })
  2437. end
  2438. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2439. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2440. prt.Anchored = true
  2441. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  2442. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2443. game:GetService("Debris"):AddItem(prt, 10)
  2444. table.insert(Effects, {
  2445. prt,
  2446. "Cylinder",
  2447. delay,
  2448. x3,
  2449. y3,
  2450. z3,
  2451. msh
  2452. })
  2453. end
  2454. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2455. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2456. prt.Anchored = true
  2457. prt.CFrame = cframe
  2458. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2459. game:GetService("Debris"):AddItem(prt, 10)
  2460. table.insert(Effects, {
  2461. prt,
  2462. "Cylinder",
  2463. delay,
  2464. x3,
  2465. y3,
  2466. z3,
  2467. msh
  2468. })
  2469. end
  2470. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2471. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2472. prt.Anchored = true
  2473. prt.CFrame = cframe
  2474. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2475. game:GetService("Debris"):AddItem(prt, 10)
  2476. table.insert(Effects, {
  2477. prt,
  2478. "Cylinder",
  2479. delay,
  2480. x3,
  2481. y3,
  2482. z3,
  2483. msh
  2484. })
  2485. end
  2486. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2487. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2488. prt.Anchored = true
  2489. prt.CFrame = cframe
  2490. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2491. game:GetService("Debris"):AddItem(prt, 10)
  2492. table.insert(Effects, {
  2493. prt,
  2494. "Cylinder",
  2495. delay,
  2496. x3,
  2497. y3,
  2498. z3,
  2499. msh
  2500. })
  2501. end
  2502. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  2503. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2504. prt.Anchored = true
  2505. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2506. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2507. local num = math.random(10, 50) / 1000
  2508. game:GetService("Debris"):AddItem(prt, 10)
  2509. table.insert(Effects, {
  2510. prt,
  2511. "Shatter",
  2512. num,
  2513. prt.CFrame,
  2514. math.random() - math.random(),
  2515. 0,
  2516. math.random(50, 100) / 100
  2517. })
  2518. end
  2519. function CreateSound(ID, PARENT, VOLUME, PITCH)
  2520. local NEWSOUND = nil
  2521. coroutine.resume(coroutine.create(function()
  2522. NEWSOUND = Instance.new("Sound", PARENT)
  2523. NEWSOUND.Volume = VOLUME
  2524. NEWSOUND.Pitch = PITCH
  2525. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2526. swait()
  2527. NEWSOUND:play()
  2528. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  2529. end))
  2530. return NEWSOUND
  2531. end
  2532.  
  2533.  
  2534. --[[
  2535. Thanks for using Build-To-Lua by jarredbcv.
  2536. ]]--
  2537.  
  2538. New = function(Object, Parent, Name, Data)
  2539. local Object = Instance.new(Object)
  2540. for Index, Value in pairs(Data or {}) do
  2541. Object[Index] = Value
  2542. end
  2543. Object.Parent = Parent
  2544. Object.Name = Name
  2545. return Object
  2546. end
  2547.  
  2548. XBlade = New("Model",char,"XBlade",{})
  2549. 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),})
  2550. 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),})
  2551. 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),})
  2552. 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),})
  2553. 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),})
  2554. 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),})
  2555. 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),})
  2556. 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),})
  2557. 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),})
  2558. 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),})
  2559. 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),})
  2560. 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),})
  2561. 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),})
  2562. 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),})
  2563. 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),})
  2564. 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),})
  2565. 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),})
  2566. 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),})
  2567. 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),})
  2568. 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),})
  2569. 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),})
  2570. 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),})
  2571. 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),})
  2572. 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),})
  2573. 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),})
  2574. 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),})
  2575. 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),})
  2576. 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),})
  2577. 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),})
  2578. 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),})
  2579. 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),})
  2580. 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),})
  2581. 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),})
  2582. 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),})
  2583. 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),})
  2584. 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),})
  2585. 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),})
  2586. 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),})
  2587. 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),})
  2588. 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),})
  2589. 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),})
  2590. 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),})
  2591. 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),})
  2592.  
  2593.  
  2594. HeartLocket = New("Model",char,"Heart Locket",{})
  2595. Heart = New("Hat",HeartLocket,"Heart",{})
  2596. 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),})
  2597. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  2598. 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),})
  2599. 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,})
  2600.  
  2601.  
  2602. for _, v in pairs(XBlade:GetChildren()) do
  2603. if v:IsA'BasePart' then
  2604. v.CanCollide = false
  2605. end
  2606. end
  2607.  
  2608.  
  2609.  
  2610. local NewInstance = function(instance,parent,properties)
  2611. local inst = Instance.new(instance,parent)
  2612. if(properties)then
  2613. for i,v in next, properties do
  2614. pcall(function() inst[i] = v end)
  2615. end
  2616. end
  2617. return inst;
  2618. end
  2619. 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))})
  2620. 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))})
  2621. 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))})
  2622.  
  2623.  
  2624.  
  2625.  
  2626. --Chat Function--
  2627. function chatfunc(text,waitt)
  2628. local chat = coroutine.wrap(function()
  2629. if char:FindFirstChild("TalkingBillBoard")~= nil then
  2630. char:FindFirstChild("TalkingBillBoard").Parent = nil
  2631. end
  2632. local naeeym2 = Instance.new("BillboardGui",char)
  2633. naeeym2.Size = UDim2.new(0,100,0,40)
  2634. naeeym2.StudsOffset = Vector3.new(0,2,0)
  2635. naeeym2.Adornee = char.Head
  2636. naeeym2.Name = "TalkingBillBoard"
  2637. naeeym2.AlwaysOnTop = true
  2638. local tecks2 = Instance.new("TextLabel",naeeym2)
  2639. tecks2.BackgroundTransparency = 1
  2640. tecks2.BorderSizePixel = 0
  2641. tecks2.Text = ""
  2642. tecks2.Font = "Code"
  2643. tecks2.TextSize = 30
  2644. tecks2.TextStrokeTransparency = 0
  2645. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  2646. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  2647. tecks2.Size = UDim2.new(1,0,0.5,0)
  2648. for i = 1,string.len(text),1 do
  2649. tecks2.Text = string.sub(text,1,i)
  2650. swait(3)
  2651. end
  2652. wait(waitt/10)
  2653. coroutine.resume(coroutine.create(function()
  2654. for i = 1, 10 do
  2655. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  2656. swait()
  2657. end
  2658. naeeym2:Destroy()
  2659. end))
  2660. end)
  2661. chat()
  2662. end
  2663.  
  2664. local asd = Instance.new("ParticleEmitter")
  2665. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2666. asd.LightEmission = .1
  2667. asd.Size = NumberSequence.new(0.2)
  2668. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2669. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2670. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2671. asd.Transparency = bbb
  2672. asd.Size = aaa
  2673. asd.ZOffset = .9
  2674. asd.Acceleration = Vector3.new(0, -5, 0)
  2675. asd.LockedToPart = false
  2676. asd.EmissionDirection = "Back"
  2677. asd.Lifetime = NumberRange.new(1, 2)
  2678. asd.Rotation = NumberRange.new(-100, 100)
  2679. asd.RotSpeed = NumberRange.new(-100, 100)
  2680. asd.Speed = NumberRange.new(2)
  2681. asd.Enabled = false
  2682. asd.VelocitySpread = 10000
  2683.  
  2684. function bleed(victim,amount)
  2685. local prtcl = asd:Clone()
  2686. prtcl.Parent = victim
  2687. prtcl:Emit(amount)
  2688. end
  2689.  
  2690.  
  2691. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  2692. local NEWMESH = Instance.new(MESH)
  2693. if MESH == "SpecialMesh" then
  2694. NEWMESH.MeshType = MESHTYPE
  2695. if MESHID ~= "nil" and MESHID ~= "" then
  2696. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  2697. end
  2698. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  2699. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  2700. end
  2701. end
  2702. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  2703. NEWMESH.Scale = SCALE
  2704. NEWMESH.Parent = PARENT
  2705. return NEWMESH
  2706. end
  2707.  
  2708. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  2709. local NEWPART = Instance.new("Part")
  2710. NEWPART.formFactor = FORMFACTOR
  2711. NEWPART.Reflectance = REFLECTANCE
  2712. NEWPART.Transparency = TRANSPARENCY
  2713. NEWPART.CanCollide = false
  2714. NEWPART.Locked = true
  2715. NEWPART.Anchored = true
  2716. if ANCHOR == false then
  2717. NEWPART.Anchored = false
  2718. end
  2719. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  2720. NEWPART.Name = NAME
  2721. NEWPART.Size = SIZE
  2722. NEWPART.Position = tors.Position
  2723. NEWPART.Material = MATERIAL
  2724. NEWPART:BreakJoints()
  2725. NEWPART.Parent = PARENT
  2726. return NEWPART
  2727. end
  2728.  
  2729. local function weldBetween(a, b)
  2730. local weldd = Instance.new("ManualWeld")
  2731. weldd.Part0 = a
  2732. weldd.Part1 = b
  2733. weldd.C0 = CFrame.new()
  2734. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2735. weldd.Parent = a
  2736. return weldd
  2737. end
  2738.  
  2739. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  2740. local acs = Instance.new("Part")
  2741. acs.CanCollide = false
  2742. acs.Anchored = false
  2743. acs.Size = Vector3.new(0,0,0)
  2744. acs.CFrame = attachmentpart.CFrame
  2745. acs.Parent = char
  2746. acs.BrickColor = color
  2747. local meshs = Instance.new("SpecialMesh")
  2748. meshs.MeshId = mesh
  2749. meshs.TextureId = texture
  2750. meshs.Parent = acs
  2751. meshs.Scale = scale
  2752. meshs.Offset = offset
  2753. weldBetween(attachmentpart,acs)
  2754. end
  2755.  
  2756. local accessories = Instance.new("Folder",char)
  2757. accessories.Name = "Add-ons"
  2758.  
  2759. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  2760. if TYPE == "Gem" then
  2761. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  2762. acs.Anchored = false
  2763. acs.CanCollide = false
  2764. acs.CFrame = PART.CFrame
  2765. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  2766. weldBetween(PART,acs)
  2767. elseif TYPE == "Skull" then
  2768. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  2769. acs.Anchored = false
  2770. acs.CanCollide = false
  2771. acs.CFrame = PART.CFrame
  2772. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  2773. weldBetween(PART,acs)
  2774. elseif TYPE == "Eye" then
  2775. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  2776. acs.Anchored = false
  2777. acs.CanCollide = false
  2778. acs.CFrame = PART.CFrame
  2779. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  2780. weldBetween(PART,acs)
  2781. end
  2782. end
  2783.  
  2784. createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  2785. createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  2786.  
  2787. --Extras--
  2788. q = char:GetChildren()
  2789. for u = 1, #q do
  2790. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  2791. q[u]:remove()
  2792. elseif q[u].ClassName == "CharacterMesh" then
  2793. q[u]:remove()
  2794. elseif q[u].ClassName == "ShirtGraphic" then
  2795. q[u]:remove()
  2796. elseif q[u].ClassName == "Shirt" then
  2797. q[u]:Destroy()
  2798. elseif q[u].ClassName == "Pants" then
  2799. q[u]:Destroy()
  2800. end
  2801. end
  2802. local top = Instance.new("Shirt")
  2803. top.ShirtTemplate = "rbxassetid://831629350"
  2804. top.Parent = char
  2805. local bottom = Instance.new("Pants")
  2806. bottom.PantsTemplate = "rbxassetid://227915108"
  2807. bottom.Parent = char
  2808.  
  2809. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  2810. if BodyColors then
  2811. BodyColors.HeadColor = BrickColor.new"Institutional white"
  2812. BodyColors.TorsoColor = BrickColor.new"Institutional white"
  2813. BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  2814. BodyColors.RightArmColor = BrickColor.new"Institutional white"
  2815. BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  2816. BodyColors.RightLegColor = BrickColor.new"Institutional white"
  2817. end
  2818.  
  2819. --Scarfs--
  2820. local Blobby = Instance.new("Part", char)
  2821. Blobby.Name = "Blob"
  2822. Blobby.CanCollide = false
  2823. Blobby.BrickColor = BrickColor.new("Institutional white")
  2824. Blobby.Transparency = 0
  2825. Blobby.Material = "Plastic"
  2826. Blobby.Size = Vector3.new(1, 1, 2)
  2827. Blobby.TopSurface = Enum.SurfaceType.Smooth
  2828. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  2829.  
  2830. local Weld = Instance.new("Weld", Blobby)
  2831. Weld.Part0 = hed
  2832. Weld.Part1 = Blobby
  2833. Weld.C1 = CFrame.new(0, 1.1, 0)
  2834. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  2835.  
  2836. local M2 = Instance.new("SpecialMesh")
  2837. M2.Parent = Blobby
  2838. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  2839. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  2840.  
  2841. local Blobby2 = Instance.new("Part", char)
  2842. Blobby2.Name = "Blob"
  2843. Blobby2.CanCollide = false
  2844. Blobby2.BrickColor = BrickColor.new("Really black")
  2845. Blobby2.Transparency = 0
  2846. Blobby2.Material = "Plastic"
  2847. Blobby2.Size = Vector3.new(1, 1, 2)
  2848. Blobby2.TopSurface = Enum.SurfaceType.Smooth
  2849. Blobby2.BottomSurface = Enum.SurfaceType.Smooth
  2850.  
  2851. local Weld = Instance.new("Weld", Blobby2)
  2852. Weld.Part0 = hed
  2853. Weld.Part1 = Blobby2
  2854. Weld.C1 = CFrame.new(0, 1.2, 0)
  2855. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  2856.  
  2857. local M2 = Instance.new("SpecialMesh")
  2858. M2.Parent = Blobby2
  2859. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  2860. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  2861.  
  2862. --Hair--
  2863. local Hair = Instance.new("Part", char)
  2864. Hair.Name = "Hair"
  2865. Hair.CanCollide = false
  2866. Hair.BrickColor = BrickColor.new("Institutional white")
  2867. Hair.Transparency = 0
  2868. Hair.Material = "Plastic"
  2869. Hair.Size = Vector3.new(1, 1, 2)
  2870. Hair.TopSurface = Enum.SurfaceType.Smooth
  2871. Hair.BottomSurface = Enum.SurfaceType.Smooth
  2872.  
  2873. local Weld = Instance.new("Weld", Hair)
  2874. Weld.Part0 = hed
  2875. Weld.Part1 = Hair
  2876. Weld.C1 = CFrame.new(0, -.5, 0)
  2877. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  2878.  
  2879. local M2 = Instance.new("SpecialMesh")
  2880. M2.Parent = Hair
  2881. M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
  2882. M2.Scale = Vector3.new(1.2, 1.1, 1.1)
  2883.  
  2884. --Hood--
  2885. local Hood = Instance.new("Part", char)
  2886. Hood.Name = "Hood"
  2887. Hood.CanCollide = false
  2888. Hood.BrickColor = BrickColor.new("Institutional white")
  2889. Hood.Transparency = 0
  2890. Hood.Material = "Plastic"
  2891. Hood.Size = Vector3.new(1, 1, 2)
  2892. Hood.TopSurface = Enum.SurfaceType.Smooth
  2893. Hood.BottomSurface = Enum.SurfaceType.Smooth
  2894.  
  2895. local Weld = Instance.new("Weld", Hood)
  2896. Weld.Part0 = tors
  2897. Weld.Part1 = Hood
  2898. Weld.C1 = CFrame.new(0, .4, -.9)
  2899. Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
  2900.  
  2901. local M2 = Instance.new("SpecialMesh")
  2902. M2.Parent = Hood
  2903. M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
  2904. M2.Scale = Vector3.new(0.922, 0.922, 0.922)
  2905. hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
  2906.  
  2907.  
  2908.  
  2909. Slashy = Instance.new("Sound", ra)
  2910. Slashy.Volume = 5
  2911. Slashy.Pitch = 1
  2912. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  2913. Slashy.Looped = false
  2914.  
  2915. local VALUE1 = false
  2916. local sine=0
  2917. for _, v in pairs(XBlade:GetChildren()) do
  2918. if v:IsA'BasePart' then
  2919. v.CanCollide = false
  2920. v.Transparency = 1
  2921. end
  2922. end
  2923. function intro()
  2924. attack = true
  2925. chatfunc("Finally, after all this time.",3)
  2926. hum.WalkSpeed = 0
  2927. for i = 0,6,0.1 do
  2928. swait()
  2929. 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)
  2930. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2931. 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)
  2932. 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)
  2933. 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)
  2934. 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)
  2935. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  2936. end
  2937. wait(2.5)
  2938. chatfunc("At last I have a human soul.",3)
  2939. for i = 0,6,0.1 do
  2940. swait()
  2941. 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)
  2942. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2943. 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)
  2944. 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)
  2945. 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)
  2946. 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)
  2947. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2948. end
  2949. wait(2.5)
  2950. chatfunc("And finally not attached to that dumb Skeleton.",3)
  2951. for i = 0,6,0.1 do
  2952. swait()
  2953. 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)
  2954. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2955. 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)
  2956. 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)
  2957. 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)
  2958. 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)
  2959. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  2960. end
  2961. wait(2.5)
  2962. chatfunc("You'll get to live long enough to see something special.",5)
  2963.  
  2964. for i = 0,6,0.1 do
  2965. swait()
  2966. for _, v in pairs(XBlade:GetChildren()) do
  2967. if v:IsA'BasePart' then
  2968. v.CanCollide = false
  2969. v.Transparency = v.Transparency - .3
  2970. end
  2971. end
  2972. 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)
  2973. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2974. 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)
  2975. 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)
  2976. 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)
  2977. 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)
  2978. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  2979. end
  2980. wait(4.5)
  2981. chatfunc("Welcome my friend, to the XEvent.",3)
  2982. wait(2.5)
  2983. CreateSound("367453005", hed, 10, 1)
  2984. 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),})
  2985. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  2986. 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),})
  2987. 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)
  2988. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  2989. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  2990. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  2991. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  2992. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  2993. local bigboi = Instance.new("Sound",tors)
  2994. bigboi.SoundId = "rbxassetid://736980589"
  2995. bigboi.Volume = 2.5
  2996. bigboi.Looped = true
  2997. bigboi.Pitch = 1
  2998. bigboi:Play()
  2999. attack = false
  3000. VALUE1 = true
  3001. hum.WalkSpeed = 28
  3002. end
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008. function NothingPersonal()
  3009. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3010. local HITBODY = mouse.Target.Parent
  3011. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  3012. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3013. if TORS ~= nil and HUMAN ~= nil then
  3014. attack = true
  3015. hum.WalkSpeed = 0
  3016. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  3017. TORS.Anchored = true
  3018. CreateSound("367453005", hed, 10, 1)
  3019. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  3020. for i = 0,6,0.1 do
  3021. swait()
  3022. 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)
  3023. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3024. 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)
  3025. 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)
  3026. 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)
  3027. 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)
  3028. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  3029. end
  3030. CreateSound("357417055", hed, 10, 1)
  3031. for i = 0,4,0.1 do
  3032. 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)
  3033. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  3034. 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)
  3035. 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)
  3036. 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)
  3037. 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)
  3038. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  3039. end
  3040. wait(2.5)
  3041. CreateSound("623904185", hed, 10, 1)
  3042. HITBODY:BreakJoints()
  3043. TORS.Anchored = false
  3044. attack = false
  3045. hum.WalkSpeed = 28
  3046. bleed(TORS,25)
  3047. end
  3048. end
  3049. end
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062. ---ATTACKS N STUFF
  3063. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  3064. Hitboxpart = Instance.new("Part", EffectModel)
  3065. RemoveOutlines(Hitboxpart)
  3066. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  3067. Hitboxpart.CanCollide = false
  3068. Hitboxpart.Transparency = 1
  3069. Hitboxpart.Anchored = true
  3070. Hitboxpart.CFrame = Pose
  3071. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  3072. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  3073. end
  3074. wait2 = false
  3075. combo = 1
  3076. mouse.Button1Down:connect(function(key)
  3077. if attack == false then
  3078. attack = true
  3079. hum.WalkSpeed = 3.01
  3080. if combo == 1 and wait2 == false then
  3081. wait2 = true
  3082. for i = 0, 1.2, 0.1 do
  3083. swait()
  3084. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  3085. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3086. 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)
  3087. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  3088. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  3089. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  3090. end
  3091. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  3092. Slashy:Play()
  3093. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  3094. for i = 0, 1.2, 0.1 do
  3095. swait()
  3096. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  3097. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3098. 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)
  3099. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  3100. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  3101. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  3102. end
  3103. combo = 2
  3104. end
  3105. if combo == 2 and wait2 == false then
  3106. wait2 = true
  3107. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  3108. for i = 0, 1.4, 0.1 do
  3109. swait()
  3110. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  3111. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  3112. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  3113. 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)
  3114. 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)
  3115. 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)
  3116. end
  3117. combo = 3
  3118. end
  3119. if combo == 3 and wait2 == false then
  3120. wait2 = true
  3121.  
  3122. for i = 0, 1.2, 0.1 do
  3123. swait()
  3124. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  3125. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3126. 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)
  3127. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  3128. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  3129. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  3130. end
  3131. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  3132. Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  3133. Slashy:Play()
  3134. for i = 0, 1.2, 0.1 do
  3135. swait()
  3136. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  3137. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  3138. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  3139. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  3140. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  3141. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  3142. end
  3143. combo = 1
  3144. end
  3145. hum.WalkSpeed = 16
  3146. wait2 = false
  3147. attack = false
  3148. end
  3149. end)
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156. function DashingSpin()
  3157. attack = true
  3158. hum.WalkSpeed = 0
  3159. CreateSound("707957812", workspace, 5, 1)
  3160. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  3161. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  3162. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  3163. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  3164. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  3165.  
  3166. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  3167. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  3168. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  3169. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  3170. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  3171. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  3172. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  3173. for i = 0,6,0.1 do
  3174. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  3175. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  3176. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  3177. 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)
  3178. 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)
  3179. 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)
  3180. 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)
  3181. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  3182. end
  3183. for i = 0,9,0.1 do
  3184. swait()
  3185. MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  3186. 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)
  3187. 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)
  3188. 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)
  3189. 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)
  3190. 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)
  3191. 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)
  3192. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  3193. end
  3194. attack = false
  3195. hum.WalkSpeed = 28
  3196. end
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.  
  3204. mouse.KeyDown:connect(function(key)
  3205. if attack == false then
  3206. if key == 'q' then
  3207. NothingPersonal()
  3208. elseif key == 'c' then
  3209. CreateSound("367453005", hed, 10, 1)
  3210. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  3211. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  3212. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  3213. elseif key == 'f' then
  3214. DashingSpin()
  3215. elseif key == 't' then
  3216. CreateSound("649634100", hed, 10, .89)
  3217. end
  3218. end
  3219. end)
  3220.  
  3221.  
  3222.  
  3223. ff = Instance.new("ForceField",char)
  3224. ff.Visible = false
  3225.  
  3226. local idle=0
  3227. local change = 1
  3228. local val = 0
  3229. toim = 0
  3230. hum.Animator.Parent = nil
  3231. idleanim=.4
  3232. while true do
  3233. swait()
  3234. hum.MaxHealth = math.huge
  3235. hum.Health = math.huge
  3236. hum.Name = "TheXEvent"
  3237. sine = sine + change
  3238. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  3239. local velderp=root.Velocity.y
  3240. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3241. if equipped==true or equipped==false then
  3242. if attack==false then
  3243. idle=idle+1
  3244. else
  3245. idle=0
  3246. end
  3247. if root.Velocity.y > 1 and hitfloor==nil then
  3248. Anim="Jump"
  3249. if attack==false then
  3250. 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)
  3251. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  3252. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  3253. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  3254. 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)
  3255. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  3256. end
  3257. elseif root.Velocity.y < -1 and hitfloor==nil then
  3258. Anim="Fall"
  3259. if attack==false then
  3260. 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)
  3261. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  3262. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  3263. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  3264. 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)
  3265. 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)
  3266. end
  3267. elseif torvel<1 and hitfloor~=nil then
  3268. Anim="Idle"
  3269. change = 1
  3270. if attack==false then
  3271. 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)
  3272. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  3273. 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)
  3274. 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)
  3275. 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)
  3276. 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)
  3277. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  3278. end
  3279.  
  3280. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  3281. Anim="Walk"
  3282. change = 1
  3283. if attack==false then
  3284. 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)
  3285. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  3286. 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)
  3287. 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)
  3288. 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)
  3289. 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)
  3290. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  3291. end
  3292. end
  3293. end
  3294.  
  3295. if 0 < #Effects then
  3296. for e = 1, #Effects do
  3297. if Effects[e] ~= nil then
  3298. local Thing = Effects[e]
  3299. if Thing ~= nil then
  3300. local Part = Thing[1]
  3301. local Mode = Thing[2]
  3302. local Delay = Thing[3]
  3303. local IncX = Thing[4]
  3304. local IncY = Thing[5]
  3305. local IncZ = Thing[6]
  3306. if 1 >= Thing[1].Transparency then
  3307. if Thing[2] == "Block1" then
  3308. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3309. local Mesh = Thing[1].Mesh
  3310. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3311. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3312. elseif Thing[2] == "Block2" then
  3313. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3314. local Mesh = Thing[7]
  3315. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3316. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3317. elseif Thing[2] == "Block3" then
  3318. 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)
  3319. local Mesh = Thing[7]
  3320. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3321. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3322. elseif Thing[2] == "Cylinder" then
  3323. local Mesh = Thing[1].Mesh
  3324. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3325. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3326. elseif Thing[2] == "Blood" then
  3327. local Mesh = Thing[7]
  3328. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3329. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3330. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3331. elseif Thing[2] == "Elec" then
  3332. local Mesh = Thing[1].Mesh
  3333. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3334. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3335. elseif Thing[2] == "Disappear" then
  3336. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3337. elseif Thing[2] == "Shatter" then
  3338. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3339. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3340. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3341. Thing[6] = Thing[6] + Thing[5]
  3342. end
  3343. else
  3344. Part.Parent = nil
  3345. table.remove(Effects, e)
  3346. end
  3347. end
  3348. end
  3349. end
  3350. end
  3351. if VALUE1 == false and attack == false then
  3352. intro()
  3353. end
  3354. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement