Advertisement
Super_Nagga

Untitled

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