Advertisement
firasj082

Human soul script

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