Advertisement
MrSlakyx

Da

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