Advertisement
AlitraxMine

Untitled

Apr 19th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.06 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : DarkEyozen, the Eye ]]--
  3. -------------------------------------------------------
  4.  
  5. --[[ "Haha, I'm a funny guy, but once you anger me..." ]]--
  6. --[[ "There's no coming back =)" ]]--
  7.  
  8. --Edited by AlitraxMine
  9.  
  10. --Discord Frost_Metrax#1937
  11.  
  12.  
  13.  
  14. local FavIDs = {
  15. 340106355, --Nefl Crystals
  16. 927529620, --Dimension
  17. 876981900, --Fantasy
  18. 398987889, --Ordinary Days
  19. 1117396305, --Oh wait, it's you.
  20. 885996042, --Action Winter Journey
  21. 919231299, --Sprawling Idiot Effigy
  22. 743466274, --Good Day Sunshine
  23. 727411183, --Knife Fight
  24. 1402748531, --The Earth Is Counting On You!
  25. 595230126 --Robot Language
  26. }
  27.  
  28.  
  29.  
  30. --The reality of my life isn't real but a Universe -makhail07
  31. wait()
  32. local plr = game:service'Players'.LocalPlayer
  33. print('Local User is '..plr.Name)
  34. local char = plr.Character
  35. local hum = char.Humanoid
  36. local hed = char.Head
  37. local root = char.HumanoidRootPart
  38. local rootj = root.RootJoint
  39. local tors = char.Torso
  40. local ra = char["Right Arm"]
  41. local la = char["Left Arm"]
  42. local rl = char["Right Leg"]
  43. local ll = char["Left Leg"]
  44. local neck = tors["Neck"]
  45. local mouse = plr:GetMouse()
  46. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  47. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  48. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  49. local maincolor = BrickColor.new("Really black")
  50.  
  51. -------------------------------------------------------
  52. --Start Good Stuff--
  53. -------------------------------------------------------
  54. cam = game.Workspace.CurrentCamera
  55. CF = CFrame.new
  56. angles = CFrame.Angles
  57. attack = false
  58. Euler = CFrame.fromEulerAnglesXYZ
  59. Rad = math.rad
  60. IT = Instance.new
  61. BrickC = BrickColor.new
  62. Cos = math.cos
  63. Acos = math.acos
  64. Sin = math.sin
  65. Asin = math.asin
  66. Abs = math.abs
  67. Mrandom = math.random
  68. Floor = math.floor
  69. -------------------------------------------------------
  70. --End Good Stuff--
  71. -------------------------------------------------------
  72. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  73. RSH, LSH = nil, nil
  74. RW = Instance.new("Weld")
  75. LW = Instance.new("Weld")
  76. RH = tors["Right Hip"]
  77. LH = tors["Left Hip"]
  78. RSH = tors["Right Shoulder"]
  79. LSH = tors["Left Shoulder"]
  80. RSH.Parent = nil
  81. LSH.Parent = nil
  82. RW.Name = "RW"
  83. RW.Part0 = tors
  84. RW.C0 = CF(1.5, 0.5, 0)
  85. RW.C1 = CF(0, 0.5, 0)
  86. RW.Part1 = ra
  87. RW.Parent = tors
  88. LW.Name = "LW"
  89. LW.Part0 = tors
  90. LW.C0 = CF(-1.5, 0.5, 0)
  91. LW.C1 = CF(0, 0.5, 0)
  92. LW.Part1 = la
  93. LW.Parent = tors
  94. Effects = {}
  95. -------------------------------------------------------
  96. --Start HeartBeat--
  97. -------------------------------------------------------
  98. ArtificialHB = Instance.new("BindableEvent", script)
  99. ArtificialHB.Name = "Heartbeat"
  100. script:WaitForChild("Heartbeat")
  101.  
  102. frame = 1 / 60
  103. tf = 0
  104. allowframeloss = false
  105. tossremainder = false
  106.  
  107.  
  108. lastframe = tick()
  109. script.Heartbeat:Fire()
  110.  
  111.  
  112. game:GetService("RunService").Heartbeat:connect(function(s, p)
  113. tf = tf + s
  114. if tf >= frame then
  115. if allowframeloss then
  116. script.Heartbeat:Fire()
  117. lastframe = tick()
  118. else
  119. for i = 1, math.floor(tf / frame) do
  120. script.Heartbeat:Fire()
  121. end
  122. lastframe = tick()
  123. end
  124. if tossremainder then
  125. tf = 0
  126. else
  127. tf = tf - frame * math.floor(tf / frame)
  128. end
  129. end
  130. end)
  131. -------------------------------------------------------
  132. --End HeartBeat--
  133. -------------------------------------------------------
  134.  
  135. -------------------------------------------------------
  136. --Start Important Functions--
  137. -------------------------------------------------------
  138. function swait(num)
  139. if num == 0 or num == nil then
  140. game:service("RunService").Stepped:wait(0)
  141. else
  142. for i = 0, num do
  143. game:service("RunService").Stepped:wait(0)
  144. end
  145. end
  146. end
  147. function thread(f)
  148. coroutine.resume(coroutine.create(f))
  149. end
  150. function clerp(a, b, t)
  151. local qa = {
  152. QuaternionFromCFrame(a)
  153. }
  154. local qb = {
  155. QuaternionFromCFrame(b)
  156. }
  157. local ax, ay, az = a.x, a.y, a.z
  158. local bx, by, bz = b.x, b.y, b.z
  159. local _t = 1 - t
  160. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  161. end
  162. function QuaternionFromCFrame(cf)
  163. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  164. local trace = m00 + m11 + m22
  165. if trace > 0 then
  166. local s = math.sqrt(1 + trace)
  167. local recip = 0.5 / s
  168. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  169. else
  170. local i = 0
  171. if m00 < m11 then
  172. i = 1
  173. end
  174. if m22 > (i == 0 and m00 or m11) then
  175. i = 2
  176. end
  177. if i == 0 then
  178. local s = math.sqrt(m00 - m11 - m22 + 1)
  179. local recip = 0.5 / s
  180. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  181. elseif i == 1 then
  182. local s = math.sqrt(m11 - m22 - m00 + 1)
  183. local recip = 0.5 / s
  184. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  185. elseif i == 2 then
  186. local s = math.sqrt(m22 - m00 - m11 + 1)
  187. local recip = 0.5 / s
  188. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  189. end
  190. end
  191. end
  192. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  193. local xs, ys, zs = x + x, y + y, z + z
  194. local wx, wy, wz = w * xs, w * ys, w * zs
  195. local xx = x * xs
  196. local xy = x * ys
  197. local xz = x * zs
  198. local yy = y * ys
  199. local yz = y * zs
  200. local zz = z * zs
  201. 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))
  202. end
  203. function QuaternionSlerp(a, b, t)
  204. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  205. local startInterp, finishInterp
  206. if cosTheta >= 1.0E-4 then
  207. if 1 - cosTheta > 1.0E-4 then
  208. local theta = math.acos(cosTheta)
  209. local invSinTheta = 1 / Sin(theta)
  210. startInterp = Sin((1 - t) * theta) * invSinTheta
  211. finishInterp = Sin(t * theta) * invSinTheta
  212. else
  213. startInterp = 1 - t
  214. finishInterp = t
  215. end
  216. elseif 1 + cosTheta > 1.0E-4 then
  217. local theta = math.acos(-cosTheta)
  218. local invSinTheta = 1 / Sin(theta)
  219. startInterp = Sin((t - 1) * theta) * invSinTheta
  220. finishInterp = Sin(t * theta) * invSinTheta
  221. else
  222. startInterp = t - 1
  223. finishInterp = t
  224. end
  225. 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
  226. end
  227. function rayCast(Position, Direction, Range, Ignore)
  228. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  229. end
  230. local RbxUtility = LoadLibrary("RbxUtility")
  231. local Create = RbxUtility.Create
  232.  
  233. -------------------------------------------------------
  234. --Start Damage Function--
  235. -------------------------------------------------------
  236. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  237. if hit.Parent == nil then
  238. return
  239. end
  240. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  241. for _, v in pairs(hit.Parent:children()) do
  242. if v:IsA("Humanoid") then
  243. h = v
  244. end
  245. end
  246. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  247.  
  248. hit.Parent:FindFirstChild("Head"):BreakJoints()
  249. end
  250.  
  251. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  252. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  253. if hit.Parent.DebounceHit.Value == true then
  254. return
  255. end
  256. end
  257. if insta == true then
  258. hit.Parent:FindFirstChild("Head"):BreakJoints()
  259. end
  260. local c = Create("ObjectValue"){
  261. Name = "creator",
  262. Value = game:service("Players").LocalPlayer,
  263. Parent = h,
  264. }
  265. game:GetService("Debris"):AddItem(c, .5)
  266. if HitSound ~= nil and HitPitch ~= nil then
  267. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  268. end
  269. local Damage = math.random(minim, maxim)
  270. local blocked = false
  271. local block = hit.Parent:findFirstChild("Block")
  272. if block ~= nil then
  273. if block.className == "IntValue" then
  274. if block.Value > 0 then
  275. blocked = true
  276. block.Value = block.Value - 1
  277. print(block.Value)
  278. end
  279. end
  280. end
  281. if blocked == false then
  282. h.Health = h.Health - Damage
  283. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  284. else
  285. h.Health = h.Health - (Damage / 2)
  286. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  287. end
  288. if Type == "Knockdown" then
  289. local hum = hit.Parent.Humanoid
  290. hum.PlatformStand = true
  291. coroutine.resume(coroutine.create(function(HHumanoid)
  292. swait(1)
  293. HHumanoid.PlatformStand = false
  294. end), hum)
  295. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  296. local bodvol = Create("BodyVelocity"){
  297. velocity = angle * knockback,
  298. P = 5000,
  299. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  300. Parent = hit,
  301. }
  302. local rl = Create("BodyAngularVelocity"){
  303. P = 3000,
  304. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  305. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  306. Parent = hit,
  307. }
  308. game:GetService("Debris"):AddItem(bodvol, .5)
  309. game:GetService("Debris"):AddItem(rl, .5)
  310. elseif Type == "Normal" then
  311. local vp = Create("BodyVelocity"){
  312. P = 500,
  313. maxForce = Vector3.new(math.huge, 0, math.huge),
  314. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  315. }
  316. if knockback > 0 then
  317. vp.Parent = hit.Parent.Torso
  318. end
  319. game:GetService("Debris"):AddItem(vp, .5)
  320. elseif Type == "Up" then
  321. local bodyVelocity = Create("BodyVelocity"){
  322. velocity = Vector3.new(0, 20, 0),
  323. P = 5000,
  324. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  325. Parent = hit,
  326. }
  327. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  328. elseif Type == "DarkUp" then
  329. coroutine.resume(coroutine.create(function()
  330. for i = 0, 1, 0.1 do
  331. swait()
  332. Effects.Block.Create(BrickColor.new("White"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  333. end
  334. end))
  335. local bodyVelocity = Create("BodyVelocity"){
  336. velocity = Vector3.new(0, 20, 0),
  337. P = 5000,
  338. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  339. Parent = hit,
  340. }
  341. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  342. elseif Type == "Snare" then
  343. local bp = Create("BodyPosition"){
  344. P = 2000,
  345. D = 100,
  346. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  347. position = hit.Parent.Torso.Position,
  348. Parent = hit.Parent.Torso,
  349. }
  350. game:GetService("Debris"):AddItem(bp, 1)
  351. elseif Type == "Freeze" then
  352. local BodPos = Create("BodyPosition"){
  353. P = 50000,
  354. D = 1000,
  355. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  356. position = hit.Parent.Torso.Position,
  357. Parent = hit.Parent.Torso,
  358. }
  359. local BodGy = Create("BodyGyro") {
  360. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  361. P = 20e+003,
  362. Parent = hit.Parent.Torso,
  363. cframe = hit.Parent.Torso.CFrame,
  364. }
  365. hit.Parent.Torso.Anchored = true
  366. coroutine.resume(coroutine.create(function(Part)
  367. swait(1.5)
  368. Part.Anchored = false
  369. end), hit.Parent.Torso)
  370. game:GetService("Debris"):AddItem(BodPos, 3)
  371. game:GetService("Debris"):AddItem(BodGy, 3)
  372. end
  373. local debounce = Create("BoolValue"){
  374. Name = "DebounceHit",
  375. Parent = hit.Parent,
  376. Value = true,
  377. }
  378. game:GetService("Debris"):AddItem(debounce, Delay)
  379. c = Create("ObjectValue"){
  380. Name = "creator",
  381. Value = Player,
  382. Parent = h,
  383. }
  384. game:GetService("Debris"):AddItem(c, .5)
  385. end
  386. end
  387. -------------------------------------------------------
  388. --End Damage Function--
  389. -------------------------------------------------------
  390.  
  391. -------------------------------------------------------
  392. --Start Damage Function Customization--
  393. -------------------------------------------------------
  394. function ShowDamage(Pos, Text, Time, Color)
  395. local Rate = (1 / 30)
  396. local Pos = (Pos or Vector3.new(0, 0, 0))
  397. local Text = (Text or "")
  398. local Time = (Time or 2)
  399. local Color = (Color or Color3.new(1, 0, 1))
  400. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  401. EffectPart.Anchored = true
  402. local BillboardGui = Create("BillboardGui"){
  403. Size = UDim2.new(3, 0, 3, 0),
  404. Adornee = EffectPart,
  405. Parent = EffectPart,
  406. }
  407. local TextLabel = Create("TextLabel"){
  408. BackgroundTransparency = 1,
  409. Size = UDim2.new(1, 0, 1, 0),
  410. Text = Text,
  411. Font = "Bodoni",
  412. TextColor3 = Color,
  413. TextScaled = true,
  414. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  415. Parent = BillboardGui,
  416. }
  417. game.Debris:AddItem(EffectPart, (Time))
  418. EffectPart.Parent = game:GetService("Workspace")
  419. delay(0, function()
  420. local Frames = (Time / Rate)
  421. for Frame = 1, Frames do
  422. wait(Rate)
  423. local Percent = (Frame / Frames)
  424. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  425. TextLabel.TextTransparency = Percent
  426. end
  427. if EffectPart and EffectPart.Parent then
  428. EffectPart:Destroy()
  429. end
  430. end)
  431. end
  432. -------------------------------------------------------
  433. --End Damage Function Customization--
  434. -------------------------------------------------------
  435.  
  436. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  437. for _, c in pairs(workspace:children()) do
  438. local hum = c:findFirstChild("Humanoid")
  439. if hum ~= nil then
  440. local head = c:findFirstChild("Head")
  441. if head ~= nil then
  442. local targ = head.Position - Part.Position
  443. local mag = targ.magnitude
  444. if magni >= mag and c.Name ~= plr.Name then
  445. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  446. end
  447. end
  448. end
  449. end
  450. end
  451.  
  452.  
  453. CFuncs = {
  454. Part = {
  455. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  456. local Part = Create("Part")({
  457. Parent = Parent,
  458. Reflectance = Reflectance,
  459. Transparency = Transparency,
  460. CanCollide = false,
  461. Locked = true,
  462. BrickColor = BrickColor.new(tostring(BColor)),
  463. Name = Name,
  464. Size = Size,
  465. Material = Material
  466. })
  467. RemoveOutlines(Part)
  468. return Part
  469. end
  470. },
  471. Mesh = {
  472. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  473. local Msh = Create(Mesh)({
  474. Parent = Part,
  475. Offset = OffSet,
  476. Scale = Scale
  477. })
  478. if Mesh == "SpecialMesh" then
  479. Msh.MeshType = MeshType
  480. Msh.MeshId = MeshId
  481. end
  482. return Msh
  483. end
  484. },
  485. Mesh = {
  486. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  487. local Msh = Create(Mesh)({
  488. Parent = Part,
  489. Offset = OffSet,
  490. Scale = Scale
  491. })
  492. if Mesh == "SpecialMesh" then
  493. Msh.MeshType = MeshType
  494. Msh.MeshId = MeshId
  495. end
  496. return Msh
  497. end
  498. },
  499. Weld = {
  500. Create = function(Parent, Part0, Part1, C0, C1)
  501. local Weld = Create("Weld")({
  502. Parent = Parent,
  503. Part0 = Part0,
  504. Part1 = Part1,
  505. C0 = C0,
  506. C1 = C1
  507. })
  508. return Weld
  509. end
  510. },
  511. Sound = {
  512. Create = function(id, par, vol, pit)
  513. coroutine.resume(coroutine.create(function()
  514. local S = Create("Sound")({
  515. Volume = vol,
  516. Pitch = pit or 1,
  517. SoundId = id,
  518. Parent = par or workspace
  519. })
  520. wait()
  521. S:play()
  522. game:GetService("Debris"):AddItem(S, 6)
  523. end))
  524. end
  525. },
  526. ParticleEmitter = {
  527. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  528. local fp = Create("ParticleEmitter")({
  529. Parent = Parent,
  530. Color = ColorSequence.new(Color1, Color2),
  531. LightEmission = LightEmission,
  532. Size = Size,
  533. Texture = Texture,
  534. Transparency = Transparency,
  535. ZOffset = ZOffset,
  536. Acceleration = Accel,
  537. Drag = Drag,
  538. LockedToPart = LockedToPart,
  539. VelocityInheritance = VelocityInheritance,
  540. EmissionDirection = EmissionDirection,
  541. Enabled = Enabled,
  542. Lifetime = LifeTime,
  543. Rate = Rate,
  544. Rotation = Rotation,
  545. RotSpeed = RotSpeed,
  546. Speed = Speed,
  547. VelocitySpread = VelocitySpread
  548. })
  549. return fp
  550. end
  551. }
  552. }
  553. function RemoveOutlines(part)
  554. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  555. end
  556. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  557. local Part = Create("Part")({
  558. formFactor = FormFactor,
  559. Parent = Parent,
  560. Reflectance = Reflectance,
  561. Transparency = Transparency,
  562. CanCollide = false,
  563. Locked = true,
  564. BrickColor = BrickColor.new(tostring(BColor)),
  565. Name = Name,
  566. Size = Size,
  567. Material = Material
  568. })
  569. RemoveOutlines(Part)
  570. return Part
  571. end
  572. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  573. local Msh = Create(Mesh)({
  574. Parent = Part,
  575. Offset = OffSet,
  576. Scale = Scale
  577. })
  578. if Mesh == "SpecialMesh" then
  579. Msh.MeshType = MeshType
  580. Msh.MeshId = MeshId
  581. end
  582. return Msh
  583. end
  584. function CreateWeld(Parent, Part0, Part1, C0, C1)
  585. local Weld = Create("Weld")({
  586. Parent = Parent,
  587. Part0 = Part0,
  588. Part1 = Part1,
  589. C0 = C0,
  590. C1 = C1
  591. })
  592. return Weld
  593. end
  594.  
  595.  
  596. -------------------------------------------------------
  597. --Start Effect Function--
  598. -------------------------------------------------------
  599. EffectModel = Instance.new("Model", char)
  600. Effects = {
  601. Block = {
  602. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  603. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  604. prt.Anchored = true
  605. prt.CFrame = cframe
  606. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  607. game:GetService("Debris"):AddItem(prt, 10)
  608. if Type == 1 or Type == nil then
  609. table.insert(Effects, {
  610. prt,
  611. "Block1",
  612. delay,
  613. x3,
  614. y3,
  615. z3,
  616. msh
  617. })
  618. elseif Type == 2 then
  619. table.insert(Effects, {
  620. prt,
  621. "Block2",
  622. delay,
  623. x3,
  624. y3,
  625. z3,
  626. msh
  627. })
  628. else
  629. table.insert(Effects, {
  630. prt,
  631. "Block3",
  632. delay,
  633. x3,
  634. y3,
  635. z3,
  636. msh
  637. })
  638. end
  639. end
  640. },
  641. Sphere = {
  642. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  643. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  644. prt.Anchored = true
  645. prt.CFrame = cframe
  646. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  647. game:GetService("Debris"):AddItem(prt, 10)
  648. table.insert(Effects, {
  649. prt,
  650. "Cylinder",
  651. delay,
  652. x3,
  653. y3,
  654. z3,
  655. msh
  656. })
  657. end
  658. },
  659. Cylinder = {
  660. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  661. local prt = CFuncs.Part.Create(EffectModel, "Really black", 0, 0, brickcolor, "Effect", Vector3.new())
  662. prt.Anchored = true
  663. prt.CFrame = cframe
  664. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  665. game:GetService("Debris"):AddItem(prt, 10)
  666. table.insert(Effects, {
  667. prt,
  668. "Cylinder",
  669. delay,
  670. x3,
  671. y3,
  672. z3,
  673. msh
  674. })
  675. end
  676. },
  677. Wave = {
  678. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  679. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  680. prt.Anchored = true
  681. prt.CFrame = cframe
  682. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  683. game:GetService("Debris"):AddItem(prt, 10)
  684. table.insert(Effects, {
  685. prt,
  686. "Cylinder",
  687. delay,
  688. x3 / 60,
  689. y3 / 60,
  690. z3 / 60,
  691. msh
  692. })
  693. end
  694. },
  695. Ring = {
  696. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  697. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  698. prt.Anchored = true
  699. prt.CFrame = cframe
  700. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  701. game:GetService("Debris"):AddItem(prt, 10)
  702. table.insert(Effects, {
  703. prt,
  704. "Cylinder",
  705. delay,
  706. x3,
  707. y3,
  708. z3,
  709. msh
  710. })
  711. end
  712. },
  713. Break = {
  714. Create = function(brickcolor, cframe, x1, y1, z1)
  715. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  716. prt.Anchored = true
  717. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  718. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  719. local num = math.random(10, 50) / 1000
  720. game:GetService("Debris"):AddItem(prt, 10)
  721. table.insert(Effects, {
  722. prt,
  723. "Shatter",
  724. num,
  725. prt.CFrame,
  726. math.random() - math.random(),
  727. 0,
  728. math.random(50, 100) / 100
  729. })
  730. end
  731. },
  732. Spiral = {
  733. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  734. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  735. prt.Anchored = true
  736. prt.CFrame = cframe
  737. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  738. game:GetService("Debris"):AddItem(prt, 10)
  739. table.insert(Effects, {
  740. prt,
  741. "Cylinder",
  742. delay,
  743. x3,
  744. y3,
  745. z3,
  746. msh
  747. })
  748. end
  749. },
  750. Push = {
  751. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  752. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  753. prt.Anchored = true
  754. prt.CFrame = cframe
  755. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  756. game:GetService("Debris"):AddItem(prt, 10)
  757. table.insert(Effects, {
  758. prt,
  759. "Cylinder",
  760. delay,
  761. x3,
  762. y3,
  763. z3,
  764. msh
  765. })
  766. end
  767. }
  768. }
  769. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  770. local fp = IT("Part")
  771. fp.formFactor = formfactor
  772. fp.Parent = parent
  773. fp.Reflectance = reflectance
  774. fp.Transparency = transparency
  775. fp.CanCollide = false
  776. fp.Locked = true
  777. fp.BrickColor = brickcolor
  778. fp.Name = name
  779. fp.Size = size
  780. fp.Position = tors.Position
  781. RemoveOutlines(fp)
  782. fp.Material = "SmoothPlastic"
  783. fp:BreakJoints()
  784. return fp
  785. end
  786.  
  787. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  788. local mesh = IT(Mesh)
  789. mesh.Parent = part
  790. if Mesh == "SpecialMesh" then
  791. mesh.MeshType = meshtype
  792. if meshid ~= "nil" then
  793. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  794. end
  795. end
  796. mesh.Offset = offset
  797. mesh.Scale = scale
  798. return mesh
  799. end
  800.  
  801. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  802. local type = type
  803. local rng = Instance.new("Part", char)
  804. rng.Anchored = true
  805. rng.BrickColor = color
  806. rng.CanCollide = false
  807. rng.FormFactor = 3
  808. rng.Name = "Ring"
  809. rng.Material = "Neon"
  810. rng.Size = Vector3.new(1, 1, 1)
  811. rng.Transparency = 0
  812. rng.TopSurface = 0
  813. rng.BottomSurface = 0
  814. rng.CFrame = pos
  815. local rngm = Instance.new("SpecialMesh", rng)
  816. rngm.MeshType = MType
  817. rngm.Scale = scale
  818. local scaler2 = 1
  819. if type == "Add" then
  820. scaler2 = 1 * value
  821. elseif type == "Divide" then
  822. scaler2 = 1 / value
  823. end
  824. coroutine.resume(coroutine.create(function()
  825. for i = 0, 10 / bonuspeed, 0.1 do
  826. swait()
  827. if type == "Add" then
  828. scaler2 = scaler2 - 0.01 * value / bonuspeed
  829. elseif type == "Divide" then
  830. scaler2 = scaler2 - 0.01 / value * bonuspeed
  831. end
  832. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  833. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  834. end
  835. rng:Destroy()
  836. end))
  837. end
  838.  
  839. function Eviscerate(dude)
  840. if dude.Name ~= char then
  841. local bgf = IT("BodyGyro", dude.Head)
  842. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  843. local val = IT("BoolValue", dude)
  844. val.Name = "IsHit"
  845. local ds = coroutine.wrap(function()
  846. dude:WaitForChild("Head"):BreakJoints()
  847. wait(0.5)
  848. target = nil
  849. coroutine.resume(coroutine.create(function()
  850. for i, v in pairs(dude:GetChildren()) do
  851. if v:IsA("Accessory") then
  852. v:Destroy()
  853. end
  854. if v:IsA("Humanoid") then
  855. v:Destroy()
  856. end
  857. if v:IsA("CharacterMesh") then
  858. v:Destroy()
  859. end
  860. if v:IsA("Model") then
  861. v:Destroy()
  862. end
  863. if v:IsA("Part") or v:IsA("MeshPart") then
  864. for x, o in pairs(v:GetChildren()) do
  865. if o:IsA("Decal") then
  866. o:Destroy()
  867. end
  868. end
  869. coroutine.resume(coroutine.create(function()
  870. v.Material = "Neon"
  871. v.CanCollide = false
  872. local PartEmmit1 = IT("ParticleEmitter", v)
  873. PartEmmit1.LightEmission = 1
  874. PartEmmit1.Texture = "rbxassetid://284205403"
  875. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  876. PartEmmit1.Rate = 150
  877. PartEmmit1.Lifetime = NumberRange.new(1)
  878. PartEmmit1.Size = NumberSequence.new({
  879. NumberSequenceKeypoint.new(0, 0.75, 0),
  880. NumberSequenceKeypoint.new(1, 0, 0)
  881. })
  882. PartEmmit1.Transparency = NumberSequence.new({
  883. NumberSequenceKeypoint.new(0, 0, 0),
  884. NumberSequenceKeypoint.new(1, 1, 0)
  885. })
  886. PartEmmit1.Speed = NumberRange.new(0, 0)
  887. PartEmmit1.VelocitySpread = 30000
  888. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  889. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  890. local BodPoss = IT("BodyPosition", v)
  891. BodPoss.P = 3000
  892. BodPoss.D = 1000
  893. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  894. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  895. v.Color = maincolor.Color
  896. coroutine.resume(coroutine.create(function()
  897. for i = 0, 49 do
  898. swait(1)
  899. v.Transparency = v.Transparency + 0.08
  900. end
  901. wait(0.5)
  902. PartEmmit1.Enabled = false
  903. wait(3)
  904. v:Destroy()
  905. dude:Destroy()
  906. end))
  907. end))
  908. end
  909. end
  910. end))
  911. end)
  912. ds()
  913. end
  914. end
  915.  
  916. function FindNearestHead(Position, Distance, SinglePlayer)
  917. if SinglePlayer then
  918. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  919. end
  920. local List = {}
  921. for i, v in pairs(workspace:GetChildren()) do
  922. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  923. table.insert(List, v)
  924. end
  925. end
  926. return List
  927. end
  928.  
  929. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  930. local type = type
  931. local rng = Instance.new("Part", char)
  932. rng.Anchored = true
  933. rng.BrickColor = color
  934. rng.CanCollide = false
  935. rng.FormFactor = 3
  936. rng.Name = "Ring"
  937. rng.Material = "Neon"
  938. rng.Size = Vector3.new(1, 1, 1)
  939. rng.Transparency = 0
  940. rng.TopSurface = 0
  941. rng.BottomSurface = 0
  942. rng.CFrame = pos
  943. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  944. local rngm = Instance.new("SpecialMesh", rng)
  945. rngm.MeshType = MType
  946. rngm.Scale = Vector3.new(x1, y1, z1)
  947. local scaler2 = 1
  948. local speeder = FastSpeed
  949. if type == "Add" then
  950. scaler2 = 1 * value
  951. elseif type == "Divide" then
  952. scaler2 = 1 / value
  953. end
  954. coroutine.resume(coroutine.create(function()
  955. for i = 0, 10 / bonuspeed, 0.1 do
  956. swait()
  957. if type == "Add" then
  958. scaler2 = scaler2 - 0.01 * value / bonuspeed
  959. elseif type == "Divide" then
  960. scaler2 = scaler2 - 0.01 / value * bonuspeed
  961. end
  962. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  963. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  964. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  965. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  966. end
  967. rng:Destroy()
  968. end))
  969. end
  970.  
  971. function SoulSteal(dude)
  972. if dude.Name ~= char then
  973. local bgf = IT("BodyGyro", dude.Head)
  974. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  975. local val = IT("BoolValue", dude)
  976. val.Name = "IsHit"
  977. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  978. local soulst = coroutine.wrap(function()
  979. local soul = Instance.new("Part",dude)
  980. soul.Size = Vector3.new(1,1,1)
  981. soul.CanCollide = false
  982. soul.Anchored = false
  983. soul.Position = torso.Position
  984. soul.Transparency = 1
  985. local PartEmmit1 = IT("ParticleEmitter", soul)
  986. PartEmmit1.LightEmission = 1
  987. PartEmmit1.Texture = "rbxassetid://569507414"
  988. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  989. PartEmmit1.Rate = 250
  990. PartEmmit1.Lifetime = NumberRange.new(1.6)
  991. PartEmmit1.Size = NumberSequence.new({
  992. NumberSequenceKeypoint.new(0, 1, 0),
  993. NumberSequenceKeypoint.new(1, 0, 0)
  994. })
  995. PartEmmit1.Transparency = NumberSequence.new({
  996. NumberSequenceKeypoint.new(0, 0, 0),
  997. NumberSequenceKeypoint.new(1, 1, 0)
  998. })
  999. PartEmmit1.Speed = NumberRange.new(0, 0)
  1000. PartEmmit1.VelocitySpread = 30000
  1001. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1002. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1003. local BodPoss = IT("BodyPosition", soul)
  1004. BodPoss.P = 3000
  1005. BodPoss.D = 1000
  1006. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1007. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1008. wait(1.6)
  1009. soul.Touched:connect(function(hit)
  1010. if hit.Parent == char then
  1011. soul:Destroy()
  1012. end
  1013. end)
  1014. wait(1.2)
  1015. while soul do
  1016. swait()
  1017. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1018. BodPoss.Position = tors.Position
  1019. end
  1020. end)
  1021. soulst()
  1022. end
  1023. end
  1024. function FaceMouse()
  1025. local Cam = workspace.CurrentCamera
  1026. return {
  1027. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1028. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1029. }
  1030. end
  1031. -------------------------------------------------------
  1032. --End Effect Function--
  1033. -------------------------------------------------------
  1034. function Cso(ID, PARENT, VOLUME, PITCH)
  1035. local NSound = nil
  1036. coroutine.resume(coroutine.create(function()
  1037. NSound = IT("Sound", PARENT)
  1038. NSound.Volume = VOLUME
  1039. NSound.Pitch = PITCH
  1040. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1041. swait()
  1042. NSound:play()
  1043. game:GetService("Debris"):AddItem(NSound, 10)
  1044. end))
  1045. return NSound
  1046. end
  1047. function CameraEnshaking(Length, Intensity)
  1048. coroutine.resume(coroutine.create(function()
  1049. local intensity = 1 * Intensity
  1050. local rotM = 0.01 * Intensity
  1051. for i = 0, Length, 0.1 do
  1052. swait()
  1053. intensity = intensity - 0.05 * Intensity / Length
  1054. rotM = rotM - 5.0E-4 * Intensity / Length
  1055. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1056. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1057. end
  1058. hum.CameraOffset = Vector3.new(0, 0, 0)
  1059. end))
  1060. end
  1061. -------------------------------------------------------
  1062. --End Important Functions--
  1063. -------------------------------------------------------
  1064.  
  1065.  
  1066. -------------------------------------------------------
  1067. --Start Customization--
  1068. -------------------------------------------------------
  1069. local Player_Size = 1
  1070. if Player_Size ~= 1 then
  1071. root.Size = root.Size * Player_Size
  1072. tors.Size = tors.Size * Player_Size
  1073. hed.Size = hed.Size * Player_Size
  1074. ra.Size = ra.Size * Player_Size
  1075. la.Size = la.Size * Player_Size
  1076. rl.Size = rl.Size * Player_Size
  1077. ll.Size = ll.Size * Player_Size
  1078. ----------------------------------------------------------------------------------
  1079. rootj.Parent = root
  1080. neck.Parent = tors
  1081. RW.Parent = tors
  1082. LW.Parent = tors
  1083. RH.Parent = tors
  1084. LH.Parent = tors
  1085. ----------------------------------------------------------------------------------
  1086. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1087. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1088. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1089. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1090. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1091. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1092. ----------------------------------------------------------------------------------
  1093. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1094. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1095. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1096. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1097. --hat.Parent = Character
  1098. end
  1099. ----------------------------------------------------------------------------------
  1100. local SONG = 1494452913
  1101. local SONG2 = 1130685064
  1102. local Music = Instance.new("Sound",tors)
  1103. Music.Volume = 2.5
  1104. Music.Looped = true
  1105. Music.Pitch = 1 --Pitcher
  1106. ----------------------------------------------------------------------------------
  1107. local equipped = false
  1108. local idle = 0
  1109. local change = 1
  1110. local val = 0
  1111. local toim = 0
  1112. local idleanim = 0.4
  1113. local sine = 0
  1114. local Sit = 1
  1115. ----------------------------------------------------------------------------------
  1116. hum.WalkSpeed = 10
  1117. hum.JumpPower = 57
  1118. hum.Animator.Parent = nil
  1119. ----------------------------------------------------------------------------------
  1120. local naeeym2 = IT("BillboardGui",char)
  1121. naeeym2.AlwaysOnTop = true
  1122. naeeym2.Size = UDim2.new(5,35,2,15)
  1123. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1124. naeeym2.MaxDistance = 75
  1125. naeeym2.Adornee = hed
  1126. naeeym2.Name = "Name"
  1127. --naeeym2.PlayerToHideFrom = Player
  1128. local tecks2 = IT("TextLabel",naeeym2)
  1129. tecks2.BackgroundTransparency = 1
  1130. tecks2.TextScaled = true
  1131. tecks2.BorderSizePixel = 0
  1132. tecks2.Text = "Eyo-zen"
  1133. tecks2.Font = "Fantasy"
  1134. tecks2.TextSize = 30
  1135. tecks2.TextStrokeTransparency = 0
  1136. tecks2.TextColor3 = Color3.new(1,1,1)
  1137. tecks2.TextStrokeColor3 = Color3.fromRGB(177, 167, 255)
  1138. tecks2.Size = UDim2.new(1,0,0.5,0)
  1139. tecks2.Parent = naeeym2
  1140. local top = Instance.new("Shirt")
  1141. top.ShirtTemplate = "rbxassetid://338740550"
  1142. top.Parent = char
  1143. top.Name = "Cloth"
  1144. local bottom = Instance.new("Pants")
  1145. bottom.PantsTemplate = "rbxassetid://338750779"
  1146. bottom.Parent = char
  1147. bottom.Name = "Cloth"
  1148. ----------------------------------------------------------------------------------
  1149. --[[
  1150. Thanks for using Build-To-Lua by jarredbcv.
  1151. ]]--
  1152.  
  1153. New = function(Object, Parent, Name, Data)
  1154. local Object = Instance.new(Object)
  1155. for Index, Value in pairs(Data or {}) do
  1156. Object[Index] = Value
  1157. end
  1158. Object.Parent = Parent
  1159. Object.Name = Name
  1160. return Object
  1161. end
  1162.  
  1163. Eyo = New("Model",char,"Eyo",{})
  1164. Eye = New("Part",Eyo,"Eye",{BrickColor = BrickColor.new("Really black"),Shape = Enum.PartType.Ball,Size = Vector3.new(1.96000075, 1.96000075, 1.96000075),CFrame = CFrame.new(-137.175568, 1.33095813, -17.0833168, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1165. Pupil = New("Part",Eyo,"Pupil",{BrickColor = BrickColor.new("White"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.37000075, 0.37000075, 0.37000075),CFrame = CFrame.new(-137.235779, 1.42530513, -18.0334377, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1166. mot = New("Motor",Pupil,"mot",{Part0 = Pupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0602111816, 0.0943470001, -0.950120926, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1167. TopHat2 = New("Part",Eyo,"TopHat2",{BrickColor = BrickColor.new("White"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.0500000007, 1, 1),CFrame = CFrame.new(-137.740799, 2.24810791, -17.0272255, 0.458347857, 0.877660632, -0.140108809, -0.888243496, 0.446898967, -0.106327571, -0.0307050757, 0.173186749, 0.984412611),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1168. mot = New("Motor",TopHat2,"mot",{Part0 = TopHat2,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.458347201, -0.88824302, -0.0307050198, 0.877660394, 0.446899265, 0.173186243, -0.140109047, -0.106327735, 0.98441118),C1 = CFrame.new(-0.565231323, 0.917149663, 0.0560913086, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1169. TopHat1 = New("Part",Eyo,"TopHat1",{BrickColor = BrickColor.new("White"),Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.54000056, 1.80000043, 0.780000567),CFrame = CFrame.new(-138.100586, 2.94428444, -17.0250435, 0.457500041, 0.889210463, 3.57628181e-07, -0.88921082, 0.45749861, 2.01165761e-07, -1.52640816e-08, 4.10039718e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1170. mot = New("Motor",TopHat1,"mot",{Part0 = TopHat1,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 0.457499385, -0.889210343, -5.08804376e-09, 0.889210224, 0.457498908, 1.36679802e-07, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.925018311, 1.61332572, 0.0582733154, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1171. OuterPupil = New("Part",Eyo,"OuterPupil",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Ball,Size = Vector3.new(1.0000006, 1.0000006, 1.0000006),CFrame = CFrame.new(-137.20755, 1.40179217, -17.6748943, 1.00000072, -7.15256022e-07, 3.57628181e-07, -7.15256022e-07, 1.00000036, 2.01165761e-07, 3.57628181e-07, 2.01165761e-07, 1.00000215),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.705882, 0.501961, 1),})
  1172. mot = New("Motor",OuterPupil,"mot",{Part0 = OuterPupil,Part1 = Eye,C0 = CFrame.new(0, 0, 0, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),C1 = CFrame.new(-0.0319824219, 0.0708340406, -0.59157753, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1173. TopHat3 = New("Part",Eyo,"TopHat3",{BrickColor = BrickColor.new("White"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.779999912, 0.5, 0.769999981),CFrame = CFrame.new(-138.460098, 3.63034701, -17.0150394, -0.258819818, -0.455481321, 0.851792634, -5.44427401e-08, 0.881841302, 0.471547186, -0.965928435, 0.122045919, -0.228237376),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1174. Mesh = New("SpecialMesh",TopHat3,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  1175. mot = New("Motor",TopHat3,"mot",{Part0 = TopHat3,Part1 = Eye,C0 = CFrame.new(0, 0, 0, -0.258819461, -4.83165614e-08, -0.965926886, -0.455480665, 0.881840825, 0.122045726, 0.851792514, 0.471547544, -0.228237316),C1 = CFrame.new(-1.28453064, 2.29938841, 0.068277359, 1.00000024, -2.38418579e-07, 1.1920929e-07, -2.38418579e-07, 1.00000012, 6.70552254e-08, 1.1920929e-07, 6.70552254e-08, 1.00000072),})
  1176.  
  1177. local NewInstance = function(instance,parent,properties)
  1178. local inst = Instance.new(instance,parent)
  1179. if(properties)then
  1180. for i,v in next, properties do
  1181. pcall(function() inst[i] = v end)
  1182. end
  1183. end
  1184. return inst;
  1185. end
  1186.  
  1187. local HW = NewInstance('Weld',char,{Part0=tors, Part1=Eye, C0 = CF(0,4,0) * angles(0,0,0)})
  1188. for i,v in pairs(char:children()) do
  1189. if v:IsA("Hat") then
  1190. v:Destroy()
  1191. end
  1192. end
  1193. for i,v in pairs(char:children()) do
  1194. if v:IsA("Accessory") then
  1195. v:Destroy()
  1196. end
  1197. end
  1198. hed.Transparency = 1
  1199. hed.face:Remove()
  1200. -------------------------------------------------------
  1201. --End Customization--
  1202. -------------------------------------------------------
  1203.  
  1204.  
  1205. -------------------------------------------------------
  1206. --Start Attacks N Stuff--
  1207. -------------------------------------------------------
  1208. function Taunt1()
  1209. attack = true
  1210. hum.WalkSpeed = 0
  1211. for i = 0, 9, 0.1 do
  1212. swait()
  1213. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(0)), 0.15)
  1214. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1215. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(15)), 0.15)
  1216. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-78), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-15)), 0.15)
  1217. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-9), Rad(0), Rad(155 + 25 * Sin(sine / 2.5))), 0.12)
  1218. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1219. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1220. end
  1221. attack = false
  1222. hum.WalkSpeed = 10
  1223. end
  1224. function Taunt2()
  1225. attack = true
  1226. hum.WalkSpeed = 0
  1227. --Cso("221057812", hed, 10, 1.1)
  1228. for i = 0, 2, 0.1 do
  1229. swait()
  1230. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1231. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1232. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1233. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1234. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1235. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1236. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1237. end
  1238. for i = 0, 6, 0.1 do
  1239. swait()
  1240. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .2 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1241. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
  1242. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1243. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1244. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1245. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1246. HW.C0 = clerp(HW.C0, CF(0, 4 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0 - 255.45 * i), Rad(0), Rad(0)), 0.15)
  1247. end
  1248. for i = 0, 2, 0.1 do
  1249. swait()
  1250. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1251. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1252. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1253. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1254. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1255. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1256. HW.C0 = clerp(HW.C0, CF(0, 1.8, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1257. end
  1258. attack = false
  1259. hum.WalkSpeed = 10
  1260. end
  1261. function Astigmatism()
  1262. attack = true
  1263. hum.WalkSpeed = 0
  1264. local Ring1 = Instance.new("Part", char)
  1265. Ring1.Anchored = true
  1266. Ring1.BrickColor = maincolor
  1267. Ring1.CanCollide = false
  1268. Ring1.FormFactor = 3
  1269. Ring1.Name = "Ring"
  1270. Ring1.Material = "Neon"
  1271. Ring1.Size = Vector3.new(1, 0.05, 1)
  1272. Ring1.Transparency = 1
  1273. Ring1.TopSurface = 0
  1274. Ring1.BottomSurface = 0
  1275. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  1276. Ring1Mesh.MeshType = "Brick"
  1277. Ring1Mesh.Name = "SizeMesh"
  1278. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  1279. local InnerRing1 = Ring1:Clone()
  1280. InnerRing1.Parent = char
  1281. InnerRing1.Transparency = 0
  1282. InnerRing1.BrickColor = BrickColor.new("Lime green")
  1283. InnerRing1.Size = Vector3.new(1, 1, 1)
  1284. local InnerRing1Mesh = InnerRing1.SizeMesh
  1285. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  1286. InnerRing1Mesh.MeshType = "Sphere"
  1287. Ring1:Destroy()
  1288. for i = 0, 6, 0.1 do
  1289. swait()
  1290. --orb.CFrame = Pupil.CFrame
  1291. Aura(7, 0.12, "Add", Pupil.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
  1292. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1293. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1294. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1295. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1296. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  1297. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  1298. HW.C0 = clerp(HW.C0, CF(0, 3 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1299. end
  1300. InnerRing1.Transparency = 1
  1301. InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 5
  1302. Cso("294188875", char, 2.3, 1)
  1303. local a = IT("Part", char)
  1304. a.Name = "Direction"
  1305. a.Anchored = true
  1306. a.BrickColor = BrickC("Really black")
  1307. a.Material = "SmoothPlastic"
  1308. a.Transparency = 0
  1309. a.Shape = "Cylinder"
  1310. a.CanCollide = false
  1311. local a2 = IT("Part", char)
  1312. a2.Name = "Direction"
  1313. a2.Anchored = true
  1314. a2.BrickColor = maincolor
  1315. a2.Color = maincolor.Color
  1316. a2.Material = "Neon"
  1317. a2.Transparency = 0.7
  1318. a2.Shape = "Cylinder"
  1319. a2.CanCollide = false
  1320. local ba = IT("Part", char)
  1321. ba.Name = "HitDirect"
  1322. ba.Anchored = true
  1323. ba.BrickColor = maincolor
  1324. ba.Material = "Neon"
  1325. ba.Transparency = 1
  1326. ba.CanCollide = false
  1327. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1328. local ignore = char
  1329. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1330. a.BottomSurface = 10
  1331. a.TopSurface = 10
  1332. a2.BottomSurface = 10
  1333. a2.TopSurface = 10
  1334. local distance = (InnerRing1.CFrame.p - position).magnitude
  1335. a.Size = Vector3.new(distance, 1, 1)
  1336. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1337. a2.Size = Vector3.new(distance, 1, 1)
  1338. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1339. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1340. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1341. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1342. game:GetService("Debris"):AddItem(a, 20)
  1343. game:GetService("Debris"):AddItem(a2, 20)
  1344. game:GetService("Debris"):AddItem(ba, 20)
  1345. local msh = Instance.new("SpecialMesh", a)
  1346. msh.MeshType = "Brick"
  1347. msh.Scale = Vector3.new(1, 5, 5)
  1348. local msh2 = Instance.new("SpecialMesh", a2)
  1349. msh2.MeshType = "Brick"
  1350. msh2.Scale = Vector3.new(1, 7, 7)
  1351. for i = 0, 10, 0.1 do
  1352. swait()
  1353. CameraEnshaking(1, 5)
  1354. a2.Color = maincolor.Color
  1355. root.CFrame = FaceMouse()[1]
  1356. InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 4
  1357. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1358. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1359. distance = (InnerRing1.CFrame.p - position).magnitude
  1360. a.Size = Vector3.new(distance, 1, 1)
  1361. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1362. a2.Size = Vector3.new(distance, 1, 1)
  1363. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1364. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1365. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1366. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1367. msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
  1368. msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
  1369. Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
  1370. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1371. if v:FindFirstChild("Head") then
  1372. Eviscerate(v)
  1373. end
  1374. end
  1375. end
  1376. a:Destroy()
  1377. a2:Destroy()
  1378. ba:Destroy()
  1379. InnerRing1:Destroy()
  1380. attack = false
  1381. hum.WalkSpeed = 10
  1382. hum.CameraOffset = Vector3.new(0,0,0)
  1383. end
  1384. function EyeThrow()
  1385. attack = true
  1386. hum.WalkSpeed = 3.01
  1387. for i = 0, 6, 0.1 do
  1388. swait()
  1389. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1390. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1391. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1392. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1393. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.7 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(215 + 2.5 * Sin(sine / 20))), 0.12)
  1394. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1395. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1396. end
  1397. local Head01 = Eye:Clone()
  1398. Head01.Parent = char
  1399. Eye.Transparency = 1
  1400. local weldHead01 = IT("Weld")
  1401. weldHead01.Parent = Head01
  1402. weldHead01.Part0 = ra
  1403. weldHead01.Part1 = Head01
  1404. weldHead01.C1 = CF(0, 0, 1.2) * angles(Rad(90), Rad(0), Rad(0))
  1405. for i = 0, 6, 0.1 do
  1406. swait()
  1407. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(-20)), 0.2)
  1408. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3)
  1409. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
  1410. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
  1411. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2)
  1412. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.2)
  1413. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(20), Rad(0)), 0.1)
  1414. end
  1415. local A = IT("Attachment",Head01)
  1416. A.Position = Vector3.new(-0, 0.2, 0.136)
  1417. local B = IT("Attachment",Head01)
  1418. B.Position = Vector3.new(-0, -0.95, -0.982)
  1419. local Trail = IT("Trail",Head01)
  1420. Trail.Attachment0 = B
  1421. Trail.Attachment1 = A
  1422. Trail.Lifetime = 0.6
  1423. Trail.Transparency = NumberSequence.new(0.5, 1)
  1424. Trail.Texture = "http://www.roblox.com/asset/?id=1472703539"
  1425. Trail.Enabled = true
  1426. weldHead01:Destroy()
  1427. Head01.CanCollide = true
  1428. local bodyVelocity2 = Create("BodyVelocity")({
  1429. velocity = (mouse.Hit.p - Head01.CFrame.p).unit * 165,
  1430. P = 5000,
  1431. maxForce = Vector3.new(8000, 8000, 8000),
  1432. Parent = Head01
  1433. })
  1434. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1435. Head01.Touched:connect(function(hit)
  1436. if(not char:IsAncestorOf(hit))then
  1437. local hum = (hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid')
  1438. local hedder = (hit and hit.Parent and hit.Parent:FindFirstChild'Head')
  1439. if(hum and hedder and hum.Health > 0)then
  1440. Eviscerate(hit.Parent)
  1441. Cso("491296320", hit.Parent.Torso, 10, 1)
  1442. end
  1443. end
  1444. end)
  1445. for i = 0, 2, 0.1 do
  1446. swait()
  1447. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(40)), 0.2)
  1448. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.3)
  1449. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
  1450. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
  1451. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-134), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2)
  1452. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1453. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.2)
  1454. end
  1455. for i = 0, 6, 0.1 do
  1456. swait()
  1457. Eye.Transparency = Eye.Transparency - 0.05
  1458. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(40)), 0.2)
  1459. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.2)
  1460. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
  1461. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.2)
  1462. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-134), Rad(0), Rad(145 + 2.5 * Sin(sine / 20))), 0.2)
  1463. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.2)
  1464. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.1)
  1465. end
  1466. coroutine.resume(coroutine.create(function()
  1467. for i = 0, 1.8, 0.05 do
  1468. swait()
  1469. Head01.Transparency = i
  1470. end
  1471. Head01:Destroy()
  1472. end))
  1473. --Head01:Destory()
  1474. attack = false
  1475. Trail.Enabled = false
  1476. hum.WalkSpeed = 10
  1477. end
  1478. function Call_Upon_The_Eyes()
  1479. attack = true
  1480. hum.WalkSpeed = 0
  1481. for i = 0, 6, 0.1 do
  1482. swait()
  1483. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1484. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1485. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1486. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1487. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.12)
  1488. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1489. HW.C0 = clerp(HW.C0, CF(0, 3.5 + 0.2 * Cos(sine / 20), 0) * angles(Rad(90), Rad(0), Rad(0)), 0.1)
  1490. end
  1491. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1492. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1493. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1494. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1495. CameraEnshaking(4, 25)
  1496. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1497. if v:FindFirstChild("Head") then
  1498. Eviscerate(v)
  1499. end
  1500. end
  1501. for i = 0, 6, 0.1 do
  1502. swait()
  1503. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1504. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1505. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1506. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1507. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(0), Rad(15 + 2.5 * Sin(sine / 20))), 0.2)
  1508. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1509. HW.C0 = clerp(HW.C0, CF(0, 3 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0 - 255.45 * i), Rad(0), Rad(0)), 0.15)
  1510. end
  1511. attack = false
  1512. hum.WalkSpeed = 10
  1513. end
  1514. function Eyeyeyeyeyeyey_Slammo()
  1515. attack = true
  1516. hum.WalkSpeed = 0
  1517. local Blobby = IT("Part", char)
  1518. Blobby.Name = "Blob"
  1519. Blobby.CanCollide = false
  1520. Blobby.BrickColor = BrickC("White")
  1521. Blobby.Transparency = 0
  1522. Blobby.Material = "Plastic"
  1523. Blobby.Size = Vector3.new(1, 1, 2)
  1524. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1525. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1526.  
  1527. local Weld = IT("Weld", Blobby)
  1528. Weld.Part0 = hed
  1529. Weld.Part1 = Blobby
  1530. Weld.C1 = CF(0, -17.6, 1.4)
  1531. Weld.C0 = angles(Rad(0),0,0)
  1532.  
  1533. local M2 = IT("SpecialMesh")
  1534. M2.Parent = Blobby
  1535. M2.MeshId = "http://www.roblox.com/asset/?id=1185246"
  1536. M2.TextureId = "http://www.roblox.com/asset/?id=28301750"
  1537. M2.Scale = Vector3.new(45.65, 45.65, 45.65)
  1538. for i = 0, 6, 0.1 do
  1539. swait()
  1540. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.2)
  1541. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1542. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1543. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1544. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  1545. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  1546. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1547. end
  1548. Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1549. Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1550. Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1551. for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do
  1552. if v:FindFirstChild("Head") then
  1553. Eviscerate(v)
  1554. end
  1555. end
  1556. CameraEnshaking(4, 25)
  1557. for i = 0, 6, 0.1 do
  1558. swait()
  1559. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(90 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1560. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1561. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(90)), 0.15)
  1562. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.3 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-90)), 0.15)
  1563. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(165 + 2.5 * Sin(sine / 20))), 0.12)
  1564. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.06 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-35), Rad(0), Rad(-165 + 2.5 * Sin(sine / 20))), 0.12)
  1565. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1566. end
  1567. Blobby:Destroy()
  1568. attack = false
  1569. hum.WalkSpeed = 10
  1570. end
  1571. -------------------------------------------------------
  1572. --End Attacks N Stuff--
  1573. -------------------------------------------------------
  1574. mouse.KeyDown:connect(function(key)
  1575. if attack == false then
  1576. if key == 't' then
  1577. Taunt1()
  1578. elseif key == 'y' then
  1579. Taunt2()
  1580. elseif key == 'z' then
  1581. Astigmatism()
  1582. elseif key == 'x' then
  1583. EyeThrow()
  1584. elseif key == 'c' then
  1585. Call_Upon_The_Eyes()
  1586. elseif key == 'v' then
  1587. Eyeyeyeyeyeyey_Slammo()
  1588. end
  1589. end
  1590. end)
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600. -------------------------------------------------------
  1601. --Start Animations--
  1602. -------------------------------------------------------
  1603. while true do
  1604. swait()
  1605. sine = sine + change
  1606. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1607. local velderp = root.Velocity.y
  1608. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1609. if equipped == true or equipped == false then
  1610. if attack == false then
  1611. idle = idle + 1
  1612. else
  1613. idle = 0
  1614. end
  1615. if 1 < root.Velocity.y and hitfloor == nil then
  1616. Anim = "Jump"
  1617. if attack == false then
  1618. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1619. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1620. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1621. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1622. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1623. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1624. end
  1625. elseif -1 > root.Velocity.y and hitfloor == nil then
  1626. Anim = "Fall"
  1627. if attack == false then
  1628. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1629. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1630. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1631. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1632. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1633. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1634. end
  1635. elseif torvel < 1 and hitfloor ~= nil then
  1636. Anim = "Idle"
  1637. change = .5
  1638. if attack == false then
  1639. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  1640. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1641. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1642. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  1643. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1644. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1645. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1646. end
  1647. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1648. Anim = "Walk"
  1649. change = 1
  1650. if attack == false then
  1651. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  1652. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1653. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1654. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1655. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1656. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  1657. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1658. end
  1659. elseif torvel >= 25 and hitfloor ~= nil then
  1660. Anim = "Sprint"
  1661. change = 1.35
  1662. if attack == false then
  1663. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1664. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1665. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1666. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1667. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1668. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1669. end
  1670. end
  1671. end
  1672. for _, c in pairs(char:GetChildren()) do
  1673. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1674. --c.Material = "Fabric"
  1675. if c:FindFirstChildOfClass("ParticleEmitter") then
  1676. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1677. end
  1678. if c ~= hed then
  1679. --c.Color = C3(0,0,0)
  1680. else
  1681. c.Color = Color3.new(1,1,1)
  1682. end
  1683. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1684. c:remove()
  1685. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1686. c:remove()
  1687. end
  1688. end
  1689. Music.SoundId = "rbxassetid://"..SONG
  1690. Music.Looped = true
  1691. Music.Pitch = 1
  1692. Music.Volume = 5
  1693. Music.Parent = tors
  1694. Music:Resume()
  1695. if 0 < #Effects then
  1696. for e = 1, #Effects do
  1697. if Effects[e] ~= nil then
  1698. local Thing = Effects[e]
  1699. if Thing ~= nil then
  1700. local Part = Thing[1]
  1701. local Mode = Thing[2]
  1702. local Delay = Thing[3]
  1703. local IncX = Thing[4]
  1704. local IncY = Thing[5]
  1705. local IncZ = Thing[6]
  1706. if 1 >= Thing[1].Transparency then
  1707. if Thing[2] == "Block1" then
  1708. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1709. local Mesh = Thing[1].Mesh
  1710. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1711. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1712. elseif Thing[2] == "Block2" then
  1713. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1714. local Mesh = Thing[7]
  1715. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1716. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1717. elseif Thing[2] == "Block3" then
  1718. 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)
  1719. local Mesh = Thing[7]
  1720. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1721. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1722. elseif Thing[2] == "Cylinder" then
  1723. local Mesh = Thing[1].Mesh
  1724. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1725. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1726. elseif Thing[2] == "Blood" then
  1727. local Mesh = Thing[7]
  1728. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1729. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1730. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1731. elseif Thing[2] == "Elec" then
  1732. local Mesh = Thing[1].Mesh
  1733. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1734. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1735. elseif Thing[2] == "Disappear" then
  1736. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1737. elseif Thing[2] == "Shatter" then
  1738. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1739. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1740. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1741. Thing[6] = Thing[6] + Thing[5]
  1742. end
  1743. else
  1744. Part.Parent = nil
  1745. table.remove(Effects, e)
  1746. end
  1747. end
  1748. end
  1749. end
  1750. end
  1751. end
  1752. -------------------------------------------------------
  1753. --End Animations And Script--
  1754. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement