Advertisement
Gummi_Shark

Untitled

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