Advertisement
Acc_kili

Untitled

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