Advertisement
coolgoldboy166

ravanger.exe

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