Advertisement
Gametoy

another xevent edit for legomaster8080

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