Advertisement
HoneyBadger69

Untitled

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