Advertisement
Guest User

Untitled

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