Advertisement
SpiritualDonut

Untitled

Jun 28th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.45 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("Storm blue")
  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.  
  894.  
  895. for _, v in pairs(XBlade:GetChildren()) do
  896. if v:IsA'BasePart' then
  897. v.CanCollide = false
  898. end
  899. end
  900.  
  901.  
  902.  
  903. local NewInstance = function(instance,parent,properties)
  904. local inst = Instance.new(instance,parent)
  905. if(properties)then
  906. for i,v in next, properties do
  907. pcall(function() inst[i] = v end)
  908. end
  909. end
  910. return inst;
  911. end
  912. 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))})
  913. 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))})
  914. 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))})
  915.  
  916.  
  917.  
  918.  
  919. --Chat Function--
  920. function chatfunc(text,waitt)
  921. local chat = coroutine.wrap(function()
  922. if char:FindFirstChild("TalkingBillBoard")~= nil then
  923. char:FindFirstChild("TalkingBillBoard").Parent = nil
  924. end
  925. local naeeym2 = Instance.new("BillboardGui",char)
  926. naeeym2.Size = UDim2.new(0,100,0,40)
  927. naeeym2.StudsOffset = Vector3.new(0,2,0)
  928. naeeym2.Adornee = char.Head
  929. naeeym2.Name = "TalkingBillBoard"
  930. naeeym2.AlwaysOnTop = true
  931. local tecks2 = Instance.new("TextLabel",naeeym2)
  932. tecks2.BackgroundTransparency = 1
  933. tecks2.BorderSizePixel = 0
  934. tecks2.Text = ""
  935. tecks2.Font = "Code"
  936. tecks2.TextSize = 30
  937. tecks2.TextStrokeTransparency = 0
  938. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  939. tecks2.TextStrokeColor3 = Color3.fromRGB(51, 88, 130)
  940. tecks2.Size = UDim2.new(1,0,0.5,0)
  941. for i = 1,string.len(text),1 do
  942. tecks2.Text = string.sub(text,1,i)
  943. swait(3)
  944. end
  945. wait(waitt/10)
  946. coroutine.resume(coroutine.create(function()
  947. for i = 1, 10 do
  948. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  949. swait()
  950. end
  951. naeeym2:Destroy()
  952. end))
  953. end)
  954. chat()
  955. end
  956.  
  957. local asd = Instance.new("ParticleEmitter")
  958. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  959. asd.LightEmission = .1
  960. asd.Size = NumberSequence.new(0.2)
  961. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  962. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  963. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  964. asd.Transparency = bbb
  965. asd.Size = aaa
  966. asd.ZOffset = .9
  967. asd.Acceleration = Vector3.new(0, -5, 0)
  968. asd.LockedToPart = false
  969. asd.EmissionDirection = "Back"
  970. asd.Lifetime = NumberRange.new(1, 2)
  971. asd.Rotation = NumberRange.new(-100, 100)
  972. asd.RotSpeed = NumberRange.new(-100, 100)
  973. asd.Speed = NumberRange.new(2)
  974. asd.Enabled = false
  975. asd.VelocitySpread = 10000
  976.  
  977. function bleed(victim,amount)
  978. local prtcl = asd:Clone()
  979. prtcl.Parent = victim
  980. prtcl:Emit(amount)
  981. end
  982.  
  983.  
  984. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  985. local NEWMESH = Instance.new(MESH)
  986. if MESH == "SpecialMesh" then
  987. NEWMESH.MeshType = MESHTYPE
  988. if MESHID ~= "nil" and MESHID ~= "" then
  989. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  990. end
  991. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  992. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  993. end
  994. end
  995. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  996. NEWMESH.Scale = SCALE
  997. NEWMESH.Parent = PARENT
  998. return NEWMESH
  999. end
  1000.  
  1001. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1002. local NEWPART = Instance.new("Part")
  1003. NEWPART.formFactor = FORMFACTOR
  1004. NEWPART.Reflectance = REFLECTANCE
  1005. NEWPART.Transparency = TRANSPARENCY
  1006. NEWPART.CanCollide = false
  1007. NEWPART.Locked = true
  1008. NEWPART.Anchored = true
  1009. if ANCHOR == false then
  1010. NEWPART.Anchored = false
  1011. end
  1012. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  1013. NEWPART.Name = NAME
  1014. NEWPART.Size = SIZE
  1015. NEWPART.Position = tors.Position
  1016. NEWPART.Material = MATERIAL
  1017. NEWPART:BreakJoints()
  1018. NEWPART.Parent = PARENT
  1019. return NEWPART
  1020. end
  1021.  
  1022. local function weldBetween(a, b)
  1023. local weldd = Instance.new("ManualWeld")
  1024. weldd.Part0 = a
  1025. weldd.Part1 = b
  1026. weldd.C0 = CFrame.new()
  1027. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1028. weldd.Parent = a
  1029. return weldd
  1030. end
  1031.  
  1032. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1033. local acs = Instance.new("Part")
  1034. acs.CanCollide = false
  1035. acs.Anchored = false
  1036. acs.Size = Vector3.new(0,0,0)
  1037. acs.CFrame = attachmentpart.CFrame
  1038. acs.Parent = char
  1039. acs.BrickColor = color
  1040. local meshs = Instance.new("SpecialMesh")
  1041. meshs.MeshId = mesh
  1042. meshs.TextureId = texture
  1043. meshs.Parent = acs
  1044. meshs.Scale = scale
  1045. meshs.Offset = offset
  1046. weldBetween(attachmentpart,acs)
  1047. end
  1048.  
  1049. local accessories = Instance.new("Folder",char)
  1050. accessories.Name = "Add-ons"
  1051.  
  1052. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1053. if TYPE == "Gem" then
  1054. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1055. acs.Anchored = false
  1056. acs.CanCollide = false
  1057. acs.CFrame = PART.CFrame
  1058. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1059. weldBetween(PART,acs)
  1060. elseif TYPE == "Skull" then
  1061. local acs = CreatePart(3, accessories, "Plastic", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1062. acs.Anchored = false
  1063. acs.CanCollide = false
  1064. acs.CFrame = PART.CFrame
  1065. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1066. weldBetween(PART,acs)
  1067. elseif TYPE == "Eye" then
  1068. local acs = CreatePart(3, accessories, "Neon", 0, 0, COLOR, "Part", Vector3.new(0,0,0))
  1069. acs.Anchored = false
  1070. acs.CanCollide = false
  1071. acs.CFrame = PART.CFrame
  1072. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1073. weldBetween(PART,acs)
  1074. end
  1075. end
  1076.  
  1077. createbodypart("Eye","Steel blue",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1078. createbodypart("Eye","Steel blue",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
  1079.  
  1080. --Extras--
  1081. q = char:GetChildren()
  1082. for u = 1, #q do
  1083. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1084. q[u]:remove()
  1085. elseif q[u].ClassName == "CharacterMesh" then
  1086. q[u]:remove()
  1087. elseif q[u].ClassName == "ShirtGraphic" then
  1088. q[u]:remove()
  1089. elseif q[u].ClassName == "Shirt" then
  1090. q[u]:Destroy()
  1091. elseif q[u].ClassName == "Pants" then
  1092. q[u]:Destroy()
  1093. end
  1094. end
  1095. local top = Instance.new("Shirt")
  1096. top.ShirtTemplate = "rbxassetid://1150647922"
  1097. top.Parent = char
  1098. local bottom = Instance.new("Pants")
  1099. bottom.PantsTemplate = "rbxassetid://454840129"
  1100. bottom.Parent = char
  1101.  
  1102. local BodyColors = char:FindFirstChildOfClass"BodyColors"
  1103. if BodyColors then
  1104. BodyColors.HeadColor = BrickColor.new"Institutional white"
  1105. BodyColors.TorsoColor = BrickColor.new"Institutional white"
  1106. BodyColors.LeftArmColor = BrickColor.new"Institutional white"
  1107. BodyColors.RightArmColor = BrickColor.new"Institutional white"
  1108. BodyColors.LeftLegColor = BrickColor.new"Institutional white"
  1109. BodyColors.RightLegColor = BrickColor.new"Institutional white"
  1110. end
  1111.  
  1112. --Scarfs--
  1113. local Blobby = Instance.new("Part", char)
  1114. Blobby.Name = "Blob"
  1115. Blobby.CanCollide = false
  1116. Blobby.BrickColor = BrickColor.new("Storm blue")
  1117. Blobby.Transparency = 0
  1118. Blobby.Material = "Plastic"
  1119. Blobby.Size = Vector3.new(1, 1, 2)
  1120. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1121. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1122.  
  1123. local Weld = Instance.new("Weld", Blobby)
  1124. Weld.Part0 = hed
  1125. Weld.Part1 = Blobby
  1126. Weld.C1 = CFrame.new(0, 1.1, 0)
  1127. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1128.  
  1129. local M2 = Instance.new("SpecialMesh")
  1130. M2.Parent = Blobby
  1131. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1132. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1133.  
  1134. local Blobby2 = Instance.new("Part", char)
  1135. Blobby2.Name = "Blob"
  1136. Blobby2.CanCollide = false
  1137. Blobby2.BrickColor = BrickColor.new("Really red")
  1138. Blobby2.Transparency = 0
  1139. Blobby2.Material = "Plastic"
  1140. Blobby2.Size = Vector3.new(1, 1, 2)
  1141. Blobby2.TopSurface = Enum.SurfaceType.Smooth
  1142. Blobby2.BottomSurface = Enum.SurfaceType.Smooth
  1143.  
  1144. local Weld = Instance.new("Weld", Blobby2)
  1145. Weld.Part0 = hed
  1146. Weld.Part1 = Blobby2
  1147. Weld.C1 = CFrame.new(0, 1.2, 0)
  1148. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
  1149.  
  1150. local M2 = Instance.new("SpecialMesh")
  1151. M2.Parent = Blobby2
  1152. M2.MeshId = "http://www.roblox.com/asset/?id=448710145"
  1153. M2.Scale = Vector3.new(0.8, 0.8, 0.8)
  1154.  
  1155. --Hair--
  1156. local Player = game:service'Players'.LocalPlayer
  1157. repeat wait() until Player.Character
  1158. local Character = Player.Character
  1159. local Char, Plr = Character, Player
  1160. local Mouse = Player:GetMouse()
  1161.  
  1162. Reaper2 = Instance.new("Model") --anime
  1163. Reaper2.Parent = Player.Character
  1164. Reaper2.Name = "Reaper2"
  1165. rh2 = Instance.new("Part")
  1166. rh2.Parent = Reaper2
  1167. rh2.Locked = true
  1168. rh2.CanCollide = false
  1169. mesh2 = Instance.new("SpecialMesh")
  1170. rh2.formFactor = "Symmetric"
  1171. mesh2.MeshType = "FileMesh"
  1172. mesh2.MeshId = "http://www.roblox.com/asset/?id=724902976"
  1173. mesh2.TextureId = "http://www.roblox.com/asset/?id=1080024588"
  1174. mesh2.Scale = Vector3.new(0.7, 0.7, 0.7)
  1175. mesh2.Parent = rh2
  1176. local weld2 = Instance.new("Weld")
  1177. weld2.Parent = rh2
  1178. rh2.Transparency = 0
  1179. weld2.Part0 = rh2
  1180. weld2.Part1 = Player.Character.Head
  1181. weld2.C0 = CFrame.new(-0, -0.2, 0.2)*CFrame.Angles(0, 216.7, 0)
  1182.  
  1183. --// Removers
  1184. for i,v in pairs(Char:children()) do
  1185. if v:IsA("Hat") then
  1186. v:Destroy()
  1187. end
  1188. end
  1189. for i,v in pairs(Char:children()) do
  1190. if v:IsA("Accessory") then
  1191. v:Destroy()
  1192. end
  1193. end
  1194. for i,v in pairs(Char:children()) do
  1195. if v:IsA("Hair") then
  1196. v:Destroy()
  1197. end
  1198. end
  1199.  
  1200. --Hood--
  1201. local Hood = Instance.new("Part", char)
  1202. Hood.Name = "Hood"
  1203. Hood.CanCollide = false
  1204. Hood.BrickColor = BrickColor.new("Storm blue")
  1205. Hood.Transparency = 0
  1206. Hood.Material = "Plastic"
  1207. Hood.Size = Vector3.new(1, 1, 2)
  1208. Hood.TopSurface = Enum.SurfaceType.Smooth
  1209. Hood.BottomSurface = Enum.SurfaceType.Smooth
  1210.  
  1211. local Weld = Instance.new("Weld", Hood)
  1212. Weld.Part0 = tors
  1213. Weld.Part1 = Hood
  1214. Weld.C1 = CFrame.new(0, .4, -.9)
  1215. Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
  1216.  
  1217. local M2 = Instance.new("SpecialMesh")
  1218. M2.Parent = Hood
  1219. M2.MeshId = "http://www.roblox.com/asset/?id=18010902"
  1220. M2.Scale = Vector3.new(0.922, 0.922, 0.922)
  1221. hed.face.Texture = "http://www.roblox.com/asset/?id=1364919656"
  1222.  
  1223.  
  1224.  
  1225. Slashy = Instance.new("Sound", ra)
  1226. Slashy.Volume = 5
  1227. Slashy.Pitch = 1
  1228. Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
  1229. Slashy.Looped = false
  1230.  
  1231. local VALUE1 = false
  1232. local sine=0
  1233. for _, v in pairs(XBlade:GetChildren()) do
  1234. if v:IsA'BasePart' then
  1235. v.CanCollide = false
  1236. v.Transparency = 1
  1237. end
  1238. end
  1239. function intro()
  1240. attack = true
  1241. chatfunc("Heh heh heh heh heh...",3)
  1242. hum.WalkSpeed = 0
  1243. for i = 0,6,0.1 do
  1244. swait()
  1245. 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)
  1246. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1247. 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)
  1248. 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)
  1249. 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)
  1250. 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)
  1251. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1252. end
  1253. wait(2.5)
  1254. chatfunc("You know this part.. Don't you?",3)
  1255. hum.WalkSpeed = 0
  1256. for i = 0,6,0.1 do
  1257. swait()
  1258. 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)
  1259. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1260. 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)
  1261. 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)
  1262. 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)
  1263. 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)
  1264. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1265. end
  1266. wait(2.5)
  1267. chatfunc("It's a beautiful day outside..",3)
  1268. for i = 0,6,0.1 do
  1269. swait()
  1270. 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)
  1271. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1272. 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)
  1273. 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)
  1274. 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)
  1275. 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)
  1276. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1277. end
  1278. wait(2.5)
  1279. chatfunc("Birds are singing.. Flowers are blooming..",3)
  1280. for i = 0,6,0.1 do
  1281. swait()
  1282. 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)
  1283. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1284. 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)
  1285. 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)
  1286. 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)
  1287. 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)
  1288. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1289. end
  1290. wait(2.5)
  1291. chatfunc("On days like these kids like you..",5)
  1292.  
  1293. for i = 0,6,0.1 do
  1294. swait()
  1295. for _, v in pairs(XBlade:GetChildren()) do
  1296. if v:IsA'BasePart' then
  1297. v.CanCollide = false
  1298. v.Transparency = v.Transparency - .3
  1299. end
  1300. end
  1301. 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)
  1302. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. 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)
  1307. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
  1308. end
  1309. wait(4.5)
  1310. chatfunc("Should be already dead!",3)
  1311. wait(2.5)
  1312. CreateSound("367453005", hed, 10, 1)
  1313. 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),})
  1314. Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  1315. 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),})
  1316. 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)
  1317. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1318. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1319. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1320. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1321. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1322. local bigboi = Instance.new("Sound",tors)
  1323. bigboi.SoundId = "rbxassetid://583623101"
  1324. bigboi.Volume = 10
  1325. bigboi.Looped = true
  1326. bigboi.Pitch = 1
  1327. bigboi:Play()
  1328. attack = false
  1329. VALUE1 = true
  1330. hum.WalkSpeed = 28
  1331. end
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337. function NothingPersonal()
  1338. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1339. local HITBODY = mouse.Target.Parent
  1340. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1341. local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1342. if TORS ~= nil and HUMAN ~= nil then
  1343. attack = true
  1344. hum.WalkSpeed = 0
  1345. root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
  1346. TORS.Anchored = true
  1347. CreateSound("367453005", hed, 10, 1)
  1348. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1349. for i = 0,6,0.1 do
  1350. swait()
  1351. 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)
  1352. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1353. 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)
  1354. 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)
  1355. 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)
  1356. 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)
  1357. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1358. end
  1359. CreateSound("357417055", hed, 10, 1)
  1360. for i = 0,4,0.1 do
  1361. 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)
  1362. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1363. 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)
  1364. 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)
  1365. 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)
  1366. 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)
  1367. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
  1368. end
  1369. wait(2.5)
  1370. CreateSound("623904185", hed, 10, 1)
  1371. HITBODY:BreakJoints()
  1372. TORS.Anchored = false
  1373. attack = false
  1374. hum.WalkSpeed = 28
  1375. bleed(TORS,25)
  1376. end
  1377. end
  1378. end
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391. ---ATTACKS N STUFF
  1392. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1393. Hitboxpart = Instance.new("Part", EffectModel)
  1394. RemoveOutlines(Hitboxpart)
  1395. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1396. Hitboxpart.CanCollide = false
  1397. Hitboxpart.Transparency = 1
  1398. Hitboxpart.Anchored = true
  1399. Hitboxpart.CFrame = Pose
  1400. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1401. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1402. end
  1403. wait2 = false
  1404. combo = 1
  1405. mouse.Button1Down:connect(function(key)
  1406. if attack == false then
  1407. attack = true
  1408. hum.WalkSpeed = 3.01
  1409. if combo == 1 and wait2 == false then
  1410. wait2 = true
  1411. for i = 0, 1.2, 0.1 do
  1412. swait()
  1413. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1414. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1415. 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)
  1416. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1417. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1418. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1419. end
  1420. Effects.Ring.Create(BrickColor.new("Institutional white"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1421. Slashy:Play()
  1422. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1423. for i = 0, 1.2, 0.1 do
  1424. swait()
  1425. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
  1426. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1427. 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)
  1428. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1429. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1430. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1431. end
  1432. combo = 2
  1433. end
  1434. if combo == 2 and wait2 == false then
  1435. wait2 = true
  1436. HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
  1437. for i = 0, 1.4, 0.1 do
  1438. swait()
  1439. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
  1440. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1441. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
  1442. 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)
  1443. 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)
  1444. 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)
  1445. end
  1446. combo = 3
  1447. end
  1448. if combo == 3 and wait2 == false then
  1449. wait2 = true
  1450.  
  1451. for i = 0, 1.2, 0.1 do
  1452. swait()
  1453. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
  1454. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1455. 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)
  1456. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1457. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
  1458. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
  1459. end
  1460. HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1461. Effects.Ring.Create(BrickColor.new("Institutional white"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1462. Slashy:Play()
  1463. for i = 0, 1.2, 0.1 do
  1464. swait()
  1465. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
  1466. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  1467. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
  1468. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1469. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
  1470. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
  1471. end
  1472. combo = 1
  1473. end
  1474. hum.WalkSpeed = 16
  1475. wait2 = false
  1476. attack = false
  1477. end
  1478. end)
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485. function DashingSpin()
  1486. attack = true
  1487. hum.WalkSpeed = 50
  1488. CreateSound("707957812", workspace, 5, 1)
  1489. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
  1490. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
  1491. Effects.Block.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
  1492. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
  1493. Effects.Block.Create(BrickColor.new("Really black"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1494.  
  1495. Effects.Ring.Create(BrickColor.new("Institutional white"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1496. Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
  1497. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
  1498. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
  1499. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
  1500. Effects.Sphere.Create(BrickColor.new("Storm blue"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
  1501. root.CFrame = root.CFrame + root.CFrame.lookVector * 35
  1502. for i = 0,6,0.1 do
  1503. --Not to put a swait here this is going to be like, you know what just dont put a swait kthx
  1504. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1505. tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
  1506. 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)
  1507. 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)
  1508. 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)
  1509. 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)
  1510. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1511. end
  1512. for i = 0,9,0.1 do
  1513. swait()
  1514. MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
  1515. 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)
  1516. 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)
  1517. 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)
  1518. 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)
  1519. 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)
  1520. 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)
  1521. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1522. end
  1523. attack = false
  1524. hum.WalkSpeed = 38
  1525. end
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533. mouse.KeyDown:connect(function(key)
  1534. if attack == false then
  1535. if key == 'q' then
  1536. NothingPersonal()
  1537. elseif key == 'c' then
  1538. CreateSound("367453005", hed, 10, 1)
  1539. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1540. root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
  1541. Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
  1542. elseif key == 'f' then
  1543. DashingSpin()
  1544. elseif key == 't' then
  1545. CreateSound("137473066", hed, 10, .89)
  1546. end
  1547. end
  1548. end)
  1549.  
  1550.  
  1551.  
  1552. ff = Instance.new("ForceField",char)
  1553. ff.Visible = false
  1554.  
  1555. local idle=0
  1556. local change = 1
  1557. local val = 0
  1558. toim = 0
  1559. hum.Animator.Parent = nil
  1560. idleanim=.4
  1561. while true do
  1562. swait()
  1563. hum.MaxHealth = math.huge
  1564. hum.Health = math.huge
  1565. hum.Name = "TheXEvent"
  1566. sine = sine + change
  1567. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1568. local velderp=root.Velocity.y
  1569. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1570. if equipped==true or equipped==false then
  1571. if attack==false then
  1572. idle=idle+1
  1573. else
  1574. idle=0
  1575. end
  1576. if root.Velocity.y > 1 and hitfloor==nil then
  1577. Anim="Jump"
  1578. if attack==false then
  1579. 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)
  1580. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1581. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1582. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1583. 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)
  1584. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1585. end
  1586. elseif root.Velocity.y < -1 and hitfloor==nil then
  1587. Anim="Fall"
  1588. if attack==false then
  1589. 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)
  1590. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1591. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
  1592. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
  1593. 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)
  1594. 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)
  1595. end
  1596. elseif torvel<1 and hitfloor~=nil then
  1597. Anim="Idle"
  1598. change = 1
  1599. if attack==false then
  1600. 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)
  1601. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
  1602. 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)
  1603. 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)
  1604. 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)
  1605. 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)
  1606. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1607. end
  1608.  
  1609. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1610. Anim="Walk"
  1611. change = 1
  1612. if attack==false then
  1613. 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)
  1614. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
  1615. 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)
  1616. 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)
  1617. 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)
  1618. 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)
  1619. HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
  1620. end
  1621. end
  1622. end
  1623.  
  1624. if 0 < #Effects then
  1625. for e = 1, #Effects do
  1626. if Effects[e] ~= nil then
  1627. local Thing = Effects[e]
  1628. if Thing ~= nil then
  1629. local Part = Thing[1]
  1630. local Mode = Thing[2]
  1631. local Delay = Thing[3]
  1632. local IncX = Thing[4]
  1633. local IncY = Thing[5]
  1634. local IncZ = Thing[6]
  1635. if 1 >= Thing[1].Transparency then
  1636. if Thing[2] == "Block1" then
  1637. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1638. local Mesh = Thing[1].Mesh
  1639. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1640. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1641. elseif Thing[2] == "Block2" then
  1642. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1643. local Mesh = Thing[7]
  1644. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1645. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1646. elseif Thing[2] == "Block3" then
  1647. 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)
  1648. local Mesh = Thing[7]
  1649. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1651. elseif Thing[2] == "Cylinder" then
  1652. local Mesh = Thing[1].Mesh
  1653. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1654. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1655. elseif Thing[2] == "Blood" then
  1656. local Mesh = Thing[7]
  1657. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1658. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1659. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1660. elseif Thing[2] == "Elec" then
  1661. local Mesh = Thing[1].Mesh
  1662. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1663. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1664. elseif Thing[2] == "Disappear" then
  1665. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1666. elseif Thing[2] == "Shatter" then
  1667. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1668. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1669. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1670. Thing[6] = Thing[6] + Thing[5]
  1671. end
  1672. else
  1673. Part.Parent = nil
  1674. table.remove(Effects, e)
  1675. end
  1676. end
  1677. end
  1678. end
  1679. end
  1680. if VALUE1 == false and attack == false then
  1681. intro()
  1682. end
  1683. end
  1684.  
  1685.  
  1686. --//=================================\\
  1687. --|| WEAPON CREATION
  1688. --\\=================================//
  1689.  
  1690. local Hole = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1691. local MESH = MakeForm(Hole,"Cyl")
  1692.  
  1693. for _, c in pairs(Weapon:GetChildren()) do
  1694. if c.ClassName == "Part" then
  1695. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1696. end
  1697. end
  1698.  
  1699. Weapon.Parent = Character
  1700.  
  1701. Humanoid.Died:connect(function()
  1702. ATTACK = true
  1703. end)
  1704.  
  1705.  
  1706.  
  1707. --//=================================\\
  1708. --|| DAMAGING
  1709. --\\=================================//
  1710.  
  1711. function Sink(position,radius)
  1712. for i,v in ipairs(workspace:GetChildren()) do
  1713. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1714. local body = v:GetChildren()
  1715. for part = 1, #body do
  1716. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1717. if(body[part].Position - position).Magnitude < radius then
  1718. if v.ClassName == "Model" then
  1719. if v:FindFirstChild("Humanoid") then
  1720. local defence = Instance.new("BoolValue",v)
  1721. defence.Name = ("Hit2By"..Player.Name)
  1722. if v.Humanoid.Health ~= 0 then
  1723. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1724. if TORS ~= nil then
  1725. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1726. coroutine.resume(coroutine.create(function()
  1727. if HITFLOOR2 ~= nil then
  1728. TORS.Anchored = true
  1729. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(TORS.Size.X*4,0,TORS.Size.X*4))
  1730. Hole2.Color = C3(0,0,0)
  1731. local MESH = MakeForm(Hole2,"Cyl")
  1732. MESH.Scale = VT(0,1,0)
  1733. Hole2.CFrame = CF(HITPOS2)
  1734. for i = 1, 10 do
  1735. Swait()
  1736. MESH.Scale = MESH.Scale + VT(0.1,0,0.1)
  1737. end
  1738. repeat
  1739. Swait()
  1740. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  1741. until TORS.Position.Y<position.Y-4
  1742. v:remove()
  1743. for i = 1, 10 do
  1744. Swait()
  1745. MESH.Scale = MESH.Scale - VT(0.1,0,0.1)
  1746. end
  1747. Hole2:remove()
  1748. end
  1749. end))
  1750. end
  1751. end
  1752. end
  1753. end
  1754. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1755. end
  1756. end
  1757. end
  1758. end
  1759. end
  1760. end
  1761.  
  1762. --//=================================\\
  1763. --|| ATTACK FUNCTIONS AND STUFF
  1764. --\\=================================//
  1765.  
  1766. function Trail(Part)
  1767. local TRAIL = Part:Clone()
  1768. TRAIL.CanCollide = false
  1769. TRAIL.Anchored = true
  1770. TRAIL.Parent = Effects
  1771. TRAIL.Name = "Trail"
  1772. local TRANS = Part.Transparency
  1773. coroutine.resume(coroutine.create(function()
  1774. for i = 1, 20 do
  1775. Swait()
  1776. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  1777. end
  1778. TRAIL:remove()
  1779. end))
  1780. end
  1781.  
  1782. function AttackTemplate()
  1783. ATTACK = true
  1784. Rooted = false
  1785. for i=0, 1, 0.1 / Animation_Speed do
  1786. Swait()
  1787. 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)
  1788. 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)
  1789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1791. 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)
  1792. 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)
  1793. end
  1794. ATTACK = false
  1795. Rooted = false
  1796. end
  1797.  
  1798. function Intro()
  1799. coroutine.resume(coroutine.create(function()
  1800. ATTACK = true
  1801. Rooted = true
  1802. UNANCHOR = false
  1803. RootPart.Anchored = true
  1804. for i=0, 2, 0.1 / Animation_Speed do
  1805. Swait()
  1806. 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)
  1807. 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)
  1808. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1810. 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)
  1811. 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)
  1812. end
  1813. for i=0, 4, 0.1 / Animation_Speed do
  1814. Swait()
  1815. 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)
  1816. 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)
  1817. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1818. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1819. 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)
  1820. 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)
  1821. end
  1822. VALUE1 = true
  1823. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1824. 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))
  1825. MakeForm(part,"Ball")
  1826. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  1827. 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))
  1828. MakeForm(part,"Ball")
  1829. Swait(15)
  1830. Humanoid.HipHeight = 2
  1831. sick:Play()
  1832. CreateSound("649634100", Head, 10, 0.6)
  1833. for i=0, 2, 0.1 / Animation_Speed do
  1834. Swait()
  1835. 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)
  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(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1838. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1839. 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)
  1840. 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)
  1841. end
  1842. UNANCHOR = true
  1843. ATTACK = false
  1844. Rooted = false
  1845. end))
  1846. end
  1847.  
  1848. function Warp()
  1849. ATTACK = true
  1850. Rooted = true
  1851. UNANCHOR = false
  1852. RootPart.Anchored = true
  1853. for i=0, 1, 0.1 / Animation_Speed do
  1854. Swait()
  1855. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)), 1 / Animation_Speed)
  1856. 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)
  1857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1858. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1859. 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)
  1860. 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)
  1861. end
  1862. for i=0, 1, 0.1 / Animation_Speed do
  1863. Swait()
  1864. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -15) * ANGLES(RAD(180), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1865. 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)
  1866. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1867. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1868. 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)
  1869. 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)
  1870. end
  1871. for i = 1, 50 do
  1872. Swait()
  1873. Trail(Hole)
  1874. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1875. end
  1876. local ORIGINPOS = RootPart.Position
  1877. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z),ORIGINPOS)
  1878. CreateSound("466493476", Hole, 10, 1)
  1879. for i = 1, 50 do
  1880. Swait()
  1881. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1882. end
  1883. for i=0, 2, 0.1 / Animation_Speed do
  1884. Swait()
  1885. 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)
  1886. 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)
  1887. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1888. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1889. 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)
  1890. 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)
  1891. end
  1892. UNANCHOR = true
  1893. ATTACK = false
  1894. Rooted = false
  1895. end
  1896.  
  1897. function Sinkhole()
  1898. coroutine.resume(coroutine.create(function()
  1899. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  1900. Hole2.Color = C3(0,0,0)
  1901. local MESH = MakeForm(Hole2,"Cyl")
  1902. MESH.Scale = VT(0,1,0)
  1903. Hole2.CFrame = CF(Mouse.Hit.p)
  1904. CreateSound("466493476", Hole2, 10, 1)
  1905. for i = 1, 50 do
  1906. Swait()
  1907. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  1908. end
  1909. for i = 1, 200 do
  1910. Swait()
  1911. Sink(Hole2.Position,Hole2.Size.X/2.2)
  1912. end
  1913. Swait(100)
  1914. for i = 1, 50 do
  1915. Swait()
  1916. Trail(Hole2)
  1917. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  1918. end
  1919. Hole2:remove()
  1920. end))
  1921. end
  1922.  
  1923. function AbyssGate()
  1924. VALUE2 = true
  1925. coroutine.resume(coroutine.create(function()
  1926. CreateSound("466493476", Hole, 10, 0.1)
  1927. for i = 1, 500 do
  1928. Swait()
  1929. Hole.Size = Hole.Size + VT(1,0,1)
  1930. end
  1931. Swait(100)
  1932. for i = 1, 500 do
  1933. Swait()
  1934. Trail(Hole)
  1935. Hole.Size = Hole.Size - VT(1,0,1)
  1936. end
  1937. VALUE2 = false
  1938. end))
  1939. end
  1940.  
  1941. --//=================================\\
  1942. --|| ASSIGN THINGS TO KEYS
  1943. --\\=================================//
  1944.  
  1945. function MouseDown(Mouse)
  1946. if ATTACK == false then
  1947. end
  1948. end
  1949.  
  1950. function MouseUp(Mouse)
  1951. HOLD = false
  1952. end
  1953.  
  1954. function KeyDown(Key)
  1955. KEYHOLD = true
  1956. if Key == "q" and ATTACK == false and HITFLOOR ~= nil and VALUE2 == false then
  1957. Warp()
  1958. end
  1959.  
  1960. if Key == "e" and ATTACK == false then
  1961. Sinkhole()
  1962. end
  1963.  
  1964. if Key == "r" and ATTACK == false and VALUE2 == false then
  1965. AbyssGate()
  1966. end
  1967.  
  1968. if Key == "t" and ATTACK == false then
  1969. CreateSound("137473066", Head, 10, 12)
  1970. end
  1971. end
  1972.  
  1973. function KeyUp(Key)
  1974. KEYHOLD = false
  1975. end
  1976.  
  1977. Mouse.Button1Down:connect(function(NEWKEY)
  1978. MouseDown(NEWKEY)
  1979. end)
  1980. Mouse.Button1Up:connect(function(NEWKEY)
  1981. MouseUp(NEWKEY)
  1982. end)
  1983. Mouse.KeyDown:connect(function(NEWKEY)
  1984. KeyDown(NEWKEY)
  1985. end)
  1986. Mouse.KeyUp:connect(function(NEWKEY)
  1987. KeyUp(NEWKEY)
  1988. end)
  1989.  
  1990. --//=================================\\
  1991. --\\=================================//
  1992.  
  1993.  
  1994. function unanchor()
  1995. if UNANCHOR == true then
  1996. g = Character:GetChildren()
  1997. for i = 1, #g do
  1998. if g[i].ClassName == "Part" then
  1999. g[i].Anchored = false
  2000. end
  2001. end
  2002. end
  2003. end
  2004.  
  2005.  
  2006. --//=================================\\
  2007. --|| WRAP THE WHOLE SCRIPT UP
  2008. --\\=================================//
  2009.  
  2010. Humanoid.Changed:connect(function(Jump)
  2011. if Jump == "Jump" and (Disable_Jump == true) then
  2012. Humanoid.Jump = false
  2013. end
  2014. end)
  2015.  
  2016. Speed = 10
  2017.  
  2018. while true do
  2019. Swait()
  2020. ANIMATE.Parent = nil
  2021. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2022. IDLEANIMATION:Play()
  2023. SINE = SINE + CHANGE
  2024. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2025. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2026. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2027. HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25 * Player_Size, Character)
  2028. if ATTACK == false then
  2029. 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)
  2030. 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)
  2031. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2032. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2033. 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)
  2034. 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)
  2035. end
  2036. if HITFLOOR ~= nil then
  2037. Hole.CFrame = CF(HITPOS)
  2038. end
  2039. Sink(Hole.Position,Hole.Size.X/2.2*MESH.Scale.X)
  2040. Hole.Color = C3(0,0,0)
  2041. unanchor()
  2042. Humanoid.MaxHealth = "inf"
  2043. Humanoid.Health = "inf"
  2044. if Rooted == false then
  2045. Disable_Jump = false
  2046. Humanoid.WalkSpeed = Speed
  2047. elseif Rooted == true then
  2048. Disable_Jump = true
  2049. Humanoid.WalkSpeed = 0
  2050. end
  2051. if VALUE1 == true then
  2052. Humanoid.HipHeight = 2
  2053. q = Character:GetChildren()
  2054. for u = 1, #q do
  2055. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  2056. q[u]:remove()
  2057. elseif q[u].ClassName == "Shirt" then
  2058. q[u]:Destroy()
  2059. elseif q[u].ClassName == "Pants" then
  2060. q[u]:Destroy()
  2061. elseif q[u].ClassName == "CharacterMesh" then
  2062. q[u]:remove()
  2063. elseif q[u].ClassName == "ShirtGraphic" then
  2064. q[u]:remove()
  2065. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  2066. q[u].Color = Color3.new(0,0,0)
  2067. q[u].Material = "Neon"
  2068. end
  2069. end
  2070. if Head:FindFirstChild("Mesh") then
  2071. local mesh = Head.Mesh
  2072. if mesh.ClassName == "SpecialMesh" then
  2073. mesh:remove()
  2074. local m = IT("BlockMesh",Head)
  2075. m.Scale = VT(0.5,1,1)
  2076. end
  2077. end
  2078. if Head:FindFirstChild("face") then
  2079. Head.face:remove()
  2080. end
  2081. end
  2082. if VALUE1 == false and ATTACK == false then
  2083. Intro()
  2084. end
  2085. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement