Advertisement
Insanity_Mark

Ignore

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