Advertisement
Guest User

rtrt

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