Advertisement
Super_Nagga

Untitled

Apr 14th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.59 KB | None | 0 0
  1. --//=========================\\--
  2. --|| CREATED BY SHACKLUSTER ||--
  3. --\\=========================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28. sick.SoundId = "rbxassetid://818971480"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 10
  32. sick:Play()
  33. local sick2 = Instance.new("Sound",Character)
  34. sick2.SoundId = "rbxassetid://818971480"
  35. sick2.Looped = false
  36. sick2.Pitch = 1
  37. sick2.Volume = 10
  38. Humanoid.DisplayDistanceType = "None"
  39. Player:ClearCharacterAppearance()
  40.  
  41. IT = Instance.new
  42. CF = CFrame.new
  43. VT = Vector3.new
  44. RAD = math.rad
  45. C3 = Color3.new
  46. UD2 = UDim2.new
  47. BRICKC = BrickColor.new
  48. ANGLES = CFrame.Angles
  49. EULER = CFrame.fromEulerAnglesXYZ
  50. COS = math.cos
  51. ACOS = math.acos
  52. SIN = math.sin
  53. ASIN = math.asin
  54. ABS = math.abs
  55. MRANDOM = math.random
  56. FLOOR = math.floor
  57.  
  58. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  59. local NEWMESH = IT(MESH)
  60. if MESH == "SpecialMesh" then
  61. NEWMESH.MeshType = MESHTYPE
  62. if MESHID ~= "nil" and MESHID ~= "" then
  63. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  64. end
  65. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  66. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  67. end
  68. end
  69. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  70. NEWMESH.Scale = SCALE
  71. NEWMESH.Parent = PARENT
  72. return NEWMESH
  73. end
  74.  
  75. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  76. local NEWPART = IT("Part")
  77. NEWPART.formFactor = FORMFACTOR
  78. NEWPART.Reflectance = REFLECTANCE
  79. NEWPART.Transparency = TRANSPARENCY
  80. NEWPART.CanCollide = false
  81. NEWPART.Locked = true
  82. NEWPART.Anchored = true
  83. if ANCHOR == false then
  84. NEWPART.Anchored = false
  85. end
  86. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  87. NEWPART.Name = NAME
  88. NEWPART.Size = SIZE
  89. NEWPART.Position = Torso.Position
  90. NEWPART.Material = MATERIAL
  91. NEWPART:BreakJoints()
  92. NEWPART.Parent = PARENT
  93. return NEWPART
  94. end
  95.  
  96.  
  97.  
  98. local HBill = Instance.new("BillboardGui",Head)
  99. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  100. local HName = Instance.new("TextLabel")
  101. HBill.Size = UDim2.new(15,0,2.2,0)
  102. HBill.Name = "Health Display"
  103. HBill.StudsOffset = Vector3.new(3.675,2,0)
  104. HBill.AlwaysOnTop = true
  105. HBill.Enabled = true
  106. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  107. HMain.BackgroundTransparency = 1
  108. HMain.Size = UDim2.new(.5,0,.5,0)
  109. HName.Parent = HMain
  110. HName.BackgroundTransparency = 1
  111. HName.BackgroundColor3 = Color3.new(0,0,0)
  112. HName.BorderColor3 = Color3.new(0,0,0)
  113. HName.BorderSizePixel = 2
  114. HName.Size = UDim2.new(1,0,.75,0)
  115. HName.Font = "SciFi"
  116. HName.Text = "Calamity"
  117. HName.TextScaled = true
  118. HName.TextColor3 = Color3.new(255,0,0)
  119. HName.TextStrokeColor3 = Color3.new(0,0,0)
  120. HName.TextStrokeTransparency = 0
  121. HName.TextYAlignment = "Bottom"
  122.  
  123.  
  124. --//=================================\\
  125. --|| CUSTOMIZATION
  126. --\\=================================//
  127.  
  128. Class_Name = "SatanBot.exe"
  129. Weapon_Name = "Add-ons"
  130.  
  131. Custom_Colors = {
  132. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  133. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  134.  
  135. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  136. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  137. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  138. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  139. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  140.  
  141. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  142. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  143. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  144. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  145. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  146. }
  147.  
  148.  
  149. Player_Size = 1 --Size of the player.
  150. Animation_Speed = 3
  151. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  152.  
  153. local Speed = 35
  154. local Effects2 = {}
  155.  
  156. --//=================================\\
  157. --|| END OF CUSTOMIZATION
  158. --\\=================================//
  159.  
  160. local function weldBetween(a, b)
  161. local weldd = Instance.new("ManualWeld")
  162. weldd.Part0 = a
  163. weldd.Part1 = b
  164. weldd.C0 = CFrame.new()
  165. weldd.C1 = b.CFrame:inverse() * a.CFrame
  166. weldd.Parent = a
  167. return weldd
  168. end
  169.  
  170. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  171. local acs = Instance.new("Part")
  172. acs.CanCollide = false
  173. acs.Anchored = false
  174. acs.Size = Vector3.new(0,0,0)
  175. acs.CFrame = attachmentpart.CFrame
  176. acs.Parent = attachmentpart
  177. acs.BrickColor = color
  178. local meshs = Instance.new("SpecialMesh")
  179. meshs.MeshId = mesh
  180. meshs.TextureId = texture
  181. meshs.Parent = acs
  182. meshs.Scale = scale
  183. meshs.Offset = offset
  184. weldBetween(attachmentpart,acs)
  185. end
  186.  
  187. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  188. if TYPE == "Gem" then
  189. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  190. acs.Anchored = false
  191. acs.CanCollide = false
  192. acs.CFrame = PART.CFrame
  193. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  194. weldBetween(PART,acs)
  195. elseif TYPE == "Skull" then
  196. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  197. acs.Anchored = false
  198. acs.CanCollide = false
  199. acs.CFrame = PART.CFrame
  200. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  201. weldBetween(PART,acs)
  202. elseif TYPE == "Eye" then
  203. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  204. acs.Anchored = false
  205. acs.CanCollide = false
  206. acs.CFrame = PART.CFrame
  207. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  208. weldBetween(PART,acs)
  209. end
  210. end
  211.  
  212. createbodypart("Eye", "Ghost white", Head, VT(-0.2, 0, -0.55), VT(2, 6, 2))
  213. --//=================================\\
  214. --|| USEFUL VALUES
  215. --\\=================================//
  216.  
  217. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  218. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  219. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  220. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  221. local CO1 = 0
  222. local CO2 = 0
  223. local CO3 = 0
  224. local CO4 = 0
  225. local CHANGEDEFENSE = 0
  226. local CHANGEDAMAGE = 0
  227. local CHANGEMOVEMENT = 0
  228. local ANIM = "Idle"
  229. local ATTACK = false
  230. local EQUIPPED = false
  231. local HOLD = false
  232. local COMBO = 1
  233. local LASTPOINT = nil
  234. local BLCF = nil
  235. local SCFR = nil
  236. local KEYHOLD = false
  237. local STAGGERHITANIM = false
  238. local STAGGERANIM = false
  239. local STUNANIM = false
  240. local CRITCHANCENUMBER = 0
  241. local IDLENUMBER = 0
  242. local DONUMBER = 0
  243. local HANDIDLE = false
  244. local Rooted = false
  245. local SINE = 0
  246. local CHANGE = 2 / Animation_Speed
  247. local WALKINGANIM = false
  248. local WALK = 0
  249. local DANCE = false
  250. local DISABLEJUMPING = false
  251. local ROBLOXIDLEANIMATION = IT("Animation")
  252. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  253. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  254. --ROBLOXIDLEANIMATION.Parent = Humanoid
  255. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  256. WEAPONGUI.Name = "Weapon GUI"
  257. local Weapon = IT("Model")
  258. Weapon.Name = Weapon_Name
  259. local Effects = IT("Folder", Weapon)
  260. Effects.Name = "Effects"
  261. local Bombs = IT("Folder", Weapon)
  262. Bombs.Name = "BombsHolder"
  263. local ANIMATOR = Humanoid.Animator
  264. local ANIMATE = Character.Animate
  265. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  266. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  267. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  268. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  269. local UNANCHOR = true
  270. local MAGICPARTICLE = "655109389"
  271.  
  272. local SKILLTEXTCOLOR = C3(0,0,0)
  273.  
  274. --//=================================\\
  275. --\\=================================//
  276.  
  277.  
  278. --//=================================\\
  279. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  280. --\\=================================//
  281.  
  282. ArtificialHB = Instance.new("BindableEvent", script)
  283. ArtificialHB.Name = "ArtificialHB"
  284.  
  285. script:WaitForChild("ArtificialHB")
  286.  
  287. frame = Frame_Speed
  288. tf = 0
  289. allowframeloss = false
  290. tossremainder = false
  291. lastframe = tick()
  292. script.ArtificialHB:Fire()
  293.  
  294. game:GetService("RunService").Heartbeat:connect(function(s, p)
  295. tf = tf + s
  296. if tf >= frame then
  297. if allowframeloss then
  298. script.ArtificialHB:Fire()
  299. lastframe = tick()
  300. else
  301. for i = 1, math.floor(tf / frame) do
  302. script.ArtificialHB:Fire()
  303. end
  304. lastframe = tick()
  305. end
  306. if tossremainder then
  307. tf = 0
  308. else
  309. tf = tf - frame * math.floor(tf / frame)
  310. end
  311. end
  312. end)
  313.  
  314. --//=================================\\
  315. --\\=================================//
  316.  
  317.  
  318.  
  319.  
  320.  
  321. --//=================================\\
  322. --|| SOME FUNCTIONS
  323. --\\=================================//
  324.  
  325. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  326. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  327. end
  328.  
  329. function PositiveAngle(NUMBER)
  330. if NUMBER >= 0 then
  331. NUMBER = 0
  332. end
  333. return NUMBER
  334. end
  335.  
  336. function NegativeAngle(NUMBER)
  337. if NUMBER <= 0 then
  338. NUMBER = 0
  339. end
  340. return NUMBER
  341. end
  342.  
  343. function Swait(NUMBER)
  344. if NUMBER == 0 or NUMBER == nil then
  345. ArtificialHB.Event:wait()
  346. else
  347. for i = 1, NUMBER do
  348. ArtificialHB.Event:wait()
  349. end
  350. end
  351. end
  352.  
  353. function QuaternionFromCFrame(cf)
  354. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  355. local trace = m00 + m11 + m22
  356. if trace > 0 then
  357. local s = math.sqrt(1 + trace)
  358. local recip = 0.5 / s
  359. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  360. else
  361. local i = 0
  362. if m11 > m00 then
  363. i = 1
  364. end
  365. if m22 > (i == 0 and m00 or m11) then
  366. i = 2
  367. end
  368. if i == 0 then
  369. local s = math.sqrt(m00 - m11 - m22 + 1)
  370. local recip = 0.5 / s
  371. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  372. elseif i == 1 then
  373. local s = math.sqrt(m11 - m22 - m00 + 1)
  374. local recip = 0.5 / s
  375. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  376. elseif i == 2 then
  377. local s = math.sqrt(m22 - m00 - m11 + 1)
  378. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  379. end
  380. end
  381. end
  382.  
  383. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  384. local xs, ys, zs = x + x, y + y, z + z
  385. local wx, wy, wz = w * xs, w * ys, w * zs
  386. local xx = x * xs
  387. local xy = x * ys
  388. local xz = x * zs
  389. local yy = y * ys
  390. local yz = y * zs
  391. local zz = z * zs
  392. 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))
  393. end
  394.  
  395. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  396. local fp=IT("Part")
  397. fp.formFactor=formfactor
  398. fp.Parent=parent
  399. fp.Reflectance=reflectance
  400. fp.Transparency=transparency
  401. fp.CanCollide=false
  402. fp.Locked=true
  403. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  404. fp.Name=name
  405. fp.Size=size
  406. fp.Position=Character.Torso.Position
  407. NoOutlines(fp)
  408. fp.Material=material
  409. fp:BreakJoints()
  410. return fp
  411. end
  412.  
  413. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  414. local mesh=IT(Mesh)
  415. mesh.Parent=part
  416. if Mesh=="SpecialMesh" then
  417. mesh.MeshType=meshtype
  418. mesh.MeshId=meshid
  419. end
  420. mesh.Offset=offset
  421. mesh.Scale=scale
  422. return mesh
  423. end
  424.  
  425. function QuaternionSlerp(a, b, t)
  426. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  427. local startInterp, finishInterp;
  428. if cosTheta >= 0.0001 then
  429. if (1 - cosTheta) > 0.0001 then
  430. local theta = ACOS(cosTheta)
  431. local invSinTheta = 1 / SIN(theta)
  432. startInterp = SIN((1 - t) * theta) * invSinTheta
  433. finishInterp = SIN(t * theta) * invSinTheta
  434. else
  435. startInterp = 1 - t
  436. finishInterp = t
  437. end
  438. else
  439. if (1 + cosTheta) > 0.0001 then
  440. local theta = ACOS(-cosTheta)
  441. local invSinTheta = 1 / SIN(theta)
  442. startInterp = SIN((t - 1) * theta) * invSinTheta
  443. finishInterp = SIN(t * theta) * invSinTheta
  444. else
  445. startInterp = t - 1
  446. finishInterp = t
  447. end
  448. end
  449. 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
  450. end
  451.  
  452. function Clerp(a, b, t)
  453. local qa = {QuaternionFromCFrame(a)}
  454. local qb = {QuaternionFromCFrame(b)}
  455. local ax, ay, az = a.x, a.y, a.z
  456. local bx, by, bz = b.x, b.y, b.z
  457. local _t = 1 - t
  458. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  459. end
  460.  
  461. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  462. local frame = IT("Frame")
  463. frame.BackgroundTransparency = TRANSPARENCY
  464. frame.BorderSizePixel = BORDERSIZEPIXEL
  465. frame.Position = POSITION
  466. frame.Size = SIZE
  467. frame.BackgroundColor3 = COLOR
  468. frame.BorderColor3 = BORDERCOLOR
  469. frame.Name = NAME
  470. frame.Parent = PARENT
  471. return frame
  472. end
  473.  
  474. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  475. local label = IT("TextLabel")
  476. label.BackgroundTransparency = 1
  477. label.Size = UD2(1, 0, 1, 0)
  478. label.Position = UD2(0, 0, 0, 0)
  479. label.TextColor3 = TEXTCOLOR
  480. label.TextStrokeTransparency = STROKETRANSPARENCY
  481. label.TextTransparency = TRANSPARENCY
  482. label.FontSize = TEXTFONTSIZE
  483. label.Font = TEXTFONT
  484. label.BorderSizePixel = BORDERSIZEPIXEL
  485. label.TextScaled = false
  486. label.Text = TEXT
  487. label.Name = NAME
  488. label.Parent = PARENT
  489. return label
  490. end
  491.  
  492. function NoOutlines(PART)
  493. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  494. end
  495.  
  496.  
  497. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  498. local NEWWELD = IT(TYPE)
  499. NEWWELD.Part0 = PART0
  500. NEWWELD.Part1 = PART1
  501. NEWWELD.C0 = C0
  502. NEWWELD.C1 = C1
  503. NEWWELD.Parent = PARENT
  504. return NEWWELD
  505. end
  506.  
  507. function CreateSound(ID, PARENT, VOLUME, PITCH)
  508. local NEWSOUND = nil
  509. coroutine.resume(coroutine.create(function()
  510. NEWSOUND = IT("Sound", PARENT)
  511. NEWSOUND.Volume = VOLUME
  512. NEWSOUND.Pitch = PITCH
  513. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  514. Swait()
  515. NEWSOUND:play()
  516. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  517. end))
  518. return NEWSOUND
  519. end
  520.  
  521. function CFrameFromTopBack(at, top, back)
  522. local right = top:Cross(back)
  523. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  524. end
  525.  
  526. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  527. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  528. local mesh = IT("SpecialMesh",wave)
  529. mesh.MeshType = "FileMesh"
  530. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  531. mesh.Scale = VT(size,size,size)
  532. mesh.Offset = VT(0,0,-size/8)
  533. wave.CFrame = cframe
  534. coroutine.resume(coroutine.create(function(PART)
  535. for i = 1, waitt do
  536. Swait()
  537. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  538. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  539. if doesrotate == true then
  540. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  541. end
  542. wave.Transparency = wave.Transparency + (0.5/waitt)
  543. if wave.Transparency > 0.99 then
  544. wave:remove()
  545. end
  546. end
  547. end))
  548. end
  549.  
  550. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  551. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  552. local mesh = IT("SpecialMesh",wave)
  553. mesh.MeshType = "FileMesh"
  554. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  555. mesh.Scale = VT(size,size,size)
  556. wave.CFrame = cframe
  557. coroutine.resume(coroutine.create(function(PART)
  558. for i = 1, waitt do
  559. Swait()
  560. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  561. if doesrotate == true then
  562. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  563. end
  564. wave.Transparency = wave.Transparency + (0.5/waitt)
  565. if wave.Transparency > 0.99 then
  566. wave:remove()
  567. end
  568. end
  569. end))
  570. end
  571.  
  572. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  573. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  574. local mesh = IT("SpecialMesh",wave)
  575. mesh.MeshType = "FileMesh"
  576. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  577. mesh.Scale = VT(size,size,size)
  578. wave.CFrame = cframe
  579. coroutine.resume(coroutine.create(function(PART)
  580. for i = 1, waitt do
  581. Swait()
  582. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  583. if doesrotate == true then
  584. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  585. end
  586. wave.Transparency = wave.Transparency + (0.5/waitt)
  587. if wave.Transparency > 0.99 then
  588. wave:remove()
  589. end
  590. end
  591. end))
  592. end
  593.  
  594. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  595. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  596. local mesh = IT("SpecialMesh",wave)
  597. mesh.MeshType = "FileMesh"
  598. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  599. mesh.Scale = VT(size,size,size)
  600. mesh.Offset = VT(0,0,0)
  601. wave.CFrame = cframe
  602. coroutine.resume(coroutine.create(function(PART)
  603. for i = 1, waitt do
  604. Swait()
  605. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  606. if doesrotate == true then
  607. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  608. end
  609. wave.Transparency = wave.Transparency + (0.5/waitt)
  610. if wave.Transparency > 0.99 then
  611. wave:remove()
  612. end
  613. end
  614. end))
  615. end
  616.  
  617. function MagicSphere(size,waitt,cframe,color)
  618. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  619. local mesh = IT("SpecialMesh",wave)
  620. mesh.MeshType = "Sphere"
  621. mesh.Scale = VT(size,size,size)
  622. mesh.Offset = VT(0,0,0)
  623. wave.CFrame = cframe
  624. coroutine.resume(coroutine.create(function(PART)
  625. for i = 1, waitt do
  626. Swait()
  627. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  628. wave.Transparency = wave.Transparency + (1/waitt)
  629. if wave.Transparency > 0.99 then
  630. wave:remove()
  631. end
  632. end
  633. end))
  634. end
  635.  
  636. function MagicSphere2(size,waitt,cframe,color)
  637. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  638. local mesh = IT("SpecialMesh",wave)
  639. mesh.MeshType = "Sphere"
  640. mesh.Scale = VT(size,size,size)
  641. mesh.Offset = VT(0,0,0)
  642. wave.CFrame = cframe
  643. coroutine.resume(coroutine.create(function(PART)
  644. for i = 1, waitt do
  645. Swait()
  646. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  647. wave.Transparency = wave.Transparency - (1/waitt)
  648. end
  649. wave:remove()
  650. end))
  651. end
  652.  
  653. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  654. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  655. prt.Anchored=true
  656. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  657. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  658. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  659. CF=Part.CFrame
  660. Numbb=0
  661. randnumb=math.random()-math.random()
  662. for i=0,1,0.05 do
  663. wait()
  664. CF=CF*CF(0,1,0)
  665. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  666. Part.CFrame=CF*EULER(Numbb,0,0)
  667. Part.Transparency=i
  668. Numbb=Numbb+randnumb
  669. end
  670. Part.Parent=nil
  671. end),prt)
  672. end
  673.  
  674. function MagicBlock(size,waitt,cframe,color)
  675. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  676. local mesh = IT("BlockMesh",wave)
  677. wave.CFrame = cframe
  678. coroutine.resume(coroutine.create(function(PART)
  679. for i = 1, waitt do
  680. Swait()
  681. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  682. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  683. wave.Transparency = wave.Transparency + (1/waitt)
  684. if wave.Transparency > 0.99 then
  685. wave:remove()
  686. end
  687. end
  688. end))
  689. end
  690.  
  691. local EyeSizes={
  692. NumberSequenceKeypoint.new(0,1,0),
  693. NumberSequenceKeypoint.new(1,0.2,0)
  694. }
  695. local EyeTrans={
  696. NumberSequenceKeypoint.new(0,0.8,0),
  697. NumberSequenceKeypoint.new(1,1,0)
  698. }
  699. local PE=Instance.new("ParticleEmitter")
  700. PE.LightEmission=0
  701. PE.Size=NumberSequence.new(EyeSizes)
  702. PE.Transparency=NumberSequence.new(EyeTrans)
  703. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  704. PE.Rotation=NumberRange.new(0,360)
  705. PE.Rate=15
  706. PE.Acceleration = Vector3.new(0,75,0)
  707. PE.Drag = 5
  708. PE.Enabled = false
  709. PE.Speed = NumberRange.new(0,0,0)
  710. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  711. PE.ZOffset = 0
  712. PE.Name = "Particles"
  713.  
  714. function CreateParticles(art,text,accel,drag,rate,type,isenabledbydefault)
  715. local particle = PE:Clone()
  716. particle.Parent = art
  717. particle.Acceleration = accel
  718. PE.Rate = rate
  719. if type == "Fire" then
  720. local EyeSizes={
  721. NumberSequenceKeypoint.new(0,1,0.3),
  722. NumberSequenceKeypoint.new(1,0.2,0.2)
  723. }
  724. PE.Size = NumberSequence.new(EyeSizes)
  725. elseif type == "Smoke" then
  726. local EyeSizes={
  727. NumberSequenceKeypoint.new(0,1,0),
  728. NumberSequenceKeypoint.new(1,5,0.5)
  729. }
  730. PE.Size = NumberSequence.new(EyeSizes)
  731. elseif type == "Solid" then
  732. local EyeSizes={
  733. NumberSequenceKeypoint.new(0,1,0),
  734. NumberSequenceKeypoint.new(1,1,0)
  735. }
  736. PE.Size = NumberSequence.new(EyeSizes)
  737. end
  738. PE.Drag = drag
  739. particle.Texture = "http://www.roblox.com/asset/?id="..text
  740. particle.Enabled = isenabledbydefault
  741. return particle
  742. end
  743.  
  744. function MakeForm(PART,TYPE)
  745. if TYPE == "Cyl" then
  746. local MSH = IT("CylinderMesh",PART)
  747. elseif TYPE == "Ball" then
  748. local MSH = IT("SpecialMesh",PART)
  749. MSH.MeshType = "Sphere"
  750. elseif TYPE == "Wedge" then
  751. local MSH = IT("SpecialMesh",PART)
  752. MSH.MeshType = "Wedge"
  753. end
  754. end
  755.  
  756. --//=================================\\
  757. --|| WEAPON CREATION
  758. --\\=================================//
  759.  
  760. creategauntlet(RightArm)
  761. creategauntlet(LeftLeg)
  762.  
  763. if Player_Size ~= 1 then
  764. for _, v in pairs (Weapon:GetChildren()) do
  765. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  766. local p1 = v.Part1
  767. v.Part1 = nil
  768. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  769. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  770. v.Part1 = p1
  771. elseif v.ClassName == "Part" then
  772. for _, b in pairs (v:GetChildren()) do
  773. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  774. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  775. end
  776. end
  777. end
  778. end
  779. end
  780.  
  781. for _, c in pairs(Weapon:GetChildren()) do
  782. if c.ClassName == "Part" then
  783. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  784. end
  785. end
  786.  
  787. Weapon.Parent = Character
  788.  
  789. Humanoid.Died:connect(function()
  790. sick:remove()
  791. sick2:remove()
  792. CreateSound("167285348", Head, 3, 1)
  793. ATTACK = true
  794. end)
  795.  
  796. print(Class_Name.." loaded.")
  797.  
  798. --//=================================\\
  799. --|| SPEECH
  800. --\\=================================//
  801.  
  802. function chatfunc(text,waitt)
  803. local chat = coroutine.wrap(function()
  804. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  805. Character:FindFirstChild("TalkingBillBoard"):destroy()
  806. end
  807. local naeeym2 = Instance.new("BillboardGui",Character)
  808. naeeym2.Size = UDim2.new(0,100,0,40)
  809. naeeym2.StudsOffset = Vector3.new(0,5,0)
  810. naeeym2.Adornee = Character.Head
  811. naeeym2.Name = "TalkingBillBoard"
  812. naeeym2.AlwaysOnTop = true
  813. local tecks2 = Instance.new("TextLabel",naeeym2)
  814. tecks2.BackgroundTransparency = 1
  815. tecks2.BorderSizePixel = 0
  816. tecks2.Text = ""
  817. tecks2.Font = "SciFi"
  818. tecks2.TextSize = 30
  819. tecks2.TextStrokeTransparency = 1
  820. tecks2.TextColor3 = SKILLTEXTCOLOR
  821. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  822. tecks2.Size = UDim2.new(1,0,0.5,0)
  823. for i = 1,string.len(text),1 do
  824. tecks2.Text = string.sub(text,1,i)
  825. Swait()
  826. end
  827. wait(waitt)
  828. coroutine.resume(coroutine.create(function()
  829. for i = 1, 10 do
  830. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  831. Swait()
  832. end
  833. naeeym2:Destroy()
  834. end))
  835. end)
  836. chat()
  837. end
  838.  
  839. --//=================================\\
  840. --|| DAMAGE FUNCTIONS
  841. --\\=================================//
  842.  
  843. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  844. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really red", "Effect", VT())
  845. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  846. local BODYGYRO = IT("BodyGyro", STATPART)
  847. local BODYPOSITION = IT("BodyPosition", STATPART)
  848. BODYPOSITION.P = 2000
  849. BODYPOSITION.D = 100
  850. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  851. if LABELTYPE == "Normal" then
  852. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  853. elseif LABELTYPE == "Debuff" then
  854. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  855. elseif LABELTYPE == "Interruption" then
  856. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  857. end
  858. game:GetService("Debris"):AddItem(STATPART ,5)
  859. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  860. BILLBOARDGUI.Adornee = STATPART
  861. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  862. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  863. BILLBOARDGUI.AlwaysOnTop = false
  864. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  865. TEXTLABEL.BackgroundTransparency = 1
  866. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  867. TEXTLABEL.Text = TEXT
  868. TEXTLABEL.Font = "SciFi"
  869. TEXTLABEL.FontSize="Size42"
  870. TEXTLABEL.TextColor3 = COLOR
  871. TEXTLABEL.TextStrokeTransparency = 1
  872. TEXTLABEL.TextScaled = true
  873. TEXTLABEL.TextWrapped = true
  874. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  875. wait(0.2)
  876. for i=1, 5 do
  877. wait()
  878. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  879. end
  880. wait(1.2)
  881. for i=1, 5 do
  882. wait()
  883. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  884. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  885. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  886. end
  887. THEPART.Parent = nil
  888. end),STATPART, BODYPOSITION, TEXTLABEL)
  889. end
  890.  
  891.  
  892. --//=================================\\
  893. --|| DAMAGING
  894. --\\=================================//
  895.  
  896. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  897. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  898. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  899. local dmg = math.random(min,max)
  900. if humanoid.Health > 0 then
  901. if beserk == true then
  902. humanoid.Health = 0
  903. else
  904. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  905. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  906. if math.random(1,100) < critrate+1 then
  907. humanoid.Health = humanoid.Health - dmg*critmultiplier
  908. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  909. else
  910. humanoid.Health = humanoid.Health - dmg
  911. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  912. end
  913. local defence = Instance.new("BoolValue",hit.Parent)
  914. defence.Name = ("HitBy"..Player.Name)
  915. game:GetService("Debris"):AddItem(defence, 0.5)
  916. end
  917. end
  918. end
  919. end
  920.  
  921. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  922. local dmg = math.random(min,max)
  923. for i,v in ipairs(workspace:GetChildren()) do
  924. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  925. local body = v:GetChildren()
  926. for part = 1, #body do
  927. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  928. if(body[part].Position - position).Magnitude < radius then
  929. if v.ClassName == "Model" then
  930. if v:FindFirstChild("Humanoid") then
  931. if v.Humanoid.Health ~= 0 then
  932. if CanBeDodgedByJumping == true then
  933. if body[part].Position.Y < position.Y+5 then
  934. if math.random(1,100) < critrate+1 then
  935. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  936. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  937. else
  938. v.Humanoid.Health = v.Humanoid.Health - dmg
  939. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  940. end
  941. local defence = Instance.new("BoolValue",v)
  942. defence.Name = ("HitBy"..Player.Name)
  943. game:GetService("Debris"):AddItem(defence, 0.5)
  944. end
  945. else
  946. if beserk == true then
  947. v.Humanoid.Health = 0
  948. end
  949. if math.random(1,100) < critrate+1 then
  950. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  951. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  952. else
  953. v.Humanoid.Health = v.Humanoid.Health - dmg
  954. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  955. end
  956. local defence = Instance.new("BoolValue",v)
  957. defence.Name = ("HitBy"..Player.Name)
  958. game:GetService("Debris"):AddItem(defence, 0.5)
  959. end
  960. end
  961. end
  962. end
  963. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  964. end
  965. end
  966. end
  967. if v.ClassName == "Part" then
  968. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  969. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  970. end
  971. end
  972. end
  973. end
  974. end
  975.  
  976. function killnearest(position,range,maxstrength)
  977. for i,v in ipairs(workspace:GetChildren()) do
  978. local body = v:GetChildren()
  979. for part = 1, #body do
  980. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  981. if(body[part].Position - position).Magnitude < range then
  982. if v.ClassName == "Model" then
  983. v:BreakJoints()
  984. end
  985. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  986. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  987. end
  988. end
  989. end
  990. if v.ClassName == "Part" then
  991. if v.Anchored == false and (v.Position - position).Magnitude < range then
  992. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  993. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  994. end
  995. end
  996. end
  997. end
  998.  
  999. --//=================================\\
  1000. --|| ATTACK FUNCTIONS AND STUFF
  1001. --\\=================================//
  1002.  
  1003. function CheckTableForString(Table, String)
  1004. for i, v in pairs(Table) do
  1005. if string.find(string.lower(String), string.lower(v)) then
  1006. return true
  1007. end
  1008. end
  1009. return false
  1010. end
  1011.  
  1012. function CheckIntangible(Hit)
  1013. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1014. if Hit and Hit.Parent then
  1015. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1016. return true
  1017. end
  1018. end
  1019. return false
  1020. end
  1021.  
  1022. Debris = game:GetService("Debris")
  1023.  
  1024. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1025. local Direction = CFrame.new(StartPos, Vec).lookVector
  1026. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1027. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1028. if RayHit and CheckIntangible(RayHit) then
  1029. if DelayIfHit then
  1030. wait()
  1031. end
  1032. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1033. end
  1034. return RayHit, RayPos, RayNormal
  1035. end
  1036.  
  1037. function turnto(position)
  1038. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1039. end
  1040.  
  1041. function ExplodeBomb(b)
  1042. b.Parent = Effects
  1043. b.Anchored = true
  1044. CreateSound("215395285", b, 10, 1)
  1045. MagicSphere(5,50,b.CFrame,"Ghost white")
  1046. b.Transparency = 1
  1047. MagicBlock(3,45,b.CFrame,"Ghost white")
  1048. --BreakEffect("Ghost white",b.CFrame,2,2,2,"Neon")
  1049. for i = 1, 10 do
  1050. CreateSwirl(0,5,true,-0.2,25,b.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really red")
  1051. end
  1052. killnearest(b.Position,30,25)
  1053. game:GetService("Debris"):AddItem(b, 5)
  1054. end
  1055.  
  1056. function Detonate()
  1057. bomb = Bombs:GetChildren()
  1058. for lol = 1, #bomb do
  1059. if bomb[lol].ClassName == "Part" then
  1060. local b = bomb[lol]
  1061. ExplodeBomb(b)
  1062. end
  1063. end
  1064. end
  1065.  
  1066.  
  1067.  
  1068. function TyranyCannon()
  1069. ATTACK = true
  1070. for i=0, 1, 0.1 / Animation_Speed do
  1071. Swait()
  1072. turnto(Mouse.Hit.p)
  1073. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed/5)
  1074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1077. RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-1.25), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1079. end
  1080. local POS = Mouse.Hit.p
  1081. for i = 1, 5 do
  1082. MagicSphere(2,10,RightArm.CFrame * CF(0,-1,0),"Jet black")
  1083. Swait(5)
  1084. end
  1085. CreateSound("438666196", RightArm, 5, 1)
  1086. MagicSphere(5,10,RightArm.CFrame * CF(0,-1,0),"Jet black")
  1087. local Projectile = CreatePart(3, Bombs, "Neon", 0, 0, "Jet black", "Bomb-Projectile", VT(5,5,5),false)
  1088. Projectile.CFrame = RightArm.CFrame * CF(0,-1,0)
  1089. Projectile.CanCollide = false
  1090. MakeForm(Projectile,"Ball")
  1091. local grav = Instance.new("BodyPosition",Projectile)
  1092. grav.P = 25000
  1093. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1094. grav.position = POS
  1095. grav.Name = "GravityForce"
  1096. local harm = Projectile.Touched:Connect(function(hit)
  1097. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") and Projectile.Parent ~= Effects then
  1098. ExplodeBomb(Projectile)
  1099. end
  1100. end)
  1101. ATTACK = false
  1102. end
  1103.  
  1104. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1105. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1106. end
  1107.  
  1108. function EarthShatter()
  1109. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1110. if HITFLOOR ~= nil then
  1111. ATTACK = true
  1112. Rooted = true
  1113. for i=0, 1, 0.1 / Animation_Speed/2 do
  1114. Swait()
  1115. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
  1116. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1117. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
  1118. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
  1119. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
  1120. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
  1121. end
  1122. for i=0, 1, 0.1 / Animation_Speed*5 do
  1123. Swait()
  1124. RootPart.Anchored = true
  1125. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1127. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  1128. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*5)
  1129. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  1130. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  1131. end
  1132. local POS = RightArm.CFrame * CF(0,-1,0).p
  1133. for i = 1,10 do
  1134. CreateWave(0,10,true,0.05,25,CF(POS),"Really red")
  1135. CreateWave(0,6,true,-0.05,25,CF(POS),"Really red")
  1136. CreateWave(0,2,true,0.05,25,CF(POS),"Really red")
  1137. killnearest(POS,15,25)
  1138. CreateSound("438666141", RightArm, 5, 1)
  1139. for i = 1, 40 do
  1140. local angle = math.random(-180,180)
  1141. coroutine.resume(coroutine.create(function()
  1142. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1143. local SpawnPosition = RayPos
  1144. local floor = RayHit
  1145. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1146. local LastPosition = RayPos
  1147. local Delay = 1
  1148. if floor ~= nil then
  1149. for i = 1, 5 do
  1150. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1151. local End = RayPos
  1152. LastPosition = End
  1153. killnearest(End,15,25)
  1154. local locatepart = Instance.new("Part",Effects)
  1155. locatepart.Size = VT(0.5,0.5,0.5)
  1156. locatepart.Position = End
  1157. locatepart.CanCollide = false
  1158. locatepart.Anchored = true
  1159. locatepart.Name = "L0"
  1160. locatepart.Transparency = 1
  1161. if SpawnPosition then
  1162. CreateSwirl(0,2,false,0.05,25,CF(End),"Really red")
  1163. local spike = Instance.new("CornerWedgePart")
  1164. spike.Size = Vector3.new(1,15,1)
  1165. spike.Material = "Neon"
  1166. spike.Color = "Really red"
  1167. spike.Anchored = true
  1168. spike.CanCollide = false
  1169. spike.CFrame = CFrame.new(End.X,SpawnPosition.Y+2,End.Z)
  1170. spike.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1171. spike.Name = HITFLOOR.Name.."Spike"
  1172. CreateSound("341300954", spike, 1, (math.random(8,12)/10))
  1173. for i = 1, 3 do
  1174. local overlay = spike:Clone()
  1175. overlay.Size = overlay.Size + Vector3.new(0.2,0.2*2,0.2)
  1176. overlay.CFrame = spike.CFrame
  1177. overlay.Parent = nil
  1178. overlay.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1179. overlay.Parent = Effects
  1180. table.insert(Effects2,{overlay,"Disappear",0.01,0,0,0,0})
  1181. end
  1182. spike.Size = Vector3.new(2,25,2)
  1183. spike.Parent = Effects
  1184. table.insert(Effects2,{spike,"Disappear",0.01,0,0,0,0})
  1185. end
  1186. Swait(5)
  1187. game:GetService("Debris"):AddItem(locatepart, 5)
  1188. end
  1189. end
  1190. end))
  1191. end
  1192. wait(0.05)
  1193. end
  1194. for i=0, 6, 0.1 / Animation_Speed*5 do
  1195. Swait()
  1196. RootPart.Anchored = true
  1197. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1198. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed*5)
  1199. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  1200. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed*5)
  1201. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed*5)
  1202. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.2 / Animation_Speed*5)
  1203. end
  1204. ATTACK = false
  1205. Rooted = false
  1206. end
  1207. end
  1208.  
  1209. function RavagingOverthrower()
  1210. ATTACK = true
  1211. Rooted = true
  1212. chatfunc("I will show you what is death!!!",4)
  1213. for i=0, 1, 0.1 / Animation_Speed do
  1214. Swait()
  1215. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1216. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1217. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1218. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1219. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1220. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1221. end
  1222. CreateSound("348663022", Torso, 5, 1)
  1223. local StartPos = RootPart.CFrame * CF(0,0,-10).p
  1224. for i = 1, 5 do
  1225. MagicSphere2(25,25,CF(StartPos),"Light pink")
  1226. Swait(15)
  1227. end
  1228. local soundeffect = IT("Sound",Torso)
  1229. soundeffect.SoundId = "rbxassetid://818971480"
  1230. soundeffect.Looped = true
  1231. soundeffect.Volume = 10
  1232. soundeffect.Playing = true
  1233. repeat
  1234. turnto(Mouse.Hit.p)
  1235. MagicSphere2(25,25,CF(StartPos),"Light pink")
  1236. MagicSphere(25/10,25,CF(StartPos),"Light pink")
  1237. for i = 1, 3 do
  1238. CreateSwirl(0,25,true,-0.2,5,CF(StartPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really red")
  1239. end
  1240. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  1241. local distance = (StartPos - RayPos).magnitude
  1242. local RayBeam = IT("Part",Effects)
  1243. RayBeam.Material = "Neon"
  1244. RayBeam.Anchored = true
  1245. RayBeam.BrickColor = BRICKC"Ghost white"
  1246. local mesh = IT("SpecialMesh",RayBeam)
  1247. mesh.MeshType = "Cylinder"
  1248. RayBeam.Size = Vector3.new(distance+10, math.random(10,15), math.random(10,15))
  1249. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  1250. MagicSphere(15,5,CF(RayPos),"Really red")
  1251. killnearest(RayPos,15,100)
  1252. for i = 1, 3 do
  1253. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really red")
  1254. end
  1255. Swait()
  1256. if KEYHOLD == false then
  1257. coroutine.resume(coroutine.create(function()
  1258. for i = 1, 30 do
  1259. RayBeam.Transparency = i/30
  1260. Swait()
  1261. end
  1262. RayBeam:remove()
  1263. end))
  1264. else
  1265. RayBeam:remove()
  1266. end
  1267. until KEYHOLD == false
  1268. soundeffect:remove()
  1269. ATTACK = false
  1270. Rooted = false
  1271. end
  1272.  
  1273. function dodadance()
  1274. ATTACK = true
  1275. Rooted = true
  1276. DANCE = true
  1277. sick:Stop()
  1278. sick2:Play()
  1279. local Animation_Speed2 = 1.5
  1280. HName.Text = "Dance!"
  1281. repeat
  1282. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1283. Swait()
  1284. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(-15)), 0.15 / Animation_Speed2)
  1285. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-180)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1288. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(120), RAD(35)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1289. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(-35)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1290. end
  1291. MagicSphere(5,15,Torso.CFrame,"Really red")
  1292. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1293. Swait()
  1294. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(15)), 0.15 / Animation_Speed2)
  1295. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1296. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75 * Player_Size, 0.5 * Player_Size, -1 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1297. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-120)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1298. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(35)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1299. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.5 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-120), RAD(-35)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1300. end
  1301. MagicSphere(5,15,Torso.CFrame,"Really red")
  1302. until DANCE == false
  1303. HName.Text = "Calamity"
  1304. sick:Play()
  1305. sick2:Stop()
  1306. ATTACK = false
  1307. Rooted = false
  1308. end
  1309.  
  1310. function Warp()
  1311. MagicSphere2(10,5,Torso.CFrame,"Really red")
  1312. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+4,Mouse.Hit.p.Z))
  1313. CreateSound("282061340", Torso, 2, 1)
  1314. MagicSphere(5,5,Torso.CFrame,"Really red")
  1315. for i = 1, 3 do
  1316. CreateSwirl(0,5,true,-0.2,25,Torso.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really red")
  1317. end
  1318. killnearest(Torso.Position,12,25)
  1319. Swait()
  1320. turnto(Mouse.Hit.p)
  1321. end
  1322.  
  1323. --//=================================\\
  1324. --|| ASSIGN THINGS TO KEYS
  1325. --\\=================================//
  1326.  
  1327. Humanoid.Changed:connect(function(Jump)
  1328. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1329. Humanoid.Jump = false
  1330. end
  1331. end)
  1332.  
  1333. function MouseDown(Mouse)
  1334. if ATTACK == false then
  1335. end
  1336. end
  1337.  
  1338. function MouseUp(Mouse)
  1339. HOLD = false
  1340. end
  1341.  
  1342. function KeyDown(Key)
  1343. KEYHOLD = true
  1344. if Key == "e" and ATTACK == false then
  1345. TyranyCannon()
  1346. wait(1)
  1347. Detonate()
  1348. end
  1349.  
  1350. if Key == "e" and ATTACK == false then
  1351. EarthShatter()
  1352. end
  1353.  
  1354. if Key == "r" and ATTACK == false then
  1355. RavagingOverthrower()
  1356. end
  1357.  
  1358. if Key == "q" and ATTACK == false then
  1359. Warp()
  1360. end
  1361.  
  1362. if Key == "t" and ATTACK == false then
  1363. CreateSound("159882644", Head, 5, 0.8)
  1364. end
  1365.  
  1366. if Key == "t" and DANCE == true then
  1367. CreateSound("887591869", Head, 5, 1)
  1368. end
  1369.  
  1370. if Key == "x" and (ATTACK == false or DANCE == true) then
  1371. if DANCE == false then
  1372. dodadance()
  1373. elseif DANCE == true then
  1374. DANCE = false
  1375. end
  1376. end
  1377. end
  1378.  
  1379. function KeyUp(Key)
  1380. KEYHOLD = false
  1381. end
  1382.  
  1383. Mouse.Button1Down:connect(function(NEWKEY)
  1384. MouseDown(NEWKEY)
  1385. end)
  1386. Mouse.Button1Up:connect(function(NEWKEY)
  1387. MouseUp(NEWKEY)
  1388. end)
  1389. Mouse.KeyDown:connect(function(NEWKEY)
  1390. KeyDown(NEWKEY)
  1391. end)
  1392. Mouse.KeyUp:connect(function(NEWKEY)
  1393. KeyUp(NEWKEY)
  1394. end)
  1395.  
  1396. --//=================================\\
  1397. --\\=================================//
  1398.  
  1399.  
  1400. function unanchor()
  1401. if UNANCHOR == true then
  1402. g = Character:GetChildren()
  1403. for i = 1, #g do
  1404. if g[i].ClassName == "Part" then
  1405. g[i].Anchored = false
  1406. end
  1407. end
  1408. end
  1409. end
  1410.  
  1411.  
  1412. --//=================================\\
  1413. --|| WRAP THE WHOLE SCRIPT UP
  1414. --\\=================================//
  1415.  
  1416. Humanoid.Changed:connect(function(Jump)
  1417. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1418. Humanoid.Jump = false
  1419. end
  1420. end)
  1421.  
  1422. ANIMATE.Parent = nil
  1423. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1424. IDLEANIMATION:Play()
  1425.  
  1426. while true do
  1427. Swait()
  1428. SINE = SINE + CHANGE
  1429. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1430. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1431. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1432. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1433. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1434. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1435. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1436. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1437. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1438. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1439. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1440. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1441. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1442. RightHip.C1 = Clerp(RightHip.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)), 0.2 / Animation_Speed)
  1443. LeftHip.C1 = Clerp(LeftHip.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)), 0.2 / Animation_Speed)
  1444. end
  1445. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1446. ANIM = "Jump"
  1447. if ATTACK == false then
  1448. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1449. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1450. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1451. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1452. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1453. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1454. end
  1455. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1456. ANIM = "Fall"
  1457. if ATTACK == false then
  1458. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1459. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1460. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(70)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1461. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1462. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1463. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1464. end
  1465. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1466. ANIM = "Idle"
  1467. if ATTACK == false then
  1468. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1469. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.15 / Animation_Speed)
  1470. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(30)) * ANGLES(RAD(3), RAD(25), RAD(5)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1471. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1472. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  1473. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1474. end
  1475. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1476. ANIM = "Walk"
  1477. WALK = WALK + 1 / Animation_Speed
  1478. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1479. WALK = 0
  1480. if WALKINGANIM == true then
  1481. WALKINGANIM = false
  1482. elseif WALKINGANIM == false then
  1483. WALKINGANIM = true
  1484. end
  1485. end
  1486. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1487. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1488. if ATTACK == false then
  1489. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1490. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.15 / Animation_Speed)
  1491. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1492. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1493. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  1494. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1495. end
  1496. end
  1497. if #Effects2>0 then
  1498. for e=1,#Effects2 do
  1499. if Effects2[e]~=nil then
  1500. local Thing=Effects2[e]
  1501. if Thing~=nil then
  1502. local Part=Thing[1]
  1503. local Mode=Thing[2]
  1504. local Delay=Thing[3]
  1505. local IncX=Thing[4]
  1506. local IncY=Thing[5]
  1507. local IncZ=Thing[6]
  1508. local Part2=Thing[8]
  1509. if Thing[1].Transparency<=1 then
  1510. if Thing[2]=="Block1" then
  1511. Thing[1].CFrame=Thing[1].CFrame
  1512. Mesh=Thing[1].Mesh
  1513. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1514. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1515. elseif Thing[2]=="Cylinder" then
  1516. Mesh=Thing[1].Mesh
  1517. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1518. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1519. elseif Thing[2]=="Blood" then
  1520. Mesh=Thing[7]
  1521. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1522. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1523. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1524. elseif Thing[2]=="Elec" then
  1525. Mesh=Thing[1].Mesh
  1526. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1527. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1528. elseif Thing[2]=="Disappear" then
  1529. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1530. end
  1531. else
  1532. Part.Parent=nil
  1533. table.remove(Effects2,e)
  1534. end
  1535. end
  1536. end
  1537. end
  1538. end
  1539. unanchor()
  1540. Humanoid.MaxHealth = "inf"
  1541. Humanoid.Health = "inf"
  1542. Humanoid.Name = "Ravage"
  1543. if Rooted == false then
  1544. Disable_Jump = false
  1545. Humanoid.WalkSpeed = Speed
  1546. elseif Rooted == true then
  1547. Disable_Jump = true
  1548. Humanoid.WalkSpeed = 0
  1549. end
  1550. q = Character:GetChildren()
  1551. for u = 1, #q do
  1552. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1553. q[u]:remove()
  1554. elseif q[u].ClassName == "Shirt" then
  1555. q[u]:Destroy()
  1556. elseif q[u].ClassName == "Pants" then
  1557. q[u]:Destroy()
  1558. elseif q[u].ClassName == "CharacterMesh" then
  1559. q[u]:remove()
  1560. elseif q[u].ClassName == "ShirtGraphic" then
  1561. q[u]:remove()
  1562. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1563. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1564. end
  1565. end
  1566. if Head:FindFirstChild("face") then
  1567. Head.face:remove()
  1568. end
  1569. if Head:FindFirstChild("Died") then
  1570. Head.Died:remove()
  1571. end
  1572. bomb = Bombs:GetChildren()
  1573. for lol = 1, #bomb do
  1574. if bomb[lol].ClassName == "Part" then
  1575. MagicSphere2(2,5,bomb[lol].CFrame,"Really red")
  1576. end
  1577. end
  1578. end
  1579.  
  1580. --//=================================\\
  1581. --\\=================================//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement