Advertisement
Guest User

Untitled

a guest
May 19th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 162.37 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| Templates BY Aom[WCR]
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147. Player = game:GetService("Players").LocalPlayer
  148. PlayerGui = Player.PlayerGui
  149. Cam = workspace.CurrentCamera
  150. Backpack = Player.Backpack
  151. Character = Player.Character
  152. Humanoid = Character.Humanoid
  153. Mouse = Player:GetMouse()
  154. RootPart = Character["HumanoidRootPart"]
  155. Torso = Character["Torso"]
  156. Head = Character["Head"]
  157. RightArm = Character["Right Arm"]
  158. LeftArm = Character["Left Arm"]
  159. RightLeg = Character["Right Leg"]
  160. LeftLeg = Character["Left Leg"]
  161. RootJoint = RootPart["RootJoint"]
  162. Neck = Torso["Neck"]
  163. RightShoulder = Torso["Right Shoulder"]
  164. LeftShoulder = Torso["Left Shoulder"]
  165. RightHip = Torso["Right Hip"]
  166. LeftHip = Torso["Left Hip"]
  167. local TIME = 0
  168. local sick = Instance.new("Sound",Torso)
  169.  
  170. IT = Instance.new
  171. CF = CFrame.new
  172. VT = Vector3.new
  173. RAD = math.rad
  174. C3 = Color3.new
  175. UD2 = UDim2.new
  176. BRICKC = BrickColor.new
  177. ANGLES = CFrame.Angles
  178. EULER = CFrame.fromEulerAnglesXYZ
  179. COS = math.cos
  180. ACOS = math.acos
  181. SIN = math.sin
  182. ASIN = math.asin
  183. ABS = math.abs
  184. MRANDOM = math.random
  185. FLOOR = math.floor
  186.  
  187. --//=================================\\
  188. --|| USEFUL VALUES
  189. --\\=================================//
  190.  
  191. Animation_Speed = 3
  192. local FORCERESET = false
  193. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  194. local Speed = 16
  195. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  196. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  197. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  198. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  199. local DAMAGEMULTIPLIER = 1
  200. local ANIM = "Idle"
  201. local ATTACK = false
  202. local EQUIPPED = false
  203. local HOLD = false
  204. local COMBO = 1
  205. local Rooted = false
  206. local SINE = 0
  207. local KEYHOLD = false
  208. local CHANGE = 2 / Animation_Speed
  209. local WALKINGANIM = false
  210. local VALUE1 = false
  211. local VALUE2 = false
  212. local ROBLOXIDLEANIMATION = IT("Animation")
  213. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  214. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  215. --ROBLOXIDLEANIMATION.Parent = Humanoid
  216. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  217. WEAPONGUI.Name = "BanishV3Gui"
  218. local Weapon = IT("Model")
  219. Weapon.Name = "Adds"
  220. local Effects = IT("Folder", Weapon)
  221. Effects.Name = "Effects"
  222. local ANIMATOR = Humanoid.Animator
  223. local ANIMATE = Character:FindFirstChild("Animate")
  224. local UNANCHOR = true
  225. local TOBANISH = {}
  226. script.Parent = PlayerGui
  227.  
  228. --//=================================\\
  229. --\\=================================//
  230.  
  231.  
  232. --//=================================\\
  233. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  234. --\\=================================//
  235.  
  236. ArtificialHB = Instance.new("BindableEvent", script)
  237. ArtificialHB.Name = "ArtificialHB"
  238.  
  239. script:WaitForChild("ArtificialHB")
  240.  
  241. frame = Frame_Speed
  242. tf = 0
  243. allowframeloss = false
  244. tossremainder = false
  245. lastframe = tick()
  246. script.ArtificialHB:Fire()
  247.  
  248. game:GetService("RunService").Heartbeat:connect(function(s, p)
  249. tf = tf + s
  250. if tf >= frame then
  251. if allowframeloss then
  252. script.ArtificialHB:Fire()
  253. lastframe = tick()
  254. else
  255. for i = 1, math.floor(tf / frame) do
  256. script.ArtificialHB:Fire()
  257. end
  258. lastframe = tick()
  259. end
  260. if tossremainder then
  261. tf = 0
  262. else
  263. tf = tf - frame * math.floor(tf / frame)
  264. end
  265. end
  266. end)
  267.  
  268. --//=================================\\
  269. --\\=================================//
  270.  
  271. local plr = game:service'Players'.LocalPlayer
  272. print('Local User is '..plr.Name)
  273. print('The Killer Dragon Loaded')
  274. print('Q Speed')
  275. print('E')
  276. print('R')
  277. print('T')
  278. print('F')
  279. print('G')
  280. local char = plr.Character
  281. local hum = char.Humanoid
  282. local hed = char.Head
  283. local root = char.HumanoidRootPart
  284. local rootj = root.RootJoint
  285. local tors = char.Torso
  286. local ra = char["Right Arm"]
  287. local la = char["Left Arm"]
  288. local rl = char["Right Leg"]
  289. local ll = char["Left Leg"]
  290. local neck = tors["Neck"]
  291. local mouse = plr:GetMouse()
  292. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  293. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  294. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  295. local maincolor = BrickColor.new("Institutional white")
  296.  
  297. local sky = Instance.new('Sky', game:GetService'Lighting')
  298. sky.SkyboxBk = "rbxassetid://159454299"
  299. sky.SkyboxDn = "rbxassetid://159454296"
  300. sky.SkyboxFt = "rbxassetid://159454293"
  301. sky.SkyboxLf = "rbxassetid://159454286"
  302. sky.SkyboxRt = "rbxassetid://159454300"
  303. sky.SkyboxUp = "rbxassetid://166574066"
  304. game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
  305. game.Lighting.FogColor = Color3.new(255,0,0)
  306. game.Lighting.FogEnd = 500000
  307. -------------------------------------------------------
  308. --Start Good Stuff--
  309. -------------------------------------------------------
  310. cam = game.Workspace.CurrentCamera
  311. CF = CFrame.new
  312. angles = CFrame.Angles
  313. attack = false
  314. Euler = CFrame.fromEulerAnglesXYZ
  315. Rad = math.rad
  316. IT = Instance.new
  317. BrickC = BrickColor.new
  318. Cos = math.cos
  319. Acos = math.acos
  320. Sin = math.sin
  321. Asin = math.asin
  322. Abs = math.abs
  323. Mrandom = math.random
  324. Floor = math.floor
  325. -------------------------------------------------------
  326. --End Good Stuff--
  327. -------------------------------------------------------
  328. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  329. RSH, LSH = nil, nil
  330. RW = Instance.new("Weld")
  331. LW = Instance.new("Weld")
  332. RH = tors["Right Hip"]
  333. LH = tors["Left Hip"]
  334. RSH = tors["Right Shoulder"]
  335. LSH = tors["Left Shoulder"]
  336. RSH.Parent = nil
  337. LSH.Parent = nil
  338. RW.Name = "RW"
  339. RW.Part0 = tors
  340. RW.C0 = CF(1.5, 0.5, 0)
  341. RW.C1 = CF(0, 0.5, 0)
  342. RW.Part1 = ra
  343. RW.Parent = tors
  344. LW.Name = "LW"
  345. LW.Part0 = tors
  346. LW.C0 = CF(-1.5, 0.5, 0)
  347. LW.C1 = CF(0, 0.5, 0)
  348. LW.Part1 = la
  349. LW.Parent = tors
  350. Effects = {}
  351. -------------------------------------------------------
  352. --Start HeartBeat--
  353. -------------------------------------------------------
  354. ArtificialHB = Instance.new("BindableEvent", script)
  355. ArtificialHB.Name = "Heartbeat"
  356. script:WaitForChild("Heartbeat")
  357.  
  358. frame = 1 / 60
  359. tf = 0
  360. allowframeloss = false
  361. tossremainder = false
  362.  
  363.  
  364. lastframe = tick()
  365. script.Heartbeat:Fire()
  366.  
  367.  
  368. game:GetService("RunService").Heartbeat:connect(function(s, p)
  369. tf = tf + s
  370. if tf >= frame then
  371. if allowframeloss then
  372. script.Heartbeat:Fire()
  373. lastframe = tick()
  374. else
  375. for i = 1, math.floor(tf / frame) do
  376. script.Heartbeat:Fire()
  377. end
  378. lastframe = tick()
  379. end
  380. if tossremainder then
  381. tf = 0
  382. else
  383. tf = tf - frame * math.floor(tf / frame)
  384. end
  385. end
  386. end)
  387. -------------------------------------------------------
  388. --End HeartBeat--
  389. -------------------------------------------------------
  390.  
  391. -------------------------------------------------------
  392. --Start Important Functions--
  393. -------------------------------------------------------
  394. function swait(num)
  395. if num == 0 or num == nil then
  396. game:service("RunService").Stepped:wait(0)
  397. else
  398. for i = 0, num do
  399. game:service("RunService").Stepped:wait(0)
  400. end
  401. end
  402. end
  403. function thread(f)
  404. coroutine.resume(coroutine.create(f))
  405. end
  406. function clerp(a, b, t)
  407. local qa = {
  408. QuaternionFromCFrame(a)
  409. }
  410. local qb = {
  411. QuaternionFromCFrame(b)
  412. }
  413. local ax, ay, az = a.x, a.y, a.z
  414. local bx, by, bz = b.x, b.y, b.z
  415. local _t = 1 - t
  416. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  417. end
  418. function QuaternionFromCFrame(cf)
  419. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  420. local trace = m00 + m11 + m22
  421. if trace > 0 then
  422. local s = math.sqrt(1 + trace)
  423. local recip = 0.5 / s
  424. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  425. else
  426. local i = 0
  427. if m00 < m11 then
  428. i = 1
  429. end
  430. if m22 > (i == 0 and m00 or m11) then
  431. i = 2
  432. end
  433. if i == 0 then
  434. local s = math.sqrt(m00 - m11 - m22 + 1)
  435. local recip = 0.5 / s
  436. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  437. elseif i == 1 then
  438. local s = math.sqrt(m11 - m22 - m00 + 1)
  439. local recip = 0.5 / s
  440. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  441. elseif i == 2 then
  442. local s = math.sqrt(m22 - m00 - m11 + 1)
  443. local recip = 0.5 / s
  444. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  445. end
  446. end
  447. end
  448. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  449. local xs, ys, zs = x + x, y + y, z + z
  450. local wx, wy, wz = w * xs, w * ys, w * zs
  451. local xx = x * xs
  452. local xy = x * ys
  453. local xz = x * zs
  454. local yy = y * ys
  455. local yz = y * zs
  456. local zz = z * zs
  457. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  458. end
  459. function QuaternionSlerp(a, b, t)
  460. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  461. local startInterp, finishInterp
  462. if cosTheta >= 1.0E-4 then
  463. if 1 - cosTheta > 1.0E-4 then
  464. local theta = math.acos(cosTheta)
  465. local invSinTheta = 1 / Sin(theta)
  466. startInterp = Sin((1 - t) * theta) * invSinTheta
  467. finishInterp = Sin(t * theta) * invSinTheta
  468. else
  469. startInterp = 1 - t
  470. finishInterp = t
  471. end
  472. elseif 1 + cosTheta > 1.0E-4 then
  473. local theta = math.acos(-cosTheta)
  474. local invSinTheta = 1 / Sin(theta)
  475. startInterp = Sin((t - 1) * theta) * invSinTheta
  476. finishInterp = Sin(t * theta) * invSinTheta
  477. else
  478. startInterp = t - 1
  479. finishInterp = t
  480. end
  481. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  482. end
  483. function rayCast(Position, Direction, Range, Ignore)
  484. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  485. end
  486. local RbxUtility = LoadLibrary("RbxUtility")
  487. local Create = RbxUtility.Create
  488.  
  489. -------------------------------------------------------
  490. --Start Damage Function--
  491. -------------------------------------------------------
  492. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  493. if hit.Parent == nil then
  494. return
  495. end
  496. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  497. for _, v in pairs(hit.Parent:children()) do
  498. if v:IsA("Humanoid") then
  499. h = v
  500. end
  501. end
  502. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  503.  
  504. hit.Parent:FindFirstChild("Head"):BreakJoints()
  505. end
  506.  
  507. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  508. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  509. if hit.Parent.DebounceHit.Value == true then
  510. return
  511. end
  512. end
  513. if insta == true then
  514. hit.Parent:FindFirstChild("Head"):BreakJoints()
  515. end
  516. local c = Create("ObjectValue"){
  517. Name = "creator",
  518. Value = game:service("Players").LocalPlayer,
  519. Parent = h,
  520. }
  521. game:GetService("Debris"):AddItem(c, .5)
  522. if HitSound ~= nil and HitPitch ~= nil then
  523. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  524. end
  525. local Damage = math.random(minim, maxim)
  526. local blocked = false
  527. local block = hit.Parent:findFirstChild("Block")
  528. if block ~= nil then
  529. if block.className == "IntValue" then
  530. if block.Value > 0 then
  531. blocked = true
  532. block.Value = block.Value - 1
  533. print(block.Value)
  534. end
  535. end
  536. end
  537. if blocked == false then
  538. h.Health = h.Health - Damage
  539. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  540. else
  541. h.Health = h.Health - (Damage / 2)
  542. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  543. end
  544. if Type == "Knockdown" then
  545. local hum = hit.Parent.Humanoid
  546. hum.PlatformStand = true
  547. coroutine.resume(coroutine.create(function(HHumanoid)
  548. swait(1)
  549. HHumanoid.PlatformStand = false
  550. end), hum)
  551. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  552. local bodvol = Create("BodyVelocity"){
  553. velocity = angle * knockback,
  554. P = 5000,
  555. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  556. Parent = hit,
  557. }
  558. local rl = Create("BodyAngularVelocity"){
  559. P = 3000,
  560. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  561. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  562. Parent = hit,
  563. }
  564. game:GetService("Debris"):AddItem(bodvol, .5)
  565. game:GetService("Debris"):AddItem(rl, .5)
  566. elseif Type == "Normal" then
  567. local vp = Create("BodyVelocity"){
  568. P = 500,
  569. maxForce = Vector3.new(math.huge, 0, math.huge),
  570. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  571. }
  572. if knockback > 0 then
  573. vp.Parent = hit.Parent.Torso
  574. end
  575. game:GetService("Debris"):AddItem(vp, .5)
  576. elseif Type == "Up" then
  577. local bodyVelocity = Create("BodyVelocity"){
  578. velocity = Vector3.new(0, 20, 0),
  579. P = 5000,
  580. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  581. Parent = hit,
  582. }
  583. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  584. elseif Type == "DarkUp" then
  585. coroutine.resume(coroutine.create(function()
  586. for i = 0, 1, 0.1 do
  587. swait()
  588. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  589. end
  590. end))
  591. local bodyVelocity = Create("BodyVelocity"){
  592. velocity = Vector3.new(0, 20, 0),
  593. P = 5000,
  594. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  595. Parent = hit,
  596. }
  597. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  598. elseif Type == "Snare" then
  599. local bp = Create("BodyPosition"){
  600. P = 2000,
  601. D = 100,
  602. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  603. position = hit.Parent.Torso.Position,
  604. Parent = hit.Parent.Torso,
  605. }
  606. game:GetService("Debris"):AddItem(bp, 1)
  607. elseif Type == "Freeze" then
  608. local BodPos = Create("BodyPosition"){
  609. P = 50000,
  610. D = 1000,
  611. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  612. position = hit.Parent.Torso.Position,
  613. Parent = hit.Parent.Torso,
  614. }
  615. local BodGy = Create("BodyGyro") {
  616. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  617. P = 20e+003,
  618. Parent = hit.Parent.Torso,
  619. cframe = hit.Parent.Torso.CFrame,
  620. }
  621. hit.Parent.Torso.Anchored = true
  622. coroutine.resume(coroutine.create(function(Part)
  623. swait(1.5)
  624. Part.Anchored = false
  625. end), hit.Parent.Torso)
  626. game:GetService("Debris"):AddItem(BodPos, 3)
  627. game:GetService("Debris"):AddItem(BodGy, 3)
  628. end
  629. local debounce = Create("BoolValue"){
  630. Name = "DebounceHit",
  631. Parent = hit.Parent,
  632. Value = true,
  633. }
  634. game:GetService("Debris"):AddItem(debounce, Delay)
  635. c = Create("ObjectValue"){
  636. Name = "creator",
  637. Value = Player,
  638. Parent = h,
  639. }
  640. game:GetService("Debris"):AddItem(c, .5)
  641. end
  642. end
  643. -------------------------------------------------------
  644. --End Damage Function--
  645. -------------------------------------------------------
  646.  
  647. -------------------------------------------------------
  648. --Start Damage Function Customization--
  649. -------------------------------------------------------
  650. function ShowDamage(Pos, Text, Time, Color)
  651. local Rate = (1 / 30)
  652. local Pos = (Pos or Vector3.new(0, 0, 0))
  653. local Text = (Text or "")
  654. local Time = (Time or 2)
  655. local Color = (Color or Color3.new(1, 0, 1))
  656. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  657. EffectPart.Anchored = true
  658. local BillboardGui = Create("BillboardGui"){
  659. Size = UDim2.new(3, 0, 3, 0),
  660. Adornee = EffectPart,
  661. Parent = EffectPart,
  662. }
  663. local TextLabel = Create("TextLabel"){
  664. BackgroundTransparency = 1,
  665. Size = UDim2.new(1, 0, 1, 0),
  666. Text = Text,
  667. Font = "Bodoni",
  668. TextColor3 = Color,
  669. TextScaled = true,
  670. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  671. Parent = BillboardGui,
  672. }
  673. game.Debris:AddItem(EffectPart, (Time))
  674. EffectPart.Parent = game:GetService("Workspace")
  675. delay(0, function()
  676. local Frames = (Time / Rate)
  677. for Frame = 1, Frames do
  678. wait(Rate)
  679. local Percent = (Frame / Frames)
  680. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  681. TextLabel.TextTransparency = Percent
  682. end
  683. if EffectPart and EffectPart.Parent then
  684. EffectPart:Destroy()
  685. end
  686. end)
  687. end
  688. -------------------------------------------------------
  689. --End Damage Function Customization--
  690. -------------------------------------------------------
  691.  
  692. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  693. for _, c in pairs(workspace:children()) do
  694. local hum = c:findFirstChild("Humanoid")
  695. if hum ~= nil then
  696. local head = c:findFirstChild("Head")
  697. if head ~= nil then
  698. local targ = head.Position - Part.Position
  699. local mag = targ.magnitude
  700. if magni >= mag and c.Name ~= plr.Name then
  701. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  702. end
  703. end
  704. end
  705. end
  706. end
  707.  
  708.  
  709. CFuncs = {
  710. Part = {
  711. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  712. local Part = Create("Part")({
  713. Parent = Parent,
  714. Reflectance = Reflectance,
  715. Transparency = Transparency,
  716. CanCollide = false,
  717. Locked = true,
  718. BrickColor = BrickColor.new(tostring(BColor)),
  719. Name = Name,
  720. Size = Size,
  721. Material = Material
  722. })
  723. RemoveOutlines(Part)
  724. return Part
  725. end
  726. },
  727. Mesh = {
  728. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  729. local Msh = Create(Mesh)({
  730. Parent = Part,
  731. Offset = OffSet,
  732. Scale = Scale
  733. })
  734. if Mesh == "SpecialMesh" then
  735. Msh.MeshType = MeshType
  736. Msh.MeshId = MeshId
  737. end
  738. return Msh
  739. end
  740. },
  741. Mesh = {
  742. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  743. local Msh = Create(Mesh)({
  744. Parent = Part,
  745. Offset = OffSet,
  746. Scale = Scale
  747. })
  748. if Mesh == "SpecialMesh" then
  749. Msh.MeshType = MeshType
  750. Msh.MeshId = MeshId
  751. end
  752. return Msh
  753. end
  754. },
  755. Weld = {
  756. Create = function(Parent, Part0, Part1, C0, C1)
  757. local Weld = Create("Weld")({
  758. Parent = Parent,
  759. Part0 = Part0,
  760. Part1 = Part1,
  761. C0 = C0,
  762. C1 = C1
  763. })
  764. return Weld
  765. end
  766. },
  767. Sound = {
  768. Create = function(id, par, vol, pit)
  769. coroutine.resume(coroutine.create(function()
  770. local S = Create("Sound")({
  771. Volume = vol,
  772. Pitch = pit or 1,
  773. SoundId = id,
  774. Parent = par or workspace
  775. })
  776. wait()
  777. S:play()
  778. game:GetService("Debris"):AddItem(S, 6)
  779. end))
  780. end
  781. },
  782. ParticleEmitter = {
  783. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  784. local fp = Create("ParticleEmitter")({
  785. Parent = Parent,
  786. Color = ColorSequence.new(Color1, Color2),
  787. LightEmission = LightEmission,
  788. Size = Size,
  789. Texture = Texture,
  790. Transparency = Transparency,
  791. ZOffset = ZOffset,
  792. Acceleration = Accel,
  793. Drag = Drag,
  794. LockedToPart = LockedToPart,
  795. VelocityInheritance = VelocityInheritance,
  796. EmissionDirection = EmissionDirection,
  797. Enabled = Enabled,
  798. Lifetime = LifeTime,
  799. Rate = Rate,
  800. Rotation = Rotation,
  801. RotSpeed = RotSpeed,
  802. Speed = Speed,
  803. VelocitySpread = VelocitySpread
  804. })
  805. return fp
  806. end
  807. }
  808. }
  809. function RemoveOutlines(part)
  810. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  811. end
  812. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  813. local Part = Create("Part")({
  814. formFactor = FormFactor,
  815. Parent = Parent,
  816. Reflectance = Reflectance,
  817. Transparency = Transparency,
  818. CanCollide = false,
  819. Locked = true,
  820. BrickColor = BrickColor.new(tostring(BColor)),
  821. Name = Name,
  822. Size = Size,
  823. Material = Material
  824. })
  825. RemoveOutlines(Part)
  826. return Part
  827. end
  828. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  829. local Msh = Create(Mesh)({
  830. Parent = Part,
  831. Offset = OffSet,
  832. Scale = Scale
  833. })
  834. if Mesh == "SpecialMesh" then
  835. Msh.MeshType = MeshType
  836. Msh.MeshId = MeshId
  837. end
  838. return Msh
  839. end
  840. function CreateWeld(Parent, Part0, Part1, C0, C1)
  841. local Weld = Create("Weld")({
  842. Parent = Parent,
  843. Part0 = Part0,
  844. Part1 = Part1,
  845. C0 = C0,
  846. C1 = C1
  847. })
  848. return Weld
  849. end
  850.  
  851.  
  852. -------------------------------------------------------
  853. --Start Effect Function--
  854. -------------------------------------------------------
  855. EffectModel = Instance.new("Model", char)
  856. Effects = {
  857. Block = {
  858. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  859. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  860. prt.Anchored = true
  861. prt.CFrame = cframe
  862. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  863. game:GetService("Debris"):AddItem(prt, 10)
  864. if Type == 1 or Type == nil then
  865. table.insert(Effects, {
  866. prt,
  867. "Block1",
  868. delay,
  869. x3,
  870. y3,
  871. z3,
  872. msh
  873. })
  874. elseif Type == 2 then
  875. table.insert(Effects, {
  876. prt,
  877. "Block2",
  878. delay,
  879. x3,
  880. y3,
  881. z3,
  882. msh
  883. })
  884. else
  885. table.insert(Effects, {
  886. prt,
  887. "Block3",
  888. delay,
  889. x3,
  890. y3,
  891. z3,
  892. msh
  893. })
  894. end
  895. end
  896. },
  897. Sphere = {
  898. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  899. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  900. prt.Anchored = true
  901. prt.CFrame = cframe
  902. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  903. game:GetService("Debris"):AddItem(prt, 10)
  904. table.insert(Effects, {
  905. prt,
  906. "Cylinder",
  907. delay,
  908. x3,
  909. y3,
  910. z3,
  911. msh
  912. })
  913. end
  914. },
  915. Cylinder = {
  916. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  917. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  918. prt.Anchored = true
  919. prt.CFrame = cframe
  920. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  921. game:GetService("Debris"):AddItem(prt, 10)
  922. table.insert(Effects, {
  923. prt,
  924. "Cylinder",
  925. delay,
  926. x3,
  927. y3,
  928. z3,
  929. msh
  930. })
  931. end
  932. },
  933. Wave = {
  934. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  935. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  936. prt.Anchored = true
  937. prt.CFrame = cframe
  938. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  939. game:GetService("Debris"):AddItem(prt, 10)
  940. table.insert(Effects, {
  941. prt,
  942. "Cylinder",
  943. delay,
  944. x3 / 60,
  945. y3 / 60,
  946. z3 / 60,
  947. msh
  948. })
  949. end
  950. },
  951. Ring = {
  952. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  953. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  954. prt.Anchored = true
  955. prt.CFrame = cframe
  956. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  957. game:GetService("Debris"):AddItem(prt, 10)
  958. table.insert(Effects, {
  959. prt,
  960. "Cylinder",
  961. delay,
  962. x3,
  963. y3,
  964. z3,
  965. msh
  966. })
  967. end
  968. },
  969. Break = {
  970. Create = function(brickcolor, cframe, x1, y1, z1)
  971. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  972. prt.Anchored = true
  973. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  974. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  975. local num = math.random(10, 50) / 1000
  976. game:GetService("Debris"):AddItem(prt, 10)
  977. table.insert(Effects, {
  978. prt,
  979. "Shatter",
  980. num,
  981. prt.CFrame,
  982. math.random() - math.random(),
  983. 0,
  984. math.random(50, 100) / 100
  985. })
  986. end
  987. },
  988. Spiral = {
  989. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  990. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  991. prt.Anchored = true
  992. prt.CFrame = cframe
  993. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  994. game:GetService("Debris"):AddItem(prt, 10)
  995. table.insert(Effects, {
  996. prt,
  997. "Cylinder",
  998. delay,
  999. x3,
  1000. y3,
  1001. z3,
  1002. msh
  1003. })
  1004. end
  1005. },
  1006. Push = {
  1007. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1008. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1009. prt.Anchored = true
  1010. prt.CFrame = cframe
  1011. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1012. game:GetService("Debris"):AddItem(prt, 10)
  1013. table.insert(Effects, {
  1014. prt,
  1015. "Cylinder",
  1016. delay,
  1017. x3,
  1018. y3,
  1019. z3,
  1020. msh
  1021. })
  1022. end
  1023. }
  1024. }
  1025. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1026. local fp = IT("Part")
  1027. fp.formFactor = formfactor
  1028. fp.Parent = parent
  1029. fp.Reflectance = reflectance
  1030. fp.Transparency = transparency
  1031. fp.CanCollide = false
  1032. fp.Locked = true
  1033. fp.BrickColor = brickcolor
  1034. fp.Name = name
  1035. fp.Size = size
  1036. fp.Position = tors.Position
  1037. RemoveOutlines(fp)
  1038. fp.Material = "SmoothPlastic"
  1039. fp:BreakJoints()
  1040. return fp
  1041. end
  1042.  
  1043. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1044. local mesh = IT(Mesh)
  1045. mesh.Parent = part
  1046. if Mesh == "SpecialMesh" then
  1047. mesh.MeshType = meshtype
  1048. if meshid ~= "nil" then
  1049. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1050. end
  1051. end
  1052. mesh.Offset = offset
  1053. mesh.Scale = scale
  1054. return mesh
  1055. end
  1056.  
  1057. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1058. local type = type
  1059. local rng = Instance.new("Part", char)
  1060. rng.Anchored = true
  1061. rng.BrickColor = color
  1062. rng.CanCollide = false
  1063. rng.FormFactor = 3
  1064. rng.Name = "Ring"
  1065. rng.Material = "Neon"
  1066. rng.Size = Vector3.new(1, 1, 1)
  1067. rng.Transparency = 0
  1068. rng.TopSurface = 0
  1069. rng.BottomSurface = 0
  1070. rng.CFrame = pos
  1071. local rngm = Instance.new("SpecialMesh", rng)
  1072. rngm.MeshType = MType
  1073. rngm.Scale = scale
  1074. local scaler2 = 1
  1075. if type == "Add" then
  1076. scaler2 = 1 * value
  1077. elseif type == "Divide" then
  1078. scaler2 = 1 / value
  1079. end
  1080. coroutine.resume(coroutine.create(function()
  1081. for i = 0, 10 / bonuspeed, 0.1 do
  1082. swait()
  1083. if type == "Add" then
  1084. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1085. elseif type == "Divide" then
  1086. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1087. end
  1088. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1089. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1090. end
  1091. rng:Destroy()
  1092. end))
  1093. end
  1094.  
  1095. function Eviscerate(dude)
  1096. if dude.Name ~= char then
  1097. local bgf = IT("BodyGyro", dude.Head)
  1098. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1099. local val = IT("BoolValue", dude)
  1100. val.Name = "IsHit"
  1101. local ds = coroutine.wrap(function()
  1102. dude:WaitForChild("Head"):BreakJoints()
  1103. wait(0.5)
  1104. target = nil
  1105. coroutine.resume(coroutine.create(function()
  1106. for i, v in pairs(dude:GetChildren()) do
  1107. if v:IsA("Accessory") then
  1108. v:Destroy()
  1109. end
  1110. if v:IsA("Humanoid") then
  1111. v:Destroy()
  1112. end
  1113. if v:IsA("CharacterMesh") then
  1114. v:Destroy()
  1115. end
  1116. if v:IsA("Model") then
  1117. v:Destroy()
  1118. end
  1119. if v:IsA("Part") or v:IsA("MeshPart") then
  1120. for x, o in pairs(v:GetChildren()) do
  1121. if o:IsA("Decal") then
  1122. o:Destroy()
  1123. end
  1124. end
  1125. coroutine.resume(coroutine.create(function()
  1126. v.Material = "Neon"
  1127. v.CanCollide = false
  1128. local PartEmmit1 = IT("ParticleEmitter", v)
  1129. PartEmmit1.LightEmission = 1
  1130. PartEmmit1.Texture = "rbxassetid://284205403"
  1131. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1132. PartEmmit1.Rate = 150
  1133. PartEmmit1.Lifetime = NumberRange.new(1)
  1134. PartEmmit1.Size = NumberSequence.new({
  1135. NumberSequenceKeypoint.new(0, 0.75, 0),
  1136. NumberSequenceKeypoint.new(1, 0, 0)
  1137. })
  1138. PartEmmit1.Transparency = NumberSequence.new({
  1139. NumberSequenceKeypoint.new(0, 0, 0),
  1140. NumberSequenceKeypoint.new(1, 1, 0)
  1141. })
  1142. PartEmmit1.Speed = NumberRange.new(0, 0)
  1143. PartEmmit1.VelocitySpread = 30000
  1144. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1145. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1146. local BodPoss = IT("BodyPosition", v)
  1147. BodPoss.P = 3000
  1148. BodPoss.D = 1000
  1149. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1150. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1151. v.Color = maincolor.Color
  1152. coroutine.resume(coroutine.create(function()
  1153. for i = 0, 49 do
  1154. swait(1)
  1155. v.Transparency = v.Transparency + 0.08
  1156. end
  1157. wait(0.5)
  1158. PartEmmit1.Enabled = false
  1159. wait(3)
  1160. v:Destroy()
  1161. dude:Destroy()
  1162. end))
  1163. end))
  1164. end
  1165. end
  1166. end))
  1167. end)
  1168. ds()
  1169. end
  1170. end
  1171.  
  1172. function FindNearestHead(Position, Distance, SinglePlayer)
  1173. if SinglePlayer then
  1174. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1175. end
  1176. local List = {}
  1177. for i, v in pairs(workspace:GetChildren()) do
  1178. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1179. table.insert(List, v)
  1180. end
  1181. end
  1182. return List
  1183. end
  1184.  
  1185. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1186. local type = type
  1187. local rng = Instance.new("Part", char)
  1188. rng.Anchored = true
  1189. rng.BrickColor = color
  1190. rng.CanCollide = false
  1191. rng.FormFactor = 3
  1192. rng.Name = "Ring"
  1193. rng.Material = "Neon"
  1194. rng.Size = Vector3.new(1, 1, 1)
  1195. rng.Transparency = 0
  1196. rng.TopSurface = 0
  1197. rng.BottomSurface = 0
  1198. rng.CFrame = pos
  1199. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1200. local rngm = Instance.new("SpecialMesh", rng)
  1201. rngm.MeshType = MType
  1202. rngm.Scale = Vector3.new(x1, y1, z1)
  1203. local scaler2 = 1
  1204. local speeder = FastSpeed
  1205. if type == "Add" then
  1206. scaler2 = 1 * value
  1207. elseif type == "Divide" then
  1208. scaler2 = 1 / value
  1209. end
  1210. coroutine.resume(coroutine.create(function()
  1211. for i = 0, 10 / bonuspeed, 0.1 do
  1212. swait()
  1213. if type == "Add" then
  1214. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1215. elseif type == "Divide" then
  1216. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1217. end
  1218. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1219. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1220. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1221. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1222. end
  1223. rng:Destroy()
  1224. end))
  1225. end
  1226.  
  1227. function SoulSteal(dude)
  1228. if dude.Name ~= char then
  1229. local bgf = IT("BodyGyro", dude.Head)
  1230. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1231. local val = IT("BoolValue", dude)
  1232. val.Name = "IsHit"
  1233. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1234. local soulst = coroutine.wrap(function()
  1235. local soul = Instance.new("Part",dude)
  1236. soul.Size = Vector3.new(1,1,1)
  1237. soul.CanCollide = false
  1238. soul.Anchored = false
  1239. soul.Position = torso.Position
  1240. soul.Transparency = 1
  1241. local PartEmmit1 = IT("ParticleEmitter", soul)
  1242. PartEmmit1.LightEmission = 1
  1243. PartEmmit1.Texture = "rbxassetid://569507414"
  1244. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1245. PartEmmit1.Rate = 250
  1246. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1247. PartEmmit1.Size = NumberSequence.new({
  1248. NumberSequenceKeypoint.new(0, 1, 0),
  1249. NumberSequenceKeypoint.new(1, 0, 0)
  1250. })
  1251. PartEmmit1.Transparency = NumberSequence.new({
  1252. NumberSequenceKeypoint.new(0, 0, 0),
  1253. NumberSequenceKeypoint.new(1, 1, 0)
  1254. })
  1255. PartEmmit1.Speed = NumberRange.new(0, 0)
  1256. PartEmmit1.VelocitySpread = 30000
  1257. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1258. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1259. local BodPoss = IT("BodyPosition", soul)
  1260. BodPoss.P = 3000
  1261. BodPoss.D = 1000
  1262. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1263. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1264. wait(1.6)
  1265. soul.Touched:connect(function(hit)
  1266. if hit.Parent == char then
  1267. soul:Destroy()
  1268. end
  1269. end)
  1270. wait(1.2)
  1271. while soul do
  1272. swait()
  1273. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1274. BodPoss.Position = tors.Position
  1275. end
  1276. end)
  1277. soulst()
  1278. end
  1279. end
  1280. function FaceMouse()
  1281. local Cam = workspace.CurrentCamera
  1282. return {
  1283. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1284. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1285. }
  1286. end
  1287. -------------------------------------------------------
  1288. --End Effect Function--
  1289. -------------------------------------------------------
  1290. function Cso(ID, PARENT, VOLUME, PITCH)
  1291. local NSound = nil
  1292. coroutine.resume(coroutine.create(function()
  1293. NSound = IT("Sound", PARENT)
  1294. NSound.Volume = VOLUME
  1295. NSound.Pitch = PITCH
  1296. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1297. swait()
  1298. NSound:play()
  1299. game:GetService("Debris"):AddItem(NSound, 10)
  1300. end))
  1301. return NSound
  1302. end
  1303. function CameraEnshaking(Length, Intensity)
  1304. coroutine.resume(coroutine.create(function()
  1305. local intensity = 1 * Intensity
  1306. local rotM = 0.01 * Intensity
  1307. for i = 0, Length, 0.1 do
  1308. swait()
  1309. intensity = intensity - 0.05 * Intensity / Length
  1310. rotM = rotM - 5.0E-4 * Intensity / Length
  1311. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1312. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1313. end
  1314. hum.CameraOffset = Vector3.new(0, 0, 0)
  1315. end))
  1316. end
  1317. function chatfunc(text, color)
  1318. local chat = coroutine.wrap(function()
  1319. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1320. char:FindFirstChild("TalkingBillBoard"):destroy()
  1321. end
  1322. local naeeym2 = Instance.new("BillboardGui", char)
  1323. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1324. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1325. naeeym2.Adornee = hed
  1326. naeeym2.Name = "TalkingBillBoard"
  1327. local tecks2 = Instance.new("TextLabel", naeeym2)
  1328. tecks2.BackgroundTransparency = 1
  1329. tecks2.BorderSizePixel = 0
  1330. tecks2.Text = ""
  1331. tecks2.Font = "SciFi"
  1332. tecks2.TextSize = 30
  1333. tecks2.TextStrokeTransparency = 0
  1334. tecks2.TextColor3 = color
  1335. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1336. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1337. coroutine.resume(coroutine.create(function()
  1338. while true do
  1339. swait(1)
  1340. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1341. tecks2.Rotation = math.random(-5, 5)
  1342. end
  1343. end))
  1344. for i = 1, string.len(text) do
  1345. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1346. tecks2.Text = string.sub(text, 1, i)
  1347. swait(1)
  1348. end
  1349. wait(1)
  1350. naeeym2:Destroy()
  1351. end)
  1352. chat()
  1353. end
  1354. -------------------------------------------------------
  1355. --End Important Functions--
  1356. -------------------------------------------------------
  1357.  
  1358. -------------------------------------------------------
  1359. --Start Customization--
  1360. -------------------------------------------------------
  1361. local Player_Size = 1
  1362. if Player_Size ~= 1 then
  1363. root.Size = root.Size * Player_Size
  1364. tors.Size = tors.Size * Player_Size
  1365. hed.Size = hed.Size * Player_Size
  1366. ra.Size = ra.Size * Player_Size
  1367. la.Size = la.Size * Player_Size
  1368. rl.Size = rl.Size * Player_Size
  1369. ll.Size = ll.Size * Player_Size
  1370. ----------------------------------------------------------------------------------
  1371. rootj.Parent = root
  1372. neck.Parent = tors
  1373. RW.Parent = tors
  1374. LW.Parent = tors
  1375. RH.Parent = tors
  1376. LH.Parent = tors
  1377. ----------------------------------------------------------------------------------
  1378. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1379. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1380. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1381. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1382. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1383. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1384. ----------------------------------------------------------------------------------
  1385. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1386. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1387. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1388. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1389. --hat.Parent = Character
  1390. end
  1391. ----------------------------------------------------------------------------------
  1392. local equipped = false
  1393. local idle = 0
  1394. local change = 1
  1395. local val = 0
  1396. local toim = 0
  1397. local idleanim = 0.4
  1398. local sine = 0
  1399. local Sit = 1
  1400. ----------------------------------------------------------------------------------
  1401. local SONG = 1092048938
  1402. local SONG2 = 0
  1403. local Music = Instance.new("Sound",tors)
  1404. Music.Volume = 2.5
  1405. Music.Looped = true
  1406. Music.Pitch = 1 --Pitcher
  1407. ----------------------------------------------------------------------------------
  1408. local Orin = "http://www.roblox.com/asset/?id=236455674"
  1409. Head.face.Texture = Orin
  1410. function weld(a, b, acf)
  1411. local w = Instance.new("Weld", a)
  1412. w.Part0 = a
  1413. w.Part1 = b
  1414. w.C0 = acf
  1415. end
  1416. for i,v in pairs(char:GetChildren()) do
  1417. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  1418. v:destroy()
  1419. end
  1420. end
  1421.  
  1422. local Hair = Instance.new("Part")
  1423. Hair.Parent = char
  1424. Hair.Name = "Hair"
  1425. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  1426. Hair.CFrame = char.Head.CFrame
  1427. Hair:BreakJoints()
  1428. Hair.CanCollide = false
  1429. Hair.BrickColor = BrickColor.new("New Yeller")
  1430. Hair.TopSurface = "Smooth"
  1431. Hair.BottomSurface = "Smooth"
  1432. Weld = Instance.new("Weld")
  1433. Weld.Name = "Weld"
  1434. Weld.Part0 = char.Torso
  1435. Weld.Part1 = Hair
  1436. Weld.Parent = char.Torso
  1437. Weld.C0 = CFrame.new(0, 0.3, 0.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1438. Mesh = Instance.new("SpecialMesh")
  1439. Mesh.Parent = Hair
  1440. Mesh.MeshId = "rbxassetid://67993325"
  1441. Mesh.TextureId = "http://www.roblox.com/asset/?id=106676672"
  1442. Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  1443. ----------------------------------------------------------------------------------
  1444. local Hair = Instance.new("Part")
  1445. Hair.Parent = char
  1446. Hair.Name = "Hair"
  1447. Hair.Size = Vector3.new(1, 0.4, 1)
  1448. Hair.CFrame = char.Head.CFrame
  1449. Hair:BreakJoints()
  1450. Hair.CanCollide = false
  1451. Hair.BrickColor = BrickColor.new("New Yeller")
  1452. Hair.TopSurface = "Smooth"
  1453. Hair.BottomSurface = "Smooth"
  1454. Weld = Instance.new("Weld")
  1455. Weld.Name = "Weld"
  1456. Weld.Part0 = char.Head
  1457. Weld.Part1 = Hair
  1458. Weld.Parent = char.Head
  1459. Weld.C0 = CFrame.new(0, 0.2, -0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1460. Mesh = Instance.new("SpecialMesh")
  1461. Mesh.Parent = Hair
  1462. Mesh.MeshId = "rbxassetid://11419729"
  1463. Mesh.TextureId = "http://www.roblox.com/asset/?id=112346956"
  1464. Mesh.Scale = Vector3.new(1, 1, 1)
  1465. ----------------------------------------------------------------------------------
  1466. local Hair = Instance.new("Part")
  1467. Hair.Parent = char
  1468. Hair.Name = "Hair"
  1469. Hair.Size = Vector3.new(1, 0.4, 1)
  1470. Hair.CFrame = char.Head.CFrame
  1471. Hair:BreakJoints()
  1472. Hair.CanCollide = false
  1473. Hair.BrickColor = BrickColor.new("New Yeller")
  1474. Hair.TopSurface = "Smooth"
  1475. Hair.BottomSurface = "Smooth"
  1476. Weld = Instance.new("Weld")
  1477. Weld.Name = "Weld"
  1478. Weld.Part0 = char.Head
  1479. Weld.Part1 = Hair
  1480. Weld.Parent = char.Head
  1481. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1482. Mesh = Instance.new("SpecialMesh")
  1483. Mesh.Parent = Hair
  1484. Mesh.MeshId = "rbxassetid://16627529"
  1485. Mesh.TextureId = "http://www.roblox.com/asset/?id=16627494"
  1486. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  1487. ----------------------------------------------------------------------------------
  1488. local Hair = Instance.new("Part")
  1489. Hair.Parent = char
  1490. Hair.Name = "Hair"
  1491. Hair.Size = Vector3.new(0.99, 2.03, 2.45)
  1492. Hair.CFrame = char.Head.CFrame
  1493. Hair:BreakJoints()
  1494. Hair.CanCollide = false
  1495. Hair.BrickColor = BrickColor.new("New Yeller")
  1496. Hair.TopSurface = "Smooth"
  1497. Hair.BottomSurface = "Smooth"
  1498. Weld = Instance.new("Weld")
  1499. Weld.Name = "Weld"
  1500. Weld.Part0 = char.Torso
  1501. Weld.Part1 = Hair
  1502. Weld.Parent = char.Torso
  1503. Weld.C0 = CFrame.new(0.3, 0.1, 1.8)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1504. Mesh = Instance.new("SpecialMesh")
  1505. Mesh.Parent = Hair
  1506. Mesh.MeshId = "rbxassetid://170939831"
  1507. Mesh.TextureId = "http://www.roblox.com/asset/?id=170939093"
  1508. Mesh.Scale = Vector3.new(1, 1, 1)
  1509. ----------------------------------------------------------------------------------
  1510. local Shirt = "rbxassetid://1328938028"
  1511. local Pants = "rbxassetid://1033898637"
  1512.  
  1513. ypcall(function()
  1514. shirt = Instance.new("Shirt", char)
  1515. shirt.Name = "Shirt"
  1516. pants = Instance.new("Pants", char)
  1517. pants.Name = "Pants"
  1518. char.Shirt.ShirtTemplate = Shirt
  1519. char.Pants.PantsTemplate = Pants
  1520. end)
  1521.  
  1522. shirt.Name = "aomFetty"
  1523. pants.Name = "aomFetty"
  1524. hum.WalkSpeed = 16
  1525. hum.JumpPower = 70
  1526. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999
  1527. hum.Health = 999999999999999999999999999999999999999999999999999999999999999999
  1528. hum.Animator.Parent = nil
  1529. ----------------------------------------------------------------------------------
  1530. local naeeym2 = Instance.new("BillboardGui",char)
  1531. naeeym2.AlwaysOnTop = true
  1532. naeeym2.Size = UDim2.new(5,35,2,15)
  1533. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1534. naeeym2.Adornee = hed
  1535. naeeym2.Name = "Name"
  1536. --naeeym2.PlayerToHideFrom = Player
  1537. local tecks2 = Instance.new("TextLabel",naeeym2)
  1538. tecks2.BackgroundTransparency = 1
  1539. tecks2.TextScaled = true
  1540. tecks2.BorderSizePixel = 0
  1541. tecks2.Text = "The Killer Dragon"
  1542. tecks2.Font = Enum.Font.Antique
  1543. tecks2.TextSize = 30
  1544. tecks2.TextStrokeTransparency = 0
  1545. tecks2.TextColor3 = Color3.new(255, 0, 0)
  1546. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1547. tecks2.Size = UDim2.new(1,0,0.5,0)
  1548. tecks2.Parent = naeeym2
  1549. wait(1)
  1550. tecks2.Text = "BY:Fetty"
  1551. wait(2)
  1552. tecks2.Text = "Upload"
  1553. wait(3)
  1554. tecks2.Text = "The Killer Dragon"
  1555. --------------------------------------------------------
  1556. local EyeSizes={
  1557. NumberSequenceKeypoint.new(0,0.65,0),
  1558. NumberSequenceKeypoint.new(0.5,0.7,0),
  1559. NumberSequenceKeypoint.new(1,0,0)
  1560. }
  1561. local EyeTrans={
  1562. NumberSequenceKeypoint.new(0,0,0),
  1563. NumberSequenceKeypoint.new(0.5,0,0),
  1564. NumberSequenceKeypoint.new(1,1,0)
  1565. }
  1566. local PE2=Instance.new("ParticleEmitter", ra)
  1567. PE2.LightEmission=.9
  1568. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  1569. PE2.Transparency=NumberSequence.new(EyeTrans)
  1570. PE2.Lifetime=NumberRange.new(0.35)
  1571. PE2.Rotation=NumberRange.new(0,360)
  1572. PE2.Rate=999
  1573. PE2.VelocitySpread = 10000
  1574. PE2.Acceleration = Vector3.new(0,25,0)
  1575. PE2.ZOffset = 0.5
  1576. PE2.Drag = 0
  1577. PE2.Speed = NumberRange.new(0,0,0)
  1578. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1579. PE2.Name = "PE2"
  1580. PE2.Enabled = true
  1581. PE2.LockedToPart = true
  1582. local EyeSizes={
  1583. NumberSequenceKeypoint.new(0,0.65,0),
  1584. NumberSequenceKeypoint.new(0.5,0.7,0),
  1585. NumberSequenceKeypoint.new(1,0,0)
  1586. }
  1587. local EyeTrans={
  1588. NumberSequenceKeypoint.new(0,0,0),
  1589. NumberSequenceKeypoint.new(0.5,0,0),
  1590. NumberSequenceKeypoint.new(1,1,0)
  1591. }
  1592. local PE3=Instance.new("ParticleEmitter", ra)
  1593. PE3.LightEmission=.9
  1594. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  1595. PE3.Transparency=NumberSequence.new(EyeTrans)
  1596. PE3.Lifetime=NumberRange.new(0.35)
  1597. PE3.Rotation=NumberRange.new(0,360)
  1598. PE3.Rate=999
  1599. PE3.VelocitySpread = 10000
  1600. PE3.Acceleration = Vector3.new(0,25,0)
  1601. PE3.ZOffset = 0.5
  1602. PE3.Drag = 0
  1603. PE3.Speed = NumberRange.new(0,0,0)
  1604. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1605. PE3.Name = "PE3"
  1606. PE3.Enabled = true
  1607. PE3.LockedToPart = true
  1608.  
  1609. local EyeSizes={
  1610. NumberSequenceKeypoint.new(0,0.65,0),
  1611. NumberSequenceKeypoint.new(0.5,0.7,0),
  1612. NumberSequenceKeypoint.new(1,0,0)
  1613. }
  1614. local EyeTrans={
  1615. NumberSequenceKeypoint.new(0,0,0),
  1616. NumberSequenceKeypoint.new(0.5,0,0),
  1617. NumberSequenceKeypoint.new(1,1,0)
  1618. }
  1619. local PE4=Instance.new("ParticleEmitter", ll)
  1620. PE4.LightEmission=.9
  1621. PE4.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  1622. PE4.Transparency=NumberSequence.new(EyeTrans)
  1623. PE4.Lifetime=NumberRange.new(0.35)
  1624. PE4.Rotation=NumberRange.new(0,360)
  1625. PE4.Rate=999
  1626. PE4.VelocitySpread = 10000
  1627. PE4.Acceleration = Vector3.new(0,25,0)
  1628. PE4.ZOffset = 0.5
  1629. PE4.Drag = 0
  1630. PE4.Speed = NumberRange.new(0,0,0)
  1631. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1632. PE4.Name = "PE4"
  1633. PE4.Enabled = true
  1634. PE4.LockedToPart = true
  1635. local EyeSizes={
  1636. NumberSequenceKeypoint.new(0,0.65,0),
  1637. NumberSequenceKeypoint.new(0.5,0.7,0),
  1638. NumberSequenceKeypoint.new(1,0,0)
  1639. }
  1640. local EyeTrans={
  1641. NumberSequenceKeypoint.new(0,0,0),
  1642. NumberSequenceKeypoint.new(0.5,0,0),
  1643. NumberSequenceKeypoint.new(1,1,0)
  1644. }
  1645. local PE5=Instance.new("ParticleEmitter", ll)
  1646. PE5.LightEmission=.9
  1647. PE5.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  1648. PE5.Transparency=NumberSequence.new(EyeTrans)
  1649. PE5.Lifetime=NumberRange.new(0.35)
  1650. PE5.Rotation=NumberRange.new(0,360)
  1651. PE5.Rate=999
  1652. PE5.VelocitySpread = 10000
  1653. PE5.Acceleration = Vector3.new(0,25,0)
  1654. PE5.ZOffset = 0.5
  1655. PE5.Drag = 0
  1656. PE5.Speed = NumberRange.new(0,0,0)
  1657. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  1658. PE5.Name = "PE5"
  1659. PE5.Enabled = true
  1660. PE5.LockedToPart = true
  1661. -------------------------------------------------------
  1662. --End Customization--
  1663. -------------------------------------------------------
  1664.  
  1665.  
  1666. -------------------------------------------------------
  1667. --Start Attacks N Stuff--
  1668. -------------------------------------------------------
  1669. function attackone()
  1670. attack = true
  1671. hum.WalkSpeed = 3.01
  1672. for i = 0, 1.7, 0.1 do
  1673. swait()
  1674. 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)
  1675. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  1676. 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)
  1677. 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)
  1678. 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)
  1679. 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)
  1680. end
  1681. Cso("203426541", ra, 10, 1)
  1682. for i = 0, 1.4, 0.1 do
  1683. swait()
  1684. 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)
  1685. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1686. 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)
  1687. 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)
  1688. 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)
  1689. 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)
  1690. end
  1691. for i = 0, 1.4, 0.1 do
  1692. swait()
  1693. 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)
  1694. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  1695. 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)
  1696. 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)
  1697. 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)
  1698. 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)
  1699. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  1700. if v:FindFirstChild("Head") then
  1701. Eviscerate(v)
  1702. end
  1703. end
  1704. end
  1705. attack = false
  1706. hum.WalkSpeed = 16
  1707. end
  1708. function attacktwo()
  1709. attack = true
  1710. hum.WalkSpeed = 3.01
  1711. for i = 0, 1.7, 0.1 do
  1712. swait()
  1713. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1714. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1715. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
  1716. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  1717. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  1718. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  1719. end
  1720. Cso("203426541", rl, 10, 1)
  1721. CameraEnshaking(2, 3)
  1722. for i = 0, 1.4, 0.1 do
  1723. swait()
  1724. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1725. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1726. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
  1727. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
  1728. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  1729. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  1730. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  1731. if v:FindFirstChild("Head") then
  1732. Eviscerate(v)
  1733. end
  1734. end
  1735. end
  1736. attack = false
  1737. hum.WalkSpeed = 16
  1738. end
  1739. function attackthree()
  1740. attack = true
  1741. hum.WalkSpeed = 3.01
  1742. for i = 0, 1.4, 0.1 do
  1743. swait()
  1744. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  1745. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1746. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
  1747. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
  1748. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  1749. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  1750. end
  1751. Cso("203426541", hed, 10, 1)
  1752. for i = 0, 1.7, 0.1 do
  1753. swait()
  1754. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1755. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1756. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
  1757. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
  1758. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  1759. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  1760. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  1761. if v:FindFirstChild("Head") then
  1762. Eviscerate(v)
  1763. end
  1764. end
  1765. end
  1766. attack = false
  1767. hum.WalkSpeed = 16
  1768. end
  1769.  
  1770. function Distort()
  1771. attack = true
  1772. hum.WalkSpeed = 0
  1773. local pos = root.Position
  1774. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  1775. Cso("847061203", char, 10, 0.85)
  1776. for i = 1,2.5,0.1 do
  1777. swait()
  1778. 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)
  1779. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1780. 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)
  1781. 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)
  1782. 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)
  1783. 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)
  1784. end
  1785. attack = false
  1786. hum.WalkSpeed = 8
  1787. end
  1788. function Ancient_Rage()
  1789. attack = true
  1790. hum.WalkSpeed = 0
  1791. Cso("135017578", tors, 10, 1.05)
  1792. for i = 1,14,0.1 do
  1793. swait()
  1794. 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)
  1795. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1796. 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)
  1797. 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)
  1798. 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)
  1799. 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)
  1800. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  1801. if v:FindFirstChild("Head") then
  1802. Eviscerate(v)
  1803. end
  1804. end
  1805. end
  1806. attack = false
  1807. hum.WalkSpeed = 16
  1808. end
  1809. function Technobeam()
  1810. attack = true
  1811. hum.WalkSpeed = 3.01
  1812. for i = 0, 4, 0.1 do
  1813. swait()
  1814. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  1815. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  1816. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1817. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1818. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1819. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1820. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1821. end
  1822. for i = 0, 2, 0.1 do
  1823. swait()
  1824. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  1825. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  1826. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  1827. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  1828. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  1829. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1830. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1831. end
  1832. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  1833. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  1834. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  1835. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  1836. CameraEnshaking(4, 5)
  1837. Cso("206049428", char, 10, 1)
  1838. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  1839. if v:FindFirstChild("Head") then
  1840. Eviscerate(v)
  1841. end
  1842. end
  1843. for i = 0, 2, 0.1 do
  1844. swait()
  1845. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  1846. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  1847. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  1848. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  1849. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  1850. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  1851. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  1852. end
  1853. hum.WalkSpeed = 16
  1854. attack = false
  1855. end
  1856. function Taunt10000()
  1857. attack = true
  1858. Cso("333446256", char, 10, 1)
  1859. for i = 0, 15, 0.1 do
  1860. swait()
  1861. 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)
  1862. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1863. 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)
  1864. 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)
  1865. 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)
  1866. 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)
  1867. end
  1868. for i = 0, 15, 0.1 do
  1869. swait()
  1870. 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)
  1871. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1872. 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)
  1873. 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)
  1874. 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)
  1875. 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)
  1876. end
  1877. for i = 0, 20, 0.1 do
  1878. swait()
  1879. 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)
  1880. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  1881. 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)
  1882. 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)
  1883. 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)
  1884. 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)
  1885. end
  1886. attack = false
  1887. end
  1888. function OP9999()
  1889. attack = true
  1890. hum.WalkSpeed = 3.01
  1891. Cso("1690476035",char, 10, 1)
  1892. for i = 0,5.2,0.1 do
  1893. swait()
  1894. Effects.Block.Create(BrickC("Really red"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1895. 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)
  1896. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1897. 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)
  1898. 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)
  1899. 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)
  1900. 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)
  1901. end
  1902. Cso("824687369", char, 10, 1)
  1903. for i = 0,3.7,0.1 do
  1904. swait()
  1905. 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)
  1906. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1907. 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)
  1908. 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)
  1909. 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)
  1910. 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)
  1911. CameraEnshaking(2, 8)
  1912. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  1913. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  1914. if v:FindFirstChild("Head") then
  1915. Eviscerate(v)
  1916. end
  1917. end
  1918. end
  1919. attack = false
  1920. hum.WalkSpeed = 16
  1921. end
  1922. -------------------------------------------------------
  1923. --End Attacks N Stuff--
  1924. -------------------------------------------------------
  1925. mouse.KeyDown:connect(function(key)
  1926. if key == 'q' then
  1927. Swing = 2
  1928. hum.WalkSpeed = 40
  1929. end
  1930. end)
  1931. mouse.KeyUp:connect(function(key)
  1932. if key == 'q' then
  1933. Swing = 1
  1934. hum.WalkSpeed = 16
  1935. end
  1936. end)
  1937.  
  1938. mouse.KeyDown:connect(function(key)
  1939. if attack == false then
  1940. if key == 'e' then
  1941. Ancient_Rage()
  1942. elseif key == 'r' then
  1943. Distort()
  1944. elseif key == 't' then
  1945. Taunt10000()
  1946. elseif key == 'f' then
  1947. Technobeam()
  1948. elseif key == 'g' then
  1949. OP9999()
  1950. elseif key == 'h' then
  1951.  
  1952. end
  1953. end
  1954. end)
  1955. local Combo = 1
  1956. mouse.Button1Down:connect(function(key)
  1957. if attack == false then
  1958. if Combo == 1 then
  1959. Combo = 2
  1960. attackone()
  1961. elseif Combo == 2 then
  1962. Combo = 3
  1963. attacktwo()
  1964. elseif Combo == 3 then
  1965. Combo = 1
  1966. attackthree()
  1967. end
  1968. end
  1969. end)
  1970. -------------------------------------------------------
  1971. --Start Animations--
  1972. -------------------------------------------------------
  1973. while true do
  1974. swait()
  1975. sine = sine + change
  1976. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1977. local velderp = root.Velocity.y
  1978. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1979. if equipped == true or equipped == false then
  1980. if attack == false then
  1981. idle = idle + 1
  1982. else
  1983. idle = 0
  1984. end
  1985. --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")
  1986. if 1 < root.Velocity.y and hitfloor == nil then
  1987. Anim = "Jump"
  1988. if attack == false then
  1989. 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)
  1990. 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)
  1991. 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)
  1992. 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)
  1993. 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)
  1994. 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)
  1995. end
  1996. elseif -1 > root.Velocity.y and hitfloor == nil then
  1997. Anim = "Fall"
  1998. if attack == false then
  1999. 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)
  2000. 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)
  2001. 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)
  2002. 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)
  2003. 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)
  2004. 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)
  2005. end
  2006. elseif torvel < 1 and hitfloor ~= nil then
  2007. Anim = "Idle"
  2008. change = 1
  2009. if attack == false then
  2010. 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)
  2011. 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)
  2012. 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)
  2013. 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)
  2014. 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)
  2015. 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)
  2016. end
  2017. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2018. Anim = "Walk"
  2019. change = 1
  2020. if attack == false then
  2021. 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)
  2022. 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)
  2023. 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)
  2024. 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)
  2025. 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)
  2026. 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)
  2027. end
  2028. elseif torvel >= 25 and hitfloor ~= nil then
  2029. Anim = "Sprint"
  2030. change = 1.35
  2031. if attack == false then
  2032. 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)
  2033. 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)
  2034. 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)
  2035. 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)
  2036. 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)
  2037. 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)
  2038. end
  2039. end
  2040. end
  2041. Music.SoundId = "rbxassetid://"..SONG
  2042. Music.Looped = true
  2043. Music.Pitch = 1
  2044. Music.Volume = 1
  2045. Music.Parent = tors
  2046. Music:Resume()
  2047. if 0 < #Effects then
  2048. for e = 1, #Effects do
  2049. if Effects[e] ~= nil then
  2050. local Thing = Effects[e]
  2051. if Thing ~= nil then
  2052. local Part = Thing[1]
  2053. local Mode = Thing[2]
  2054. local Delay = Thing[3]
  2055. local IncX = Thing[4]
  2056. local IncY = Thing[5]
  2057. local IncZ = Thing[6]
  2058. if 1 >= Thing[1].Transparency then
  2059. if Thing[2] == "Block1" then
  2060. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2061. local Mesh = Thing[1].Mesh
  2062. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2063. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2064. elseif Thing[2] == "Block2" then
  2065. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2066. local Mesh = Thing[7]
  2067. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2068. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2069. elseif Thing[2] == "Block3" then
  2070. 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)
  2071. local Mesh = Thing[7]
  2072. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2073. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2074. elseif Thing[2] == "Cylinder" then
  2075. local Mesh = Thing[1].Mesh
  2076. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2077. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2078. elseif Thing[2] == "Blood" then
  2079. local Mesh = Thing[7]
  2080. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2081. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2082. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2083. elseif Thing[2] == "Elec" then
  2084. local Mesh = Thing[1].Mesh
  2085. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2086. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2087. elseif Thing[2] == "Disappear" then
  2088. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2089. elseif Thing[2] == "Shatter" then
  2090. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2091. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2092. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2093. Thing[6] = Thing[6] + Thing[5]
  2094. end
  2095. else
  2096. Part.Parent = nil
  2097. table.remove(Effects, e)
  2098. end
  2099. end
  2100. end
  2101. end
  2102. end
  2103. end
  2104. -------------------------------------------------------
  2105. --End Animations And Script--
  2106. ---------------------------------------------------------//====================================================\\--
  2107. --|| Templates BY Aom[WCR]
  2108. --\\====================================================//--
  2109. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2110. local Player,game,owner = owner,game
  2111. local RealPlayer = Player
  2112. do
  2113. print("FE Compatibility code by Mokiros")
  2114. local rp = RealPlayer
  2115. script.Parent = rp.Character
  2116.  
  2117. --RemoteEvent for communicating
  2118. local Event = Instance.new("RemoteEvent")
  2119. Event.Name = "UserInput_Event"
  2120.  
  2121. --Fake event to make stuff like Mouse.KeyDown work
  2122. local function fakeEvent()
  2123. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  2124. t.connect = t.Connect
  2125. return t
  2126. end
  2127.  
  2128. --Creating fake input objects with fake variables
  2129. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2130. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2131. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2132. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2133. end}
  2134. --Merged 2 functions into one by checking amount of arguments
  2135. CAS.UnbindAction = CAS.BindAction
  2136.  
  2137. --This function will trigger the events that have been :Connect()'ed
  2138. local function te(self,ev,...)
  2139. local t = m[ev]
  2140. if t and t._fakeEvent then
  2141. for _,f in pairs(t.Functions) do
  2142. f(...)
  2143. end
  2144. end
  2145. end
  2146. m.TrigEvent = te
  2147. UIS.TrigEvent = te
  2148.  
  2149. Event.OnServerEvent:Connect(function(plr,io)
  2150. if plr~=rp then return end
  2151. m.Target = io.Target
  2152. m.Hit = io.Hit
  2153. if not io.isMouse then
  2154. local b = io.UserInputState == Enum.UserInputState.Begin
  2155. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2156. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2157. end
  2158. for _,t in pairs(CAS.Actions) do
  2159. for _,k in pairs(t.Keys) do
  2160. if k==io.KeyCode then
  2161. t.Function(t.Name,io.UserInputState,io)
  2162. end
  2163. end
  2164. end
  2165. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2166. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2167. end
  2168. end)
  2169. Event.Parent = NLS([==[
  2170. local Player = game:GetService("Players").LocalPlayer
  2171. local Event = script:WaitForChild("UserInput_Event")
  2172.  
  2173. local Mouse = Player:GetMouse()
  2174. local UIS = game:GetService("UserInputService")
  2175. local input = function(io,a)
  2176. if a then return end
  2177. --Since InputObject is a client-side instance, we create and pass table instead
  2178. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  2179. end
  2180. UIS.InputBegan:Connect(input)
  2181. UIS.InputEnded:Connect(input)
  2182.  
  2183. local h,t
  2184. --Give the server mouse data 30 times every second, but only if the values changed
  2185. --If player is not moving their mouse, client won't fire events
  2186. while wait(1/30) do
  2187. if h~=Mouse.Hit or t~=Mouse.Target then
  2188. h,t=Mouse.Hit,Mouse.Target
  2189. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2190. end
  2191. end]==],Player.Character)
  2192.  
  2193. ----Sandboxed game object that allows the usage of client-side methods and services
  2194. --Real game object
  2195. local _rg = game
  2196.  
  2197. --Metatable for fake service
  2198. local fsmt = {
  2199. __index = function(self,k)
  2200. local s = rawget(self,"_RealService")
  2201. if s then return s[k] end
  2202. end,
  2203. __newindex = function(self,k,v)
  2204. local s = rawget(self,"_RealService")
  2205. if s then s[k]=v end
  2206. end,
  2207. __call = function(self,...)
  2208. local s = rawget(self,"_RealService")
  2209. if s then return s(...) end
  2210. end
  2211. }
  2212. local function FakeService(t,RealService)
  2213. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  2214. return setmetatable(t,fsmt)
  2215. end
  2216.  
  2217. --Fake game object
  2218. local g = {
  2219. GetService = function(self,s)
  2220. return self[s]
  2221. end,
  2222. Players = FakeService({
  2223. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  2224. },"Players"),
  2225. UserInputService = FakeService(UIS,"UserInputService"),
  2226. ContextActionService = FakeService(CAS,"ContextActionService"),
  2227. }
  2228. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  2229. g.service = g.GetService
  2230.  
  2231. g.RunService = FakeService({
  2232. RenderStepped = _rg:GetService("RunService").Heartbeat,
  2233. BindToRenderStep = function(self,name,_,fun)
  2234.  
  2235. end,
  2236. UnbindFromRenderStep = function(self,name)
  2237. self._btrs[name]:Disconnect()
  2238. end,
  2239. },"RunService")
  2240.  
  2241. setmetatable(g,{
  2242. __index=function(self,s)
  2243. return _rg:GetService(s) or typeof(_rg[s])=="function"
  2244. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  2245. end,
  2246. __newindex = fsmt.__newindex,
  2247. __call = fsmt.__call
  2248. })
  2249. --Changing owner to fake player object to support owner:GetMouse()
  2250. game,owner = g,g.Players.LocalPlayer
  2251. end
  2252. Player = game:GetService("Players").LocalPlayer
  2253. PlayerGui = Player.PlayerGui
  2254. Cam = workspace.CurrentCamera
  2255. Backpack = Player.Backpack
  2256. Character = Player.Character
  2257. Humanoid = Character.Humanoid
  2258. Mouse = Player:GetMouse()
  2259. RootPart = Character["HumanoidRootPart"]
  2260. Torso = Character["Torso"]
  2261. Head = Character["Head"]
  2262. RightArm = Character["Right Arm"]
  2263. LeftArm = Character["Left Arm"]
  2264. RightLeg = Character["Right Leg"]
  2265. LeftLeg = Character["Left Leg"]
  2266. RootJoint = RootPart["RootJoint"]
  2267. Neck = Torso["Neck"]
  2268. RightShoulder = Torso["Right Shoulder"]
  2269. LeftShoulder = Torso["Left Shoulder"]
  2270. RightHip = Torso["Right Hip"]
  2271. LeftHip = Torso["Left Hip"]
  2272. local TIME = 0
  2273. local sick = Instance.new("Sound",Torso)
  2274.  
  2275. IT = Instance.new
  2276. CF = CFrame.new
  2277. VT = Vector3.new
  2278. RAD = math.rad
  2279. C3 = Color3.new
  2280. UD2 = UDim2.new
  2281. BRICKC = BrickColor.new
  2282. ANGLES = CFrame.Angles
  2283. EULER = CFrame.fromEulerAnglesXYZ
  2284. COS = math.cos
  2285. ACOS = math.acos
  2286. SIN = math.sin
  2287. ASIN = math.asin
  2288. ABS = math.abs
  2289. MRANDOM = math.random
  2290. FLOOR = math.floor
  2291.  
  2292. --//=================================\\
  2293. --|| USEFUL VALUES
  2294. --\\=================================//
  2295.  
  2296. Animation_Speed = 3
  2297. local FORCERESET = false
  2298. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  2299. local Speed = 16
  2300. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2301. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2302. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  2303. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  2304. local DAMAGEMULTIPLIER = 1
  2305. local ANIM = "Idle"
  2306. local ATTACK = false
  2307. local EQUIPPED = false
  2308. local HOLD = false
  2309. local COMBO = 1
  2310. local Rooted = false
  2311. local SINE = 0
  2312. local KEYHOLD = false
  2313. local CHANGE = 2 / Animation_Speed
  2314. local WALKINGANIM = false
  2315. local VALUE1 = false
  2316. local VALUE2 = false
  2317. local ROBLOXIDLEANIMATION = IT("Animation")
  2318. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  2319. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  2320. --ROBLOXIDLEANIMATION.Parent = Humanoid
  2321. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  2322. WEAPONGUI.Name = "BanishV3Gui"
  2323. local Weapon = IT("Model")
  2324. Weapon.Name = "Adds"
  2325. local Effects = IT("Folder", Weapon)
  2326. Effects.Name = "Effects"
  2327. local ANIMATOR = Humanoid.Animator
  2328. local ANIMATE = Character:FindFirstChild("Animate")
  2329. local UNANCHOR = true
  2330. local TOBANISH = {}
  2331. script.Parent = PlayerGui
  2332.  
  2333. --//=================================\\
  2334. --\\=================================//
  2335.  
  2336.  
  2337. --//=================================\\
  2338. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  2339. --\\=================================//
  2340.  
  2341. ArtificialHB = Instance.new("BindableEvent", script)
  2342. ArtificialHB.Name = "ArtificialHB"
  2343.  
  2344. script:WaitForChild("ArtificialHB")
  2345.  
  2346. frame = Frame_Speed
  2347. tf = 0
  2348. allowframeloss = false
  2349. tossremainder = false
  2350. lastframe = tick()
  2351. script.ArtificialHB:Fire()
  2352.  
  2353. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2354. tf = tf + s
  2355. if tf >= frame then
  2356. if allowframeloss then
  2357. script.ArtificialHB:Fire()
  2358. lastframe = tick()
  2359. else
  2360. for i = 1, math.floor(tf / frame) do
  2361. script.ArtificialHB:Fire()
  2362. end
  2363. lastframe = tick()
  2364. end
  2365. if tossremainder then
  2366. tf = 0
  2367. else
  2368. tf = tf - frame * math.floor(tf / frame)
  2369. end
  2370. end
  2371. end)
  2372.  
  2373. --//=================================\\
  2374. --\\=================================//
  2375.  
  2376. local plr = game:service'Players'.LocalPlayer
  2377. print('Local User is '..plr.Name)
  2378. print('The Killer Dragon Loaded')
  2379. print('Q Speed')
  2380. print('E')
  2381. print('R')
  2382. print('T')
  2383. print('F')
  2384. print('G')
  2385. local char = plr.Character
  2386. local hum = char.Humanoid
  2387. local hed = char.Head
  2388. local root = char.HumanoidRootPart
  2389. local rootj = root.RootJoint
  2390. local tors = char.Torso
  2391. local ra = char["Right Arm"]
  2392. local la = char["Left Arm"]
  2393. local rl = char["Right Leg"]
  2394. local ll = char["Left Leg"]
  2395. local neck = tors["Neck"]
  2396. local mouse = plr:GetMouse()
  2397. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2398. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  2399. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  2400. local maincolor = BrickColor.new("Institutional white")
  2401.  
  2402. local sky = Instance.new('Sky', game:GetService'Lighting')
  2403. sky.SkyboxBk = "rbxassetid://159454299"
  2404. sky.SkyboxDn = "rbxassetid://159454296"
  2405. sky.SkyboxFt = "rbxassetid://159454293"
  2406. sky.SkyboxLf = "rbxassetid://159454286"
  2407. sky.SkyboxRt = "rbxassetid://159454300"
  2408. sky.SkyboxUp = "rbxassetid://166574066"
  2409. game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
  2410. game.Lighting.FogColor = Color3.new(255,0,0)
  2411. game.Lighting.FogEnd = 500000
  2412. -------------------------------------------------------
  2413. --Start Good Stuff--
  2414. -------------------------------------------------------
  2415. cam = game.Workspace.CurrentCamera
  2416. CF = CFrame.new
  2417. angles = CFrame.Angles
  2418. attack = false
  2419. Euler = CFrame.fromEulerAnglesXYZ
  2420. Rad = math.rad
  2421. IT = Instance.new
  2422. BrickC = BrickColor.new
  2423. Cos = math.cos
  2424. Acos = math.acos
  2425. Sin = math.sin
  2426. Asin = math.asin
  2427. Abs = math.abs
  2428. Mrandom = math.random
  2429. Floor = math.floor
  2430. -------------------------------------------------------
  2431. --End Good Stuff--
  2432. -------------------------------------------------------
  2433. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2434. RSH, LSH = nil, nil
  2435. RW = Instance.new("Weld")
  2436. LW = Instance.new("Weld")
  2437. RH = tors["Right Hip"]
  2438. LH = tors["Left Hip"]
  2439. RSH = tors["Right Shoulder"]
  2440. LSH = tors["Left Shoulder"]
  2441. RSH.Parent = nil
  2442. LSH.Parent = nil
  2443. RW.Name = "RW"
  2444. RW.Part0 = tors
  2445. RW.C0 = CF(1.5, 0.5, 0)
  2446. RW.C1 = CF(0, 0.5, 0)
  2447. RW.Part1 = ra
  2448. RW.Parent = tors
  2449. LW.Name = "LW"
  2450. LW.Part0 = tors
  2451. LW.C0 = CF(-1.5, 0.5, 0)
  2452. LW.C1 = CF(0, 0.5, 0)
  2453. LW.Part1 = la
  2454. LW.Parent = tors
  2455. Effects = {}
  2456. -------------------------------------------------------
  2457. --Start HeartBeat--
  2458. -------------------------------------------------------
  2459. ArtificialHB = Instance.new("BindableEvent", script)
  2460. ArtificialHB.Name = "Heartbeat"
  2461. script:WaitForChild("Heartbeat")
  2462.  
  2463. frame = 1 / 60
  2464. tf = 0
  2465. allowframeloss = false
  2466. tossremainder = false
  2467.  
  2468.  
  2469. lastframe = tick()
  2470. script.Heartbeat:Fire()
  2471.  
  2472.  
  2473. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2474. tf = tf + s
  2475. if tf >= frame then
  2476. if allowframeloss then
  2477. script.Heartbeat:Fire()
  2478. lastframe = tick()
  2479. else
  2480. for i = 1, math.floor(tf / frame) do
  2481. script.Heartbeat:Fire()
  2482. end
  2483. lastframe = tick()
  2484. end
  2485. if tossremainder then
  2486. tf = 0
  2487. else
  2488. tf = tf - frame * math.floor(tf / frame)
  2489. end
  2490. end
  2491. end)
  2492. -------------------------------------------------------
  2493. --End HeartBeat--
  2494. -------------------------------------------------------
  2495.  
  2496. -------------------------------------------------------
  2497. --Start Important Functions--
  2498. -------------------------------------------------------
  2499. function swait(num)
  2500. if num == 0 or num == nil then
  2501. game:service("RunService").Stepped:wait(0)
  2502. else
  2503. for i = 0, num do
  2504. game:service("RunService").Stepped:wait(0)
  2505. end
  2506. end
  2507. end
  2508. function thread(f)
  2509. coroutine.resume(coroutine.create(f))
  2510. end
  2511. function clerp(a, b, t)
  2512. local qa = {
  2513. QuaternionFromCFrame(a)
  2514. }
  2515. local qb = {
  2516. QuaternionFromCFrame(b)
  2517. }
  2518. local ax, ay, az = a.x, a.y, a.z
  2519. local bx, by, bz = b.x, b.y, b.z
  2520. local _t = 1 - t
  2521. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2522. end
  2523. function QuaternionFromCFrame(cf)
  2524. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2525. local trace = m00 + m11 + m22
  2526. if trace > 0 then
  2527. local s = math.sqrt(1 + trace)
  2528. local recip = 0.5 / s
  2529. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2530. else
  2531. local i = 0
  2532. if m00 < m11 then
  2533. i = 1
  2534. end
  2535. if m22 > (i == 0 and m00 or m11) then
  2536. i = 2
  2537. end
  2538. if i == 0 then
  2539. local s = math.sqrt(m00 - m11 - m22 + 1)
  2540. local recip = 0.5 / s
  2541. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2542. elseif i == 1 then
  2543. local s = math.sqrt(m11 - m22 - m00 + 1)
  2544. local recip = 0.5 / s
  2545. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2546. elseif i == 2 then
  2547. local s = math.sqrt(m22 - m00 - m11 + 1)
  2548. local recip = 0.5 / s
  2549. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2550. end
  2551. end
  2552. end
  2553. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2554. local xs, ys, zs = x + x, y + y, z + z
  2555. local wx, wy, wz = w * xs, w * ys, w * zs
  2556. local xx = x * xs
  2557. local xy = x * ys
  2558. local xz = x * zs
  2559. local yy = y * ys
  2560. local yz = y * zs
  2561. local zz = z * zs
  2562. 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))
  2563. end
  2564. function QuaternionSlerp(a, b, t)
  2565. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2566. local startInterp, finishInterp
  2567. if cosTheta >= 1.0E-4 then
  2568. if 1 - cosTheta > 1.0E-4 then
  2569. local theta = math.acos(cosTheta)
  2570. local invSinTheta = 1 / Sin(theta)
  2571. startInterp = Sin((1 - t) * theta) * invSinTheta
  2572. finishInterp = Sin(t * theta) * invSinTheta
  2573. else
  2574. startInterp = 1 - t
  2575. finishInterp = t
  2576. end
  2577. elseif 1 + cosTheta > 1.0E-4 then
  2578. local theta = math.acos(-cosTheta)
  2579. local invSinTheta = 1 / Sin(theta)
  2580. startInterp = Sin((t - 1) * theta) * invSinTheta
  2581. finishInterp = Sin(t * theta) * invSinTheta
  2582. else
  2583. startInterp = t - 1
  2584. finishInterp = t
  2585. end
  2586. 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
  2587. end
  2588. function rayCast(Position, Direction, Range, Ignore)
  2589. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2590. end
  2591. local RbxUtility = LoadLibrary("RbxUtility")
  2592. local Create = RbxUtility.Create
  2593.  
  2594. -------------------------------------------------------
  2595. --Start Damage Function--
  2596. -------------------------------------------------------
  2597. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2598. if hit.Parent == nil then
  2599. return
  2600. end
  2601. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2602. for _, v in pairs(hit.Parent:children()) do
  2603. if v:IsA("Humanoid") then
  2604. h = v
  2605. end
  2606. end
  2607. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  2608.  
  2609. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2610. end
  2611.  
  2612. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2613. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  2614. if hit.Parent.DebounceHit.Value == true then
  2615. return
  2616. end
  2617. end
  2618. if insta == true then
  2619. hit.Parent:FindFirstChild("Head"):BreakJoints()
  2620. end
  2621. local c = Create("ObjectValue"){
  2622. Name = "creator",
  2623. Value = game:service("Players").LocalPlayer,
  2624. Parent = h,
  2625. }
  2626. game:GetService("Debris"):AddItem(c, .5)
  2627. if HitSound ~= nil and HitPitch ~= nil then
  2628. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2629. end
  2630. local Damage = math.random(minim, maxim)
  2631. local blocked = false
  2632. local block = hit.Parent:findFirstChild("Block")
  2633. if block ~= nil then
  2634. if block.className == "IntValue" then
  2635. if block.Value > 0 then
  2636. blocked = true
  2637. block.Value = block.Value - 1
  2638. print(block.Value)
  2639. end
  2640. end
  2641. end
  2642. if blocked == false then
  2643. h.Health = h.Health - Damage
  2644. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2645. else
  2646. h.Health = h.Health - (Damage / 2)
  2647. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  2648. end
  2649. if Type == "Knockdown" then
  2650. local hum = hit.Parent.Humanoid
  2651. hum.PlatformStand = true
  2652. coroutine.resume(coroutine.create(function(HHumanoid)
  2653. swait(1)
  2654. HHumanoid.PlatformStand = false
  2655. end), hum)
  2656. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  2657. local bodvol = Create("BodyVelocity"){
  2658. velocity = angle * knockback,
  2659. P = 5000,
  2660. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2661. Parent = hit,
  2662. }
  2663. local rl = Create("BodyAngularVelocity"){
  2664. P = 3000,
  2665. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2666. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2667. Parent = hit,
  2668. }
  2669. game:GetService("Debris"):AddItem(bodvol, .5)
  2670. game:GetService("Debris"):AddItem(rl, .5)
  2671. elseif Type == "Normal" then
  2672. local vp = Create("BodyVelocity"){
  2673. P = 500,
  2674. maxForce = Vector3.new(math.huge, 0, math.huge),
  2675. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  2676. }
  2677. if knockback > 0 then
  2678. vp.Parent = hit.Parent.Torso
  2679. end
  2680. game:GetService("Debris"):AddItem(vp, .5)
  2681. elseif Type == "Up" then
  2682. local bodyVelocity = Create("BodyVelocity"){
  2683. velocity = Vector3.new(0, 20, 0),
  2684. P = 5000,
  2685. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2686. Parent = hit,
  2687. }
  2688. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2689. elseif Type == "DarkUp" then
  2690. coroutine.resume(coroutine.create(function()
  2691. for i = 0, 1, 0.1 do
  2692. swait()
  2693. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2694. end
  2695. end))
  2696. local bodyVelocity = Create("BodyVelocity"){
  2697. velocity = Vector3.new(0, 20, 0),
  2698. P = 5000,
  2699. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2700. Parent = hit,
  2701. }
  2702. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2703. elseif Type == "Snare" then
  2704. local bp = Create("BodyPosition"){
  2705. P = 2000,
  2706. D = 100,
  2707. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2708. position = hit.Parent.Torso.Position,
  2709. Parent = hit.Parent.Torso,
  2710. }
  2711. game:GetService("Debris"):AddItem(bp, 1)
  2712. elseif Type == "Freeze" then
  2713. local BodPos = Create("BodyPosition"){
  2714. P = 50000,
  2715. D = 1000,
  2716. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2717. position = hit.Parent.Torso.Position,
  2718. Parent = hit.Parent.Torso,
  2719. }
  2720. local BodGy = Create("BodyGyro") {
  2721. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2722. P = 20e+003,
  2723. Parent = hit.Parent.Torso,
  2724. cframe = hit.Parent.Torso.CFrame,
  2725. }
  2726. hit.Parent.Torso.Anchored = true
  2727. coroutine.resume(coroutine.create(function(Part)
  2728. swait(1.5)
  2729. Part.Anchored = false
  2730. end), hit.Parent.Torso)
  2731. game:GetService("Debris"):AddItem(BodPos, 3)
  2732. game:GetService("Debris"):AddItem(BodGy, 3)
  2733. end
  2734. local debounce = Create("BoolValue"){
  2735. Name = "DebounceHit",
  2736. Parent = hit.Parent,
  2737. Value = true,
  2738. }
  2739. game:GetService("Debris"):AddItem(debounce, Delay)
  2740. c = Create("ObjectValue"){
  2741. Name = "creator",
  2742. Value = Player,
  2743. Parent = h,
  2744. }
  2745. game:GetService("Debris"):AddItem(c, .5)
  2746. end
  2747. end
  2748. -------------------------------------------------------
  2749. --End Damage Function--
  2750. -------------------------------------------------------
  2751.  
  2752. -------------------------------------------------------
  2753. --Start Damage Function Customization--
  2754. -------------------------------------------------------
  2755. function ShowDamage(Pos, Text, Time, Color)
  2756. local Rate = (1 / 30)
  2757. local Pos = (Pos or Vector3.new(0, 0, 0))
  2758. local Text = (Text or "")
  2759. local Time = (Time or 2)
  2760. local Color = (Color or Color3.new(1, 0, 1))
  2761. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2762. EffectPart.Anchored = true
  2763. local BillboardGui = Create("BillboardGui"){
  2764. Size = UDim2.new(3, 0, 3, 0),
  2765. Adornee = EffectPart,
  2766. Parent = EffectPart,
  2767. }
  2768. local TextLabel = Create("TextLabel"){
  2769. BackgroundTransparency = 1,
  2770. Size = UDim2.new(1, 0, 1, 0),
  2771. Text = Text,
  2772. Font = "Bodoni",
  2773. TextColor3 = Color,
  2774. TextScaled = true,
  2775. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  2776. Parent = BillboardGui,
  2777. }
  2778. game.Debris:AddItem(EffectPart, (Time))
  2779. EffectPart.Parent = game:GetService("Workspace")
  2780. delay(0, function()
  2781. local Frames = (Time / Rate)
  2782. for Frame = 1, Frames do
  2783. wait(Rate)
  2784. local Percent = (Frame / Frames)
  2785. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2786. TextLabel.TextTransparency = Percent
  2787. end
  2788. if EffectPart and EffectPart.Parent then
  2789. EffectPart:Destroy()
  2790. end
  2791. end)
  2792. end
  2793. -------------------------------------------------------
  2794. --End Damage Function Customization--
  2795. -------------------------------------------------------
  2796.  
  2797. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2798. for _, c in pairs(workspace:children()) do
  2799. local hum = c:findFirstChild("Humanoid")
  2800. if hum ~= nil then
  2801. local head = c:findFirstChild("Head")
  2802. if head ~= nil then
  2803. local targ = head.Position - Part.Position
  2804. local mag = targ.magnitude
  2805. if magni >= mag and c.Name ~= plr.Name then
  2806. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  2807. end
  2808. end
  2809. end
  2810. end
  2811. end
  2812.  
  2813.  
  2814. CFuncs = {
  2815. Part = {
  2816. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2817. local Part = Create("Part")({
  2818. Parent = Parent,
  2819. Reflectance = Reflectance,
  2820. Transparency = Transparency,
  2821. CanCollide = false,
  2822. Locked = true,
  2823. BrickColor = BrickColor.new(tostring(BColor)),
  2824. Name = Name,
  2825. Size = Size,
  2826. Material = Material
  2827. })
  2828. RemoveOutlines(Part)
  2829. return Part
  2830. end
  2831. },
  2832. Mesh = {
  2833. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2834. local Msh = Create(Mesh)({
  2835. Parent = Part,
  2836. Offset = OffSet,
  2837. Scale = Scale
  2838. })
  2839. if Mesh == "SpecialMesh" then
  2840. Msh.MeshType = MeshType
  2841. Msh.MeshId = MeshId
  2842. end
  2843. return Msh
  2844. end
  2845. },
  2846. Mesh = {
  2847. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2848. local Msh = Create(Mesh)({
  2849. Parent = Part,
  2850. Offset = OffSet,
  2851. Scale = Scale
  2852. })
  2853. if Mesh == "SpecialMesh" then
  2854. Msh.MeshType = MeshType
  2855. Msh.MeshId = MeshId
  2856. end
  2857. return Msh
  2858. end
  2859. },
  2860. Weld = {
  2861. Create = function(Parent, Part0, Part1, C0, C1)
  2862. local Weld = Create("Weld")({
  2863. Parent = Parent,
  2864. Part0 = Part0,
  2865. Part1 = Part1,
  2866. C0 = C0,
  2867. C1 = C1
  2868. })
  2869. return Weld
  2870. end
  2871. },
  2872. Sound = {
  2873. Create = function(id, par, vol, pit)
  2874. coroutine.resume(coroutine.create(function()
  2875. local S = Create("Sound")({
  2876. Volume = vol,
  2877. Pitch = pit or 1,
  2878. SoundId = id,
  2879. Parent = par or workspace
  2880. })
  2881. wait()
  2882. S:play()
  2883. game:GetService("Debris"):AddItem(S, 6)
  2884. end))
  2885. end
  2886. },
  2887. ParticleEmitter = {
  2888. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2889. local fp = Create("ParticleEmitter")({
  2890. Parent = Parent,
  2891. Color = ColorSequence.new(Color1, Color2),
  2892. LightEmission = LightEmission,
  2893. Size = Size,
  2894. Texture = Texture,
  2895. Transparency = Transparency,
  2896. ZOffset = ZOffset,
  2897. Acceleration = Accel,
  2898. Drag = Drag,
  2899. LockedToPart = LockedToPart,
  2900. VelocityInheritance = VelocityInheritance,
  2901. EmissionDirection = EmissionDirection,
  2902. Enabled = Enabled,
  2903. Lifetime = LifeTime,
  2904. Rate = Rate,
  2905. Rotation = Rotation,
  2906. RotSpeed = RotSpeed,
  2907. Speed = Speed,
  2908. VelocitySpread = VelocitySpread
  2909. })
  2910. return fp
  2911. end
  2912. }
  2913. }
  2914. function RemoveOutlines(part)
  2915. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2916. end
  2917. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2918. local Part = Create("Part")({
  2919. formFactor = FormFactor,
  2920. Parent = Parent,
  2921. Reflectance = Reflectance,
  2922. Transparency = Transparency,
  2923. CanCollide = false,
  2924. Locked = true,
  2925. BrickColor = BrickColor.new(tostring(BColor)),
  2926. Name = Name,
  2927. Size = Size,
  2928. Material = Material
  2929. })
  2930. RemoveOutlines(Part)
  2931. return Part
  2932. end
  2933. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2934. local Msh = Create(Mesh)({
  2935. Parent = Part,
  2936. Offset = OffSet,
  2937. Scale = Scale
  2938. })
  2939. if Mesh == "SpecialMesh" then
  2940. Msh.MeshType = MeshType
  2941. Msh.MeshId = MeshId
  2942. end
  2943. return Msh
  2944. end
  2945. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2946. local Weld = Create("Weld")({
  2947. Parent = Parent,
  2948. Part0 = Part0,
  2949. Part1 = Part1,
  2950. C0 = C0,
  2951. C1 = C1
  2952. })
  2953. return Weld
  2954. end
  2955.  
  2956.  
  2957. -------------------------------------------------------
  2958. --Start Effect Function--
  2959. -------------------------------------------------------
  2960. EffectModel = Instance.new("Model", char)
  2961. Effects = {
  2962. Block = {
  2963. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2964. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2965. prt.Anchored = true
  2966. prt.CFrame = cframe
  2967. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2968. game:GetService("Debris"):AddItem(prt, 10)
  2969. if Type == 1 or Type == nil then
  2970. table.insert(Effects, {
  2971. prt,
  2972. "Block1",
  2973. delay,
  2974. x3,
  2975. y3,
  2976. z3,
  2977. msh
  2978. })
  2979. elseif Type == 2 then
  2980. table.insert(Effects, {
  2981. prt,
  2982. "Block2",
  2983. delay,
  2984. x3,
  2985. y3,
  2986. z3,
  2987. msh
  2988. })
  2989. else
  2990. table.insert(Effects, {
  2991. prt,
  2992. "Block3",
  2993. delay,
  2994. x3,
  2995. y3,
  2996. z3,
  2997. msh
  2998. })
  2999. end
  3000. end
  3001. },
  3002. Sphere = {
  3003. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3004. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3005. prt.Anchored = true
  3006. prt.CFrame = cframe
  3007. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3008. game:GetService("Debris"):AddItem(prt, 10)
  3009. table.insert(Effects, {
  3010. prt,
  3011. "Cylinder",
  3012. delay,
  3013. x3,
  3014. y3,
  3015. z3,
  3016. msh
  3017. })
  3018. end
  3019. },
  3020. Cylinder = {
  3021. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3022. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3023. prt.Anchored = true
  3024. prt.CFrame = cframe
  3025. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3026. game:GetService("Debris"):AddItem(prt, 10)
  3027. table.insert(Effects, {
  3028. prt,
  3029. "Cylinder",
  3030. delay,
  3031. x3,
  3032. y3,
  3033. z3,
  3034. msh
  3035. })
  3036. end
  3037. },
  3038. Wave = {
  3039. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3040. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3041. prt.Anchored = true
  3042. prt.CFrame = cframe
  3043. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  3044. game:GetService("Debris"):AddItem(prt, 10)
  3045. table.insert(Effects, {
  3046. prt,
  3047. "Cylinder",
  3048. delay,
  3049. x3 / 60,
  3050. y3 / 60,
  3051. z3 / 60,
  3052. msh
  3053. })
  3054. end
  3055. },
  3056. Ring = {
  3057. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3058. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3059. prt.Anchored = true
  3060. prt.CFrame = cframe
  3061. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3062. game:GetService("Debris"):AddItem(prt, 10)
  3063. table.insert(Effects, {
  3064. prt,
  3065. "Cylinder",
  3066. delay,
  3067. x3,
  3068. y3,
  3069. z3,
  3070. msh
  3071. })
  3072. end
  3073. },
  3074. Break = {
  3075. Create = function(brickcolor, cframe, x1, y1, z1)
  3076. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3077. prt.Anchored = true
  3078. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3079. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3080. local num = math.random(10, 50) / 1000
  3081. game:GetService("Debris"):AddItem(prt, 10)
  3082. table.insert(Effects, {
  3083. prt,
  3084. "Shatter",
  3085. num,
  3086. prt.CFrame,
  3087. math.random() - math.random(),
  3088. 0,
  3089. math.random(50, 100) / 100
  3090. })
  3091. end
  3092. },
  3093. Spiral = {
  3094. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3095. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3096. prt.Anchored = true
  3097. prt.CFrame = cframe
  3098. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3099. game:GetService("Debris"):AddItem(prt, 10)
  3100. table.insert(Effects, {
  3101. prt,
  3102. "Cylinder",
  3103. delay,
  3104. x3,
  3105. y3,
  3106. z3,
  3107. msh
  3108. })
  3109. end
  3110. },
  3111. Push = {
  3112. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3113. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3114. prt.Anchored = true
  3115. prt.CFrame = cframe
  3116. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3117. game:GetService("Debris"):AddItem(prt, 10)
  3118. table.insert(Effects, {
  3119. prt,
  3120. "Cylinder",
  3121. delay,
  3122. x3,
  3123. y3,
  3124. z3,
  3125. msh
  3126. })
  3127. end
  3128. }
  3129. }
  3130. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  3131. local fp = IT("Part")
  3132. fp.formFactor = formfactor
  3133. fp.Parent = parent
  3134. fp.Reflectance = reflectance
  3135. fp.Transparency = transparency
  3136. fp.CanCollide = false
  3137. fp.Locked = true
  3138. fp.BrickColor = brickcolor
  3139. fp.Name = name
  3140. fp.Size = size
  3141. fp.Position = tors.Position
  3142. RemoveOutlines(fp)
  3143. fp.Material = "SmoothPlastic"
  3144. fp:BreakJoints()
  3145. return fp
  3146. end
  3147.  
  3148. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3149. local mesh = IT(Mesh)
  3150. mesh.Parent = part
  3151. if Mesh == "SpecialMesh" then
  3152. mesh.MeshType = meshtype
  3153. if meshid ~= "nil" then
  3154. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  3155. end
  3156. end
  3157. mesh.Offset = offset
  3158. mesh.Scale = scale
  3159. return mesh
  3160. end
  3161.  
  3162. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  3163. local type = type
  3164. local rng = Instance.new("Part", char)
  3165. rng.Anchored = true
  3166. rng.BrickColor = color
  3167. rng.CanCollide = false
  3168. rng.FormFactor = 3
  3169. rng.Name = "Ring"
  3170. rng.Material = "Neon"
  3171. rng.Size = Vector3.new(1, 1, 1)
  3172. rng.Transparency = 0
  3173. rng.TopSurface = 0
  3174. rng.BottomSurface = 0
  3175. rng.CFrame = pos
  3176. local rngm = Instance.new("SpecialMesh", rng)
  3177. rngm.MeshType = MType
  3178. rngm.Scale = scale
  3179. local scaler2 = 1
  3180. if type == "Add" then
  3181. scaler2 = 1 * value
  3182. elseif type == "Divide" then
  3183. scaler2 = 1 / value
  3184. end
  3185. coroutine.resume(coroutine.create(function()
  3186. for i = 0, 10 / bonuspeed, 0.1 do
  3187. swait()
  3188. if type == "Add" then
  3189. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3190. elseif type == "Divide" then
  3191. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3192. end
  3193. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3194. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  3195. end
  3196. rng:Destroy()
  3197. end))
  3198. end
  3199.  
  3200. function Eviscerate(dude)
  3201. if dude.Name ~= char then
  3202. local bgf = IT("BodyGyro", dude.Head)
  3203. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3204. local val = IT("BoolValue", dude)
  3205. val.Name = "IsHit"
  3206. local ds = coroutine.wrap(function()
  3207. dude:WaitForChild("Head"):BreakJoints()
  3208. wait(0.5)
  3209. target = nil
  3210. coroutine.resume(coroutine.create(function()
  3211. for i, v in pairs(dude:GetChildren()) do
  3212. if v:IsA("Accessory") then
  3213. v:Destroy()
  3214. end
  3215. if v:IsA("Humanoid") then
  3216. v:Destroy()
  3217. end
  3218. if v:IsA("CharacterMesh") then
  3219. v:Destroy()
  3220. end
  3221. if v:IsA("Model") then
  3222. v:Destroy()
  3223. end
  3224. if v:IsA("Part") or v:IsA("MeshPart") then
  3225. for x, o in pairs(v:GetChildren()) do
  3226. if o:IsA("Decal") then
  3227. o:Destroy()
  3228. end
  3229. end
  3230. coroutine.resume(coroutine.create(function()
  3231. v.Material = "Neon"
  3232. v.CanCollide = false
  3233. local PartEmmit1 = IT("ParticleEmitter", v)
  3234. PartEmmit1.LightEmission = 1
  3235. PartEmmit1.Texture = "rbxassetid://284205403"
  3236. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3237. PartEmmit1.Rate = 150
  3238. PartEmmit1.Lifetime = NumberRange.new(1)
  3239. PartEmmit1.Size = NumberSequence.new({
  3240. NumberSequenceKeypoint.new(0, 0.75, 0),
  3241. NumberSequenceKeypoint.new(1, 0, 0)
  3242. })
  3243. PartEmmit1.Transparency = NumberSequence.new({
  3244. NumberSequenceKeypoint.new(0, 0, 0),
  3245. NumberSequenceKeypoint.new(1, 1, 0)
  3246. })
  3247. PartEmmit1.Speed = NumberRange.new(0, 0)
  3248. PartEmmit1.VelocitySpread = 30000
  3249. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  3250. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  3251. local BodPoss = IT("BodyPosition", v)
  3252. BodPoss.P = 3000
  3253. BodPoss.D = 1000
  3254. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3255. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3256. v.Color = maincolor.Color
  3257. coroutine.resume(coroutine.create(function()
  3258. for i = 0, 49 do
  3259. swait(1)
  3260. v.Transparency = v.Transparency + 0.08
  3261. end
  3262. wait(0.5)
  3263. PartEmmit1.Enabled = false
  3264. wait(3)
  3265. v:Destroy()
  3266. dude:Destroy()
  3267. end))
  3268. end))
  3269. end
  3270. end
  3271. end))
  3272. end)
  3273. ds()
  3274. end
  3275. end
  3276.  
  3277. function FindNearestHead(Position, Distance, SinglePlayer)
  3278. if SinglePlayer then
  3279. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  3280. end
  3281. local List = {}
  3282. for i, v in pairs(workspace:GetChildren()) do
  3283. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  3284. table.insert(List, v)
  3285. end
  3286. end
  3287. return List
  3288. end
  3289.  
  3290. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  3291. local type = type
  3292. local rng = Instance.new("Part", char)
  3293. rng.Anchored = true
  3294. rng.BrickColor = color
  3295. rng.CanCollide = false
  3296. rng.FormFactor = 3
  3297. rng.Name = "Ring"
  3298. rng.Material = "Neon"
  3299. rng.Size = Vector3.new(1, 1, 1)
  3300. rng.Transparency = 0
  3301. rng.TopSurface = 0
  3302. rng.BottomSurface = 0
  3303. rng.CFrame = pos
  3304. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  3305. local rngm = Instance.new("SpecialMesh", rng)
  3306. rngm.MeshType = MType
  3307. rngm.Scale = Vector3.new(x1, y1, z1)
  3308. local scaler2 = 1
  3309. local speeder = FastSpeed
  3310. if type == "Add" then
  3311. scaler2 = 1 * value
  3312. elseif type == "Divide" then
  3313. scaler2 = 1 / value
  3314. end
  3315. coroutine.resume(coroutine.create(function()
  3316. for i = 0, 10 / bonuspeed, 0.1 do
  3317. swait()
  3318. if type == "Add" then
  3319. scaler2 = scaler2 - 0.01 * value / bonuspeed
  3320. elseif type == "Divide" then
  3321. scaler2 = scaler2 - 0.01 / value * bonuspeed
  3322. end
  3323. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  3324. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  3325. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  3326. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  3327. end
  3328. rng:Destroy()
  3329. end))
  3330. end
  3331.  
  3332. function SoulSteal(dude)
  3333. if dude.Name ~= char then
  3334. local bgf = IT("BodyGyro", dude.Head)
  3335. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  3336. local val = IT("BoolValue", dude)
  3337. val.Name = "IsHit"
  3338. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  3339. local soulst = coroutine.wrap(function()
  3340. local soul = Instance.new("Part",dude)
  3341. soul.Size = Vector3.new(1,1,1)
  3342. soul.CanCollide = false
  3343. soul.Anchored = false
  3344. soul.Position = torso.Position
  3345. soul.Transparency = 1
  3346. local PartEmmit1 = IT("ParticleEmitter", soul)
  3347. PartEmmit1.LightEmission = 1
  3348. PartEmmit1.Texture = "rbxassetid://569507414"
  3349. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3350. PartEmmit1.Rate = 250
  3351. PartEmmit1.Lifetime = NumberRange.new(1.6)
  3352. PartEmmit1.Size = NumberSequence.new({
  3353. NumberSequenceKeypoint.new(0, 1, 0),
  3354. NumberSequenceKeypoint.new(1, 0, 0)
  3355. })
  3356. PartEmmit1.Transparency = NumberSequence.new({
  3357. NumberSequenceKeypoint.new(0, 0, 0),
  3358. NumberSequenceKeypoint.new(1, 1, 0)
  3359. })
  3360. PartEmmit1.Speed = NumberRange.new(0, 0)
  3361. PartEmmit1.VelocitySpread = 30000
  3362. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  3363. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  3364. local BodPoss = IT("BodyPosition", soul)
  3365. BodPoss.P = 3000
  3366. BodPoss.D = 1000
  3367. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3368. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  3369. wait(1.6)
  3370. soul.Touched:connect(function(hit)
  3371. if hit.Parent == char then
  3372. soul:Destroy()
  3373. end
  3374. end)
  3375. wait(1.2)
  3376. while soul do
  3377. swait()
  3378. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  3379. BodPoss.Position = tors.Position
  3380. end
  3381. end)
  3382. soulst()
  3383. end
  3384. end
  3385. function FaceMouse()
  3386. local Cam = workspace.CurrentCamera
  3387. return {
  3388. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3389. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3390. }
  3391. end
  3392. -------------------------------------------------------
  3393. --End Effect Function--
  3394. -------------------------------------------------------
  3395. function Cso(ID, PARENT, VOLUME, PITCH)
  3396. local NSound = nil
  3397. coroutine.resume(coroutine.create(function()
  3398. NSound = IT("Sound", PARENT)
  3399. NSound.Volume = VOLUME
  3400. NSound.Pitch = PITCH
  3401. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  3402. swait()
  3403. NSound:play()
  3404. game:GetService("Debris"):AddItem(NSound, 10)
  3405. end))
  3406. return NSound
  3407. end
  3408. function CameraEnshaking(Length, Intensity)
  3409. coroutine.resume(coroutine.create(function()
  3410. local intensity = 1 * Intensity
  3411. local rotM = 0.01 * Intensity
  3412. for i = 0, Length, 0.1 do
  3413. swait()
  3414. intensity = intensity - 0.05 * Intensity / Length
  3415. rotM = rotM - 5.0E-4 * Intensity / Length
  3416. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  3417. 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)
  3418. end
  3419. hum.CameraOffset = Vector3.new(0, 0, 0)
  3420. end))
  3421. end
  3422. function chatfunc(text, color)
  3423. local chat = coroutine.wrap(function()
  3424. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  3425. char:FindFirstChild("TalkingBillBoard"):destroy()
  3426. end
  3427. local naeeym2 = Instance.new("BillboardGui", char)
  3428. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  3429. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  3430. naeeym2.Adornee = hed
  3431. naeeym2.Name = "TalkingBillBoard"
  3432. local tecks2 = Instance.new("TextLabel", naeeym2)
  3433. tecks2.BackgroundTransparency = 1
  3434. tecks2.BorderSizePixel = 0
  3435. tecks2.Text = ""
  3436. tecks2.Font = "SciFi"
  3437. tecks2.TextSize = 30
  3438. tecks2.TextStrokeTransparency = 0
  3439. tecks2.TextColor3 = color
  3440. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  3441. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  3442. coroutine.resume(coroutine.create(function()
  3443. while true do
  3444. swait(1)
  3445. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  3446. tecks2.Rotation = math.random(-5, 5)
  3447. end
  3448. end))
  3449. for i = 1, string.len(text) do
  3450. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  3451. tecks2.Text = string.sub(text, 1, i)
  3452. swait(1)
  3453. end
  3454. wait(1)
  3455. naeeym2:Destroy()
  3456. end)
  3457. chat()
  3458. end
  3459. -------------------------------------------------------
  3460. --End Important Functions--
  3461. -------------------------------------------------------
  3462.  
  3463. -------------------------------------------------------
  3464. --Start Customization--
  3465. -------------------------------------------------------
  3466. local Player_Size = 1
  3467. if Player_Size ~= 1 then
  3468. root.Size = root.Size * Player_Size
  3469. tors.Size = tors.Size * Player_Size
  3470. hed.Size = hed.Size * Player_Size
  3471. ra.Size = ra.Size * Player_Size
  3472. la.Size = la.Size * Player_Size
  3473. rl.Size = rl.Size * Player_Size
  3474. ll.Size = ll.Size * Player_Size
  3475. ----------------------------------------------------------------------------------
  3476. rootj.Parent = root
  3477. neck.Parent = tors
  3478. RW.Parent = tors
  3479. LW.Parent = tors
  3480. RH.Parent = tors
  3481. LH.Parent = tors
  3482. ----------------------------------------------------------------------------------
  3483. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3484. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  3485. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  3486. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  3487. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  3488. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  3489. ----------------------------------------------------------------------------------
  3490. 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))
  3491. 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))
  3492. 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))
  3493. 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))
  3494. --hat.Parent = Character
  3495. end
  3496. ----------------------------------------------------------------------------------
  3497. local equipped = false
  3498. local idle = 0
  3499. local change = 1
  3500. local val = 0
  3501. local toim = 0
  3502. local idleanim = 0.4
  3503. local sine = 0
  3504. local Sit = 1
  3505. ----------------------------------------------------------------------------------
  3506. local SONG = 2241060797
  3507. local SONG2 = 0
  3508. local Music = Instance.new("Sound",tors)
  3509. Music.Volume = 2.5
  3510. Music.Looped = true
  3511. Music.Pitch = 1 --Pitcher
  3512. ----------------------------------------------------------------------------------
  3513. local Orin = "http://www.roblox.com/asset/?id=236455674"
  3514. Head.face.Texture = Orin
  3515. function weld(a, b, acf)
  3516. local w = Instance.new("Weld", a)
  3517. w.Part0 = a
  3518. w.Part1 = b
  3519. w.C0 = acf
  3520. end
  3521. for i,v in pairs(char:GetChildren()) do
  3522. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  3523. v:destroy()
  3524. end
  3525. end
  3526.  
  3527. local Hair = Instance.new("Part")
  3528. Hair.Parent = char
  3529. Hair.Name = "Hair"
  3530. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  3531. Hair.CFrame = char.Head.CFrame
  3532. Hair:BreakJoints()
  3533. Hair.CanCollide = false
  3534. Hair.BrickColor = BrickColor.new("New Yeller")
  3535. Hair.TopSurface = "Smooth"
  3536. Hair.BottomSurface = "Smooth"
  3537. Weld = Instance.new("Weld")
  3538. Weld.Name = "Weld"
  3539. Weld.Part0 = char.Torso
  3540. Weld.Part1 = Hair
  3541. Weld.Parent = char.Torso
  3542. Weld.C0 = CFrame.new(0, 0.3, 0.6)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3543. Mesh = Instance.new("SpecialMesh")
  3544. Mesh.Parent = Hair
  3545. Mesh.MeshId = "rbxassetid://67993325"
  3546. Mesh.TextureId = "http://www.roblox.com/asset/?id=106676672"
  3547. Mesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  3548. ----------------------------------------------------------------------------------
  3549. local Hair = Instance.new("Part")
  3550. Hair.Parent = char
  3551. Hair.Name = "Hair"
  3552. Hair.Size = Vector3.new(1, 0.4, 1)
  3553. Hair.CFrame = char.Head.CFrame
  3554. Hair:BreakJoints()
  3555. Hair.CanCollide = false
  3556. Hair.BrickColor = BrickColor.new("New Yeller")
  3557. Hair.TopSurface = "Smooth"
  3558. Hair.BottomSurface = "Smooth"
  3559. Weld = Instance.new("Weld")
  3560. Weld.Name = "Weld"
  3561. Weld.Part0 = char.Head
  3562. Weld.Part1 = Hair
  3563. Weld.Parent = char.Head
  3564. Weld.C0 = CFrame.new(0, 0.2, -0.2)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3565. Mesh = Instance.new("SpecialMesh")
  3566. Mesh.Parent = Hair
  3567. Mesh.MeshId = "rbxassetid://11419729"
  3568. Mesh.TextureId = "http://www.roblox.com/asset/?id=112346956"
  3569. Mesh.Scale = Vector3.new(1, 1, 1)
  3570. ----------------------------------------------------------------------------------
  3571. local Hair = Instance.new("Part")
  3572. Hair.Parent = char
  3573. Hair.Name = "Hair"
  3574. Hair.Size = Vector3.new(1, 0.4, 1)
  3575. Hair.CFrame = char.Head.CFrame
  3576. Hair:BreakJoints()
  3577. Hair.CanCollide = false
  3578. Hair.BrickColor = BrickColor.new("New Yeller")
  3579. Hair.TopSurface = "Smooth"
  3580. Hair.BottomSurface = "Smooth"
  3581. Weld = Instance.new("Weld")
  3582. Weld.Name = "Weld"
  3583. Weld.Part0 = char.Head
  3584. Weld.Part1 = Hair
  3585. Weld.Parent = char.Head
  3586. Weld.C0 = CFrame.new(0, 0.5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3587. Mesh = Instance.new("SpecialMesh")
  3588. Mesh.Parent = Hair
  3589. Mesh.MeshId = "rbxassetid://16627529"
  3590. Mesh.TextureId = "http://www.roblox.com/asset/?id=16627494"
  3591. Mesh.Scale = Vector3.new(1.1, 1.1, 1.1)
  3592. ----------------------------------------------------------------------------------
  3593. local Hair = Instance.new("Part")
  3594. Hair.Parent = char
  3595. Hair.Name = "Hair"
  3596. Hair.Size = Vector3.new(0.99, 2.03, 2.45)
  3597. Hair.CFrame = char.Head.CFrame
  3598. Hair:BreakJoints()
  3599. Hair.CanCollide = false
  3600. Hair.BrickColor = BrickColor.new("New Yeller")
  3601. Hair.TopSurface = "Smooth"
  3602. Hair.BottomSurface = "Smooth"
  3603. Weld = Instance.new("Weld")
  3604. Weld.Name = "Weld"
  3605. Weld.Part0 = char.Torso
  3606. Weld.Part1 = Hair
  3607. Weld.Parent = char.Torso
  3608. Weld.C0 = CFrame.new(0.3, 0.1, 1.8)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3609. Mesh = Instance.new("SpecialMesh")
  3610. Mesh.Parent = Hair
  3611. Mesh.MeshId = "rbxassetid://170939831"
  3612. Mesh.TextureId = "http://www.roblox.com/asset/?id=170939093"
  3613. Mesh.Scale = Vector3.new(1, 1, 1)
  3614. ----------------------------------------------------------------------------------
  3615. local Shirt = "rbxassetid://1328938028"
  3616. local Pants = "rbxassetid://1033898637"
  3617.  
  3618. ypcall(function()
  3619. shirt = Instance.new("Shirt", char)
  3620. shirt.Name = "Shirt"
  3621. pants = Instance.new("Pants", char)
  3622. pants.Name = "Pants"
  3623. char.Shirt.ShirtTemplate = Shirt
  3624. char.Pants.PantsTemplate = Pants
  3625. end)
  3626.  
  3627. shirt.Name = "aomFetty"
  3628. pants.Name = "aomFetty"
  3629. hum.WalkSpeed = 16
  3630. hum.JumpPower = 70
  3631. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999
  3632. hum.Health = 999999999999999999999999999999999999999999999999999999999999999999
  3633. hum.Animator.Parent = nil
  3634. ----------------------------------------------------------------------------------
  3635. local naeeym2 = Instance.new("BillboardGui",char)
  3636. naeeym2.AlwaysOnTop = true
  3637. naeeym2.Size = UDim2.new(5,35,2,15)
  3638. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  3639. naeeym2.Adornee = hed
  3640. naeeym2.Name = "Name"
  3641. --naeeym2.PlayerToHideFrom = Player
  3642. local tecks2 = Instance.new("TextLabel",naeeym2)
  3643. tecks2.BackgroundTransparency = 1
  3644. tecks2.TextScaled = true
  3645. tecks2.BorderSizePixel = 0
  3646. tecks2.Text = "The Killer Dragon"
  3647. tecks2.Font = Enum.Font.Antique
  3648. tecks2.TextSize = 30
  3649. tecks2.TextStrokeTransparency = 0
  3650. tecks2.TextColor3 = Color3.new(255, 0, 0)
  3651. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  3652. tecks2.Size = UDim2.new(1,0,0.5,0)
  3653. tecks2.Parent = naeeym2
  3654. wait(1)
  3655. tecks2.Text = "BY: ZNK"
  3656. wait(2)
  3657. tecks2.Text = "NOPE"
  3658. wait(3)
  3659. tecks2.Text = "lol help.."
  3660. --------------------------------------------------------
  3661. local EyeSizes={
  3662. NumberSequenceKeypoint.new(0,0.65,0),
  3663. NumberSequenceKeypoint.new(0.5,0.7,0),
  3664. NumberSequenceKeypoint.new(1,0,0)
  3665. }
  3666. local EyeTrans={
  3667. NumberSequenceKeypoint.new(0,0,0),
  3668. NumberSequenceKeypoint.new(0.5,0,0),
  3669. NumberSequenceKeypoint.new(1,1,0)
  3670. }
  3671. local PE2=Instance.new("ParticleEmitter", ra)
  3672. PE2.LightEmission=.9
  3673. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3674. PE2.Transparency=NumberSequence.new(EyeTrans)
  3675. PE2.Lifetime=NumberRange.new(0.35)
  3676. PE2.Rotation=NumberRange.new(0,360)
  3677. PE2.Rate=999
  3678. PE2.VelocitySpread = 10000
  3679. PE2.Acceleration = Vector3.new(0,25,0)
  3680. PE2.ZOffset = 0.5
  3681. PE2.Drag = 0
  3682. PE2.Speed = NumberRange.new(0,0,0)
  3683. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3684. PE2.Name = "PE2"
  3685. PE2.Enabled = true
  3686. PE2.LockedToPart = true
  3687. local EyeSizes={
  3688. NumberSequenceKeypoint.new(0,0.65,0),
  3689. NumberSequenceKeypoint.new(0.5,0.7,0),
  3690. NumberSequenceKeypoint.new(1,0,0)
  3691. }
  3692. local EyeTrans={
  3693. NumberSequenceKeypoint.new(0,0,0),
  3694. NumberSequenceKeypoint.new(0.5,0,0),
  3695. NumberSequenceKeypoint.new(1,1,0)
  3696. }
  3697. local PE3=Instance.new("ParticleEmitter", ra)
  3698. PE3.LightEmission=.9
  3699. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3700. PE3.Transparency=NumberSequence.new(EyeTrans)
  3701. PE3.Lifetime=NumberRange.new(0.35)
  3702. PE3.Rotation=NumberRange.new(0,360)
  3703. PE3.Rate=999
  3704. PE3.VelocitySpread = 10000
  3705. PE3.Acceleration = Vector3.new(0,25,0)
  3706. PE3.ZOffset = 0.5
  3707. PE3.Drag = 0
  3708. PE3.Speed = NumberRange.new(0,0,0)
  3709. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3710. PE3.Name = "PE3"
  3711. PE3.Enabled = true
  3712. PE3.LockedToPart = true
  3713.  
  3714. local EyeSizes={
  3715. NumberSequenceKeypoint.new(0,0.65,0),
  3716. NumberSequenceKeypoint.new(0.5,0.7,0),
  3717. NumberSequenceKeypoint.new(1,0,0)
  3718. }
  3719. local EyeTrans={
  3720. NumberSequenceKeypoint.new(0,0,0),
  3721. NumberSequenceKeypoint.new(0.5,0,0),
  3722. NumberSequenceKeypoint.new(1,1,0)
  3723. }
  3724. local PE4=Instance.new("ParticleEmitter", ll)
  3725. PE4.LightEmission=.9
  3726. PE4.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  3727. PE4.Transparency=NumberSequence.new(EyeTrans)
  3728. PE4.Lifetime=NumberRange.new(0.35)
  3729. PE4.Rotation=NumberRange.new(0,360)
  3730. PE4.Rate=999
  3731. PE4.VelocitySpread = 10000
  3732. PE4.Acceleration = Vector3.new(0,25,0)
  3733. PE4.ZOffset = 0.5
  3734. PE4.Drag = 0
  3735. PE4.Speed = NumberRange.new(0,0,0)
  3736. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3737. PE4.Name = "PE4"
  3738. PE4.Enabled = true
  3739. PE4.LockedToPart = true
  3740. local EyeSizes={
  3741. NumberSequenceKeypoint.new(0,0.65,0),
  3742. NumberSequenceKeypoint.new(0.5,0.7,0),
  3743. NumberSequenceKeypoint.new(1,0,0)
  3744. }
  3745. local EyeTrans={
  3746. NumberSequenceKeypoint.new(0,0,0),
  3747. NumberSequenceKeypoint.new(0.5,0,0),
  3748. NumberSequenceKeypoint.new(1,1,0)
  3749. }
  3750. local PE5=Instance.new("ParticleEmitter", ll)
  3751. PE5.LightEmission=.9
  3752. PE5.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  3753. PE5.Transparency=NumberSequence.new(EyeTrans)
  3754. PE5.Lifetime=NumberRange.new(0.35)
  3755. PE5.Rotation=NumberRange.new(0,360)
  3756. PE5.Rate=999
  3757. PE5.VelocitySpread = 10000
  3758. PE5.Acceleration = Vector3.new(0,25,0)
  3759. PE5.ZOffset = 0.5
  3760. PE5.Drag = 0
  3761. PE5.Speed = NumberRange.new(0,0,0)
  3762. PE5.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  3763. PE5.Name = "PE5"
  3764. PE5.Enabled = true
  3765. PE5.LockedToPart = true
  3766. -------------------------------------------------------
  3767. --End Customization--
  3768. -------------------------------------------------------
  3769.  
  3770.  
  3771. -------------------------------------------------------
  3772. --Start Attacks N Stuff--
  3773. -------------------------------------------------------
  3774. function attackone()
  3775. attack = true
  3776. hum.WalkSpeed = 3.01
  3777. for i = 0, 1.7, 0.1 do
  3778. swait()
  3779. 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)
  3780. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  3781. 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)
  3782. 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)
  3783. 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)
  3784. 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)
  3785. end
  3786. Cso("203426541", ra, 10, 1)
  3787. for i = 0, 1.4, 0.1 do
  3788. swait()
  3789. 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)
  3790. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3791. 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)
  3792. 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)
  3793. 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)
  3794. 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)
  3795. end
  3796. for i = 0, 1.4, 0.1 do
  3797. swait()
  3798. 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)
  3799. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3800. 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)
  3801. 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)
  3802. 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)
  3803. 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)
  3804. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  3805. if v:FindFirstChild("Head") then
  3806. Eviscerate(v)
  3807. end
  3808. end
  3809. end
  3810. attack = false
  3811. hum.WalkSpeed = 16
  3812. end
  3813. function attacktwo()
  3814. attack = true
  3815. hum.WalkSpeed = 3.01
  3816. for i = 0, 1.7, 0.1 do
  3817. swait()
  3818. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  3819. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  3820. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
  3821. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  3822. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  3823. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  3824. end
  3825. Cso("203426541", rl, 10, 1)
  3826. CameraEnshaking(2, 3)
  3827. for i = 0, 1.4, 0.1 do
  3828. swait()
  3829. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  3830. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  3831. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
  3832. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
  3833. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  3834. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  3835. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  3836. if v:FindFirstChild("Head") then
  3837. Eviscerate(v)
  3838. end
  3839. end
  3840. end
  3841. attack = false
  3842. hum.WalkSpeed = 16
  3843. end
  3844. function attackthree()
  3845. attack = true
  3846. hum.WalkSpeed = 3.01
  3847. for i = 0, 1.4, 0.1 do
  3848. swait()
  3849. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  3850. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3851. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
  3852. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
  3853. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  3854. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  3855. end
  3856. Cso("203426541", hed, 10, 1)
  3857. for i = 0, 1.7, 0.1 do
  3858. swait()
  3859. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  3860. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3861. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
  3862. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
  3863. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  3864. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  3865. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  3866. if v:FindFirstChild("Head") then
  3867. Eviscerate(v)
  3868. end
  3869. end
  3870. end
  3871. attack = false
  3872. hum.WalkSpeed = 16
  3873. end
  3874.  
  3875. function Distort()
  3876. attack = true
  3877. hum.WalkSpeed = 0
  3878. local pos = root.Position
  3879. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  3880. Cso("847061203", char, 10, 0.85)
  3881. for i = 1,2.5,0.1 do
  3882. swait()
  3883. 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)
  3884. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3885. 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)
  3886. 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)
  3887. 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)
  3888. 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)
  3889. end
  3890. attack = false
  3891. hum.WalkSpeed = 8
  3892. end
  3893. function Ancient_Rage()
  3894. attack = true
  3895. hum.WalkSpeed = 0
  3896. Cso("135017578", tors, 10, 1.05)
  3897. for i = 1,14,0.1 do
  3898. swait()
  3899. 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)
  3900. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3901. 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)
  3902. 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)
  3903. 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)
  3904. 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)
  3905. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  3906. if v:FindFirstChild("Head") then
  3907. Eviscerate(v)
  3908. end
  3909. end
  3910. end
  3911. attack = false
  3912. hum.WalkSpeed = 16
  3913. end
  3914. function Technobeam()
  3915. attack = true
  3916. hum.WalkSpeed = 3.01
  3917. for i = 0, 4, 0.1 do
  3918. swait()
  3919. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  3920. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  3921. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3922. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  3923. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  3924. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  3925. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  3926. end
  3927. for i = 0, 2, 0.1 do
  3928. swait()
  3929. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  3930. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  3931. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  3932. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  3933. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  3934. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  3935. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  3936. end
  3937. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  3938. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  3939. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  3940. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  3941. CameraEnshaking(4, 5)
  3942. Cso("206049428", char, 10, 1)
  3943. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  3944. if v:FindFirstChild("Head") then
  3945. Eviscerate(v)
  3946. end
  3947. end
  3948. for i = 0, 2, 0.1 do
  3949. swait()
  3950. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  3951. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  3952. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3953. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  3954. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  3955. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  3956. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  3957. end
  3958. hum.WalkSpeed = 16
  3959. attack = false
  3960. end
  3961. function Taunt10000()
  3962. attack = true
  3963. Cso("333446256", char, 10, 1)
  3964. for i = 0, 15, 0.1 do
  3965. swait()
  3966. 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)
  3967. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3968. 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)
  3969. 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)
  3970. 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)
  3971. 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)
  3972. end
  3973. for i = 0, 15, 0.1 do
  3974. swait()
  3975. 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)
  3976. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3977. 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)
  3978. 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)
  3979. 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)
  3980. 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)
  3981. end
  3982. for i = 0, 20, 0.1 do
  3983. swait()
  3984. 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)
  3985. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3986. 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)
  3987. 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)
  3988. 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)
  3989. 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)
  3990. end
  3991. attack = false
  3992. end
  3993. function OP9999()
  3994. attack = true
  3995. hum.WalkSpeed = 3.01
  3996. Cso("1690476035",char, 10, 1)
  3997. for i = 0,5.2,0.1 do
  3998. swait()
  3999. Effects.Block.Create(BrickC("Really red"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  4000. 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)
  4001. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4002. 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)
  4003. 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)
  4004. 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)
  4005. 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)
  4006. end
  4007. Cso("824687369", char, 10, 1)
  4008. for i = 0,3.7,0.1 do
  4009. swait()
  4010. 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)
  4011. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  4012. 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)
  4013. 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)
  4014. 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)
  4015. 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)
  4016. CameraEnshaking(2, 8)
  4017. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  4018. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  4019. if v:FindFirstChild("Head") then
  4020. Eviscerate(v)
  4021. end
  4022. end
  4023. end
  4024. attack = false
  4025. hum.WalkSpeed = 16
  4026. end
  4027. -------------------------------------------------------
  4028. --End Attacks N Stuff--
  4029. -------------------------------------------------------
  4030. mouse.KeyDown:connect(function(key)
  4031. if key == 'q' then
  4032. Swing = 2
  4033. hum.WalkSpeed = 40
  4034. end
  4035. end)
  4036. mouse.KeyUp:connect(function(key)
  4037. if key == 'q' then
  4038. Swing = 1
  4039. hum.WalkSpeed = 16
  4040. end
  4041. end)
  4042.  
  4043. mouse.KeyDown:connect(function(key)
  4044. if attack == false then
  4045. if key == 'e' then
  4046. Ancient_Rage()
  4047. elseif key == 'r' then
  4048. Distort()
  4049. elseif key == 't' then
  4050. Taunt10000()
  4051. elseif key == 'f' then
  4052. Technobeam()
  4053. elseif key == 'g' then
  4054. OP9999()
  4055. elseif key == 'h' then
  4056.  
  4057. end
  4058. end
  4059. end)
  4060. local Combo = 1
  4061. mouse.Button1Down:connect(function(key)
  4062. if attack == false then
  4063. if Combo == 1 then
  4064. Combo = 2
  4065. attackone()
  4066. elseif Combo == 2 then
  4067. Combo = 3
  4068. attacktwo()
  4069. elseif Combo == 3 then
  4070. Combo = 1
  4071. attackthree()
  4072. end
  4073. end
  4074. end)
  4075. -------------------------------------------------------
  4076. --Start Animations--
  4077. -------------------------------------------------------
  4078. while true do
  4079. swait()
  4080. sine = sine + change
  4081. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  4082. local velderp = root.Velocity.y
  4083. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  4084. if equipped == true or equipped == false then
  4085. if attack == false then
  4086. idle = idle + 1
  4087. else
  4088. idle = 0
  4089. end
  4090. --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")
  4091. if 1 < root.Velocity.y and hitfloor == nil then
  4092. Anim = "Jump"
  4093. if attack == false then
  4094. 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)
  4095. 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)
  4096. 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)
  4097. 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)
  4098. 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)
  4099. 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)
  4100. end
  4101. elseif -1 > root.Velocity.y and hitfloor == nil then
  4102. Anim = "Fall"
  4103. if attack == false then
  4104. 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)
  4105. 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)
  4106. 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)
  4107. 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)
  4108. 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)
  4109. 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)
  4110. end
  4111. elseif torvel < 1 and hitfloor ~= nil then
  4112. Anim = "Idle"
  4113. change = 1
  4114. if attack == false then
  4115. 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)
  4116. 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)
  4117. 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)
  4118. 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)
  4119. 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)
  4120. 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)
  4121. end
  4122. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  4123. Anim = "Walk"
  4124. change = 1
  4125. if attack == false then
  4126. 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)
  4127. 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)
  4128. 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)
  4129. 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)
  4130. 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)
  4131. 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)
  4132. end
  4133. elseif torvel >= 25 and hitfloor ~= nil then
  4134. Anim = "Sprint"
  4135. change = 1.35
  4136. if attack == false then
  4137. 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)
  4138. 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)
  4139. 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)
  4140. 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)
  4141. 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)
  4142. 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)
  4143. end
  4144. end
  4145. end
  4146. Music.SoundId = "rbxassetid://"..SONG
  4147. Music.Looped = true
  4148. Music.Pitch = 1
  4149. Music.Volume = 1
  4150. Music.Parent = tors
  4151. Music:Resume()
  4152. if 0 < #Effects then
  4153. for e = 1, #Effects do
  4154. if Effects[e] ~= nil then
  4155. local Thing = Effects[e]
  4156. if Thing ~= nil then
  4157. local Part = Thing[1]
  4158. local Mode = Thing[2]
  4159. local Delay = Thing[3]
  4160. local IncX = Thing[4]
  4161. local IncY = Thing[5]
  4162. local IncZ = Thing[6]
  4163. if 1 >= Thing[1].Transparency then
  4164. if Thing[2] == "Block1" then
  4165. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4166. local Mesh = Thing[1].Mesh
  4167. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4168. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4169. elseif Thing[2] == "Block2" then
  4170. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  4171. local Mesh = Thing[7]
  4172. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4173. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4174. elseif Thing[2] == "Block3" then
  4175. 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)
  4176. local Mesh = Thing[7]
  4177. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4178. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4179. elseif Thing[2] == "Cylinder" then
  4180. local Mesh = Thing[1].Mesh
  4181. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4182. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4183. elseif Thing[2] == "Blood" then
  4184. local Mesh = Thing[7]
  4185. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  4186. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4187. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4188. elseif Thing[2] == "Elec" then
  4189. local Mesh = Thing[1].Mesh
  4190. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  4191. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4192. elseif Thing[2] == "Disappear" then
  4193. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4194. elseif Thing[2] == "Shatter" then
  4195. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4196. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4197. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4198. Thing[6] = Thing[6] + Thing[5]
  4199. end
  4200. else
  4201. Part.Parent = nil
  4202. table.remove(Effects, e)
  4203. end
  4204. end
  4205. end
  4206. end
  4207. end
  4208. end
  4209. -------------------------------------------------------
  4210. --End Animations And Script--
  4211. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement