Advertisement
Guest User

god of chaos แจกเว้ยยยยยยยยยยยยยยยยย

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