Advertisement
PasterXIV

Untitled

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