Advertisement
SpiritualDonut

Untitled

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