Advertisement
PowerSans124

cross chara

Jul 15th, 2018
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 100.96 KB | None | 0 0
  1. -----------------------
  2. --XEvent Chara--
  3. -----------------------
  4.  
  5. -------------------------------------------------------
  6. --A script By makhail07 and KillerDarkness0105
  7. --Effect Smoothing By OblivionCreature
  8. --Discords Creterisk#2958, Codex#6685, and [L]ewd#2941
  9. -------------------------------------------------------
  10. -----------------------Variable------
  11. player = game.Players.LocalPlayer
  12. char = player.Character
  13. hum = char.Humanoid
  14. mouse = player:GetMouse()
  15. amo = 1
  16.  
  17. ------------------Main----------------------------
  18. mouse.KeyDown:connect(function(key)
  19.  
  20. key = key:lower()
  21.  
  22. if key == "e" and amo >= 0 then
  23. local x = Instance.new("Part")
  24. x.Shape = "Ball"
  25. x.CanCollide = true
  26. x.BrickColor = BrickColor.new("Royal purple")
  27. x.TopSurface = "Smooth"
  28. x.BottomSurface = "Smooth"
  29. x.Size = Vector3.new(500,70,30)
  30. local v = Instance.new("BodyVelocity" , x)
  31. v.Velocity = char.Torso.CFrame.lookVector * 90
  32. v.MaxForce = Vector3.new(math.huge , math.huge,math.huge)
  33. x.CFrame = char.Torso.CFrame * CFrame.new(0,0,-5)
  34. x.Parent = game.Workspace
  35. amo = amo -1
  36.  
  37. wait(1)
  38. amo = 1
  39. end
  40. end)
  41.  
  42. ----------end of shoot-------
  43.  
  44. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  45.  
  46. function swait(num)
  47. if num==0 or num==nil then
  48. game:service'RunService'.Stepped:wait(0)
  49. else
  50. for i=0,num do
  51. game:service'RunService'.Stepped:wait(0)
  52. end
  53. end
  54. end
  55. function thread(f)
  56. coroutine.resume(coroutine.create(f))
  57. end
  58.  
  59. --Needed to add this for a good reason, thank me later mak.
  60. so = function(id,par,vol,pit)
  61. coroutine.resume(coroutine.create(function()
  62. local sou = Instance.new("Sound",par or workspace)
  63. sou.Volume=vol
  64. sou.Pitch=pit or 1
  65. sou.SoundId=id
  66. swait()
  67. sou:play()
  68. game:GetService("Debris"):AddItem(sou,8)
  69. end))
  70. end
  71.  
  72.  
  73. function clerp(a, b, t)
  74. local qa = {
  75. QuaternionFromCFrame(a)
  76. }
  77. local qb = {
  78. QuaternionFromCFrame(b)
  79. }
  80. local ax, ay, az = a.x, a.y, a.z
  81. local bx, by, bz = b.x, b.y, b.z
  82. local _t = 1 - t
  83. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  84. end
  85. function QuaternionFromCFrame(cf)
  86. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  87. local trace = m00 + m11 + m22
  88. if trace > 0 then
  89. local s = math.sqrt(1 + trace)
  90. local recip = 0.5 / s
  91. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  92. else
  93. local i = 0
  94. if m00 < m11 then
  95. i = 1
  96. end
  97. if m22 > (i == 0 and m00 or m11) then
  98. i = 2
  99. end
  100. if i == 0 then
  101. local s = math.sqrt(m00 - m11 - m22 + 1)
  102. local recip = 0.5 / s
  103. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  104. elseif i == 1 then
  105. local s = math.sqrt(m11 - m22 - m00 + 1)
  106. local recip = 0.5 / s
  107. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  108. elseif i == 2 then
  109. local s = math.sqrt(m22 - m00 - m11 + 1)
  110. local recip = 0.5 / s
  111. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  112. end
  113. end
  114. end
  115. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  116. local xs, ys, zs = x + x, y + y, z + z
  117. local wx, wy, wz = w * xs, w * ys, w * zs
  118. local xx = x * xs
  119. local xy = x * ys
  120. local xz = x * zs
  121. local yy = y * ys
  122. local yz = y * zs
  123. local zz = z * zs
  124. 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))
  125. end
  126. function QuaternionSlerp(a, b, t)
  127. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  128. local startInterp, finishInterp
  129. if cosTheta >= 1.0E-4 then
  130. if 1 - cosTheta > 1.0E-4 then
  131. local theta = math.acos(cosTheta)
  132. local invSinTheta = 1 / math.sin(theta)
  133. startInterp = math.sin((1 - t) * theta) * invSinTheta
  134. finishInterp = math.sin(t * theta) * invSinTheta
  135. else
  136. startInterp = 1 - t
  137. finishInterp = t
  138. end
  139. elseif 1 + cosTheta > 1.0E-4 then
  140. local theta = math.acos(-cosTheta)
  141. local invSinTheta = 1 / math.sin(theta)
  142. startInterp = math.sin((t - 1) * theta) * invSinTheta
  143. finishInterp = math.sin(t * theta) * invSinTheta
  144. else
  145. startInterp = t - 1
  146. finishInterp = t
  147. end
  148. 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
  149. end
  150. function rayCast(Position, Direction, Range, Ignore)
  151. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  152. end
  153. --Wait what okay
  154. wait()
  155. local plr = game:service'Players'.LocalPlayer
  156. local char = plr.Character
  157. local hum = char.Humanoid
  158. local ra = char["Right Arm"]
  159. local la= char["Left Arm"]
  160. local rl= char["Right Leg"]
  161. local ll = char["Left Leg"]
  162. local hed = char.Head
  163. local root = char.HumanoidRootPart
  164. local rootj = root.RootJoint
  165. local tors = char.Torso
  166. local mouse = plr:GetMouse()
  167. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  168. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  169. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  170. local maincolor = BrickColor.new("Dark indigo")
  171. cf = CFrame.new
  172. angles = CFrame.Angles
  173. attack = false
  174. euler=CFrame.fromEulerAnglesXYZ
  175. equipped = false
  176. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  177. RSH, LSH = nil, nil
  178. RW = Instance.new("Weld")
  179. LW = Instance.new("Weld")
  180. RH = tors["Right Hip"]
  181. LH = tors["Left Hip"]
  182. RSH = tors["Right Shoulder"]
  183. LSH = tors["Left Shoulder"]
  184. RSH.Parent = nil
  185. LSH.Parent = nil
  186. RW.Name = "RW"
  187. RW.Part0 = tors
  188. RW.C0 = CFrame.new(1.5, 0.5, 0)
  189. RW.C1 = CFrame.new(0, 0.5, 0)
  190. RW.Part1 = ra
  191. RW.Parent = tors
  192. LW.Name = "LW"
  193. LW.Part0 = tors
  194. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  195. LW.C1 = CFrame.new(0, 0.5, 0)
  196. LW.Part1 = la
  197. LW.Parent = tors
  198. print('User is '..plr.Name)
  199. Effects = {}
  200.  
  201. ArtificialHB = Instance.new("BindableEvent", script)
  202. ArtificialHB.Name = "Heartbeat"
  203.  
  204. script:WaitForChild("Heartbeat")
  205.  
  206. frame = 1 / 60
  207. tf = 0
  208. allowframeloss = false
  209. tossremainder = false
  210. lastframe = tick()
  211. script.Heartbeat:Fire()
  212.  
  213. game:GetService("RunService").Heartbeat:connect(function(s, p)
  214. tf = tf + s
  215. if tf >= frame then
  216. if allowframeloss then
  217. script.Heartbeat:Fire()
  218. lastframe = tick()
  219. else
  220. for i = 1, math.floor(tf / frame) do
  221. script.Heartbeat:Fire()
  222. end
  223. lastframe = tick()
  224. end
  225. if tossremainder then
  226. tf = 0
  227. else
  228. tf = tf - frame * math.floor(tf / frame)
  229. end
  230. end
  231. end)
  232. local RbxUtility = LoadLibrary("RbxUtility")
  233. local Create = RbxUtility.Create
  234.  
  235. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  236. if hit.Parent == nil then
  237. return
  238. end
  239. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  240. for _, v in pairs(hit.Parent:children()) do
  241. if v:IsA("Humanoid") then
  242. h = v
  243. end
  244. end
  245. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  246. warn'No R15 allowed'
  247. hit.Parent:FindFirstChild("Head"):BreakJoints()
  248. end
  249.  
  250. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  251. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  252. if hit.Parent.DebounceHit.Value == true then
  253. return
  254. end
  255. end
  256. if insta == true then
  257. hit.Parent:FindFirstChild("Head"):BreakJoints()
  258. end
  259. local c = Create("ObjectValue"){
  260. Name = "creator",
  261. Value = game:service("Players").LocalPlayer,
  262. Parent = h,
  263. }
  264. game:GetService("Debris"):AddItem(c, .5)
  265. if HitSound ~= nil and HitPitch ~= nil then
  266. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  267. end
  268. local Damage = math.random(minim, maxim)
  269. local blocked = false
  270. local block = hit.Parent:findFirstChild("Block")
  271. if block ~= nil then
  272. if block.className == "IntValue" then
  273. if block.Value > 0 then
  274. blocked = true
  275. block.Value = block.Value - 1
  276. print(block.Value)
  277. end
  278. end
  279. end
  280. if blocked == false then
  281. h.Health = h.Health - Damage
  282. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  283. else
  284. h.Health = h.Health - (Damage / 2)
  285. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  286. end
  287. if Type == "Knockdown" then
  288. local hum = hit.Parent.Humanoid
  289. hum.PlatformStand = true
  290. coroutine.resume(coroutine.create(function(HHumanoid)
  291. swait(1)
  292. HHumanoid.PlatformStand = false
  293. end), hum)
  294. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  295. local bodvol = Create("BodyVelocity"){
  296. velocity = angle * knockback,
  297. P = 5000,
  298. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  299. Parent = hit,
  300. }
  301. local rl = Create("BodyAngularVelocity"){
  302. P = 3000,
  303. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  304. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  305. Parent = hit,
  306. }
  307. game:GetService("Debris"):AddItem(bodvol, .5)
  308. game:GetService("Debris"):AddItem(rl, .5)
  309. elseif Type == "Normal" then
  310. local vp = Create("BodyVelocity"){
  311. P = 500,
  312. maxForce = Vector3.new(math.huge, 0, math.huge),
  313. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  314. }
  315. if knockback > 0 then
  316. vp.Parent = hit.Parent.Torso
  317. end
  318. game:GetService("Debris"):AddItem(vp, .5)
  319. elseif Type == "Up" then
  320. local bodyVelocity = Create("BodyVelocity"){
  321. velocity = Vector3.new(0, 20, 0),
  322. P = 5000,
  323. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  324. Parent = hit,
  325. }
  326. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  327. elseif Type == "DarkUp" then
  328. coroutine.resume(coroutine.create(function()
  329. for i = 0, 1, 0.1 do
  330. swait()
  331. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  332. end
  333. end))
  334. local bodyVelocity = Create("BodyVelocity"){
  335. velocity = Vector3.new(0, 20, 0),
  336. P = 5000,
  337. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  338. Parent = hit,
  339. }
  340. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  341. elseif Type == "Snare" then
  342. local bp = Create("BodyPosition"){
  343. P = 2000,
  344. D = 100,
  345. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  346. position = hit.Parent.Torso.Position,
  347. Parent = hit.Parent.Torso,
  348. }
  349. game:GetService("Debris"):AddItem(bp, 1)
  350. elseif Type == "Freeze" then
  351. local BodPos = Create("BodyPosition"){
  352. P = 50000,
  353. D = 1000,
  354. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  355. position = hit.Parent.Torso.Position,
  356. Parent = hit.Parent.Torso,
  357. }
  358. local BodGy = Create("BodyGyro") {
  359. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  360. P = 20e+003,
  361. Parent = hit.Parent.Torso,
  362. cframe = hit.Parent.Torso.CFrame,
  363. }
  364. hit.Parent.Torso.Anchored = true
  365. coroutine.resume(coroutine.create(function(Part)
  366. swait(1.5)
  367. Part.Anchored = false
  368. end), hit.Parent.Torso)
  369. game:GetService("Debris"):AddItem(BodPos, 3)
  370. game:GetService("Debris"):AddItem(BodGy, 3)
  371. end
  372. local debounce = Create("BoolValue"){
  373. Name = "DebounceHit",
  374. Parent = hit.Parent,
  375. Value = true,
  376. }
  377. game:GetService("Debris"):AddItem(debounce, Delay)
  378. c = Create("ObjectValue"){
  379. Name = "creator",
  380. Value = Player,
  381. Parent = h,
  382. }
  383. game:GetService("Debris"):AddItem(c, .5)
  384. end
  385. end
  386.  
  387. function ShowDamage(Pos, Text, Time, Color)
  388. local Rate = (1 / 30)
  389. local Pos = (Pos or Vector3.new(0, 0, 0))
  390. local Text = (Text or "")
  391. local Time = (Time or 2)
  392. local Color = (Color or Color3.new(1, 0, 1))
  393. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  394. EffectPart.Anchored = true
  395. local BillboardGui = Create("BillboardGui"){
  396. Size = UDim2.new(3, 0, 3, 0),
  397. Adornee = EffectPart,
  398. Parent = EffectPart,
  399. }
  400. local TextLabel = Create("TextLabel"){
  401. BackgroundTransparency = 1,
  402. Size = UDim2.new(1, 0, 1, 0),
  403. Text = Text,
  404. Font = "Highway",
  405. TextColor3 = Color,
  406. TextScaled = true,
  407. Parent = BillboardGui,
  408. }
  409. game.Debris:AddItem(EffectPart, (Time))
  410. EffectPart.Parent = game:GetService("Workspace")
  411. delay(0, function()
  412. local Frames = (Time / Rate)
  413. for Frame = 1, Frames do
  414. wait(Rate)
  415. local Percent = (Frame / Frames)
  416. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  417. TextLabel.TextTransparency = Percent
  418. end
  419. if EffectPart and EffectPart.Parent then
  420. EffectPart:Destroy()
  421. end
  422. end)
  423. end
  424. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  425. for _, c in pairs(workspace:children()) do
  426. local hum = c:findFirstChild("Humanoid")
  427. if hum ~= nil then
  428. local head = c:findFirstChild("Head")
  429. if head ~= nil then
  430. local targ = head.Position - Part.Position
  431. local mag = targ.magnitude
  432. if magni >= mag and c.Name ~= plr.Name then
  433. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
  434. end
  435. end
  436. end
  437. end
  438. end
  439. function MagniKILL(Part, magni, knock, Type)
  440. for _, c in pairs(workspace:children()) do
  441. local hum = c:findFirstChild("Humanoid")
  442. if hum ~= nil then
  443. local head = c:findFirstChild("Head")
  444. if head ~= nil then
  445. local targ = head.Position - Part.Position
  446. local mag = targ.magnitude
  447. if magni >= mag and c.Name ~= plr.Name then
  448. hum.Health = 0
  449. end
  450. end
  451. end
  452. end
  453. end
  454. CFuncs = {
  455. Part = {
  456. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  457. local Part = Create("Part")({
  458. Parent = Parent,
  459. Reflectance = Reflectance,
  460. Transparency = Transparency,
  461. CanCollide = false,
  462. Locked = true,
  463. BrickColor = BrickColor.new(tostring(BColor)),
  464. Name = Name,
  465. Size = Size,
  466. Material = Material
  467. })
  468. RemoveOutlines(Part)
  469. return Part
  470. end
  471. },
  472. Mesh = {
  473. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  474. local Msh = Create(Mesh)({
  475. Parent = Part,
  476. Offset = OffSet,
  477. Scale = Scale
  478. })
  479. if Mesh == "SpecialMesh" then
  480. Msh.MeshType = MeshType
  481. Msh.MeshId = MeshId
  482. end
  483. return Msh
  484. end
  485. },
  486. Mesh = {
  487. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  488. local Msh = Create(Mesh)({
  489. Parent = Part,
  490. Offset = OffSet,
  491. Scale = Scale
  492. })
  493. if Mesh == "SpecialMesh" then
  494. Msh.MeshType = MeshType
  495. Msh.MeshId = MeshId
  496. end
  497. return Msh
  498. end
  499. },
  500. Weld = {
  501. Create = function(Parent, Part0, Part1, C0, C1)
  502. local Weld = Create("Weld")({
  503. Parent = Parent,
  504. Part0 = Part0,
  505. Part1 = Part1,
  506. C0 = C0,
  507. C1 = C1
  508. })
  509. return Weld
  510. end
  511. },
  512. Sound = {
  513. Create = function(id, par, vol, pit)
  514. coroutine.resume(coroutine.create(function()
  515. local S = Create("Sound")({
  516. Volume = vol,
  517. Pitch = pit or 1,
  518. SoundId = id,
  519. Parent = par or workspace
  520. })
  521. wait()
  522. S:play()
  523. game:GetService("Debris"):AddItem(S, 6)
  524. end))
  525. end
  526. },
  527. ParticleEmitter = {
  528. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  529. local fp = Create("ParticleEmitter")({
  530. Parent = Parent,
  531. Color = ColorSequence.new(Color1, Color2),
  532. LightEmission = LightEmission,
  533. Size = Size,
  534. Texture = Texture,
  535. Transparency = Transparency,
  536. ZOffset = ZOffset,
  537. Acceleration = Accel,
  538. Drag = Drag,
  539. LockedToPart = LockedToPart,
  540. VelocityInheritance = VelocityInheritance,
  541. EmissionDirection = EmissionDirection,
  542. Enabled = Enabled,
  543. Lifetime = LifeTime,
  544. Rate = Rate,
  545. Rotation = Rotation,
  546. RotSpeed = RotSpeed,
  547. Speed = Speed,
  548. VelocitySpread = VelocitySpread
  549. })
  550. return fp
  551. end
  552. }
  553. }
  554. function RemoveOutlines(part)
  555. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  556. end
  557. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  558. local Part = Create("Part")({
  559. formFactor = FormFactor,
  560. Parent = Parent,
  561. Reflectance = Reflectance,
  562. Transparency = Transparency,
  563. CanCollide = false,
  564. Locked = true,
  565. BrickColor = BrickColor.new(tostring(BColor)),
  566. Name = Name,
  567. Size = Size,
  568. Material = Material
  569. })
  570. RemoveOutlines(Part)
  571. return Part
  572. end
  573. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  574. local Msh = Create(Mesh)({
  575. Parent = Part,
  576. Offset = OffSet,
  577. Scale = Scale
  578. })
  579. if Mesh == "SpecialMesh" then
  580. Msh.MeshType = MeshType
  581. Msh.MeshId = MeshId
  582. end
  583. return Msh
  584. end
  585. function CreateWeld(Parent, Part0, Part1, C0, C1)
  586. local Weld = Create("Weld")({
  587. Parent = Parent,
  588. Part0 = Part0,
  589. Part1 = Part1,
  590. C0 = C0,
  591. C1 = C1
  592. })
  593. return Weld
  594. end
  595. EffectModel = Instance.new("Model", char)
  596. Effects = {
  597. Block = {
  598. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  599. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  600. prt.Anchored = true
  601. prt.CFrame = cframe
  602. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  603. game:GetService("Debris"):AddItem(prt, 10)
  604. if Type == 1 or Type == nil then
  605. table.insert(Effects, {
  606. prt,
  607. "Block1",
  608. delay,
  609. x3,
  610. y3,
  611. z3,
  612. msh
  613. })
  614. elseif Type == 2 then
  615. table.insert(Effects, {
  616. prt,
  617. "Block2",
  618. delay,
  619. x3,
  620. y3,
  621. z3,
  622. msh
  623. })
  624. else
  625. table.insert(Effects, {
  626. prt,
  627. "Block3",
  628. delay,
  629. x3,
  630. y3,
  631. z3,
  632. msh
  633. })
  634. end
  635. end
  636. },
  637. Sphere = {
  638. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  639. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  640. prt.Anchored = true
  641. prt.CFrame = cframe
  642. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  643. game:GetService("Debris"):AddItem(prt, 10)
  644. table.insert(Effects, {
  645. prt,
  646. "Cylinder",
  647. delay,
  648. x3,
  649. y3,
  650. z3,
  651. msh
  652. })
  653. end
  654. },
  655. Cylinder = {
  656. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  657. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  658. prt.Anchored = true
  659. prt.CFrame = cframe
  660. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  661. game:GetService("Debris"):AddItem(prt, 10)
  662. table.insert(Effects, {
  663. prt,
  664. "Cylinder",
  665. delay,
  666. x3,
  667. y3,
  668. z3,
  669. msh
  670. })
  671. end
  672. },
  673. Wave = {
  674. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  675. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  676. prt.Anchored = true
  677. prt.CFrame = cframe
  678. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  679. game:GetService("Debris"):AddItem(prt, 10)
  680. table.insert(Effects, {
  681. prt,
  682. "Cylinder",
  683. delay,
  684. x3 / 60,
  685. y3 / 60,
  686. z3 / 60,
  687. msh
  688. })
  689. end
  690. },
  691. Ring = {
  692. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  693. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  694. prt.Anchored = true
  695. prt.CFrame = cframe
  696. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  697. game:GetService("Debris"):AddItem(prt, 10)
  698. table.insert(Effects, {
  699. prt,
  700. "Cylinder",
  701. delay,
  702. x3,
  703. y3,
  704. z3,
  705. msh
  706. })
  707. end
  708. },
  709. Break = {
  710. Create = function(brickcolor, cframe, x1, y1, z1)
  711. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  712. prt.Anchored = true
  713. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  714. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  715. local num = math.random(10, 50) / 1000
  716. game:GetService("Debris"):AddItem(prt, 10)
  717. table.insert(Effects, {
  718. prt,
  719. "Shatter",
  720. num,
  721. prt.CFrame,
  722. math.random() - math.random(),
  723. 0,
  724. math.random(50, 100) / 100
  725. })
  726. end
  727. }
  728. }
  729. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  730. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  731. prt.Anchored = true
  732. prt.CFrame = cframe
  733. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  734. game:GetService("Debris"):AddItem(prt, 10)
  735. if Type == 1 or Type == nil then
  736. table.insert(Effects, {
  737. prt,
  738. "Block1",
  739. delay,
  740. x3,
  741. y3,
  742. z3,
  743. msh
  744. })
  745. elseif Type == 2 then
  746. table.insert(Effects, {
  747. prt,
  748. "Block2",
  749. delay,
  750. x3,
  751. y3,
  752. z3,
  753. msh
  754. })
  755. elseif Type == 3 then
  756. table.insert(Effects, {
  757. prt,
  758. "Block3",
  759. delay,
  760. x3,
  761. y3,
  762. z3,
  763. msh
  764. })
  765. end
  766. end
  767. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  768. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  769. prt.Anchored = true
  770. prt.CFrame = cframe
  771. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  772. game:GetService("Debris"):AddItem(prt, 10)
  773. table.insert(Effects, {
  774. prt,
  775. "Cylinder",
  776. delay,
  777. x3,
  778. y3,
  779. z3,
  780. msh
  781. })
  782. end
  783. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  784. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  785. prt.Anchored = true
  786. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  787. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  788. game:GetService("Debris"):AddItem(prt, 10)
  789. table.insert(Effects, {
  790. prt,
  791. "Cylinder",
  792. delay,
  793. x3,
  794. y3,
  795. z3,
  796. msh
  797. })
  798. end
  799. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  800. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  801. prt.Anchored = true
  802. prt.CFrame = cframe
  803. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  804. game:GetService("Debris"):AddItem(prt, 10)
  805. table.insert(Effects, {
  806. prt,
  807. "Cylinder",
  808. delay,
  809. x3,
  810. y3,
  811. z3,
  812. msh
  813. })
  814. end
  815. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  816. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  817. prt.Anchored = true
  818. prt.CFrame = cframe
  819. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  820. game:GetService("Debris"):AddItem(prt, 10)
  821. table.insert(Effects, {
  822. prt,
  823. "Cylinder",
  824. delay,
  825. x3,
  826. y3,
  827. z3,
  828. msh
  829. })
  830. end
  831. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  832. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  833. prt.Anchored = true
  834. prt.CFrame = cframe
  835. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  836. game:GetService("Debris"):AddItem(prt, 10)
  837. table.insert(Effects, {
  838. prt,
  839. "Cylinder",
  840. delay,
  841. x3,
  842. y3,
  843. z3,
  844. msh
  845. })
  846. end
  847. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  848. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  849. prt.Anchored = true
  850. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  851. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  852. local num = math.random(10, 50) / 1000
  853. game:GetService("Debris"):AddItem(prt, 10)
  854. table.insert(Effects, {
  855. prt,
  856. "Shatter",
  857. num,
  858. prt.CFrame,
  859. math.random() - math.random(),
  860. 0,
  861. math.random(50, 100) / 100
  862. })
  863. end
  864. function CreateSound(ID, PARENT, VOLUME, PITCH)
  865. local NEWSOUND = nil
  866. coroutine.resume(coroutine.create(function()
  867. NEWSOUND = Instance.new("Sound", PARENT)
  868. NEWSOUND.Volume = VOLUME
  869. NEWSOUND.Pitch = PITCH
  870. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  871. swait()
  872. NEWSOUND:play()
  873. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  874. end))
  875. return NEWSOUND
  876. end
  877.  
  878.  
  879. --[[
  880. Thanks for using Build-To-Lua by jarredbcv.
  881. ]]--
  882.  
  883. New = function(Object, Parent, Name, Data)
  884. local Object = Instance.new(Object)
  885. for Index, Value in pairs(Data or {}) do
  886. Object[Index] = Value
  887. end
  888. Object.Parent = Parent
  889. Object.Name = Name
  890. return Object
  891. end
  892.  
  893. XBlade = New("Model",char,"XBlade",{})
  894. 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),})
  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(-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),})
  896. 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),})
  897. 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),})
  898. 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),})
  899. 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),})
  900. 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),})
  901. 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),})
  902. 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),})
  903. 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),})
  904. 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),})
  905. 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),})
  906. 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),})
  907. 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),})
  908. 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),})
  909. 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),})
  910. 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),})
  911. 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),})
  912. 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),})
  913. 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),})
  914. 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),})
  915. 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),})
  916. 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),})
  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(-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),})
  918. 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),})
  919. 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),})
  920. 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),})
  921. 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),})
  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.17253876, 0.00245666504, -0.207900524, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
  923. 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),})
  924. 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),})
  925. 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),})
  926. 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),})
  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(-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),})
  928. 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),})
  929. 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),})
  930. 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),})
  931. 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),})
  932. 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),})
  933. 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),})
  934. 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),})
  935. 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),})
  936. 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),})
  937.  
  938.  
  939. HeartLocket = New("Model",char,"Heart Locket",{})
  940. Heart = New("Hat",HeartLocket,"Heart",{})
  941. 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),})
  942. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(2, 2, 1),MeshId = "http://www.roblox.com/asset/?id=105992239",MeshType = Enum.MeshType.FileMesh,})
  943. 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),})
  944. 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,})
  945.  
  946.  
  947. for _, v in pairs(XBlade:GetChildren()) do
  948. if v:IsA'BasePart' then
  949. v.CanCollide = false
  950. end
  951. end
  952.  
  953.  
  954.  
  955. local NewInstance = function(instance,parent,properties)
  956. local inst = Instance.new(instance,parent)
  957. if(properties)then
  958. for i,v in next, properties do
  959. pcall(function() inst[i] = v end)
  960. end
  961. end
  962. return inst;
  963. end
  964. 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))})
  965. 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))})
  966. 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))})
  967.  
  968.  
  969.  
  970.  
  971. --Chat Function--
  972. function chatfunc(text,waitt)
  973. local chat = coroutine.wrap(function()
  974. if char:FindFirstChild("TalkingBillBoard")~= nil then
  975. char:FindFirstChild("TalkingBillBoard").Parent = nil
  976. end
  977. local naeeym2 = Instance.new("BillboardGui",char)
  978. naeeym2.Size = UDim2.new(0,100,0,40)
  979. naeeym2.StudsOffset = Vector3.new(0,2,0)
  980. naeeym2.Adornee = char.Head
  981. naeeym2.Name = "TalkingBillBoard"
  982. naeeym2.AlwaysOnTop = true
  983. local tecks2 = Instance.new("TextLabel",naeeym2)
  984. tecks2.BackgroundTransparency = 1
  985. tecks2.BorderSizePixel = 0
  986. tecks2.Text = ""
  987. tecks2.Font = "Code"
  988. tecks2.TextSize = 30
  989. tecks2.TextStrokeTransparency = 0
  990. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  991. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  992. tecks2.Size = UDim2.new(1,0,0.5,0)
  993. for i = 1,string.len(text),1 do
  994. tecks2.Text = string.sub(text,1,i)
  995. swait(3)
  996. end
  997. wait(waitt/10)
  998. coroutine.resume(coroutine.create(function()
  999. for i = 1, 10 do
  1000. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  1001. swait()
  1002. end
  1003. naeeym2:Destroy()
  1004. end))
  1005. end)
  1006. chat()
  1007. end
  1008.  
  1009. local asd = Instance.new("ParticleEmitter")
  1010. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1011. asd.LightEmission = .1
  1012. asd.Size = NumberSequence.new(0.2)
  1013. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1014. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1015. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1016. asd.Transparency = bbb
  1017. asd.Size = aaa
  1018. asd.ZOffset = .9
  1019. asd.Acceleration = Vector3.new(0, -5, 0)
  1020. asd.LockedToPart = false
  1021. asd.EmissionDirection = "Back"
  1022. asd.Lifetime = NumberRange.new(1, 2)
  1023. asd.Rotation = NumberRange.new(-100, 100)
  1024. asd.RotSpeed = NumberRange.new(-100, 100)
  1025. asd.Speed = NumberRange.new(2)
  1026. asd.Enabled = false
  1027. asd.VelocitySpread = 10000
  1028.  
  1029. function bleed(victim,amount)
  1030. local prtcl = asd:Clone()
  1031. prtcl.Parent = victim
  1032. prtcl:Emit(amount)
  1033. end
  1034.  
  1035.  
  1036. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1037. local NEWMESH = Instance.new(MESH)
  1038. if MESH == "SpecialMesh" then
  1039. NEWMESH.MeshType = MESHTYPE
  1040. if MESHID ~= "nil" and MESHID ~= "" then
  1041. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1042. end
  1043. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1044. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1045. end
  1046. end
  1047. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  1048. NEWMESH.Scale = SCALE
  1049. NEWMESH.Parent = PARENT
  1050. return NEWMESH
  1051. end
  1052.  
  1053. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1054. local NEWPART = Instance.new("Part")
  1055. NEWPART.formFactor = FORMFACTOR
  1056. NEWPART.Reflectance = REFLECTANCE
  1057. NEWPART.Transparency = TRANSPARENCY
  1058. NEWPART.CanCollide = false
  1059. NEWPART.Locked = true
  1060. NEWPART.Anchored = true
  1061. if ANCHOR == false then
  1062. NEWPART.Anchored = false
  1063. end
  1064. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1065. NEWPART.Name = NAME
  1066. NEWPART.Size = SIZE
  1067. NEWPART.Position = tors.Position
  1068. NEWPART.Material = MATERIAL
  1069. NEWPART:BreakJoints()
  1070. NEWPART.Parent = PARENT
  1071. return NEWPART
  1072. end
  1073.  
  1074. local function weldBetween(a, b)
  1075. local weldd = Instance.new("ManualWeld")
  1076. weldd.Part0 = a
  1077. weldd.Part1 = b
  1078. weldd.C0 = CFrame.new()
  1079. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1080. weldd.Parent = a
  1081. return weldd
  1082. end
  1083.  
  1084. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1085. local acs = Instance.new("Part")
  1086. acs.CanCollide = false
  1087. acs.Anchored = false
  1088. acs.Size = Vector3.new(0,0,0)
  1089. acs.CFrame = attachmentpart.CFrame
  1090. acs.Parent = char
  1091. acs.BrickColor = color
  1092. local meshs = Instance.new("SpecialMesh")
  1093. meshs.MeshId = mesh
  1094. meshs.TextureId = texture
  1095. meshs.Parent = acs
  1096. meshs.Scale = scale
  1097. meshs.Offset = offset
  1098. weldBetween(attachmentpart,acs)
  1099. end
  1100.  
  1101. local accessories = Instance.new("Folder",char)
  1102. accessories.Name = "Add-ons"
  1103.  
  1104. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1105. if TYPE == "Gem" then
  1106. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1107. acs.Anchored = false
  1108. acs.CanCollide = false
  1109. acs.CFrame = PART.CFrame
  1110. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1111. weldBetween(PART,acs)
  1112. elseif TYPE == "Skull" then
  1113. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1114. acs.Anchored = false
  1115. acs.CanCollide = false
  1116. acs.CFrame = PART.CFrame
  1117. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1118. weldBetween(PART,acs)
  1119. elseif TYPE == "Eye" then
  1120. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1121. acs.Anchored = false
  1122. acs.CanCollide = false
  1123. acs.CFrame = PART.CFrame
  1124. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1125. weldBetween(PART,acs)
  1126. end
  1127. end
  1128.  
  1129. createbodypart("Eye","Really red",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1130. createbodypart("Eye","Dark indigo",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1131.  
  1132. --Extras--
  1133. q = char:GetChildren()
  1134. for u = 1, #q do
  1135. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1136. q[u]:remove()
  1137. elseif q[u].ClassName == "CharacterMesh" then
  1138. q[u]:remove()
  1139. elseif q[u].ClassName == "ShirtGraphic" then
  1140. q[u]:remove()
  1141. elseif q[u].ClassName == "Shirt" then
  1142. q[u]:Destroy()
  1143. elseif q[u].ClassName == "Pants" then
  1144. q[u]:Destroy()
  1145. end
  1146. end
  1147. local top = Instance.new("Shirt")
  1148. top.ShirtTemplate = "rbxassetid://155329817"
  1149. top.Parent = char
  1150. local bottom = Instance.new("Pants")
  1151. bottom.PantsTemplate = "rbxassetid://155329869"
  1152. bottom.Parent = char
  1153.  
  1154. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  1155. if BodyColors then
  1156. BodyColors.HeadColor = BrickColor.new"Institutional white"
  1157. BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1158. BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1159. BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1160. BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1161. BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1162. end
  1163.  
  1164. --Scarfs--
  1165. local Blobby = Instance.new("Part", char)
  1166. Blobby.Name = "Blob"
  1167. Blobby.CanCollide = false
  1168. Blobby.BrickColor = BrickColor.new("Institutional white")
  1169. Blobby.Transparency = 0
  1170. Blobby.Material = "Plastic"
  1171. Blobby.Size = Vector3.new(1, 1, 2)
  1172. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1173. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1174.  
  1175. local Weld = Instance.new("Weld", Blobby)
  1176. Weld.Part0 = hed
  1177. Weld.Part1 = Blobby
  1178. Weld.C1 = CFrame.new(0, 1.1, 0)
  1179. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1180.  
  1181. local M2 = Instance.new("SpecialMesh")
  1182. M2.Parent = Blobby
  1183. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1184. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1185.  
  1186. local Blobby2 = Instance.new("Part", char)
  1187. Blobby2.Name = "Blob"
  1188. Blobby2.CanCollide = false
  1189. Blobby2.BrickColor = BrickColor.new("Really black")
  1190. Blobby2.Transparency = 0
  1191. Blobby2.Material = "Plastic"
  1192. Blobby2.Size = Vector3.new(1, 1, 2)
  1193. Blobby2.TopSurface = Enum.SurfaceType.Smooth
  1194. Blobby2.BottomSurface = Enum.SurfaceType.Smooth
  1195.  
  1196. local Weld = Instance.new("Weld", Blobby2)
  1197. Weld.Part0 = hed
  1198. Weld.Part1 = Blobby2
  1199. Weld.C1 = CFrame.new(0, 1.2, 0)
  1200. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1201.  
  1202. local M2 = Instance.new("SpecialMesh")
  1203. M2.Parent = Blobby2
  1204. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1205. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1206.  
  1207. --Hair--
  1208. local Hair = Instance.new("Part", char)
  1209. Hair.Name = "Hair"
  1210. Hair.CanCollide = false
  1211. Hair.BrickColor = BrickColor.new("Institutional white")
  1212. Hair.Transparency = 0
  1213. Hair.Material = "Plastic"
  1214. Hair.Size = Vector3.new(1, 1, 2)
  1215. Hair.TopSurface = Enum.SurfaceType.Smooth
  1216. Hair.BottomSurface = Enum.SurfaceType.Smooth
  1217.  
  1218. local Weld = Instance.new("Weld", Hair)
  1219. Weld.Part0 = hed
  1220. Weld.Part1 = Hair
  1221. Weld.C1 = CFrame.new(0, -.5, 0)
  1222. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1223.  
  1224. local M2 = Instance.new("SpecialMesh")
  1225. M2.Parent = Hair
  1226. M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
  1227. M2.Scale = Vector3.new(1.2, 1.1, 1.1)
  1228.  
  1229. --Hood--
  1230. local Hood = Instance.new("Part", char)
  1231. Hood.Name = "Hood"
  1232. Hood.CanCollide = false
  1233. Hood.BrickColor = BrickColor.new("Lime green")
  1234. Hood.Transparency = 0
  1235. Hood.Material = "Plastic"
  1236. Hood.Size = Vector3.new(1, 1, 2)
  1237. Hood.TopSurface = Enum.SurfaceType.Smooth
  1238. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1239.  
  1240. local Weld = Instance.new("Weld", Hood)
  1241. Weld.Part0 = tors
  1242. Weld.Part1 = Hood
  1243. Weld.C1 = CFrame.new(0, .4, -.9)
  1244. Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
  1245.  
  1246. local M2 = Instance.new("SpecialMesh")
  1247. M2.Parent = Hood
  1248. M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
  1249. M2.Scale = Vector3.new(0.922, 0.922, 0.922)
  1250. hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
  1251.  
  1252.  
  1253.  
  1254. Slashy = Instance.new("Sound", ra)
  1255. Slashy.Volume = 5
  1256. Slashy.Pitch = 0.475
  1257. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  1258. Slashy.Looped = false
  1259.  
  1260. local VALUE1 = false
  1261. local sine=0
  1262. for _, v in pairs(XBlade:GetChildren()) do
  1263. if v:IsA'BasePart' then
  1264. v.CanCollide = false
  1265. v.Transparency = 1
  1266. end
  1267. end
  1268. function intro()
  1269. attack = true
  1270. chatfunc("Edit By PowerSans1234",3)
  1271. hum.WalkSpeed = 0
  1272. for i = 0,6,0.1 do
  1273. swait()
  1274. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1275. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1276. RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1277. LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
  1278. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
  1279. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
  1280. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1281. end
  1282. wait(2.5)
  1283. chatfunc("Finally I Get That Skeleton Soul",3)
  1284. hum.WalkSpeed = 0
  1285. for i = 0,6,0.1 do
  1286. swait()
  1287. 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)
  1288. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1289. 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)
  1290. 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)
  1291. 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)
  1292. 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)
  1293. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1294. end
  1295. wait(2.5)
  1296. chatfunc("i will kill all with soul.",3)
  1297. for i = 0,6,0.1 do
  1298. swait()
  1299. 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)
  1300. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1301. 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)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1306. end
  1307. wait(2.5)
  1308. chatfunc("=).",3)
  1309. for i = 0,6,0.1 do
  1310. swait()
  1311. 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)
  1312. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1313. 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)
  1314. 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)
  1315. 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)
  1316. 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)
  1317. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1318. end
  1319. wait(2.5)
  1320. chatfunc("*click OverWhtie*.",5)
  1321.  
  1322. for i = 0,6,0.1 do
  1323. swait()
  1324. for _, v in pairs(XBlade:GetChildren()) do
  1325. if v:IsA'BasePart' then
  1326. v.CanCollide = false
  1327. v.Transparency = v.Transparency - .3
  1328. end
  1329. end
  1330. 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)
  1331. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1332. 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)
  1333. 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)
  1334. 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)
  1335. 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)
  1336. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1337. end
  1338. wait(4.5)
  1339. chatfunc("Welcome to the X-Event --- OverWhite :).",3)
  1340. wait(2.5)
  1341. CreateSound("367453005", hed, 10, 0.2)
  1342. 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),})
  1343. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1344. 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),})
  1345. 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)
  1346. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1347. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1348. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1349. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1350. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1351. local bigboi = Instance.new("Sound",tors)
  1352. bigboi.SoundId = "rbxassetid://736980589"
  1353. bigboi.Volume = 2.5
  1354. bigboi.Looped = true
  1355. bigboi.Pitch = 0.5
  1356. bigboi:Play()
  1357. attack = false
  1358. VALUE1 = true
  1359. hum.WalkSpeed = 100
  1360. end
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366. function NothingPersonal()
  1367. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1368. local HITBODY = mouse.Target.Parent
  1369. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1370. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1371. if TORS ~= nil and HUMAN ~= nil then
  1372. attack = true
  1373. hum.WalkSpeed = 0
  1374. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1375. TORS.Anchored = true
  1376. CreateSound("367453005", hed, 10, 0.2)
  1377. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1378. for i = 0,6,0.1 do
  1379. swait()
  1380. 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)
  1381. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1382. 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)
  1383. 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)
  1384. 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)
  1385. 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)
  1386. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1387. end
  1388. CreateSound("357417055", hed, 10, 1)
  1389. for i = 0,4,0.1 do
  1390. 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)
  1391. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1392. 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)
  1393. 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)
  1394. 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)
  1395. 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)
  1396. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1397. end
  1398. wait(2.5)
  1399. CreateSound("623904185", hed, 10, 0.5)
  1400. HITBODY:BreakJoints()
  1401. TORS.Anchored = false
  1402. attack = false
  1403. hum.WalkSpeed = 100
  1404. bleed(TORS,25)
  1405. end
  1406. end
  1407. end
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420. ---ATTACKS N STUFF
  1421. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1422. Hitboxpart = Instance.new("Part", EffectModel)
  1423. RemoveOutlines(Hitboxpart)
  1424. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1425. Hitboxpart.CanCollide = false
  1426. Hitboxpart.Transparency = 1
  1427. Hitboxpart.Anchored = true
  1428. Hitboxpart.CFrame = Pose
  1429. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1430. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1431. end
  1432. wait2 = false
  1433. combo = 1
  1434. mouse.Button1Down:connect(function(key)
  1435. if attack == false then
  1436. attack = true
  1437. hum.WalkSpeed = 3.01
  1438. if combo == 1 and wait2 == false then
  1439. wait2 = true
  1440. for i = 0, 1.2, 0.1 do
  1441. swait()
  1442. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1443. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1444. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(175), math.rad(0), math.rad(0)), 0.1)
  1445. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1446. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1447. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1448. end
  1449. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1450. Slashy:Play()
  1451. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1452. for i = 0, 1.2, 0.1 do
  1453. swait()
  1454. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  1455. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1456. 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)
  1457. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1458. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1459. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1460. end
  1461. combo = 2
  1462. end
  1463. if combo == 2 and wait2 == false then
  1464. wait2 = true
  1465. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1466. for i = 0, 1.4, 0.1 do
  1467. swait()
  1468. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1469. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1470. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1471. 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)
  1472. 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)
  1473. 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)
  1474. end
  1475. combo = 3
  1476. end
  1477. if combo == 3 and wait2 == false then
  1478. wait2 = true
  1479.  
  1480. for i = 0, 1.2, 0.1 do
  1481. swait()
  1482. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1483. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1484. 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)
  1485. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1486. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1487. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1488. end
  1489. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1490. Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1491. Slashy:Play()
  1492. for i = 0, 1.2, 0.1 do
  1493. swait()
  1494. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  1495. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1496. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  1497. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1498. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1499. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1500. end
  1501. combo = 1
  1502. end
  1503. hum.WalkSpeed = 100
  1504. wait2 = false
  1505. attack = false
  1506. end
  1507. end)
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514. function DashingSpin()
  1515. attack = true
  1516. hum.WalkSpeed = 100
  1517. CreateSound("707957812", workspace, 5, 1)
  1518. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1519. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1520. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1521. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1522. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1523.  
  1524. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1525. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1526. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1527. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1528. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1529. Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1530. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1531. for i = 0,6,0.1 do
  1532. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1533. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1534. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1535. 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)
  1536. 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)
  1537. 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)
  1538. 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)
  1539. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1540. end
  1541. for i = 0,9,0.1 do
  1542. swait()
  1543. MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  1544. 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)
  1545. 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)
  1546. 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)
  1547. 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)
  1548. 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)
  1549. 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)
  1550. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1551. end
  1552. attack = false
  1553. hum.WalkSpeed = 100
  1554. end
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562. mouse.KeyDown:connect(function(key)
  1563. if attack == false then
  1564. if key == 'q' then
  1565. NothingPersonal()
  1566. elseif key == 'c' then
  1567. CreateSound("367453005", hed, 10, 1)
  1568. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1569. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1570. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1571. elseif key == 'f' then
  1572. DashingSpin()
  1573. elseif key == 't' then
  1574. CreateSound("649634100", hed, 10, .89)
  1575. end
  1576. end
  1577. end)
  1578.  
  1579.  
  1580.  
  1581. ff = Instance.new("ForceField",char)
  1582. ff.Visible = false
  1583.  
  1584. local idle=0
  1585. local change = 1
  1586. local val = 0
  1587. toim = 0
  1588. hum.Animator.Parent = nil
  1589. idleanim=.4
  1590. while true do
  1591. swait()
  1592. hum.MaxHealth = math.huge
  1593. hum.Health = math.huge
  1594. hum.Name = "TheXEvent"
  1595. sine = sine + change
  1596. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1597. local velderp=root.Velocity.y
  1598. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1599. if equipped==true or equipped==false then
  1600. if attack==false then
  1601. idle=idle+1
  1602. else
  1603. idle=0
  1604. end
  1605. if root.Velocity.y > 1 and hitfloor==nil then
  1606. Anim="Jump"
  1607. if attack==false then
  1608. 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)
  1609. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1610. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1611. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1612. 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)
  1613. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1614. end
  1615. elseif root.Velocity.y < -1 and hitfloor==nil then
  1616. Anim="Fall"
  1617. if attack==false then
  1618. 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)
  1619. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1620. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1621. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1622. 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)
  1623. 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)
  1624. end
  1625. elseif torvel<1 and hitfloor~=nil then
  1626. Anim="Idle"
  1627. change = 1
  1628. if attack==false then
  1629. 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)
  1630. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1631. 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)
  1632. 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)
  1633. 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)
  1634. 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)
  1635. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1636. end
  1637.  
  1638. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1639. Anim="Walk"
  1640. change = 1
  1641. if attack==false then
  1642. 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)
  1643. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1644. 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)
  1645. 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)
  1646. 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)
  1647. 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)
  1648. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1649. end
  1650. end
  1651. end
  1652.  
  1653. if 0 < #Effects then
  1654. for e = 1, #Effects do
  1655. if Effects[e] ~= nil then
  1656. local Thing = Effects[e]
  1657. if Thing ~= nil then
  1658. local Part = Thing[1]
  1659. local Mode = Thing[2]
  1660. local Delay = Thing[3]
  1661. local IncX = Thing[4]
  1662. local IncY = Thing[5]
  1663. local IncZ = Thing[6]
  1664. if 1 >= Thing[1].Transparency then
  1665. if Thing[2] == "Block1" then
  1666. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1667. local Mesh = Thing[1].Mesh
  1668. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1669. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1670. elseif Thing[2] == "Block2" then
  1671. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1672. local Mesh = Thing[7]
  1673. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1674. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1675. elseif Thing[2] == "Block3" then
  1676. 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)
  1677. local Mesh = Thing[7]
  1678. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1679. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1680. elseif Thing[2] == "Cylinder" then
  1681. local Mesh = Thing[1].Mesh
  1682. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1683. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1684. elseif Thing[2] == "Blood" then
  1685. local Mesh = Thing[7]
  1686. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1687. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1688. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1689. elseif Thing[2] == "Elec" then
  1690. local Mesh = Thing[1].Mesh
  1691. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1692. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1693. elseif Thing[2] == "Disappear" then
  1694. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1695. elseif Thing[2] == "Shatter" then
  1696. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1697. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1698. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1699. Thing[6] = Thing[6] + Thing[5]
  1700. end
  1701. else
  1702. Part.Parent = nil
  1703. table.remove(Effects, e)
  1704. end
  1705. end
  1706. end
  1707. end
  1708. end
  1709. if VALUE1 == false and attack == false then
  1710. intro()
  1711. end
  1712. end
  1713.  
  1714.  
  1715. --//=================================\\
  1716. --|| WEAPON CREATION
  1717. --\\=================================//
  1718.  
  1719. local Hole = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1720. local MESH = MakeForm(Hole,"Cyl")
  1721.  
  1722. for _, c in pairs(Weapon:GetChildren()) do
  1723. if c.ClassName == "Part" then
  1724. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1725. end
  1726. end
  1727.  
  1728. Weapon.Parent = Character
  1729.  
  1730. Humanoid.Died:connect(function()
  1731. ATTACK = true
  1732. end)
  1733.  
  1734.  
  1735.  
  1736. --//=================================\\
  1737. --|| DAMAGING
  1738. --\\=================================//
  1739.  
  1740. function Sink(position,radius)
  1741. for i,v in ipairs(workspace:GetChildren()) do
  1742. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1743. local body = v:GetChildren()
  1744. for part = 1, #body do
  1745. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1746. if(body[part].Position - position).Magnitude < radius then
  1747. if v.ClassName == "Model" then
  1748. if v:FindFirstChild("Humanoid") then
  1749. local defence = Instance.new("BoolValue",v)
  1750. defence.Name = ("Hit2By"..Player.Name)
  1751. if v.Humanoid.Health ~= 0 then
  1752. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1753. if TORS ~= nil then
  1754. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1755. coroutine.resume(coroutine.create(function()
  1756. if HITFLOOR2 ~= nil then
  1757. TORS.Anchored = true
  1758. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(TORS.Size.X*4,0,TORS.Size.X*4))
  1759. Hole2.Color = C3(0,0,0)
  1760. local MESH = MakeForm(Hole2,"Cyl")
  1761. MESH.Scale = VT(0,1,0)
  1762. Hole2.CFrame = CF(HITPOS2)
  1763. for i = 1, 10 do
  1764. Swait()
  1765. MESH.Scale = MESH.Scale + VT(0.1,0,0.1)
  1766. end
  1767. repeat
  1768. Swait()
  1769. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1770. until TORS.Position.Y<position.Y-4
  1771. v:remove()
  1772. for i = 1, 10 do
  1773. Swait()
  1774. MESH.Scale = MESH.Scale - VT(0.1,0,0.1)
  1775. end
  1776. Hole2:remove()
  1777. end
  1778. end))
  1779. end
  1780. end
  1781. end
  1782. end
  1783. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1784. end
  1785. end
  1786. end
  1787. end
  1788. end
  1789. end
  1790.  
  1791. --//=================================\\
  1792. --|| ATTACK FUNCTIONS AND STUFF
  1793. --\\=================================//
  1794.  
  1795. function Trail(Part)
  1796. local TRAIL = Part:Clone()
  1797. TRAIL.CanCollide = false
  1798. TRAIL.Anchored = true
  1799. TRAIL.Parent = Effects
  1800. TRAIL.Name = "Trail"
  1801. local TRANS = Part.Transparency
  1802. coroutine.resume(coroutine.create(function()
  1803. for i = 1, 20 do
  1804. Swait()
  1805. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1806. end
  1807. TRAIL:remove()
  1808. end))
  1809. end
  1810.  
  1811. function AttackTemplate()
  1812. ATTACK = true
  1813. Rooted = false
  1814. for i=0, 1, 0.1 / Animation_Speed do
  1815. Swait()
  1816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1820. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1821. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1822. end
  1823. ATTACK = false
  1824. Rooted = false
  1825. end
  1826.  
  1827. function Intro()
  1828. coroutine.resume(coroutine.create(function()
  1829. ATTACK = true
  1830. Rooted = true
  1831. UNANCHOR = false
  1832. RootPart.Anchored = true
  1833. for i=0, 2, 0.1 / Animation_Speed do
  1834. Swait()
  1835. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1836. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1837. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1838. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1839. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1840. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1841. end
  1842. for i=0, 4, 0.1 / Animation_Speed do
  1843. Swait()
  1844. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1845. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1846. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1847. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1848. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1849. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1850. end
  1851. VALUE1 = true
  1852. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1853. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1854. MakeForm(part,"Ball")
  1855. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1856. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(-0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1857. MakeForm(part,"Ball")
  1858. Swait(15)
  1859. Humanoid.HipHeight = 2
  1860. sick:Play()
  1861. CreateSound("649634100", Head, 10, 0.6)
  1862. for i=0, 2, 0.1 / Animation_Speed do
  1863. Swait()
  1864. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1865. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1866. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1867. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1868. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1869. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1870. end
  1871. UNANCHOR = true
  1872. ATTACK = false
  1873. Rooted = false
  1874. end))
  1875. end
  1876.  
  1877. function Warp()
  1878. ATTACK = true
  1879. Rooted = true
  1880. UNANCHOR = false
  1881. RootPart.Anchored = true
  1882. for i=0, 1, 0.1 / Animation_Speed do
  1883. Swait()
  1884. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)), 1 / Animation_Speed)
  1885. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1886. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1887. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1888. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1889. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1890. end
  1891. for i=0, 1, 0.1 / Animation_Speed do
  1892. Swait()
  1893. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -15) * ANGLES(RAD(180), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1894. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1895. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1896. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1897. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1898. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1899. end
  1900. for i = 1, 50 do
  1901. Swait()
  1902. Trail(Hole)
  1903. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1904. end
  1905. local ORIGINPOS = RootPart.Position
  1906. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z),ORIGINPOS)
  1907. CreateSound("466493476", Hole, 10, 1)
  1908. for i = 1, 50 do
  1909. Swait()
  1910. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1911. end
  1912. for i=0, 2, 0.1 / Animation_Speed do
  1913. Swait()
  1914. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1915. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1916. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1917. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1918. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1919. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(45)), 0.15 / Animation_Speed)
  1920. end
  1921. UNANCHOR = true
  1922. ATTACK = false
  1923. Rooted = false
  1924. end
  1925.  
  1926. function Sinkhole()
  1927. coroutine.resume(coroutine.create(function()
  1928. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1929. Hole2.Color = C3(0,0,0)
  1930. local MESH = MakeForm(Hole2,"Cyl")
  1931. MESH.Scale = VT(0,1,0)
  1932. Hole2.CFrame = CF(Mouse.Hit.p)
  1933. CreateSound("466493476", Hole2, 10, 1)
  1934. for i = 1, 50 do
  1935. Swait()
  1936. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1937. end
  1938. for i = 1, 200 do
  1939. Swait()
  1940. Sink(Hole2.Position,Hole2.Size.X/2.2)
  1941. end
  1942. Swait(100)
  1943. for i = 1, 50 do
  1944. Swait()
  1945. Trail(Hole2)
  1946. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1947. end
  1948. Hole2:remove()
  1949. end))
  1950. end
  1951.  
  1952. function AbyssGate()
  1953. VALUE2 = true
  1954. coroutine.resume(coroutine.create(function()
  1955. CreateSound("466493476", Hole, 10, 0.1)
  1956. for i = 1, 500 do
  1957. Swait()
  1958. Hole.Size = Hole.Size + VT(1,0,1)
  1959. end
  1960. Swait(100)
  1961. for i = 1, 500 do
  1962. Swait()
  1963. Trail(Hole)
  1964. Hole.Size = Hole.Size - VT(1,0,1)
  1965. end
  1966. VALUE2 = false
  1967. end))
  1968. end
  1969.  
  1970. --//=================================\\
  1971. --|| ASSIGN THINGS TO KEYS
  1972. --\\=================================//
  1973.  
  1974. function MouseDown(Mouse)
  1975. if ATTACK == false then
  1976. end
  1977. end
  1978.  
  1979. function MouseUp(Mouse)
  1980. HOLD = false
  1981. end
  1982.  
  1983. function KeyDown(Key)
  1984. KEYHOLD = true
  1985. if Key == "q" and ATTACK == false and HITFLOOR ~= nil and VALUE2 == false then
  1986. Warp()
  1987. end
  1988.  
  1989. if Key == "e" and ATTACK == false then
  1990. Sinkhole()
  1991. end
  1992.  
  1993. if Key == "r" and ATTACK == false and VALUE2 == false then
  1994. AbyssGate()
  1995. end
  1996.  
  1997. if Key == "t" and ATTACK == false then
  1998. CreateSound("649634100", Head, 10, 0.6)
  1999. end
  2000. end
  2001.  
  2002. function KeyUp(Key)
  2003. KEYHOLD = false
  2004. end
  2005.  
  2006. Mouse.Button1Down:connect(function(NEWKEY)
  2007. MouseDown(NEWKEY)
  2008. end)
  2009. Mouse.Button1Up:connect(function(NEWKEY)
  2010. MouseUp(NEWKEY)
  2011. end)
  2012. Mouse.KeyDown:connect(function(NEWKEY)
  2013. KeyDown(NEWKEY)
  2014. end)
  2015. Mouse.KeyUp:connect(function(NEWKEY)
  2016. KeyUp(NEWKEY)
  2017. end)
  2018.  
  2019. --//=================================\\
  2020. --\\=================================//
  2021.  
  2022.  
  2023. function unanchor()
  2024. if UNANCHOR == true then
  2025. g = Character:GetChildren()
  2026. for i = 1, #g do
  2027. if g[i].ClassName == "Part" then
  2028. g[i].Anchored = false
  2029. end
  2030. end
  2031. end
  2032. end
  2033.  
  2034.  
  2035. --//=================================\\
  2036. --|| WRAP THE WHOLE SCRIPT UP
  2037. --\\=================================//
  2038.  
  2039. Humanoid.Changed:connect(function(Jump)
  2040. if Jump == "Jump" and (Disable_Jump == true) then
  2041. Humanoid.Jump = false
  2042. end
  2043. end)
  2044.  
  2045. Speed = 10
  2046.  
  2047. while true do
  2048. Swait()
  2049. ANIMATE.Parent = nil
  2050. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2051. IDLEANIMATION:Play()
  2052. SINE = SINE + CHANGE
  2053. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2054. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2055. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2056. HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25 * Player_Size, Character)
  2057. if ATTACK == false then
  2058. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2059. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2060. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2062. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  2063. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(25)), 0.15 / Animation_Speed)
  2064. end
  2065. if HITFLOOR ~= nil then
  2066. Hole.CFrame = CF(HITPOS)
  2067. end
  2068. Sink(Hole.Position,Hole.Size.X/2.2*MESH.Scale.X)
  2069. Hole.Color = C3(0,0,0)
  2070. unanchor()
  2071. Humanoid.MaxHealth = "inf"
  2072. Humanoid.Health = "inf"
  2073. if Rooted == false then
  2074. Disable_Jump = false
  2075. Humanoid.WalkSpeed = Speed
  2076. elseif Rooted == true then
  2077. Disable_Jump = true
  2078. Humanoid.WalkSpeed = 0
  2079. end
  2080. if VALUE1 == true then
  2081. Humanoid.HipHeight = 2
  2082. q = Character:GetChildren()
  2083. for u = 1, #q do
  2084. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  2085. q[u]:remove()
  2086. elseif q[u].ClassName == "Shirt" then
  2087. q[u]:Destroy()
  2088. elseif q[u].ClassName == "Pants" then
  2089. q[u]:Destroy()
  2090. elseif q[u].ClassName == "CharacterMesh" then
  2091. q[u]:remove()
  2092. elseif q[u].ClassName == "ShirtGraphic" then
  2093. q[u]:remove()
  2094. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  2095. q[u].Color = Color3.new(0,0,0)
  2096. q[u].Material = "Neon"
  2097. end
  2098. end
  2099. if Head:FindFirstChild("Mesh") then
  2100. local mesh = Head.Mesh
  2101. if mesh.ClassName == "SpecialMesh" then
  2102. mesh:remove()
  2103. local m = IT("BlockMesh",Head)
  2104. m.Scale = VT(0.5,1,1)
  2105. end
  2106. end
  2107. if Head:FindFirstChild("face") then
  2108. Head.face:remove()
  2109. end
  2110. end
  2111. if VALUE1 == false and ATTACK == false then
  2112. Intro()
  2113. end
  2114. end
  2115.  
  2116. --//=================================\\
  2117. --\\=================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement