Advertisement
5sdfsadgaq5465

dragon killer edit fe

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