Advertisement
doryna2281337

Untitled

Aug 20th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.71 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : Eyozen, the Eye ]]--
  3. -------------------------------------------------------
  4.  
  5. --[[ "Haha, I'm a funny guy, but once you anger me..." ]]--
  6. --[[ "There's no coming back =)" ]]--
  7.  
  8. --A script By makhail07
  9.  
  10. --Discord Creterisk#2958
  11.  
  12. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  13. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  14. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  15. --YOU FUCKING SKIDS,
  16. --For Those who log/decompile this, If you sell or trade this,
  17. --and I find out who you are, i will take massive action.
  18. -------------------------------------------------------
  19.  
  20. local FavIDs = {
  21. 340106355, --Nefl Crystals
  22. 927529620, --Dimension
  23. 876981900, --Fantasy
  24. 398987889, --Ordinary Days
  25. 1117396305, --Oh wait, it's you.
  26. 885996042, --Action Winter Journey
  27. 919231299, --Sprawling Idiot Effigy
  28. 743466274, --Good Day Sunshine
  29. 727411183, --Knife Fight
  30. 1402748531, --The Earth Is Counting On You!
  31. 595230126 --Robot Language
  32. }
  33.  
  34.  
  35.  
  36. --The reality of my life isn't real but a Universe -makhail07
  37. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  38. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  39. do
  40. print("FE Compatibility code by Mokiros")
  41. script.Parent = Player.Character
  42.  
  43. --RemoteEvent for communicating
  44. local Event = Instance.new("RemoteEvent")
  45. Event.Name = "UserInput_Event"
  46.  
  47. --Fake event to make stuff like Mouse.KeyDown work
  48. local function fakeEvent()
  49. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  50. t.connect = t.Connect
  51. return t
  52. end
  53.  
  54. --Creating fake input objects with fake variables
  55. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  56. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  57. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  58. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  59. end}
  60. --Merged 2 functions into one by checking amount of arguments
  61. CAS.UnbindAction = CAS.BindAction
  62.  
  63. --This function will trigger the events that have been :Connect()'ed
  64. local function te(self,ev,...)
  65. local t = m[ev]
  66. if t and t._fakeEvent and t.Function then
  67. t.Function(...)
  68. end
  69. end
  70. m.TrigEvent = te
  71. UIS.TrigEvent = te
  72.  
  73. Event.OnServerEvent:Connect(function(plr,io)
  74. if plr~=Player then return end
  75. if io.isMouse then
  76. m.Target = io.Target
  77. m.Hit = io.Hit
  78. else
  79. local b = io.UserInputState == Enum.UserInputState.Begin
  80. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  81. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  82. end
  83. for _,t in pairs(CAS.Actions) do
  84. for _,k in pairs(t.Keys) do
  85. if k==io.KeyCode then
  86. t.Function(t.Name,io.UserInputState,io)
  87. end
  88. end
  89. end
  90. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  91. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  92. end
  93. end)
  94. Event.Parent = NLS([==[
  95. local Player = game:GetService("Players").LocalPlayer
  96. local Event = script:WaitForChild("UserInput_Event")
  97.  
  98. local UIS = game:GetService("UserInputService")
  99. local input = function(io,a)
  100. if a then return end
  101. --Since InputObject is a client-side instance, we create and pass table instead
  102. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  103. end
  104. UIS.InputBegan:Connect(input)
  105. UIS.InputEnded:Connect(input)
  106.  
  107. local Mouse = Player:GetMouse()
  108. local h,t
  109. --Give the server mouse data 30 times every second, but only if the values changed
  110. --If player is not moving their mouse, client won't fire events
  111. while wait(1/30) do
  112. if h~=Mouse.Hit or t~=Mouse.Target then
  113. h,t=Mouse.Hit,Mouse.Target
  114. Event:FireServer({isMouse=true,Target=t,Hit=h})
  115. end
  116. end]==],Player.Character)
  117. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  118. end
  119. wait()
  120. local plr = owner
  121. print('Local User is '..plr.Name)
  122. local char = plr.Character
  123. local hum = char.Humanoid
  124. local hed = char.Head
  125. local root = char.HumanoidRootPart
  126. local rootj = root.RootJoint
  127. local tors = char.Torso
  128. local ra = char["Right Arm"]
  129. local la = char["Left Arm"]
  130. local rl = char["Right Leg"]
  131. local ll = char["Left Leg"]
  132. local neck = tors["Neck"]
  133. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  134. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  135. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  136. local maincolor = BrickColor.new("Institutional white")
  137.  
  138. -------------------------------------------------------
  139. --Start Good Stuff--
  140. -------------------------------------------------------
  141. cam = game.Workspace.CurrentCamera
  142. CF = CFrame.new
  143. angles = CFrame.Angles
  144. attack = false
  145. Euler = CFrame.fromEulerAnglesXYZ
  146. Rad = math.rad
  147. IT = Instance.new
  148. BrickC = BrickColor.new
  149. Cos = math.cos
  150. Acos = math.acos
  151. Sin = math.sin
  152. Asin = math.asin
  153. Abs = math.abs
  154. Mrandom = math.random
  155. Floor = math.floor
  156. -------------------------------------------------------
  157. --End Good Stuff--
  158. -------------------------------------------------------
  159. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  160. RSH, LSH = nil, nil
  161. RW = Instance.new("Weld")
  162. LW = Instance.new("Weld")
  163. RH = tors["Right Hip"]
  164. LH = tors["Left Hip"]
  165. RSH = tors["Right Shoulder"]
  166. LSH = tors["Left Shoulder"]
  167. RSH.Parent = nil
  168. LSH.Parent = nil
  169. RW.Name = "RW"
  170. RW.Part0 = tors
  171. RW.C0 = CF(1.5, 0.5, 0)
  172. RW.C1 = CF(0, 0.5, 0)
  173. RW.Part1 = ra
  174. RW.Parent = tors
  175. LW.Name = "LW"
  176. LW.Part0 = tors
  177. LW.C0 = CF(-1.5, 0.5, 0)
  178. LW.C1 = CF(0, 0.5, 0)
  179. LW.Part1 = la
  180. LW.Parent = tors
  181. Effects = {}
  182. -------------------------------------------------------
  183. --Start HeartBeat--
  184. -------------------------------------------------------
  185. ArtificialHB = Instance.new("BindableEvent", script)
  186. ArtificialHB.Name = "Heartbeat"
  187. script:WaitForChild("Heartbeat")
  188.  
  189. frame = 1 / 60
  190. tf = 0
  191. allowframeloss = false
  192. tossremainder = false
  193.  
  194.  
  195. lastframe = tick()
  196. script.Heartbeat:Fire()
  197.  
  198.  
  199. game:GetService("RunService").Heartbeat:connect(function(s, p)
  200. tf = tf + s
  201. if tf >= frame then
  202. if allowframeloss then
  203. script.Heartbeat:Fire()
  204. lastframe = tick()
  205. else
  206. for i = 1, math.floor(tf / frame) do
  207. script.Heartbeat:Fire()
  208. end
  209. lastframe = tick()
  210. end
  211. if tossremainder then
  212. tf = 0
  213. else
  214. tf = tf - frame * math.floor(tf / frame)
  215. end
  216. end
  217. end)
  218. -------------------------------------------------------
  219. --End HeartBeat--
  220. -------------------------------------------------------
  221.  
  222. -------------------------------------------------------
  223. --Start Important Functions--
  224. -------------------------------------------------------
  225. function swait(num)
  226. if num == 0 or num == nil then
  227. game:service("RunService").Stepped:wait(0)
  228. else
  229. for i = 0, num do
  230. game:service("RunService").Stepped:wait(0)
  231. end
  232. end
  233. end
  234. function thread(f)
  235. coroutine.resume(coroutine.create(f))
  236. end
  237. function clerp(a, b, t)
  238. local qa = {
  239. QuaternionFromCFrame(a)
  240. }
  241. local qb = {
  242. QuaternionFromCFrame(b)
  243. }
  244. local ax, ay, az = a.x, a.y, a.z
  245. local bx, by, bz = b.x, b.y, b.z
  246. local _t = 1 - t
  247. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  248. end
  249. function QuaternionFromCFrame(cf)
  250. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  251. local trace = m00 + m11 + m22
  252. if trace > 0 then
  253. local s = math.sqrt(1 + trace)
  254. local recip = 0.5 / s
  255. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  256. else
  257. local i = 0
  258. if m00 < m11 then
  259. i = 1
  260. end
  261. if m22 > (i == 0 and m00 or m11) then
  262. i = 2
  263. end
  264. if i == 0 then
  265. local s = math.sqrt(m00 - m11 - m22 + 1)
  266. local recip = 0.5 / s
  267. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  268. elseif i == 1 then
  269. local s = math.sqrt(m11 - m22 - m00 + 1)
  270. local recip = 0.5 / s
  271. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  272. elseif i == 2 then
  273. local s = math.sqrt(m22 - m00 - m11 + 1)
  274. local recip = 0.5 / s
  275. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  276. end
  277. end
  278. end
  279. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  280. local xs, ys, zs = x + x, y + y, z + z
  281. local wx, wy, wz = w * xs, w * ys, w * zs
  282. local xx = x * xs
  283. local xy = x * ys
  284. local xz = x * zs
  285. local yy = y * ys
  286. local yz = y * zs
  287. local zz = z * zs
  288. 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))
  289. end
  290. function QuaternionSlerp(a, b, t)
  291. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  292. local startInterp, finishInterp
  293. if cosTheta >= 1.0E-4 then
  294. if 1 - cosTheta > 1.0E-4 then
  295. local theta = math.acos(cosTheta)
  296. local invSinTheta = 1 / Sin(theta)
  297. startInterp = Sin((1 - t) * theta) * invSinTheta
  298. finishInterp = Sin(t * theta) * invSinTheta
  299. else
  300. startInterp = 1 - t
  301. finishInterp = t
  302. end
  303. elseif 1 + cosTheta > 1.0E-4 then
  304. local theta = math.acos(-cosTheta)
  305. local invSinTheta = 1 / Sin(theta)
  306. startInterp = Sin((t - 1) * theta) * invSinTheta
  307. finishInterp = Sin(t * theta) * invSinTheta
  308. else
  309. startInterp = t - 1
  310. finishInterp = t
  311. end
  312. 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
  313. end
  314. function rayCast(Position, Direction, Range, Ignore)
  315. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  316. end
  317. local RbxUtility = LoadLibrary("RbxUtility")
  318. local Create = RbxUtility.Create
  319.  
  320. -------------------------------------------------------
  321. --Start Damage Function--
  322. -------------------------------------------------------
  323. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  324. if hit.Parent == nil then
  325. return
  326. end
  327. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  328. for _, v in pairs(hit.Parent:children()) do
  329. if v:IsA("Humanoid") then
  330. h = v
  331. end
  332. end
  333. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  334.  
  335. hit.Parent:FindFirstChild("Head"):BreakJoints()
  336. end
  337.  
  338. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  339. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  340. if hit.Parent.DebounceHit.Value == true then
  341. return
  342. end
  343. end
  344. if insta == true then
  345. hit.Parent:FindFirstChild("Head"):BreakJoints()
  346. end
  347. local c = Create("ObjectValue"){
  348. Name = "creator",
  349. Value = game:service("Players").LocalPlayer,
  350. Parent = h,
  351. }
  352. game:GetService("Debris"):AddItem(c, .5)
  353. if HitSound ~= nil and HitPitch ~= nil then
  354. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  355. end
  356. local Damage = math.random(minim, maxim)
  357. local blocked = false
  358. local block = hit.Parent:findFirstChild("Block")
  359. if block ~= nil then
  360. if block.className == "IntValue" then
  361. if block.Value > 0 then
  362. blocked = true
  363. block.Value = block.Value - 1
  364. print(block.Value)
  365. end
  366. end
  367. end
  368. if blocked == false then
  369. h.Health = h.Health - Damage
  370. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  371. else
  372. h.Health = h.Health - (Damage / 2)
  373. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  374. end
  375. if Type == "Knockdown" then
  376. local hum = hit.Parent.Humanoid
  377. hum.PlatformStand = true
  378. coroutine.resume(coroutine.create(function(HHumanoid)
  379. swait(1)
  380. HHumanoid.PlatformStand = false
  381. end), hum)
  382. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  383. local bodvol = Create("BodyVelocity"){
  384. velocity = angle * knockback,
  385. P = 5000,
  386. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  387. Parent = hit,
  388. }
  389. local rl = Create("BodyAngularVelocity"){
  390. P = 3000,
  391. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  392. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  393. Parent = hit,
  394. }
  395. game:GetService("Debris"):AddItem(bodvol, .5)
  396. game:GetService("Debris"):AddItem(rl, .5)
  397. elseif Type == "Normal" then
  398. local vp = Create("BodyVelocity"){
  399. P = 500,
  400. maxForce = Vector3.new(math.huge, 0, math.huge),
  401. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  402. }
  403. if knockback > 0 then
  404. vp.Parent = hit.Parent.Torso
  405. end
  406. game:GetService("Debris"):AddItem(vp, .5)
  407. elseif Type == "Up" then
  408. local bodyVelocity = Create("BodyVelocity"){
  409. velocity = Vector3.new(0, 20, 0),
  410. P = 5000,
  411. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  412. Parent = hit,
  413. }
  414. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  415. elseif Type == "DarkUp" then
  416. coroutine.resume(coroutine.create(function()
  417. for i = 0, 1, 0.1 do
  418. swait()
  419. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  420. end
  421. end))
  422. local bodyVelocity = Create("BodyVelocity"){
  423. velocity = Vector3.new(0, 20, 0),
  424. P = 5000,
  425. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  426. Parent = hit,
  427. }
  428. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  429. elseif Type == "Snare" then
  430. local bp = Create("BodyPosition"){
  431. P = 2000,
  432. D = 100,
  433. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  434. position = hit.Parent.Torso.Position,
  435. Parent = hit.Parent.Torso,
  436. }
  437. game:GetService("Debris"):AddItem(bp, 1)
  438. elseif Type == "Freeze" then
  439. local BodPos = Create("BodyPosition"){
  440. P = 50000,
  441. D = 1000,
  442. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  443. position = hit.Parent.Torso.Position,
  444. Parent = hit.Parent.Torso,
  445. }
  446. local BodGy = Create("BodyGyro") {
  447. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  448. P = 20e+003,
  449. Parent = hit.Parent.Torso,
  450. cframe = hit.Parent.Torso.CFrame,
  451. }
  452. hit.Parent.Torso.Anchored = true
  453. coroutine.resume(coroutine.create(function(Part)
  454. swait(1.5)
  455. Part.Anchored = false
  456. end), hit.Parent.Torso)
  457. game:GetService("Debris"):AddItem(BodPos, 3)
  458. game:GetService("Debris"):AddItem(BodGy, 3)
  459. end
  460. local debounce = Create("BoolValue"){
  461. Name = "DebounceHit",
  462. Parent = hit.Parent,
  463. Value = true,
  464. }
  465. game:GetService("Debris"):AddItem(debounce, Delay)
  466. c = Create("ObjectValue"){
  467. Name = "creator",
  468. Value = Player,
  469. Parent = h,
  470. }
  471. game:GetService("Debris"):AddItem(c, .5)
  472. end
  473. end
  474. -------------------------------------------------------
  475. --End Damage Function--
  476. -------------------------------------------------------
  477.  
  478. -------------------------------------------------------
  479. --Start Damage Function Customization--
  480. -------------------------------------------------------
  481. function ShowDamage(Pos, Text, Time, Color)
  482. local Rate = (1 / 30)
  483. local Pos = (Pos or Vector3.new(0, 0, 0))
  484. local Text = (Text or "")
  485. local Time = (Time or 2)
  486. local Color = (Color or Color3.new(1, 0, 1))
  487. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  488. EffectPart.Anchored = true
  489. local BillboardGui = Create("BillboardGui"){
  490. Size = UDim2.new(3, 0, 3, 0),
  491. Adornee = EffectPart,
  492. Parent = EffectPart,
  493. }
  494. local TextLabel = Create("TextLabel"){
  495. BackgroundTransparency = 1,
  496. Size = UDim2.new(1, 0, 1, 0),
  497. Text = Text,
  498. Font = "Bodoni",
  499. TextColor3 = Color,
  500. TextScaled = true,
  501. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  502. Parent = BillboardGui,
  503. }
  504. game.Debris:AddItem(EffectPart, (Time))
  505. EffectPart.Parent = game:GetService("Workspace")
  506. delay(0, function()
  507. local Frames = (Time / Rate)
  508. for Frame = 1, Frames do
  509. wait(Rate)
  510. local Percent = (Frame / Frames)
  511. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  512. TextLabel.TextTransparency = Percent
  513. end
  514. if EffectPart and EffectPart.Parent then
  515. EffectPart:Destroy()
  516. end
  517. end)
  518. end
  519. -------------------------------------------------------
  520. --End Damage Function Customization--
  521. -------------------------------------------------------
  522.  
  523. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  524. for _, c in pairs(workspace:children()) do
  525. local hum = c:findFirstChild("Humanoid")
  526. if hum ~= nil then
  527. local head = c:findFirstChild("Head")
  528. if head ~= nil then
  529. local targ = head.Position - Part.Position
  530. local mag = targ.magnitude
  531. if magni >= mag and c.Name ~= plr.Name then
  532. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  533. end
  534. end
  535. end
  536. end
  537. end
  538.  
  539.  
  540. CFuncs = {
  541. Part = {
  542. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  543. local Part = Create("Part")({
  544. Parent = Parent,
  545. Reflectance = Reflectance,
  546. Transparency = Transparency,
  547. CanCollide = false,
  548. Locked = true,
  549. BrickColor = BrickColor.new(tostring(BColor)),
  550. Name = Name,
  551. Size = Size,
  552. Material = Material
  553. })
  554. RemoveOutlines(Part)
  555. return Part
  556. end
  557. },
  558. Mesh = {
  559. Create = function(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. },
  572. Mesh = {
  573. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  574. local Msh = Create(Mesh)({
  575. Parent = Part,
  576. Offset = OffSet,
  577. Scale = Scale
  578. })
  579. if Mesh == "SpecialMesh" then
  580. Msh.MeshType = MeshType
  581. Msh.MeshId = MeshId
  582. end
  583. return Msh
  584. end
  585. },
  586. Weld = {
  587. Create = function(Parent, Part0, Part1, C0, C1)
  588. local Weld = Create("Weld")({
  589. Parent = Parent,
  590. Part0 = Part0,
  591. Part1 = Part1,
  592. C0 = C0,
  593. C1 = C1
  594. })
  595. return Weld
  596. end
  597. },
  598. Sound = {
  599. Create = function(id, par, vol, pit)
  600. coroutine.resume(coroutine.create(function()
  601. local S = Create("Sound")({
  602. Volume = vol,
  603. Pitch = pit or 1,
  604. SoundId = id,
  605. Parent = par or workspace
  606. })
  607. wait()
  608. S:play()
  609. game:GetService("Debris"):AddItem(S, 6)
  610. end))
  611. end
  612. },
  613. ParticleEmitter = {
  614. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  615. local fp = Create("ParticleEmitter")({
  616. Parent = Parent,
  617. Color = ColorSequence.new(Color1, Color2),
  618. LightEmission = LightEmission,
  619. Size = Size,
  620. Texture = Texture,
  621. Transparency = Transparency,
  622. ZOffset = ZOffset,
  623. Acceleration = Accel,
  624. Drag = Drag,
  625. LockedToPart = LockedToPart,
  626. VelocityInheritance = VelocityInheritance,
  627. EmissionDirection = EmissionDirection,
  628. Enabled = Enabled,
  629. Lifetime = LifeTime,
  630. Rate = Rate,
  631. Rotation = Rotation,
  632. RotSpeed = RotSpeed,
  633. Speed = Speed,
  634. VelocitySpread = VelocitySpread
  635. })
  636. return fp
  637. end
  638. }
  639. }
  640. function RemoveOutlines(part)
  641. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  642. end
  643. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  644. local Part = Create("Part")({
  645. formFactor = FormFactor,
  646. Parent = Parent,
  647. Reflectance = Reflectance,
  648. Transparency = Transparency,
  649. CanCollide = false,
  650. Locked = true,
  651. BrickColor = BrickColor.new(tostring(BColor)),
  652. Name = Name,
  653. Size = Size,
  654. Material = Material
  655. })
  656. RemoveOutlines(Part)
  657. return Part
  658. end
  659. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  660. local Msh = Create(Mesh)({
  661. Parent = Part,
  662. Offset = OffSet,
  663. Scale = Scale
  664. })
  665. if Mesh == "SpecialMesh" then
  666. Msh.MeshType = MeshType
  667. Msh.MeshId = MeshId
  668. end
  669. return Msh
  670. end
  671. function CreateWeld(Parent, Part0, Part1, C0, C1)
  672. local Weld = Create("Weld")({
  673. Parent = Parent,
  674. Part0 = Part0,
  675. Part1 = Part1,
  676. C0 = C0,
  677. C1 = C1
  678. })
  679. return Weld
  680. end
  681.  
  682.  
  683. -------------------------------------------------------
  684. --Start Effect Function--
  685. -------------------------------------------------------
  686. EffectModel = Instance.new("Model", char)
  687. Effects = {
  688. Block = {
  689. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  690. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  691. prt.Anchored = true
  692. prt.CFrame = cframe
  693. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  694. game:GetService("Debris"):AddItem(prt, 10)
  695. if Type == 1 or Type == nil then
  696. table.insert(Effects, {
  697. prt,
  698. "Block1",
  699. delay,
  700. x3,
  701. y3,
  702. z3,
  703. msh
  704. })
  705. elseif Type == 2 then
  706. table.insert(Effects, {
  707. prt,
  708. "Block2",
  709. delay,
  710. x3,
  711. y3,
  712. z3,
  713. msh
  714. })
  715. else
  716. table.insert(Effects, {
  717. prt,
  718. "Block3",
  719. delay,
  720. x3,
  721. y3,
  722. z3,
  723. msh
  724. })
  725. end
  726. end
  727. },
  728. Sphere = {
  729. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  730. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  731. prt.Anchored = true
  732. prt.CFrame = cframe
  733. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  734. game:GetService("Debris"):AddItem(prt, 10)
  735. table.insert(Effects, {
  736. prt,
  737. "Cylinder",
  738. delay,
  739. x3,
  740. y3,
  741. z3,
  742. msh
  743. })
  744. end
  745. },
  746. Cylinder = {
  747. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  748. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  749. prt.Anchored = true
  750. prt.CFrame = cframe
  751. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  752. game:GetService("Debris"):AddItem(prt, 10)
  753. table.insert(Effects, {
  754. prt,
  755. "Cylinder",
  756. delay,
  757. x3,
  758. y3,
  759. z3,
  760. msh
  761. })
  762. end
  763. },
  764. Wave = {
  765. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  766. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  767. prt.Anchored = true
  768. prt.CFrame = cframe
  769. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  770. game:GetService("Debris"):AddItem(prt, 10)
  771. table.insert(Effects, {
  772. prt,
  773. "Cylinder",
  774. delay,
  775. x3 / 60,
  776. y3 / 60,
  777. z3 / 60,
  778. msh
  779. })
  780. end
  781. },
  782. Ring = {
  783. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  784. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  785. prt.Anchored = true
  786. prt.CFrame = cframe
  787. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  788. game:GetService("Debris"):AddItem(prt, 10)
  789. table.insert(Effects, {
  790. prt,
  791. "Cylinder",
  792. delay,
  793. x3,
  794. y3,
  795. z3,
  796. msh
  797. })
  798. end
  799. },
  800. Break = {
  801. Create = function(brickcolor, cframe, x1, y1, z1)
  802. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  803. prt.Anchored = true
  804. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  805. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  806. local num = math.random(10, 50) / 1000
  807. game:GetService("Debris"):AddItem(prt, 10)
  808. table.insert(Effects, {
  809. prt,
  810. "Shatter",
  811. num,
  812. prt.CFrame,
  813. math.random() - math.random(),
  814. 0,
  815. math.random(50, 100) / 100
  816. })
  817. end
  818. },
  819. Spiral = {
  820. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  821. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  822. prt.Anchored = true
  823. prt.CFrame = cframe
  824. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. table.insert(Effects, {
  827. prt,
  828. "Cylinder",
  829. delay,
  830. x3,
  831. y3,
  832. z3,
  833. msh
  834. })
  835. end
  836. },
  837. Push = {
  838. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  839. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  840. prt.Anchored = true
  841. prt.CFrame = cframe
  842. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  843. game:GetService("Debris"):AddItem(prt, 10)
  844. table.insert(Effects, {
  845. prt,
  846. "Cylinder",
  847. delay,
  848. x3,
  849. y3,
  850. z3,
  851. msh
  852. })
  853. end
  854. }
  855. }
  856. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  857. local fp = IT("Part")
  858. fp.formFactor = formfactor
  859. fp.Parent = parent
  860. fp.Reflectance = reflectance
  861. fp.Transparency = transparency
  862. fp.CanCollide = false
  863. fp.Locked = true
  864. fp.BrickColor = brickcolor
  865. fp.Name = name
  866. fp.Size = size
  867. fp.Position = tors.Position
  868. RemoveOutlines(fp)
  869. fp.Material = "SmoothPlastic"
  870. fp:BreakJoints()
  871. return fp
  872. end
  873.  
  874. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  875. local mesh = IT(Mesh)
  876. mesh.Parent = part
  877. if Mesh == "SpecialMesh" then
  878. mesh.MeshType = meshtype
  879. if meshid ~= "nil" then
  880. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  881. end
  882. end
  883. mesh.Offset = offset
  884. mesh.Scale = scale
  885. return mesh
  886. end
  887.  
  888. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  889. local type = type
  890. local rng = Instance.new("Part", char)
  891. rng.Anchored = true
  892. rng.BrickColor = color
  893. rng.CanCollide = false
  894. rng.FormFactor = 3
  895. rng.Name = "Ring"
  896. rng.Material = "Neon"
  897. rng.Size = Vector3.new(1, 1, 1)
  898. rng.Transparency = 0
  899. rng.TopSurface = 0
  900. rng.BottomSurface = 0
  901. rng.CFrame = pos
  902. local rngm = Instance.new("SpecialMesh", rng)
  903. rngm.MeshType = MType
  904. rngm.Scale = scale
  905. local scaler2 = 1
  906. if type == "Add" then
  907. scaler2 = 1 * value
  908. elseif type == "Divide" then
  909. scaler2 = 1 / value
  910. end
  911. coroutine.resume(coroutine.create(function()
  912. for i = 0, 10 / bonuspeed, 0.1 do
  913. swait()
  914. if type == "Add" then
  915. scaler2 = scaler2 - 0.01 * value / bonuspeed
  916. elseif type == "Divide" then
  917. scaler2 = scaler2 - 0.01 / value * bonuspeed
  918. end
  919. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  920. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  921. end
  922. rng:Destroy()
  923. end))
  924. end
  925.  
  926. function Eviscerate(dude)
  927. if dude.Name ~= char then
  928. local bgf = IT("BodyGyro", dude.Head)
  929. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  930. local val = IT("BoolValue", dude)
  931. val.Name = "IsHit"
  932. local ds = coroutine.wrap(function()
  933. dude:WaitForChild("Head"):BreakJoints()
  934. wait(0.5)
  935. target = nil
  936. coroutine.resume(coroutine.create(function()
  937. for i, v in pairs(dude:GetChildren()) do
  938. if v:IsA("Accessory") then
  939. v:Destroy()
  940. end
  941. if v:IsA("Humanoid") then
  942. v:Destroy()
  943. end
  944. if v:IsA("CharacterMesh") then
  945. v:Destroy()
  946. end
  947. if v:IsA("Model") then
  948. v:Destroy()
  949. end
  950. if v:IsA("Part") or v:IsA("MeshPart") then
  951. for x, o in pairs(v:GetChildren()) do
  952. if o:IsA("Decal") then
  953. o:Destroy()
  954. end
  955. end
  956. coroutine.resume(coroutine.create(function()
  957. v.Material = "Neon"
  958. v.CanCollide = false
  959. local PartEmmit1 = IT("ParticleEmitter", v)
  960. PartEmmit1.LightEmission = 1
  961. PartEmmit1.Texture = "rbxassetid://284205403"
  962. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  963. PartEmmit1.Rate = 150
  964. PartEmmit1.Lifetime = NumberRange.new(1)
  965. PartEmmit1.Size = NumberSequence.new({
  966. NumberSequenceKeypoint.new(0, 0.75, 0),
  967. NumberSequenceKeypoint.new(1, 0, 0)
  968. })
  969. PartEmmit1.Transparency = NumberSequence.new({
  970. NumberSequenceKeypoint.new(0, 0, 0),
  971. NumberSequenceKeypoint.new(1, 1, 0)
  972. })
  973. PartEmmit1.Speed = NumberRange.new(0, 0)
  974. PartEmmit1.VelocitySpread = 30000
  975. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  976. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  977. local BodPoss = IT("BodyPosition", v)
  978. BodPoss.P = 3000
  979. BodPoss.D = 1000
  980. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  981. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  982. v.Color = maincolor.Color
  983. coroutine.resume(coroutine.create(function()
  984. for i = 0, 49 do
  985. swait(1)
  986. v.Transparency = v.Transparency + 0.08
  987. end
  988. wait(0.5)
  989. PartEmmit1.Enabled = false
  990. wait(3)
  991. v:Destroy()
  992. dude:Destroy()
  993. end))
  994. end))
  995. end
  996. end
  997. end))
  998. end)
  999. ds()
  1000. end
  1001. end
  1002.  
  1003. function FindNearestHead(Position, Distance, SinglePlayer)
  1004. if SinglePlayer then
  1005. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1006. end
  1007. local List = {}
  1008. for i, v in pairs(workspace:GetChildren()) do
  1009. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1010. table.insert(List, v)
  1011. end
  1012. end
  1013. return List
  1014. end
  1015.  
  1016. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1017. local type = type
  1018. local rng = Instance.new("Part", char)
  1019. rng.Anchored = true
  1020. rng.BrickColor = color
  1021. rng.CanCollide = false
  1022. rng.FormFactor = 3
  1023. rng.Name = "Ring"
  1024. rng.Material = "Neon"
  1025. rng.Size = Vector3.new(1, 1, 1)
  1026. rng.Transparency = 0
  1027. rng.TopSurface = 0
  1028. rng.BottomSurface = 0
  1029. rng.CFrame = pos
  1030. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1031. local rngm = Instance.new("SpecialMesh", rng)
  1032. rngm.MeshType = MType
  1033. rngm.Scale = Vector3.new(x1, y1, z1)
  1034. local scaler2 = 1
  1035. local speeder = FastSpeed
  1036. if type == "Add" then
  1037. scaler2 = 1 * value
  1038. elseif type == "Divide" then
  1039. scaler2 = 1 / value
  1040. end
  1041. coroutine.resume(coroutine.create(function()
  1042. for i = 0, 10 / bonuspeed, 0.1 do
  1043. swait()
  1044. if type == "Add" then
  1045. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1046. elseif type == "Divide" then
  1047. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1048. end
  1049. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1050. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1051. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1052. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1053. end
  1054. rng:Destroy()
  1055. end))
  1056. end
  1057.  
  1058. function SoulSteal(dude)
  1059. if dude.Name ~= char then
  1060. local bgf = IT("BodyGyro", dude.Head)
  1061. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1062. local val = IT("BoolValue", dude)
  1063. val.Name = "IsHit"
  1064. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1065. local soulst = coroutine.wrap(function()
  1066. local soul = Instance.new("Part",dude)
  1067. soul.Size = Vector3.new(1,1,1)
  1068. soul.CanCollide = false
  1069. soul.Anchored = false
  1070. soul.Position = torso.Position
  1071. soul.Transparency = 1
  1072. local PartEmmit1 = IT("ParticleEmitter", soul)
  1073. PartEmmit1.LightEmission = 1
  1074. PartEmmit1.Texture = "rbxassetid://569507414"
  1075. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1076. PartEmmit1.Rate = 250
  1077. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1078. PartEmmit1.Size = NumberSequence.new({
  1079. NumberSequenceKeypoint.new(0, 1, 0),
  1080. NumberSequenceKeypoint.new(1, 0, 0)
  1081. })
  1082. PartEmmit1.Transparency = NumberSequence.new({
  1083. NumberSequenceKeypoint.new(0, 0, 0),
  1084. NumberSequenceKeypoint.new(1, 1, 0)
  1085. })
  1086. PartEmmit1.Speed = NumberRange.new(0, 0)
  1087. PartEmmit1.VelocitySpread = 30000
  1088. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1089. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1090. local BodPoss = IT("BodyPosition", soul)
  1091. BodPoss.P = 3000
  1092. BodPoss.D = 1000
  1093. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1094. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1095. wait(1.6)
  1096. soul.Touched:connect(function(hit)
  1097. if hit.Parent == char then
  1098. soul:Destroy()
  1099. end
  1100. end)
  1101. wait(1.2)
  1102. while soul do
  1103. swait()
  1104. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1105. BodPoss.Position = tors.Position
  1106. end
  1107. end)
  1108. soulst()
  1109. end
  1110. end
  1111. function FaceMouse()
  1112. local Cam = workspace.CurrentCamera
  1113. return {
  1114. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1115. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1116. }
  1117. end
  1118. -------------------------------------------------------
  1119. --End Effect Function--
  1120. -------------------------------------------------------
  1121. function Cso(ID, PARENT, VOLUME, PITCH)
  1122. local NSound = nil
  1123. coroutine.resume(coroutine.create(function()
  1124. NSound = IT("Sound", PARENT)
  1125. NSound.Volume = VOLUME
  1126. NSound.Pitch = PITCH
  1127. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1128. swait()
  1129. NSound:play()
  1130. game:GetService("Debris"):AddItem(NSound, 10)
  1131. end))
  1132. return NSound
  1133. end
  1134. function CameraEnshaking(Length, Intensity)
  1135. coroutine.resume(coroutine.create(function()
  1136. local intensity = 1 * Intensity
  1137. local rotM = 0.01 * Intensity
  1138. for i = 0, Length, 0.1 do
  1139. swait()
  1140. intensity = intensity - 0.05 * Intensity / Length
  1141. rotM = rotM - 5.0E-4 * Intensity / Length
  1142. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1143. 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)
  1144. end
  1145. hum.CameraOffset = Vector3.new(0, 0, 0)
  1146. end))
  1147. end
  1148. -------------------------------------------------------
  1149. --End Important Functions--
  1150. -------------------------------------------------------
  1151.  
  1152.  
  1153. -------------------------------------------------------
  1154. --Start Customization--
  1155. -------------------------------------------------------
  1156. local Player_Size = 1
  1157. if Player_Size ~= 1 then
  1158. root.Size = root.Size * Player_Size
  1159. tors.Size = tors.Size * Player_Size
  1160. hed.Size = hed.Size * Player_Size
  1161. ra.Size = ra.Size * Player_Size
  1162. la.Size = la.Size * Player_Size
  1163. rl.Size = rl.Size * Player_Size
  1164. ll.Size = ll.Size * Player_Size
  1165. ----------------------------------------------------------------------------------
  1166. rootj.Parent = root
  1167. neck.Parent = tors
  1168. RW.Parent = tors
  1169. LW.Parent = tors
  1170. RH.Parent = tors
  1171. LH.Parent = tors
  1172. ----------------------------------------------------------------------------------
  1173. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1174. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1175. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1176. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1177. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1178. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1179. ----------------------------------------------------------------------------------
  1180. 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))
  1181. 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))
  1182. 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))
  1183. 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))
  1184. --hat.Parent = Character
  1185. end
  1186. ----------------------------------------------------------------------------------
  1187. local SONG = 1494452913
  1188. local SONG2 = 1130685064
  1189. local Music = Instance.new("Sound",tors)
  1190. Music.Volume = 2.5
  1191. Music.Looped = true
  1192. Music.Pitch = 1 --Pitcher
  1193. ----------------------------------------------------------------------------------
  1194. local equipped = false
  1195. local idle = 0
  1196. local change = 1
  1197. local val = 0
  1198. local toim = 0
  1199. local idleanim = 0.4
  1200. local sine = 0
  1201. local Sit = 1
  1202. ----------------------------------------------------------------------------------
  1203. hum.WalkSpeed = 10
  1204. hum.JumpPower = 57
  1205. hum.Animator.Parent = nil
  1206. ----------------------------------------------------------------------------------
  1207. local naeeym2 = IT("BillboardGui",char)
  1208. naeeym2.AlwaysOnTop = true
  1209. naeeym2.Size = UDim2.new(5,35,2,15)
  1210. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1211. naeeym2.MaxDistance = 75
  1212. naeeym2.Adornee = hed
  1213. naeeym2.Name = "Name"
  1214. --naeeym2.PlayerToHideFrom = Player
  1215. local tecks2 = IT("TextLabel",naeeym2)
  1216. tecks2.BackgroundTransparency = 1
  1217. tecks2.TextScaled = true
  1218. tecks2.BorderSizePixel = 0
  1219. tecks2.Text = "Eyo-zen"
  1220. tecks2.Font = "Fantasy"
  1221. tecks2.TextSize = 30
  1222. tecks2.TextStrokeTransparency = 0
  1223. tecks2.TextColor3 = Color3.new(1,1,1)
  1224. tecks2.TextStrokeColor3 = Color3.fromRGB(177, 167, 255)
  1225. tecks2.Size = UDim2.new(1,0,0.5,0)
  1226. tecks2.Parent = naeeym2
  1227. local top = Instance.new("Shirt")
  1228. top.ShirtTemplate = "rbxassetid://338740550"
  1229. top.Parent = char
  1230. top.Name = "Cloth"
  1231. local bottom = Instance.new("Pants")
  1232. bottom.PantsTemplate = "rbxassetid://338750779"
  1233. bottom.Parent = char
  1234. bottom.Name = "Cloth"
  1235. ----------------------------------------------------------------------------------
  1236. --[[
  1237. Thanks for using Build-To-Lua by jarredbcv.
  1238. ]]--
  1239.  
  1240. New = function(Object, Parent, Name, Data)
  1241. local Object = Instance.new(Object)
  1242. for Index, Value in pairs(Data or {}) do
  1243. Object[Index] = Value
  1244. end
  1245. Object.Parent = Parent
  1246. Object.Name = Name
  1247. return Object
  1248. end
  1249.  
  1250. Eyo = New("Model",char,"Eyo",{})
  1251. 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),})
  1252. 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),})
  1253. 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),})
  1254. 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),})
  1255. 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),})
  1256. 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),})
  1257. 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),})
  1258. 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),})
  1259. 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),})
  1260. 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),})
  1261. Mesh = New("SpecialMesh",TopHat3,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  1262. 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),})
  1263.  
  1264. local NewInstance = function(instance,parent,properties)
  1265. local inst = Instance.new(instance,parent)
  1266. if(properties)then
  1267. for i,v in next, properties do
  1268. pcall(function() inst[i] = v end)
  1269. end
  1270. end
  1271. return inst;
  1272. end
  1273.  
  1274. local HW = NewInstance('Weld',char,{Part0=tors, Part1=Eye, C0 = CF(0,4,0) * angles(0,0,0)})
  1275. for i,v in pairs(char:children()) do
  1276. if v:IsA("Hat") then
  1277. v:Destroy()
  1278. end
  1279. end
  1280. for i,v in pairs(char:children()) do
  1281. if v:IsA("Accessory") then
  1282. v:Destroy()
  1283. end
  1284. end
  1285. hed.Transparency = 1
  1286. hed.face:Remove()
  1287. -------------------------------------------------------
  1288. --End Customization--
  1289. -------------------------------------------------------
  1290.  
  1291.  
  1292. -------------------------------------------------------
  1293. --Start Attacks N Stuff--
  1294. -------------------------------------------------------
  1295. function Taunt1()
  1296. attack = true
  1297. hum.WalkSpeed = 0
  1298. for i = 0, 9, 0.1 do
  1299. swait()
  1300. 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)
  1301. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1307. end
  1308. attack = false
  1309. hum.WalkSpeed = 10
  1310. end
  1311. function Taunt2()
  1312. attack = true
  1313. hum.WalkSpeed = 0
  1314. --Cso("221057812", hed, 10, 1.1)
  1315. for i = 0, 2, 0.1 do
  1316. swait()
  1317. 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)
  1318. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1319. 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)
  1320. 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)
  1321. 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)
  1322. 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)
  1323. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1324. end
  1325. for i = 0, 6, 0.1 do
  1326. swait()
  1327. 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)
  1328. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 2) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.15)
  1329. 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)
  1330. 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)
  1331. 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)
  1332. 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)
  1333. 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)
  1334. end
  1335. for i = 0, 2, 0.1 do
  1336. swait()
  1337. 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)
  1338. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1339. 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)
  1340. 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)
  1341. 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)
  1342. 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)
  1343. HW.C0 = clerp(HW.C0, CF(0, 1.8, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1344. end
  1345. attack = false
  1346. hum.WalkSpeed = 10
  1347. end
  1348. function Astigmatism()
  1349. attack = true
  1350. hum.WalkSpeed = 0
  1351. local Ring1 = Instance.new("Part", char)
  1352. Ring1.Anchored = true
  1353. Ring1.BrickColor = maincolor
  1354. Ring1.CanCollide = false
  1355. Ring1.FormFactor = 3
  1356. Ring1.Name = "Ring"
  1357. Ring1.Material = "Neon"
  1358. Ring1.Size = Vector3.new(1, 0.05, 1)
  1359. Ring1.Transparency = 1
  1360. Ring1.TopSurface = 0
  1361. Ring1.BottomSurface = 0
  1362. local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
  1363. Ring1Mesh.MeshType = "Brick"
  1364. Ring1Mesh.Name = "SizeMesh"
  1365. Ring1Mesh.Scale = Vector3.new(0, 1, 0)
  1366. local InnerRing1 = Ring1:Clone()
  1367. InnerRing1.Parent = char
  1368. InnerRing1.Transparency = 0
  1369. InnerRing1.BrickColor = BrickColor.new("New Yeller")
  1370. InnerRing1.Size = Vector3.new(1, 1, 1)
  1371. local InnerRing1Mesh = InnerRing1.SizeMesh
  1372. InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
  1373. InnerRing1Mesh.MeshType = "Sphere"
  1374. Ring1:Destroy()
  1375. for i = 0, 6, 0.1 do
  1376. swait()
  1377. --orb.CFrame = Pupil.CFrame
  1378. 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")
  1379. 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)
  1380. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1381. 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)
  1382. 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)
  1383. 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)
  1384. 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)
  1385. HW.C0 = clerp(HW.C0, CF(0, 3 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1386. end
  1387. InnerRing1.Transparency = 1
  1388. InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 5
  1389. Cso("294188875", char, 2.3, 1)
  1390. local a = IT("Part", char)
  1391. a.Name = "Direction"
  1392. a.Anchored = true
  1393. a.BrickColor = BrickC("Pastel violet")
  1394. a.Material = "SmoothPlastic"
  1395. a.Transparency = 0
  1396. a.Shape = "Cylinder"
  1397. a.CanCollide = false
  1398. local a2 = IT("Part", char)
  1399. a2.Name = "Direction"
  1400. a2.Anchored = true
  1401. a2.BrickColor = maincolor
  1402. a2.Color = maincolor.Color
  1403. a2.Material = "Neon"
  1404. a2.Transparency = 0.7
  1405. a2.Shape = "Cylinder"
  1406. a2.CanCollide = false
  1407. local ba = IT("Part", char)
  1408. ba.Name = "HitDirect"
  1409. ba.Anchored = true
  1410. ba.BrickColor = maincolor
  1411. ba.Material = "Neon"
  1412. ba.Transparency = 1
  1413. ba.CanCollide = false
  1414. local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1415. local ignore = char
  1416. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1417. a.BottomSurface = 10
  1418. a.TopSurface = 10
  1419. a2.BottomSurface = 10
  1420. a2.TopSurface = 10
  1421. local distance = (InnerRing1.CFrame.p - position).magnitude
  1422. a.Size = Vector3.new(distance, 1, 1)
  1423. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1424. a2.Size = Vector3.new(distance, 1, 1)
  1425. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1426. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1427. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1428. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1429. game:GetService("Debris"):AddItem(a, 20)
  1430. game:GetService("Debris"):AddItem(a2, 20)
  1431. game:GetService("Debris"):AddItem(ba, 20)
  1432. local msh = Instance.new("SpecialMesh", a)
  1433. msh.MeshType = "Brick"
  1434. msh.Scale = Vector3.new(1, 5, 5)
  1435. local msh2 = Instance.new("SpecialMesh", a2)
  1436. msh2.MeshType = "Brick"
  1437. msh2.Scale = Vector3.new(1, 7, 7)
  1438. for i = 0, 10, 0.1 do
  1439. swait()
  1440. CameraEnshaking(1, 5)
  1441. a2.Color = maincolor.Color
  1442. root.CFrame = FaceMouse()[1]
  1443. InnerRing1.CFrame = Pupil.CFrame + root.CFrame.lookVector * 4
  1444. ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
  1445. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1446. distance = (InnerRing1.CFrame.p - position).magnitude
  1447. a.Size = Vector3.new(distance, 1, 1)
  1448. a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1449. a2.Size = Vector3.new(distance, 1, 1)
  1450. a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
  1451. ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
  1452. a.CFrame = a.CFrame * angles(0, Rad(90), 0)
  1453. a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
  1454. msh.Scale = msh.Scale - Vector3.new(0, 0.05, 0.05)
  1455. msh2.Scale = msh2.Scale - Vector3.new(0, 0.03, 0.03)
  1456. 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")
  1457. for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
  1458. if v:FindFirstChild("Head") then
  1459. Eviscerate(v)
  1460. end
  1461. end
  1462. end
  1463. a:Destroy()
  1464. a2:Destroy()
  1465. ba:Destroy()
  1466. InnerRing1:Destroy()
  1467. attack = false
  1468. hum.WalkSpeed = 10
  1469. hum.CameraOffset = Vector3.new(0,0,0)
  1470. end
  1471. function EyeThrow()
  1472. attack = true
  1473. hum.WalkSpeed = 3.01
  1474. for i = 0, 6, 0.1 do
  1475. swait()
  1476. 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)
  1477. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1478. 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)
  1479. 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)
  1480. 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)
  1481. 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)
  1482. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1483. end
  1484. local Head01 = Eye:Clone()
  1485. Head01.Parent = char
  1486. Eye.Transparency = 1
  1487. local weldHead01 = IT("Weld")
  1488. weldHead01.Parent = Head01
  1489. weldHead01.Part0 = ra
  1490. weldHead01.Part1 = Head01
  1491. weldHead01.C1 = CF(0, 0, 1.2) * angles(Rad(90), Rad(0), Rad(0))
  1492. for i = 0, 6, 0.1 do
  1493. swait()
  1494. 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)
  1495. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3)
  1496. 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)
  1497. 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)
  1498. 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)
  1499. 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)
  1500. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(20), Rad(0)), 0.1)
  1501. end
  1502. local A = IT("Attachment",Head01)
  1503. A.Position = Vector3.new(-0, 0.2, 0.136)
  1504. local B = IT("Attachment",Head01)
  1505. B.Position = Vector3.new(-0, -0.95, -0.982)
  1506. local Trail = IT("Trail",Head01)
  1507. Trail.Attachment0 = B
  1508. Trail.Attachment1 = A
  1509. Trail.Lifetime = 0.6
  1510. Trail.Transparency = NumberSequence.new(0.5, 1)
  1511. Trail.Texture = "http://www.roblox.com/asset/?id=1472703539"
  1512. Trail.Enabled = true
  1513. weldHead01:Destroy()
  1514. Head01.CanCollide = true
  1515. local bodyVelocity2 = Create("BodyVelocity")({
  1516. velocity = (mouse.Hit.p - Head01.CFrame.p).unit * 165,
  1517. P = 5000,
  1518. maxForce = Vector3.new(8000, 8000, 8000),
  1519. Parent = Head01
  1520. })
  1521. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1522. Head01.Touched:connect(function(hit)
  1523. if(not char:IsAncestorOf(hit))then
  1524. local hum = (hit and hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid')
  1525. local hedder = (hit and hit.Parent and hit.Parent:FindFirstChild'Head')
  1526. if(hum and hedder and hum.Health > 0)then
  1527. Eviscerate(hit.Parent)
  1528. Cso("491296320", hit.Parent.Torso, 10, 1)
  1529. end
  1530. end
  1531. end)
  1532. for i = 0, 2, 0.1 do
  1533. swait()
  1534. 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)
  1535. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.3)
  1536. 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)
  1537. 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)
  1538. 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)
  1539. 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)
  1540. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.2)
  1541. end
  1542. for i = 0, 6, 0.1 do
  1543. swait()
  1544. Eye.Transparency = Eye.Transparency - 0.05
  1545. 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)
  1546. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-40)), 0.2)
  1547. 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)
  1548. 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)
  1549. 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)
  1550. 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)
  1551. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(-40), Rad(0)), 0.1)
  1552. end
  1553. coroutine.resume(coroutine.create(function()
  1554. for i = 0, 1.8, 0.05 do
  1555. swait()
  1556. Head01.Transparency = i
  1557. end
  1558. Head01:Destroy()
  1559. end))
  1560. --Head01:Destory()
  1561. attack = false
  1562. Trail.Enabled = false
  1563. hum.WalkSpeed = 10
  1564. end
  1565. function Call_Upon_The_Eyes()
  1566. attack = true
  1567. hum.WalkSpeed = 0
  1568. for i = 0, 6, 0.1 do
  1569. swait()
  1570. 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)
  1571. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1572. 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)
  1573. 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)
  1574. 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)
  1575. 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)
  1576. HW.C0 = clerp(HW.C0, CF(0, 3.5 + 0.2 * Cos(sine / 20), 0) * angles(Rad(90), Rad(0), Rad(0)), 0.1)
  1577. end
  1578. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1579. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1580. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1581. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1582. CameraEnshaking(4, 25)
  1583. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1584. if v:FindFirstChild("Head") then
  1585. Eviscerate(v)
  1586. end
  1587. end
  1588. for i = 0, 6, 0.1 do
  1589. swait()
  1590. 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)
  1591. neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1592. 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)
  1593. 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)
  1594. 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)
  1595. 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)
  1596. 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)
  1597. end
  1598. attack = false
  1599. hum.WalkSpeed = 10
  1600. end
  1601. function Eyeyeyeyeyeyey_Slammo()
  1602. attack = true
  1603. hum.WalkSpeed = 0
  1604. local Blobby = IT("Part", char)
  1605. Blobby.Name = "Blob"
  1606. Blobby.CanCollide = false
  1607. Blobby.BrickColor = BrickC("Really black")
  1608. Blobby.Transparency = 0
  1609. Blobby.Material = "Plastic"
  1610. Blobby.Size = Vector3.new(1, 1, 2)
  1611. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1612. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1613.  
  1614. local Weld = IT("Weld", Blobby)
  1615. Weld.Part0 = hed
  1616. Weld.Part1 = Blobby
  1617. Weld.C1 = CF(0, -17.6, 1.4)
  1618. Weld.C0 = angles(Rad(0),0,0)
  1619.  
  1620. local M2 = IT("SpecialMesh")
  1621. M2.Parent = Blobby
  1622. M2.MeshId = "http://www.roblox.com/asset/?id=1185246"
  1623. M2.TextureId = "http://www.roblox.com/asset/?id=28301750"
  1624. M2.Scale = Vector3.new(45.65, 45.65, 45.65)
  1625. for i = 0, 6, 0.1 do
  1626. swait()
  1627. 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)
  1628. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1629. 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)
  1630. 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)
  1631. 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)
  1632. 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)
  1633. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1634. end
  1635. Magic(1, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1636. Magic(5, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1637. Magic(10, "Add", root.CFrame * CF(0, -1.9, -20), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1638. for i, v in pairs(FindNearestHead(root.CFrame.p, 25.5)) do
  1639. if v:FindFirstChild("Head") then
  1640. Eviscerate(v)
  1641. end
  1642. end
  1643. CameraEnshaking(4, 25)
  1644. for i = 0, 6, 0.1 do
  1645. swait()
  1646. 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)
  1647. neck.C0 = clerp(neck.C0, necko * CF(0, 0, 1) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1648. 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)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1653. end
  1654. Blobby:Destroy()
  1655. attack = false
  1656. hum.WalkSpeed = 10
  1657. end
  1658. -------------------------------------------------------
  1659. --End Attacks N Stuff--
  1660. -------------------------------------------------------
  1661. mouse.KeyDown:connect(function(key)
  1662. if attack == false then
  1663. if key == 't' then
  1664. Taunt1()
  1665. elseif key == 'y' then
  1666. Taunt2()
  1667. elseif key == 'z' then
  1668. Astigmatism()
  1669. elseif key == 'x' then
  1670. EyeThrow()
  1671. elseif key == 'c' then
  1672. Call_Upon_The_Eyes()
  1673. elseif key == 'v' then
  1674. Eyeyeyeyeyeyey_Slammo()
  1675. end
  1676. end
  1677. end)
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687. -------------------------------------------------------
  1688. --Start Animations--
  1689. -------------------------------------------------------
  1690. while true do
  1691. swait()
  1692. sine = sine + change
  1693. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1694. local velderp = root.Velocity.y
  1695. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1696. if equipped == true or equipped == false then
  1697. if attack == false then
  1698. idle = idle + 1
  1699. else
  1700. idle = 0
  1701. end
  1702. if 1 < root.Velocity.y and hitfloor == nil then
  1703. Anim = "Jump"
  1704. if attack == false then
  1705. 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)
  1706. 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)
  1707. 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)
  1708. 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)
  1709. 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)
  1710. 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)
  1711. end
  1712. elseif -1 > root.Velocity.y and hitfloor == nil then
  1713. Anim = "Fall"
  1714. if attack == false then
  1715. 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)
  1716. 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)
  1717. 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)
  1718. 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)
  1719. 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)
  1720. 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)
  1721. end
  1722. elseif torvel < 1 and hitfloor ~= nil then
  1723. Anim = "Idle"
  1724. change = .5
  1725. if attack == false then
  1726. 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)
  1727. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1728. 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)
  1729. 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)
  1730. 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)
  1731. 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)
  1732. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1733. end
  1734. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1735. Anim = "Walk"
  1736. change = 1
  1737. if attack == false then
  1738. 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)
  1739. 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)
  1740. 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)
  1741. 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)
  1742. 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)
  1743. 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)
  1744. HW.C0 = clerp(HW.C0, CF(0, 2 + 0.2 * Cos(sine / 20), 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1745. end
  1746. elseif torvel >= 25 and hitfloor ~= nil then
  1747. Anim = "Sprint"
  1748. change = 1.35
  1749. if attack == false then
  1750. 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)
  1751. 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)
  1752. 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)
  1753. 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)
  1754. 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)
  1755. 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)
  1756. end
  1757. end
  1758. end
  1759. for _, c in pairs(char:GetChildren()) do
  1760. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1761. --c.Material = "Fabric"
  1762. if c:FindFirstChildOfClass("ParticleEmitter") then
  1763. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1764. end
  1765. if c ~= hed then
  1766. --c.Color = C3(0,0,0)
  1767. else
  1768. c.Color = Color3.new(1,1,1)
  1769. end
  1770. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1771. c:remove()
  1772. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1773. c:remove()
  1774. end
  1775. end
  1776. Music.SoundId = "rbxassetid://"..SONG
  1777. Music.Looped = true
  1778. Music.Pitch = 1
  1779. Music.Volume = 5
  1780. Music.Parent = tors
  1781. Music:Resume()
  1782. if 0 < #Effects then
  1783. for e = 1, #Effects do
  1784. if Effects[e] ~= nil then
  1785. local Thing = Effects[e]
  1786. if Thing ~= nil then
  1787. local Part = Thing[1]
  1788. local Mode = Thing[2]
  1789. local Delay = Thing[3]
  1790. local IncX = Thing[4]
  1791. local IncY = Thing[5]
  1792. local IncZ = Thing[6]
  1793. if 1 >= Thing[1].Transparency then
  1794. if Thing[2] == "Block1" then
  1795. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1796. local Mesh = Thing[1].Mesh
  1797. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1798. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1799. elseif Thing[2] == "Block2" then
  1800. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1801. local Mesh = Thing[7]
  1802. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1803. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1804. elseif Thing[2] == "Block3" then
  1805. 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)
  1806. local Mesh = Thing[7]
  1807. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1808. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1809. elseif Thing[2] == "Cylinder" then
  1810. local Mesh = Thing[1].Mesh
  1811. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1812. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1813. elseif Thing[2] == "Blood" then
  1814. local Mesh = Thing[7]
  1815. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1816. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1817. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1818. elseif Thing[2] == "Elec" then
  1819. local Mesh = Thing[1].Mesh
  1820. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1821. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1822. elseif Thing[2] == "Disappear" then
  1823. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1824. elseif Thing[2] == "Shatter" then
  1825. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1826. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1827. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1828. Thing[6] = Thing[6] + Thing[5]
  1829. end
  1830. else
  1831. Part.Parent = nil
  1832. table.remove(Effects, e)
  1833. end
  1834. end
  1835. end
  1836. end
  1837. end
  1838. end
  1839. -------------------------------------------------------
  1840. --End Animations And Script--
  1841. -------------------------------------------------------
  1842.  
  1843. ---[[mediafire]]---
  1844.  
  1845. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1846. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  1847. do
  1848. print("FE Compatibility code by Mokiros")
  1849. script.Parent = Player.Character
  1850.  
  1851. --RemoteEvent for communicating
  1852. local Event = Instance.new("RemoteEvent")
  1853. Event.Name = "UserInput_Event"
  1854.  
  1855. --Fake event to make stuff like Mouse.KeyDown work
  1856. local function fakeEvent()
  1857. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  1858. t.connect = t.Connect
  1859. return t
  1860. end
  1861.  
  1862. --Creating fake input objects with fake variables
  1863. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1864. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1865. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  1866. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  1867. end}
  1868. --Merged 2 functions into one by checking amount of arguments
  1869. CAS.UnbindAction = CAS.BindAction
  1870.  
  1871. --This function will trigger the events that have been :Connect()'ed
  1872. local function te(self,ev,...)
  1873. local t = m[ev]
  1874. if t and t._fakeEvent and t.Function then
  1875. t.Function(...)
  1876. end
  1877. end
  1878. m.TrigEvent = te
  1879. UIS.TrigEvent = te
  1880.  
  1881. Event.OnServerEvent:Connect(function(plr,io)
  1882. if plr~=Player then return end
  1883. if io.isMouse then
  1884. m.Target = io.Target
  1885. m.Hit = io.Hit
  1886. else
  1887. local b = io.UserInputState == Enum.UserInputState.Begin
  1888. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  1889. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  1890. end
  1891. for _,t in pairs(CAS.Actions) do
  1892. for _,k in pairs(t.Keys) do
  1893. if k==io.KeyCode then
  1894. t.Function(t.Name,io.UserInputState,io)
  1895. end
  1896. end
  1897. end
  1898. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  1899. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  1900. end
  1901. end)
  1902. Event.Parent = NLS([==[
  1903. local Player = game:GetService("Players").LocalPlayer
  1904. local Event = script:WaitForChild("UserInput_Event")
  1905.  
  1906. local UIS = game:GetService("UserInputService")
  1907. local input = function(io,a)
  1908. if a then return end
  1909. --Since InputObject is a client-side instance, we create and pass table instead
  1910. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  1911. end
  1912. UIS.InputBegan:Connect(input)
  1913. UIS.InputEnded:Connect(input)
  1914.  
  1915. local Mouse = Player:GetMouse()
  1916. local h,t
  1917. --Give the server mouse data 30 times every second, but only if the values changed
  1918. --If player is not moving their mouse, client won't fire events
  1919. while wait(1/30) do
  1920. if h~=Mouse.Hit or t~=Mouse.Target then
  1921. h,t=Mouse.Hit,Mouse.Target
  1922. Event:FireServer({isMouse=true,Target=t,Hit=h})
  1923. end
  1924. end]==],Player.Character)
  1925. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1926. end
  1927.  
  1928. player = owner
  1929. char = player.Character
  1930. name = "Hat"
  1931. m = Instance.new("Model",char) m.Name = "clowe"
  1932. local originalsubject = Workspace.CurrentCamera.CameraSubject
  1933. function upd()
  1934. torso = char.Torso
  1935. holding = false
  1936. shoulder = nil
  1937. body = {["Head"] = char.Head,["Torso"] = char.Torso}
  1938. body.A = {["R"] = char["Right Arm"], ["L"] = char["Left Arm"]}
  1939. body.L = {["R"] = char["Right Leg"], ["L"] = char["Left Leg"]}
  1940. end
  1941. upd()
  1942.  
  1943.  
  1944. ------TOOOOOLS------
  1945. T = {["P"] = function(x,y,z,color,transparency,cancollide,anchored,parent)
  1946. c = Instance.new("Part",m)
  1947. c.TopSurface,c.BottomSurface = 0,0
  1948. c.formFactor = "Custom"
  1949. c.Size = Vector3.new(x,y,z)
  1950. c.BrickColor = BrickColor.new(color)
  1951. c.Transparency = transparency
  1952. c.CanCollide = cancollide
  1953. if anchored ~= nil then c.Anchored = anchored end
  1954. if parent ~= nil then c.Parent = parent end
  1955. return c
  1956.  
  1957. end
  1958. ,
  1959. ["R"] = function(part,x,y,z)
  1960. if part == "lleg" then
  1961. legw[1].C1 = CFrame.new(.5,-1.5,0)*ang(x,y,z)
  1962. elseif part == "rleg" then
  1963. legw[2].C1 = CFrame.new(-.5,-1.5,0)*ang(x,y,z)
  1964. elseif part == "larm" then
  1965. armw[1].C1 = CFrame.new(1.5,.5,0)*ang(x,y,z)
  1966. elseif part == "rarm" then
  1967. armw[2].C1 = CFrame.new(-1.5,.5,0)*ang(x,y,z)
  1968. end
  1969. end
  1970. ,
  1971. ["C"] = function(func) coroutine.resume(coroutine.create(func)) end
  1972. ,
  1973. ["W"] = function(part0,part1,x,y,z,rx,ry,rz)
  1974. w = Instance.new("Weld",m)
  1975. w.Part0,w.Part1 = part0,part1
  1976. w.C1 = CFrame.new(x,y,z) * CFrame.Angles(rx,ry,rz)
  1977. return w
  1978. end
  1979. ,
  1980. ["BG"] = function(parent)
  1981. local c = Instance.new("BodyGyro",parent)
  1982. c.P = 20e+003
  1983. c.cframe = parent.CFrame
  1984. c.maxTorque = Vector3.new(c.P,c.P,c.P)
  1985. return c
  1986. end
  1987. ,
  1988. ["BP"] = function(parent,position)
  1989. local bp = Instance.new("BodyPosition",parent)
  1990. bp.maxForce = Vector3.new()*math.huge
  1991. bp.position = position
  1992. return bp
  1993. end
  1994. ,
  1995. ["F"] = function(parent,size,heat,color,secondcolor,enabled)
  1996. f = Instance.new("Fire",parent)
  1997. f.Size = size
  1998. f.Heat = heat
  1999. if enabled ~= nil then f.Enabled = enabled end
  2000. if color ~= nil then f.Color = BrickColor.new(color).Color end
  2001. if secondcolor ~= nil then f.SecondaryColor = BrickColor.new(secondcolor).Color end
  2002. return f
  2003. end
  2004. ,
  2005. ["Track"] = function(bol,obj,s,t,lt,color,fade)
  2006. bol = true
  2007. coroutine.resume(coroutine.create(function()
  2008. while bol do
  2009. old = obj.Position
  2010. wait()
  2011. new = obj.Position
  2012.  
  2013. mag = (old-new).magnitude
  2014. dist = (old+new)/2
  2015.  
  2016. local ray = T.P(s,mag+.2,s,obj.Color,t,false,true)
  2017. Instance.new("CylinderMesh",ray)
  2018. ray.CFrame = CFrame.new(dist,old)*ang(math.pi/2,0,0)
  2019. if fade ~= nil then
  2020. delay(lt,function()
  2021. for i = t,1,fade do wait() ray.Transparency = i end ray:Remove() end)
  2022. else
  2023. game:GetService("Debris"):AddItem(ray,lt)
  2024. end
  2025. if color ~= nil then ray.BrickColor = BrickColor.new(color) end
  2026.  
  2027. end
  2028. end)) end,
  2029.  
  2030.  
  2031. ["D"] = function(hit) if hit.Parent:findFirstChild("Humanoid") then h=hit.Parent.Humanoid h.Health = h.Health -dmg end end
  2032. ,
  2033. ["FM"] = function(parent,meshid,x,y,z,meshtexture)
  2034. if meshid == "cylinder" then
  2035. mesh = Instance.new("CylinderMesh",parent)
  2036. mesh.Scale = Vector3.new(x,y,z)
  2037. return mesh
  2038. else
  2039. mesh = Instance.new("SpecialMesh",parent)
  2040.  
  2041. if meshid ~= "sphere" then
  2042. if type(meshid) == "number" then mesh.MeshId = "rbxassetid://"..meshid else
  2043. mesh.MeshId = "rbxassetid://"..meshids[meshid]
  2044. end
  2045.  
  2046. else mesh.MeshType = 3 end
  2047.  
  2048. mesh.Scale = Vector3.new(x,y,z)
  2049.  
  2050. if meshtexture ~= nil then
  2051. if type(meshtexture) == "number" then mesh.TextureId = "rbxassetid://"..meshtexture else
  2052. mesh.TextureId = "rbxassetid://"..textureids[meshtexture] end
  2053.  
  2054. end
  2055.  
  2056. return mesh
  2057. end
  2058. end
  2059. }
  2060. --------------------------------------------------
  2061. pcall(function() char:FindFirstChild("Suit"):remove() end)
  2062. suit = Instance.new("Model",m) suit.Name = "Suit"
  2063. function damage(hit,amount,show,del)
  2064. for i,v in pairs(hit:GetChildren()) do
  2065. if v:IsA("Humanoid") and v.Parent ~= char then
  2066.  
  2067. amo = 0
  2068. function showa(p)
  2069. if show == true then
  2070. for i,o in pairs(p:GetChildren()) do
  2071. if o:IsA("BillboardGui") and o.Name == "satuttava" then
  2072. amo = amo+1
  2073. end end
  2074.  
  2075.  
  2076. local bbg = Instance.new("BillboardGui",p)
  2077. bbg.Adornee = p.Torso
  2078. bbg.Name = "satuttava"
  2079. bbg.Size = UDim2.new(2,0,2,0)
  2080. bbg.StudsOffset = Vector3.new(0,6+amo*2,0)
  2081.  
  2082. local box = Instance.new("TextLabel",bbg)
  2083. box.Size = UDim2.new(1,0,1,0)
  2084. box.BackgroundColor = BrickColor.new("White")
  2085. box.Text = amount
  2086. box.Position = UDim2.new(0,0,0,0)
  2087. box.TextScaled = true
  2088. game:GetService("Debris"):AddItem(bbg,.5)
  2089. end
  2090. end
  2091.  
  2092. if del ~= nil then
  2093. local find = v.Parent:FindFirstChild("hitted")
  2094. if find == nil then
  2095. v.Health=v.Health - amount
  2096. showa(v.Parent)
  2097. val = Instance.new("BoolValue",v.Parent)val.Name="hitted"
  2098. game:GetService("Debris"):AddItem(val,del)
  2099. end
  2100. elseif del == nil then
  2101. v.Health = v.Health - amount
  2102. showa(v.Parent)
  2103.  
  2104. end
  2105.  
  2106. end
  2107. end
  2108. end
  2109.  
  2110. meshids = {["penguin"] = 15853464, ["ring"] = 3270017,
  2111. ["spike"] = 1033714,["cone"] = 1082802,["crown"] = 20329976,["crossbow"] = 15886761,
  2112. ["cloud"] = 1095708,["mjolnir"] = 1279013,["diamond"] = 9756362, ["hand"] = 37241605,
  2113. ["fist"] = 65322375,["skull"] = 36869983,["totem"] = 35624068,["spikeb"] = 9982590,["dragon"] = 58430372,["fish"] = 31221717, ["coffee"] = 15929962,["spiral"] = 1051557,
  2114. ["ramen"] = 19380188}---some meshids
  2115. textureids = {["cone"] = 1082804,["rainbow"] = 28488599,["fish"] = 31221733, ["coffee"] = 24181455,["monster"] = 33366441,["ramen"] = 19380153}
  2116.  
  2117. cfn,ang = CFrame.new,CFrame.Angles
  2118. v3n = Vector3.new
  2119.  
  2120. ---MATH SHORTENINGS---
  2121. M = {["R"] = function(a,b) return math.random(a,b) end,
  2122. ["Cos"] = function(a) return math.cos(a) end,
  2123. ["Sin"] = function(a) return math.sin(a) end,
  2124. ["D"] = function(a) return math.rad(a) end
  2125. }
  2126. holding = false
  2127.  
  2128. function explode()
  2129. e = Instance.new("Explosion",Workspace)
  2130. e.Position = torso.Position
  2131. e.BlastPressure = 0
  2132. e.Hit:connect(function(hit) damage(hit.Parent,5,true) end)
  2133. end
  2134.  
  2135.  
  2136. function fire()
  2137. p = T.P(1,1,1,"Deep blue",0,false,false,suit)
  2138. p2 = T.P(1,1,1,"Deep blue",0,false,false,suit)
  2139.  
  2140. stick = T.P(.5,2,.5,"Nougat",0,false,false,suit)
  2141. T.FM(stick,"cylinder",1,1,1)
  2142. T.W(stick,body.Head,0,1,0,0,0,0)
  2143.  
  2144. spike = T.P(3,1,3,"White",0,false,false,suit)
  2145. T.FM(spike,"spike",3,1,3)
  2146. T.W(spike,stick,0,.8,0,0,0,0)
  2147.  
  2148. r = -2
  2149. for i = 20,360+20,360/5 do
  2150.  
  2151. skull = T.P(1,1,1,"Black",0,false,false,suit)
  2152. T.FM(skull,"skull",.5,.5,.5)
  2153.  
  2154. T.W(skull,spike,M.Cos(M.D(i))*r,.15,M.Sin(M.D(i))*r,M.D(-20),0,0)
  2155.  
  2156. end
  2157. r = 5
  2158. for i = 1,360,3 do
  2159. c = T.P(.5,.5,.5,"Magenta",0,false,false,suit)
  2160.  
  2161. T.W(c,torso,M.Cos(M.D(i))*r,M.Sin(i*100/3),M.Sin(M.D(i))*r,0,0,0)
  2162. if M.Sin(i*100/3) > .85 then T.F(c,1,1,"White","New Yeller") end
  2163. end
  2164.  
  2165. T.FM(p,"diamond",1,1,1)
  2166. T.FM(p2,"diamond",1,1,1)
  2167. T.F(p,2,1,"Magenta","Olive")
  2168. T.F(p2,2,1,"Magenta","Olive")
  2169.  
  2170. T.W(p,body.A.R,0,-1,0,0,0,0)
  2171. T.W(p2,body.A.L,0,-1,0,0,0,0)
  2172. end
  2173.  
  2174. function pillars(mouse)
  2175. r = 5
  2176. local pos = cfn(mouse.hit.p)
  2177. local tar = mouse.Target
  2178. for i = 1,360,15 do
  2179. wait()
  2180. local c = T.P(2,.5,2,"Magenta",.3,true,true)
  2181. c.Size = v3n(2,20+M.Sin(i*300/15),2)
  2182. T.FM(c,"cylinder",1,1,1)
  2183. c.CFrame = pos*cfn(M.Cos(M.D(i))*r,0,M.Sin(M.D(i))*r) + v3n(0,c.Size.y/2,0)
  2184. end
  2185.  
  2186. end
  2187.  
  2188. function plague(mouse)
  2189. local touching = false
  2190. c = T.P(50,.1,50,"White",1,false,true)
  2191. c.CFrame = cfn(mouse.hit.p)
  2192. c.Name = "plague"
  2193.  
  2194. local dec = Instance.new("Decal",c)
  2195. dec.Face = "Top"
  2196. dec.Texture = 'http://www.roblox.com/asset/?id=23862105'
  2197. dec.Transparency = 1
  2198. for i = 1,0,-.05 do
  2199. wait()
  2200. dec.Transparency = i
  2201. end
  2202. c.Touched:connect(function(hit)
  2203. damage(hit.Parent,10,true,.05)
  2204. end)
  2205.  
  2206. end
  2207.  
  2208. ---GUI---
  2209. gui = Instance.new("ScreenGui")
  2210.  
  2211. mfr = Instance.new("Frame",gui)
  2212. mfr.Size = UDim2.new(.2,0,.2,0)
  2213. mfr.Position = UDim2.new(0,0,.5,0)
  2214. fr = Instance.new("Frame",mfr)
  2215. fr.Size = UDim2.new(.8,0,.8,0)
  2216. fr.BackgroundColor = BrickColor.new("Earth green")
  2217. fr.ClipsDescendants = true
  2218. fr.Position = UDim2.new(0,0,.1,0)
  2219.  
  2220. center = UDim2.new(.5,0,.5,0)
  2221. dist = 100
  2222.  
  2223. lista = Instance.new("Frame",mfr)
  2224. lista.Size = UDim2.new(.2,0,.9,0)
  2225. lista.Position = UDim2.new(.8,0,0,0)
  2226.  
  2227. inf = Instance.new("TextLabel",mfr)
  2228. inf.Size = UDim2.new(1,0,.1,0)
  2229.  
  2230. torp = Instance.new("Frame",fr)
  2231. torp.Size = UDim2.new(.1,0,.1,0)
  2232. torp.Position = center
  2233. torp.BackgroundColor = BrickColor.new("Deep blue")
  2234.  
  2235. T.C(function()
  2236. while wait() do
  2237. wait()
  2238. poa = torso.Position
  2239. for _,v in pairs(fr:GetChildren()) do if v ~= torp then v:Remove() end end
  2240. for _,v in pairs(lista:GetChildren()) do v:Remove() end
  2241. for i,v in pairs(clowns) do
  2242.  
  2243. local b = Instance.new("TextLabel",fr)
  2244. b.Size = UDim2.new(.05,0,.05,0)
  2245. b.Position = UDim2.new(center.X.Scale + (v.Torso.Position.x-poa.x)/dist/2+.025,0,center.Y.Scale+(v.Torso.Position.z-poa.z)/dist/2+.025,0)
  2246. b.TextScaled = true
  2247. b.Text = 'C'..i
  2248.  
  2249. o = 1/#clowns
  2250. opfr = Instance.new("Frame",lista)
  2251. opfr.Size = UDim2.new(1,0,o,0)
  2252. opfr.BackgroundColor = BrickColor.new("White")
  2253. opfr.Position = UDim2.new(0,0,-o,0) + UDim2.new(0,0,o*i,0)
  2254. local b2 = Instance.new("TextButton",opfr)
  2255. b2.Size = UDim2.new(.5,0,1,0)
  2256. b2.Text = "C"..i
  2257. b2.BackgroundTransparency = 1
  2258. b2.BackgroundColor = BrickColor.new("White")
  2259. b2.TextScaled = true
  2260.  
  2261. b3 = b2:Clone()
  2262. b3.Parent = opfr
  2263. b3.Position = UDim2.new(.5,0,0,0)
  2264. b3.Text = "T"
  2265. b2.MouseButton1Down:connect(function() Workspace.CurrentCamera.CameraSubject = v.Humanoid
  2266. Workspace.CurrentCamera.CameraType = 4 end)
  2267. b3.MouseButton1Down:connect(function() char:MoveTo(v.Torso.Position) end)
  2268.  
  2269. end
  2270.  
  2271.  
  2272.  
  2273. for i,v in pairs(clowns) do
  2274. if player.PlayerGui:FindFirstChild("C"..i) == nil then
  2275. bbg = Instance.new("BillboardGui",player.PlayerGui)
  2276. bbg.Name = "C"..i
  2277. bbg.Adornee = v.Torso
  2278. bbg.StudsOffset = v3n(0,5,0)
  2279. bbg.Size = UDim2.new(2,0,2,0)
  2280.  
  2281. lab = Instance.new("TextLabel",bbg)
  2282. lab.Size = UDim2.new(1,0,1,0)
  2283. lab.BackgroundTransparency = 1
  2284. lab.FontSize = 6
  2285.  
  2286. lab.Text = 'C'..i
  2287. end
  2288. end
  2289. end
  2290. end)
  2291.  
  2292. resetbut = Instance.new("TextButton",mfr)
  2293. resetbut.Size = UDim2.new(1,0,.1,0)
  2294. resetbut.Position = UDim2.new(0,0,.9,0)
  2295. resetbut.Text = "RESET"
  2296. resetbut.TextScaled = true
  2297. resetbut.MouseButton1Down:connect(function()Workspace.CurrentCamera.CameraSubject = originalsubject Workspace.CurrentCamera.CameraType = 5 plae = nil end)
  2298.  
  2299. -------
  2300.  
  2301. function point(mouse)
  2302. if char ~= player.Character then char = player.Character upd()
  2303. elseif char == player.Character then
  2304. if mouse.Target ~= nil then
  2305. laz = T.P(1,1,1,"Deep blue",0,false,true)
  2306. T.C(function()
  2307. while true do
  2308. for i = 0,.5,.05 do
  2309. wait()
  2310. laz.Transparency = i
  2311. end
  2312. for i = .5,0,-.05 do
  2313. wait()
  2314. laz.Transparency = i
  2315. end
  2316. end
  2317. end)
  2318. T.FM(laz,"cylinder",1,1,1)
  2319. holding = true
  2320. while holding do
  2321. wait()
  2322. if mouse.Target ~= nil then
  2323. mag = (mouse.hit.p-torso.Position).magnitude
  2324. laz.Size = v3n(1,mag,1)
  2325. laz.CFrame = (cfn(torso.Position,mouse.hit.p)*cfn(0,0,-mag/2))*ang(math.pi/2,0,0)
  2326. end
  2327. end
  2328. laz:Remove()
  2329.  
  2330. local tar = mouse.Target
  2331. if tar.Parent:FindFirstChild("Humanoid") ~= nil then
  2332. char = tar.Parent
  2333. upd()
  2334. end
  2335.  
  2336. end
  2337. end
  2338. end
  2339.  
  2340. flbp = nil
  2341.  
  2342. function levitate()
  2343. if flbp == nil then
  2344. flbp = T.BP(torso,torso.Position)
  2345. elseif flbp ~= nil then
  2346. flbp:Remove() flbp = nil
  2347. end
  2348. end
  2349.  
  2350. clowns = {}
  2351. function decoy(a)
  2352. if a == 1 then
  2353. char.Archivable = true
  2354. local clown = char:Clone()
  2355. clown.Parent = Workspace
  2356.  
  2357. clown.Humanoid.Died:connect(function() clown:Remove() end)
  2358. Workspace.ChildRemoved:connect(function(child) if child == clown then for i,v in pairs(clowns) do if v == clown then table.remove(clowns,i) end end end end)
  2359. for i,v in pairs(clown["clowe"]:GetChildren()) do
  2360. if v.Name ~= "Suit" and v.className ~= "Weld" then
  2361. v:Remove()
  2362. end
  2363. end
  2364. table.insert(clowns,clown)
  2365. char.Archivable = false
  2366. elseif a == 0 then
  2367. for i,v in pairs(clowns) do v:Remove() end
  2368. end
  2369. end
  2370.  
  2371. function dragon(mouse)
  2372. local wp = mouse.hit.p
  2373. local tp = torso.Position
  2374. unit = (tp-wp).unit*-1
  2375. hed = T.P(10,10,10,"Magenta",.5,false,true)
  2376. hed.Name = "dragon"
  2377. hed.Touched:connect(function(hit) damage(hit.Parent,50,true,.5) end)
  2378. T.FM(hed,"dragon",10,10,10)
  2379. pos = cfn(tp) + unit*5 + v3n(0,-2,0)
  2380. pos2 = cfn(pos.p,wp)
  2381. for i = 5,10 do
  2382. wait()
  2383. hed.CFrame = (pos2 + unit * i) + v3n(0,i,0)
  2384. end
  2385. end
  2386.  
  2387. function fly(mouse)
  2388. if flbp ~= nil and holding == false then
  2389. holding = true
  2390. while holding do
  2391. wait()
  2392. flbp.position = torso.Position + (torso.Position-mouse.hit.p).unit*-10
  2393. end
  2394.  
  2395. end
  2396. end
  2397.  
  2398. function hide()
  2399. local namn = hop.Name
  2400. if char.Parent ~= Workspace.CurrentCamera then
  2401. char.Parent = Workspace.CurrentCamera
  2402. hop.Name = name..'(Invisible)'
  2403. elseif char.Parent == Workspace.CurrentCamera then
  2404. char.Parent = Workspace
  2405. hop.Name = name
  2406. end
  2407. end
  2408.  
  2409. function clear()
  2410. for i,v in pairs(m:GetChildren()) do
  2411. if v.className ~= "Weld" and v.Name ~= "Suit" then
  2412. v:Remove()
  2413. end
  2414. end
  2415. end
  2416.  
  2417. chage = false
  2418. klist = {
  2419. {"r",function(a) plague(a) end},
  2420. {"e",function(a) point(a) end,true},
  2421. {"q",function() levitate() end},
  2422. {"f",function(a) fly(a) end,true},
  2423. {"v",function() hide() end},
  2424. {"c",function(a) dragon(a) end},
  2425. {"x",function() decoy(1) end},{"z",function() decoy(0) end},
  2426. {"h",function() clear() end},
  2427. {string.char(48), function() explode() end},
  2428. {"g",function() if gui.Parent ~= nil then gui.Parent = nil elseif gui.Parent == nil then gui.Parent = player.PlayerGui end end},
  2429. {"n",function() if chage == true then chage = false char = Workspace.CurrentCamera.CameraSubject.Parent elseif chage == false then chage = true char = player.Character end end}
  2430. }
  2431.  
  2432. fire()
  2433. hop = Instance.new("HopperBin",player.Backpack)
  2434. hop.Name = name
  2435. hop.Selected:connect(function(mouse)
  2436. mouse.Button1Down:connect(function() pillars(mouse) end)
  2437. mouse.KeyDown:connect(function(key)
  2438. for i,v in pairs(klist) do
  2439. if key == v[1] then v[2](mouse) end
  2440. end
  2441. end)
  2442. mouse.KeyUp:connect(function(a) for i,v in pairs(klist) do if a == v[1] and v[3] ~= nil then holding = false end end upd() end)
  2443. end)
  2444.  
  2445. player.Character.Humanoid.Died:connect(function() Workspace.CurrentCamera:ClearAllChildren() end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement