JacksoMykalJunior

Untitled

Feb 24th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.60 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local Mouse = Player:GetMouse()
  67. local UIS = game:GetService("UserInputService")
  68. local input = function(io,a)
  69. if a then return end
  70. --Since InputObject is a client-side instance, we create and pass table instead
  71. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75.  
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then return s[k] end
  95. end,
  96. __newindex = function(self,k,v)
  97. local s = rawget(self,"_RealService")
  98. if s then s[k]=v end
  99. end,
  100. __call = function(self,...)
  101. local s = rawget(self,"_RealService")
  102. if s then return s(...) end
  103. end
  104. }
  105. local function FakeService(t,RealService)
  106. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  107. return setmetatable(t,fsmt)
  108. end
  109.  
  110. --Fake game object
  111. local g = {
  112. GetService = function(self,s)
  113. return self[s]
  114. end,
  115. Players = FakeService({
  116. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  117. },"Players"),
  118. UserInputService = FakeService(UIS,"UserInputService"),
  119. ContextActionService = FakeService(CAS,"ContextActionService"),
  120. }
  121. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  122. g.service = g.GetService
  123.  
  124. g.RunService = FakeService({
  125. RenderStepped = _rg:GetService("RunService").Heartbeat,
  126. BindToRenderStep = function(self,name,_,fun)
  127.  
  128. end,
  129. UnbindFromRenderStep = function(self,name)
  130. self._btrs[name]:Disconnect()
  131. end,
  132. },"RunService")
  133.  
  134. setmetatable(g,{
  135. __index=function(self,s)
  136. return _rg:GetService(s) or typeof(_rg[s])=="function"
  137. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  138. end,
  139. __newindex = fsmt.__newindex,
  140. __call = fsmt.__call
  141. })
  142. --Changing owner to fake player object to support owner:GetMouse()
  143. game,owner = g,g.Players.LocalPlayer
  144. end
  145. Player = game:GetService("Players").LocalPlayer
  146. PlayerGui = Player.PlayerGui
  147. Cam = workspace.CurrentCamera
  148. Backpack = Player.Backpack
  149. Character = Player.Character
  150. Humanoid = Character.Humanoid
  151. Mouse = Player:GetMouse()
  152. RootPart = Character["HumanoidRootPart"]
  153. Torso = Character["Torso"]
  154. Head = Character["Head"]
  155. RightArm = Character["Right Arm"]
  156. LeftArm = Character["Left Arm"]
  157. RightLeg = Character["Right Leg"]
  158. LeftLeg = Character["Left Leg"]
  159. RootJoint = RootPart["RootJoint"]
  160. Neck = Torso["Neck"]
  161. RightShoulder = Torso["Right Shoulder"]
  162. LeftShoulder = Torso["Left Shoulder"]
  163. RightHip = Torso["Right Hip"]
  164. LeftHip = Torso["Left Hip"]
  165. local TIME = 0
  166. local sick = Instance.new("Sound",Torso)
  167.  
  168. IT = Instance.new
  169. CF = CFrame.new
  170. VT = Vector3.new
  171. RAD = math.rad
  172. C3 = Color3.new
  173. UD2 = UDim2.new
  174. BRICKC = BrickColor.new
  175. ANGLES = CFrame.Angles
  176. EULER = CFrame.fromEulerAnglesXYZ
  177. COS = math.cos
  178. ACOS = math.acos
  179. SIN = math.sin
  180. ASIN = math.asin
  181. ABS = math.abs
  182. MRANDOM = math.random
  183. FLOOR = math.floor
  184.  
  185. --//=================================\\
  186. --|| USEFUL VALUES
  187. --\\=================================//
  188.  
  189. Animation_Speed = 3
  190. local FORCERESET = false
  191. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  192. local Speed = 16
  193. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  194. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  195. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  196. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  197. local DAMAGEMULTIPLIER = 1
  198. local ANIM = "Idle"
  199. local ATTACK = false
  200. local EQUIPPED = false
  201. local HOLD = false
  202. local COMBO = 1
  203. local Rooted = false
  204. local SINE = 0
  205. local KEYHOLD = false
  206. local CHANGE = 2 / Animation_Speed
  207. local WALKINGANIM = false
  208. local VALUE1 = false
  209. local VALUE2 = false
  210. local ROBLOXIDLEANIMATION = IT("Animation")
  211. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  212. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  213. --ROBLOXIDLEANIMATION.Parent = Humanoid
  214. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  215. WEAPONGUI.Name = "BanishV3Gui"
  216. local Weapon = IT("Model")
  217. Weapon.Name = "Adds"
  218. local Effects = IT("Folder", Weapon)
  219. Effects.Name = "Effects"
  220. local ANIMATOR = Humanoid.Animator
  221. local ANIMATE = Character:FindFirstChild("Animate")
  222. local UNANCHOR = true
  223. local TOBANISH = {}
  224. script.Parent = PlayerGui
  225.  
  226. --//=================================\\
  227. --\\=================================//
  228.  
  229.  
  230. --//=================================\\
  231. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  232. --\\=================================//
  233.  
  234. ArtificialHB = Instance.new("BindableEvent", script)
  235. ArtificialHB.Name = "ArtificialHB"
  236.  
  237. script:WaitForChild("ArtificialHB")
  238.  
  239. frame = Frame_Speed
  240. tf = 0
  241. allowframeloss = false
  242. tossremainder = false
  243. lastframe = tick()
  244. script.ArtificialHB:Fire()
  245.  
  246. game:GetService("RunService").Heartbeat:connect(function(s, p)
  247. tf = tf + s
  248. if tf >= frame then
  249. if allowframeloss then
  250. script.ArtificialHB:Fire()
  251. lastframe = tick()
  252. else
  253. for i = 1, math.floor(tf / frame) do
  254. script.ArtificialHB:Fire()
  255. end
  256. lastframe = tick()
  257. end
  258. if tossremainder then
  259. tf = 0
  260. else
  261. tf = tf - frame * math.floor(tf / frame)
  262. end
  263. end
  264. end)
  265.  
  266. --//=================================\\
  267. --\\=================================//
  268.  
  269. local plr = game:service'Players'.LocalPlayer
  270. print('Local User is '..plr.Name)
  271. print('Bird rest has Loaded')
  272. print('Q Speed')
  273. print('E')
  274. print('R')
  275. print('T')
  276. print('F')
  277. print('G')
  278. local char = plr.Character
  279. local hum = char.Humanoid
  280. local hed = char.Head
  281. local root = char.HumanoidRootPart
  282. local rootj = root.RootJoint
  283. local tors = char.Torso
  284. local ra = char["Right Arm"]
  285. local la = char["Left Arm"]
  286. local rl = char["Right Leg"]
  287. local ll = char["Left Leg"]
  288. local neck = tors["Neck"]
  289. local mouse = plr:GetMouse()
  290. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  291. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  292. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  293. local maincolor = BrickColor.new("Institutional white")
  294. ------------------
  295. --Start Good Stuff--
  296. -------------------------------------------------------
  297. cam = game.Workspace.CurrentCamera
  298. CF = CFrame.new
  299. angles = CFrame.Angles
  300. attack = false
  301. Euler = CFrame.fromEulerAnglesXYZ
  302. Rad = math.rad
  303. IT = Instance.new
  304. BrickC = BrickColor.new
  305. Cos = math.cos
  306. Acos = math.acos
  307. Sin = math.sin
  308. Asin = math.asin
  309. Abs = math.abs
  310. Mrandom = math.random
  311. Floor = math.floor
  312. -------------------------------------------------------
  313. --End Good Stuff--
  314. -------------------------------------------------------
  315. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  316. RSH, LSH = nil, nil
  317. RW = Instance.new("Weld")
  318. LW = Instance.new("Weld")
  319. RH = tors["Right Hip"]
  320. LH = tors["Left Hip"]
  321. RSH = tors["Right Shoulder"]
  322. LSH = tors["Left Shoulder"]
  323. RSH.Parent = nil
  324. LSH.Parent = nil
  325. RW.Name = "RW"
  326. RW.Part0 = tors
  327. RW.C0 = CF(1.5, 0.5, 0)
  328. RW.C1 = CF(0, 0.5, 0)
  329. RW.Part1 = ra
  330. RW.Parent = tors
  331. LW.Name = "LW"
  332. LW.Part0 = tors
  333. LW.C0 = CF(-1.5, 0.5, 0)
  334. LW.C1 = CF(0, 0.5, 0)
  335. LW.Part1 = la
  336. LW.Parent = tors
  337. Effects = {}
  338. -------------------------------------------------------
  339. --Start HeartBeat--
  340. -------------------------------------------------------
  341. ArtificialHB = Instance.new("BindableEvent", script)
  342. ArtificialHB.Name = "Heartbeat"
  343. script:WaitForChild("Heartbeat")
  344.  
  345. frame = 1 / 60
  346. tf = 0
  347. allowframeloss = false
  348. tossremainder = false
  349.  
  350.  
  351. lastframe = tick()
  352. script.Heartbeat:Fire()
  353.  
  354.  
  355. game:GetService("RunService").Heartbeat:connect(function(s, p)
  356. tf = tf + s
  357. if tf >= frame then
  358. if allowframeloss then
  359. script.Heartbeat:Fire()
  360. lastframe = tick()
  361. else
  362. for i = 1, math.floor(tf / frame) do
  363. script.Heartbeat:Fire()
  364. end
  365. lastframe = tick()
  366. end
  367. if tossremainder then
  368. tf = 0
  369. else
  370. tf = tf - frame * math.floor(tf / frame)
  371. end
  372. end
  373. end)
  374. -------------------------------------------------------
  375. --End HeartBeat--
  376. -------------------------------------------------------
  377.  
  378. -------------------------------------------------------
  379. --Start Important Functions--
  380. -------------------------------------------------------
  381. function swait(num)
  382. if num == 0 or num == nil then
  383. game:service("RunService").Stepped:wait(0)
  384. else
  385. for i = 0, num do
  386. game:service("RunService").Stepped:wait(0)
  387. end
  388. end
  389. end
  390. function thread(f)
  391. coroutine.resume(coroutine.create(f))
  392. end
  393. function clerp(a, b, t)
  394. local qa = {
  395. QuaternionFromCFrame(a)
  396. }
  397. local qb = {
  398. QuaternionFromCFrame(b)
  399. }
  400. local ax, ay, az = a.x, a.y, a.z
  401. local bx, by, bz = b.x, b.y, b.z
  402. local _t = 1 - t
  403. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  404. end
  405. function QuaternionFromCFrame(cf)
  406. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  407. local trace = m00 + m11 + m22
  408. if trace > 0 then
  409. local s = math.sqrt(1 + trace)
  410. local recip = 0.5 / s
  411. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  412. else
  413. local i = 0
  414. if m00 < m11 then
  415. i = 1
  416. end
  417. if m22 > (i == 0 and m00 or m11) then
  418. i = 2
  419. end
  420. if i == 0 then
  421. local s = math.sqrt(m00 - m11 - m22 + 1)
  422. local recip = 0.5 / s
  423. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  424. elseif i == 1 then
  425. local s = math.sqrt(m11 - m22 - m00 + 1)
  426. local recip = 0.5 / s
  427. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  428. elseif i == 2 then
  429. local s = math.sqrt(m22 - m00 - m11 + 1)
  430. local recip = 0.5 / s
  431. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  432. end
  433. end
  434. end
  435. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  436. local xs, ys, zs = x + x, y + y, z + z
  437. local wx, wy, wz = w * xs, w * ys, w * zs
  438. local xx = x * xs
  439. local xy = x * ys
  440. local xz = x * zs
  441. local yy = y * ys
  442. local yz = y * zs
  443. local zz = z * zs
  444. 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))
  445. end
  446. function QuaternionSlerp(a, b, t)
  447. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  448. local startInterp, finishInterp
  449. if cosTheta >= 1.0E-4 then
  450. if 1 - cosTheta > 1.0E-4 then
  451. local theta = math.acos(cosTheta)
  452. local invSinTheta = 1 / Sin(theta)
  453. startInterp = Sin((1 - t) * theta) * invSinTheta
  454. finishInterp = Sin(t * theta) * invSinTheta
  455. else
  456. startInterp = 1 - t
  457. finishInterp = t
  458. end
  459. elseif 1 + cosTheta > 1.0E-4 then
  460. local theta = math.acos(-cosTheta)
  461. local invSinTheta = 1 / Sin(theta)
  462. startInterp = Sin((t - 1) * theta) * invSinTheta
  463. finishInterp = Sin(t * theta) * invSinTheta
  464. else
  465. startInterp = t - 1
  466. finishInterp = t
  467. end
  468. 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
  469. end
  470. function rayCast(Position, Direction, Range, Ignore)
  471. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  472. end
  473. local RbxUtility = LoadLibrary("RbxUtility")
  474. local Create = RbxUtility.Create
  475.  
  476. -------------------------------------------------------
  477. --Start Damage Function--
  478. -------------------------------------------------------
  479. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  480. if hit.Parent == nil then
  481. return
  482. end
  483. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  484. for _, v in pairs(hit.Parent:children()) do
  485. if v:IsA("Humanoid") then
  486. h = v
  487. end
  488. end
  489. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  490.  
  491. hit.Parent:FindFirstChild("Head"):BreakJoints()
  492. end
  493.  
  494. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  495. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  496. if hit.Parent.DebounceHit.Value == true then
  497. return
  498. end
  499. end
  500. if insta == true then
  501. hit.Parent:FindFirstChild("Head"):BreakJoints()
  502. end
  503. local c = Create("ObjectValue"){
  504. Name = "creator",
  505. Value = game:service("Players").LocalPlayer,
  506. Parent = h,
  507. }
  508. game:GetService("Debris"):AddItem(c, .5)
  509. if HitSound ~= nil and HitPitch ~= nil then
  510. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  511. end
  512. local Damage = math.random(minim, maxim)
  513. local blocked = false
  514. local block = hit.Parent:findFirstChild("Block")
  515. if block ~= nil then
  516. if block.className == "IntValue" then
  517. if block.Value > 0 then
  518. blocked = true
  519. block.Value = block.Value - 1
  520. print(block.Value)
  521. end
  522. end
  523. end
  524. if blocked == false then
  525. h.Health = h.Health - Damage
  526. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  527. else
  528. h.Health = h.Health - (Damage / 2)
  529. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  530. end
  531. if Type == "Knockdown" then
  532. local hum = hit.Parent.Humanoid
  533. hum.PlatformStand = true
  534. coroutine.resume(coroutine.create(function(HHumanoid)
  535. swait(1)
  536. HHumanoid.PlatformStand = false
  537. end), hum)
  538. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  539. local bodvol = Create("BodyVelocity"){
  540. velocity = angle * knockback,
  541. P = 5000,
  542. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  543. Parent = hit,
  544. }
  545. local rl = Create("BodyAngularVelocity"){
  546. P = 3000,
  547. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  548. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  549. Parent = hit,
  550. }
  551. game:GetService("Debris"):AddItem(bodvol, .5)
  552. game:GetService("Debris"):AddItem(rl, .5)
  553. elseif Type == "Normal" then
  554. local vp = Create("BodyVelocity"){
  555. P = 500,
  556. maxForce = Vector3.new(math.huge, 0, math.huge),
  557. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  558. }
  559. if knockback > 0 then
  560. vp.Parent = hit.Parent.Torso
  561. end
  562. game:GetService("Debris"):AddItem(vp, .5)
  563. elseif Type == "Up" then
  564. local bodyVelocity = Create("BodyVelocity"){
  565. velocity = Vector3.new(0, 20, 0),
  566. P = 5000,
  567. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  568. Parent = hit,
  569. }
  570. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  571. elseif Type == "DarkUp" then
  572. coroutine.resume(coroutine.create(function()
  573. for i = 0, 1, 0.1 do
  574. swait()
  575. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  576. end
  577. end))
  578. local bodyVelocity = Create("BodyVelocity"){
  579. velocity = Vector3.new(0, 20, 0),
  580. P = 5000,
  581. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  582. Parent = hit,
  583. }
  584. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  585. elseif Type == "Snare" then
  586. local bp = Create("BodyPosition"){
  587. P = 2000,
  588. D = 100,
  589. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  590. position = hit.Parent.Torso.Position,
  591. Parent = hit.Parent.Torso,
  592. }
  593. game:GetService("Debris"):AddItem(bp, 1)
  594. elseif Type == "Freeze" then
  595. local BodPos = Create("BodyPosition"){
  596. P = 50000,
  597. D = 1000,
  598. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  599. position = hit.Parent.Torso.Position,
  600. Parent = hit.Parent.Torso,
  601. }
  602. local BodGy = Create("BodyGyro") {
  603. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  604. P = 20e+003,
  605. Parent = hit.Parent.Torso,
  606. cframe = hit.Parent.Torso.CFrame,
  607. }
  608. hit.Parent.Torso.Anchored = true
  609. coroutine.resume(coroutine.create(function(Part)
  610. swait(1.5)
  611. Part.Anchored = false
  612. end), hit.Parent.Torso)
  613. game:GetService("Debris"):AddItem(BodPos, 3)
  614. game:GetService("Debris"):AddItem(BodGy, 3)
  615. end
  616. local debounce = Create("BoolValue"){
  617. Name = "DebounceHit",
  618. Parent = hit.Parent,
  619. Value = true,
  620. }
  621. game:GetService("Debris"):AddItem(debounce, Delay)
  622. c = Create("ObjectValue"){
  623. Name = "creator",
  624. Value = Player,
  625. Parent = h,
  626. }
  627. game:GetService("Debris"):AddItem(c, .5)
  628. end
  629. end
  630. -------------------------------------------------------
  631. --End Damage Function--
  632. -------------------------------------------------------
  633.  
  634. -------------------------------------------------------
  635. --Start Damage Function Customization--
  636. -------------------------------------------------------
  637. function ShowDamage(Pos, Text, Time, Color)
  638. local Rate = (1 / 30)
  639. local Pos = (Pos or Vector3.new(0, 0, 0))
  640. local Text = (Text or "")
  641. local Time = (Time or 2)
  642. local Color = (Color or Color3.new(1, 0, 1))
  643. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  644. EffectPart.Anchored = true
  645. local BillboardGui = Create("BillboardGui"){
  646. Size = UDim2.new(3, 0, 3, 0),
  647. Adornee = EffectPart,
  648. Parent = EffectPart,
  649. }
  650. local TextLabel = Create("TextLabel"){
  651. BackgroundTransparency = 1,
  652. Size = UDim2.new(1, 0, 1, 0),
  653. Text = Text,
  654. Font = "Bodoni",
  655. TextColor3 = Color,
  656. TextScaled = true,
  657. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  658. Parent = BillboardGui,
  659. }
  660. game.Debris:AddItem(EffectPart, (Time))
  661. EffectPart.Parent = game:GetService("Workspace")
  662. delay(0, function()
  663. local Frames = (Time / Rate)
  664. for Frame = 1, Frames do
  665. wait(Rate)
  666. local Percent = (Frame / Frames)
  667. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  668. TextLabel.TextTransparency = Percent
  669. end
  670. if EffectPart and EffectPart.Parent then
  671. EffectPart:Destroy()
  672. end
  673. end)
  674. end
  675. -------------------------------------------------------
  676. --End Damage Function Customization--
  677. -------------------------------------------------------
  678.  
  679. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  680. for _, c in pairs(workspace:children()) do
  681. local hum = c:findFirstChild("Humanoid")
  682. if hum ~= nil then
  683. local head = c:findFirstChild("Head")
  684. if head ~= nil then
  685. local targ = head.Position - Part.Position
  686. local mag = targ.magnitude
  687. if magni >= mag and c.Name ~= plr.Name then
  688. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  689. end
  690. end
  691. end
  692. end
  693. end
  694.  
  695.  
  696. CFuncs = {
  697. Part = {
  698. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  699. local Part = Create("Part")({
  700. Parent = Parent,
  701. Reflectance = Reflectance,
  702. Transparency = Transparency,
  703. CanCollide = false,
  704. Locked = true,
  705. BrickColor = BrickColor.new(tostring(BColor)),
  706. Name = Name,
  707. Size = Size,
  708. Material = Material
  709. })
  710. RemoveOutlines(Part)
  711. return Part
  712. end
  713. },
  714. Mesh = {
  715. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  716. local Msh = Create(Mesh)({
  717. Parent = Part,
  718. Offset = OffSet,
  719. Scale = Scale
  720. })
  721. if Mesh == "SpecialMesh" then
  722. Msh.MeshType = MeshType
  723. Msh.MeshId = MeshId
  724. end
  725. return Msh
  726. end
  727. },
  728. Mesh = {
  729. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  730. local Msh = Create(Mesh)({
  731. Parent = Part,
  732. Offset = OffSet,
  733. Scale = Scale
  734. })
  735. if Mesh == "SpecialMesh" then
  736. Msh.MeshType = MeshType
  737. Msh.MeshId = MeshId
  738. end
  739. return Msh
  740. end
  741. },
  742. Weld = {
  743. Create = function(Parent, Part0, Part1, C0, C1)
  744. local Weld = Create("Weld")({
  745. Parent = Parent,
  746. Part0 = Part0,
  747. Part1 = Part1,
  748. C0 = C0,
  749. C1 = C1
  750. })
  751. return Weld
  752. end
  753. },
  754. Sound = {
  755. Create = function(id, par, vol, pit)
  756. coroutine.resume(coroutine.create(function()
  757. local S = Create("Sound")({
  758. Volume = vol,
  759. Pitch = pit or 1,
  760. SoundId = id,
  761. Parent = par or workspace
  762. })
  763. wait()
  764. S:play()
  765. game:GetService("Debris"):AddItem(S, 6)
  766. end))
  767. end
  768. },
  769. ParticleEmitter = {
  770. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  771. local fp = Create("ParticleEmitter")({
  772. Parent = Parent,
  773. Color = ColorSequence.new(Color1, Color2),
  774. LightEmission = LightEmission,
  775. Size = Size,
  776. Texture = Texture,
  777. Transparency = Transparency,
  778. ZOffset = ZOffset,
  779. Acceleration = Accel,
  780. Drag = Drag,
  781. LockedToPart = LockedToPart,
  782. VelocityInheritance = VelocityInheritance,
  783. EmissionDirection = EmissionDirection,
  784. Enabled = Enabled,
  785. Lifetime = LifeTime,
  786. Rate = Rate,
  787. Rotation = Rotation,
  788. RotSpeed = RotSpeed,
  789. Speed = Speed,
  790. VelocitySpread = VelocitySpread
  791. })
  792. return fp
  793. end
  794. }
  795. }
  796. function RemoveOutlines(part)
  797. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  798. end
  799. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  800. local Part = Create("Part")({
  801. formFactor = FormFactor,
  802. Parent = Parent,
  803. Reflectance = Reflectance,
  804. Transparency = Transparency,
  805. CanCollide = false,
  806. Locked = true,
  807. BrickColor = BrickColor.new(tostring(BColor)),
  808. Name = Name,
  809. Size = Size,
  810. Material = Material
  811. })
  812. RemoveOutlines(Part)
  813. return Part
  814. end
  815. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  816. local Msh = Create(Mesh)({
  817. Parent = Part,
  818. Offset = OffSet,
  819. Scale = Scale
  820. })
  821. if Mesh == "SpecialMesh" then
  822. Msh.MeshType = MeshType
  823. Msh.MeshId = MeshId
  824. end
  825. return Msh
  826. end
  827. function CreateWeld(Parent, Part0, Part1, C0, C1)
  828. local Weld = Create("Weld")({
  829. Parent = Parent,
  830. Part0 = Part0,
  831. Part1 = Part1,
  832. C0 = C0,
  833. C1 = C1
  834. })
  835. return Weld
  836. end
  837.  
  838.  
  839. -------------------------------------------------------
  840. --End Important Functions--
  841. -------------------------------------------------------
  842.  
  843. -------------------------------------------------------
  844. --Start Customization--
  845. -------------------------------------------------------
  846. local Player_Size = 1
  847. if Player_Size ~= 1 then
  848. root.Size = root.Size * Player_Size
  849. tors.Size = tors.Size * Player_Size
  850. hed.Size = hed.Size * Player_Size
  851. ra.Size = ra.Size * Player_Size
  852. la.Size = la.Size * Player_Size
  853. rl.Size = rl.Size * Player_Size
  854. ll.Size = ll.Size * Player_Size
  855. ----------------------------------------------------------------------------------
  856. rootj.Parent = root
  857. neck.Parent = tors
  858. RW.Parent = tors
  859. LW.Parent = tors
  860. RH.Parent = tors
  861. LH.Parent = tors
  862. ----------------------------------------------------------------------------------
  863. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  864. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  865. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  866. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  867. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  868. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  869. ----------------------------------------------------------------------------------
  870. 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))
  871. 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))
  872. 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))
  873. 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))
  874. --hat.Parent = Character
  875. end
  876. ----------------------------------------------------------------------------------
  877. local equipped = false
  878. local idle = 0
  879. local change = 1
  880. local val = 0
  881. local toim = 0
  882. local idleanim = 0.4
  883. local sine = 0
  884. local Sit = 1
  885. ----------------------------------------------------------------------------------
  886. local SONG = 148524287
  887. local SONG2 = 0
  888. local Music = Instance.new("Sound",tors)
  889. Music.Volume = 2.5
  890. Music.Looped = true
  891. Music.Pitch = 1 --Pitcher
  892. ----------------------------------------------------------------------------------
  893. local Orin = "http://www.roblox.com/asset/?id=2787777241"
  894. Head.face.Texture = Orin
  895. function weld(a, b, acf)
  896. local w = Instance.new("Weld", a)
  897. w.Part0 = a
  898. w.Part1 = b
  899. w.C0 = acf
  900. end
  901. for i,v in pairs(char:GetChildren()) do
  902. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  903. v:destroy()
  904. end
  905. end
  906.  
  907. local Hair = Instance.new("Part")
  908. Hair.Parent = char
  909. Hair.Name = "Hair"
  910. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  911. Hair.CFrame = char.Head.CFrame
  912. Hair:BreakJoints()
  913. Hair.CanCollide = false
  914. Hair.BrickColor = BrickColor.new("New Yeller")
  915. Hair.TopSurface = "Smooth"
  916. Hair.BottomSurface = "Smooth"
  917. Weld = Instance.new("Weld")
  918. Weld.Name = "Weld"
  919. Weld.Part0 = char.Torso
  920. Weld.Part1 = Hair
  921. Weld.Parent = char.Torso
  922. Weld.C0 = CFrame.new(0, 0.3, 0.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  923. Mesh = Instance.new("SpecialMesh")
  924. Mesh.Parent = Hair
  925. Mesh.MeshId = "rbxassetid://0"
  926. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  927. Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  928. ----------------------------------------------------------------------------------
  929. local Hair = Instance.new("Part")
  930. Hair.Parent = char
  931. Hair.Name = "Hair"
  932. Hair.Size = Vector3.new(1, 0.4, 1)
  933. Hair.CFrame = char.Head.CFrame
  934. Hair:BreakJoints()
  935. Hair.CanCollide = false
  936. Hair.BrickColor = BrickColor.new("New Yeller")
  937. Hair.TopSurface = "Smooth"
  938. Hair.BottomSurface = "Smooth"
  939. Weld = Instance.new("Weld")
  940. Weld.Name = "Weld"
  941. Weld.Part0 = char.Head
  942. Weld.Part1 = Hair
  943. Weld.Parent = char.Head
  944. Weld.C0 = CFrame.new(0, 0.2, -0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  945. Mesh = Instance.new("SpecialMesh")
  946. Mesh.Parent = Hair
  947. Mesh.MeshId = "rbxassetid://0"
  948. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  949. Mesh.Scale = Vector3.new(1, 1, 1)
  950. ----------------------------------------------------------------------------------
  951. local Hair = Instance.new("Part")
  952. Hair.Parent = char
  953. Hair.Name = "Hair"
  954. Hair.Size = Vector3.new(1, 0.4, 1)
  955. Hair.CFrame = char.Head.CFrame
  956. Hair:BreakJoints()
  957. Hair.CanCollide = false
  958. Hair.BrickColor = BrickColor.new("New Yeller")
  959. Hair.TopSurface = "Smooth"
  960. Hair.BottomSurface = "Smooth"
  961. Weld = Instance.new("Weld")
  962. Weld.Name = "Weld"
  963. Weld.Part0 = char.Head
  964. Weld.Part1 = Hair
  965. Weld.Parent = char.Head
  966. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  967. Mesh = Instance.new("SpecialMesh")
  968. Mesh.Parent = Hair
  969. Mesh.MeshId = "rbxassetid://16627529"
  970. Mesh.TextureId = "http://www.roblox.com/asset/?id=1543772519"
  971. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  972. ----------------------------------------------------------------------------------
  973. local Hair = Instance.new("Part")
  974. Hair.Parent = char
  975. Hair.Name = "Hair"
  976. Hair.Size = Vector3.new(0.99, 2.03, 2.45)
  977. Hair.CFrame = char.Head.CFrame
  978. Hair:BreakJoints()
  979. Hair.CanCollide = false
  980. Hair.BrickColor = BrickColor.new("New Yeller")
  981. Hair.TopSurface = "Smooth"
  982. Hair.BottomSurface = "Smooth"
  983. Weld = Instance.new("Weld")
  984. Weld.Name = "Weld"
  985. Weld.Part0 = char.Torso
  986. Weld.Part1 = Hair
  987. Weld.Parent = char.Torso
  988. Weld.C0 = CFrame.new(0.3, 0.1, 1.8)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  989. Mesh = Instance.new("SpecialMesh")
  990. Mesh.Parent = Hair
  991. Mesh.MeshId = "rbxassetid://170939831"
  992. Mesh.TextureId = "http://www.roblox.com/asset/?id=1053329126"
  993. Mesh.Scale = Vector3.new(1, 1, 1)
  994. ----------------------------------------------------------------------------------
  995. local Shirt = "rbxassetid://174922270"
  996. local Pants = "rbxassetid://174922989"
  997.  
  998. ypcall(function()
  999. shirt = Instance.new("Shirt", char)
  1000. shirt.Name = "Shirt"
  1001. pants = Instance.new("Pants", char)
  1002. pants.Name = "Pants"
  1003. char.Shirt.ShirtTemplate = Shirt
  1004. char.Pants.PantsTemplate = Pants
  1005. end)
  1006.  
  1007. shirt.Name = "aomFetty"
  1008. pants.Name = "aomFetty"
  1009. hum.WalkSpeed = 16
  1010. hum.JumpPower = 70
  1011. hum.MaxHealth = hum.MaxHealth
  1012. hum.Health = hum.MaxHealth
  1013. hum.Animator.Parent = nil
  1014. ----------------------------------------------------------------------------------
  1015. local naeeym2 = Instance.new("BillboardGui",char)
  1016. naeeym2.AlwaysOnTop = true
  1017. naeeym2.Size = UDim2.new(5,35,2,15)
  1018. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1019. naeeym2.Adornee = hed
  1020. naeeym2.Name = "Name"
  1021. --naeeym2.PlayerToHideFrom = Player
  1022. local tecks2 = Instance.new("TextLabel",naeeym2)
  1023. tecks2.BackgroundTransparency = 1
  1024. tecks2.TextScaled = true
  1025. tecks2.BorderSizePixel = 0
  1026. tecks2.Font = Enum.Font.Antique
  1027. tecks2.TextSize = 30
  1028. tecks2.TextStrokeTransparency = 0
  1029. tecks2.TextColor3 = Color3.new(89, 0, 23)
  1030. tecks2.TextStrokeColor3 = Color3.new(89, 0, 23)
  1031. tecks2.Size = UDim2.new(1,0,0.5,0)
  1032. tecks2.Parent = naeeym2
  1033. --------------------------------------------------------
  1034. local EyeSizes={
  1035. NumberSequenceKeypoint.new(0,0.65,0),
  1036. NumberSequenceKeypoint.new(0.5,0.7,0),
  1037. NumberSequenceKeypoint.new(1,0,0)
  1038. }
  1039. local EyeTrans={
  1040. NumberSequenceKeypoint.new(0,0,0),
  1041. NumberSequenceKeypoint.new(0.5,0,0),
  1042. NumberSequenceKeypoint.new(1,1,0)
  1043. }
  1044. local PE2=Instance.new("ParticleEmitter", ra)
  1045. PE2.LightEmission=.9
  1046. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  1047. PE2.Transparency=NumberSequence.new(EyeTrans)
  1048. PE2.Lifetime=NumberRange.new(0.35)
  1049. PE2.Rotation=NumberRange.new(0,360)
  1050. PE2.Rate=999
  1051. PE2.VelocitySpread = 10000
  1052. PE2.Acceleration = Vector3.new(0,25,0)
  1053. PE2.ZOffset = 0.5
  1054. PE2.Drag = 0
  1055. PE2.Speed = NumberRange.new(0,0,0)
  1056. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1057. PE2.Name = "PE2"
  1058. PE2.Enabled = true
  1059. PE2.LockedToPart = true
  1060. local EyeSizes={
  1061. NumberSequenceKeypoint.new(0,0.65,0),
  1062. NumberSequenceKeypoint.new(0.5,0.7,0),
  1063. NumberSequenceKeypoint.new(1,0,0)
  1064. }
  1065. local EyeTrans={
  1066. NumberSequenceKeypoint.new(0,0,0),
  1067. NumberSequenceKeypoint.new(0.5,0,0),
  1068. NumberSequenceKeypoint.new(1,1,0)
  1069. }
  1070. local PE3=Instance.new("ParticleEmitter", ra)
  1071. PE3.LightEmission=.9
  1072. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  1073. PE3.Transparency=NumberSequence.new(EyeTrans)
  1074. PE3.Lifetime=NumberRange.new(0.35)
  1075. PE3.Rotation=NumberRange.new(0,360)
  1076. PE3.Rate=999
  1077. PE3.VelocitySpread = 10000
  1078. PE3.Acceleration = Vector3.new(0,25,0)
  1079. PE3.ZOffset = 0.5
  1080. PE3.Drag = 0
  1081. PE3.Speed = NumberRange.new(0,0,0)
  1082. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1083. PE3.Name = "PE3"
  1084. PE3.Enabled = true
  1085. PE3.LockedToPart = true
  1086.  
  1087. local EyeSizes={
  1088. NumberSequenceKeypoint.new(0,0.65,0),
  1089. NumberSequenceKeypoint.new(0.5,0.7,0),
  1090. NumberSequenceKeypoint.new(1,0,0)
  1091. }
  1092. local EyeTrans={
  1093. NumberSequenceKeypoint.new(0,0,0),
  1094. NumberSequenceKeypoint.new(0.5,0,0),
  1095. NumberSequenceKeypoint.new(1,1,0)
  1096. }
  1097. local PE4=Instance.new("ParticleEmitter", ll)
  1098. PE4.LightEmission=.9
  1099. PE4.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  1100. PE4.Transparency=NumberSequence.new(EyeTrans)
  1101. PE4.Lifetime=NumberRange.new(0.35)
  1102. PE4.Rotation=NumberRange.new(0,360)
  1103. PE4.Rate=999
  1104. PE4.VelocitySpread = 10000
  1105. PE4.Acceleration = Vector3.new(0,25,0)
  1106. PE4.ZOffset = 0.5
  1107. PE4.Drag = 0
  1108. PE4.Speed = NumberRange.new(0,0,0)
  1109. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1110. PE4.Name = "PE4"
  1111. PE4.Enabled = true
  1112. PE4.LockedToPart = true
  1113. local EyeSizes={
  1114. NumberSequenceKeypoint.new(0,0.65,0),
  1115. NumberSequenceKeypoint.new(0.5,0.7,0),
  1116. NumberSequenceKeypoint.new(1,0,0)
  1117. }
  1118. local EyeTrans={
  1119. NumberSequenceKeypoint.new(0,0,0),
  1120. NumberSequenceKeypoint.new(0.5,0,0),
  1121. NumberSequenceKeypoint.new(1,1,0)
  1122. }
  1123. local PE5=Instance.new("ParticleEmitter", ll)
  1124. PE5.LightEmission=.9
  1125. PE5.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  1126. PE5.Transparency=NumberSequence.new(EyeTrans)
  1127. PE5.Lifetime=NumberRange.new(0.35)
  1128. PE5.Rotation=NumberRange.new(0,360)
  1129. PE5.Rate=999
  1130. PE5.VelocitySpread = 10000
  1131. PE5.Acceleration = Vector3.new(0,25,0)
  1132. PE5.ZOffset = 0.5
  1133. PE5.Drag = 0
  1134. PE5.Speed = NumberRange.new(0,0,0)
  1135. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1136. PE5.Name = "PE5"
  1137. PE5.Enabled = true
  1138. PE5.LockedToPart = true
  1139. -------------------------------------------------------
  1140. --End Customization--
  1141. -------------------------------------------------------
  1142.  
  1143.  
  1144. -------------------------------------------------------
  1145. --Start Attacks N Stuff--
  1146. -------------------------------------------------------
  1147. function attackone()
  1148. attack = true
  1149. hum.WalkSpeed = 3.01
  1150. for i = 0, 1.7, 0.1 do
  1151. swait()
  1152. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3)
  1153. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  1154. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3)
  1155. 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(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  1156. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
  1157. 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  1158. end
  1159. Cso("203426541", ra, 10, 1)
  1160. for i = 0, 1.4, 0.1 do
  1161. swait()
  1162. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  1163. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1164. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
  1165. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
  1166. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
  1167. 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  1168. end
  1169. for i = 0, 1.4, 0.1 do
  1170. swait()
  1171. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  1172. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1173. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
  1174. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
  1175. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
  1176. 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  1177. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  1178. if v:FindFirstChild("Head") then
  1179. Eviscerate(v)
  1180. end
  1181. end
  1182. end
  1183. attack = false
  1184. hum.WalkSpeed = 16
  1185. end
  1186. function attacktwo()
  1187. attack = true
  1188. hum.WalkSpeed = 3.01
  1189. for i = 0, 1.7, 0.1 do
  1190. swait()
  1191. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1192. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1193. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
  1194. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  1195. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  1196. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  1197. end
  1198. Cso("203426541", rl, 10, 1)
  1199. CameraEnshaking(2, 3)
  1200. for i = 0, 1.4, 0.1 do
  1201. swait()
  1202. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1203. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1204. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
  1205. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
  1206. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  1207. 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(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  1208. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  1209. if v:FindFirstChild("Head") then
  1210. Eviscerate(v)
  1211. end
  1212. end
  1213. end
  1214. attack = false
  1215. hum.WalkSpeed = 16
  1216. end
  1217. function attackthree()
  1218. attack = true
  1219. hum.WalkSpeed = 3.01
  1220. for i = 0, 1.4, 0.1 do
  1221. swait()
  1222. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1223. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1224. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
  1225. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
  1226. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  1227. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  1228. end
  1229. Cso("203426541", hed, 10, 1)
  1230. for i = 0, 1.7, 0.1 do
  1231. swait()
  1232. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1233. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1234. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
  1235. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
  1236. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  1237. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  1238. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  1239. if v:FindFirstChild("Head") then
  1240. Eviscerate(v)
  1241. end
  1242. end
  1243. end
  1244. attack = false
  1245. hum.WalkSpeed = 16
  1246. end
  1247.  
  1248. function Distort()
  1249. attack = true
  1250. hum.WalkSpeed = 0
  1251. local pos = root.Position
  1252. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  1253. Cso("847061203", char, 10, 0.85)
  1254. for i = 1,2.5,0.1 do
  1255. swait()
  1256. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1257. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1258. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1259. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1260. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1261. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  1262. end
  1263. attack = false
  1264. hum.WalkSpeed = 8
  1265. end
  1266. function Ancient_Rage()
  1267. attack = true
  1268. hum.WalkSpeed = 0
  1269. Cso("135017578", tors, 10, 1.05)
  1270. for i = 1,14,0.1 do
  1271. swait()
  1272. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1273. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1274. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1275. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1276. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1277. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  1278. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  1279. if v:FindFirstChild("Head") then
  1280. Eviscerate(v)
  1281. end
  1282. end
  1283. end
  1284. attack = false
  1285. hum.WalkSpeed = 16
  1286. end
  1287. function Technobeam()
  1288. attack = true
  1289. hum.WalkSpeed = 3.01
  1290. for i = 0, 4, 0.1 do
  1291. swait()
  1292. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1293. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  1294. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1295. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1296. 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(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1297. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1298. 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1299. end
  1300. for i = 0, 2, 0.1 do
  1301. swait()
  1302. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  1303. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  1304. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  1305. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  1306. 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(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  1307. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1308. 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1309. end
  1310. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1311. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1312. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1313. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1314. CameraEnshaking(4, 5)
  1315. Cso("206049428", char, 10, 1)
  1316. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1317. if v:FindFirstChild("Head") then
  1318. Eviscerate(v)
  1319. end
  1320. end
  1321. for i = 0, 2, 0.1 do
  1322. swait()
  1323. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  1324. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  1325. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1326. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1327. 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(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1328. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1329. 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(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1330. end
  1331. hum.WalkSpeed = 16
  1332. attack = false
  1333. end
  1334. function Taunt10000()
  1335. attack = true
  1336. Cso("333446256", char, 10, 1)
  1337. for i = 0, 15, 0.1 do
  1338. swait()
  1339. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  1340. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1341. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1342. 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(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1343. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  1344. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  1345. end
  1346. for i = 0, 15, 0.1 do
  1347. swait()
  1348. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  1349. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1350. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1351. 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(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1352. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  1353. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  1354. end
  1355. for i = 0, 20, 0.1 do
  1356. swait()
  1357. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  1358. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1359. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1360. 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(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  1361. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  1362. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  1363. end
  1364. attack = false
  1365. end
  1366. function OP9999()
  1367. attack = true
  1368. hum.WalkSpeed = 3.01
  1369. Cso("1690476035",char, 10, 1)
  1370. for i = 0,5.2,0.1 do
  1371. swait()
  1372. Effects.Block.Create(BrickC("Really red"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1373. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1374. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1375. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1376. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1377. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  1378. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  1379. end
  1380. Cso("824687369", char, 10, 1)
  1381. for i = 0,3.7,0.1 do
  1382. swait()
  1383. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1384. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1385. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  1386. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  1387. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1388. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1389. CameraEnshaking(2, 8)
  1390. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  1391. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  1392. if v:FindFirstChild("Head") then
  1393. Eviscerate(v)
  1394. end
  1395. end
  1396. end
  1397. attack = false
  1398. hum.WalkSpeed = 16
  1399. end
  1400. -------------------------------------------------------
  1401. --End Attacks N Stuff--
  1402. -------------------------------------------------------
  1403. mouse.KeyDown:connect(function(key)
  1404. if key == 'q' then
  1405. Swing = 2
  1406. hum.WalkSpeed = 40
  1407. end
  1408. end)
  1409. mouse.KeyUp:connect(function(key)
  1410. if key == 'q' then
  1411. Swing = 1
  1412. hum.WalkSpeed = 16
  1413. end
  1414. end)
  1415.  
  1416. mouse.KeyDown:connect(function(key)
  1417. if attack == false then
  1418. if key == 'e' then
  1419. Ancient_Rage()
  1420. elseif key == 'r' then
  1421. Distort()
  1422. elseif key == 't' then
  1423. Taunt10000()
  1424. elseif key == 'f' then
  1425. Technobeam()
  1426. elseif key == 'g' then
  1427. OP9999()
  1428. elseif key == 'h' then
  1429.  
  1430. end
  1431. end
  1432. end)
  1433. local Combo = 1
  1434. mouse.Button1Down:connect(function(key)
  1435. if attack == false then
  1436. if Combo == 1 then
  1437. Combo = 2
  1438. attackone()
  1439. elseif Combo == 2 then
  1440. Combo = 3
  1441. attacktwo()
  1442. elseif Combo == 3 then
  1443. Combo = 1
  1444. attackthree()
  1445. end
  1446. end
  1447. end)
  1448. -------------------------------------------------------
  1449. --Start Animations--
  1450. -------------------------------------------------------
  1451. while true do
  1452. swait()
  1453. sine = sine + change
  1454. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1455. local velderp = root.Velocity.y
  1456. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1457. if equipped == true or equipped == false then
  1458. if attack == false then
  1459. idle = idle + 1
  1460. else
  1461. idle = 0
  1462. end
  1463. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  1464. if 1 < root.Velocity.y and hitfloor == nil then
  1465. Anim = "Jump"
  1466. if attack == false then
  1467. 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)
  1468. 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)
  1469. 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)
  1470. 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)
  1471. 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)
  1472. 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)
  1473. end
  1474. elseif -1 > root.Velocity.y and hitfloor == nil then
  1475. Anim = "Fall"
  1476. if attack == false then
  1477. 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)
  1478. 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)
  1479. 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)
  1480. 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)
  1481. 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)
  1482. 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)
  1483. end
  1484. elseif torvel < 1 and hitfloor ~= nil then
  1485. Anim = "Idle"
  1486. change = 1
  1487. if attack == false then
  1488. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08)
  1489. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08)
  1490. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  1491. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  1492. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  1493. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  1494. end
  1495. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1496. Anim = "Walk"
  1497. change = 1
  1498. if attack == false then
  1499. 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(8 * Cos(sine / 7))), 0.15)
  1500. 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)
  1501. 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)
  1502. 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)
  1503. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1)
  1504. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(.6) + la.RotVelocity.Y / 75), 0.1)
  1505. end
  1506. elseif torvel >= 25 and hitfloor ~= nil then
  1507. Anim = "Sprint"
  1508. change = 1.35
  1509. if attack == false then
  1510. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 12)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1511. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 6.5 * Sin(sine / 12)), Rad(20), Rad(0)), 0.1)
  1512. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.15 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-18.5 - 6.5 * Sin(sine / 12)), Rad(0), Rad(-35)), 0.1)
  1513. LH.C0 = clerp(LH.C0, CF(-1.1* Player_Size, -0.6 - 0.15 * Cos(sine / 20)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-18.5 - 6.5 * Sin(sine / 12)), Rad(15), Rad(35)), 0.1)
  1514. RW.C0 = clerp(RW.C0, CF(1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-45 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(25 + 6.5 * Sin(sine / 12))), 0.1)
  1515. LW.C0 = clerp(LW.C0, CF(-1.4* Player_Size, 0.4 + 0.08 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(-45 - 6.5 * Cos(sine / 12)), Rad(-.6), Rad(-25 - 6.5 * Sin(sine / 12))), 0.1)
  1516. end
  1517. end
  1518. end
  1519. Music.SoundId = "rbxassetid://"..SONG
  1520. Music.Looped = true
  1521. Music.Pitch = 1
  1522. Music.Volume = 1
  1523. Music.Parent = tors
  1524. Music:Resume()
  1525. if 0 < #Effects then
  1526. for e = 1, #Effects do
  1527. if Effects[e] ~= nil then
  1528. local Thing = Effects[e]
  1529. if Thing ~= nil then
  1530. local Part = Thing[1]
  1531. local Mode = Thing[2]
  1532. local Delay = Thing[3]
  1533. local IncX = Thing[4]
  1534. local IncY = Thing[5]
  1535. local IncZ = Thing[6]
  1536. if 1 >= Thing[1].Transparency then
  1537. if Thing[2] == "Block1" then
  1538. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1539. local Mesh = Thing[1].Mesh
  1540. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1541. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1542. elseif Thing[2] == "Block2" then
  1543. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1544. local Mesh = Thing[7]
  1545. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1546. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1547. elseif Thing[2] == "Block3" then
  1548. 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)
  1549. local Mesh = Thing[7]
  1550. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1551. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1552. elseif Thing[2] == "Cylinder" then
  1553. local Mesh = Thing[1].Mesh
  1554. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1555. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1556. elseif Thing[2] == "Blood" then
  1557. local Mesh = Thing[7]
  1558. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1559. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1560. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1561. elseif Thing[2] == "Elec" then
  1562. local Mesh = Thing[1].Mesh
  1563. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1564. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1565. elseif Thing[2] == "Disappear" then
  1566. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1567. elseif Thing[2] == "Shatter" then
  1568. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1569. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1570. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1571. Thing[6] = Thing[6] + Thing[5]
  1572. end
  1573. else
  1574. Part.Parent = nil
  1575. table.remove(Effects, e)
  1576. end
  1577. end
  1578. end
  1579. end
  1580. end
  1581. end
  1582. -------------------------------------------------------
  1583. --End Animations And Script--
  1584. -------------------------------------------------------
Add Comment
Please, Sign In to add comment