Advertisement
JacksoMykalJunior

Elemental+

Feb 21st, 2019
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 260.18 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| Made BY Red_Jack142[God/Editor]
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("Owns by Red_Jack142")
  9. print("Thanks for using r/Elemental")
  10. local rp = RealPlayer
  11. script.Parent = rp.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent then
  37. for _,f in pairs(t.Functions) do
  38. f(...)
  39. end
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=rp then return end
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. if not io.isMouse then
  50. local b = io.UserInputState == Enum.UserInputState.Begin
  51. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  52. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then return s[k] end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end,
  103. __call = function(self,...)
  104. local s = rawget(self,"_RealService")
  105. if s then return s(...) end
  106. end
  107. }
  108. local function FakeService(t,RealService)
  109. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  110. return setmetatable(t,fsmt)
  111. end
  112.  
  113. --Fake game object
  114. local g = {
  115. GetService = function(self,s)
  116. return self[s]
  117. end,
  118. Players = FakeService({
  119. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  120. },"Players"),
  121. UserInputService = FakeService(UIS,"UserInputService"),
  122. ContextActionService = FakeService(CAS,"ContextActionService"),
  123. }
  124. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  125. g.service = g.GetService
  126.  
  127. g.RunService = FakeService({
  128. RenderStepped = _rg:GetService("RunService").Heartbeat,
  129. BindToRenderStep = function(self,name,_,fun)
  130.  
  131. end,
  132. UnbindFromRenderStep = function(self,name)
  133. self._btrs[name]:Disconnect()
  134. end,
  135. },"RunService")
  136.  
  137. setmetatable(g,{
  138. __index=function(self,s)
  139. return _rg:GetService(s) or typeof(_rg[s])=="function"
  140. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  141. end,
  142. __newindex = fsmt.__newindex,
  143. __call = fsmt.__call
  144. })
  145. --Changing owner to fake player object to support owner:GetMouse()
  146. game,owner = g,g.Players.LocalPlayer
  147. end
  148. Player = game:GetService("Players").LocalPlayer
  149. PlayerGui = Player.PlayerGui
  150. Cam = workspace.CurrentCamera
  151. Backpack = Player.Backpack
  152. Character = Player.Character
  153. Humanoid = Character.Humanoid
  154. Mouse = Player:GetMouse()
  155. RootPart = Character["HumanoidRootPart"]
  156. Torso = Character["Torso"]
  157. Head = Character["Head"]
  158. RightArm = Character["Right Arm"]
  159. LeftArm = Character["Left Arm"]
  160. RightLeg = Character["Right Leg"]
  161. LeftLeg = Character["Left Leg"]
  162. RootJoint = RootPart["RootJoint"]
  163. Neck = Torso["Neck"]
  164. RightShoulder = Torso["Right Shoulder"]
  165. LeftShoulder = Torso["Left Shoulder"]
  166. RightHip = Torso["Right Hip"]
  167. LeftHip = Torso["Left Hip"]
  168. local TIME = 0
  169. local sick = Instance.new("Sound",Torso)
  170.  
  171. IT = Instance.new
  172. CF = CFrame.new
  173. VT = Vector3.new
  174. RAD = math.rad
  175. C3 = Color3.new
  176. UD2 = UDim2.new
  177. BRICKC = BrickColor.new
  178. ANGLES = CFrame.Angles
  179. EULER = CFrame.fromEulerAnglesXYZ
  180. COS = math.cos
  181. ACOS = math.acos
  182. SIN = math.sin
  183. ASIN = math.asin
  184. ABS = math.abs
  185. MRANDOM = math.random
  186. FLOOR = math.floor
  187.  
  188. --//=================================\\
  189. --|| USEFUL VALUES
  190. --\\=================================//
  191.  
  192. Animation_Speed = 3
  193. local FORCERESET = false
  194. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  195. local Speed = 16
  196. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  197. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  198. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  199. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  200. local DAMAGEMULTIPLIER = 1
  201. local ANIM = "Idle"
  202. local ATTACK = false
  203. local EQUIPPED = false
  204. local HOLD = false
  205. local COMBO = 1
  206. local Rooted = false
  207. local SINE = 0
  208. local KEYHOLD = false
  209. local CHANGE = 2 / Animation_Speed
  210. local WALKINGANIM = false
  211. local VALUE1 = false
  212. local VALUE2 = false
  213. local ROBLOXIDLEANIMATION = IT("Animation")
  214. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  215. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  216. --ROBLOXIDLEANIMATION.Parent = Humanoid
  217. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  218. WEAPONGUI.Name = "BanishV3Gui"
  219. local Weapon = IT("Model")
  220. Weapon.Name = "Adds"
  221. local Effects = IT("Folder", Weapon)
  222. Effects.Name = "Effects"
  223. local ANIMATOR = Humanoid.Animator
  224. local ANIMATE = Character:FindFirstChild("Animate")
  225. local UNANCHOR = true
  226. local TOBANISH = {}
  227. script.Parent = PlayerGui
  228.  
  229. --//=================================\\
  230. --\\=================================//
  231.  
  232.  
  233. --//=================================\\
  234. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  235. --\\=================================//
  236.  
  237. ArtificialHB = Instance.new("BindableEvent", script)
  238. ArtificialHB.Name = "ArtificialHB"
  239.  
  240. script:WaitForChild("ArtificialHB")
  241.  
  242. frame = Frame_Speed
  243. tf = 0
  244. allowframeloss = false
  245. tossremainder = false
  246. lastframe = tick()
  247. script.ArtificialHB:Fire()
  248.  
  249. game:GetService("RunService").Heartbeat:connect(function(s, p)
  250. tf = tf + s
  251. if tf >= frame then
  252. if allowframeloss then
  253. script.ArtificialHB:Fire()
  254. lastframe = tick()
  255. else
  256. for i = 1, math.floor(tf / frame) do
  257. script.ArtificialHB:Fire()
  258. end
  259. lastframe = tick()
  260. end
  261. if tossremainder then
  262. tf = 0
  263. else
  264. tf = tf - frame * math.floor(tf / frame)
  265. end
  266. end
  267. end)
  268.  
  269. --//=================================\\
  270. --\\=================================//
  271.  
  272. local plr = game:service'Players'.LocalPlayer
  273. print('Local User is '..plr.Name)
  274. print('Possessed has Loaded')
  275. print('Q Speed')
  276. print('E')
  277. print('R')
  278. print('T')
  279. print('F')
  280. print('G')
  281. local char = plr.Character
  282. local hum = char.Humanoid
  283. local hed = char.Head
  284. local root = char.HumanoidRootPart
  285. local rootj = root.RootJoint
  286. local tors = char.Torso
  287. local ra = char["Right Arm"]
  288. local la = char["Left Arm"]
  289. local rl = char["Right Leg"]
  290. local ll = char["Left Leg"]
  291. local neck = tors["Neck"]
  292. local mouse = plr:GetMouse()
  293. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  294. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  295. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  296. local maincolor = BrickColor.new("Institutional white")
  297. ------------------
  298. --Start Good Stuff--
  299. -------------------------------------------------------
  300. cam = game.Workspace.CurrentCamera
  301. CF = CFrame.new
  302. angles = CFrame.Angles
  303. attack = false
  304. Euler = CFrame.fromEulerAnglesXYZ
  305. Rad = math.rad
  306. IT = Instance.new
  307. BrickC = BrickColor.new
  308. Cos = math.cos
  309. Acos = math.acos
  310. Sin = math.sin
  311. Asin = math.asin
  312. Abs = math.abs
  313. Mrandom = math.random
  314. Floor = math.floor
  315. -------------------------------------------------------
  316. --End Good Stuff--
  317. -------------------------------------------------------
  318. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  319. RSH, LSH = nil, nil
  320. RW = Instance.new("Weld")
  321. LW = Instance.new("Weld")
  322. RH = tors["Right Hip"]
  323. LH = tors["Left Hip"]
  324. RSH = tors["Right Shoulder"]
  325. LSH = tors["Left Shoulder"]
  326. RSH.Parent = nil
  327. LSH.Parent = nil
  328. RW.Name = "RW"
  329. RW.Part0 = tors
  330. RW.C0 = CF(1.5, 0.5, 0)
  331. RW.C1 = CF(0, 0.5, 0)
  332. RW.Part1 = ra
  333. RW.Parent = tors
  334. LW.Name = "LW"
  335. LW.Part0 = tors
  336. LW.C0 = CF(-1.5, 0.5, 0)
  337. LW.C1 = CF(0, 0.5, 0)
  338. LW.Part1 = la
  339. LW.Parent = tors
  340. Effects = {}
  341. -------------------------------------------------------
  342. --Start HeartBeat--
  343. -------------------------------------------------------
  344. ArtificialHB = Instance.new("BindableEvent", script)
  345. ArtificialHB.Name = "Heartbeat"
  346. script:WaitForChild("Heartbeat")
  347.  
  348. frame = 1 / 60
  349. tf = 0
  350. allowframeloss = false
  351. tossremainder = false
  352.  
  353.  
  354. lastframe = tick()
  355. script.Heartbeat:Fire()
  356.  
  357.  
  358. game:GetService("RunService").Heartbeat:connect(function(s, p)
  359. tf = tf + s
  360. if tf >= frame then
  361. if allowframeloss then
  362. script.Heartbeat:Fire()
  363. lastframe = tick()
  364. else
  365. for i = 1, math.floor(tf / frame) do
  366. script.Heartbeat:Fire()
  367. end
  368. lastframe = tick()
  369. end
  370. if tossremainder then
  371. tf = 0
  372. else
  373. tf = tf - frame * math.floor(tf / frame)
  374. end
  375. end
  376. end)
  377. -------------------------------------------------------
  378. --End HeartBeat--
  379. -------------------------------------------------------
  380.  
  381. -------------------------------------------------------
  382. --Start Important Functions--
  383. -------------------------------------------------------
  384. function swait(num)
  385. if num == 0 or num == nil then
  386. game:service("RunService").Stepped:wait(0)
  387. else
  388. for i = 0, num do
  389. game:service("RunService").Stepped:wait(0)
  390. end
  391. end
  392. end
  393. function thread(f)
  394. coroutine.resume(coroutine.create(f))
  395. end
  396. function clerp(a, b, t)
  397. local qa = {
  398. QuaternionFromCFrame(a)
  399. }
  400. local qb = {
  401. QuaternionFromCFrame(b)
  402. }
  403. local ax, ay, az = a.x, a.y, a.z
  404. local bx, by, bz = b.x, b.y, b.z
  405. local _t = 1 - t
  406. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  407. end
  408. function QuaternionFromCFrame(cf)
  409. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  410. local trace = m00 + m11 + m22
  411. if trace > 0 then
  412. local s = math.sqrt(1 + trace)
  413. local recip = 0.5 / s
  414. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  415. else
  416. local i = 0
  417. if m00 < m11 then
  418. i = 1
  419. end
  420. if m22 > (i == 0 and m00 or m11) then
  421. i = 2
  422. end
  423. if i == 0 then
  424. local s = math.sqrt(m00 - m11 - m22 + 1)
  425. local recip = 0.5 / s
  426. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  427. elseif i == 1 then
  428. local s = math.sqrt(m11 - m22 - m00 + 1)
  429. local recip = 0.5 / s
  430. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  431. elseif i == 2 then
  432. local s = math.sqrt(m22 - m00 - m11 + 1)
  433. local recip = 0.5 / s
  434. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  435. end
  436. end
  437. end
  438. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  439. local xs, ys, zs = x + x, y + y, z + z
  440. local wx, wy, wz = w * xs, w * ys, w * zs
  441. local xx = x * xs
  442. local xy = x * ys
  443. local xz = x * zs
  444. local yy = y * ys
  445. local yz = y * zs
  446. local zz = z * zs
  447. 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))
  448. end
  449. function QuaternionSlerp(a, b, t)
  450. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  451. local startInterp, finishInterp
  452. if cosTheta >= 1.0E-4 then
  453. if 1 - cosTheta > 1.0E-4 then
  454. local theta = math.acos(cosTheta)
  455. local invSinTheta = 1 / Sin(theta)
  456. startInterp = Sin((1 - t) * theta) * invSinTheta
  457. finishInterp = Sin(t * theta) * invSinTheta
  458. else
  459. startInterp = 1 - t
  460. finishInterp = t
  461. end
  462. elseif 1 + cosTheta > 1.0E-4 then
  463. local theta = math.acos(-cosTheta)
  464. local invSinTheta = 1 / Sin(theta)
  465. startInterp = Sin((t - 1) * theta) * invSinTheta
  466. finishInterp = Sin(t * theta) * invSinTheta
  467. else
  468. startInterp = t - 1
  469. finishInterp = t
  470. end
  471. 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
  472. end
  473. function rayCast(Position, Direction, Range, Ignore)
  474. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  475. end
  476. local RbxUtility = LoadLibrary("RbxUtility")
  477. local Create = RbxUtility.Create
  478.  
  479. -------------------------------------------------------
  480. --Start Damage Function--
  481. -------------------------------------------------------
  482. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  483. if hit.Parent == nil then
  484. return
  485. end
  486. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  487. for _, v in pairs(hit.Parent:children()) do
  488. if v:IsA("Humanoid") then
  489. h = v
  490. end
  491. end
  492. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  493.  
  494. hit.Parent:FindFirstChild("Head"):BreakJoints()
  495. end
  496.  
  497. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  498. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  499. if hit.Parent.DebounceHit.Value == true then
  500. return
  501. end
  502. end
  503. if insta == true then
  504. hit.Parent:FindFirstChild("Head"):BreakJoints()
  505. end
  506. local c = Create("ObjectValue"){
  507. Name = "creator",
  508. Value = game:service("Players").LocalPlayer,
  509. Parent = h,
  510. }
  511. game:GetService("Debris"):AddItem(c, .5)
  512. if HitSound ~= nil and HitPitch ~= nil then
  513. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  514. end
  515. local Damage = math.random(minim, maxim)
  516. local blocked = false
  517. local block = hit.Parent:findFirstChild("Block")
  518. if block ~= nil then
  519. if block.className == "IntValue" then
  520. if block.Value > 0 then
  521. blocked = true
  522. block.Value = block.Value - 1
  523. print(block.Value)
  524. end
  525. end
  526. end
  527. if blocked == false then
  528. h.Health = h.Health - Damage
  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. else
  531. h.Health = h.Health - (Damage / 2)
  532. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  533. end
  534. if Type == "Knockdown" then
  535. local hum = hit.Parent.Humanoid
  536. hum.PlatformStand = true
  537. coroutine.resume(coroutine.create(function(HHumanoid)
  538. swait(1)
  539. HHumanoid.PlatformStand = false
  540. end), hum)
  541. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  542. local bodvol = Create("BodyVelocity"){
  543. velocity = angle * knockback,
  544. P = 5000,
  545. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  546. Parent = hit,
  547. }
  548. local rl = Create("BodyAngularVelocity"){
  549. P = 3000,
  550. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  551. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  552. Parent = hit,
  553. }
  554. game:GetService("Debris"):AddItem(bodvol, .5)
  555. game:GetService("Debris"):AddItem(rl, .5)
  556. elseif Type == "Normal" then
  557. local vp = Create("BodyVelocity"){
  558. P = 500,
  559. maxForce = Vector3.new(math.huge, 0, math.huge),
  560. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  561. }
  562. if knockback > 0 then
  563. vp.Parent = hit.Parent.Torso
  564. end
  565. game:GetService("Debris"):AddItem(vp, .5)
  566. elseif Type == "Up" then
  567. local bodyVelocity = Create("BodyVelocity"){
  568. velocity = Vector3.new(0, 20, 0),
  569. P = 5000,
  570. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  571. Parent = hit,
  572. }
  573. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  574. elseif Type == "DarkUp" then
  575. coroutine.resume(coroutine.create(function()
  576. for i = 0, 1, 0.1 do
  577. swait()
  578. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  579. end
  580. end))
  581. local bodyVelocity = Create("BodyVelocity"){
  582. velocity = Vector3.new(0, 20, 0),
  583. P = 5000,
  584. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  585. Parent = hit,
  586. }
  587. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  588. elseif Type == "Snare" then
  589. local bp = Create("BodyPosition"){
  590. P = 2000,
  591. D = 100,
  592. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  593. position = hit.Parent.Torso.Position,
  594. Parent = hit.Parent.Torso,
  595. }
  596. game:GetService("Debris"):AddItem(bp, 1)
  597. elseif Type == "Freeze" then
  598. local BodPos = Create("BodyPosition"){
  599. P = 50000,
  600. D = 1000,
  601. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  602. position = hit.Parent.Torso.Position,
  603. Parent = hit.Parent.Torso,
  604. }
  605. local BodGy = Create("BodyGyro") {
  606. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  607. P = 20e+003,
  608. Parent = hit.Parent.Torso,
  609. cframe = hit.Parent.Torso.CFrame,
  610. }
  611. hit.Parent.Torso.Anchored = true
  612. coroutine.resume(coroutine.create(function(Part)
  613. swait(1.5)
  614. Part.Anchored = false
  615. end), hit.Parent.Torso)
  616. game:GetService("Debris"):AddItem(BodPos, 3)
  617. game:GetService("Debris"):AddItem(BodGy, 3)
  618. end
  619. local debounce = Create("BoolValue"){
  620. Name = "DebounceHit",
  621. Parent = hit.Parent,
  622. Value = true,
  623. }
  624. game:GetService("Debris"):AddItem(debounce, Delay)
  625. c = Create("ObjectValue"){
  626. Name = "creator",
  627. Value = Player,
  628. Parent = h,
  629. }
  630. game:GetService("Debris"):AddItem(c, .5)
  631. end
  632. end
  633. -------------------------------------------------------
  634. --End Damage Function--
  635. -------------------------------------------------------
  636.  
  637. -------------------------------------------------------
  638. --Start Damage Function Customization--
  639. -------------------------------------------------------
  640. function ShowDamage(Pos, Text, Time, Color)
  641. local Rate = (1 / 30)
  642. local Pos = (Pos or Vector3.new(0, 0, 0))
  643. local Text = (Text or "")
  644. local Time = (Time or 2)
  645. local Color = (Color or Color3.new(1, 0, 1))
  646. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  647. EffectPart.Anchored = true
  648. local BillboardGui = Create("BillboardGui"){
  649. Size = UDim2.new(3, 0, 3, 0),
  650. Adornee = EffectPart,
  651. Parent = EffectPart,
  652. }
  653. local TextLabel = Create("TextLabel"){
  654. BackgroundTransparency = 1,
  655. Size = UDim2.new(1, 0, 1, 0),
  656. Text = Text,
  657. Font = "Bodoni",
  658. TextColor3 = Color,
  659. TextScaled = true,
  660. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  661. Parent = BillboardGui,
  662. }
  663. game.Debris:AddItem(EffectPart, (Time))
  664. EffectPart.Parent = game:GetService("Workspace")
  665. delay(0, function()
  666. local Frames = (Time / Rate)
  667. for Frame = 1, Frames do
  668. wait(Rate)
  669. local Percent = (Frame / Frames)
  670. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  671. TextLabel.TextTransparency = Percent
  672. end
  673. if EffectPart and EffectPart.Parent then
  674. EffectPart:Destroy()
  675. end
  676. end)
  677. end
  678. -------------------------------------------------------
  679. --End Damage Function Customization--
  680. -------------------------------------------------------
  681.  
  682. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  683. for _, c in pairs(workspace:children()) do
  684. local hum = c:findFirstChild("Humanoid")
  685. if hum ~= nil then
  686. local head = c:findFirstChild("Head")
  687. if head ~= nil then
  688. local targ = head.Position - Part.Position
  689. local mag = targ.magnitude
  690. if magni >= mag and c.Name ~= plr.Name then
  691. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  692. end
  693. end
  694. end
  695. end
  696. end
  697.  
  698.  
  699. CFuncs = {
  700. Part = {
  701. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  702. local Part = Create("Part")({
  703. Parent = Parent,
  704. Reflectance = Reflectance,
  705. Transparency = Transparency,
  706. CanCollide = false,
  707. Locked = true,
  708. BrickColor = BrickColor.new(tostring(BColor)),
  709. Name = Name,
  710. Size = Size,
  711. Material = Material
  712. })
  713. RemoveOutlines(Part)
  714. return Part
  715. end
  716. },
  717. Mesh = {
  718. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  719. local Msh = Create(Mesh)({
  720. Parent = Part,
  721. Offset = OffSet,
  722. Scale = Scale
  723. })
  724. if Mesh == "SpecialMesh" then
  725. Msh.MeshType = MeshType
  726. Msh.MeshId = MeshId
  727. end
  728. return Msh
  729. end
  730. },
  731. Mesh = {
  732. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  733. local Msh = Create(Mesh)({
  734. Parent = Part,
  735. Offset = OffSet,
  736. Scale = Scale
  737. })
  738. if Mesh == "SpecialMesh" then
  739. Msh.MeshType = MeshType
  740. Msh.MeshId = MeshId
  741. end
  742. return Msh
  743. end
  744. },
  745. Weld = {
  746. Create = function(Parent, Part0, Part1, C0, C1)
  747. local Weld = Create("Weld")({
  748. Parent = Parent,
  749. Part0 = Part0,
  750. Part1 = Part1,
  751. C0 = C0,
  752. C1 = C1
  753. })
  754. return Weld
  755. end
  756. },
  757. Sound = {
  758. Create = function(id, par, vol, pit)
  759. coroutine.resume(coroutine.create(function()
  760. local S = Create("Sound")({
  761. Volume = vol,
  762. Pitch = pit or 1,
  763. SoundId = id,
  764. Parent = par or workspace
  765. })
  766. wait()
  767. S:play()
  768. game:GetService("Debris"):AddItem(S, 6)
  769. end))
  770. end
  771. },
  772. ParticleEmitter = {
  773. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  774. local fp = Create("ParticleEmitter")({
  775. Parent = Parent,
  776. Color = ColorSequence.new(Color1, Color2),
  777. LightEmission = LightEmission,
  778. Size = Size,
  779. Texture = Texture,
  780. Transparency = Transparency,
  781. ZOffset = ZOffset,
  782. Acceleration = Accel,
  783. Drag = Drag,
  784. LockedToPart = LockedToPart,
  785. VelocityInheritance = VelocityInheritance,
  786. EmissionDirection = EmissionDirection,
  787. Enabled = Enabled,
  788. Lifetime = LifeTime,
  789. Rate = Rate,
  790. Rotation = Rotation,
  791. RotSpeed = RotSpeed,
  792. Speed = Speed,
  793. VelocitySpread = VelocitySpread
  794. })
  795. return fp
  796. end
  797. }
  798. }
  799. function RemoveOutlines(part)
  800. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  801. end
  802. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  803. local Part = Create("Part")({
  804. formFactor = FormFactor,
  805. Parent = Parent,
  806. Reflectance = Reflectance,
  807. Transparency = Transparency,
  808. CanCollide = false,
  809. Locked = true,
  810. BrickColor = BrickColor.new(tostring(BColor)),
  811. Name = Name,
  812. Size = Size,
  813. Material = Material
  814. })
  815. RemoveOutlines(Part)
  816. return Part
  817. end
  818. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  819. local Msh = Create(Mesh)({
  820. Parent = Part,
  821. Offset = OffSet,
  822. Scale = Scale
  823. })
  824. if Mesh == "SpecialMesh" then
  825. Msh.MeshType = MeshType
  826. Msh.MeshId = MeshId
  827. end
  828. return Msh
  829. end
  830. function CreateWeld(Parent, Part0, Part1, C0, C1)
  831. local Weld = Create("Weld")({
  832. Parent = Parent,
  833. Part0 = Part0,
  834. Part1 = Part1,
  835. C0 = C0,
  836. C1 = C1
  837. })
  838. return Weld
  839. end
  840.  
  841.  
  842. -------------------------------------------------------
  843. --Start Effect Function--
  844. -------------------------------------------------------
  845. EffectModel = Instance.new("Model", char)
  846. Effects = {
  847. Block = {
  848. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  849. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  850. prt.Anchored = true
  851. prt.CFrame = cframe
  852. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  853. game:GetService("Debris"):AddItem(prt, 10)
  854. if Type == 1 or Type == nil then
  855. table.insert(Effects, {
  856. prt,
  857. "Block1",
  858. delay,
  859. x3,
  860. y3,
  861. z3,
  862. msh
  863. })
  864. elseif Type == 2 then
  865. table.insert(Effects, {
  866. prt,
  867. "Block2",
  868. delay,
  869. x3,
  870. y3,
  871. z3,
  872. msh
  873. })
  874. else
  875. table.insert(Effects, {
  876. prt,
  877. "Block3",
  878. delay,
  879. x3,
  880. y3,
  881. z3,
  882. msh
  883. })
  884. end
  885. end
  886. },
  887. Sphere = {
  888. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  889. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  890. prt.Anchored = true
  891. prt.CFrame = cframe
  892. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  893. game:GetService("Debris"):AddItem(prt, 10)
  894. table.insert(Effects, {
  895. prt,
  896. "Cylinder",
  897. delay,
  898. x3,
  899. y3,
  900. z3,
  901. msh
  902. })
  903. end
  904. },
  905. Cylinder = {
  906. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  907. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  908. prt.Anchored = true
  909. prt.CFrame = cframe
  910. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  911. game:GetService("Debris"):AddItem(prt, 10)
  912. table.insert(Effects, {
  913. prt,
  914. "Cylinder",
  915. delay,
  916. x3,
  917. y3,
  918. z3,
  919. msh
  920. })
  921. end
  922. },
  923. Wave = {
  924. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  925. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  926. prt.Anchored = true
  927. prt.CFrame = cframe
  928. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  929. game:GetService("Debris"):AddItem(prt, 10)
  930. table.insert(Effects, {
  931. prt,
  932. "Cylinder",
  933. delay,
  934. x3 / 60,
  935. y3 / 60,
  936. z3 / 60,
  937. msh
  938. })
  939. end
  940. },
  941. Ring = {
  942. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  943. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  944. prt.Anchored = true
  945. prt.CFrame = cframe
  946. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  947. game:GetService("Debris"):AddItem(prt, 10)
  948. table.insert(Effects, {
  949. prt,
  950. "Cylinder",
  951. delay,
  952. x3,
  953. y3,
  954. z3,
  955. msh
  956. })
  957. end
  958. },
  959. Break = {
  960. Create = function(brickcolor, cframe, x1, y1, z1)
  961. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  962. prt.Anchored = true
  963. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  964. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  965. local num = math.random(10, 50) / 1000
  966. game:GetService("Debris"):AddItem(prt, 10)
  967. table.insert(Effects, {
  968. prt,
  969. "Shatter",
  970. num,
  971. prt.CFrame,
  972. math.random() - math.random(),
  973. 0,
  974. math.random(50, 100) / 100
  975. })
  976. end
  977. },
  978. Spiral = {
  979. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  980. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  981. prt.Anchored = true
  982. prt.CFrame = cframe
  983. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  984. game:GetService("Debris"):AddItem(prt, 10)
  985. table.insert(Effects, {
  986. prt,
  987. "Cylinder",
  988. delay,
  989. x3,
  990. y3,
  991. z3,
  992. msh
  993. })
  994. end
  995. },
  996. Push = {
  997. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  998. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  999. prt.Anchored = true
  1000. prt.CFrame = cframe
  1001. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1002. game:GetService("Debris"):AddItem(prt, 10)
  1003. table.insert(Effects, {
  1004. prt,
  1005. "Cylinder",
  1006. delay,
  1007. x3,
  1008. y3,
  1009. z3,
  1010. msh
  1011. })
  1012. end
  1013. }
  1014. }
  1015. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1016. local fp = IT("Part")
  1017. fp.formFactor = formfactor
  1018. fp.Parent = parent
  1019. fp.Reflectance = reflectance
  1020. fp.Transparency = transparency
  1021. fp.CanCollide = false
  1022. fp.Locked = true
  1023. fp.BrickColor = brickcolor
  1024. fp.Name = name
  1025. fp.Size = size
  1026. fp.Position = tors.Position
  1027. RemoveOutlines(fp)
  1028. fp.Material = "SmoothPlastic"
  1029. fp:BreakJoints()
  1030. return fp
  1031. end
  1032.  
  1033. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1034. local mesh = IT(Mesh)
  1035. mesh.Parent = part
  1036. if Mesh == "SpecialMesh" then
  1037. mesh.MeshType = meshtype
  1038. if meshid ~= "nil" then
  1039. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1040. end
  1041. end
  1042. mesh.Offset = offset
  1043. mesh.Scale = scale
  1044. return mesh
  1045. end
  1046.  
  1047. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1048. local type = type
  1049. local rng = Instance.new("Part", char)
  1050. rng.Anchored = true
  1051. rng.BrickColor = color
  1052. rng.CanCollide = false
  1053. rng.FormFactor = 3
  1054. rng.Name = "Ring"
  1055. rng.Material = "Neon"
  1056. rng.Size = Vector3.new(1, 1, 1)
  1057. rng.Transparency = 0
  1058. rng.TopSurface = 0
  1059. rng.BottomSurface = 0
  1060. rng.CFrame = pos
  1061. local rngm = Instance.new("SpecialMesh", rng)
  1062. rngm.MeshType = MType
  1063. rngm.Scale = scale
  1064. local scaler2 = 1
  1065. if type == "Add" then
  1066. scaler2 = 1 * value
  1067. elseif type == "Divide" then
  1068. scaler2 = 1 / value
  1069. end
  1070. coroutine.resume(coroutine.create(function()
  1071. for i = 0, 10 / bonuspeed, 0.1 do
  1072. swait()
  1073. if type == "Add" then
  1074. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1075. elseif type == "Divide" then
  1076. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1077. end
  1078. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1079. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1080. end
  1081. rng:Destroy()
  1082. end))
  1083. end
  1084.  
  1085. function Eviscerate(dude)
  1086. if dude.Name ~= char then
  1087. local bgf = IT("BodyGyro", dude.Head)
  1088. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1089. local val = IT("BoolValue", dude)
  1090. val.Name = "IsHit"
  1091. local ds = coroutine.wrap(function()
  1092. dude:WaitForChild("Head"):BreakJoints()
  1093. wait(0.5)
  1094. target = nil
  1095. coroutine.resume(coroutine.create(function()
  1096. for i, v in pairs(dude:GetChildren()) do
  1097. if v:IsA("Accessory") then
  1098. v:Destroy()
  1099. end
  1100. if v:IsA("Humanoid") then
  1101. v:Destroy()
  1102. end
  1103. if v:IsA("CharacterMesh") then
  1104. v:Destroy()
  1105. end
  1106. if v:IsA("Model") then
  1107. v:Destroy()
  1108. end
  1109. if v:IsA("Part") or v:IsA("MeshPart") then
  1110. for x, o in pairs(v:GetChildren()) do
  1111. if o:IsA("Decal") then
  1112. o:Destroy()
  1113. end
  1114. end
  1115. coroutine.resume(coroutine.create(function()
  1116. v.Material = "Neon"
  1117. v.CanCollide = false
  1118. local PartEmmit1 = IT("ParticleEmitter", v)
  1119. PartEmmit1.LightEmission = 1
  1120. PartEmmit1.Texture = "rbxassetid://284205403"
  1121. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1122. PartEmmit1.Rate = 150
  1123. PartEmmit1.Lifetime = NumberRange.new(1)
  1124. PartEmmit1.Size = NumberSequence.new({
  1125. NumberSequenceKeypoint.new(0, 0.75, 0),
  1126. NumberSequenceKeypoint.new(1, 0, 0)
  1127. })
  1128. PartEmmit1.Transparency = NumberSequence.new({
  1129. NumberSequenceKeypoint.new(0, 0, 0),
  1130. NumberSequenceKeypoint.new(1, 1, 0)
  1131. })
  1132. PartEmmit1.Speed = NumberRange.new(0, 0)
  1133. PartEmmit1.VelocitySpread = 30000
  1134. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1135. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1136. local BodPoss = IT("BodyPosition", v)
  1137. BodPoss.P = 3000
  1138. BodPoss.D = 1000
  1139. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1140. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1141. v.Color = maincolor.Color
  1142. coroutine.resume(coroutine.create(function()
  1143. for i = 0, 49 do
  1144. swait(1)
  1145. v.Transparency = v.Transparency + 0.08
  1146. end
  1147. wait(0.5)
  1148. PartEmmit1.Enabled = false
  1149. wait(3)
  1150. v:Destroy()
  1151. dude:Destroy()
  1152. end))
  1153. end))
  1154. end
  1155. end
  1156. end))
  1157. end)
  1158. ds()
  1159. end
  1160. end
  1161.  
  1162. function FindNearestHead(Position, Distance, SinglePlayer)
  1163. if SinglePlayer then
  1164. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1165. end
  1166. local List = {}
  1167. for i, v in pairs(workspace:GetChildren()) do
  1168. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1169. table.insert(List, v)
  1170. end
  1171. end
  1172. return List
  1173. end
  1174.  
  1175. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1176. local type = type
  1177. local rng = Instance.new("Part", char)
  1178. rng.Anchored = true
  1179. rng.BrickColor = color
  1180. rng.CanCollide = false
  1181. rng.FormFactor = 3
  1182. rng.Name = "Ring"
  1183. rng.Material = "Neon"
  1184. rng.Size = Vector3.new(1, 1, 1)
  1185. rng.Transparency = 0
  1186. rng.TopSurface = 0
  1187. rng.BottomSurface = 0
  1188. rng.CFrame = pos
  1189. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1190. local rngm = Instance.new("SpecialMesh", rng)
  1191. rngm.MeshType = MType
  1192. rngm.Scale = Vector3.new(x1, y1, z1)
  1193. local scaler2 = 1
  1194. local speeder = FastSpeed
  1195. if type == "Add" then
  1196. scaler2 = 1 * value
  1197. elseif type == "Divide" then
  1198. scaler2 = 1 / value
  1199. end
  1200. coroutine.resume(coroutine.create(function()
  1201. for i = 0, 10 / bonuspeed, 0.1 do
  1202. swait()
  1203. if type == "Add" then
  1204. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1205. elseif type == "Divide" then
  1206. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1207. end
  1208. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1209. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1210. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1211. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1212. end
  1213. rng:Destroy()
  1214. end))
  1215. end
  1216.  
  1217. function SoulSteal(dude)
  1218. if dude.Name ~= char then
  1219. local bgf = IT("BodyGyro", dude.Head)
  1220. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1221. local val = IT("BoolValue", dude)
  1222. val.Name = "IsHit"
  1223. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1224. local soulst = coroutine.wrap(function()
  1225. local soul = Instance.new("Part",dude)
  1226. soul.Size = Vector3.new(1,1,1)
  1227. soul.CanCollide = false
  1228. soul.Anchored = false
  1229. soul.Position = torso.Position
  1230. soul.Transparency = 1
  1231. local PartEmmit1 = IT("ParticleEmitter", soul)
  1232. PartEmmit1.LightEmission = 1
  1233. PartEmmit1.Texture = "rbxassetid://569507414"
  1234. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1235. PartEmmit1.Rate = 250
  1236. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1237. PartEmmit1.Size = NumberSequence.new({
  1238. NumberSequenceKeypoint.new(0, 1, 0),
  1239. NumberSequenceKeypoint.new(1, 0, 0)
  1240. })
  1241. PartEmmit1.Transparency = NumberSequence.new({
  1242. NumberSequenceKeypoint.new(0, 0, 0),
  1243. NumberSequenceKeypoint.new(1, 1, 0)
  1244. })
  1245. PartEmmit1.Speed = NumberRange.new(0, 0)
  1246. PartEmmit1.VelocitySpread = 30000
  1247. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1248. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1249. local BodPoss = IT("BodyPosition", soul)
  1250. BodPoss.P = 3000
  1251. BodPoss.D = 1000
  1252. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1253. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1254. wait(1.6)
  1255. soul.Touched:connect(function(hit)
  1256. if hit.Parent == char then
  1257. soul:Destroy()
  1258. end
  1259. end)
  1260. wait(1.2)
  1261. while soul do
  1262. swait()
  1263. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1264. BodPoss.Position = tors.Position
  1265. end
  1266. end)
  1267. soulst()
  1268. end
  1269. end
  1270. function FaceMouse()
  1271. local Cam = workspace.CurrentCamera
  1272. return {
  1273. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1274. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1275. }
  1276. end
  1277. -------------------------------------------------------
  1278. --End Effect Function--
  1279. -------------------------------------------------------
  1280. function Cso(ID, PARENT, VOLUME, PITCH)
  1281. local NSound = nil
  1282. coroutine.resume(coroutine.create(function()
  1283. NSound = IT("Sound", PARENT)
  1284. NSound.Volume = VOLUME
  1285. NSound.Pitch = PITCH
  1286. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1287. swait()
  1288. NSound:play()
  1289. game:GetService("Debris"):AddItem(NSound, 10)
  1290. end))
  1291. return NSound
  1292. end
  1293. function CameraEnshaking(Length, Intensity)
  1294. coroutine.resume(coroutine.create(function()
  1295. local intensity = 1 * Intensity
  1296. local rotM = 0.01 * Intensity
  1297. for i = 0, Length, 0.1 do
  1298. swait()
  1299. intensity = intensity - 0.05 * Intensity / Length
  1300. rotM = rotM - 5.0E-4 * Intensity / Length
  1301. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1302. 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)
  1303. end
  1304. hum.CameraOffset = Vector3.new(0, 0, 0)
  1305. end))
  1306. end
  1307. function chatfunc(text, color)
  1308. local chat = coroutine.wrap(function()
  1309. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1310. char:FindFirstChild("TalkingBillBoard"):destroy()
  1311. end
  1312. local naeeym2 = Instance.new("BillboardGui", char)
  1313. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1314. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1315. naeeym2.Adornee = hed
  1316. naeeym2.Name = "TalkingBillBoard"
  1317. local tecks2 = Instance.new("TextLabel", naeeym2)
  1318. tecks2.BackgroundTransparency = 1
  1319. tecks2.BorderSizePixel = 0
  1320. tecks2.Text = ""
  1321. tecks2.Font = "SciFi"
  1322. tecks2.TextSize = 30
  1323. tecks2.TextStrokeTransparency = 0
  1324. tecks2.TextColor3 = color
  1325. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1326. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1327. coroutine.resume(coroutine.create(function()
  1328. while true do
  1329. swait(1)
  1330. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1331. tecks2.Rotation = math.random(-5, 5)
  1332. end
  1333. end))
  1334. for i = 1, string.len(text) do
  1335. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1336. tecks2.Text = string.sub(text, 1, i)
  1337. swait(1)
  1338. end
  1339. wait(1)
  1340. naeeym2:Destroy()
  1341. end)
  1342. chat()
  1343. end
  1344. -------------------------------------------------------
  1345. --End Important Functions--
  1346. -------------------------------------------------------
  1347.  
  1348. -------------------------------------------------------
  1349. --Start Customization--
  1350. -------------------------------------------------------
  1351. local Player_Size = 1
  1352. if Player_Size ~= 1 then
  1353. root.Size = root.Size * Player_Size
  1354. tors.Size = tors.Size * Player_Size
  1355. hed.Size = hed.Size * Player_Size
  1356. ra.Size = ra.Size * Player_Size
  1357. la.Size = la.Size * Player_Size
  1358. rl.Size = rl.Size * Player_Size
  1359. ll.Size = ll.Size * Player_Size
  1360. ----------------------------------------------------------------------------------
  1361. rootj.Parent = root
  1362. neck.Parent = tors
  1363. RW.Parent = tors
  1364. LW.Parent = tors
  1365. RH.Parent = tors
  1366. LH.Parent = tors
  1367. ----------------------------------------------------------------------------------
  1368. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1369. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1370. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1371. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1372. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1373. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1374. ----------------------------------------------------------------------------------
  1375. 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))
  1376. 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))
  1377. 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))
  1378. 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))
  1379. --hat.Parent = Character
  1380. end
  1381. ----------------------------------------------------------------------------------
  1382. local equipped = false
  1383. local idle = 0
  1384. local change = 1
  1385. local val = 0
  1386. local toim = 0
  1387. local idleanim = 0.4
  1388. local sine = 0
  1389. local Sit = 1
  1390. ----------------------------------------------------------------------------------
  1391. local SONG = 2552132916
  1392. local SONG2 = 0
  1393. local Music = Instance.new("Sound",tors)
  1394. Music.Volume = 2.5
  1395. Music.Looped = true
  1396. Music.Pitch = 1 --Pitcher
  1397. ----------------------------------------------------------------------------------
  1398. local Orin = "http://www.roblox.com/asset/?id=542187919"
  1399. Head.face.Texture = Orin
  1400. function weld(a, b, acf)
  1401. local w = Instance.new("Weld", a)
  1402. w.Part0 = a
  1403. w.Part1 = b
  1404. w.C0 = acf
  1405. end
  1406. for i,v in pairs(char:GetChildren()) do
  1407. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  1408. v:destroy()
  1409. end
  1410. end
  1411.  
  1412. local Hair = Instance.new("Part")
  1413. Hair.Parent = char
  1414. Hair.Name = "Hair"
  1415. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  1416. Hair.CFrame = char.Head.CFrame
  1417. Hair:BreakJoints()
  1418. Hair.CanCollide = false
  1419. Hair.BrickColor = BrickColor.new("New Yeller")
  1420. Hair.TopSurface = "Smooth"
  1421. Hair.BottomSurface = "Smooth"
  1422. Weld = Instance.new("Weld")
  1423. Weld.Name = "Weld"
  1424. Weld.Part0 = char.Torso
  1425. Weld.Part1 = Hair
  1426. Weld.Parent = char.Torso
  1427. Weld.C0 = CFrame.new(0, 0.3, 0.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1428. Mesh = Instance.new("SpecialMesh")
  1429. Mesh.Parent = Hair
  1430. Mesh.MeshId = "rbxassetid://67993325"
  1431. Mesh.TextureId = "http://www.roblox.com/asset/?id=93367455"
  1432. Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  1433. ----------------------------------------------------------------------------------
  1434. local Hair = Instance.new("Part")
  1435. Hair.Parent = char
  1436. Hair.Name = "Hair"
  1437. Hair.Size = Vector3.new(1, 0.4, 1)
  1438. Hair.CFrame = char.Head.CFrame
  1439. Hair:BreakJoints()
  1440. Hair.CanCollide = false
  1441. Hair.BrickColor = BrickColor.new("New Yeller")
  1442. Hair.TopSurface = "Smooth"
  1443. Hair.BottomSurface = "Smooth"
  1444. Weld = Instance.new("Weld")
  1445. Weld.Name = "Weld"
  1446. Weld.Part0 = char.Head
  1447. Weld.Part1 = Hair
  1448. Weld.Parent = char.Head
  1449. Weld.C0 = CFrame.new(0, 0.2, -0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1450. Mesh = Instance.new("SpecialMesh")
  1451. Mesh.Parent = Hair
  1452. Mesh.MeshId = "rbxassetid://0"
  1453. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  1454. Mesh.Scale = Vector3.new(1, 1, 1)
  1455. ----------------------------------------------------------------------------------
  1456. local Hair = Instance.new("Part")
  1457. Hair.Parent = char
  1458. Hair.Name = "Hair"
  1459. Hair.Size = Vector3.new(1, 0.4, 1)
  1460. Hair.CFrame = char.Head.CFrame
  1461. Hair:BreakJoints()
  1462. Hair.CanCollide = false
  1463. Hair.BrickColor = BrickColor.new("New Yeller")
  1464. Hair.TopSurface = "Smooth"
  1465. Hair.BottomSurface = "Smooth"
  1466. Weld = Instance.new("Weld")
  1467. Weld.Name = "Weld"
  1468. Weld.Part0 = char.Head
  1469. Weld.Part1 = Hair
  1470. Weld.Parent = char.Head
  1471. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1472. Mesh = Instance.new("SpecialMesh")
  1473. Mesh.Parent = Hair
  1474. Mesh.MeshId = "rbxassetid://16627529"
  1475. Mesh.TextureId = "http://www.roblox.com/asset/?id=1543772519"
  1476. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1477. ----------------------------------------------------------------------------------
  1478. local Hair = Instance.new("Part")
  1479. Hair.Parent = char
  1480. Hair.Name = "Hair"
  1481. Hair.Size = Vector3.new(0.99, 2.03, 2.45)
  1482. Hair.CFrame = char.Head.CFrame
  1483. Hair:BreakJoints()
  1484. Hair.CanCollide = false
  1485. Hair.BrickColor = BrickColor.new("New Yeller")
  1486. Hair.TopSurface = "Smooth"
  1487. Hair.BottomSurface = "Smooth"
  1488. Weld = Instance.new("Weld")
  1489. Weld.Name = "Weld"
  1490. Weld.Part0 = char.Torso
  1491. Weld.Part1 = Hair
  1492. Weld.Parent = char.Torso
  1493. Weld.C0 = CFrame.new(0.3, 0.1, 1.8)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1494. Mesh = Instance.new("SpecialMesh")
  1495. Mesh.Parent = Hair
  1496. Mesh.MeshId = "rbxassetid://170939831"
  1497. Mesh.TextureId = "http://www.roblox.com/asset/?id=1053329126"
  1498. Mesh.Scale = Vector3.new(1, 1, 1)
  1499. ----------------------------------------------------------------------------------
  1500. local Shirt = "rbxassetid://219915350"
  1501. local Pants = "rbxassetid://325498599"
  1502.  
  1503. ypcall(function()
  1504. shirt = Instance.new("Shirt", char)
  1505. shirt.Name = "Shirt"
  1506. pants = Instance.new("Pants", char)
  1507. pants.Name = "Pants"
  1508. char.Shirt.ShirtTemplate = Shirt
  1509. char.Pants.PantsTemplate = Pants
  1510. end)
  1511.  
  1512. shirt.Name = "aomFetty"
  1513. pants.Name = "aomFetty"
  1514. hum.WalkSpeed = 16
  1515. hum.JumpPower = 70
  1516. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999e+003
  1517. hum.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999e+003
  1518. hum.Animator.Parent = nil
  1519. ----------------------------------------------------------------------------------
  1520. local naeeym2 = Instance.new("BillboardGui",char)
  1521. naeeym2.AlwaysOnTop = true
  1522. naeeym2.Size = UDim2.new(5,35,2,15)
  1523. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1524. naeeym2.Adornee = hed
  1525. naeeym2.Name = "Name"
  1526. --naeeym2.PlayerToHideFrom = Player
  1527. local tecks2 = Instance.new("TextLabel",naeeym2)
  1528. tecks2.BackgroundTransparency = 1
  1529. tecks2.TextScaled = true
  1530. tecks2.BorderSizePixel = 0
  1531. tecks2.Text = "Uhhh.."
  1532. tecks2.Font = Enum.Font.Antique
  1533. tecks2.TextSize = 30
  1534. tecks2.TextStrokeTransparency = 0
  1535. tecks2.TextColor3 = Color3.new(255, 255, 0)
  1536. tecks2.TextStrokeColor3 = Color3.new(255, 0, 255)
  1537. tecks2.Size = UDim2.new(1,0,0.5,0)
  1538. tecks2.Parent = naeeym2
  1539. wait(1)
  1540. tecks2.Text = "What.."
  1541. wait(2)
  1542. tecks2.Text = "This feeling.."
  1543. wait(2)
  1544. tecks2.Text = "I think I can break my limit!"
  1545. wait(5)
  1546. tecks2.Text = "heh."
  1547. wait(2)
  1548. tecks2.Text = "Red_Jack142"
  1549. --------------------------------------------------------
  1550. local EyeSizes={
  1551. NumberSequenceKeypoint.new(0,0.65,0),
  1552. NumberSequenceKeypoint.new(0.5,0.7,0),
  1553. NumberSequenceKeypoint.new(1,0,0)
  1554. }
  1555. local EyeTrans={
  1556. NumberSequenceKeypoint.new(0,0,0),
  1557. NumberSequenceKeypoint.new(0.5,0,0),
  1558. NumberSequenceKeypoint.new(1,1,0)
  1559. }
  1560. local PE2=Instance.new("ParticleEmitter", ra)
  1561. PE2.LightEmission=.9
  1562. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  1563. PE2.Transparency=NumberSequence.new(EyeTrans)
  1564. PE2.Lifetime=NumberRange.new(0.35)
  1565. PE2.Rotation=NumberRange.new(0,360)
  1566. PE2.Rate=999
  1567. PE2.VelocitySpread = 10000
  1568. PE2.Acceleration = Vector3.new(0,25,0)
  1569. PE2.ZOffset = 0.5
  1570. PE2.Drag = 0
  1571. PE2.Speed = NumberRange.new(0,0,0)
  1572. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1573. PE2.Name = "PE2"
  1574. PE2.Enabled = true
  1575. PE2.LockedToPart = true
  1576. local EyeSizes={
  1577. NumberSequenceKeypoint.new(0,0.65,0),
  1578. NumberSequenceKeypoint.new(0.5,0.7,0),
  1579. NumberSequenceKeypoint.new(1,0,0)
  1580. }
  1581. local EyeTrans={
  1582. NumberSequenceKeypoint.new(0,0,0),
  1583. NumberSequenceKeypoint.new(0.5,0,0),
  1584. NumberSequenceKeypoint.new(1,1,0)
  1585. }
  1586. local PE3=Instance.new("ParticleEmitter", ra)
  1587. PE3.LightEmission=.9
  1588. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  1589. PE3.Transparency=NumberSequence.new(EyeTrans)
  1590. PE3.Lifetime=NumberRange.new(0.35)
  1591. PE3.Rotation=NumberRange.new(0,360)
  1592. PE3.Rate=999
  1593. PE3.VelocitySpread = 10000
  1594. PE3.Acceleration = Vector3.new(0,25,0)
  1595. PE3.ZOffset = 0.5
  1596. PE3.Drag = 0
  1597. PE3.Speed = NumberRange.new(0,0,0)
  1598. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1599. PE3.Name = "PE3"
  1600. PE3.Enabled = true
  1601. PE3.LockedToPart = true
  1602.  
  1603. local EyeSizes={
  1604. NumberSequenceKeypoint.new(0,0.65,0),
  1605. NumberSequenceKeypoint.new(0.5,0.7,0),
  1606. NumberSequenceKeypoint.new(1,0,0)
  1607. }
  1608. local EyeTrans={
  1609. NumberSequenceKeypoint.new(0,0,0),
  1610. NumberSequenceKeypoint.new(0.5,0,0),
  1611. NumberSequenceKeypoint.new(1,1,0)
  1612. }
  1613. local PE4=Instance.new("ParticleEmitter", ll)
  1614. PE4.LightEmission=.9
  1615. PE4.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  1616. PE4.Transparency=NumberSequence.new(EyeTrans)
  1617. PE4.Lifetime=NumberRange.new(0.35)
  1618. PE4.Rotation=NumberRange.new(0,360)
  1619. PE4.Rate=999
  1620. PE4.VelocitySpread = 10000
  1621. PE4.Acceleration = Vector3.new(0,25,0)
  1622. PE4.ZOffset = 0.5
  1623. PE4.Drag = 0
  1624. PE4.Speed = NumberRange.new(0,0,0)
  1625. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1626. PE4.Name = "PE4"
  1627. PE4.Enabled = true
  1628. PE4.LockedToPart = true
  1629. local EyeSizes={
  1630. NumberSequenceKeypoint.new(0,0.65,0),
  1631. NumberSequenceKeypoint.new(0.5,0.7,0),
  1632. NumberSequenceKeypoint.new(1,0,0)
  1633. }
  1634. local EyeTrans={
  1635. NumberSequenceKeypoint.new(0,0,0),
  1636. NumberSequenceKeypoint.new(0.5,0,0),
  1637. NumberSequenceKeypoint.new(1,1,0)
  1638. }
  1639. local PE5=Instance.new("ParticleEmitter", ll)
  1640. PE5.LightEmission=.9
  1641. PE5.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  1642. PE5.Transparency=NumberSequence.new(EyeTrans)
  1643. PE5.Lifetime=NumberRange.new(0.35)
  1644. PE5.Rotation=NumberRange.new(0,360)
  1645. PE5.Rate=999
  1646. PE5.VelocitySpread = 10000
  1647. PE5.Acceleration = Vector3.new(0,25,0)
  1648. PE5.ZOffset = 0.5
  1649. PE5.Drag = 0
  1650. PE5.Speed = NumberRange.new(0,0,0)
  1651. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1652. PE5.Name = "PE5"
  1653. PE5.Enabled = true
  1654. PE5.LockedToPart = true
  1655. -------------------------------------------------------
  1656. --End Customization--
  1657. -------------------------------------------------------
  1658.  
  1659.  
  1660. -------------------------------------------------------
  1661. --Start Attacks N Stuff--
  1662. -------------------------------------------------------
  1663. function attackone()
  1664. attack = true
  1665. hum.WalkSpeed = 3.01
  1666. for i = 0, 1.7, 0.1 do
  1667. swait()
  1668. 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)
  1669. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  1670. 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)
  1671. 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)
  1672. 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)
  1673. 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)
  1674. end
  1675. Cso("203426541", ra, 10, 1)
  1676. for i = 0, 1.4, 0.1 do
  1677. swait()
  1678. 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)
  1679. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1680. 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)
  1681. 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)
  1682. 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)
  1683. 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)
  1684. end
  1685. for i = 0, 1.4, 0.1 do
  1686. swait()
  1687. 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)
  1688. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1689. 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)
  1690. 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)
  1691. 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)
  1692. 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)
  1693. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  1694. if v:FindFirstChild("Head") then
  1695. Eviscerate(v)
  1696. end
  1697. end
  1698. end
  1699. attack = false
  1700. hum.WalkSpeed = 16
  1701. end
  1702. function attacktwo()
  1703. attack = true
  1704. hum.WalkSpeed = 3.01
  1705. for i = 0, 1.7, 0.1 do
  1706. swait()
  1707. 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)
  1708. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1709. 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)
  1710. 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)
  1711. 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)
  1712. 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)
  1713. end
  1714. Cso("203426541", rl, 10, 1)
  1715. CameraEnshaking(2, 3)
  1716. for i = 0, 1.4, 0.1 do
  1717. swait()
  1718. 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)
  1719. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1720. 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)
  1721. 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)
  1722. 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)
  1723. 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)
  1724. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  1725. if v:FindFirstChild("Head") then
  1726. Eviscerate(v)
  1727. end
  1728. end
  1729. end
  1730. attack = false
  1731. hum.WalkSpeed = 16
  1732. end
  1733. function attackthree()
  1734. attack = true
  1735. hum.WalkSpeed = 3.01
  1736. for i = 0, 1.4, 0.1 do
  1737. swait()
  1738. 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)
  1739. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1740. 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)
  1741. 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)
  1742. 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)
  1743. 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)
  1744. end
  1745. Cso("203426541", hed, 10, 1)
  1746. for i = 0, 1.7, 0.1 do
  1747. swait()
  1748. 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)
  1749. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1750. 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)
  1751. 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)
  1752. 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)
  1753. 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)
  1754. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  1755. if v:FindFirstChild("Head") then
  1756. Eviscerate(v)
  1757. end
  1758. end
  1759. end
  1760. attack = false
  1761. hum.WalkSpeed = 16
  1762. end
  1763.  
  1764. function Distort()
  1765. attack = true
  1766. hum.WalkSpeed = 0
  1767. local pos = root.Position
  1768. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  1769. Cso("847061203", char, 10, 0.85)
  1770. for i = 1,2.5,0.1 do
  1771. swait()
  1772. 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)
  1773. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1774. 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)
  1775. 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)
  1776. 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)
  1777. 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)
  1778. end
  1779. attack = false
  1780. hum.WalkSpeed = 8
  1781. end
  1782. function Ancient_Rage()
  1783. attack = true
  1784. hum.WalkSpeed = 0
  1785. Cso("135017578", tors, 10, 1.05)
  1786. for i = 1,14,0.1 do
  1787. swait()
  1788. 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)
  1789. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1790. 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)
  1791. 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)
  1792. 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)
  1793. 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)
  1794. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  1795. if v:FindFirstChild("Head") then
  1796. Eviscerate(v)
  1797. end
  1798. end
  1799. end
  1800. attack = false
  1801. hum.WalkSpeed = 16
  1802. end
  1803. function Technobeam()
  1804. attack = true
  1805. hum.WalkSpeed = 3.01
  1806. for i = 0, 4, 0.1 do
  1807. swait()
  1808. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1809. 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)
  1810. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1811. 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)
  1812. 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)
  1813. 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)
  1814. 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)
  1815. end
  1816. for i = 0, 2, 0.1 do
  1817. swait()
  1818. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  1819. 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)
  1820. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  1821. 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)
  1822. 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)
  1823. 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)
  1824. 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)
  1825. end
  1826. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1827. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1828. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1829. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1830. CameraEnshaking(4, 5)
  1831. Cso("206049428", char, 10, 1)
  1832. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1833. if v:FindFirstChild("Head") then
  1834. Eviscerate(v)
  1835. end
  1836. end
  1837. for i = 0, 2, 0.1 do
  1838. swait()
  1839. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  1840. 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)
  1841. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1842. 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)
  1843. 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)
  1844. 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)
  1845. 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)
  1846. end
  1847. hum.WalkSpeed = 16
  1848. attack = false
  1849. end
  1850. function Taunt10000()
  1851. attack = true
  1852. Cso("333446256", char, 10, 1)
  1853. for i = 0, 15, 0.1 do
  1854. swait()
  1855. 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)
  1856. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1857. 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)
  1858. 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)
  1859. 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)
  1860. 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)
  1861. end
  1862. for i = 0, 15, 0.1 do
  1863. swait()
  1864. 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)
  1865. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1866. 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)
  1867. 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)
  1868. 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)
  1869. 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)
  1870. end
  1871. for i = 0, 20, 0.1 do
  1872. swait()
  1873. 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)
  1874. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1875. 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)
  1876. 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)
  1877. 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)
  1878. 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)
  1879. end
  1880. attack = false
  1881. end
  1882. function OP9999()
  1883. attack = true
  1884. hum.WalkSpeed = 3.01
  1885. Cso("1690476035",char, 10, 1)
  1886. for i = 0,5.2,0.1 do
  1887. swait()
  1888. Effects.Block.Create(BrickC("Really red"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1889. 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)
  1890. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1891. 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)
  1892. 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)
  1893. 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)
  1894. 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)
  1895. end
  1896. Cso("824687369", char, 10, 1)
  1897. for i = 0,3.7,0.1 do
  1898. swait()
  1899. 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)
  1900. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1901. 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)
  1902. 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)
  1903. 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)
  1904. 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)
  1905. CameraEnshaking(2, 8)
  1906. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  1907. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  1908. if v:FindFirstChild("Head") then
  1909. Eviscerate(v)
  1910. end
  1911. end
  1912. end
  1913. attack = false
  1914. hum.WalkSpeed = 16
  1915. end
  1916. -------------------------------------------------------
  1917. --End Attacks N Stuff--
  1918. -------------------------------------------------------
  1919. mouse.KeyDown:connect(function(key)
  1920. if key == 'q' then
  1921. Swing = 2
  1922. hum.WalkSpeed = 40
  1923. end
  1924. end)
  1925. mouse.KeyUp:connect(function(key)
  1926. if key == 'q' then
  1927. Swing = 1
  1928. hum.WalkSpeed = 16
  1929. end
  1930. end)
  1931.  
  1932. mouse.KeyDown:connect(function(key)
  1933. if attack == false then
  1934. if key == 'e' then
  1935. Ancient_Rage()
  1936. elseif key == 'r' then
  1937. Distort()
  1938. elseif key == 't' then
  1939. Taunt10000()
  1940. elseif key == 'f' then
  1941. Technobeam()
  1942. elseif key == 'g' then
  1943. OP9999()
  1944. elseif key == 'h' then
  1945.  
  1946. end
  1947. end
  1948. end)
  1949. local Combo = 1
  1950. mouse.Button1Down:connect(function(key)
  1951. if attack == false then
  1952. if Combo == 1 then
  1953. Combo = 2
  1954. attackone()
  1955. elseif Combo == 2 then
  1956. Combo = 3
  1957. attacktwo()
  1958. elseif Combo == 3 then
  1959. Combo = 1
  1960. attackthree()
  1961. end
  1962. end
  1963. end)
  1964. -------------------------------------------------------
  1965. --Start Animations--
  1966. -------------------------------------------------------
  1967. while true do
  1968. swait()
  1969. sine = sine + change
  1970. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1971. local velderp = root.Velocity.y
  1972. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1973. if equipped == true or equipped == false then
  1974. if attack == false then
  1975. idle = idle + 1
  1976. else
  1977. idle = 0
  1978. end
  1979. --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")
  1980. if 1 < root.Velocity.y and hitfloor == nil then
  1981. Anim = "Jump"
  1982. if attack == false then
  1983. 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)
  1984. 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)
  1985. 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)
  1986. 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)
  1987. 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)
  1988. 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)
  1989. end
  1990. elseif -1 > root.Velocity.y and hitfloor == nil then
  1991. Anim = "Fall"
  1992. if attack == false then
  1993. 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)
  1994. 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)
  1995. 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)
  1996. 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)
  1997. 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)
  1998. 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)
  1999. end
  2000. elseif torvel < 1 and hitfloor ~= nil then
  2001. Anim = "Idle"
  2002. change = 1
  2003. if attack == false then
  2004. 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)
  2005. 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)
  2006. 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)
  2007. 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)
  2008. 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)
  2009. 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)
  2010. end
  2011. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2012. Anim = "Walk"
  2013. change = 1
  2014. if attack == false then
  2015. 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)
  2016. 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)
  2017. 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)
  2018. 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)
  2019. 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)
  2020. 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)
  2021. end
  2022. elseif torvel >= 25 and hitfloor ~= nil then
  2023. Anim = "Sprint"
  2024. change = 1.35
  2025. if attack == false then
  2026. 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)
  2027. 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)
  2028. 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)
  2029. 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)
  2030. 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)
  2031. 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)
  2032. end
  2033. end
  2034. end
  2035. Music.SoundId = "rbxassetid://"..SONG
  2036. Music.Looped = true
  2037. Music.Pitch = 1
  2038. Music.Volume = 1
  2039. Music.Parent = tors
  2040. Music:Resume()
  2041. if 0 < #Effects then
  2042. for e = 1, #Effects do
  2043. if Effects[e] ~= nil then
  2044. local Thing = Effects[e]
  2045. if Thing ~= nil then
  2046. local Part = Thing[1]
  2047. local Mode = Thing[2]
  2048. local Delay = Thing[3]
  2049. local IncX = Thing[4]
  2050. local IncY = Thing[5]
  2051. local IncZ = Thing[6]
  2052. if 1 >= Thing[1].Transparency then
  2053. if Thing[2] == "Block1" then
  2054. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2055. local Mesh = Thing[1].Mesh
  2056. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2057. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2058. elseif Thing[2] == "Block2" then
  2059. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2060. local Mesh = Thing[7]
  2061. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2062. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2063. elseif Thing[2] == "Block3" then
  2064. 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)
  2065. local Mesh = Thing[7]
  2066. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2067. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2068. elseif Thing[2] == "Cylinder" then
  2069. local Mesh = Thing[1].Mesh
  2070. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2071. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2072. elseif Thing[2] == "Blood" then
  2073. local Mesh = Thing[7]
  2074. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2075. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2076. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2077. elseif Thing[2] == "Elec" then
  2078. local Mesh = Thing[1].Mesh
  2079. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2080. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2081. elseif Thing[2] == "Disappear" then
  2082. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2083. elseif Thing[2] == "Shatter" then
  2084. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2085. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2086. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2087. Thing[6] = Thing[6] + Thing[5]
  2088. end
  2089. else
  2090. Part.Parent = nil
  2091. table.remove(Effects, e)
  2092. end
  2093. end
  2094. end
  2095. end
  2096. end
  2097. end
  2098. -------------------------------------------------------
  2099. --End Animations And Script--
  2100. ---------------------------------------------------------//====================================================\\--
  2101. --|| Made BY Red_Jack142[God/Editor]
  2102. --\\====================================================//--
  2103. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2104. local Player,game,owner = owner,game
  2105. local RealPlayer = Player
  2106. do
  2107. print("FE Compatibility code by Red_Jack142")
  2108. local rp = RealPlayer
  2109. script.Parent = rp.Character
  2110.  
  2111. --RemoteEvent for communicating
  2112. local Event = Instance.new("RemoteEvent")
  2113. Event.Name = "UserInput_Event"
  2114.  
  2115. --Fake event to make stuff like Mouse.KeyDown work
  2116. local function fakeEvent()
  2117. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  2118. t.connect = t.Connect
  2119. return t
  2120. end
  2121.  
  2122. --Creating fake input objects with fake variables
  2123. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2124. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2125. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2126. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2127. end}
  2128. --Merged 2 functions into one by checking amount of arguments
  2129. CAS.UnbindAction = CAS.BindAction
  2130.  
  2131. --This function will trigger the events that have been :Connect()'ed
  2132. local function te(self,ev,...)
  2133. local t = m[ev]
  2134. if t and t._fakeEvent then
  2135. for _,f in pairs(t.Functions) do
  2136. f(...)
  2137. end
  2138. end
  2139. end
  2140. m.TrigEvent = te
  2141. UIS.TrigEvent = te
  2142.  
  2143. Event.OnServerEvent:Connect(function(plr,io)
  2144. if plr~=rp then return end
  2145. m.Target = io.Target
  2146. m.Hit = io.Hit
  2147. if not io.isMouse then
  2148. local b = io.UserInputState == Enum.UserInputState.Begin
  2149. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2150. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2151. end
  2152. for _,t in pairs(CAS.Actions) do
  2153. for _,k in pairs(t.Keys) do
  2154. if k==io.KeyCode then
  2155. t.Function(t.Name,io.UserInputState,io)
  2156. end
  2157. end
  2158. end
  2159. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2160. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2161. end
  2162. end)
  2163. Event.Parent = NLS([==[
  2164. local Player = game:GetService("Players").LocalPlayer
  2165. local Event = script:WaitForChild("UserInput_Event")
  2166.  
  2167. local Mouse = Player:GetMouse()
  2168. local UIS = game:GetService("UserInputService")
  2169. local input = function(io,a)
  2170. if a then return end
  2171. --Since InputObject is a client-side instance, we create and pass table instead
  2172. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  2173. end
  2174. UIS.InputBegan:Connect(input)
  2175. UIS.InputEnded:Connect(input)
  2176.  
  2177. local h,t
  2178. --Give the server mouse data 30 times every second, but only if the values changed
  2179. --If player is not moving their mouse, client won't fire events
  2180. while wait(1/30) do
  2181. if h~=Mouse.Hit or t~=Mouse.Target then
  2182. h,t=Mouse.Hit,Mouse.Target
  2183. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2184. end
  2185. end]==],Player.Character)
  2186.  
  2187. ----Sandboxed game object that allows the usage of client-side methods and services
  2188. --Real game object
  2189. local _rg = game
  2190.  
  2191. --Metatable for fake service
  2192. local fsmt = {
  2193. __index = function(self,k)
  2194. local s = rawget(self,"_RealService")
  2195. if s then return s[k] end
  2196. end,
  2197. __newindex = function(self,k,v)
  2198. local s = rawget(self,"_RealService")
  2199. if s then s[k]=v end
  2200. end,
  2201. __call = function(self,...)
  2202. local s = rawget(self,"_RealService")
  2203. if s then return s(...) end
  2204. end
  2205. }
  2206. local function FakeService(t,RealService)
  2207. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  2208. return setmetatable(t,fsmt)
  2209. end
  2210.  
  2211. --Fake game object
  2212. local g = {
  2213. GetService = function(self,s)
  2214. return self[s]
  2215. end,
  2216. Players = FakeService({
  2217. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  2218. },"Players"),
  2219. UserInputService = FakeService(UIS,"UserInputService"),
  2220. ContextActionService = FakeService(CAS,"ContextActionService"),
  2221. }
  2222. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  2223. g.service = g.GetService
  2224.  
  2225. g.RunService = FakeService({
  2226. RenderStepped = _rg:GetService("RunService").Heartbeat,
  2227. BindToRenderStep = function(self,name,_,fun)
  2228.  
  2229. end,
  2230. UnbindFromRenderStep = function(self,name)
  2231. self._btrs[name]:Disconnect()
  2232. end,
  2233. },"RunService")
  2234.  
  2235. setmetatable(g,{
  2236. __index=function(self,s)
  2237. return _rg:GetService(s) or typeof(_rg[s])=="function"
  2238. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  2239. end,
  2240. __newindex = fsmt.__newindex,
  2241. __call = fsmt.__call
  2242. })
  2243. --Changing owner to fake player object to support owner:GetMouse()
  2244. game,owner = g,g.Players.LocalPlayer
  2245. end
  2246. Player = game:GetService("Players").LocalPlayer
  2247. PlayerGui = Player.PlayerGui
  2248. Cam = workspace.CurrentCamera
  2249. Backpack = Player.Backpack
  2250. Character = Player.Character
  2251. Humanoid = Character.Humanoid
  2252. Mouse = Player:GetMouse()
  2253. RootPart = Character["HumanoidRootPart"]
  2254. Torso = Character["Torso"]
  2255. Head = Character["Head"]
  2256. RightArm = Character["Right Arm"]
  2257. LeftArm = Character["Left Arm"]
  2258. RightLeg = Character["Right Leg"]
  2259. LeftLeg = Character["Left Leg"]
  2260. RootJoint = RootPart["RootJoint"]
  2261. Neck = Torso["Neck"]
  2262. RightShoulder = Torso["Right Shoulder"]
  2263. LeftShoulder = Torso["Left Shoulder"]
  2264. RightHip = Torso["Right Hip"]
  2265. LeftHip = Torso["Left Hip"]
  2266. local TIME = 0
  2267. local sick = Instance.new("Sound",Torso)
  2268.  
  2269. IT = Instance.new
  2270. CF = CFrame.new
  2271. VT = Vector3.new
  2272. RAD = math.rad
  2273. C3 = Color3.new
  2274. UD2 = UDim2.new
  2275. BRICKC = BrickColor.new
  2276. ANGLES = CFrame.Angles
  2277. EULER = CFrame.fromEulerAnglesXYZ
  2278. COS = math.cos
  2279. ACOS = math.acos
  2280. SIN = math.sin
  2281. ASIN = math.asin
  2282. ABS = math.abs
  2283. MRANDOM = math.random
  2284. FLOOR = math.floor
  2285.  
  2286. --//=================================\\
  2287. --|| USEFUL VALUES
  2288. --\\=================================//
  2289.  
  2290. Animation_Speed = 3
  2291. local FORCERESET = false
  2292. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2293. local Speed = 16
  2294. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2295. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2296. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2297. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2298. local DAMAGEMULTIPLIER = 1
  2299. local ANIM = "Idle"
  2300. local ATTACK = false
  2301. local EQUIPPED = false
  2302. local HOLD = false
  2303. local COMBO = 1
  2304. local Rooted = false
  2305. local SINE = 0
  2306. local KEYHOLD = false
  2307. local CHANGE = 2 / Animation_Speed
  2308. local WALKINGANIM = false
  2309. local VALUE1 = false
  2310. local VALUE2 = false
  2311. local ROBLOXIDLEANIMATION = IT("Animation")
  2312. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2313. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2314. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2315. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2316. WEAPONGUI.Name = "BanishV3Gui"
  2317. local Weapon = IT("Model")
  2318. Weapon.Name = "Adds"
  2319. local Effects = IT("Folder", Weapon)
  2320. Effects.Name = "Effects"
  2321. local ANIMATOR = Humanoid.Animator
  2322. local ANIMATE = Character:FindFirstChild("Animate")
  2323. local UNANCHOR = true
  2324. local TOBANISH = {}
  2325. script.Parent = PlayerGui
  2326.  
  2327. --//=================================\\
  2328. --\\=================================//
  2329.  
  2330.  
  2331. --//=================================\\
  2332. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2333. --\\=================================//
  2334.  
  2335. ArtificialHB = Instance.new("BindableEvent", script)
  2336. ArtificialHB.Name = "ArtificialHB"
  2337.  
  2338. script:WaitForChild("ArtificialHB")
  2339.  
  2340. frame = Frame_Speed
  2341. tf = 0
  2342. allowframeloss = false
  2343. tossremainder = false
  2344. lastframe = tick()
  2345. script.ArtificialHB:Fire()
  2346.  
  2347. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2348. tf = tf + s
  2349. if tf >= frame then
  2350. if allowframeloss then
  2351. script.ArtificialHB:Fire()
  2352. lastframe = tick()
  2353. else
  2354. for i = 1, math.floor(tf / frame) do
  2355. script.ArtificialHB:Fire()
  2356. end
  2357. lastframe = tick()
  2358. end
  2359. if tossremainder then
  2360. tf = 0
  2361. else
  2362. tf = tf - frame * math.floor(tf / frame)
  2363. end
  2364. end
  2365. end)
  2366.  
  2367. --//=================================\\
  2368. --\\=================================//
  2369.  
  2370. local plr = game:service'Players'.LocalPlayer
  2371. print('Local User is '..plr.Name)
  2372. print('Possessed has Loaded')
  2373. print('Q Speed')
  2374. print('E')
  2375. print('R')
  2376. print('T')
  2377. print('F')
  2378. print('G')
  2379. local char = plr.Character
  2380. local hum = char.Humanoid
  2381. local hed = char.Head
  2382. local root = char.HumanoidRootPart
  2383. local rootj = root.RootJoint
  2384. local tors = char.Torso
  2385. local ra = char["Right Arm"]
  2386. local la = char["Left Arm"]
  2387. local rl = char["Right Leg"]
  2388. local ll = char["Left Leg"]
  2389. local neck = tors["Neck"]
  2390. local mouse = plr:GetMouse()
  2391. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2392. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  2393. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  2394. local maincolor = BrickColor.new("Institutional white")
  2395. ------------------
  2396. --Start Good Stuff--
  2397. -------------------------------------------------------
  2398. cam = game.Workspace.CurrentCamera
  2399. CF = CFrame.new
  2400. angles = CFrame.Angles
  2401. attack = false
  2402. Euler = CFrame.fromEulerAnglesXYZ
  2403. Rad = math.rad
  2404. IT = Instance.new
  2405. BrickC = BrickColor.new
  2406. Cos = math.cos
  2407. Acos = math.acos
  2408. Sin = math.sin
  2409. Asin = math.asin
  2410. Abs = math.abs
  2411. Mrandom = math.random
  2412. Floor = math.floor
  2413. -------------------------------------------------------
  2414. --End Good Stuff--
  2415. -------------------------------------------------------
  2416. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2417. RSH, LSH = nil, nil
  2418. RW = Instance.new("Weld")
  2419. LW = Instance.new("Weld")
  2420. RH = tors["Right Hip"]
  2421. LH = tors["Left Hip"]
  2422. RSH = tors["Right Shoulder"]
  2423. LSH = tors["Left Shoulder"]
  2424. RSH.Parent = nil
  2425. LSH.Parent = nil
  2426. RW.Name = "RW"
  2427. RW.Part0 = tors
  2428. RW.C0 = CF(1.5, 0.5, 0)
  2429. RW.C1 = CF(0, 0.5, 0)
  2430. RW.Part1 = ra
  2431. RW.Parent = tors
  2432. LW.Name = "LW"
  2433. LW.Part0 = tors
  2434. LW.C0 = CF(-1.5, 0.5, 0)
  2435. LW.C1 = CF(0, 0.5, 0)
  2436. LW.Part1 = la
  2437. LW.Parent = tors
  2438. Effects = {}
  2439. -------------------------------------------------------
  2440. --Start HeartBeat--
  2441. -------------------------------------------------------
  2442. ArtificialHB = Instance.new("BindableEvent", script)
  2443. ArtificialHB.Name = "Heartbeat"
  2444. script:WaitForChild("Heartbeat")
  2445.  
  2446. frame = 1 / 60
  2447. tf = 0
  2448. allowframeloss = false
  2449. tossremainder = false
  2450.  
  2451.  
  2452. lastframe = tick()
  2453. script.Heartbeat:Fire()
  2454.  
  2455.  
  2456. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2457. tf = tf + s
  2458. if tf >= frame then
  2459. if allowframeloss then
  2460. script.Heartbeat:Fire()
  2461. lastframe = tick()
  2462. else
  2463. for i = 1, math.floor(tf / frame) do
  2464. script.Heartbeat:Fire()
  2465. end
  2466. lastframe = tick()
  2467. end
  2468. if tossremainder then
  2469. tf = 0
  2470. else
  2471. tf = tf - frame * math.floor(tf / frame)
  2472. end
  2473. end
  2474. end)
  2475. -------------------------------------------------------
  2476. --End HeartBeat--
  2477. -------------------------------------------------------
  2478.  
  2479. -------------------------------------------------------
  2480. --Start Important Functions--
  2481. -------------------------------------------------------
  2482. function swait(num)
  2483. if num == 0 or num == nil then
  2484. game:service("RunService").Stepped:wait(0)
  2485. else
  2486. for i = 0, num do
  2487. game:service("RunService").Stepped:wait(0)
  2488. end
  2489. end
  2490. end
  2491. function thread(f)
  2492. coroutine.resume(coroutine.create(f))
  2493. end
  2494. function clerp(a, b, t)
  2495. local qa = {
  2496. QuaternionFromCFrame(a)
  2497. }
  2498. local qb = {
  2499. QuaternionFromCFrame(b)
  2500. }
  2501. local ax, ay, az = a.x, a.y, a.z
  2502. local bx, by, bz = b.x, b.y, b.z
  2503. local _t = 1 - t
  2504. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2505. end
  2506. function QuaternionFromCFrame(cf)
  2507. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2508. local trace = m00 + m11 + m22
  2509. if trace > 0 then
  2510. local s = math.sqrt(1 + trace)
  2511. local recip = 0.5 / s
  2512. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2513. else
  2514. local i = 0
  2515. if m00 < m11 then
  2516. i = 1
  2517. end
  2518. if m22 > (i == 0 and m00 or m11) then
  2519. i = 2
  2520. end
  2521. if i == 0 then
  2522. local s = math.sqrt(m00 - m11 - m22 + 1)
  2523. local recip = 0.5 / s
  2524. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2525. elseif i == 1 then
  2526. local s = math.sqrt(m11 - m22 - m00 + 1)
  2527. local recip = 0.5 / s
  2528. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2529. elseif i == 2 then
  2530. local s = math.sqrt(m22 - m00 - m11 + 1)
  2531. local recip = 0.5 / s
  2532. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2533. end
  2534. end
  2535. end
  2536. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2537. local xs, ys, zs = x + x, y + y, z + z
  2538. local wx, wy, wz = w * xs, w * ys, w * zs
  2539. local xx = x * xs
  2540. local xy = x * ys
  2541. local xz = x * zs
  2542. local yy = y * ys
  2543. local yz = y * zs
  2544. local zz = z * zs
  2545. 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))
  2546. end
  2547. function QuaternionSlerp(a, b, t)
  2548. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2549. local startInterp, finishInterp
  2550. if cosTheta >= 1.0E-4 then
  2551. if 1 - cosTheta > 1.0E-4 then
  2552. local theta = math.acos(cosTheta)
  2553. local invSinTheta = 1 / Sin(theta)
  2554. startInterp = Sin((1 - t) * theta) * invSinTheta
  2555. finishInterp = Sin(t * theta) * invSinTheta
  2556. else
  2557. startInterp = 1 - t
  2558. finishInterp = t
  2559. end
  2560. elseif 1 + cosTheta > 1.0E-4 then
  2561. local theta = math.acos(-cosTheta)
  2562. local invSinTheta = 1 / Sin(theta)
  2563. startInterp = Sin((t - 1) * theta) * invSinTheta
  2564. finishInterp = Sin(t * theta) * invSinTheta
  2565. else
  2566. startInterp = t - 1
  2567. finishInterp = t
  2568. end
  2569. 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
  2570. end
  2571. function rayCast(Position, Direction, Range, Ignore)
  2572. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2573. end
  2574. local RbxUtility = LoadLibrary("RbxUtility")
  2575. local Create = RbxUtility.Create
  2576.  
  2577. -------------------------------------------------------
  2578. --Start Damage Function--
  2579. -------------------------------------------------------
  2580. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2581. if hit.Parent == nil then
  2582. return
  2583. end
  2584. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2585. for _, v in pairs(hit.Parent:children()) do
  2586. if v:IsA("Humanoid") then
  2587. h = v
  2588. end
  2589. end
  2590. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  2591.  
  2592. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2593. end
  2594.  
  2595. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2596. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2597. if hit.Parent.DebounceHit.Value == true then
  2598. return
  2599. end
  2600. end
  2601. if insta == true then
  2602. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2603. end
  2604. local c = Create("ObjectValue"){
  2605. Name = "creator",
  2606. Value = game:service("Players").LocalPlayer,
  2607. Parent = h,
  2608. }
  2609. game:GetService("Debris"):AddItem(c, .5)
  2610. if HitSound ~= nil and HitPitch ~= nil then
  2611. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2612. end
  2613. local Damage = math.random(minim, maxim)
  2614. local blocked = false
  2615. local block = hit.Parent:findFirstChild("Block")
  2616. if block ~= nil then
  2617. if block.className == "IntValue" then
  2618. if block.Value > 0 then
  2619. blocked = true
  2620. block.Value = block.Value - 1
  2621. print(block.Value)
  2622. end
  2623. end
  2624. end
  2625. if blocked == false then
  2626. h.Health = h.Health - Damage
  2627. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2628. else
  2629. h.Health = h.Health - (Damage / 2)
  2630. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2631. end
  2632. if Type == "Knockdown" then
  2633. local hum = hit.Parent.Humanoid
  2634. hum.PlatformStand = true
  2635. coroutine.resume(coroutine.create(function(HHumanoid)
  2636. swait(1)
  2637. HHumanoid.PlatformStand = false
  2638. end), hum)
  2639. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2640. local bodvol = Create("BodyVelocity"){
  2641. velocity = angle * knockback,
  2642. P = 5000,
  2643. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2644. Parent = hit,
  2645. }
  2646. local rl = Create("BodyAngularVelocity"){
  2647. P = 3000,
  2648. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2649. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2650. Parent = hit,
  2651. }
  2652. game:GetService("Debris"):AddItem(bodvol, .5)
  2653. game:GetService("Debris"):AddItem(rl, .5)
  2654. elseif Type == "Normal" then
  2655. local vp = Create("BodyVelocity"){
  2656. P = 500,
  2657. maxForce = Vector3.new(math.huge, 0, math.huge),
  2658. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2659. }
  2660. if knockback > 0 then
  2661. vp.Parent = hit.Parent.Torso
  2662. end
  2663. game:GetService("Debris"):AddItem(vp, .5)
  2664. elseif Type == "Up" then
  2665. local bodyVelocity = Create("BodyVelocity"){
  2666. velocity = Vector3.new(0, 20, 0),
  2667. P = 5000,
  2668. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2669. Parent = hit,
  2670. }
  2671. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2672. elseif Type == "DarkUp" then
  2673. coroutine.resume(coroutine.create(function()
  2674. for i = 0, 1, 0.1 do
  2675. swait()
  2676. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2677. end
  2678. end))
  2679. local bodyVelocity = Create("BodyVelocity"){
  2680. velocity = Vector3.new(0, 20, 0),
  2681. P = 5000,
  2682. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2683. Parent = hit,
  2684. }
  2685. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2686. elseif Type == "Snare" then
  2687. local bp = Create("BodyPosition"){
  2688. P = 2000,
  2689. D = 100,
  2690. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2691. position = hit.Parent.Torso.Position,
  2692. Parent = hit.Parent.Torso,
  2693. }
  2694. game:GetService("Debris"):AddItem(bp, 1)
  2695. elseif Type == "Freeze" then
  2696. local BodPos = Create("BodyPosition"){
  2697. P = 50000,
  2698. D = 1000,
  2699. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2700. position = hit.Parent.Torso.Position,
  2701. Parent = hit.Parent.Torso,
  2702. }
  2703. local BodGy = Create("BodyGyro") {
  2704. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2705. P = 20e+003,
  2706. Parent = hit.Parent.Torso,
  2707. cframe = hit.Parent.Torso.CFrame,
  2708. }
  2709. hit.Parent.Torso.Anchored = true
  2710. coroutine.resume(coroutine.create(function(Part)
  2711. swait(1.5)
  2712. Part.Anchored = false
  2713. end), hit.Parent.Torso)
  2714. game:GetService("Debris"):AddItem(BodPos, 3)
  2715. game:GetService("Debris"):AddItem(BodGy, 3)
  2716. end
  2717. local debounce = Create("BoolValue"){
  2718. Name = "DebounceHit",
  2719. Parent = hit.Parent,
  2720. Value = true,
  2721. }
  2722. game:GetService("Debris"):AddItem(debounce, Delay)
  2723. c = Create("ObjectValue"){
  2724. Name = "creator",
  2725. Value = Player,
  2726. Parent = h,
  2727. }
  2728. game:GetService("Debris"):AddItem(c, .5)
  2729. end
  2730. end
  2731. -------------------------------------------------------
  2732. --End Damage Function--
  2733. -------------------------------------------------------
  2734.  
  2735. -------------------------------------------------------
  2736. --Start Damage Function Customization--
  2737. -------------------------------------------------------
  2738. function ShowDamage(Pos, Text, Time, Color)
  2739. local Rate = (1 / 30)
  2740. local Pos = (Pos or Vector3.new(0, 0, 0))
  2741. local Text = (Text or "")
  2742. local Time = (Time or 2)
  2743. local Color = (Color or Color3.new(1, 0, 1))
  2744. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2745. EffectPart.Anchored = true
  2746. local BillboardGui = Create("BillboardGui"){
  2747. Size = UDim2.new(3, 0, 3, 0),
  2748. Adornee = EffectPart,
  2749. Parent = EffectPart,
  2750. }
  2751. local TextLabel = Create("TextLabel"){
  2752. BackgroundTransparency = 1,
  2753. Size = UDim2.new(1, 0, 1, 0),
  2754. Text = Text,
  2755. Font = "Bodoni",
  2756. TextColor3 = Color,
  2757. TextScaled = true,
  2758. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  2759. Parent = BillboardGui,
  2760. }
  2761. game.Debris:AddItem(EffectPart, (Time))
  2762. EffectPart.Parent = game:GetService("Workspace")
  2763. delay(0, function()
  2764. local Frames = (Time / Rate)
  2765. for Frame = 1, Frames do
  2766. wait(Rate)
  2767. local Percent = (Frame / Frames)
  2768. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2769. TextLabel.TextTransparency = Percent
  2770. end
  2771. if EffectPart and EffectPart.Parent then
  2772. EffectPart:Destroy()
  2773. end
  2774. end)
  2775. end
  2776. -------------------------------------------------------
  2777. --End Damage Function Customization--
  2778. -------------------------------------------------------
  2779.  
  2780. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2781. for _, c in pairs(workspace:children()) do
  2782. local hum = c:findFirstChild("Humanoid")
  2783. if hum ~= nil then
  2784. local head = c:findFirstChild("Head")
  2785. if head ~= nil then
  2786. local targ = head.Position - Part.Position
  2787. local mag = targ.magnitude
  2788. if magni >= mag and c.Name ~= plr.Name then
  2789. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  2790. end
  2791. end
  2792. end
  2793. end
  2794. end
  2795.  
  2796.  
  2797. CFuncs = {
  2798. Part = {
  2799. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2800. local Part = Create("Part")({
  2801. Parent = Parent,
  2802. Reflectance = Reflectance,
  2803. Transparency = Transparency,
  2804. CanCollide = false,
  2805. Locked = true,
  2806. BrickColor = BrickColor.new(tostring(BColor)),
  2807. Name = Name,
  2808. Size = Size,
  2809. Material = Material
  2810. })
  2811. RemoveOutlines(Part)
  2812. return Part
  2813. end
  2814. },
  2815. Mesh = {
  2816. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2817. local Msh = Create(Mesh)({
  2818. Parent = Part,
  2819. Offset = OffSet,
  2820. Scale = Scale
  2821. })
  2822. if Mesh == "SpecialMesh" then
  2823. Msh.MeshType = MeshType
  2824. Msh.MeshId = MeshId
  2825. end
  2826. return Msh
  2827. end
  2828. },
  2829. Mesh = {
  2830. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2831. local Msh = Create(Mesh)({
  2832. Parent = Part,
  2833. Offset = OffSet,
  2834. Scale = Scale
  2835. })
  2836. if Mesh == "SpecialMesh" then
  2837. Msh.MeshType = MeshType
  2838. Msh.MeshId = MeshId
  2839. end
  2840. return Msh
  2841. end
  2842. },
  2843. Weld = {
  2844. Create = function(Parent, Part0, Part1, C0, C1)
  2845. local Weld = Create("Weld")({
  2846. Parent = Parent,
  2847. Part0 = Part0,
  2848. Part1 = Part1,
  2849. C0 = C0,
  2850. C1 = C1
  2851. })
  2852. return Weld
  2853. end
  2854. },
  2855. Sound = {
  2856. Create = function(id, par, vol, pit)
  2857. coroutine.resume(coroutine.create(function()
  2858. local S = Create("Sound")({
  2859. Volume = vol,
  2860. Pitch = pit or 1,
  2861. SoundId = id,
  2862. Parent = par or workspace
  2863. })
  2864. wait()
  2865. S:play()
  2866. game:GetService("Debris"):AddItem(S, 6)
  2867. end))
  2868. end
  2869. },
  2870. ParticleEmitter = {
  2871. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2872. local fp = Create("ParticleEmitter")({
  2873. Parent = Parent,
  2874. Color = ColorSequence.new(Color1, Color2),
  2875. LightEmission = LightEmission,
  2876. Size = Size,
  2877. Texture = Texture,
  2878. Transparency = Transparency,
  2879. ZOffset = ZOffset,
  2880. Acceleration = Accel,
  2881. Drag = Drag,
  2882. LockedToPart = LockedToPart,
  2883. VelocityInheritance = VelocityInheritance,
  2884. EmissionDirection = EmissionDirection,
  2885. Enabled = Enabled,
  2886. Lifetime = LifeTime,
  2887. Rate = Rate,
  2888. Rotation = Rotation,
  2889. RotSpeed = RotSpeed,
  2890. Speed = Speed,
  2891. VelocitySpread = VelocitySpread
  2892. })
  2893. return fp
  2894. end
  2895. }
  2896. }
  2897. function RemoveOutlines(part)
  2898. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2899. end
  2900. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2901. local Part = Create("Part")({
  2902. formFactor = FormFactor,
  2903. Parent = Parent,
  2904. Reflectance = Reflectance,
  2905. Transparency = Transparency,
  2906. CanCollide = false,
  2907. Locked = true,
  2908. BrickColor = BrickColor.new(tostring(BColor)),
  2909. Name = Name,
  2910. Size = Size,
  2911. Material = Material
  2912. })
  2913. RemoveOutlines(Part)
  2914. return Part
  2915. end
  2916. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2917. local Msh = Create(Mesh)({
  2918. Parent = Part,
  2919. Offset = OffSet,
  2920. Scale = Scale
  2921. })
  2922. if Mesh == "SpecialMesh" then
  2923. Msh.MeshType = MeshType
  2924. Msh.MeshId = MeshId
  2925. end
  2926. return Msh
  2927. end
  2928. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2929. local Weld = Create("Weld")({
  2930. Parent = Parent,
  2931. Part0 = Part0,
  2932. Part1 = Part1,
  2933. C0 = C0,
  2934. C1 = C1
  2935. })
  2936. return Weld
  2937. end
  2938.  
  2939.  
  2940. -------------------------------------------------------
  2941. --Start Effect Function--
  2942. -------------------------------------------------------
  2943. EffectModel = Instance.new("Model", char)
  2944. Effects = {
  2945. Block = {
  2946. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2947. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2948. prt.Anchored = true
  2949. prt.CFrame = cframe
  2950. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2951. game:GetService("Debris"):AddItem(prt, 10)
  2952. if Type == 1 or Type == nil then
  2953. table.insert(Effects, {
  2954. prt,
  2955. "Block1",
  2956. delay,
  2957. x3,
  2958. y3,
  2959. z3,
  2960. msh
  2961. })
  2962. elseif Type == 2 then
  2963. table.insert(Effects, {
  2964. prt,
  2965. "Block2",
  2966. delay,
  2967. x3,
  2968. y3,
  2969. z3,
  2970. msh
  2971. })
  2972. else
  2973. table.insert(Effects, {
  2974. prt,
  2975. "Block3",
  2976. delay,
  2977. x3,
  2978. y3,
  2979. z3,
  2980. msh
  2981. })
  2982. end
  2983. end
  2984. },
  2985. Sphere = {
  2986. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2987. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2988. prt.Anchored = true
  2989. prt.CFrame = cframe
  2990. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2991. game:GetService("Debris"):AddItem(prt, 10)
  2992. table.insert(Effects, {
  2993. prt,
  2994. "Cylinder",
  2995. delay,
  2996. x3,
  2997. y3,
  2998. z3,
  2999. msh
  3000. })
  3001. end
  3002. },
  3003. Cylinder = {
  3004. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3005. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3006. prt.Anchored = true
  3007. prt.CFrame = cframe
  3008. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3009. game:GetService("Debris"):AddItem(prt, 10)
  3010. table.insert(Effects, {
  3011. prt,
  3012. "Cylinder",
  3013. delay,
  3014. x3,
  3015. y3,
  3016. z3,
  3017. msh
  3018. })
  3019. end
  3020. },
  3021. Wave = {
  3022. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3023. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3024. prt.Anchored = true
  3025. prt.CFrame = cframe
  3026. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  3027. game:GetService("Debris"):AddItem(prt, 10)
  3028. table.insert(Effects, {
  3029. prt,
  3030. "Cylinder",
  3031. delay,
  3032. x3 / 60,
  3033. y3 / 60,
  3034. z3 / 60,
  3035. msh
  3036. })
  3037. end
  3038. },
  3039. Ring = {
  3040. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3041. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3042. prt.Anchored = true
  3043. prt.CFrame = cframe
  3044. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3045. game:GetService("Debris"):AddItem(prt, 10)
  3046. table.insert(Effects, {
  3047. prt,
  3048. "Cylinder",
  3049. delay,
  3050. x3,
  3051. y3,
  3052. z3,
  3053. msh
  3054. })
  3055. end
  3056. },
  3057. Break = {
  3058. Create = function(brickcolor, cframe, x1, y1, z1)
  3059. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3060. prt.Anchored = true
  3061. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3062. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3063. local num = math.random(10, 50) / 1000
  3064. game:GetService("Debris"):AddItem(prt, 10)
  3065. table.insert(Effects, {
  3066. prt,
  3067. "Shatter",
  3068. num,
  3069. prt.CFrame,
  3070. math.random() - math.random(),
  3071. 0,
  3072. math.random(50, 100) / 100
  3073. })
  3074. end
  3075. },
  3076. Spiral = {
  3077. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3078. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3079. prt.Anchored = true
  3080. prt.CFrame = cframe
  3081. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3082. game:GetService("Debris"):AddItem(prt, 10)
  3083. table.insert(Effects, {
  3084. prt,
  3085. "Cylinder",
  3086. delay,
  3087. x3,
  3088. y3,
  3089. z3,
  3090. msh
  3091. })
  3092. end
  3093. },
  3094. Push = {
  3095. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3096. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3097. prt.Anchored = true
  3098. prt.CFrame = cframe
  3099. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3100. game:GetService("Debris"):AddItem(prt, 10)
  3101. table.insert(Effects, {
  3102. prt,
  3103. "Cylinder",
  3104. delay,
  3105. x3,
  3106. y3,
  3107. z3,
  3108. msh
  3109. })
  3110. end
  3111. }
  3112. }
  3113. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  3114. local fp = IT("Part")
  3115. fp.formFactor = formfactor
  3116. fp.Parent = parent
  3117. fp.Reflectance = reflectance
  3118. fp.Transparency = transparency
  3119. fp.CanCollide = false
  3120. fp.Locked = true
  3121. fp.BrickColor = brickcolor
  3122. fp.Name = name
  3123. fp.Size = size
  3124. fp.Position = tors.Position
  3125. RemoveOutlines(fp)
  3126. fp.Material = "SmoothPlastic"
  3127. fp:BreakJoints()
  3128. return fp
  3129. end
  3130.  
  3131. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3132. local mesh = IT(Mesh)
  3133. mesh.Parent = part
  3134. if Mesh == "SpecialMesh" then
  3135. mesh.MeshType = meshtype
  3136. if meshid ~= "nil" then
  3137. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  3138. end
  3139. end
  3140. mesh.Offset = offset
  3141. mesh.Scale = scale
  3142. return mesh
  3143. end
  3144.  
  3145. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  3146. local type = type
  3147. local rng = Instance.new("Part", char)
  3148. rng.Anchored = true
  3149. rng.BrickColor = color
  3150. rng.CanCollide = false
  3151. rng.FormFactor = 3
  3152. rng.Name = "Ring"
  3153. rng.Material = "Neon"
  3154. rng.Size = Vector3.new(1, 1, 1)
  3155. rng.Transparency = 0
  3156. rng.TopSurface = 0
  3157. rng.BottomSurface = 0
  3158. rng.CFrame = pos
  3159. local rngm = Instance.new("SpecialMesh", rng)
  3160. rngm.MeshType = MType
  3161. rngm.Scale = scale
  3162. local scaler2 = 1
  3163. if type == "Add" then
  3164. scaler2 = 1 * value
  3165. elseif type == "Divide" then
  3166. scaler2 = 1 / value
  3167. end
  3168. coroutine.resume(coroutine.create(function()
  3169. for i = 0, 10 / bonuspeed, 0.1 do
  3170. swait()
  3171. if type == "Add" then
  3172. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3173. elseif type == "Divide" then
  3174. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3175. end
  3176. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3177. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3178. end
  3179. rng:Destroy()
  3180. end))
  3181. end
  3182.  
  3183. function Eviscerate(dude)
  3184. if dude.Name ~= char then
  3185. local bgf = IT("BodyGyro", dude.Head)
  3186. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3187. local val = IT("BoolValue", dude)
  3188. val.Name = "IsHit"
  3189. local ds = coroutine.wrap(function()
  3190. dude:WaitForChild("Head"):BreakJoints()
  3191. wait(0.5)
  3192. target = nil
  3193. coroutine.resume(coroutine.create(function()
  3194. for i, v in pairs(dude:GetChildren()) do
  3195. if v:IsA("Accessory") then
  3196. v:Destroy()
  3197. end
  3198. if v:IsA("Humanoid") then
  3199. v:Destroy()
  3200. end
  3201. if v:IsA("CharacterMesh") then
  3202. v:Destroy()
  3203. end
  3204. if v:IsA("Model") then
  3205. v:Destroy()
  3206. end
  3207. if v:IsA("Part") or v:IsA("MeshPart") then
  3208. for x, o in pairs(v:GetChildren()) do
  3209. if o:IsA("Decal") then
  3210. o:Destroy()
  3211. end
  3212. end
  3213. coroutine.resume(coroutine.create(function()
  3214. v.Material = "Neon"
  3215. v.CanCollide = false
  3216. local PartEmmit1 = IT("ParticleEmitter", v)
  3217. PartEmmit1.LightEmission = 1
  3218. PartEmmit1.Texture = "rbxassetid://284205403"
  3219. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3220. PartEmmit1.Rate = 150
  3221. PartEmmit1.Lifetime = NumberRange.new(1)
  3222. PartEmmit1.Size = NumberSequence.new({
  3223. NumberSequenceKeypoint.new(0, 0.75, 0),
  3224. NumberSequenceKeypoint.new(1, 0, 0)
  3225. })
  3226. PartEmmit1.Transparency = NumberSequence.new({
  3227. NumberSequenceKeypoint.new(0, 0, 0),
  3228. NumberSequenceKeypoint.new(1, 1, 0)
  3229. })
  3230. PartEmmit1.Speed = NumberRange.new(0, 0)
  3231. PartEmmit1.VelocitySpread = 30000
  3232. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  3233. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  3234. local BodPoss = IT("BodyPosition", v)
  3235. BodPoss.P = 3000
  3236. BodPoss.D = 1000
  3237. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3238. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3239. v.Color = maincolor.Color
  3240. coroutine.resume(coroutine.create(function()
  3241. for i = 0, 49 do
  3242. swait(1)
  3243. v.Transparency = v.Transparency + 0.08
  3244. end
  3245. wait(0.5)
  3246. PartEmmit1.Enabled = false
  3247. wait(3)
  3248. v:Destroy()
  3249. dude:Destroy()
  3250. end))
  3251. end))
  3252. end
  3253. end
  3254. end))
  3255. end)
  3256. ds()
  3257. end
  3258. end
  3259.  
  3260. function FindNearestHead(Position, Distance, SinglePlayer)
  3261. if SinglePlayer then
  3262. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3263. end
  3264. local List = {}
  3265. for i, v in pairs(workspace:GetChildren()) do
  3266. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  3267. table.insert(List, v)
  3268. end
  3269. end
  3270. return List
  3271. end
  3272.  
  3273. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  3274. local type = type
  3275. local rng = Instance.new("Part", char)
  3276. rng.Anchored = true
  3277. rng.BrickColor = color
  3278. rng.CanCollide = false
  3279. rng.FormFactor = 3
  3280. rng.Name = "Ring"
  3281. rng.Material = "Neon"
  3282. rng.Size = Vector3.new(1, 1, 1)
  3283. rng.Transparency = 0
  3284. rng.TopSurface = 0
  3285. rng.BottomSurface = 0
  3286. rng.CFrame = pos
  3287. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3288. local rngm = Instance.new("SpecialMesh", rng)
  3289. rngm.MeshType = MType
  3290. rngm.Scale = Vector3.new(x1, y1, z1)
  3291. local scaler2 = 1
  3292. local speeder = FastSpeed
  3293. if type == "Add" then
  3294. scaler2 = 1 * value
  3295. elseif type == "Divide" then
  3296. scaler2 = 1 / value
  3297. end
  3298. coroutine.resume(coroutine.create(function()
  3299. for i = 0, 10 / bonuspeed, 0.1 do
  3300. swait()
  3301. if type == "Add" then
  3302. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3303. elseif type == "Divide" then
  3304. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3305. end
  3306. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3307. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3308. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3309. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3310. end
  3311. rng:Destroy()
  3312. end))
  3313. end
  3314.  
  3315. function SoulSteal(dude)
  3316. if dude.Name ~= char then
  3317. local bgf = IT("BodyGyro", dude.Head)
  3318. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3319. local val = IT("BoolValue", dude)
  3320. val.Name = "IsHit"
  3321. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  3322. local soulst = coroutine.wrap(function()
  3323. local soul = Instance.new("Part",dude)
  3324. soul.Size = Vector3.new(1,1,1)
  3325. soul.CanCollide = false
  3326. soul.Anchored = false
  3327. soul.Position = torso.Position
  3328. soul.Transparency = 1
  3329. local PartEmmit1 = IT("ParticleEmitter", soul)
  3330. PartEmmit1.LightEmission = 1
  3331. PartEmmit1.Texture = "rbxassetid://569507414"
  3332. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3333. PartEmmit1.Rate = 250
  3334. PartEmmit1.Lifetime = NumberRange.new(1.6)
  3335. PartEmmit1.Size = NumberSequence.new({
  3336. NumberSequenceKeypoint.new(0, 1, 0),
  3337. NumberSequenceKeypoint.new(1, 0, 0)
  3338. })
  3339. PartEmmit1.Transparency = NumberSequence.new({
  3340. NumberSequenceKeypoint.new(0, 0, 0),
  3341. NumberSequenceKeypoint.new(1, 1, 0)
  3342. })
  3343. PartEmmit1.Speed = NumberRange.new(0, 0)
  3344. PartEmmit1.VelocitySpread = 30000
  3345. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  3346. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  3347. local BodPoss = IT("BodyPosition", soul)
  3348. BodPoss.P = 3000
  3349. BodPoss.D = 1000
  3350. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3351. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3352. wait(1.6)
  3353. soul.Touched:connect(function(hit)
  3354. if hit.Parent == char then
  3355. soul:Destroy()
  3356. end
  3357. end)
  3358. wait(1.2)
  3359. while soul do
  3360. swait()
  3361. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3362. BodPoss.Position = tors.Position
  3363. end
  3364. end)
  3365. soulst()
  3366. end
  3367. end
  3368. function FaceMouse()
  3369. local Cam = workspace.CurrentCamera
  3370. return {
  3371. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3372. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3373. }
  3374. end
  3375. -------------------------------------------------------
  3376. --End Effect Function--
  3377. -------------------------------------------------------
  3378. function Cso(ID, PARENT, VOLUME, PITCH)
  3379. local NSound = nil
  3380. coroutine.resume(coroutine.create(function()
  3381. NSound = IT("Sound", PARENT)
  3382. NSound.Volume = VOLUME
  3383. NSound.Pitch = PITCH
  3384. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3385. swait()
  3386. NSound:play()
  3387. game:GetService("Debris"):AddItem(NSound, 10)
  3388. end))
  3389. return NSound
  3390. end
  3391. function CameraEnshaking(Length, Intensity)
  3392. coroutine.resume(coroutine.create(function()
  3393. local intensity = 1 * Intensity
  3394. local rotM = 0.01 * Intensity
  3395. for i = 0, Length, 0.1 do
  3396. swait()
  3397. intensity = intensity - 0.05 * Intensity / Length
  3398. rotM = rotM - 5.0E-4 * Intensity / Length
  3399. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3400. 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)
  3401. end
  3402. hum.CameraOffset = Vector3.new(0, 0, 0)
  3403. end))
  3404. end
  3405. function chatfunc(text, color)
  3406. local chat = coroutine.wrap(function()
  3407. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  3408. char:FindFirstChild("TalkingBillBoard"):destroy()
  3409. end
  3410. local naeeym2 = Instance.new("BillboardGui", char)
  3411. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  3412. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  3413. naeeym2.Adornee = hed
  3414. naeeym2.Name = "TalkingBillBoard"
  3415. local tecks2 = Instance.new("TextLabel", naeeym2)
  3416. tecks2.BackgroundTransparency = 1
  3417. tecks2.BorderSizePixel = 0
  3418. tecks2.Text = ""
  3419. tecks2.Font = "SciFi"
  3420. tecks2.TextSize = 30
  3421. tecks2.TextStrokeTransparency = 0
  3422. tecks2.TextColor3 = color
  3423. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  3424. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  3425. coroutine.resume(coroutine.create(function()
  3426. while true do
  3427. swait(1)
  3428. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  3429. tecks2.Rotation = math.random(-5, 5)
  3430. end
  3431. end))
  3432. for i = 1, string.len(text) do
  3433. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  3434. tecks2.Text = string.sub(text, 1, i)
  3435. swait(1)
  3436. end
  3437. wait(1)
  3438. naeeym2:Destroy()
  3439. end)
  3440. chat()
  3441. end
  3442. -------------------------------------------------------
  3443. --End Important Functions--
  3444. -------------------------------------------------------
  3445.  
  3446. -------------------------------------------------------
  3447. --Start Customization--
  3448. -------------------------------------------------------
  3449. local Player_Size = 1
  3450. if Player_Size ~= 1 then
  3451. root.Size = root.Size * Player_Size
  3452. tors.Size = tors.Size * Player_Size
  3453. hed.Size = hed.Size * Player_Size
  3454. ra.Size = ra.Size * Player_Size
  3455. la.Size = la.Size * Player_Size
  3456. rl.Size = rl.Size * Player_Size
  3457. ll.Size = ll.Size * Player_Size
  3458. ----------------------------------------------------------------------------------
  3459. rootj.Parent = root
  3460. neck.Parent = tors
  3461. RW.Parent = tors
  3462. LW.Parent = tors
  3463. RH.Parent = tors
  3464. LH.Parent = tors
  3465. ----------------------------------------------------------------------------------
  3466. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3467. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3468. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  3469. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  3470. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  3471. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  3472. ----------------------------------------------------------------------------------
  3473. 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))
  3474. 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))
  3475. 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))
  3476. 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))
  3477. --hat.Parent = Character
  3478. end
  3479. ----------------------------------------------------------------------------------
  3480. local equipped = false
  3481. local idle = 0
  3482. local change = 1
  3483. local val = 0
  3484. local toim = 0
  3485. local idleanim = 0.4
  3486. local sine = 0
  3487. local Sit = 1
  3488. ----------------------------------------------------------------------------------
  3489. local SONG = 2552132916
  3490. local SONG2 = 0
  3491. local Music = Instance.new("Sound",tors)
  3492. Music.Volume = 2.5
  3493. Music.Looped = true
  3494. Music.Pitch = 1 --Pitcher
  3495. ----------------------------------------------------------------------------------
  3496. local Orin = "http://www.roblox.com/asset/?id=542187919"
  3497. Head.face.Texture = Orin
  3498. function weld(a, b, acf)
  3499. local w = Instance.new("Weld", a)
  3500. w.Part0 = a
  3501. w.Part1 = b
  3502. w.C0 = acf
  3503. end
  3504. for i,v in pairs(char:GetChildren()) do
  3505. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  3506. v:destroy()
  3507. end
  3508. end
  3509.  
  3510. local Hair = Instance.new("Part")
  3511. Hair.Parent = char
  3512. Hair.Name = "Hair"
  3513. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  3514. Hair.CFrame = char.Head.CFrame
  3515. Hair:BreakJoints()
  3516. Hair.CanCollide = false
  3517. Hair.BrickColor = BrickColor.new("New Yeller")
  3518. Hair.TopSurface = "Smooth"
  3519. Hair.BottomSurface = "Smooth"
  3520. Weld = Instance.new("Weld")
  3521. Weld.Name = "Weld"
  3522. Weld.Part0 = char.Torso
  3523. Weld.Part1 = Hair
  3524. Weld.Parent = char.Torso
  3525. Weld.C0 = CFrame.new(0, 0.3, 0.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3526. Mesh = Instance.new("SpecialMesh")
  3527. Mesh.Parent = Hair
  3528. Mesh.MeshId = "rbxassetid://67993325"
  3529. Mesh.TextureId = "http://www.roblox.com/asset/?id=93367455"
  3530. Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  3531. ----------------------------------------------------------------------------------
  3532. local Hair = Instance.new("Part")
  3533. Hair.Parent = char
  3534. Hair.Name = "Hair"
  3535. Hair.Size = Vector3.new(1, 0.4, 1)
  3536. Hair.CFrame = char.Head.CFrame
  3537. Hair:BreakJoints()
  3538. Hair.CanCollide = false
  3539. Hair.BrickColor = BrickColor.new("New Yeller")
  3540. Hair.TopSurface = "Smooth"
  3541. Hair.BottomSurface = "Smooth"
  3542. Weld = Instance.new("Weld")
  3543. Weld.Name = "Weld"
  3544. Weld.Part0 = char.Head
  3545. Weld.Part1 = Hair
  3546. Weld.Parent = char.Head
  3547. Weld.C0 = CFrame.new(0, 0.2, -0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3548. Mesh = Instance.new("SpecialMesh")
  3549. Mesh.Parent = Hair
  3550. Mesh.MeshId = "rbxassetid://0"
  3551. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  3552. Mesh.Scale = Vector3.new(1, 1, 1)
  3553. ----------------------------------------------------------------------------------
  3554. local Hair = Instance.new("Part")
  3555. Hair.Parent = char
  3556. Hair.Name = "Hair"
  3557. Hair.Size = Vector3.new(1, 0.4, 1)
  3558. Hair.CFrame = char.Head.CFrame
  3559. Hair:BreakJoints()
  3560. Hair.CanCollide = false
  3561. Hair.BrickColor = BrickColor.new("New Yeller")
  3562. Hair.TopSurface = "Smooth"
  3563. Hair.BottomSurface = "Smooth"
  3564. Weld = Instance.new("Weld")
  3565. Weld.Name = "Weld"
  3566. Weld.Part0 = char.Head
  3567. Weld.Part1 = Hair
  3568. Weld.Parent = char.Head
  3569. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3570. Mesh = Instance.new("SpecialMesh")
  3571. Mesh.Parent = Hair
  3572. Mesh.MeshId = "rbxassetid://16627529"
  3573. Mesh.TextureId = "http://www.roblox.com/asset/?id=1543772519"
  3574. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  3575. ----------------------------------------------------------------------------------
  3576. local Hair = Instance.new("Part")
  3577. Hair.Parent = char
  3578. Hair.Name = "Hair"
  3579. Hair.Size = Vector3.new(0.99, 2.03, 2.45)
  3580. Hair.CFrame = char.Head.CFrame
  3581. Hair:BreakJoints()
  3582. Hair.CanCollide = false
  3583. Hair.BrickColor = BrickColor.new("New Yeller")
  3584. Hair.TopSurface = "Smooth"
  3585. Hair.BottomSurface = "Smooth"
  3586. Weld = Instance.new("Weld")
  3587. Weld.Name = "Weld"
  3588. Weld.Part0 = char.Torso
  3589. Weld.Part1 = Hair
  3590. Weld.Parent = char.Torso
  3591. Weld.C0 = CFrame.new(0.3, 0.1, 1.8)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3592. Mesh = Instance.new("SpecialMesh")
  3593. Mesh.Parent = Hair
  3594. Mesh.MeshId = "rbxassetid://170939831"
  3595. Mesh.TextureId = "http://www.roblox.com/asset/?id=1053329126"
  3596. Mesh.Scale = Vector3.new(1, 1, 1)
  3597. ----------------------------------------------------------------------------------
  3598. local Shirt = "rbxassetid://219915350"
  3599. local Pants = "rbxassetid://325498599"
  3600.  
  3601. ypcall(function()
  3602. shirt = Instance.new("Shirt", char)
  3603. shirt.Name = "Shirt"
  3604. pants = Instance.new("Pants", char)
  3605. pants.Name = "Pants"
  3606. char.Shirt.ShirtTemplate = Shirt
  3607. char.Pants.PantsTemplate = Pants
  3608. end)
  3609.  
  3610. shirt.Name = "aomFetty"
  3611. pants.Name = "aomFetty"
  3612. hum.WalkSpeed = 16
  3613. hum.JumpPower = 70
  3614. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999e+003
  3615. hum.Health = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999e+003
  3616. hum.Animator.Parent = nil
  3617. ----------------------------------------------------------------------------------
  3618. local naeeym2 = Instance.new("BillboardGui",char)
  3619. naeeym2.AlwaysOnTop = true
  3620. naeeym2.Size = UDim2.new(5,35,2,15)
  3621. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  3622. naeeym2.Adornee = hed
  3623. naeeym2.Name = "Name"
  3624. --naeeym2.PlayerToHideFrom = Player
  3625. local tecks2 = Instance.new("TextLabel",naeeym2)
  3626. tecks2.BackgroundTransparency = 1
  3627. tecks2.TextScaled = true
  3628. tecks2.BorderSizePixel = 0
  3629. tecks2.Text = "Uhhh.."
  3630. tecks2.Font = Enum.Font.Antique
  3631. tecks2.TextSize = 30
  3632. tecks2.TextStrokeTransparency = 0
  3633. tecks2.TextColor3 = Color3.new(255, 255, 0)
  3634. tecks2.TextStrokeColor3 = Color3.new(255, 0, 255)
  3635. tecks2.Size = UDim2.new(1,0,0.5,0)
  3636. tecks2.Parent = naeeym2
  3637. wait(1)
  3638. tecks2.Text = "What.."
  3639. wait(2)
  3640. tecks2.Text = "This feeling.."
  3641. wait(2)
  3642. tecks2.Text = "I think I can break my limit!"
  3643. wait(5)
  3644. tecks2.Text = "heh."
  3645. wait(2)
  3646. tecks2.Text = "Red_Jack142"
  3647. --------------------------------------------------------
  3648. local EyeSizes={
  3649. NumberSequenceKeypoint.new(0,0.65,0),
  3650. NumberSequenceKeypoint.new(0.5,0.7,0),
  3651. NumberSequenceKeypoint.new(1,0,0)
  3652. }
  3653. local EyeTrans={
  3654. NumberSequenceKeypoint.new(0,0,0),
  3655. NumberSequenceKeypoint.new(0.5,0,0),
  3656. NumberSequenceKeypoint.new(1,1,0)
  3657. }
  3658. local PE2=Instance.new("ParticleEmitter", ra)
  3659. PE2.LightEmission=.9
  3660. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3661. PE2.Transparency=NumberSequence.new(EyeTrans)
  3662. PE2.Lifetime=NumberRange.new(0.35)
  3663. PE2.Rotation=NumberRange.new(0,360)
  3664. PE2.Rate=999
  3665. PE2.VelocitySpread = 10000
  3666. PE2.Acceleration = Vector3.new(0,25,0)
  3667. PE2.ZOffset = 0.5
  3668. PE2.Drag = 0
  3669. PE2.Speed = NumberRange.new(0,0,0)
  3670. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3671. PE2.Name = "PE2"
  3672. PE2.Enabled = true
  3673. PE2.LockedToPart = true
  3674. local EyeSizes={
  3675. NumberSequenceKeypoint.new(0,0.65,0),
  3676. NumberSequenceKeypoint.new(0.5,0.7,0),
  3677. NumberSequenceKeypoint.new(1,0,0)
  3678. }
  3679. local EyeTrans={
  3680. NumberSequenceKeypoint.new(0,0,0),
  3681. NumberSequenceKeypoint.new(0.5,0,0),
  3682. NumberSequenceKeypoint.new(1,1,0)
  3683. }
  3684. local PE3=Instance.new("ParticleEmitter", ra)
  3685. PE3.LightEmission=.9
  3686. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3687. PE3.Transparency=NumberSequence.new(EyeTrans)
  3688. PE3.Lifetime=NumberRange.new(0.35)
  3689. PE3.Rotation=NumberRange.new(0,360)
  3690. PE3.Rate=999
  3691. PE3.VelocitySpread = 10000
  3692. PE3.Acceleration = Vector3.new(0,25,0)
  3693. PE3.ZOffset = 0.5
  3694. PE3.Drag = 0
  3695. PE3.Speed = NumberRange.new(0,0,0)
  3696. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3697. PE3.Name = "PE3"
  3698. PE3.Enabled = true
  3699. PE3.LockedToPart = true
  3700.  
  3701. local EyeSizes={
  3702. NumberSequenceKeypoint.new(0,0.65,0),
  3703. NumberSequenceKeypoint.new(0.5,0.7,0),
  3704. NumberSequenceKeypoint.new(1,0,0)
  3705. }
  3706. local EyeTrans={
  3707. NumberSequenceKeypoint.new(0,0,0),
  3708. NumberSequenceKeypoint.new(0.5,0,0),
  3709. NumberSequenceKeypoint.new(1,1,0)
  3710. }
  3711. local PE4=Instance.new("ParticleEmitter", ll)
  3712. PE4.LightEmission=.9
  3713. PE4.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3714. PE4.Transparency=NumberSequence.new(EyeTrans)
  3715. PE4.Lifetime=NumberRange.new(0.35)
  3716. PE4.Rotation=NumberRange.new(0,360)
  3717. PE4.Rate=999
  3718. PE4.VelocitySpread = 10000
  3719. PE4.Acceleration = Vector3.new(0,25,0)
  3720. PE4.ZOffset = 0.5
  3721. PE4.Drag = 0
  3722. PE4.Speed = NumberRange.new(0,0,0)
  3723. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3724. PE4.Name = "PE4"
  3725. PE4.Enabled = true
  3726. PE4.LockedToPart = true
  3727. local EyeSizes={
  3728. NumberSequenceKeypoint.new(0,0.65,0),
  3729. NumberSequenceKeypoint.new(0.5,0.7,0),
  3730. NumberSequenceKeypoint.new(1,0,0)
  3731. }
  3732. local EyeTrans={
  3733. NumberSequenceKeypoint.new(0,0,0),
  3734. NumberSequenceKeypoint.new(0.5,0,0),
  3735. NumberSequenceKeypoint.new(1,1,0)
  3736. }
  3737. local PE5=Instance.new("ParticleEmitter", ll)
  3738. PE5.LightEmission=.9
  3739. PE5.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3740. PE5.Transparency=NumberSequence.new(EyeTrans)
  3741. PE5.Lifetime=NumberRange.new(0.35)
  3742. PE5.Rotation=NumberRange.new(0,360)
  3743. PE5.Rate=999
  3744. PE5.VelocitySpread = 10000
  3745. PE5.Acceleration = Vector3.new(0,25,0)
  3746. PE5.ZOffset = 0.5
  3747. PE5.Drag = 0
  3748. PE5.Speed = NumberRange.new(0,0,0)
  3749. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3750. PE5.Name = "PE5"
  3751. PE5.Enabled = true
  3752. PE5.LockedToPart = true
  3753. -------------------------------------------------------
  3754. --End Customization--
  3755. -------------------------------------------------------
  3756.  
  3757.  
  3758. -------------------------------------------------------
  3759. --Start Attacks N Stuff--
  3760. -------------------------------------------------------
  3761. function attackone()
  3762. attack = true
  3763. hum.WalkSpeed = 3.01
  3764. for i = 0, 1.7, 0.1 do
  3765. swait()
  3766. 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)
  3767. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  3768. 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)
  3769. 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)
  3770. 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)
  3771. 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)
  3772. end
  3773. Cso("203426541", ra, 10, 1)
  3774. for i = 0, 1.4, 0.1 do
  3775. swait()
  3776. 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)
  3777. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3778. 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)
  3779. 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)
  3780. 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)
  3781. 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)
  3782. end
  3783. for i = 0, 1.4, 0.1 do
  3784. swait()
  3785. 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)
  3786. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3787. 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)
  3788. 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)
  3789. 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)
  3790. 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)
  3791. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  3792. if v:FindFirstChild("Head") then
  3793. Eviscerate(v)
  3794. end
  3795. end
  3796. end
  3797. attack = false
  3798. hum.WalkSpeed = 16
  3799. end
  3800. function attacktwo()
  3801. attack = true
  3802. hum.WalkSpeed = 3.01
  3803. for i = 0, 1.7, 0.1 do
  3804. swait()
  3805. 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)
  3806. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  3807. 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)
  3808. 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)
  3809. 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)
  3810. 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)
  3811. end
  3812. Cso("203426541", rl, 10, 1)
  3813. CameraEnshaking(2, 3)
  3814. for i = 0, 1.4, 0.1 do
  3815. swait()
  3816. 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)
  3817. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  3818. 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)
  3819. 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)
  3820. 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)
  3821. 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)
  3822. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  3823. if v:FindFirstChild("Head") then
  3824. Eviscerate(v)
  3825. end
  3826. end
  3827. end
  3828. attack = false
  3829. hum.WalkSpeed = 16
  3830. end
  3831. function attackthree()
  3832. attack = true
  3833. hum.WalkSpeed = 3.01
  3834. for i = 0, 1.4, 0.1 do
  3835. swait()
  3836. 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)
  3837. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3838. 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)
  3839. 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)
  3840. 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)
  3841. 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)
  3842. end
  3843. Cso("203426541", hed, 10, 1)
  3844. for i = 0, 1.7, 0.1 do
  3845. swait()
  3846. 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)
  3847. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3848. 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)
  3849. 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)
  3850. 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)
  3851. 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)
  3852. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  3853. if v:FindFirstChild("Head") then
  3854. Eviscerate(v)
  3855. end
  3856. end
  3857. end
  3858. attack = false
  3859. hum.WalkSpeed = 16
  3860. end
  3861.  
  3862. function Distort()
  3863. attack = true
  3864. hum.WalkSpeed = 0
  3865. local pos = root.Position
  3866. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  3867. Cso("847061203", char, 10, 0.85)
  3868. for i = 1,2.5,0.1 do
  3869. swait()
  3870. 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)
  3871. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3872. 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)
  3873. 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)
  3874. 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)
  3875. 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)
  3876. end
  3877. attack = false
  3878. hum.WalkSpeed = 8
  3879. end
  3880. function Ancient_Rage()
  3881. attack = true
  3882. hum.WalkSpeed = 0
  3883. Cso("135017578", tors, 10, 1.05)
  3884. for i = 1,14,0.1 do
  3885. swait()
  3886. 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)
  3887. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3888. 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)
  3889. 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)
  3890. 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)
  3891. 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)
  3892. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  3893. if v:FindFirstChild("Head") then
  3894. Eviscerate(v)
  3895. end
  3896. end
  3897. end
  3898. attack = false
  3899. hum.WalkSpeed = 16
  3900. end
  3901. function Technobeam()
  3902. attack = true
  3903. hum.WalkSpeed = 3.01
  3904. for i = 0, 4, 0.1 do
  3905. swait()
  3906. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  3907. 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)
  3908. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3909. 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)
  3910. 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)
  3911. 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)
  3912. 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)
  3913. end
  3914. for i = 0, 2, 0.1 do
  3915. swait()
  3916. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  3917. 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)
  3918. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  3919. 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)
  3920. 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)
  3921. 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)
  3922. 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)
  3923. end
  3924. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  3925. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  3926. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  3927. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  3928. CameraEnshaking(4, 5)
  3929. Cso("206049428", char, 10, 1)
  3930. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  3931. if v:FindFirstChild("Head") then
  3932. Eviscerate(v)
  3933. end
  3934. end
  3935. for i = 0, 2, 0.1 do
  3936. swait()
  3937. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  3938. 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)
  3939. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3940. 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)
  3941. 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)
  3942. 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)
  3943. 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)
  3944. end
  3945. hum.WalkSpeed = 16
  3946. attack = false
  3947. end
  3948. function Taunt10000()
  3949. attack = true
  3950. Cso("333446256", char, 10, 1)
  3951. for i = 0, 15, 0.1 do
  3952. swait()
  3953. 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)
  3954. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3955. 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)
  3956. 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)
  3957. 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)
  3958. 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)
  3959. end
  3960. for i = 0, 15, 0.1 do
  3961. swait()
  3962. 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)
  3963. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3964. 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)
  3965. 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)
  3966. 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)
  3967. 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)
  3968. end
  3969. for i = 0, 20, 0.1 do
  3970. swait()
  3971. 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)
  3972. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3973. 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)
  3974. 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)
  3975. 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)
  3976. 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)
  3977. end
  3978. attack = false
  3979. end
  3980. function OP9999()
  3981. attack = true
  3982. hum.WalkSpeed = 3.01
  3983. Cso("1690476035",char, 10, 1)
  3984. for i = 0,5.2,0.1 do
  3985. swait()
  3986. Effects.Block.Create(BrickC("Really red"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3987. 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)
  3988. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3989. 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)
  3990. 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)
  3991. 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)
  3992. 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)
  3993. end
  3994. Cso("824687369", char, 10, 1)
  3995. for i = 0,3.7,0.1 do
  3996. swait()
  3997. 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)
  3998. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3999. 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)
  4000. 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)
  4001. 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)
  4002. 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)
  4003. CameraEnshaking(2, 8)
  4004. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  4005. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  4006. if v:FindFirstChild("Head") then
  4007. Eviscerate(v)
  4008. end
  4009. end
  4010. end
  4011. attack = false
  4012. hum.WalkSpeed = 16
  4013. end
  4014. -------------------------------------------------------
  4015. --End Attacks N Stuff--
  4016. -------------------------------------------------------
  4017. mouse.KeyDown:connect(function(key)
  4018. if key == 'q' then
  4019. Swing = 2
  4020. hum.WalkSpeed = 40
  4021. end
  4022. end)
  4023. mouse.KeyUp:connect(function(key)
  4024. if key == 'q' then
  4025. Swing = 1
  4026. hum.WalkSpeed = 16
  4027. end
  4028. end)
  4029.  
  4030. mouse.KeyDown:connect(function(key)
  4031. if attack == false then
  4032. if key == 'e' then
  4033. Ancient_Rage()
  4034. elseif key == 'r' then
  4035. Distort()
  4036. elseif key == 't' then
  4037. Taunt10000()
  4038. elseif key == 'f' then
  4039. Technobeam()
  4040. elseif key == 'g' then
  4041. OP9999()
  4042. elseif key == 'h' then
  4043.  
  4044. end
  4045. end
  4046. end)
  4047. local Combo = 1
  4048. mouse.Button1Down:connect(function(key)
  4049. if attack == false then
  4050. if Combo == 1 then
  4051. Combo = 2
  4052. attackone()
  4053. elseif Combo == 2 then
  4054. Combo = 3
  4055. attacktwo()
  4056. elseif Combo == 3 then
  4057. Combo = 1
  4058. attackthree()
  4059. end
  4060. end
  4061. end)
  4062. -------------------------------------------------------
  4063. --Start Animations--
  4064. -------------------------------------------------------
  4065. while true do
  4066. swait()
  4067. sine = sine + change
  4068. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  4069. local velderp = root.Velocity.y
  4070. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  4071. if equipped == true or equipped == false then
  4072. if attack == false then
  4073. idle = idle + 1
  4074. else
  4075. idle = 0
  4076. end
  4077. --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")
  4078. if 1 < root.Velocity.y and hitfloor == nil then
  4079. Anim = "Jump"
  4080. if attack == false then
  4081. 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)
  4082. 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)
  4083. 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)
  4084. 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)
  4085. 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)
  4086. 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)
  4087. end
  4088. elseif -1 > root.Velocity.y and hitfloor == nil then
  4089. Anim = "Fall"
  4090. if attack == false then
  4091. 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)
  4092. 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)
  4093. 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)
  4094. 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)
  4095. 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)
  4096. 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)
  4097. end
  4098. elseif torvel < 1 and hitfloor ~= nil then
  4099. Anim = "Idle"
  4100. change = 1
  4101. if attack == false then
  4102. 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)
  4103. 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)
  4104. 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)
  4105. 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)
  4106. 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)
  4107. 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)
  4108. end
  4109. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  4110. Anim = "Walk"
  4111. change = 1
  4112. if attack == false then
  4113. 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)
  4114. 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)
  4115. 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)
  4116. 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)
  4117. 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)
  4118. 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)
  4119. end
  4120. elseif torvel >= 25 and hitfloor ~= nil then
  4121. Anim = "Sprint"
  4122. change = 1.35
  4123. if attack == false then
  4124. 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)
  4125. 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)
  4126. 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)
  4127. 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)
  4128. 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)
  4129. 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)
  4130. end
  4131. end
  4132. end
  4133. Music.SoundId = "rbxassetid://"..SONG
  4134. Music.Looped = true
  4135. Music.Pitch = 1
  4136. Music.Volume = 1
  4137. Music.Parent = tors
  4138. Music:Resume()
  4139. if 0 < #Effects then
  4140. for e = 1, #Effects do
  4141. if Effects[e] ~= nil then
  4142. local Thing = Effects[e]
  4143. if Thing ~= nil then
  4144. local Part = Thing[1]
  4145. local Mode = Thing[2]
  4146. local Delay = Thing[3]
  4147. local IncX = Thing[4]
  4148. local IncY = Thing[5]
  4149. local IncZ = Thing[6]
  4150. if 1 >= Thing[1].Transparency then
  4151. if Thing[2] == "Block1" then
  4152. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4153. local Mesh = Thing[1].Mesh
  4154. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4155. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4156. elseif Thing[2] == "Block2" then
  4157. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  4158. local Mesh = Thing[7]
  4159. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4160. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4161. elseif Thing[2] == "Block3" then
  4162. 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)
  4163. local Mesh = Thing[7]
  4164. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4165. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4166. elseif Thing[2] == "Cylinder" then
  4167. local Mesh = Thing[1].Mesh
  4168. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4169. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4170. elseif Thing[2] == "Blood" then
  4171. local Mesh = Thing[7]
  4172. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  4173. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4174. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4175. elseif Thing[2] == "Elec" then
  4176. local Mesh = Thing[1].Mesh
  4177. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  4178. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4179. elseif Thing[2] == "Disappear" then
  4180. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4181. elseif Thing[2] == "Shatter" then
  4182. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4183. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4184. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4185. Thing[6] = Thing[6] + Thing[5]
  4186. end
  4187. else
  4188. Part.Parent = nil
  4189. table.remove(Effects, e)
  4190. end
  4191. end
  4192. end
  4193. end
  4194. end
  4195. end
  4196. -------------------------------------------------------
  4197. --End Animations And Script--
  4198. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement