Advertisement
StarzoZero

pepi man

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