Shocker130000

Distorted

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