aomFetty

The Killer Dragon V2.5

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