Guest User

Untitled

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