Advertisement
Guest User

Untitled

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