Advertisement
JacksoMykalJunior

max

Feb 22nd, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.59 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| Made BY Red_Jack142[God/Editor]
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Red_Jack142")
  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 = 0.0001
  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 = 2490605666
  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=542187919"
  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://0"
  1452. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  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://219915350"
  1500. local Pants = "rbxassetid://325498599"
  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 = "inf.inf+999+inf.inf+999+inf.999+inf.999s+9999.999s+999+inf"
  1516. hum.Health = "inf.inf+999+inf.inf+999+inf.999+inf.999s+9999.999s+999+inf"
  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 = "Uhhh.."
  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 = "What.."
  1540. wait(2)
  1541. tecks2.Text = "This feeling.."
  1542. wait(2)
  1543. tecks2.Text = "I think I can break my limit!"
  1544. wait(5)
  1545. tecks2.Text = "heh."
  1546. wait(2)
  1547. tecks2.Text = "Red_Jack142"
  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. ---------------------------------------------------------//====================================================\\--
  2100. --|| Made BY Red_Jack142[God/Editor]
  2101. --\\====================================================//--
  2102. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2103. local Player,game,owner = owner,game
  2104. local RealPlayer = Player
  2105. do
  2106. print("FE Compatibility code by Red_Jack142")
  2107. local rp = RealPlayer
  2108. script.Parent = rp.Character
  2109.  
  2110. --RemoteEvent for communicating
  2111. local Event = Instance.new("RemoteEvent")
  2112. Event.Name = "UserInput_Event"
  2113.  
  2114. --Fake event to make stuff like Mouse.KeyDown work
  2115. local function fakeEvent()
  2116. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  2117. t.connect = t.Connect
  2118. return t
  2119. end
  2120.  
  2121. --Creating fake input objects with fake variables
  2122. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2123. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2124. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2125. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2126. end}
  2127. --Merged 2 functions into one by checking amount of arguments
  2128. CAS.UnbindAction = CAS.BindAction
  2129.  
  2130. --This function will trigger the events that have been :Connect()'ed
  2131. local function te(self,ev,...)
  2132. local t = m[ev]
  2133. if t and t._fakeEvent then
  2134. for _,f in pairs(t.Functions) do
  2135. f(...)
  2136. end
  2137. end
  2138. end
  2139. m.TrigEvent = te
  2140. UIS.TrigEvent = te
  2141.  
  2142. Event.OnServerEvent:Connect(function(plr,io)
  2143. if plr~=rp then return end
  2144. m.Target = io.Target
  2145. m.Hit = io.Hit
  2146. if not io.isMouse then
  2147. local b = io.UserInputState == Enum.UserInputState.Begin
  2148. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2149. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2150. end
  2151. for _,t in pairs(CAS.Actions) do
  2152. for _,k in pairs(t.Keys) do
  2153. if k==io.KeyCode then
  2154. t.Function(t.Name,io.UserInputState,io)
  2155. end
  2156. end
  2157. end
  2158. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2159. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2160. end
  2161. end)
  2162. Event.Parent = NLS([==[
  2163. local Player = game:GetService("Players").LocalPlayer
  2164. local Event = script:WaitForChild("UserInput_Event")
  2165.  
  2166. local Mouse = Player:GetMouse()
  2167. local UIS = game:GetService("UserInputService")
  2168. local input = function(io,a)
  2169. if a then return end
  2170. --Since InputObject is a client-side instance, we create and pass table instead
  2171. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  2172. end
  2173. UIS.InputBegan:Connect(input)
  2174. UIS.InputEnded:Connect(input)
  2175.  
  2176. local h,t
  2177. --Give the server mouse data 30 times every second, but only if the values changed
  2178. --If player is not moving their mouse, client won't fire events
  2179. while wait(1/30) do
  2180. if h~=Mouse.Hit or t~=Mouse.Target then
  2181. h,t=Mouse.Hit,Mouse.Target
  2182. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2183. end
  2184. end]==],Player.Character)
  2185.  
  2186. ----Sandboxed game object that allows the usage of client-side methods and services
  2187. --Real game object
  2188. local _rg = game
  2189.  
  2190. --Metatable for fake service
  2191. local fsmt = {
  2192. __index = function(self,k)
  2193. local s = rawget(self,"_RealService")
  2194. if s then return s[k] end
  2195. end,
  2196. __newindex = function(self,k,v)
  2197. local s = rawget(self,"_RealService")
  2198. if s then s[k]=v end
  2199. end,
  2200. __call = function(self,...)
  2201. local s = rawget(self,"_RealService")
  2202. if s then return s(...) end
  2203. end
  2204. }
  2205. local function FakeService(t,RealService)
  2206. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  2207. return setmetatable(t,fsmt)
  2208. end
  2209.  
  2210. --Fake game object
  2211. local g = {
  2212. GetService = function(self,s)
  2213. return self[s]
  2214. end,
  2215. Players = FakeService({
  2216. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  2217. },"Players"),
  2218. UserInputService = FakeService(UIS,"UserInputService"),
  2219. ContextActionService = FakeService(CAS,"ContextActionService"),
  2220. }
  2221. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  2222. g.service = g.GetService
  2223.  
  2224. g.RunService = FakeService({
  2225. RenderStepped = _rg:GetService("RunService").Heartbeat,
  2226. BindToRenderStep = function(self,name,_,fun)
  2227.  
  2228. end,
  2229. UnbindFromRenderStep = function(self,name)
  2230. self._btrs[name]:Disconnect()
  2231. end,
  2232. },"RunService")
  2233.  
  2234. setmetatable(g,{
  2235. __index=function(self,s)
  2236. return _rg:GetService(s) or typeof(_rg[s])=="function"
  2237. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  2238. end,
  2239. __newindex = fsmt.__newindex,
  2240. __call = fsmt.__call
  2241. })
  2242. --Changing owner to fake player object to support owner:GetMouse()
  2243. game,owner = g,g.Players.LocalPlayer
  2244. end
  2245. Player = game:GetService("Players").LocalPlayer
  2246. PlayerGui = Player.PlayerGui
  2247. Cam = workspace.CurrentCamera
  2248. Backpack = Player.Backpack
  2249. Character = Player.Character
  2250. Humanoid = Character.Humanoid
  2251. Mouse = Player:GetMouse()
  2252. RootPart = Character["HumanoidRootPart"]
  2253. Torso = Character["Torso"]
  2254. Head = Character["Head"]
  2255. RightArm = Character["Right Arm"]
  2256. LeftArm = Character["Left Arm"]
  2257. RightLeg = Character["Right Leg"]
  2258. LeftLeg = Character["Left Leg"]
  2259. RootJoint = RootPart["RootJoint"]
  2260. Neck = Torso["Neck"]
  2261. RightShoulder = Torso["Right Shoulder"]
  2262. LeftShoulder = Torso["Left Shoulder"]
  2263. RightHip = Torso["Right Hip"]
  2264. LeftHip = Torso["Left Hip"]
  2265. local TIME = 0
  2266. local sick = Instance.new("Sound",Torso)
  2267.  
  2268. IT = Instance.new
  2269. CF = CFrame.new
  2270. VT = Vector3.new
  2271. RAD = math.rad
  2272. C3 = Color3.new
  2273. UD2 = UDim2.new
  2274. BRICKC = BrickColor.new
  2275. ANGLES = CFrame.Angles
  2276. EULER = CFrame.fromEulerAnglesXYZ
  2277. COS = math.cos
  2278. ACOS = math.acos
  2279. SIN = math.sin
  2280. ASIN = math.asin
  2281. ABS = math.abs
  2282. MRANDOM = math.random
  2283. FLOOR = math.floor
  2284.  
  2285. --//=================================\\
  2286. --|| USEFUL VALUES
  2287. --\\=================================//
  2288.  
  2289. Animation_Speed = 3
  2290. local FORCERESET = false
  2291. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2292. local Speed = 16
  2293. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2294. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2295. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2296. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2297. local DAMAGEMULTIPLIER = 1
  2298. local ANIM = "Idle"
  2299. local ATTACK = false
  2300. local EQUIPPED = false
  2301. local HOLD = false
  2302. local COMBO = 1
  2303. local Rooted = false
  2304. local SINE = 0
  2305. local KEYHOLD = false
  2306. local CHANGE = 2 / Animation_Speed
  2307. local WALKINGANIM = false
  2308. local VALUE1 = false
  2309. local VALUE2 = false
  2310. local ROBLOXIDLEANIMATION = IT("Animation")
  2311. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2312. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2313. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2314. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2315. WEAPONGUI.Name = "BanishV3Gui"
  2316. local Weapon = IT("Model")
  2317. Weapon.Name = "Adds"
  2318. local Effects = IT("Folder", Weapon)
  2319. Effects.Name = "Effects"
  2320. local ANIMATOR = Humanoid.Animator
  2321. local ANIMATE = Character:FindFirstChild("Animate")
  2322. local UNANCHOR = true
  2323. local TOBANISH = {}
  2324. script.Parent = PlayerGui
  2325.  
  2326. --//=================================\\
  2327. --\\=================================//
  2328.  
  2329.  
  2330. --//=================================\\
  2331. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2332. --\\=================================//
  2333.  
  2334. ArtificialHB = Instance.new("BindableEvent", script)
  2335. ArtificialHB.Name = "ArtificialHB"
  2336.  
  2337. script:WaitForChild("ArtificialHB")
  2338.  
  2339. frame = Frame_Speed
  2340. tf = 0
  2341. allowframeloss = false
  2342. tossremainder = false
  2343. lastframe = tick()
  2344. script.ArtificialHB:Fire()
  2345.  
  2346. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2347. tf = tf + s
  2348. if tf >= frame then
  2349. if allowframeloss then
  2350. script.ArtificialHB:Fire()
  2351. lastframe = tick()
  2352. else
  2353. for i = 1, math.floor(tf / frame) do
  2354. script.ArtificialHB:Fire()
  2355. end
  2356. lastframe = tick()
  2357. end
  2358. if tossremainder then
  2359. tf = 0
  2360. else
  2361. tf = tf - frame * math.floor(tf / frame)
  2362. end
  2363. end
  2364. end)
  2365.  
  2366. --//=================================\\
  2367. --\\=================================//
  2368.  
  2369. local plr = game:service'Players'.LocalPlayer
  2370. print('Local User is '..plr.Name)
  2371. print('Possessed has Loaded')
  2372. print('Q Speed')
  2373. print('E')
  2374. print('R')
  2375. print('T')
  2376. print('F')
  2377. print('G')
  2378. local char = plr.Character
  2379. local hum = char.Humanoid
  2380. local hed = char.Head
  2381. local root = char.HumanoidRootPart
  2382. local rootj = root.RootJoint
  2383. local tors = char.Torso
  2384. local ra = char["Right Arm"]
  2385. local la = char["Left Arm"]
  2386. local rl = char["Right Leg"]
  2387. local ll = char["Left Leg"]
  2388. local neck = tors["Neck"]
  2389. local mouse = plr:GetMouse()
  2390. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2391. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  2392. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  2393. local maincolor = BrickColor.new("Institutional white")
  2394. ------------------
  2395. --Start Good Stuff--
  2396. -------------------------------------------------------
  2397. cam = game.Workspace.CurrentCamera
  2398. CF = CFrame.new
  2399. angles = CFrame.Angles
  2400. attack = false
  2401. Euler = CFrame.fromEulerAnglesXYZ
  2402. Rad = math.rad
  2403. IT = Instance.new
  2404. BrickC = BrickColor.new
  2405. Cos = math.cos
  2406. Acos = math.acos
  2407. Sin = math.sin
  2408. Asin = math.asin
  2409. Abs = math.abs
  2410. Mrandom = math.random
  2411. Floor = math.floor
  2412. -------------------------------------------------------
  2413. --End Good Stuff--
  2414. -------------------------------------------------------
  2415. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2416. RSH, LSH = nil, nil
  2417. RW = Instance.new("Weld")
  2418. LW = Instance.new("Weld")
  2419. RH = tors["Right Hip"]
  2420. LH = tors["Left Hip"]
  2421. RSH = tors["Right Shoulder"]
  2422. LSH = tors["Left Shoulder"]
  2423. RSH.Parent = nil
  2424. LSH.Parent = nil
  2425. RW.Name = "RW"
  2426. RW.Part0 = tors
  2427. RW.C0 = CF(1.5, 0.5, 0)
  2428. RW.C1 = CF(0, 0.5, 0)
  2429. RW.Part1 = ra
  2430. RW.Parent = tors
  2431. LW.Name = "LW"
  2432. LW.Part0 = tors
  2433. LW.C0 = CF(-1.5, 0.5, 0)
  2434. LW.C1 = CF(0, 0.5, 0)
  2435. LW.Part1 = la
  2436. LW.Parent = tors
  2437. Effects = {}
  2438. -------------------------------------------------------
  2439. --Start HeartBeat--
  2440. -------------------------------------------------------
  2441. ArtificialHB = Instance.new("BindableEvent", script)
  2442. ArtificialHB.Name = "Heartbeat"
  2443. script:WaitForChild("Heartbeat")
  2444.  
  2445. frame = 1 / 60
  2446. tf = 0
  2447. allowframeloss = false
  2448. tossremainder = false
  2449.  
  2450.  
  2451. lastframe = tick()
  2452. script.Heartbeat:Fire()
  2453.  
  2454.  
  2455. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2456. tf = tf + s
  2457. if tf >= frame then
  2458. if allowframeloss then
  2459. script.Heartbeat:Fire()
  2460. lastframe = tick()
  2461. else
  2462. for i = 1, math.floor(tf / frame) do
  2463. script.Heartbeat:Fire()
  2464. end
  2465. lastframe = tick()
  2466. end
  2467. if tossremainder then
  2468. tf = 0
  2469. else
  2470. tf = tf - frame * math.floor(tf / frame)
  2471. end
  2472. end
  2473. end)
  2474. -------------------------------------------------------
  2475. --End HeartBeat--
  2476. -------------------------------------------------------
  2477.  
  2478. -------------------------------------------------------
  2479. --Start Important Functions--
  2480. -------------------------------------------------------
  2481. function swait(num)
  2482. if num == 0 or num == nil then
  2483. game:service("RunService").Stepped:wait(0)
  2484. else
  2485. for i = 0, num do
  2486. game:service("RunService").Stepped:wait(0)
  2487. end
  2488. end
  2489. end
  2490. function thread(f)
  2491. coroutine.resume(coroutine.create(f))
  2492. end
  2493. function clerp(a, b, t)
  2494. local qa = {
  2495. QuaternionFromCFrame(a)
  2496. }
  2497. local qb = {
  2498. QuaternionFromCFrame(b)
  2499. }
  2500. local ax, ay, az = a.x, a.y, a.z
  2501. local bx, by, bz = b.x, b.y, b.z
  2502. local _t = 1 - t
  2503. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2504. end
  2505. function QuaternionFromCFrame(cf)
  2506. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2507. local trace = m00 + m11 + m22
  2508. if trace > 0 then
  2509. local s = math.sqrt(1 + trace)
  2510. local recip = 0.5 / s
  2511. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2512. else
  2513. local i = 0
  2514. if m00 < m11 then
  2515. i = 1
  2516. end
  2517. if m22 > (i == 0 and m00 or m11) then
  2518. i = 2
  2519. end
  2520. if i == 0 then
  2521. local s = math.sqrt(m00 - m11 - m22 + 1)
  2522. local recip = 0.5 / s
  2523. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2524. elseif i == 1 then
  2525. local s = math.sqrt(m11 - m22 - m00 + 1)
  2526. local recip = 0.5 / s
  2527. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2528. elseif i == 2 then
  2529. local s = math.sqrt(m22 - m00 - m11 + 1)
  2530. local recip = 0.5 / s
  2531. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2532. end
  2533. end
  2534. end
  2535. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2536. local xs, ys, zs = x + x, y + y, z + z
  2537. local wx, wy, wz = w * xs, w * ys, w * zs
  2538. local xx = x * xs
  2539. local xy = x * ys
  2540. local xz = x * zs
  2541. local yy = y * ys
  2542. local yz = y * zs
  2543. local zz = z * zs
  2544. 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))
  2545. end
  2546. function QuaternionSlerp(a, b, t)
  2547. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2548. local startInterp, finishInterp
  2549. if cosTheta >= 1.0E-4 then
  2550. if 1 - cosTheta > 1.0E-4 then
  2551. local theta = math.acos(cosTheta)
  2552. local invSinTheta = 1 / Sin(theta)
  2553. startInterp = Sin((1 - t) * theta) * invSinTheta
  2554. finishInterp = Sin(t * theta) * invSinTheta
  2555. else
  2556. startInterp = 1 - t
  2557. finishInterp = t
  2558. end
  2559. elseif 1 + cosTheta > 1.0E-4 then
  2560. local theta = math.acos(-cosTheta)
  2561. local invSinTheta = 1 / Sin(theta)
  2562. startInterp = Sin((t - 1) * theta) * invSinTheta
  2563. finishInterp = Sin(t * theta) * invSinTheta
  2564. else
  2565. startInterp = t - 1
  2566. finishInterp = t
  2567. end
  2568. 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
  2569. end
  2570. function rayCast(Position, Direction, Range, Ignore)
  2571. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2572. end
  2573. local RbxUtility = LoadLibrary("RbxUtility")
  2574. local Create = RbxUtility.Create
  2575.  
  2576. -------------------------------------------------------
  2577. --Start Damage Function--
  2578. -------------------------------------------------------
  2579. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2580. if hit.Parent == nil then
  2581. return
  2582. end
  2583. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2584. for _, v in pairs(hit.Parent:children()) do
  2585. if v:IsA("Humanoid") then
  2586. h = v
  2587. end
  2588. end
  2589. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  2590.  
  2591. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2592. end
  2593.  
  2594. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2595. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2596. if hit.Parent.DebounceHit.Value == true then
  2597. return
  2598. end
  2599. end
  2600. if insta == true then
  2601. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2602. end
  2603. local c = Create("ObjectValue"){
  2604. Name = "creator",
  2605. Value = game:service("Players").LocalPlayer,
  2606. Parent = h,
  2607. }
  2608. game:GetService("Debris"):AddItem(c, .5)
  2609. if HitSound ~= nil and HitPitch ~= nil then
  2610. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2611. end
  2612. local Damage = math.random(minim, maxim)
  2613. local blocked = false
  2614. local block = hit.Parent:findFirstChild("Block")
  2615. if block ~= nil then
  2616. if block.className == "IntValue" then
  2617. if block.Value > 0 then
  2618. blocked = true
  2619. block.Value = block.Value - 1
  2620. print(block.Value)
  2621. end
  2622. end
  2623. end
  2624. if blocked == false then
  2625. h.Health = h.Health - Damage
  2626. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2627. else
  2628. h.Health = h.Health - (Damage / 2)
  2629. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2630. end
  2631. if Type == "Knockdown" then
  2632. local hum = hit.Parent.Humanoid
  2633. hum.PlatformStand = true
  2634. coroutine.resume(coroutine.create(function(HHumanoid)
  2635. swait(1)
  2636. HHumanoid.PlatformStand = false
  2637. end), hum)
  2638. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2639. local bodvol = Create("BodyVelocity"){
  2640. velocity = angle * knockback,
  2641. P = 5000,
  2642. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2643. Parent = hit,
  2644. }
  2645. local rl = Create("BodyAngularVelocity"){
  2646. P = 3000,
  2647. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2648. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2649. Parent = hit,
  2650. }
  2651. game:GetService("Debris"):AddItem(bodvol, .5)
  2652. game:GetService("Debris"):AddItem(rl, .5)
  2653. elseif Type == "Normal" then
  2654. local vp = Create("BodyVelocity"){
  2655. P = 500,
  2656. maxForce = Vector3.new(math.huge, 0, math.huge),
  2657. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2658. }
  2659. if knockback > 0 then
  2660. vp.Parent = hit.Parent.Torso
  2661. end
  2662. game:GetService("Debris"):AddItem(vp, .5)
  2663. elseif Type == "Up" then
  2664. local bodyVelocity = Create("BodyVelocity"){
  2665. velocity = Vector3.new(0, 20, 0),
  2666. P = 5000,
  2667. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2668. Parent = hit,
  2669. }
  2670. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2671. elseif Type == "DarkUp" then
  2672. coroutine.resume(coroutine.create(function()
  2673. for i = 0, 1, 0.1 do
  2674. swait()
  2675. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2676. end
  2677. end))
  2678. local bodyVelocity = Create("BodyVelocity"){
  2679. velocity = Vector3.new(0, 20, 0),
  2680. P = 5000,
  2681. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2682. Parent = hit,
  2683. }
  2684. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2685. elseif Type == "Snare" then
  2686. local bp = Create("BodyPosition"){
  2687. P = 2000,
  2688. D = 100,
  2689. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2690. position = hit.Parent.Torso.Position,
  2691. Parent = hit.Parent.Torso,
  2692. }
  2693. game:GetService("Debris"):AddItem(bp, 1)
  2694. elseif Type == "Freeze" then
  2695. local BodPos = Create("BodyPosition"){
  2696. P = 50000,
  2697. D = 1000,
  2698. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2699. position = hit.Parent.Torso.Position,
  2700. Parent = hit.Parent.Torso,
  2701. }
  2702. local BodGy = Create("BodyGyro") {
  2703. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2704. P = 20e+003,
  2705. Parent = hit.Parent.Torso,
  2706. cframe = hit.Parent.Torso.CFrame,
  2707. }
  2708. hit.Parent.Torso.Anchored = true
  2709. coroutine.resume(coroutine.create(function(Part)
  2710. swait(1.5)
  2711. Part.Anchored = false
  2712. end), hit.Parent.Torso)
  2713. game:GetService("Debris"):AddItem(BodPos, 3)
  2714. game:GetService("Debris"):AddItem(BodGy, 3)
  2715. end
  2716. local debounce = Create("BoolValue"){
  2717. Name = "DebounceHit",
  2718. Parent = hit.Parent,
  2719. Value = true,
  2720. }
  2721. game:GetService("Debris"):AddItem(debounce, Delay)
  2722. c = Create("ObjectValue"){
  2723. Name = "creator",
  2724. Value = Player,
  2725. Parent = h,
  2726. }
  2727. game:GetService("Debris"):AddItem(c, .5)
  2728. end
  2729. end
  2730. -------------------------------------------------------
  2731. --End Damage Function--
  2732. -------------------------------------------------------
  2733.  
  2734. -------------------------------------------------------
  2735. --Start Damage Function Customization--
  2736. -------------------------------------------------------
  2737. function ShowDamage(Pos, Text, Time, Color)
  2738. local Rate = (1 / 30)
  2739. local Pos = (Pos or Vector3.new(0, 0, 0))
  2740. local Text = (Text or "")
  2741. local Time = (Time or 2)
  2742. local Color = (Color or Color3.new(1, 0, 1))
  2743. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2744. EffectPart.Anchored = true
  2745. local BillboardGui = Create("BillboardGui"){
  2746. Size = UDim2.new(3, 0, 3, 0),
  2747. Adornee = EffectPart,
  2748. Parent = EffectPart,
  2749. }
  2750. local TextLabel = Create("TextLabel"){
  2751. BackgroundTransparency = 1,
  2752. Size = UDim2.new(1, 0, 1, 0),
  2753. Text = Text,
  2754. Font = "Bodoni",
  2755. TextColor3 = Color,
  2756. TextScaled = true,
  2757. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  2758. Parent = BillboardGui,
  2759. }
  2760. game.Debris:AddItem(EffectPart, (Time))
  2761. EffectPart.Parent = game:GetService("Workspace")
  2762. delay(0, function()
  2763. local Frames = (Time / Rate)
  2764. for Frame = 1, Frames do
  2765. wait(Rate)
  2766. local Percent = (Frame / Frames)
  2767. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2768. TextLabel.TextTransparency = Percent
  2769. end
  2770. if EffectPart and EffectPart.Parent then
  2771. EffectPart:Destroy()
  2772. end
  2773. end)
  2774. end
  2775. -------------------------------------------------------
  2776. --End Damage Function Customization--
  2777. -------------------------------------------------------
  2778.  
  2779. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2780. for _, c in pairs(workspace:children()) do
  2781. local hum = c:findFirstChild("Humanoid")
  2782. if hum ~= nil then
  2783. local head = c:findFirstChild("Head")
  2784. if head ~= nil then
  2785. local targ = head.Position - Part.Position
  2786. local mag = targ.magnitude
  2787. if magni >= mag and c.Name ~= plr.Name then
  2788. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  2789. end
  2790. end
  2791. end
  2792. end
  2793. end
  2794.  
  2795.  
  2796. CFuncs = {
  2797. Part = {
  2798. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2799. local Part = Create("Part")({
  2800. Parent = Parent,
  2801. Reflectance = Reflectance,
  2802. Transparency = Transparency,
  2803. CanCollide = false,
  2804. Locked = true,
  2805. BrickColor = BrickColor.new(tostring(BColor)),
  2806. Name = Name,
  2807. Size = Size,
  2808. Material = Material
  2809. })
  2810. RemoveOutlines(Part)
  2811. return Part
  2812. end
  2813. },
  2814. Mesh = {
  2815. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2816. local Msh = Create(Mesh)({
  2817. Parent = Part,
  2818. Offset = OffSet,
  2819. Scale = Scale
  2820. })
  2821. if Mesh == "SpecialMesh" then
  2822. Msh.MeshType = MeshType
  2823. Msh.MeshId = MeshId
  2824. end
  2825. return Msh
  2826. end
  2827. },
  2828. Mesh = {
  2829. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2830. local Msh = Create(Mesh)({
  2831. Parent = Part,
  2832. Offset = OffSet,
  2833. Scale = Scale
  2834. })
  2835. if Mesh == "SpecialMesh" then
  2836. Msh.MeshType = MeshType
  2837. Msh.MeshId = MeshId
  2838. end
  2839. return Msh
  2840. end
  2841. },
  2842. Weld = {
  2843. Create = function(Parent, Part0, Part1, C0, C1)
  2844. local Weld = Create("Weld")({
  2845. Parent = Parent,
  2846. Part0 = Part0,
  2847. Part1 = Part1,
  2848. C0 = C0,
  2849. C1 = C1
  2850. })
  2851. return Weld
  2852. end
  2853. },
  2854. Sound = {
  2855. Create = function(id, par, vol, pit)
  2856. coroutine.resume(coroutine.create(function()
  2857. local S = Create("Sound")({
  2858. Volume = vol,
  2859. Pitch = pit or 1,
  2860. SoundId = id,
  2861. Parent = par or workspace
  2862. })
  2863. wait()
  2864. S:play()
  2865. game:GetService("Debris"):AddItem(S, 6)
  2866. end))
  2867. end
  2868. },
  2869. ParticleEmitter = {
  2870. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2871. local fp = Create("ParticleEmitter")({
  2872. Parent = Parent,
  2873. Color = ColorSequence.new(Color1, Color2),
  2874. LightEmission = LightEmission,
  2875. Size = Size,
  2876. Texture = Texture,
  2877. Transparency = Transparency,
  2878. ZOffset = ZOffset,
  2879. Acceleration = Accel,
  2880. Drag = Drag,
  2881. LockedToPart = LockedToPart,
  2882. VelocityInheritance = VelocityInheritance,
  2883. EmissionDirection = EmissionDirection,
  2884. Enabled = Enabled,
  2885. Lifetime = LifeTime,
  2886. Rate = Rate,
  2887. Rotation = Rotation,
  2888. RotSpeed = RotSpeed,
  2889. Speed = Speed,
  2890. VelocitySpread = VelocitySpread
  2891. })
  2892. return fp
  2893. end
  2894. }
  2895. }
  2896. function RemoveOutlines(part)
  2897. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2898. end
  2899. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2900. local Part = Create("Part")({
  2901. formFactor = FormFactor,
  2902. Parent = Parent,
  2903. Reflectance = Reflectance,
  2904. Transparency = Transparency,
  2905. CanCollide = false,
  2906. Locked = true,
  2907. BrickColor = BrickColor.new(tostring(BColor)),
  2908. Name = Name,
  2909. Size = Size,
  2910. Material = Material
  2911. })
  2912. RemoveOutlines(Part)
  2913. return Part
  2914. end
  2915. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2916. local Msh = Create(Mesh)({
  2917. Parent = Part,
  2918. Offset = OffSet,
  2919. Scale = Scale
  2920. })
  2921. if Mesh == "SpecialMesh" then
  2922. Msh.MeshType = MeshType
  2923. Msh.MeshId = MeshId
  2924. end
  2925. return Msh
  2926. end
  2927. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2928. local Weld = Create("Weld")({
  2929. Parent = Parent,
  2930. Part0 = Part0,
  2931. Part1 = Part1,
  2932. C0 = C0,
  2933. C1 = C1
  2934. })
  2935. return Weld
  2936. end
  2937.  
  2938.  
  2939. -------------------------------------------------------
  2940. --Start Effect Function--
  2941. -------------------------------------------------------
  2942. EffectModel = Instance.new("Model", char)
  2943. Effects = {
  2944. Block = {
  2945. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2946. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2947. prt.Anchored = true
  2948. prt.CFrame = cframe
  2949. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2950. game:GetService("Debris"):AddItem(prt, 10)
  2951. if Type == 1 or Type == nil then
  2952. table.insert(Effects, {
  2953. prt,
  2954. "Block1",
  2955. delay,
  2956. x3,
  2957. y3,
  2958. z3,
  2959. msh
  2960. })
  2961. elseif Type == 2 then
  2962. table.insert(Effects, {
  2963. prt,
  2964. "Block2",
  2965. delay,
  2966. x3,
  2967. y3,
  2968. z3,
  2969. msh
  2970. })
  2971. else
  2972. table.insert(Effects, {
  2973. prt,
  2974. "Block3",
  2975. delay,
  2976. x3,
  2977. y3,
  2978. z3,
  2979. msh
  2980. })
  2981. end
  2982. end
  2983. },
  2984. Sphere = {
  2985. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2986. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2987. prt.Anchored = true
  2988. prt.CFrame = cframe
  2989. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2990. game:GetService("Debris"):AddItem(prt, 10)
  2991. table.insert(Effects, {
  2992. prt,
  2993. "Cylinder",
  2994. delay,
  2995. x3,
  2996. y3,
  2997. z3,
  2998. msh
  2999. })
  3000. end
  3001. },
  3002. Cylinder = {
  3003. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3004. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3005. prt.Anchored = true
  3006. prt.CFrame = cframe
  3007. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3008. game:GetService("Debris"):AddItem(prt, 10)
  3009. table.insert(Effects, {
  3010. prt,
  3011. "Cylinder",
  3012. delay,
  3013. x3,
  3014. y3,
  3015. z3,
  3016. msh
  3017. })
  3018. end
  3019. },
  3020. Wave = {
  3021. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3022. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3023. prt.Anchored = true
  3024. prt.CFrame = cframe
  3025. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  3026. game:GetService("Debris"):AddItem(prt, 10)
  3027. table.insert(Effects, {
  3028. prt,
  3029. "Cylinder",
  3030. delay,
  3031. x3 / 60,
  3032. y3 / 60,
  3033. z3 / 60,
  3034. msh
  3035. })
  3036. end
  3037. },
  3038. Ring = {
  3039. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3040. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3041. prt.Anchored = true
  3042. prt.CFrame = cframe
  3043. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3044. game:GetService("Debris"):AddItem(prt, 10)
  3045. table.insert(Effects, {
  3046. prt,
  3047. "Cylinder",
  3048. delay,
  3049. x3,
  3050. y3,
  3051. z3,
  3052. msh
  3053. })
  3054. end
  3055. },
  3056. Break = {
  3057. Create = function(brickcolor, cframe, x1, y1, z1)
  3058. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3059. prt.Anchored = true
  3060. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3061. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3062. local num = math.random(10, 50) / 1000
  3063. game:GetService("Debris"):AddItem(prt, 10)
  3064. table.insert(Effects, {
  3065. prt,
  3066. "Shatter",
  3067. num,
  3068. prt.CFrame,
  3069. math.random() - math.random(),
  3070. 0,
  3071. math.random(50, 100) / 100
  3072. })
  3073. end
  3074. },
  3075. Spiral = {
  3076. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3077. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3078. prt.Anchored = true
  3079. prt.CFrame = cframe
  3080. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3081. game:GetService("Debris"):AddItem(prt, 10)
  3082. table.insert(Effects, {
  3083. prt,
  3084. "Cylinder",
  3085. delay,
  3086. x3,
  3087. y3,
  3088. z3,
  3089. msh
  3090. })
  3091. end
  3092. },
  3093. Push = {
  3094. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3095. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3096. prt.Anchored = true
  3097. prt.CFrame = cframe
  3098. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3099. game:GetService("Debris"):AddItem(prt, 10)
  3100. table.insert(Effects, {
  3101. prt,
  3102. "Cylinder",
  3103. delay,
  3104. x3,
  3105. y3,
  3106. z3,
  3107. msh
  3108. })
  3109. end
  3110. }
  3111. }
  3112. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  3113. local fp = IT("Part")
  3114. fp.formFactor = formfactor
  3115. fp.Parent = parent
  3116. fp.Reflectance = reflectance
  3117. fp.Transparency = transparency
  3118. fp.CanCollide = false
  3119. fp.Locked = true
  3120. fp.BrickColor = brickcolor
  3121. fp.Name = name
  3122. fp.Size = size
  3123. fp.Position = tors.Position
  3124. RemoveOutlines(fp)
  3125. fp.Material = "SmoothPlastic"
  3126. fp:BreakJoints()
  3127. return fp
  3128. end
  3129.  
  3130. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3131. local mesh = IT(Mesh)
  3132. mesh.Parent = part
  3133. if Mesh == "SpecialMesh" then
  3134. mesh.MeshType = meshtype
  3135. if meshid ~= "nil" then
  3136. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  3137. end
  3138. end
  3139. mesh.Offset = offset
  3140. mesh.Scale = scale
  3141. return mesh
  3142. end
  3143.  
  3144. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  3145. local type = type
  3146. local rng = Instance.new("Part", char)
  3147. rng.Anchored = true
  3148. rng.BrickColor = color
  3149. rng.CanCollide = false
  3150. rng.FormFactor = 3
  3151. rng.Name = "Ring"
  3152. rng.Material = "Neon"
  3153. rng.Size = Vector3.new(1, 1, 1)
  3154. rng.Transparency = 0
  3155. rng.TopSurface = 0
  3156. rng.BottomSurface = 0
  3157. rng.CFrame = pos
  3158. local rngm = Instance.new("SpecialMesh", rng)
  3159. rngm.MeshType = MType
  3160. rngm.Scale = scale
  3161. local scaler2 = 1
  3162. if type == "Add" then
  3163. scaler2 = 1 * value
  3164. elseif type == "Divide" then
  3165. scaler2 = 1 / value
  3166. end
  3167. coroutine.resume(coroutine.create(function()
  3168. for i = 0, 10 / bonuspeed, 0.1 do
  3169. swait()
  3170. if type == "Add" then
  3171. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3172. elseif type == "Divide" then
  3173. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3174. end
  3175. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3176. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3177. end
  3178. rng:Destroy()
  3179. end))
  3180. end
  3181.  
  3182. function Eviscerate(dude)
  3183. if dude.Name ~= char then
  3184. local bgf = IT("BodyGyro", dude.Head)
  3185. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3186. local val = IT("BoolValue", dude)
  3187. val.Name = "IsHit"
  3188. local ds = coroutine.wrap(function()
  3189. dude:WaitForChild("Head"):BreakJoints()
  3190. wait(0.5)
  3191. target = nil
  3192. coroutine.resume(coroutine.create(function()
  3193. for i, v in pairs(dude:GetChildren()) do
  3194. if v:IsA("Accessory") then
  3195. v:Destroy()
  3196. end
  3197. if v:IsA("Humanoid") then
  3198. v:Destroy()
  3199. end
  3200. if v:IsA("CharacterMesh") then
  3201. v:Destroy()
  3202. end
  3203. if v:IsA("Model") then
  3204. v:Destroy()
  3205. end
  3206. if v:IsA("Part") or v:IsA("MeshPart") then
  3207. for x, o in pairs(v:GetChildren()) do
  3208. if o:IsA("Decal") then
  3209. o:Destroy()
  3210. end
  3211. end
  3212. coroutine.resume(coroutine.create(function()
  3213. v.Material = "Neon"
  3214. v.CanCollide = false
  3215. local PartEmmit1 = IT("ParticleEmitter", v)
  3216. PartEmmit1.LightEmission = 1
  3217. PartEmmit1.Texture = "rbxassetid://284205403"
  3218. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3219. PartEmmit1.Rate = 150
  3220. PartEmmit1.Lifetime = NumberRange.new(1)
  3221. PartEmmit1.Size = NumberSequence.new({
  3222. NumberSequenceKeypoint.new(0, 0.75, 0),
  3223. NumberSequenceKeypoint.new(1, 0, 0)
  3224. })
  3225. PartEmmit1.Transparency = NumberSequence.new({
  3226. NumberSequenceKeypoint.new(0, 0, 0),
  3227. NumberSequenceKeypoint.new(1, 1, 0)
  3228. })
  3229. PartEmmit1.Speed = NumberRange.new(0, 0)
  3230. PartEmmit1.VelocitySpread = 30000
  3231. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  3232. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  3233. local BodPoss = IT("BodyPosition", v)
  3234. BodPoss.P = 3000
  3235. BodPoss.D = 1000
  3236. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3237. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3238. v.Color = maincolor.Color
  3239. coroutine.resume(coroutine.create(function()
  3240. for i = 0, 49 do
  3241. swait(1)
  3242. v.Transparency = v.Transparency + 0.08
  3243. end
  3244. wait(0.5)
  3245. PartEmmit1.Enabled = false
  3246. wait(3)
  3247. v:Destroy()
  3248. dude:Destroy()
  3249. end))
  3250. end))
  3251. end
  3252. end
  3253. end))
  3254. end)
  3255. ds()
  3256. end
  3257. end
  3258.  
  3259. function FindNearestHead(Position, Distance, SinglePlayer)
  3260. if SinglePlayer then
  3261. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3262. end
  3263. local List = {}
  3264. for i, v in pairs(workspace:GetChildren()) do
  3265. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  3266. table.insert(List, v)
  3267. end
  3268. end
  3269. return List
  3270. end
  3271.  
  3272. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  3273. local type = type
  3274. local rng = Instance.new("Part", char)
  3275. rng.Anchored = true
  3276. rng.BrickColor = color
  3277. rng.CanCollide = false
  3278. rng.FormFactor = 3
  3279. rng.Name = "Ring"
  3280. rng.Material = "Neon"
  3281. rng.Size = Vector3.new(1, 1, 1)
  3282. rng.Transparency = 0
  3283. rng.TopSurface = 0
  3284. rng.BottomSurface = 0
  3285. rng.CFrame = pos
  3286. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3287. local rngm = Instance.new("SpecialMesh", rng)
  3288. rngm.MeshType = MType
  3289. rngm.Scale = Vector3.new(x1, y1, z1)
  3290. local scaler2 = 1
  3291. local speeder = FastSpeed
  3292. if type == "Add" then
  3293. scaler2 = 1 * value
  3294. elseif type == "Divide" then
  3295. scaler2 = 1 / value
  3296. end
  3297. coroutine.resume(coroutine.create(function()
  3298. for i = 0, 10 / bonuspeed, 0.1 do
  3299. swait()
  3300. if type == "Add" then
  3301. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3302. elseif type == "Divide" then
  3303. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3304. end
  3305. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3306. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3307. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3308. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3309. end
  3310. rng:Destroy()
  3311. end))
  3312. end
  3313.  
  3314. function SoulSteal(dude)
  3315. if dude.Name ~= char then
  3316. local bgf = IT("BodyGyro", dude.Head)
  3317. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3318. local val = IT("BoolValue", dude)
  3319. val.Name = "IsHit"
  3320. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  3321. local soulst = coroutine.wrap(function()
  3322. local soul = Instance.new("Part",dude)
  3323. soul.Size = Vector3.new(1,1,1)
  3324. soul.CanCollide = false
  3325. soul.Anchored = false
  3326. soul.Position = torso.Position
  3327. soul.Transparency = 1
  3328. local PartEmmit1 = IT("ParticleEmitter", soul)
  3329. PartEmmit1.LightEmission = 1
  3330. PartEmmit1.Texture = "rbxassetid://569507414"
  3331. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3332. PartEmmit1.Rate = 250
  3333. PartEmmit1.Lifetime = NumberRange.new(1.6)
  3334. PartEmmit1.Size = NumberSequence.new({
  3335. NumberSequenceKeypoint.new(0, 1, 0),
  3336. NumberSequenceKeypoint.new(1, 0, 0)
  3337. })
  3338. PartEmmit1.Transparency = NumberSequence.new({
  3339. NumberSequenceKeypoint.new(0, 0, 0),
  3340. NumberSequenceKeypoint.new(1, 1, 0)
  3341. })
  3342. PartEmmit1.Speed = NumberRange.new(0, 0)
  3343. PartEmmit1.VelocitySpread = 30000
  3344. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  3345. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  3346. local BodPoss = IT("BodyPosition", soul)
  3347. BodPoss.P = 3000
  3348. BodPoss.D = 1000
  3349. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3350. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3351. wait(1.6)
  3352. soul.Touched:connect(function(hit)
  3353. if hit.Parent == char then
  3354. soul:Destroy()
  3355. end
  3356. end)
  3357. wait(1.2)
  3358. while soul do
  3359. swait()
  3360. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3361. BodPoss.Position = tors.Position
  3362. end
  3363. end)
  3364. soulst()
  3365. end
  3366. end
  3367. function FaceMouse()
  3368. local Cam = workspace.CurrentCamera
  3369. return {
  3370. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3371. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3372. }
  3373. end
  3374. -------------------------------------------------------
  3375. --End Effect Function--
  3376. -------------------------------------------------------
  3377. function Cso(ID, PARENT, VOLUME, PITCH)
  3378. local NSound = nil
  3379. coroutine.resume(coroutine.create(function()
  3380. NSound = IT("Sound", PARENT)
  3381. NSound.Volume = VOLUME
  3382. NSound.Pitch = PITCH
  3383. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3384. swait()
  3385. NSound:play()
  3386. game:GetService("Debris"):AddItem(NSound, 10)
  3387. end))
  3388. return NSound
  3389. end
  3390. function CameraEnshaking(Length, Intensity)
  3391. coroutine.resume(coroutine.create(function()
  3392. local intensity = 1 * Intensity
  3393. local rotM = 0.01 * Intensity
  3394. for i = 0, Length, 0.1 do
  3395. swait()
  3396. intensity = intensity - 0.05 * Intensity / Length
  3397. rotM = rotM - 5.0E-4 * Intensity / Length
  3398. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3399. 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)
  3400. end
  3401. hum.CameraOffset = Vector3.new(0, 0, 0)
  3402. end))
  3403. end
  3404. function chatfunc(text, color)
  3405. local chat = coroutine.wrap(function()
  3406. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  3407. char:FindFirstChild("TalkingBillBoard"):destroy()
  3408. end
  3409. local naeeym2 = Instance.new("BillboardGui", char)
  3410. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  3411. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  3412. naeeym2.Adornee = hed
  3413. naeeym2.Name = "TalkingBillBoard"
  3414. local tecks2 = Instance.new("TextLabel", naeeym2)
  3415. tecks2.BackgroundTransparency = 1
  3416. tecks2.BorderSizePixel = 0
  3417. tecks2.Text = ""
  3418. tecks2.Font = "SciFi"
  3419. tecks2.TextSize = 30
  3420. tecks2.TextStrokeTransparency = 0
  3421. tecks2.TextColor3 = color
  3422. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  3423. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  3424. coroutine.resume(coroutine.create(function()
  3425. while true do
  3426. swait(1)
  3427. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  3428. tecks2.Rotation = math.random(-5, 5)
  3429. end
  3430. end))
  3431. for i = 1, string.len(text) do
  3432. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  3433. tecks2.Text = string.sub(text, 1, i)
  3434. swait(1)
  3435. end
  3436. wait(1)
  3437. naeeym2:Destroy()
  3438. end)
  3439. chat()
  3440. end
  3441. -------------------------------------------------------
  3442. --End Important Functions--
  3443. -------------------------------------------------------
  3444.  
  3445. -------------------------------------------------------
  3446. --Start Customization--
  3447. -------------------------------------------------------
  3448. local Player_Size = 1
  3449. if Player_Size ~= 1 then
  3450. root.Size = root.Size * Player_Size
  3451. tors.Size = tors.Size * Player_Size
  3452. hed.Size = hed.Size * Player_Size
  3453. ra.Size = ra.Size * Player_Size
  3454. la.Size = la.Size * Player_Size
  3455. rl.Size = rl.Size * Player_Size
  3456. ll.Size = ll.Size * Player_Size
  3457. ----------------------------------------------------------------------------------
  3458. rootj.Parent = root
  3459. neck.Parent = tors
  3460. RW.Parent = tors
  3461. LW.Parent = tors
  3462. RH.Parent = tors
  3463. LH.Parent = tors
  3464. ----------------------------------------------------------------------------------
  3465. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3466. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3467. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  3468. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  3469. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  3470. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  3471. ----------------------------------------------------------------------------------
  3472. 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))
  3473. 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))
  3474. 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))
  3475. 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))
  3476. --hat.Parent = Character
  3477. end
  3478. ----------------------------------------------------------------------------------
  3479. local equipped = false
  3480. local idle = 0
  3481. local change = 1
  3482. local val = 0
  3483. local toim = 0
  3484. local idleanim = 0.4
  3485. local sine = 0
  3486. local Sit = 1
  3487. ----------------------------------------------------------------------------------
  3488. local SONG = 2552132916
  3489. local SONG2 = 0
  3490. local Music = Instance.new("Sound",tors)
  3491. Music.Volume = 2.5
  3492. Music.Looped = true
  3493. Music.Pitch = 1 --Pitcher
  3494. ----------------------------------------------------------------------------------
  3495. local Orin = "http://www.roblox.com/asset/?id=542187919"
  3496. Head.face.Texture = Orin
  3497. function weld(a, b, acf)
  3498. local w = Instance.new("Weld", a)
  3499. w.Part0 = a
  3500. w.Part1 = b
  3501. w.C0 = acf
  3502. end
  3503. for i,v in pairs(char:GetChildren()) do
  3504. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  3505. v:destroy()
  3506. end
  3507. end
  3508.  
  3509. local Hair = Instance.new("Part")
  3510. Hair.Parent = char
  3511. Hair.Name = "Hair"
  3512. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  3513. Hair.CFrame = char.Head.CFrame
  3514. Hair:BreakJoints()
  3515. Hair.CanCollide = false
  3516. Hair.BrickColor = BrickColor.new("New Yeller")
  3517. Hair.TopSurface = "Smooth"
  3518. Hair.BottomSurface = "Smooth"
  3519. Weld = Instance.new("Weld")
  3520. Weld.Name = "Weld"
  3521. Weld.Part0 = char.Torso
  3522. Weld.Part1 = Hair
  3523. Weld.Parent = char.Torso
  3524. Weld.C0 = CFrame.new(0, 0.3, 0.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3525. Mesh = Instance.new("SpecialMesh")
  3526. Mesh.Parent = Hair
  3527. Mesh.MeshId = "rbxassetid://67993325"
  3528. Mesh.TextureId = "http://www.roblox.com/asset/?id=93367455"
  3529. Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  3530. ----------------------------------------------------------------------------------
  3531. local Hair = Instance.new("Part")
  3532. Hair.Parent = char
  3533. Hair.Name = "Hair"
  3534. Hair.Size = Vector3.new(1, 0.4, 1)
  3535. Hair.CFrame = char.Head.CFrame
  3536. Hair:BreakJoints()
  3537. Hair.CanCollide = false
  3538. Hair.BrickColor = BrickColor.new("New Yeller")
  3539. Hair.TopSurface = "Smooth"
  3540. Hair.BottomSurface = "Smooth"
  3541. Weld = Instance.new("Weld")
  3542. Weld.Name = "Weld"
  3543. Weld.Part0 = char.Head
  3544. Weld.Part1 = Hair
  3545. Weld.Parent = char.Head
  3546. Weld.C0 = CFrame.new(0, 0.2, -0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3547. Mesh = Instance.new("SpecialMesh")
  3548. Mesh.Parent = Hair
  3549. Mesh.MeshId = "rbxassetid://0"
  3550. Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  3551. Mesh.Scale = Vector3.new(1, 1, 1)
  3552. ----------------------------------------------------------------------------------
  3553. local Hair = Instance.new("Part")
  3554. Hair.Parent = char
  3555. Hair.Name = "Hair"
  3556. Hair.Size = Vector3.new(1, 0.4, 1)
  3557. Hair.CFrame = char.Head.CFrame
  3558. Hair:BreakJoints()
  3559. Hair.CanCollide = false
  3560. Hair.BrickColor = BrickColor.new("New Yeller")
  3561. Hair.TopSurface = "Smooth"
  3562. Hair.BottomSurface = "Smooth"
  3563. Weld = Instance.new("Weld")
  3564. Weld.Name = "Weld"
  3565. Weld.Part0 = char.Head
  3566. Weld.Part1 = Hair
  3567. Weld.Parent = char.Head
  3568. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3569. Mesh = Instance.new("SpecialMesh")
  3570. Mesh.Parent = Hair
  3571. Mesh.MeshId = "rbxassetid://16627529"
  3572. Mesh.TextureId = "http://www.roblox.com/asset/?id=1543772519"
  3573. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  3574. ----------------------------------------------------------------------------------
  3575. local Hair = Instance.new("Part")
  3576. Hair.Parent = char
  3577. Hair.Name = "Hair"
  3578. Hair.Size = Vector3.new(0.99, 2.03, 2.45)
  3579. Hair.CFrame = char.Head.CFrame
  3580. Hair:BreakJoints()
  3581. Hair.CanCollide = false
  3582. Hair.BrickColor = BrickColor.new("New Yeller")
  3583. Hair.TopSurface = "Smooth"
  3584. Hair.BottomSurface = "Smooth"
  3585. Weld = Instance.new("Weld")
  3586. Weld.Name = "Weld"
  3587. Weld.Part0 = char.Torso
  3588. Weld.Part1 = Hair
  3589. Weld.Parent = char.Torso
  3590. Weld.C0 = CFrame.new(0.3, 0.1, 1.8)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3591. Mesh = Instance.new("SpecialMesh")
  3592. Mesh.Parent = Hair
  3593. Mesh.MeshId = "rbxassetid://170939831"
  3594. Mesh.TextureId = "http://www.roblox.com/asset/?id=1053329126"
  3595. Mesh.Scale = Vector3.new(1, 1, 1)
  3596. ----------------------------------------------------------------------------------
  3597. local Shirt = "rbxassetid://219915350"
  3598. local Pants = "rbxassetid://325498599"
  3599.  
  3600. ypcall(function()
  3601. shirt = Instance.new("Shirt", char)
  3602. shirt.Name = "Shirt"
  3603. pants = Instance.new("Pants", char)
  3604. pants.Name = "Pants"
  3605. char.Shirt.ShirtTemplate = Shirt
  3606. char.Pants.PantsTemplate = Pants
  3607. end)
  3608.  
  3609. shirt.Name = "aomFetty"
  3610. pants.Name = "aomFetty"
  3611. hum.WalkSpeed = 16
  3612. hum.JumpPower = 70
  3613. hum.MaxHealth = "inf.99999999999999999e+99999999999999e+999999999999e+99999999999"
  3614. hum.Health = "inf.99999999999999999e+99999999999999e+999999999999e+99999999999"
  3615. hum.Animator.Parent = nil
  3616. ----------------------------------------------------------------------------------
  3617. local naeeym2 = Instance.new("BillboardGui",char)
  3618. naeeym2.AlwaysOnTop = true
  3619. naeeym2.Size = UDim2.new(5,35,2,15)
  3620. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  3621. naeeym2.Adornee = hed
  3622. naeeym2.Name = "Name"
  3623. --naeeym2.PlayerToHideFrom = Player
  3624. local tecks2 = Instance.new("TextLabel",naeeym2)
  3625. tecks2.BackgroundTransparency = 1
  3626. tecks2.TextScaled = true
  3627. tecks2.BorderSizePixel = 0
  3628. tecks2.Text = "Uhhh.."
  3629. tecks2.Font = Enum.Font.Antique
  3630. tecks2.TextSize = 30
  3631. tecks2.TextStrokeTransparency = 0
  3632. tecks2.TextColor3 = Color3.new(255, 255, 0)
  3633. tecks2.TextStrokeColor3 = Color3.new(255, 0, 255)
  3634. tecks2.Size = UDim2.new(1,0,0.5,0)
  3635. tecks2.Parent = naeeym2
  3636. wait(1)
  3637. tecks2.Text = "What.."
  3638. wait(2)
  3639. tecks2.Text = "This feeling.."
  3640. wait(2)
  3641. tecks2.Text = "I think I can break my limit!"
  3642. wait(5)
  3643. tecks2.Text = "heh."
  3644. wait(2)
  3645. tecks2.Text = "Red_Jack142"
  3646. --------------------------------------------------------
  3647. local EyeSizes={
  3648. NumberSequenceKeypoint.new(0,0.65,0),
  3649. NumberSequenceKeypoint.new(0.5,0.7,0),
  3650. NumberSequenceKeypoint.new(1,0,0)
  3651. }
  3652. local EyeTrans={
  3653. NumberSequenceKeypoint.new(0,0,0),
  3654. NumberSequenceKeypoint.new(0.5,0,0),
  3655. NumberSequenceKeypoint.new(1,1,0)
  3656. }
  3657. local PE2=Instance.new("ParticleEmitter", ra)
  3658. PE2.LightEmission=.9
  3659. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3660. PE2.Transparency=NumberSequence.new(EyeTrans)
  3661. PE2.Lifetime=NumberRange.new(0.35)
  3662. PE2.Rotation=NumberRange.new(0,360)
  3663. PE2.Rate=999
  3664. PE2.VelocitySpread = 10000
  3665. PE2.Acceleration = Vector3.new(0,25,0)
  3666. PE2.ZOffset = 0.5
  3667. PE2.Drag = 0
  3668. PE2.Speed = NumberRange.new(0,0,0)
  3669. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3670. PE2.Name = "PE2"
  3671. PE2.Enabled = true
  3672. PE2.LockedToPart = true
  3673. local EyeSizes={
  3674. NumberSequenceKeypoint.new(0,0.65,0),
  3675. NumberSequenceKeypoint.new(0.5,0.7,0),
  3676. NumberSequenceKeypoint.new(1,0,0)
  3677. }
  3678. local EyeTrans={
  3679. NumberSequenceKeypoint.new(0,0,0),
  3680. NumberSequenceKeypoint.new(0.5,0,0),
  3681. NumberSequenceKeypoint.new(1,1,0)
  3682. }
  3683. local PE3=Instance.new("ParticleEmitter", ra)
  3684. PE3.LightEmission=.9
  3685. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3686. PE3.Transparency=NumberSequence.new(EyeTrans)
  3687. PE3.Lifetime=NumberRange.new(0.35)
  3688. PE3.Rotation=NumberRange.new(0,360)
  3689. PE3.Rate=999
  3690. PE3.VelocitySpread = 10000
  3691. PE3.Acceleration = Vector3.new(0,25,0)
  3692. PE3.ZOffset = 0.5
  3693. PE3.Drag = 0
  3694. PE3.Speed = NumberRange.new(0,0,0)
  3695. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3696. PE3.Name = "PE3"
  3697. PE3.Enabled = true
  3698. PE3.LockedToPart = true
  3699.  
  3700. local EyeSizes={
  3701. NumberSequenceKeypoint.new(0,0.65,0),
  3702. NumberSequenceKeypoint.new(0.5,0.7,0),
  3703. NumberSequenceKeypoint.new(1,0,0)
  3704. }
  3705. local EyeTrans={
  3706. NumberSequenceKeypoint.new(0,0,0),
  3707. NumberSequenceKeypoint.new(0.5,0,0),
  3708. NumberSequenceKeypoint.new(1,1,0)
  3709. }
  3710. local PE4=Instance.new("ParticleEmitter", ll)
  3711. PE4.LightEmission=.9
  3712. PE4.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3713. PE4.Transparency=NumberSequence.new(EyeTrans)
  3714. PE4.Lifetime=NumberRange.new(0.35)
  3715. PE4.Rotation=NumberRange.new(0,360)
  3716. PE4.Rate=999
  3717. PE4.VelocitySpread = 10000
  3718. PE4.Acceleration = Vector3.new(0,25,0)
  3719. PE4.ZOffset = 0.5
  3720. PE4.Drag = 0
  3721. PE4.Speed = NumberRange.new(0,0,0)
  3722. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3723. PE4.Name = "PE4"
  3724. PE4.Enabled = true
  3725. PE4.LockedToPart = true
  3726. local EyeSizes={
  3727. NumberSequenceKeypoint.new(0,0.65,0),
  3728. NumberSequenceKeypoint.new(0.5,0.7,0),
  3729. NumberSequenceKeypoint.new(1,0,0)
  3730. }
  3731. local EyeTrans={
  3732. NumberSequenceKeypoint.new(0,0,0),
  3733. NumberSequenceKeypoint.new(0.5,0,0),
  3734. NumberSequenceKeypoint.new(1,1,0)
  3735. }
  3736. local PE5=Instance.new("ParticleEmitter", ll)
  3737. PE5.LightEmission=.9
  3738. PE5.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3739. PE5.Transparency=NumberSequence.new(EyeTrans)
  3740. PE5.Lifetime=NumberRange.new(0.35)
  3741. PE5.Rotation=NumberRange.new(0,360)
  3742. PE5.Rate=999
  3743. PE5.VelocitySpread = 10000
  3744. PE5.Acceleration = Vector3.new(0,25,0)
  3745. PE5.ZOffset = 0.5
  3746. PE5.Drag = 0
  3747. PE5.Speed = NumberRange.new(0,0,0)
  3748. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3749. PE5.Name = "PE5"
  3750. PE5.Enabled = true
  3751. PE5.LockedToPart = true
  3752. -------------------------------------------------------
  3753. --End Customization--
  3754. -------------------------------------------------------
  3755.  
  3756.  
  3757. -------------------------------------------------------
  3758. --Start Attacks N Stuff--
  3759. -------------------------------------------------------
  3760. function attackone()
  3761. attack = true
  3762. hum.WalkSpeed = 3.01
  3763. for i = 0, 1.7, 0.1 do
  3764. swait()
  3765. 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)
  3766. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  3767. 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)
  3768. 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)
  3769. 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)
  3770. 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)
  3771. end
  3772. Cso("203426541", ra, 10, 1)
  3773. for i = 0, 1.4, 0.1 do
  3774. swait()
  3775. 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)
  3776. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3777. 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)
  3778. 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)
  3779. 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)
  3780. 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)
  3781. end
  3782. for i = 0, 1.4, 0.1 do
  3783. swait()
  3784. 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)
  3785. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3786. 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)
  3787. 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)
  3788. 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)
  3789. 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)
  3790. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  3791. if v:FindFirstChild("Head") then
  3792. Eviscerate(v)
  3793. end
  3794. end
  3795. end
  3796. attack = false
  3797. hum.WalkSpeed = 16
  3798. end
  3799. function attacktwo()
  3800. attack = true
  3801. hum.WalkSpeed = 3.01
  3802. for i = 0, 1.7, 0.1 do
  3803. swait()
  3804. 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)
  3805. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  3806. 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)
  3807. 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)
  3808. 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)
  3809. 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)
  3810. end
  3811. Cso("203426541", rl, 10, 1)
  3812. CameraEnshaking(2, 3)
  3813. for i = 0, 1.4, 0.1 do
  3814. swait()
  3815. 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)
  3816. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  3817. 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)
  3818. 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)
  3819. 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)
  3820. 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)
  3821. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  3822. if v:FindFirstChild("Head") then
  3823. Eviscerate(v)
  3824. end
  3825. end
  3826. end
  3827. attack = false
  3828. hum.WalkSpeed = 16
  3829. end
  3830. function attackthree()
  3831. attack = true
  3832. hum.WalkSpeed = 3.01
  3833. for i = 0, 1.4, 0.1 do
  3834. swait()
  3835. 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)
  3836. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3837. 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)
  3838. 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)
  3839. 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)
  3840. 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)
  3841. end
  3842. Cso("203426541", hed, 10, 1)
  3843. for i = 0, 1.7, 0.1 do
  3844. swait()
  3845. 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)
  3846. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3847. 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)
  3848. 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)
  3849. 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)
  3850. 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)
  3851. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  3852. if v:FindFirstChild("Head") then
  3853. Eviscerate(v)
  3854. end
  3855. end
  3856. end
  3857. attack = false
  3858. hum.WalkSpeed = 16
  3859. end
  3860.  
  3861. function Distort()
  3862. attack = true
  3863. hum.WalkSpeed = 0
  3864. local pos = root.Position
  3865. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  3866. Cso("847061203", char, 10, 0.85)
  3867. for i = 1,2.5,0.1 do
  3868. swait()
  3869. 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)
  3870. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3871. 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)
  3872. 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)
  3873. 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)
  3874. 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)
  3875. end
  3876. attack = false
  3877. hum.WalkSpeed = 8
  3878. end
  3879. function Ancient_Rage()
  3880. attack = true
  3881. hum.WalkSpeed = 0
  3882. Cso("135017578", tors, 10, 1.05)
  3883. for i = 1,14,0.1 do
  3884. swait()
  3885. 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)
  3886. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3887. 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)
  3888. 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)
  3889. 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)
  3890. 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)
  3891. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  3892. if v:FindFirstChild("Head") then
  3893. Eviscerate(v)
  3894. end
  3895. end
  3896. end
  3897. attack = false
  3898. hum.WalkSpeed = 16
  3899. end
  3900. function Technobeam()
  3901. attack = true
  3902. hum.WalkSpeed = 3.01
  3903. for i = 0, 4, 0.1 do
  3904. swait()
  3905. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  3906. 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)
  3907. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3908. 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)
  3909. 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)
  3910. 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)
  3911. 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)
  3912. end
  3913. for i = 0, 2, 0.1 do
  3914. swait()
  3915. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  3916. 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)
  3917. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  3918. 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)
  3919. 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)
  3920. 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)
  3921. 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)
  3922. end
  3923. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  3924. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  3925. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  3926. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  3927. CameraEnshaking(4, 5)
  3928. Cso("206049428", char, 10, 1)
  3929. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  3930. if v:FindFirstChild("Head") then
  3931. Eviscerate(v)
  3932. end
  3933. end
  3934. for i = 0, 2, 0.1 do
  3935. swait()
  3936. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  3937. 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)
  3938. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3939. 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)
  3940. 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)
  3941. 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)
  3942. 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)
  3943. end
  3944. hum.WalkSpeed = 16
  3945. attack = false
  3946. end
  3947. function Taunt10000()
  3948. attack = true
  3949. Cso("333446256", char, 10, 1)
  3950. for i = 0, 15, 0.1 do
  3951. swait()
  3952. 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)
  3953. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3954. 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)
  3955. 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)
  3956. 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)
  3957. 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)
  3958. end
  3959. for i = 0, 15, 0.1 do
  3960. swait()
  3961. 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)
  3962. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3963. 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)
  3964. 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)
  3965. 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)
  3966. 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)
  3967. end
  3968. for i = 0, 20, 0.1 do
  3969. swait()
  3970. 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)
  3971. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3972. 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)
  3973. 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)
  3974. 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)
  3975. 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)
  3976. end
  3977. attack = false
  3978. end
  3979. function OP9999()
  3980. attack = true
  3981. hum.WalkSpeed = 3.01
  3982. Cso("1690476035",char, 10, 1)
  3983. for i = 0,5.2,0.1 do
  3984. swait()
  3985. Effects.Block.Create(BrickC("Really red"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3986. 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)
  3987. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3988. 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)
  3989. 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)
  3990. 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)
  3991. 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)
  3992. end
  3993. Cso("824687369", char, 10, 1)
  3994. for i = 0,3.7,0.1 do
  3995. swait()
  3996. 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)
  3997. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3998. 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)
  3999. 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)
  4000. 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)
  4001. 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)
  4002. CameraEnshaking(2, 8)
  4003. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  4004. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  4005. if v:FindFirstChild("Head") then
  4006. Eviscerate(v)
  4007. end
  4008. end
  4009. end
  4010. attack = false
  4011. hum.WalkSpeed = 16
  4012. end
  4013. -------------------------------------------------------
  4014. --End Attacks N Stuff--
  4015. -------------------------------------------------------
  4016. mouse.KeyDown:connect(function(key)
  4017. if key == 'q' then
  4018. Swing = 2
  4019. hum.WalkSpeed = 40
  4020. end
  4021. end)
  4022. mouse.KeyUp:connect(function(key)
  4023. if key == 'q' then
  4024. Swing = 1
  4025. hum.WalkSpeed = 16
  4026. end
  4027. end)
  4028.  
  4029. mouse.KeyDown:connect(function(key)
  4030. if attack == false then
  4031. if key == 'e' then
  4032. Ancient_Rage()
  4033. elseif key == 'r' then
  4034. Distort()
  4035. elseif key == 't' then
  4036. Taunt10000()
  4037. elseif key == 'f' then
  4038. Technobeam()
  4039. elseif key == 'g' then
  4040. OP9999()
  4041. elseif key == 'h' then
  4042.  
  4043. end
  4044. end
  4045. end)
  4046. local Combo = 1
  4047. mouse.Button1Down:connect(function(key)
  4048. if attack == false then
  4049. if Combo == 1 then
  4050. Combo = 2
  4051. attackone()
  4052. elseif Combo == 2 then
  4053. Combo = 3
  4054. attacktwo()
  4055. elseif Combo == 3 then
  4056. Combo = 1
  4057. attackthree()
  4058. end
  4059. end
  4060. end)
  4061. -------------------------------------------------------
  4062. --Start Animations--
  4063. -------------------------------------------------------
  4064. while true do
  4065. swait()
  4066. sine = sine + change
  4067. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  4068. local velderp = root.Velocity.y
  4069. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  4070. if equipped == true or equipped == false then
  4071. if attack == false then
  4072. idle = idle + 1
  4073. else
  4074. idle = 0
  4075. end
  4076. --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")
  4077. if 1 < root.Velocity.y and hitfloor == nil then
  4078. Anim = "Jump"
  4079. if attack == false then
  4080. 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)
  4081. 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)
  4082. 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)
  4083. 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)
  4084. 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)
  4085. 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)
  4086. end
  4087. elseif -1 > root.Velocity.y and hitfloor == nil then
  4088. Anim = "Fall"
  4089. if attack == false then
  4090. 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)
  4091. 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)
  4092. 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)
  4093. 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)
  4094. 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)
  4095. 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)
  4096. end
  4097. elseif torvel < 1 and hitfloor ~= nil then
  4098. Anim = "Idle"
  4099. change = 1
  4100. if attack == false then
  4101. 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)
  4102. 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)
  4103. 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)
  4104. 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)
  4105. 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)
  4106. 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)
  4107. end
  4108. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  4109. Anim = "Walk"
  4110. change = 1
  4111. if attack == false then
  4112. 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)
  4113. 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)
  4114. 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)
  4115. 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)
  4116. 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)
  4117. 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)
  4118. end
  4119. elseif torvel >= 25 and hitfloor ~= nil then
  4120. Anim = "Sprint"
  4121. change = 1.35
  4122. if attack == false then
  4123. 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)
  4124. 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)
  4125. 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)
  4126. 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)
  4127. 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)
  4128. 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)
  4129. end
  4130. end
  4131. end
  4132. Music.SoundId = "rbxassetid://"..SONG
  4133. Music.Looped = true
  4134. Music.Pitch = 1
  4135. Music.Volume = 1
  4136. Music.Parent = tors
  4137. Music:Resume()
  4138. if 0 < #Effects then
  4139. for e = 1, #Effects do
  4140. if Effects[e] ~= nil then
  4141. local Thing = Effects[e]
  4142. if Thing ~= nil then
  4143. local Part = Thing[1]
  4144. local Mode = Thing[2]
  4145. local Delay = Thing[3]
  4146. local IncX = Thing[4]
  4147. local IncY = Thing[5]
  4148. local IncZ = Thing[6]
  4149. if 1 >= Thing[1].Transparency then
  4150. if Thing[2] == "Block1" then
  4151. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4152. local Mesh = Thing[1].Mesh
  4153. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4154. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4155. elseif Thing[2] == "Block2" then
  4156. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  4157. local Mesh = Thing[7]
  4158. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4159. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4160. elseif Thing[2] == "Block3" then
  4161. 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)
  4162. local Mesh = Thing[7]
  4163. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4164. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4165. elseif Thing[2] == "Cylinder" then
  4166. local Mesh = Thing[1].Mesh
  4167. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4168. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4169. elseif Thing[2] == "Blood" then
  4170. local Mesh = Thing[7]
  4171. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  4172. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4173. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4174. elseif Thing[2] == "Elec" then
  4175. local Mesh = Thing[1].Mesh
  4176. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  4177. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4178. elseif Thing[2] == "Disappear" then
  4179. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4180. elseif Thing[2] == "Shatter" then
  4181. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4182. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4183. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4184. Thing[6] = Thing[6] + Thing[5]
  4185. end
  4186. else
  4187. Part.Parent = nil
  4188. table.remove(Effects, e)
  4189. end
  4190. end
  4191. end
  4192. end
  4193. end
  4194. end
  4195. -------------------------------------------------------
  4196. --End Animations And Script--
  4197. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement