Advertisement
SpiritualDonut

Untitled

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