Advertisement
JacksoMykalJunior

RB+

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