Advertisement
Christoffer07700Extr

idk

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