Advertisement
SpiritualDonut

Untitled

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