Advertisement
Dark_AJ1

eyo

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