Advertisement
MrSlakyx

Edited

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