Advertisement
gecksad

Untitled

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