Advertisement
Super_Nagga

Untitled

Apr 14th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 135.42 KB | None | 0 0
  1. PASTEBINnew pastetrends API tools faq
  2. search...
  3.  
  4.  
  5. Super_Nagga
  6. FREE
  7. 1
  8. My Pastes
  9. Untitled
  10. 34 sec ago
  11. Untitled
  12. 4 min ago
  13. Untitled
  14. 7 min ago
  15. Untitled
  16. 10 min ago
  17. Untitled
  18. 14 min ago
  19. Untitled
  20. 5 hours ago
  21. Untitled
  22. 5 hours ago
  23. Untitled
  24. 6 hours ago
  25. Public Pastes
  26. Untitled
  27. 13 sec ago
  28. Untitled
  29. 19 sec ago
  30. Untitled
  31. 22 sec ago
  32. Untitled
  33. 25 sec ago
  34. Untitled
  35. 28 sec ago
  36. Untitled
  37. C | 29 sec ago
  38. Untitled
  39. 31 sec ago
  40. Untitled
  41. 33 sec ago
  42. daily pastebin goal
  43. 42%
  44. help support pastebin
  45.  
  46. SHARE
  47. TWEET
  48.  
  49. Untitled
  50. SUPER_NAGGA [GIFT PRO] APR 14TH, 2018 52 NEVER
  51.  
  52. Want to supercharge your Pastebin account? Upgrade to a PRO account!
  53. rawdownloadcloneembedreportprinteditdelete text 63.40 KB
  54. --//=========================\\--
  55. --|| CREATED BY SHACKLUSTER ||--
  56. --\\=========================//--
  57.  
  58. wait(0.2)
  59.  
  60. Player = game:GetService("Players").LocalPlayer
  61. PlayerGui = Player.PlayerGui
  62. Cam = workspace.CurrentCamera
  63. Backpack = Player.Backpack
  64. Character = Player.Character
  65. Humanoid = Character.Humanoid
  66. Mouse = Player:GetMouse()
  67. RootPart = Character["HumanoidRootPart"]
  68. Torso = Character["Torso"]
  69. Head = Character["Head"]
  70. RightArm = Character["Right Arm"]
  71. LeftArm = Character["Left Arm"]
  72. RightLeg = Character["Right Leg"]
  73. LeftLeg = Character["Left Leg"]
  74. RootJoint = RootPart["RootJoint"]
  75. Neck = Torso["Neck"]
  76. RightShoulder = Torso["Right Shoulder"]
  77. LeftShoulder = Torso["Left Shoulder"]
  78. RightHip = Torso["Right Hip"]
  79. LeftHip = Torso["Left Hip"]
  80. local sick = Instance.new("Sound",Character)
  81. sick.SoundId = "rbxassetid://818971480"
  82. sick.Looped = true
  83. sick.Pitch = 1
  84. sick.Volume = 10
  85. sick:Play()
  86. local sick2 = Instance.new("Sound",Character)
  87. sick2.SoundId = "rbxassetid://818971480"
  88. sick2.Looped = false
  89. sick2.Pitch = 1
  90. sick2.Volume = 10
  91. Humanoid.DisplayDistanceType = "None"
  92. Player:ClearCharacterAppearance()
  93.  
  94. IT = Instance.new
  95. CF = CFrame.new
  96. VT = Vector3.new
  97. RAD = math.rad
  98. C3 = Color3.new
  99. UD2 = UDim2.new
  100. BRICKC = BrickColor.new
  101. ANGLES = CFrame.Angles
  102. EULER = CFrame.fromEulerAnglesXYZ
  103. COS = math.cos
  104. ACOS = math.acos
  105. SIN = math.sin
  106. ASIN = math.asin
  107. ABS = math.abs
  108. MRANDOM = math.random
  109. FLOOR = math.floor
  110.  
  111. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  112. local NEWMESH = IT(MESH)
  113. if MESH == "SpecialMesh" then
  114. NEWMESH.MeshType = MESHTYPE
  115. if MESHID ~= "nil" and MESHID ~= "" then
  116. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  117. end
  118. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  119. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  120. end
  121. end
  122. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  123. NEWMESH.Scale = SCALE
  124. NEWMESH.Parent = PARENT
  125. return NEWMESH
  126. end
  127.  
  128. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  129. local NEWPART = IT("Part")
  130. NEWPART.formFactor = FORMFACTOR
  131. NEWPART.Reflectance = REFLECTANCE
  132. NEWPART.Transparency = TRANSPARENCY
  133. NEWPART.CanCollide = false
  134. NEWPART.Locked = true
  135. NEWPART.Anchored = true
  136. if ANCHOR == false then
  137. NEWPART.Anchored = false
  138. end
  139. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  140. NEWPART.Name = NAME
  141. NEWPART.Size = SIZE
  142. NEWPART.Position = Torso.Position
  143. NEWPART.Material = MATERIAL
  144. NEWPART:BreakJoints()
  145. NEWPART.Parent = PARENT
  146. return NEWPART
  147. end
  148.  
  149.  
  150.  
  151. local HBill = Instance.new("BillboardGui",Head)
  152. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  153. local HName = Instance.new("TextLabel")
  154. HBill.Size = UDim2.new(15,0,2.2,0)
  155. HBill.Name = "Health Display"
  156. HBill.StudsOffset = Vector3.new(3.675,2,0)
  157. HBill.AlwaysOnTop = true
  158. HBill.Enabled = true
  159. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  160. HMain.BackgroundTransparency = 1
  161. HMain.Size = UDim2.new(.5,0,.5,0)
  162. HName.Parent = HMain
  163. HName.BackgroundTransparency = 1
  164. HName.BackgroundColor3 = Color3.new(0,0,0)
  165. HName.BorderColor3 = Color3.new(0,0,0)
  166. HName.BorderSizePixel = 2
  167. HName.Size = UDim2.new(1,0,.75,0)
  168. HName.Font = "SciFi"
  169. HName.Text = "Calamity"
  170. HName.TextScaled = true
  171. HName.TextColor3 = Color3.new(255,0,0)
  172. HName.TextStrokeColor3 = Color3.new(0,0,0)
  173. HName.TextStrokeTransparency = 0
  174. HName.TextYAlignment = "Bottom"
  175.  
  176.  
  177. --//=================================\\
  178. --|| CUSTOMIZATION
  179. --\\=================================//
  180.  
  181. Class_Name = "SatanBot.exe"
  182. Weapon_Name = "Add-ons"
  183.  
  184. Custom_Colors = {
  185. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  186. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  187.  
  188. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  189. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  190. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  191. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  192. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  193.  
  194. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  195. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  196. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  197. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  198. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  199. }
  200.  
  201.  
  202. Player_Size = 1 --Size of the player.
  203. Animation_Speed = 3
  204. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  205.  
  206. local Speed = 35
  207. local Effects2 = {}
  208.  
  209. --//=================================\\
  210. --|| END OF CUSTOMIZATION
  211. --\\=================================//
  212.  
  213. local function weldBetween(a, b)
  214. local weldd = Instance.new("ManualWeld")
  215. weldd.Part0 = a
  216. weldd.Part1 = b
  217. weldd.C0 = CFrame.new()
  218. weldd.C1 = b.CFrame:inverse() * a.CFrame
  219. weldd.Parent = a
  220. return weldd
  221. end
  222.  
  223. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  224. local acs = Instance.new("Part")
  225. acs.CanCollide = false
  226. acs.Anchored = false
  227. acs.Size = Vector3.new(0,0,0)
  228. acs.CFrame = attachmentpart.CFrame
  229. acs.Parent = attachmentpart
  230. acs.BrickColor = color
  231. local meshs = Instance.new("SpecialMesh")
  232. meshs.MeshId = mesh
  233. meshs.TextureId = texture
  234. meshs.Parent = acs
  235. meshs.Scale = scale
  236. meshs.Offset = offset
  237. weldBetween(attachmentpart,acs)
  238. end
  239.  
  240. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  241. if TYPE == "Gem" then
  242. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  243. acs.Anchored = false
  244. acs.CanCollide = false
  245. acs.CFrame = PART.CFrame
  246. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  247. weldBetween(PART,acs)
  248. elseif TYPE == "Skull" then
  249. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  250. acs.Anchored = false
  251. acs.CanCollide = false
  252. acs.CFrame = PART.CFrame
  253. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  254. weldBetween(PART,acs)
  255. elseif TYPE == "Eye" then
  256. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  257. acs.Anchored = false
  258. acs.CanCollide = false
  259. acs.CFrame = PART.CFrame
  260. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  261. weldBetween(PART,acs)
  262. end
  263. end
  264.  
  265. createbodypart("Eye", "Ghost white", Head, VT(0.2, 0, -0.55), VT(2, 6, 2))
  266. createbodypart("Eye", "Ghost white", Head, VT(-0.2, 0, -0.55), VT(2, 6, 2))
  267.  
  268. --//=================================\\
  269. --|| USEFUL VALUES
  270. --\\=================================//
  271.  
  272. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  273. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  274. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  275. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  276. local CO1 = 0
  277. local CO2 = 0
  278. local CO3 = 0
  279. local CO4 = 0
  280. local CHANGEDEFENSE = 0
  281. local CHANGEDAMAGE = 0
  282. local CHANGEMOVEMENT = 0
  283. local ANIM = "Idle"
  284. local ATTACK = false
  285. local EQUIPPED = false
  286. local HOLD = false
  287. local COMBO = 1
  288. local LASTPOINT = nil
  289. local BLCF = nil
  290. local SCFR = nil
  291. local KEYHOLD = false
  292. local STAGGERHITANIM = false
  293. local STAGGERANIM = false
  294. local STUNANIM = false
  295. local CRITCHANCENUMBER = 0
  296. local IDLENUMBER = 0
  297. local DONUMBER = 0
  298. local HANDIDLE = false
  299. local Rooted = false
  300. local SINE = 0
  301. local CHANGE = 2 / Animation_Speed
  302. local WALKINGANIM = false
  303. local WALK = 0
  304. local DANCE = false
  305. local DISABLEJUMPING = false
  306. local ROBLOXIDLEANIMATION = IT("Animation")
  307. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  308. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  309. --ROBLOXIDLEANIMATION.Parent = Humanoid
  310. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  311. WEAPONGUI.Name = "Weapon GUI"
  312. local Weapon = IT("Model")
  313. Weapon.Name = Weapon_Name
  314. local Effects = IT("Folder", Weapon)
  315. Effects.Name = "Effects"
  316. local Bombs = IT("Folder", Weapon)
  317. Bombs.Name = "BombsHolder"
  318. local ANIMATOR = Humanoid.Animator
  319. local ANIMATE = Character.Animate
  320. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  321. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  322. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  323. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  324. local UNANCHOR = true
  325. local MAGICPARTICLE = "655109389"
  326.  
  327. local SKILLTEXTCOLOR = C3(0,0,0)
  328.  
  329. --//=================================\\
  330. --\\=================================//
  331.  
  332.  
  333. --//=================================\\
  334. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  335. --\\=================================//
  336.  
  337. ArtificialHB = Instance.new("BindableEvent", script)
  338. ArtificialHB.Name = "ArtificialHB"
  339.  
  340. script:WaitForChild("ArtificialHB")
  341.  
  342. frame = Frame_Speed
  343. tf = 0
  344. allowframeloss = false
  345. tossremainder = false
  346. lastframe = tick()
  347. script.ArtificialHB:Fire()
  348.  
  349. game:GetService("RunService").Heartbeat:connect(function(s, p)
  350. tf = tf + s
  351. if tf >= frame then
  352. if allowframeloss then
  353. script.ArtificialHB:Fire()
  354. lastframe = tick()
  355. else
  356. for i = 1, math.floor(tf / frame) do
  357. script.ArtificialHB:Fire()
  358. end
  359. lastframe = tick()
  360. end
  361. if tossremainder then
  362. tf = 0
  363. else
  364. tf = tf - frame * math.floor(tf / frame)
  365. end
  366. end
  367. end)
  368.  
  369. --//=================================\\
  370. --\\=================================//
  371.  
  372.  
  373.  
  374.  
  375.  
  376. --//=================================\\
  377. --|| SOME FUNCTIONS
  378. --\\=================================//
  379.  
  380. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  381. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  382. end
  383.  
  384. function PositiveAngle(NUMBER)
  385. if NUMBER >= 0 then
  386. NUMBER = 0
  387. end
  388. return NUMBER
  389. end
  390.  
  391. function NegativeAngle(NUMBER)
  392. if NUMBER <= 0 then
  393. NUMBER = 0
  394. end
  395. return NUMBER
  396. end
  397.  
  398. function Swait(NUMBER)
  399. if NUMBER == 0 or NUMBER == nil then
  400. ArtificialHB.Event:wait()
  401. else
  402. for i = 1, NUMBER do
  403. ArtificialHB.Event:wait()
  404. end
  405. end
  406. end
  407.  
  408. function QuaternionFromCFrame(cf)
  409. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  410. local trace = m00 + m11 + m22
  411. if trace > 0 then
  412. local s = math.sqrt(1 + trace)
  413. local recip = 0.5 / s
  414. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  415. else
  416. local i = 0
  417. if m11 > m00 then
  418. i = 1
  419. end
  420. if m22 > (i == 0 and m00 or m11) then
  421. i = 2
  422. end
  423. if i == 0 then
  424. local s = math.sqrt(m00 - m11 - m22 + 1)
  425. local recip = 0.5 / s
  426. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  427. elseif i == 1 then
  428. local s = math.sqrt(m11 - m22 - m00 + 1)
  429. local recip = 0.5 / s
  430. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  431. elseif i == 2 then
  432. local s = math.sqrt(m22 - m00 - m11 + 1)
  433. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  434. end
  435. end
  436. end
  437.  
  438. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  439. local xs, ys, zs = x + x, y + y, z + z
  440. local wx, wy, wz = w * xs, w * ys, w * zs
  441. local xx = x * xs
  442. local xy = x * ys
  443. local xz = x * zs
  444. local yy = y * ys
  445. local yz = y * zs
  446. local zz = z * zs
  447. 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))
  448. end
  449.  
  450. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  451. local fp=IT("Part")
  452. fp.formFactor=formfactor
  453. fp.Parent=parent
  454. fp.Reflectance=reflectance
  455. fp.Transparency=transparency
  456. fp.CanCollide=false
  457. fp.Locked=true
  458. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  459. fp.Name=name
  460. fp.Size=size
  461. fp.Position=Character.Torso.Position
  462. NoOutlines(fp)
  463. fp.Material=material
  464. fp:BreakJoints()
  465. return fp
  466. end
  467.  
  468. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  469. local mesh=IT(Mesh)
  470. mesh.Parent=part
  471. if Mesh=="SpecialMesh" then
  472. mesh.MeshType=meshtype
  473. mesh.MeshId=meshid
  474. end
  475. mesh.Offset=offset
  476. mesh.Scale=scale
  477. return mesh
  478. end
  479.  
  480. function QuaternionSlerp(a, b, t)
  481. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  482. local startInterp, finishInterp;
  483. if cosTheta >= 0.0001 then
  484. if (1 - cosTheta) > 0.0001 then
  485. local theta = ACOS(cosTheta)
  486. local invSinTheta = 1 / SIN(theta)
  487. startInterp = SIN((1 - t) * theta) * invSinTheta
  488. finishInterp = SIN(t * theta) * invSinTheta
  489. else
  490. startInterp = 1 - t
  491. finishInterp = t
  492. end
  493. else
  494. if (1 + cosTheta) > 0.0001 then
  495. local theta = ACOS(-cosTheta)
  496. local invSinTheta = 1 / SIN(theta)
  497. startInterp = SIN((t - 1) * theta) * invSinTheta
  498. finishInterp = SIN(t * theta) * invSinTheta
  499. else
  500. startInterp = t - 1
  501. finishInterp = t
  502. end
  503. end
  504. 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
  505. end
  506.  
  507. function Clerp(a, b, t)
  508. local qa = {QuaternionFromCFrame(a)}
  509. local qb = {QuaternionFromCFrame(b)}
  510. local ax, ay, az = a.x, a.y, a.z
  511. local bx, by, bz = b.x, b.y, b.z
  512. local _t = 1 - t
  513. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  514. end
  515.  
  516. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  517. local frame = IT("Frame")
  518. frame.BackgroundTransparency = TRANSPARENCY
  519. frame.BorderSizePixel = BORDERSIZEPIXEL
  520. frame.Position = POSITION
  521. frame.Size = SIZE
  522. frame.BackgroundColor3 = COLOR
  523. frame.BorderColor3 = BORDERCOLOR
  524. frame.Name = NAME
  525. frame.Parent = PARENT
  526. return frame
  527. end
  528.  
  529. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  530. local label = IT("TextLabel")
  531. label.BackgroundTransparency = 1
  532. label.Size = UD2(1, 0, 1, 0)
  533. label.Position = UD2(0, 0, 0, 0)
  534. label.TextColor3 = TEXTCOLOR
  535. label.TextStrokeTransparency = STROKETRANSPARENCY
  536. label.TextTransparency = TRANSPARENCY
  537. label.FontSize = TEXTFONTSIZE
  538. label.Font = TEXTFONT
  539. label.BorderSizePixel = BORDERSIZEPIXEL
  540. label.TextScaled = false
  541. label.Text = TEXT
  542. label.Name = NAME
  543. label.Parent = PARENT
  544. return label
  545. end
  546.  
  547. function NoOutlines(PART)
  548. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  549. end
  550.  
  551.  
  552. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  553. local NEWWELD = IT(TYPE)
  554. NEWWELD.Part0 = PART0
  555. NEWWELD.Part1 = PART1
  556. NEWWELD.C0 = C0
  557. NEWWELD.C1 = C1
  558. NEWWELD.Parent = PARENT
  559. return NEWWELD
  560. end
  561.  
  562. function CreateSound(ID, PARENT, VOLUME, PITCH)
  563. local NEWSOUND = nil
  564. coroutine.resume(coroutine.create(function()
  565. NEWSOUND = IT("Sound", PARENT)
  566. NEWSOUND.Volume = VOLUME
  567. NEWSOUND.Pitch = PITCH
  568. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  569. Swait()
  570. NEWSOUND:play()
  571. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  572. end))
  573. return NEWSOUND
  574. end
  575.  
  576. function CFrameFromTopBack(at, top, back)
  577. local right = top:Cross(back)
  578. 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)
  579. end
  580.  
  581. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  582. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  583. local mesh = IT("SpecialMesh",wave)
  584. mesh.MeshType = "FileMesh"
  585. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  586. mesh.Scale = VT(size,size,size)
  587. mesh.Offset = VT(0,0,-size/8)
  588. wave.CFrame = cframe
  589. coroutine.resume(coroutine.create(function(PART)
  590. for i = 1, waitt do
  591. Swait()
  592. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  593. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  594. if doesrotate == true then
  595. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  596. end
  597. wave.Transparency = wave.Transparency + (0.5/waitt)
  598. if wave.Transparency > 0.99 then
  599. wave:remove()
  600. end
  601. end
  602. end))
  603. end
  604.  
  605. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  606. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  607. local mesh = IT("SpecialMesh",wave)
  608. mesh.MeshType = "FileMesh"
  609. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  610. mesh.Scale = VT(size,size,size)
  611. wave.CFrame = cframe
  612. coroutine.resume(coroutine.create(function(PART)
  613. for i = 1, waitt do
  614. Swait()
  615. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  616. if doesrotate == true then
  617. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  618. end
  619. wave.Transparency = wave.Transparency + (0.5/waitt)
  620. if wave.Transparency > 0.99 then
  621. wave:remove()
  622. end
  623. end
  624. end))
  625. end
  626.  
  627. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  628. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  629. local mesh = IT("SpecialMesh",wave)
  630. mesh.MeshType = "FileMesh"
  631. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  632. mesh.Scale = VT(size,size,size)
  633. wave.CFrame = cframe
  634. coroutine.resume(coroutine.create(function(PART)
  635. for i = 1, waitt do
  636. Swait()
  637. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  638. if doesrotate == true then
  639. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  640. end
  641. wave.Transparency = wave.Transparency + (0.5/waitt)
  642. if wave.Transparency > 0.99 then
  643. wave:remove()
  644. end
  645. end
  646. end))
  647. end
  648.  
  649. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  650. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  651. local mesh = IT("SpecialMesh",wave)
  652. mesh.MeshType = "FileMesh"
  653. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  654. mesh.Scale = VT(size,size,size)
  655. mesh.Offset = VT(0,0,0)
  656. wave.CFrame = cframe
  657. coroutine.resume(coroutine.create(function(PART)
  658. for i = 1, waitt do
  659. Swait()
  660. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  661. if doesrotate == true then
  662. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  663. end
  664. wave.Transparency = wave.Transparency + (0.5/waitt)
  665. if wave.Transparency > 0.99 then
  666. wave:remove()
  667. end
  668. end
  669. end))
  670. end
  671.  
  672. function MagicSphere(size,waitt,cframe,color)
  673. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  674. local mesh = IT("SpecialMesh",wave)
  675. mesh.MeshType = "Sphere"
  676. mesh.Scale = VT(size,size,size)
  677. mesh.Offset = VT(0,0,0)
  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.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. function MagicSphere2(size,waitt,cframe,color)
  692. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  693. local mesh = IT("SpecialMesh",wave)
  694. mesh.MeshType = "Sphere"
  695. mesh.Scale = VT(size,size,size)
  696. mesh.Offset = VT(0,0,0)
  697. wave.CFrame = cframe
  698. coroutine.resume(coroutine.create(function(PART)
  699. for i = 1, waitt do
  700. Swait()
  701. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  702. wave.Transparency = wave.Transparency - (1/waitt)
  703. end
  704. wave:remove()
  705. end))
  706. end
  707.  
  708. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  709. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  710. prt.Anchored=true
  711. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  712. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  713. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  714. CF=Part.CFrame
  715. Numbb=0
  716. randnumb=math.random()-math.random()
  717. for i=0,1,0.05 do
  718. wait()
  719. CF=CF*CF(0,1,0)
  720. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  721. Part.CFrame=CF*EULER(Numbb,0,0)
  722. Part.Transparency=i
  723. Numbb=Numbb+randnumb
  724. end
  725. Part.Parent=nil
  726. end),prt)
  727. end
  728.  
  729. function MagicBlock(size,waitt,cframe,color)
  730. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  731. local mesh = IT("BlockMesh",wave)
  732. wave.CFrame = cframe
  733. coroutine.resume(coroutine.create(function(PART)
  734. for i = 1, waitt do
  735. Swait()
  736. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  737. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  738. wave.Transparency = wave.Transparency + (1/waitt)
  739. if wave.Transparency > 0.99 then
  740. wave:remove()
  741. end
  742. end
  743. end))
  744. end
  745.  
  746. local EyeSizes={
  747. NumberSequenceKeypoint.new(0,1,0),
  748. NumberSequenceKeypoint.new(1,0.2,0)
  749. }
  750. local EyeTrans={
  751. NumberSequenceKeypoint.new(0,0.8,0),
  752. NumberSequenceKeypoint.new(1,1,0)
  753. }
  754. local PE=Instance.new("ParticleEmitter")
  755. PE.LightEmission=0
  756. PE.Size=NumberSequence.new(EyeSizes)
  757. PE.Transparency=NumberSequence.new(EyeTrans)
  758. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  759. PE.Rotation=NumberRange.new(0,360)
  760. PE.Rate=15
  761. PE.Acceleration = Vector3.new(0,75,0)
  762. PE.Drag = 5
  763. PE.Enabled = false
  764. PE.Speed = NumberRange.new(0,0,0)
  765. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  766. PE.ZOffset = 0
  767. PE.Name = "Particles"
  768.  
  769. function CreateParticles(art,text,accel,drag,rate,type,isenabledbydefault)
  770. local particle = PE:Clone()
  771. particle.Parent = art
  772. particle.Acceleration = accel
  773. PE.Rate = rate
  774. if type == "Fire" then
  775. local EyeSizes={
  776. NumberSequenceKeypoint.new(0,1,0.3),
  777. NumberSequenceKeypoint.new(1,0.2,0.2)
  778. }
  779. PE.Size = NumberSequence.new(EyeSizes)
  780. elseif type == "Smoke" then
  781. local EyeSizes={
  782. NumberSequenceKeypoint.new(0,1,0),
  783. NumberSequenceKeypoint.new(1,5,0.5)
  784. }
  785. PE.Size = NumberSequence.new(EyeSizes)
  786. elseif type == "Solid" then
  787. local EyeSizes={
  788. NumberSequenceKeypoint.new(0,1,0),
  789. NumberSequenceKeypoint.new(1,1,0)
  790. }
  791. PE.Size = NumberSequence.new(EyeSizes)
  792. end
  793. PE.Drag = drag
  794. particle.Texture = "http://www.roblox.com/asset/?id="..text
  795. particle.Enabled = isenabledbydefault
  796. return particle
  797. end
  798.  
  799. function MakeForm(PART,TYPE)
  800. if TYPE == "Cyl" then
  801. local MSH = IT("CylinderMesh",PART)
  802. elseif TYPE == "Ball" then
  803. local MSH = IT("SpecialMesh",PART)
  804. MSH.MeshType = "Sphere"
  805. elseif TYPE == "Wedge" then
  806. local MSH = IT("SpecialMesh",PART)
  807. MSH.MeshType = "Wedge"
  808. end
  809. end
  810.  
  811. --//=================================\\
  812. --\\=================================//
  813.  
  814. function createaddongen(limb,position,size)
  815. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Ghost white", limb.Name.." Gauntlet Part", VT(0.25*Player_Size, size*0.8*Player_Size,size*0.8*Player_Size),false)
  816. 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))
  817. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", limb.Name.." Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  818. 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))
  819. end
  820.  
  821. function creategauntlet(limb)
  822. --main--
  823. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Ghost white", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  824. 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))
  825. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Ghost white", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  826. 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))
  827. MakeForm(part,"Wedge")
  828. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Ghost white", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.25*Player_Size,1.07*Player_Size),false)
  829. 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))
  830. MakeForm(part,"Wedge")
  831. local part = CreatePart(3, Weapon, "Glass", 0, 0, "Ghost white", limb.Name.." Gauntlet Part", VT(1.07*Player_Size,0.75+0.07*Player_Size,1.07*Player_Size),false)
  832. 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))
  833. --neon addons
  834. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", limb.Name.." Neon Gauntlet Part", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size),false)
  835. 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))
  836. --misc--
  837. createaddongen(limb,0.25,0.75)
  838. createaddongen(limb,-0.2,0.25)
  839. createaddongen(limb,-0.35,0.25)
  840. createaddongen(limb,-0.65,0.45)
  841. end
  842.  
  843. --//=================================\\
  844. --|| WEAPON CREATION
  845. --\\=================================//
  846.  
  847. creategauntlet(RightArm)
  848. creategauntlet(LeftLeg)
  849.  
  850. if Player_Size ~= 1 then
  851. for _, v in pairs (Weapon:GetChildren()) do
  852. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  853. local p1 = v.Part1
  854. v.Part1 = nil
  855. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  856. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  857. v.Part1 = p1
  858. elseif v.ClassName == "Part" then
  859. for _, b in pairs (v:GetChildren()) do
  860. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  861. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  862. end
  863. end
  864. end
  865. end
  866. end
  867.  
  868. for _, c in pairs(Weapon:GetChildren()) do
  869. if c.ClassName == "Part" then
  870. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  871. end
  872. end
  873.  
  874. Weapon.Parent = Character
  875.  
  876. Humanoid.Died:connect(function()
  877. sick:remove()
  878. sick2:remove()
  879. CreateSound("167285348", Head, 3, 1)
  880. ATTACK = true
  881. end)
  882.  
  883. print(Class_Name.." loaded.")
  884.  
  885. --//=================================\\
  886. --|| SPEECH
  887. --\\=================================//
  888.  
  889. function chatfunc(text,waitt)
  890. local chat = coroutine.wrap(function()
  891. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  892. Character:FindFirstChild("TalkingBillBoard"):destroy()
  893. end
  894. local naeeym2 = Instance.new("BillboardGui",Character)
  895. naeeym2.Size = UDim2.new(0,100,0,40)
  896. naeeym2.StudsOffset = Vector3.new(0,5,0)
  897. naeeym2.Adornee = Character.Head
  898. naeeym2.Name = "TalkingBillBoard"
  899. naeeym2.AlwaysOnTop = true
  900. local tecks2 = Instance.new("TextLabel",naeeym2)
  901. tecks2.BackgroundTransparency = 1
  902. tecks2.BorderSizePixel = 0
  903. tecks2.Text = ""
  904. tecks2.Font = "SciFi"
  905. tecks2.TextSize = 30
  906. tecks2.TextStrokeTransparency = 1
  907. tecks2.TextColor3 = SKILLTEXTCOLOR
  908. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  909. tecks2.Size = UDim2.new(1,0,0.5,0)
  910. for i = 1,string.len(text),1 do
  911. tecks2.Text = string.sub(text,1,i)
  912. Swait()
  913. end
  914. wait(waitt)
  915. coroutine.resume(coroutine.create(function()
  916. for i = 1, 10 do
  917. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  918. Swait()
  919. end
  920. naeeym2:Destroy()
  921. end))
  922. end)
  923. chat()
  924. end
  925.  
  926. --//=================================\\
  927. --|| DAMAGE FUNCTIONS
  928. --\\=================================//
  929.  
  930. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  931. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really red", "Effect", VT())
  932. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  933. local BODYGYRO = IT("BodyGyro", STATPART)
  934. local BODYPOSITION = IT("BodyPosition", STATPART)
  935. BODYPOSITION.P = 2000
  936. BODYPOSITION.D = 100
  937. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  938. if LABELTYPE == "Normal" then
  939. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  940. elseif LABELTYPE == "Debuff" then
  941. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  942. elseif LABELTYPE == "Interruption" then
  943. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  944. end
  945. game:GetService("Debris"):AddItem(STATPART ,5)
  946. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  947. BILLBOARDGUI.Adornee = STATPART
  948. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  949. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  950. BILLBOARDGUI.AlwaysOnTop = false
  951. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  952. TEXTLABEL.BackgroundTransparency = 1
  953. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  954. TEXTLABEL.Text = TEXT
  955. TEXTLABEL.Font = "SciFi"
  956. TEXTLABEL.FontSize="Size42"
  957. TEXTLABEL.TextColor3 = COLOR
  958. TEXTLABEL.TextStrokeTransparency = 1
  959. TEXTLABEL.TextScaled = true
  960. TEXTLABEL.TextWrapped = true
  961. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  962. wait(0.2)
  963. for i=1, 5 do
  964. wait()
  965. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  966. end
  967. wait(1.2)
  968. for i=1, 5 do
  969. wait()
  970. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  971. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  972. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  973. end
  974. THEPART.Parent = nil
  975. end),STATPART, BODYPOSITION, TEXTLABEL)
  976. end
  977.  
  978.  
  979. --//=================================\\
  980. --|| DAMAGING
  981. --\\=================================//
  982.  
  983. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  984. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  985. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  986. local dmg = math.random(min,max)
  987. if humanoid.Health > 0 then
  988. if beserk == true then
  989. humanoid.Health = 0
  990. else
  991. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  992. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  993. if math.random(1,100) < critrate+1 then
  994. humanoid.Health = humanoid.Health - dmg*critmultiplier
  995. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  996. else
  997. humanoid.Health = humanoid.Health - dmg
  998. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  999. end
  1000. local defence = Instance.new("BoolValue",hit.Parent)
  1001. defence.Name = ("HitBy"..Player.Name)
  1002. game:GetService("Debris"):AddItem(defence, 0.5)
  1003. end
  1004. end
  1005. end
  1006. end
  1007.  
  1008. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  1009. local dmg = math.random(min,max)
  1010. for i,v in ipairs(workspace:GetChildren()) do
  1011. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1012. local body = v:GetChildren()
  1013. for part = 1, #body do
  1014. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1015. if(body[part].Position - position).Magnitude < radius then
  1016. if v.ClassName == "Model" then
  1017. if v:FindFirstChild("Humanoid") then
  1018. if v.Humanoid.Health ~= 0 then
  1019. if CanBeDodgedByJumping == true then
  1020. if body[part].Position.Y < position.Y+5 then
  1021. if math.random(1,100) < critrate+1 then
  1022. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1023. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1024. else
  1025. v.Humanoid.Health = v.Humanoid.Health - dmg
  1026. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1027. end
  1028. local defence = Instance.new("BoolValue",v)
  1029. defence.Name = ("HitBy"..Player.Name)
  1030. game:GetService("Debris"):AddItem(defence, 0.5)
  1031. end
  1032. else
  1033. if beserk == true then
  1034. v.Humanoid.Health = 0
  1035. end
  1036. if math.random(1,100) < critrate+1 then
  1037. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  1038. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  1039. else
  1040. v.Humanoid.Health = v.Humanoid.Health - dmg
  1041. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  1042. end
  1043. local defence = Instance.new("BoolValue",v)
  1044. defence.Name = ("HitBy"..Player.Name)
  1045. game:GetService("Debris"):AddItem(defence, 0.5)
  1046. end
  1047. end
  1048. end
  1049. end
  1050. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1051. end
  1052. end
  1053. end
  1054. if v.ClassName == "Part" then
  1055. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1056. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1057. end
  1058. end
  1059. end
  1060. end
  1061. end
  1062.  
  1063. function killnearest(position,range,maxstrength)
  1064. for i,v in ipairs(workspace:GetChildren()) do
  1065. local body = v:GetChildren()
  1066. for part = 1, #body do
  1067. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1068. if(body[part].Position - position).Magnitude < range then
  1069. if v.ClassName == "Model" then
  1070. v:BreakJoints()
  1071. end
  1072. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1073. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1074. end
  1075. end
  1076. end
  1077. if v.ClassName == "Part" then
  1078. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1079. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1080. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1081. end
  1082. end
  1083. end
  1084. end
  1085.  
  1086. --//=================================\\
  1087. --|| ATTACK FUNCTIONS AND STUFF
  1088. --\\=================================//
  1089.  
  1090. function CheckTableForString(Table, String)
  1091. for i, v in pairs(Table) do
  1092. if string.find(string.lower(String), string.lower(v)) then
  1093. return true
  1094. end
  1095. end
  1096. return false
  1097. end
  1098.  
  1099. function CheckIntangible(Hit)
  1100. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  1101. if Hit and Hit.Parent then
  1102. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  1103. return true
  1104. end
  1105. end
  1106. return false
  1107. end
  1108.  
  1109. Debris = game:GetService("Debris")
  1110.  
  1111. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1112. local Direction = CFrame.new(StartPos, Vec).lookVector
  1113. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1114. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1115. if RayHit and CheckIntangible(RayHit) then
  1116. if DelayIfHit then
  1117. wait()
  1118. end
  1119. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1120. end
  1121. return RayHit, RayPos, RayNormal
  1122. end
  1123.  
  1124. function turnto(position)
  1125. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1126. end
  1127.  
  1128. function ExplodeBomb(b)
  1129. b.Parent = Effects
  1130. b.Anchored = true
  1131. CreateSound("215395285", b, 10, 1)
  1132. MagicSphere(5,50,b.CFrame,"Ghost white")
  1133. b.Transparency = 1
  1134. MagicBlock(3,45,b.CFrame,"Ghost white")
  1135. --BreakEffect("Ghost white",b.CFrame,2,2,2,"Neon")
  1136. for i = 1, 10 do
  1137. 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")
  1138. end
  1139. killnearest(b.Position,30,25)
  1140. game:GetService("Debris"):AddItem(b, 5)
  1141. end
  1142.  
  1143. function Detonate()
  1144. bomb = Bombs:GetChildren()
  1145. for lol = 1, #bomb do
  1146. if bomb[lol].ClassName == "Part" then
  1147. local b = bomb[lol]
  1148. ExplodeBomb(b)
  1149. end
  1150. end
  1151. end
  1152.  
  1153.  
  1154.  
  1155. function TyranyCannon()
  1156. ATTACK = true
  1157. for i=0, 1, 0.1 / Animation_Speed do
  1158. Swait()
  1159. turnto(Mouse.Hit.p)
  1160. 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)
  1161. 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)
  1162. 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)
  1163. 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)
  1164. 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)
  1165. 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)
  1166. end
  1167. local POS = Mouse.Hit.p
  1168. for i = 1, 5 do
  1169. MagicSphere(2,10,RightArm.CFrame * CF(0,-1,0),"Jet black")
  1170. Swait(5)
  1171. end
  1172. CreateSound("438666196", RightArm, 5, 1)
  1173. MagicSphere(5,10,RightArm.CFrame * CF(0,-1,0),"Jet black")
  1174. local Projectile = CreatePart(3, Bombs, "Neon", 0, 0, "Jet black", "Bomb-Projectile", VT(5,5,5),false)
  1175. Projectile.CFrame = RightArm.CFrame * CF(0,-1,0)
  1176. Projectile.CanCollide = false
  1177. MakeForm(Projectile,"Ball")
  1178. local grav = Instance.new("BodyPosition",Projectile)
  1179. grav.P = 25000
  1180. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1181. grav.position = POS
  1182. grav.Name = "GravityForce"
  1183. local harm = Projectile.Touched:Connect(function(hit)
  1184. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") and Projectile.Parent ~= Effects then
  1185. ExplodeBomb(Projectile)
  1186. end
  1187. end)
  1188. ATTACK = false
  1189. end
  1190.  
  1191. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1192. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1193. end
  1194.  
  1195. function EarthShatter()
  1196. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1197. if HITFLOOR ~= nil then
  1198. ATTACK = true
  1199. Rooted = true
  1200. for i=0, 1, 0.1 / Animation_Speed/2 do
  1201. Swait()
  1202. 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)
  1203. 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)
  1204. 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)
  1205. 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)
  1206. 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)
  1207. 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)
  1208. end
  1209. for i=0, 1, 0.1 / Animation_Speed*5 do
  1210. Swait()
  1211. RootPart.Anchored = true
  1212. 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)
  1213. 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)
  1214. 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)
  1215. 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)
  1216. 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)
  1217. 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)
  1218. end
  1219. local POS = RightArm.CFrame * CF(0,-1,0).p
  1220. for i = 1,10 do
  1221. CreateWave(0,10,true,0.05,25,CF(POS),"Really red")
  1222. CreateWave(0,6,true,-0.05,25,CF(POS),"Really red")
  1223. CreateWave(0,2,true,0.05,25,CF(POS),"Really red")
  1224. killnearest(POS,15,25)
  1225. CreateSound("438666141", RightArm, 5, 1)
  1226. for i = 1, 40 do
  1227. local angle = math.random(-180,180)
  1228. coroutine.resume(coroutine.create(function()
  1229. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  1230. local SpawnPosition = RayPos
  1231. local floor = RayHit
  1232. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  1233. local LastPosition = RayPos
  1234. local Delay = 1
  1235. if floor ~= nil then
  1236. for i = 1, 5 do
  1237. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  1238. local End = RayPos
  1239. LastPosition = End
  1240. killnearest(End,15,25)
  1241. local locatepart = Instance.new("Part",Effects)
  1242. locatepart.Size = VT(0.5,0.5,0.5)
  1243. locatepart.Position = End
  1244. locatepart.CanCollide = false
  1245. locatepart.Anchored = true
  1246. locatepart.Name = "L0"
  1247. locatepart.Transparency = 1
  1248. if SpawnPosition then
  1249. CreateSwirl(0,2,false,0.05,25,CF(End),"Really red")
  1250. local spike = Instance.new("CornerWedgePart")
  1251. spike.Size = Vector3.new(1,15,1)
  1252. spike.Material = "Neon"
  1253. spike.Color = "Really red"
  1254. spike.Anchored = true
  1255. spike.CanCollide = false
  1256. spike.CFrame = CFrame.new(End.X,SpawnPosition.Y+2,End.Z)
  1257. spike.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1258. spike.Name = HITFLOOR.Name.."Spike"
  1259. CreateSound("341300954", spike, 1, (math.random(8,12)/10))
  1260. for i = 1, 3 do
  1261. local overlay = spike:Clone()
  1262. overlay.Size = overlay.Size + Vector3.new(0.2,0.2*2,0.2)
  1263. overlay.CFrame = spike.CFrame
  1264. overlay.Parent = nil
  1265. overlay.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  1266. overlay.Parent = Effects
  1267. table.insert(Effects2,{overlay,"Disappear",0.01,0,0,0,0})
  1268. end
  1269. spike.Size = Vector3.new(2,25,2)
  1270. spike.Parent = Effects
  1271. table.insert(Effects2,{spike,"Disappear",0.01,0,0,0,0})
  1272. end
  1273. Swait(5)
  1274. game:GetService("Debris"):AddItem(locatepart, 5)
  1275. end
  1276. end
  1277. end))
  1278. end
  1279. wait(0.05)
  1280. end
  1281. for i=0, 6, 0.1 / Animation_Speed*5 do
  1282. Swait()
  1283. RootPart.Anchored = true
  1284. 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)
  1285. 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)
  1286. 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)
  1287. 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)
  1288. 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)
  1289. 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)
  1290. end
  1291. ATTACK = false
  1292. Rooted = false
  1293. end
  1294. end
  1295.  
  1296. function RavagingOverthrower()
  1297. ATTACK = true
  1298. Rooted = true
  1299. chatfunc("I will show you what is death!!!",4)
  1300. for i=0, 1, 0.1 / Animation_Speed do
  1301. Swait()
  1302. 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)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. 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)
  1307. 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)
  1308. end
  1309. CreateSound("348663022", Torso, 5, 1)
  1310. local StartPos = RootPart.CFrame * CF(0,0,-10).p
  1311. for i = 1, 5 do
  1312. MagicSphere2(25,25,CF(StartPos),"Light pink")
  1313. Swait(15)
  1314. end
  1315. local soundeffect = IT("Sound",Torso)
  1316. soundeffect.SoundId = "rbxassetid://818971480"
  1317. soundeffect.Looped = true
  1318. soundeffect.Volume = 10
  1319. soundeffect.Playing = true
  1320. repeat
  1321. turnto(Mouse.Hit.p)
  1322. MagicSphere2(25,25,CF(StartPos),"Light pink")
  1323. MagicSphere(25/10,25,CF(StartPos),"Light pink")
  1324. for i = 1, 3 do
  1325. 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")
  1326. end
  1327. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  1328. local distance = (StartPos - RayPos).magnitude
  1329. local RayBeam = IT("Part",Effects)
  1330. RayBeam.Material = "Neon"
  1331. RayBeam.Anchored = true
  1332. RayBeam.BrickColor = BRICKC"Really red"
  1333. local mesh = IT("SpecialMesh",RayBeam)
  1334. mesh.MeshType = "Cylinder"
  1335. RayBeam.Size = Vector3.new(distance+10, math.random(10,15), math.random(10,15))
  1336. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  1337. MagicSphere(15,5,CF(RayPos),"Really red")
  1338. killnearest(RayPos,15,100)
  1339. for i = 1, 3 do
  1340. 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")
  1341. end
  1342. Swait()
  1343. if KEYHOLD == false then
  1344. coroutine.resume(coroutine.create(function()
  1345. for i = 1, 30 do
  1346. RayBeam.Transparency = i/30
  1347. Swait()
  1348. end
  1349. RayBeam:remove()
  1350. end))
  1351. else
  1352. RayBeam:remove()
  1353. end
  1354. until KEYHOLD == false
  1355. soundeffect:remove()
  1356. ATTACK = false
  1357. Rooted = false
  1358. end
  1359.  
  1360. function dodadance()
  1361. ATTACK = true
  1362. Rooted = true
  1363. DANCE = true
  1364. sick:Stop()
  1365. sick2:Play()
  1366. local Animation_Speed2 = 1.5
  1367. HName.Text = "Dance!"
  1368. repeat
  1369. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1370. Swait()
  1371. 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)
  1372. 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)
  1373. 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)
  1374. 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)
  1375. 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)
  1376. 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)
  1377. end
  1378. MagicSphere(5,15,Torso.CFrame,"Really red")
  1379. for i=0, 1.3, 0.1 / Animation_Speed2 do
  1380. Swait()
  1381. 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)
  1382. 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)
  1383. 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)
  1384. 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)
  1385. 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)
  1386. 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)
  1387. end
  1388. MagicSphere(5,15,Torso.CFrame,"Really red")
  1389. until DANCE == false
  1390. HName.Text = "Calamity"
  1391. sick:Play()
  1392. sick2:Stop()
  1393. ATTACK = false
  1394. Rooted = false
  1395. end
  1396.  
  1397. function Warp()
  1398. MagicSphere2(10,5,Torso.CFrame,"Really red")
  1399. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+4,Mouse.Hit.p.Z))
  1400. CreateSound("282061340", Torso, 2, 1)
  1401. MagicSphere(5,5,Torso.CFrame,"Really red")
  1402. for i = 1, 3 do
  1403. 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")
  1404. end
  1405. killnearest(Torso.Position,12,25)
  1406. Swait()
  1407. turnto(Mouse.Hit.p)
  1408. end
  1409.  
  1410. --//=================================\\
  1411. --|| ASSIGN THINGS TO KEYS
  1412. --\\=================================//
  1413.  
  1414. Humanoid.Changed:connect(function(Jump)
  1415. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1416. Humanoid.Jump = false
  1417. end
  1418. end)
  1419.  
  1420. function MouseDown(Mouse)
  1421. if ATTACK == false then
  1422. end
  1423. end
  1424.  
  1425. function MouseUp(Mouse)
  1426. HOLD = false
  1427. end
  1428.  
  1429. function KeyDown(Key)
  1430. KEYHOLD = true
  1431. if Key == "e" and ATTACK == false then
  1432. TyranyCannon()
  1433. wait(1)
  1434. Detonate()
  1435. end
  1436.  
  1437. if Key == "e" and ATTACK == false then
  1438. EarthShatter()
  1439. end
  1440.  
  1441. if Key == "r" and ATTACK == false then
  1442. RavagingOverthrower()
  1443. end
  1444.  
  1445. if Key == "q" and ATTACK == false then
  1446. Warp()
  1447. end
  1448.  
  1449. if Key == "t" and ATTACK == false then
  1450. CreateSound("159882644", Head, 5, 0.8)
  1451. end
  1452.  
  1453. if Key == "t" and DANCE == true then
  1454. CreateSound("887591869", Head, 5, 1)
  1455. end
  1456.  
  1457. if Key == "x" and (ATTACK == false or DANCE == true) then
  1458. if DANCE == false then
  1459. dodadance()
  1460. elseif DANCE == true then
  1461. DANCE = false
  1462. end
  1463. end
  1464. end
  1465.  
  1466. function KeyUp(Key)
  1467. KEYHOLD = false
  1468. end
  1469.  
  1470. Mouse.Button1Down:connect(function(NEWKEY)
  1471. MouseDown(NEWKEY)
  1472. end)
  1473. Mouse.Button1Up:connect(function(NEWKEY)
  1474. MouseUp(NEWKEY)
  1475. end)
  1476. Mouse.KeyDown:connect(function(NEWKEY)
  1477. KeyDown(NEWKEY)
  1478. end)
  1479. Mouse.KeyUp:connect(function(NEWKEY)
  1480. KeyUp(NEWKEY)
  1481. end)
  1482.  
  1483. --//=================================\\
  1484. --\\=================================//
  1485.  
  1486.  
  1487. function unanchor()
  1488. if UNANCHOR == true then
  1489. g = Character:GetChildren()
  1490. for i = 1, #g do
  1491. if g[i].ClassName == "Part" then
  1492. g[i].Anchored = false
  1493. end
  1494. end
  1495. end
  1496. end
  1497.  
  1498.  
  1499. --//=================================\\
  1500. --|| WRAP THE WHOLE SCRIPT UP
  1501. --\\=================================//
  1502.  
  1503. Humanoid.Changed:connect(function(Jump)
  1504. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1505. Humanoid.Jump = false
  1506. end
  1507. end)
  1508.  
  1509. ANIMATE.Parent = nil
  1510. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1511. IDLEANIMATION:Play()
  1512.  
  1513. while true do
  1514. Swait()
  1515. SINE = SINE + CHANGE
  1516. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1517. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1518. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1519. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1520. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1521. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1522. 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)
  1523. 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)
  1524. 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)
  1525. 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)
  1526. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1527. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1528. 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)
  1529. 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)
  1530. 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)
  1531. end
  1532. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1533. ANIM = "Jump"
  1534. if ATTACK == false then
  1535. 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)
  1536. 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)
  1537. 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)
  1538. 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)
  1539. 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)
  1540. 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)
  1541. end
  1542. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1543. ANIM = "Fall"
  1544. if ATTACK == false then
  1545. 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)
  1546. 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)
  1547. 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)
  1548. 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)
  1549. 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)
  1550. 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)
  1551. end
  1552. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1553. ANIM = "Idle"
  1554. if ATTACK == false then
  1555. 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)
  1556. 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)
  1557. 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)
  1558. 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)
  1559. 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)
  1560. 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)
  1561. end
  1562. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1563. ANIM = "Walk"
  1564. WALK = WALK + 1 / Animation_Speed
  1565. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1566. WALK = 0
  1567. if WALKINGANIM == true then
  1568. WALKINGANIM = false
  1569. elseif WALKINGANIM == false then
  1570. WALKINGANIM = true
  1571. end
  1572. end
  1573. --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)
  1574. --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)
  1575. if ATTACK == false then
  1576. 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)
  1577. 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)
  1578. 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)
  1579. 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)
  1580. 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)
  1581. 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)
  1582. end
  1583. end
  1584. if #Effects2>0 then
  1585. for e=1,#Effects2 do
  1586. if Effects2[e]~=nil then
  1587. local Thing=Effects2[e]
  1588. if Thing~=nil then
  1589. local Part=Thing[1]
  1590. local Mode=Thing[2]
  1591. local Delay=Thing[3]
  1592. local IncX=Thing[4]
  1593. local IncY=Thing[5]
  1594. local IncZ=Thing[6]
  1595. local Part2=Thing[8]
  1596. if Thing[1].Transparency<=1 then
  1597. if Thing[2]=="Block1" then
  1598. Thing[1].CFrame=Thing[1].CFrame
  1599. Mesh=Thing[1].Mesh
  1600. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1601. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1602. elseif Thing[2]=="Cylinder" then
  1603. Mesh=Thing[1].Mesh
  1604. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1605. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1606. elseif Thing[2]=="Blood" then
  1607. Mesh=Thing[7]
  1608. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1609. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1610. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1611. elseif Thing[2]=="Elec" then
  1612. Mesh=Thing[1].Mesh
  1613. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1614. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1615. elseif Thing[2]=="Disappear" then
  1616. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1617. end
  1618. else
  1619. Part.Parent=nil
  1620. table.remove(Effects2,e)
  1621. end
  1622. end
  1623. end
  1624. end
  1625. end
  1626. unanchor()
  1627. Humanoid.MaxHealth = "inf"
  1628. Humanoid.Health = "inf"
  1629. Humanoid.Name = "Ravage"
  1630. if Rooted == false then
  1631. Disable_Jump = false
  1632. Humanoid.WalkSpeed = Speed
  1633. elseif Rooted == true then
  1634. Disable_Jump = true
  1635. Humanoid.WalkSpeed = 0
  1636. end
  1637. q = Character:GetChildren()
  1638. for u = 1, #q do
  1639. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1640. q[u]:remove()
  1641. elseif q[u].ClassName == "Shirt" then
  1642. q[u]:Destroy()
  1643. elseif q[u].ClassName == "Pants" then
  1644. q[u]:Destroy()
  1645. elseif q[u].ClassName == "CharacterMesh" then
  1646. q[u]:remove()
  1647. elseif q[u].ClassName == "ShirtGraphic" then
  1648. q[u]:remove()
  1649. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1650. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  1651. end
  1652. end
  1653. if Head:FindFirstChild("face") then
  1654. Head.face:remove()
  1655. end
  1656. if Head:FindFirstChild("Died") then
  1657. Head.Died:remove()
  1658. end
  1659. bomb = Bombs:GetChildren()
  1660. for lol = 1, #bomb do
  1661. if bomb[lol].ClassName == "Part" then
  1662. MagicSphere2(2,5,bomb[lol].CFrame,"Really red")
  1663. end
  1664. end
  1665. end
  1666.  
  1667. --//=================================\\
  1668. --\\=================================//
  1669. RAW Paste Data
  1670.  
  1671. --//=========================\\--
  1672. --|| CREATED BY SHACKLUSTER ||--
  1673. --\\=========================//--
  1674.  
  1675. wait(0.2)
  1676.  
  1677. Player = game:GetService("Players").LocalPlayer
  1678. PlayerGui = Player.PlayerGui
  1679. Cam = workspace.CurrentCamera
  1680. Backpack = Player.Backpack
  1681. Character = Player.Character
  1682. Humanoid = Character.Humanoid
  1683. Mouse = Player:GetMouse()
  1684. RootPart = Character["HumanoidRootPart"]
  1685. Torso = Character["Torso"]
  1686. Head = Character["Head"]
  1687. RightArm = Character["Right Arm"]
  1688. LeftArm = Character["Left Arm"]
  1689. RightLeg = Character["Right Leg"]
  1690. LeftLeg = Character["Left Leg"]
  1691. RootJoint = RootPart["RootJoint"]
  1692. Neck = Torso["Neck"]
  1693. RightShoulder = Torso["Right Shoulder"]
  1694. LeftShoulder = Torso["Left Shoulder"]
  1695. RightHip = Torso["Right Hip"]
  1696. LeftHip = Torso["Left Hip"]
  1697. local sick = Instance.new("Sound",Character)
  1698. sick.SoundId = "rbxassetid://818971480"
  1699. sick.Looped = true
  1700. sick.Pitch = 1
  1701. sick.Volume = 10
  1702. sick:Play()
  1703. local sick2 = Instance.new("Sound",Character)
  1704. sick2.SoundId = "rbxassetid://818971480"
  1705. sick2.Looped = false
  1706. sick2.Pitch = 1
  1707. sick2.Volume = 10
  1708. Humanoid.DisplayDistanceType = "None"
  1709. Player:ClearCharacterAppearance()
  1710.  
  1711. IT = Instance.new
  1712. CF = CFrame.new
  1713. VT = Vector3.new
  1714. RAD = math.rad
  1715. C3 = Color3.new
  1716. UD2 = UDim2.new
  1717. BRICKC = BrickColor.new
  1718. ANGLES = CFrame.Angles
  1719. EULER = CFrame.fromEulerAnglesXYZ
  1720. COS = math.cos
  1721. ACOS = math.acos
  1722. SIN = math.sin
  1723. ASIN = math.asin
  1724. ABS = math.abs
  1725. MRANDOM = math.random
  1726. FLOOR = math.floor
  1727.  
  1728. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1729. local NEWMESH = IT(MESH)
  1730. if MESH == "SpecialMesh" then
  1731. NEWMESH.MeshType = MESHTYPE
  1732. if MESHID ~= "nil" and MESHID ~= "" then
  1733. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1734. end
  1735. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1736. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1737. end
  1738. end
  1739. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1740. NEWMESH.Scale = SCALE
  1741. NEWMESH.Parent = PARENT
  1742. return NEWMESH
  1743. end
  1744.  
  1745. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1746. local NEWPART = IT("Part")
  1747. NEWPART.formFactor = FORMFACTOR
  1748. NEWPART.Reflectance = REFLECTANCE
  1749. NEWPART.Transparency = TRANSPARENCY
  1750. NEWPART.CanCollide = false
  1751. NEWPART.Locked = true
  1752. NEWPART.Anchored = true
  1753. if ANCHOR == false then
  1754. NEWPART.Anchored = false
  1755. end
  1756. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1757. NEWPART.Name = NAME
  1758. NEWPART.Size = SIZE
  1759. NEWPART.Position = Torso.Position
  1760. NEWPART.Material = MATERIAL
  1761. NEWPART:BreakJoints()
  1762. NEWPART.Parent = PARENT
  1763. return NEWPART
  1764. end
  1765.  
  1766.  
  1767.  
  1768. local HBill = Instance.new("BillboardGui",Head)
  1769. local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
  1770. local HName = Instance.new("TextLabel")
  1771. HBill.Size = UDim2.new(15,0,2.2,0)
  1772. HBill.Name = "Health Display"
  1773. HBill.StudsOffset = Vector3.new(3.675,2,0)
  1774. HBill.AlwaysOnTop = true
  1775. HBill.Enabled = true
  1776. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  1777. HMain.BackgroundTransparency = 1
  1778. HMain.Size = UDim2.new(.5,0,.5,0)
  1779. HName.Parent = HMain
  1780. HName.BackgroundTransparency = 1
  1781. HName.BackgroundColor3 = Color3.new(0,0,0)
  1782. HName.BorderColor3 = Color3.new(0,0,0)
  1783. HName.BorderSizePixel = 2
  1784. HName.Size = UDim2.new(1,0,.75,0)
  1785. HName.Font = "SciFi"
  1786. HName.Text = "Calamity"
  1787. HName.TextScaled = true
  1788. HName.TextColor3 = Color3.new(255,0,0)
  1789. HName.TextStrokeColor3 = Color3.new(0,0,0)
  1790. HName.TextStrokeTransparency = 0
  1791. HName.TextYAlignment = "Bottom"
  1792.  
  1793.  
  1794. --//=================================\\
  1795. --|| CUSTOMIZATION
  1796. --\\=================================//
  1797.  
  1798. Class_Name = "SatanBot.exe"
  1799. Weapon_Name = "Add-ons"
  1800.  
  1801. Custom_Colors = {
  1802. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  1803. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  1804.  
  1805. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  1806. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  1807. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  1808. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  1809. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  1810.  
  1811. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  1812. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  1813. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  1814. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  1815. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  1816. }
  1817.  
  1818.  
  1819. Player_Size = 1 --Size of the player.
  1820. Animation_Speed = 3
  1821. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  1822.  
  1823. local Speed = 35
  1824. local Effects2 = {}
  1825.  
  1826. --//=================================\\
  1827. --|| END OF CUSTOMIZATION
  1828. --\\=================================//
  1829.  
  1830. local function weldBetween(a, b)
  1831. local weldd = Instance.new("ManualWeld")
  1832. weldd.Part0 = a
  1833. weldd.Part1 = b
  1834. weldd.C0 = CFrame.new()
  1835. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1836. weldd.Parent = a
  1837. return weldd
  1838. end
  1839.  
  1840. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1841. local acs = Instance.new("Part")
  1842. acs.CanCollide = false
  1843. acs.Anchored = false
  1844. acs.Size = Vector3.new(0,0,0)
  1845. acs.CFrame = attachmentpart.CFrame
  1846. acs.Parent = attachmentpart
  1847. acs.BrickColor = color
  1848. local meshs = Instance.new("SpecialMesh")
  1849. meshs.MeshId = mesh
  1850. meshs.TextureId = texture
  1851. meshs.Parent = acs
  1852. meshs.Scale = scale
  1853. meshs.Offset = offset
  1854. weldBetween(attachmentpart,acs)
  1855. end
  1856.  
  1857. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  1858. if TYPE == "Gem" then
  1859. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  1860. acs.Anchored = false
  1861. acs.CanCollide = false
  1862. acs.CFrame = PART.CFrame
  1863. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  1864. weldBetween(PART,acs)
  1865. elseif TYPE == "Skull" then
  1866. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  1867. acs.Anchored = false
  1868. acs.CanCollide = false
  1869. acs.CFrame = PART.CFrame
  1870. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  1871. weldBetween(PART,acs)
  1872. elseif TYPE == "Eye" then
  1873. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  1874. acs.Anchored = false
  1875. acs.CanCollide = false
  1876. acs.CFrame = PART.CFrame
  1877. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  1878. weldBetween(PART,acs)
  1879. end
  1880. end
  1881.  
  1882. createbodypart("Eye", "Ghost white", Head, VT(0.2, 0, -0.55), VT(2, 6, 2))
  1883. createbodypart("Eye", "Ghost white", Head, VT(-0.2, 0, -0.55), VT(2, 6, 2))
  1884. createbodypart("Eye", "Ghost white", Head, VT(0, 0, -0.6), VT(2, 8, 2))
  1885.  
  1886. --//=================================\\
  1887. --|| USEFUL VALUES
  1888. --\\=================================//
  1889.  
  1890. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1891. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1892. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1893. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1894. local CO1 = 0
  1895. local CO2 = 0
  1896. local CO3 = 0
  1897. local CO4 = 0
  1898. local CHANGEDEFENSE = 0
  1899. local CHANGEDAMAGE = 0
  1900. local CHANGEMOVEMENT = 0
  1901. local ANIM = "Idle"
  1902. local ATTACK = false
  1903. local EQUIPPED = false
  1904. local HOLD = false
  1905. local COMBO = 1
  1906. local LASTPOINT = nil
  1907. local BLCF = nil
  1908. local SCFR = nil
  1909. local KEYHOLD = false
  1910. local STAGGERHITANIM = false
  1911. local STAGGERANIM = false
  1912. local STUNANIM = false
  1913. local CRITCHANCENUMBER = 0
  1914. local IDLENUMBER = 0
  1915. local DONUMBER = 0
  1916. local HANDIDLE = false
  1917. local Rooted = false
  1918. local SINE = 0
  1919. local CHANGE = 2 / Animation_Speed
  1920. local WALKINGANIM = false
  1921. local WALK = 0
  1922. local DANCE = false
  1923. local DISABLEJUMPING = false
  1924. local ROBLOXIDLEANIMATION = IT("Animation")
  1925. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1926. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1927. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1928. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1929. WEAPONGUI.Name = "Weapon GUI"
  1930. local Weapon = IT("Model")
  1931. Weapon.Name = Weapon_Name
  1932. local Effects = IT("Folder", Weapon)
  1933. Effects.Name = "Effects"
  1934. local Bombs = IT("Folder", Weapon)
  1935. Bombs.Name = "BombsHolder"
  1936. local ANIMATOR = Humanoid.Animator
  1937. local ANIMATE = Character.Animate
  1938. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1939. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  1940. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  1941. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  1942. local UNANCHOR = true
  1943. local MAGICPARTICLE = "655109389"
  1944.  
  1945. local SKILLTEXTCOLOR = C3(0,0,0)
  1946.  
  1947. --//=================================\\
  1948. --\\=================================//
  1949.  
  1950.  
  1951. --//=================================\\
  1952. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1953. --\\=================================//
  1954.  
  1955. ArtificialHB = Instance.new("BindableEvent", script)
  1956. ArtificialHB.Name = "ArtificialHB"
  1957.  
  1958. script:WaitForChild("ArtificialHB")
  1959.  
  1960. frame = Frame_Speed
  1961. tf = 0
  1962. allowframeloss = false
  1963. tossremainder = false
  1964. lastframe = tick()
  1965. script.ArtificialHB:Fire()
  1966.  
  1967. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1968. tf = tf + s
  1969. if tf >= frame then
  1970. if allowframeloss then
  1971. script.ArtificialHB:Fire()
  1972. lastframe = tick()
  1973. else
  1974. for i = 1, math.floor(tf / frame) do
  1975. script.ArtificialHB:Fire()
  1976. end
  1977. lastframe = tick()
  1978. end
  1979. if tossremainder then
  1980. tf = 0
  1981. else
  1982. tf = tf - frame * math.floor(tf / frame)
  1983. end
  1984. end
  1985. end)
  1986.  
  1987. --//=================================\\
  1988. --\\=================================//
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994. --//=================================\\
  1995. --|| SOME FUNCTIONS
  1996. --\\=================================//
  1997.  
  1998. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1999. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2000. end
  2001.  
  2002. function PositiveAngle(NUMBER)
  2003. if NUMBER >= 0 then
  2004. NUMBER = 0
  2005. end
  2006. return NUMBER
  2007. end
  2008.  
  2009. function NegativeAngle(NUMBER)
  2010. if NUMBER <= 0 then
  2011. NUMBER = 0
  2012. end
  2013. return NUMBER
  2014. end
  2015.  
  2016. function Swait(NUMBER)
  2017. if NUMBER == 0 or NUMBER == nil then
  2018. ArtificialHB.Event:wait()
  2019. else
  2020. for i = 1, NUMBER do
  2021. ArtificialHB.Event:wait()
  2022. end
  2023. end
  2024. end
  2025.  
  2026. function QuaternionFromCFrame(cf)
  2027. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2028. local trace = m00 + m11 + m22
  2029. if trace > 0 then
  2030. local s = math.sqrt(1 + trace)
  2031. local recip = 0.5 / s
  2032. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  2033. else
  2034. local i = 0
  2035. if m11 > m00 then
  2036. i = 1
  2037. end
  2038. if m22 > (i == 0 and m00 or m11) then
  2039. i = 2
  2040. end
  2041. if i == 0 then
  2042. local s = math.sqrt(m00 - m11 - m22 + 1)
  2043. local recip = 0.5 / s
  2044. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  2045. elseif i == 1 then
  2046. local s = math.sqrt(m11 - m22 - m00 + 1)
  2047. local recip = 0.5 / s
  2048. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  2049. elseif i == 2 then
  2050. local s = math.sqrt(m22 - m00 - m11 + 1)
  2051. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  2052. end
  2053. end
  2054. end
  2055.  
  2056. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2057. local xs, ys, zs = x + x, y + y, z + z
  2058. local wx, wy, wz = w * xs, w * ys, w * zs
  2059. local xx = x * xs
  2060. local xy = x * ys
  2061. local xz = x * zs
  2062. local yy = y * ys
  2063. local yz = y * zs
  2064. local zz = z * zs
  2065. 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))
  2066. end
  2067.  
  2068. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  2069. local fp=IT("Part")
  2070. fp.formFactor=formfactor
  2071. fp.Parent=parent
  2072. fp.Reflectance=reflectance
  2073. fp.Transparency=transparency
  2074. fp.CanCollide=false
  2075. fp.Locked=true
  2076. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  2077. fp.Name=name
  2078. fp.Size=size
  2079. fp.Position=Character.Torso.Position
  2080. NoOutlines(fp)
  2081. fp.Material=material
  2082. fp:BreakJoints()
  2083. return fp
  2084. end
  2085.  
  2086. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2087. local mesh=IT(Mesh)
  2088. mesh.Parent=part
  2089. if Mesh=="SpecialMesh" then
  2090. mesh.MeshType=meshtype
  2091. mesh.MeshId=meshid
  2092. end
  2093. mesh.Offset=offset
  2094. mesh.Scale=scale
  2095. return mesh
  2096. end
  2097.  
  2098. function QuaternionSlerp(a, b, t)
  2099. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  2100. local startInterp, finishInterp;
  2101. if cosTheta >= 0.0001 then
  2102. if (1 - cosTheta) > 0.0001 then
  2103. local theta = ACOS(cosTheta)
  2104. local invSinTheta = 1 / SIN(theta)
  2105. startInterp = SIN((1 - t) * theta) * invSinTheta
  2106. finishInterp = SIN(t * theta) * invSinTheta
  2107. else
  2108. startInterp = 1 - t
  2109. finishInterp = t
  2110. end
  2111. else
  2112. if (1 + cosTheta) > 0.0001 then
  2113. local theta = ACOS(-cosTheta)
  2114. local invSinTheta = 1 / SIN(theta)
  2115. startInterp = SIN((t - 1) * theta) * invSinTheta
  2116. finishInterp = SIN(t * theta) * invSinTheta
  2117. else
  2118. startInterp = t - 1
  2119. finishInterp = t
  2120. end
  2121. end
  2122. 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
  2123. end
  2124.  
  2125. function Clerp(a, b, t)
  2126. local qa = {QuaternionFromCFrame(a)}
  2127. local qb = {QuaternionFromCFrame(b)}
  2128. local ax, ay, az = a.x, a.y, a.z
  2129. local bx, by, bz = b.x, b.y, b.z
  2130. local _t = 1 - t
  2131. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  2132. end
  2133.  
  2134. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  2135. local frame = IT("Frame")
  2136. frame.BackgroundTransparency = TRANSPARENCY
  2137. frame.BorderSizePixel = BORDERSIZEPIXEL
  2138. frame.Position = POSITION
  2139. frame.Size = SIZE
  2140. frame.BackgroundColor3 = COLOR
  2141. frame.BorderColor3 = BORDERCOLOR
  2142. frame.Name = NAME
  2143. frame.Parent = PARENT
  2144. return frame
  2145. end
  2146.  
  2147. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  2148. local label = IT("TextLabel")
  2149. label.BackgroundTransparency = 1
  2150. label.Size = UD2(1, 0, 1, 0)
  2151. label.Position = UD2(0, 0, 0, 0)
  2152. label.TextColor3 = TEXTCOLOR
  2153. label.TextStrokeTransparency = STROKETRANSPARENCY
  2154. label.TextTransparency = TRANSPARENCY
  2155. label.FontSize = TEXTFONTSIZE
  2156. label.Font = TEXTFONT
  2157. label.BorderSizePixel = BORDERSIZEPIXEL
  2158. label.TextScaled = false
  2159. label.Text = TEXT
  2160. label.Name = NAME
  2161. label.Parent = PARENT
  2162. return label
  2163. end
  2164.  
  2165. function NoOutlines(PART)
  2166. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  2167. end
  2168.  
  2169.  
  2170. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  2171. local NEWWELD = IT(TYPE)
  2172. NEWWELD.Part0 = PART0
  2173. NEWWELD.Part1 = PART1
  2174. NEWWELD.C0 = C0
  2175. NEWWELD.C1 = C1
  2176. NEWWELD.Parent = PARENT
  2177. return NEWWELD
  2178. end
  2179.  
  2180. function CreateSound(ID, PARENT, VOLUME, PITCH)
  2181. local NEWSOUND = nil
  2182. coroutine.resume(coroutine.create(function()
  2183. NEWSOUND = IT("Sound", PARENT)
  2184. NEWSOUND.Volume = VOLUME
  2185. NEWSOUND.Pitch = PITCH
  2186. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2187. Swait()
  2188. NEWSOUND:play()
  2189. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  2190. end))
  2191. return NEWSOUND
  2192. end
  2193.  
  2194. function CFrameFromTopBack(at, top, back)
  2195. local right = top:Cross(back)
  2196. 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)
  2197. end
  2198.  
  2199. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  2200. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  2201. local mesh = IT("SpecialMesh",wave)
  2202. mesh.MeshType = "FileMesh"
  2203. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2204. mesh.Scale = VT(size,size,size)
  2205. mesh.Offset = VT(0,0,-size/8)
  2206. wave.CFrame = cframe
  2207. coroutine.resume(coroutine.create(function(PART)
  2208. for i = 1, waitt do
  2209. Swait()
  2210. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  2211. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2212. if doesrotate == true then
  2213. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  2214. end
  2215. wave.Transparency = wave.Transparency + (0.5/waitt)
  2216. if wave.Transparency > 0.99 then
  2217. wave:remove()
  2218. end
  2219. end
  2220. end))
  2221. end
  2222.  
  2223. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  2224. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  2225. local mesh = IT("SpecialMesh",wave)
  2226. mesh.MeshType = "FileMesh"
  2227. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2228. mesh.Scale = VT(size,size,size)
  2229. wave.CFrame = cframe
  2230. coroutine.resume(coroutine.create(function(PART)
  2231. for i = 1, waitt do
  2232. Swait()
  2233. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  2234. if doesrotate == true then
  2235. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  2236. end
  2237. wave.Transparency = wave.Transparency + (0.5/waitt)
  2238. if wave.Transparency > 0.99 then
  2239. wave:remove()
  2240. end
  2241. end
  2242. end))
  2243. end
  2244.  
  2245. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  2246. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  2247. local mesh = IT("SpecialMesh",wave)
  2248. mesh.MeshType = "FileMesh"
  2249. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  2250. mesh.Scale = VT(size,size,size)
  2251. wave.CFrame = cframe
  2252. coroutine.resume(coroutine.create(function(PART)
  2253. for i = 1, waitt do
  2254. Swait()
  2255. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  2256. if doesrotate == true then
  2257. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  2258. end
  2259. wave.Transparency = wave.Transparency + (0.5/waitt)
  2260. if wave.Transparency > 0.99 then
  2261. wave:remove()
  2262. end
  2263. end
  2264. end))
  2265. end
  2266.  
  2267. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  2268. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  2269. local mesh = IT("SpecialMesh",wave)
  2270. mesh.MeshType = "FileMesh"
  2271. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2272. mesh.Scale = VT(size,size,size)
  2273. mesh.Offset = VT(0,0,0)
  2274. wave.CFrame = cframe
  2275. coroutine.resume(coroutine.create(function(PART)
  2276. for i = 1, waitt do
  2277. Swait()
  2278. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  2279. if doesrotate == true then
  2280. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  2281. end
  2282. wave.Transparency = wave.Transparency + (0.5/waitt)
  2283. if wave.Transparency > 0.99 then
  2284. wave:remove()
  2285. end
  2286. end
  2287. end))
  2288. end
  2289.  
  2290. function MagicSphere(size,waitt,cframe,color)
  2291. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  2292. local mesh = IT("SpecialMesh",wave)
  2293. mesh.MeshType = "Sphere"
  2294. mesh.Scale = VT(size,size,size)
  2295. mesh.Offset = VT(0,0,0)
  2296. wave.CFrame = cframe
  2297. coroutine.resume(coroutine.create(function(PART)
  2298. for i = 1, waitt do
  2299. Swait()
  2300. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  2301. wave.Transparency = wave.Transparency + (1/waitt)
  2302. if wave.Transparency > 0.99 then
  2303. wave:remove()
  2304. end
  2305. end
  2306. end))
  2307. end
  2308.  
  2309. function MagicSphere2(size,waitt,cframe,color)
  2310. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  2311. local mesh = IT("SpecialMesh",wave)
  2312. mesh.MeshType = "Sphere"
  2313. mesh.Scale = VT(size,size,size)
  2314. mesh.Offset = VT(0,0,0)
  2315. wave.CFrame = cframe
  2316. coroutine.resume(coroutine.create(function(PART)
  2317. for i = 1, waitt do
  2318. Swait()
  2319. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  2320. wave.Transparency = wave.Transparency - (1/waitt)
  2321. end
  2322. wave:remove()
  2323. end))
  2324. end
  2325.  
  2326. function BreakEffect(brickcolor,cframe,x1,y1,z1,material)
  2327. local prt=part("Custom",workspace,material,0,0,brickcolor,"Effect",VT(0.5,0.5,0.5))
  2328. prt.Anchored=true
  2329. prt.CFrame=cframe*EULER(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2330. local msh=mesh("SpecialMesh",prt,"Sphere","",VT(0,0,0),VT(x1,y1,z1))
  2331. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2332. CF=Part.CFrame
  2333. Numbb=0
  2334. randnumb=math.random()-math.random()
  2335. for i=0,1,0.05 do
  2336. wait()
  2337. CF=CF*CF(0,1,0)
  2338. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2339. Part.CFrame=CF*EULER(Numbb,0,0)
  2340. Part.Transparency=i
  2341. Numbb=Numbb+randnumb
  2342. end
  2343. Part.Parent=nil
  2344. end),prt)
  2345. end
  2346.  
  2347. function MagicBlock(size,waitt,cframe,color)
  2348. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  2349. local mesh = IT("BlockMesh",wave)
  2350. wave.CFrame = cframe
  2351. coroutine.resume(coroutine.create(function(PART)
  2352. for i = 1, waitt do
  2353. Swait()
  2354. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  2355. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  2356. wave.Transparency = wave.Transparency + (1/waitt)
  2357. if wave.Transparency > 0.99 then
  2358. wave:remove()
  2359. end
  2360. end
  2361. end))
  2362. end
  2363.  
  2364. local EyeSizes={
  2365. NumberSequenceKeypoint.new(0,1,0),
  2366. NumberSequenceKeypoint.new(1,0.2,0)
  2367. }
  2368. local EyeTrans={
  2369. NumberSequenceKeypoint.new(0,0.8,0),
  2370. NumberSequenceKeypoint.new(1,1,0)
  2371. }
  2372. local PE=Instance.new("ParticleEmitter")
  2373. PE.LightEmission=0
  2374. PE.Size=NumberSequence.new(EyeSizes)
  2375. PE.Transparency=NumberSequence.new(EyeTrans)
  2376. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  2377. PE.Rotation=NumberRange.new(0,360)
  2378. PE.Rate=15
  2379. PE.Acceleration = Vector3.new(0,75,0)
  2380. PE.Drag = 5
  2381. PE.Enabled = false
  2382. PE.Speed = NumberRange.new(0,0,0)
  2383. PE.Texture="http://www.roblox.com/asset/?id=1179557490"
  2384. PE.ZOffset = 0
  2385. PE.Name = "Particles"
  2386.  
  2387. function CreateParticles(art,text,accel,drag,rate,type,isenabledbydefault)
  2388. local particle = PE:Clone()
  2389. particle.Parent = art
  2390. particle.Acceleration = accel
  2391. PE.Rate = rate
  2392. if type == "Fire" then
  2393. local EyeSizes={
  2394. NumberSequenceKeypoint.new(0,1,0.3),
  2395. NumberSequenceKeypoint.new(1,0.2,0.2)
  2396. }
  2397. PE.Size = NumberSequence.new(EyeSizes)
  2398. elseif type == "Smoke" then
  2399. local EyeSizes={
  2400. NumberSequenceKeypoint.new(0,1,0),
  2401. NumberSequenceKeypoint.new(1,5,0.5)
  2402. }
  2403. PE.Size = NumberSequence.new(EyeSizes)
  2404. elseif type == "Solid" then
  2405. local EyeSizes={
  2406. NumberSequenceKeypoint.new(0,1,0),
  2407. NumberSequenceKeypoint.new(1,1,0)
  2408. }
  2409. PE.Size = NumberSequence.new(EyeSizes)
  2410. end
  2411. PE.Drag = drag
  2412. particle.Texture = "http://www.roblox.com/asset/?id="..text
  2413. particle.Enabled = isenabledbydefault
  2414. return particle
  2415. end
  2416.  
  2417. function MakeForm(PART,TYPE)
  2418. if TYPE == "Cyl" then
  2419. local MSH = IT("CylinderMesh",PART)
  2420. elseif TYPE == "Ball" then
  2421. local MSH = IT("SpecialMesh",PART)
  2422. MSH.MeshType = "Sphere"
  2423. elseif TYPE == "Wedge" then
  2424. local MSH = IT("SpecialMesh",PART)
  2425. MSH.MeshType = "Wedge"
  2426. end
  2427. end
  2428.  
  2429. --//=================================\\
  2430. --\\=================================//
  2431.  
  2432. function createaddongen(limb,position,size)
  2433. 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)
  2434. 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))
  2435. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Ghost white", limb.Name.." Neon Gauntlet Part", VT(0.25*Player_Size,size*Player_Size,size*Player_Size),false)
  2436. 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))
  2437. end
  2438.  
  2439. function creategauntlet(limb)
  2440. --main--
  2441. 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)
  2442. 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))
  2443. 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)
  2444. 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))
  2445. MakeForm(part,"Wedge")
  2446. 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)
  2447. 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))
  2448. MakeForm(part,"Wedge")
  2449. 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)
  2450. 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))
  2451. --neon addons
  2452. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Ghost white", limb.Name.." Neon Gauntlet Part", VT(1.05*Player_Size,2.05*Player_Size,1.05*Player_Size),false)
  2453. 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))
  2454. --misc--
  2455. createaddongen(limb,0.25,0.75)
  2456. createaddongen(limb,-0.2,0.25)
  2457. createaddongen(limb,-0.35,0.25)
  2458. createaddongen(limb,-0.65,0.45)
  2459. end
  2460.  
  2461. --//=================================\\
  2462. --|| WEAPON CREATION
  2463. --\\=================================//
  2464.  
  2465. creategauntlet(RightArm)
  2466. creategauntlet(LeftLeg)
  2467.  
  2468. if Player_Size ~= 1 then
  2469. for _, v in pairs (Weapon:GetChildren()) do
  2470. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  2471. local p1 = v.Part1
  2472. v.Part1 = nil
  2473. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  2474. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  2475. v.Part1 = p1
  2476. elseif v.ClassName == "Part" then
  2477. for _, b in pairs (v:GetChildren()) do
  2478. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  2479. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  2480. end
  2481. end
  2482. end
  2483. end
  2484. end
  2485.  
  2486. for _, c in pairs(Weapon:GetChildren()) do
  2487. if c.ClassName == "Part" then
  2488. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2489. end
  2490. end
  2491.  
  2492. Weapon.Parent = Character
  2493.  
  2494. Humanoid.Died:connect(function()
  2495. sick:remove()
  2496. sick2:remove()
  2497. CreateSound("167285348", Head, 3, 1)
  2498. ATTACK = true
  2499. end)
  2500.  
  2501. print(Class_Name.." loaded.")
  2502.  
  2503. --//=================================\\
  2504. --|| SPEECH
  2505. --\\=================================//
  2506.  
  2507. function chatfunc(text,waitt)
  2508. local chat = coroutine.wrap(function()
  2509. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2510. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2511. end
  2512. local naeeym2 = Instance.new("BillboardGui",Character)
  2513. naeeym2.Size = UDim2.new(0,100,0,40)
  2514. naeeym2.StudsOffset = Vector3.new(0,5,0)
  2515. naeeym2.Adornee = Character.Head
  2516. naeeym2.Name = "TalkingBillBoard"
  2517. naeeym2.AlwaysOnTop = true
  2518. local tecks2 = Instance.new("TextLabel",naeeym2)
  2519. tecks2.BackgroundTransparency = 1
  2520. tecks2.BorderSizePixel = 0
  2521. tecks2.Text = ""
  2522. tecks2.Font = "SciFi"
  2523. tecks2.TextSize = 30
  2524. tecks2.TextStrokeTransparency = 1
  2525. tecks2.TextColor3 = SKILLTEXTCOLOR
  2526. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  2527. tecks2.Size = UDim2.new(1,0,0.5,0)
  2528. for i = 1,string.len(text),1 do
  2529. tecks2.Text = string.sub(text,1,i)
  2530. Swait()
  2531. end
  2532. wait(waitt)
  2533. coroutine.resume(coroutine.create(function()
  2534. for i = 1, 10 do
  2535. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  2536. Swait()
  2537. end
  2538. naeeym2:Destroy()
  2539. end))
  2540. end)
  2541. chat()
  2542. end
  2543.  
  2544. --//=================================\\
  2545. --|| DAMAGE FUNCTIONS
  2546. --\\=================================//
  2547.  
  2548. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  2549. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really red", "Effect", VT())
  2550. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  2551. local BODYGYRO = IT("BodyGyro", STATPART)
  2552. local BODYPOSITION = IT("BodyPosition", STATPART)
  2553. BODYPOSITION.P = 2000
  2554. BODYPOSITION.D = 100
  2555. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  2556. if LABELTYPE == "Normal" then
  2557. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  2558. elseif LABELTYPE == "Debuff" then
  2559. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  2560. elseif LABELTYPE == "Interruption" then
  2561. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  2562. end
  2563. game:GetService("Debris"):AddItem(STATPART ,5)
  2564. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  2565. BILLBOARDGUI.Adornee = STATPART
  2566. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  2567. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  2568. BILLBOARDGUI.AlwaysOnTop = false
  2569. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  2570. TEXTLABEL.BackgroundTransparency = 1
  2571. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2572. TEXTLABEL.Text = TEXT
  2573. TEXTLABEL.Font = "SciFi"
  2574. TEXTLABEL.FontSize="Size42"
  2575. TEXTLABEL.TextColor3 = COLOR
  2576. TEXTLABEL.TextStrokeTransparency = 1
  2577. TEXTLABEL.TextScaled = true
  2578. TEXTLABEL.TextWrapped = true
  2579. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2580. wait(0.2)
  2581. for i=1, 5 do
  2582. wait()
  2583. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  2584. end
  2585. wait(1.2)
  2586. for i=1, 5 do
  2587. wait()
  2588. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  2589. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  2590. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  2591. end
  2592. THEPART.Parent = nil
  2593. end),STATPART, BODYPOSITION, TEXTLABEL)
  2594. end
  2595.  
  2596.  
  2597. --//=================================\\
  2598. --|| DAMAGING
  2599. --\\=================================//
  2600.  
  2601. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  2602. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  2603. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2604. local dmg = math.random(min,max)
  2605. if humanoid.Health > 0 then
  2606. if beserk == true then
  2607. humanoid.Health = 0
  2608. else
  2609. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  2610. hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  2611. if math.random(1,100) < critrate+1 then
  2612. humanoid.Health = humanoid.Health - dmg*critmultiplier
  2613. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  2614. else
  2615. humanoid.Health = humanoid.Health - dmg
  2616. StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  2617. end
  2618. local defence = Instance.new("BoolValue",hit.Parent)
  2619. defence.Name = ("HitBy"..Player.Name)
  2620. game:GetService("Debris"):AddItem(defence, 0.5)
  2621. end
  2622. end
  2623. end
  2624. end
  2625.  
  2626. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  2627. local dmg = math.random(min,max)
  2628. for i,v in ipairs(workspace:GetChildren()) do
  2629. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  2630. local body = v:GetChildren()
  2631. for part = 1, #body do
  2632. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2633. if(body[part].Position - position).Magnitude < radius then
  2634. if v.ClassName == "Model" then
  2635. if v:FindFirstChild("Humanoid") then
  2636. if v.Humanoid.Health ~= 0 then
  2637. if CanBeDodgedByJumping == true then
  2638. if body[part].Position.Y < position.Y+5 then
  2639. if math.random(1,100) < critrate+1 then
  2640. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  2641. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  2642. else
  2643. v.Humanoid.Health = v.Humanoid.Health - dmg
  2644. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  2645. end
  2646. local defence = Instance.new("BoolValue",v)
  2647. defence.Name = ("HitBy"..Player.Name)
  2648. game:GetService("Debris"):AddItem(defence, 0.5)
  2649. end
  2650. else
  2651. if beserk == true then
  2652. v.Humanoid.Health = 0
  2653. end
  2654. if math.random(1,100) < critrate+1 then
  2655. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  2656. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  2657. else
  2658. v.Humanoid.Health = v.Humanoid.Health - dmg
  2659. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  2660. end
  2661. local defence = Instance.new("BoolValue",v)
  2662. defence.Name = ("HitBy"..Player.Name)
  2663. game:GetService("Debris"):AddItem(defence, 0.5)
  2664. end
  2665. end
  2666. end
  2667. end
  2668. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  2669. end
  2670. end
  2671. end
  2672. if v.ClassName == "Part" then
  2673. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  2674. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  2675. end
  2676. end
  2677. end
  2678. end
  2679. end
  2680.  
  2681. function killnearest(position,range,maxstrength)
  2682. for i,v in ipairs(workspace:GetChildren()) do
  2683. local body = v:GetChildren()
  2684. for part = 1, #body do
  2685. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2686. if(body[part].Position - position).Magnitude < range then
  2687. if v.ClassName == "Model" then
  2688. v:BreakJoints()
  2689. end
  2690. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  2691. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  2692. end
  2693. end
  2694. end
  2695. if v.ClassName == "Part" then
  2696. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2697. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  2698. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  2699. end
  2700. end
  2701. end
  2702. end
  2703.  
  2704. --//=================================\\
  2705. --|| ATTACK FUNCTIONS AND STUFF
  2706. --\\=================================//
  2707.  
  2708. function CheckTableForString(Table, String)
  2709. for i, v in pairs(Table) do
  2710. if string.find(string.lower(String), string.lower(v)) then
  2711. return true
  2712. end
  2713. end
  2714. return false
  2715. end
  2716.  
  2717. function CheckIntangible(Hit)
  2718. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  2719. if Hit and Hit.Parent then
  2720. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  2721. return true
  2722. end
  2723. end
  2724. return false
  2725. end
  2726.  
  2727. Debris = game:GetService("Debris")
  2728.  
  2729. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  2730. local Direction = CFrame.new(StartPos, Vec).lookVector
  2731. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  2732. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  2733. if RayHit and CheckIntangible(RayHit) then
  2734. if DelayIfHit then
  2735. wait()
  2736. end
  2737. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  2738. end
  2739. return RayHit, RayPos, RayNormal
  2740. end
  2741.  
  2742. function turnto(position)
  2743. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2744. end
  2745.  
  2746. function ExplodeBomb(b)
  2747. b.Parent = Effects
  2748. b.Anchored = true
  2749. CreateSound("215395285", b, 10, 1)
  2750. MagicSphere(5,50,b.CFrame,"Ghost white")
  2751. b.Transparency = 1
  2752. MagicBlock(3,45,b.CFrame,"Ghost white")
  2753. --BreakEffect("Ghost white",b.CFrame,2,2,2,"Neon")
  2754. for i = 1, 10 do
  2755. 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")
  2756. end
  2757. killnearest(b.Position,30,25)
  2758. game:GetService("Debris"):AddItem(b, 5)
  2759. end
  2760.  
  2761. function Detonate()
  2762. bomb = Bombs:GetChildren()
  2763. for lol = 1, #bomb do
  2764. if bomb[lol].ClassName == "Part" then
  2765. local b = bomb[lol]
  2766. ExplodeBomb(b)
  2767. end
  2768. end
  2769. end
  2770.  
  2771.  
  2772.  
  2773. function TyranyCannon()
  2774. ATTACK = true
  2775. for i=0, 1, 0.1 / Animation_Speed do
  2776. Swait()
  2777. turnto(Mouse.Hit.p)
  2778. 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)
  2779. 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)
  2780. 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)
  2781. 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)
  2782. 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)
  2783. 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)
  2784. end
  2785. local POS = Mouse.Hit.p
  2786. for i = 1, 5 do
  2787. MagicSphere(2,10,RightArm.CFrame * CF(0,-1,0),"Jet black")
  2788. Swait(5)
  2789. end
  2790. CreateSound("438666196", RightArm, 5, 1)
  2791. MagicSphere(5,10,RightArm.CFrame * CF(0,-1,0),"Jet black")
  2792. local Projectile = CreatePart(3, Bombs, "Neon", 0, 0, "Jet black", "Bomb-Projectile", VT(5,5,5),false)
  2793. Projectile.CFrame = RightArm.CFrame * CF(0,-1,0)
  2794. Projectile.CanCollide = false
  2795. MakeForm(Projectile,"Ball")
  2796. local grav = Instance.new("BodyPosition",Projectile)
  2797. grav.P = 25000
  2798. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2799. grav.position = POS
  2800. grav.Name = "GravityForce"
  2801. local harm = Projectile.Touched:Connect(function(hit)
  2802. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") and Projectile.Parent ~= Effects then
  2803. ExplodeBomb(Projectile)
  2804. end
  2805. end)
  2806. ATTACK = false
  2807. end
  2808.  
  2809. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  2810. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  2811. end
  2812.  
  2813. function EarthShatter()
  2814. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2815. if HITFLOOR ~= nil then
  2816. ATTACK = true
  2817. Rooted = true
  2818. for i=0, 1, 0.1 / Animation_Speed/2 do
  2819. Swait()
  2820. 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)
  2821. 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)
  2822. 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)
  2823. 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)
  2824. 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)
  2825. 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)
  2826. end
  2827. for i=0, 1, 0.1 / Animation_Speed*5 do
  2828. Swait()
  2829. RootPart.Anchored = true
  2830. 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)
  2831. 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)
  2832. 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)
  2833. 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)
  2834. 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)
  2835. 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)
  2836. end
  2837. local POS = RightArm.CFrame * CF(0,-1,0).p
  2838. for i = 1,10 do
  2839. CreateWave(0,10,true,0.05,25,CF(POS),"Really red")
  2840. CreateWave(0,6,true,-0.05,25,CF(POS),"Really red")
  2841. CreateWave(0,2,true,0.05,25,CF(POS),"Really red")
  2842. killnearest(POS,15,25)
  2843. CreateSound("438666141", RightArm, 5, 1)
  2844. for i = 1, 40 do
  2845. local angle = math.random(-180,180)
  2846. coroutine.resume(coroutine.create(function()
  2847. local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character})
  2848. local SpawnPosition = RayPos
  2849. local floor = RayHit
  2850. local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0))
  2851. local LastPosition = RayPos
  2852. local Delay = 1
  2853. if floor ~= nil then
  2854. for i = 1, 5 do
  2855. local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace})
  2856. local End = RayPos
  2857. LastPosition = End
  2858. killnearest(End,15,25)
  2859. local locatepart = Instance.new("Part",Effects)
  2860. locatepart.Size = VT(0.5,0.5,0.5)
  2861. locatepart.Position = End
  2862. locatepart.CanCollide = false
  2863. locatepart.Anchored = true
  2864. locatepart.Name = "L0"
  2865. locatepart.Transparency = 1
  2866. if SpawnPosition then
  2867. CreateSwirl(0,2,false,0.05,25,CF(End),"Really red")
  2868. local spike = Instance.new("CornerWedgePart")
  2869. spike.Size = Vector3.new(1,15,1)
  2870. spike.Material = "Neon"
  2871. spike.Color = "Really red"
  2872. spike.Anchored = true
  2873. spike.CanCollide = false
  2874. spike.CFrame = CFrame.new(End.X,SpawnPosition.Y+2,End.Z)
  2875. spike.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  2876. spike.Name = HITFLOOR.Name.."Spike"
  2877. CreateSound("341300954", spike, 1, (math.random(8,12)/10))
  2878. for i = 1, 3 do
  2879. local overlay = spike:Clone()
  2880. overlay.Size = overlay.Size + Vector3.new(0.2,0.2*2,0.2)
  2881. overlay.CFrame = spike.CFrame
  2882. overlay.Parent = nil
  2883. overlay.Orientation = Vector3.new(math.random(-15,15),math.random(-180,180),math.random(-15,15))
  2884. overlay.Parent = Effects
  2885. table.insert(Effects2,{overlay,"Disappear",0.01,0,0,0,0})
  2886. end
  2887. spike.Size = Vector3.new(2,25,2)
  2888. spike.Parent = Effects
  2889. table.insert(Effects2,{spike,"Disappear",0.01,0,0,0,0})
  2890. end
  2891. Swait(5)
  2892. game:GetService("Debris"):AddItem(locatepart, 5)
  2893. end
  2894. end
  2895. end))
  2896. end
  2897. wait(0.05)
  2898. end
  2899. for i=0, 6, 0.1 / Animation_Speed*5 do
  2900. Swait()
  2901. RootPart.Anchored = true
  2902. 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)
  2903. 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)
  2904. 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)
  2905. 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)
  2906. 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)
  2907. 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)
  2908. end
  2909. ATTACK = false
  2910. Rooted = false
  2911. end
  2912. end
  2913.  
  2914. function RavagingOverthrower()
  2915. ATTACK = true
  2916. Rooted = true
  2917. chatfunc("I will show you what is death!!!",4)
  2918. for i=0, 1, 0.1 / Animation_Speed do
  2919. Swait()
  2920. 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)
  2921. 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)
  2922. 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)
  2923. 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)
  2924. 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)
  2925. 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)
  2926. end
  2927. CreateSound("348663022", Torso, 5, 1)
  2928. local StartPos = RootPart.CFrame * CF(0,0,-10).p
  2929. for i = 1, 5 do
  2930. MagicSphere2(25,25,CF(StartPos),"Light pink")
  2931. Swait(15)
  2932. end
  2933. local soundeffect = IT("Sound",Torso)
  2934. soundeffect.SoundId = "rbxassetid://818971480"
  2935. soundeffect.Looped = true
  2936. soundeffect.Volume = 10
  2937. soundeffect.Playing = true
  2938. repeat
  2939. turnto(Mouse.Hit.p)
  2940. MagicSphere2(25,25,CF(StartPos),"Light pink")
  2941. MagicSphere(25/10,25,CF(StartPos),"Light pink")
  2942. for i = 1, 3 do
  2943. 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")
  2944. end
  2945. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2946. local distance = (StartPos - RayPos).magnitude
  2947. local RayBeam = IT("Part",Effects)
  2948. RayBeam.Material = "Neon"
  2949. RayBeam.Anchored = true
  2950. RayBeam.BrickColor = BRICKC"Really red"
  2951. local mesh = IT("SpecialMesh",RayBeam)
  2952. mesh.MeshType = "Cylinder"
  2953. RayBeam.Size = Vector3.new(distance+10, math.random(10,15), math.random(10,15))
  2954. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2955. MagicSphere(15,5,CF(RayPos),"Really red")
  2956. killnearest(RayPos,15,100)
  2957. for i = 1, 3 do
  2958. 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")
  2959. end
  2960. Swait()
  2961. if KEYHOLD == false then
  2962. coroutine.resume(coroutine.create(function()
  2963. for i = 1, 30 do
  2964. RayBeam.Transparency = i/30
  2965. Swait()
  2966. end
  2967. RayBeam:remove()
  2968. end))
  2969. else
  2970. RayBeam:remove()
  2971. end
  2972. until KEYHOLD == false
  2973. soundeffect:remove()
  2974. ATTACK = false
  2975. Rooted = false
  2976. end
  2977.  
  2978. function dodadance()
  2979. ATTACK = true
  2980. Rooted = true
  2981. DANCE = true
  2982. sick:Stop()
  2983. sick2:Play()
  2984. local Animation_Speed2 = 1.5
  2985. HName.Text = "Dance!"
  2986. repeat
  2987. for i=0, 1.3, 0.1 / Animation_Speed2 do
  2988. Swait()
  2989. 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)
  2990. 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)
  2991. 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)
  2992. 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)
  2993. 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)
  2994. 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)
  2995. end
  2996. MagicSphere(5,15,Torso.CFrame,"Really red")
  2997. for i=0, 1.3, 0.1 / Animation_Speed2 do
  2998. Swait()
  2999. 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)
  3000. 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)
  3001. 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)
  3002. 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)
  3003. 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)
  3004. 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)
  3005. end
  3006. MagicSphere(5,15,Torso.CFrame,"Really red")
  3007. until DANCE == false
  3008. HName.Text = "Calamity"
  3009. sick:Play()
  3010. sick2:Stop()
  3011. ATTACK = false
  3012. Rooted = false
  3013. end
  3014.  
  3015. function Warp()
  3016. MagicSphere2(10,5,Torso.CFrame,"Really red")
  3017. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,Mouse.Hit.p.Y+4,Mouse.Hit.p.Z))
  3018. CreateSound("282061340", Torso, 2, 1)
  3019. MagicSphere(5,5,Torso.CFrame,"Really red")
  3020. for i = 1, 3 do
  3021. 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")
  3022. end
  3023. killnearest(Torso.Position,12,25)
  3024. Swait()
  3025. turnto(Mouse.Hit.p)
  3026. end
  3027.  
  3028. --//=================================\\
  3029. --|| ASSIGN THINGS TO KEYS
  3030. --\\=================================//
  3031.  
  3032. Humanoid.Changed:connect(function(Jump)
  3033. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  3034. Humanoid.Jump = false
  3035. end
  3036. end)
  3037.  
  3038. function MouseDown(Mouse)
  3039. if ATTACK == false then
  3040. end
  3041. end
  3042.  
  3043. function MouseUp(Mouse)
  3044. HOLD = false
  3045. end
  3046.  
  3047. function KeyDown(Key)
  3048. KEYHOLD = true
  3049. if Key == "e" and ATTACK == false then
  3050. TyranyCannon()
  3051. wait(1)
  3052. Detonate()
  3053. end
  3054.  
  3055. if Key == "e" and ATTACK == false then
  3056. EarthShatter()
  3057. end
  3058.  
  3059. if Key == "r" and ATTACK == false then
  3060. RavagingOverthrower()
  3061. end
  3062.  
  3063. if Key == "q" and ATTACK == false then
  3064. Warp()
  3065. end
  3066.  
  3067. if Key == "t" and ATTACK == false then
  3068. CreateSound("159882644", Head, 5, 0.8)
  3069. end
  3070.  
  3071. if Key == "t" and DANCE == true then
  3072. CreateSound("887591869", Head, 5, 1)
  3073. end
  3074.  
  3075. if Key == "x" and (ATTACK == false or DANCE == true) then
  3076. if DANCE == false then
  3077. dodadance()
  3078. elseif DANCE == true then
  3079. DANCE = false
  3080. end
  3081. end
  3082. end
  3083.  
  3084. function KeyUp(Key)
  3085. KEYHOLD = false
  3086. end
  3087.  
  3088. Mouse.Button1Down:connect(function(NEWKEY)
  3089. MouseDown(NEWKEY)
  3090. end)
  3091. Mouse.Button1Up:connect(function(NEWKEY)
  3092. MouseUp(NEWKEY)
  3093. end)
  3094. Mouse.KeyDown:connect(function(NEWKEY)
  3095. KeyDown(NEWKEY)
  3096. end)
  3097. Mouse.KeyUp:connect(function(NEWKEY)
  3098. KeyUp(NEWKEY)
  3099. end)
  3100.  
  3101. --//=================================\\
  3102. --\\=================================//
  3103.  
  3104.  
  3105. function unanchor()
  3106. if UNANCHOR == true then
  3107. g = Character:GetChildren()
  3108. for i = 1, #g do
  3109. if g[i].ClassName == "Part" then
  3110. g[i].Anchored = false
  3111. end
  3112. end
  3113. end
  3114. end
  3115.  
  3116.  
  3117. --//=================================\\
  3118. --|| WRAP THE WHOLE SCRIPT UP
  3119. --\\=================================//
  3120.  
  3121. Humanoid.Changed:connect(function(Jump)
  3122. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  3123. Humanoid.Jump = false
  3124. end
  3125. end)
  3126.  
  3127. ANIMATE.Parent = nil
  3128. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3129. IDLEANIMATION:Play()
  3130.  
  3131. while true do
  3132. Swait()
  3133. SINE = SINE + CHANGE
  3134. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3135. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3136. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3137. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3138. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  3139. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3140. 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)
  3141. 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)
  3142. 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)
  3143. 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)
  3144. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3145. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3146. 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)
  3147. 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)
  3148. 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)
  3149. end
  3150. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3151. ANIM = "Jump"
  3152. if ATTACK == false then
  3153. 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)
  3154. 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)
  3155. 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)
  3156. 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)
  3157. 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)
  3158. 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)
  3159. end
  3160. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3161. ANIM = "Fall"
  3162. if ATTACK == false then
  3163. 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)
  3164. 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)
  3165. 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)
  3166. 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)
  3167. 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)
  3168. 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)
  3169. end
  3170. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3171. ANIM = "Idle"
  3172. if ATTACK == false then
  3173. 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)
  3174. 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)
  3175. 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)
  3176. 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)
  3177. 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)
  3178. 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)
  3179. end
  3180. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3181. ANIM = "Walk"
  3182. WALK = WALK + 1 / Animation_Speed
  3183. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3184. WALK = 0
  3185. if WALKINGANIM == true then
  3186. WALKINGANIM = false
  3187. elseif WALKINGANIM == false then
  3188. WALKINGANIM = true
  3189. end
  3190. end
  3191. --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)
  3192. --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)
  3193. if ATTACK == false then
  3194. 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)
  3195. 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)
  3196. 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)
  3197. 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)
  3198. 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)
  3199. 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)
  3200. end
  3201. end
  3202. if #Effects2>0 then
  3203. for e=1,#Effects2 do
  3204. if Effects2[e]~=nil then
  3205. local Thing=Effects2[e]
  3206. if Thing~=nil then
  3207. local Part=Thing[1]
  3208. local Mode=Thing[2]
  3209. local Delay=Thing[3]
  3210. local IncX=Thing[4]
  3211. local IncY=Thing[5]
  3212. local IncZ=Thing[6]
  3213. local Part2=Thing[8]
  3214. if Thing[1].Transparency<=1 then
  3215. if Thing[2]=="Block1" then
  3216. Thing[1].CFrame=Thing[1].CFrame
  3217. Mesh=Thing[1].Mesh
  3218. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  3219. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3220. elseif Thing[2]=="Cylinder" then
  3221. Mesh=Thing[1].Mesh
  3222. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  3223. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3224. elseif Thing[2]=="Blood" then
  3225. Mesh=Thing[7]
  3226. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  3227. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  3228. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3229. elseif Thing[2]=="Elec" then
  3230. Mesh=Thing[1].Mesh
  3231. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  3232. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3233. elseif Thing[2]=="Disappear" then
  3234. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3235. end
  3236. else
  3237. Part.Parent=nil
  3238. table.remove(Effects2,e)
  3239. end
  3240. end
  3241. end
  3242. end
  3243. end
  3244. unanchor()
  3245. Humanoid.MaxHealth = "inf"
  3246. Humanoid.Health = "inf"
  3247. Humanoid.Name = "Ravage"
  3248. if Rooted == false then
  3249. Disable_Jump = false
  3250. Humanoid.WalkSpeed = Speed
  3251. elseif Rooted == true then
  3252. Disable_Jump = true
  3253. Humanoid.WalkSpeed = 0
  3254. end
  3255. q = Character:GetChildren()
  3256. for u = 1, #q do
  3257. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  3258. q[u]:remove()
  3259. elseif q[u].ClassName == "Shirt" then
  3260. q[u]:Destroy()
  3261. elseif q[u].ClassName == "Pants" then
  3262. q[u]:Destroy()
  3263. elseif q[u].ClassName == "CharacterMesh" then
  3264. q[u]:remove()
  3265. elseif q[u].ClassName == "ShirtGraphic" then
  3266. q[u]:remove()
  3267. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  3268. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  3269. end
  3270. end
  3271. if Head:FindFirstChild("face") then
  3272. Head.face:remove()
  3273. end
  3274. if Head:FindFirstChild("Died") then
  3275. Head.Died:remove()
  3276. end
  3277. bomb = Bombs:GetChildren()
  3278. for lol = 1, #bomb do
  3279. if bomb[lol].ClassName == "Part" then
  3280. MagicSphere2(2,5,bomb[lol].CFrame,"Really red")
  3281. end
  3282. end
  3283. end
  3284.  
  3285. --//=================================\\
  3286. --\\=================================//
  3287.  
  3288. THE NEW GENERATION OF PROJECT MANAGEMENT TOOLS IS HERE AND IT’S VISUAL.
  3289.  
  3290. create new paste / dealsnew! / api / trends / syntax languages / faq / tools / privacy / cookies / contact / dmca / scraping / go
  3291. Site design & logo © 2017 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0 -- Dedicated Server Hosting by Steadfast
  3292.  
  3293. My Pastebin
  3294. My Alerts
  3295. My Settings
  3296. Share on Facebook!
  3297. Top
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement