Advertisement
saba1517

Untitled

Jun 19th, 2018
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 445.76 KB | None | 0 0
  1. -----------------------
  2. --WhAT ANOTHER ONE????????!--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --This edit by 2003boobear
  7.  
  8. --Discord Creterisk#2958
  9.  
  10.  
  11. --https://cdn.discordapp.com/attachments/424766294303309844/424769047436197888/e41a6cbd-23cb-4553-bd39-1338429743a7.png
  12. -------------------------------------------------------
  13.  
  14. local FavIDs = {
  15. 340106355, --Nefl Crystals
  16. 927529620, --Dimension
  17. 876981900, --Fantasy
  18. 398987889, --Ordinary Days
  19. 1117396305, --Oh wait, it's you.
  20. 885996042, --Action Winter Journey
  21. 919231299, --Sprawling Idiot Effigy
  22. 743466274, --Good Day Sunshine
  23. 727411183, --Knife Fight
  24. 1402748531, --The Earth Is Counting On You!
  25. 595230126 --Robot Language
  26. }
  27.  
  28.  
  29.  
  30. --The reality of my life isn't real but a Universe -makhail07
  31. wait()
  32. local Player = game.Players.localPlayer
  33. local Character = Player.Character
  34. local plr = game:service'Players'.LocalPlayer
  35. local char = plr.Character
  36. local hum = char.Humanoid
  37. local ra = char["Right Arm"]
  38. local la= char["Left Arm"]
  39. local rl= char["Right Leg"]
  40. local ll = char["Left Leg"]
  41. local hed = char.Head
  42. local root = char.HumanoidRootPart
  43. local rootj = root.RootJoint
  44. local tors = char.Torso
  45. local mouse = plr:GetMouse()
  46. local LeftArm = Character["Left Arm"]
  47. local RightArm = Character["Right Arm"]
  48. local LeftLeg = Character["Left Leg"]
  49. local RightLeg = Character["Right Leg"]
  50. local Head = Character.Head
  51. local Torso = Character.Torso
  52. local cam = game.Workspace.CurrentCamera
  53. local RootPart = Character.HumanoidRootPart
  54. local RootJoint = RootPart.RootJoint
  55. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  56. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  57. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  58. local EdgyMode = false
  59. local Divinity = false
  60. local Fighter = false
  61. local Purity = false
  62. local Destruction = false
  63. local helpme = false
  64. local Planetary = false
  65. local Solar = false
  66. local Lunar = false
  67. local Frost = false
  68. local Ashes = false
  69. local notmenacing = true
  70. local maincolor = BrickColor.new("Institutional white")
  71.  
  72. --do a die
  73.  
  74. -------------------------------------------------------
  75. --Start Good Stuff--
  76. -------------------------------------------------------
  77. CF = CFrame.new
  78. VT = Vector3.new
  79. angles = CFrame.Angles
  80. attack = false
  81. Euler = CFrame.fromEulerAnglesXYZ
  82. Rad = math.rad
  83. IT = Instance.new
  84. BrickC = BrickColor.new
  85. Cos = math.cos
  86. Acos = math.acos
  87. Sin = math.sin
  88. Asin = math.asin
  89. Abs = math.abs
  90. Mrandom = math.random
  91. Floor = math.floor
  92. local cn = CFrame.new
  93. local mr = math.rad
  94. local angles = CFrame.Angles
  95. local ud = UDim2.new
  96. local c3 = Color3.new
  97. -------------------------------------------------------
  98. --End Good Stuff--
  99. -------------------------------------------------------
  100. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  101. RSH, LSH = nil, nil
  102. RW = Instance.new("Weld")
  103. LW = Instance.new("Weld")
  104. RH = tors["Right Hip"]
  105. LH = tors["Left Hip"]
  106. RSH = tors["Right Shoulder"]
  107. LSH = tors["Left Shoulder"]
  108. RSH.Parent = nil
  109. LSH.Parent = nil
  110. RW.Name = "RW"
  111. RW.Part0 = tors
  112. RW.C0 = CF(1.5, 0.5, 0)
  113. RW.C1 = CF(0, 0.5, 0)
  114. RW.Part1 = ra
  115. RW.Parent = tors
  116. LW.Name = "LW"
  117. LW.Part0 = tors
  118. LW.C0 = CF(-1.5, 0.5, 0)
  119. LW.C1 = CF(0, 0.5, 0)
  120. LW.Part1 = la
  121. LW.Parent = tors
  122. Effects = {}
  123.  
  124. -------------------------------------------------------
  125. --Start HeartBeat--
  126. -------------------------------------------------------
  127. ArtificialHB = Instance.new("BindableEvent", script)
  128. ArtificialHB.Name = "Heartbeat"
  129. script:WaitForChild("Heartbeat")
  130.  
  131. frame = 1 / 60
  132. tf = 0
  133. allowframeloss = false
  134. tossremainder = false
  135.  
  136.  
  137. lastframe = tick()
  138. script.Heartbeat:Fire()
  139.  
  140.  
  141. game:GetService("RunService").Heartbeat:connect(function(s, p)
  142. tf = tf + s
  143. if tf >= frame then
  144. if allowframeloss then
  145. script.Heartbeat:Fire()
  146. lastframe = tick()
  147. else
  148. for i = 1, math.floor(tf / frame) do
  149. script.Heartbeat:Fire()
  150. end
  151. lastframe = tick()
  152. end
  153. if tossremainder then
  154. tf = 0
  155. else
  156. tf = tf - frame * math.floor(tf / frame)
  157. end
  158. end
  159. end)
  160.  
  161. -------------------------------------------------------
  162. --End HeartBeat--
  163. -------------------------------------------------------
  164.  
  165. local insanity={"hELPmE","iNsAnItY","iNsAnItY","InsAnITTTTY","InsAnityYyyyy","iNsAnItY","Insane","rUN","sCATTER","bEGoNE","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","hELP","iNsAnItY","iNsAnItY","dREaD","nIgHTFAll","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY","iNsAnItY"} --why
  166.  
  167. local NOUSE={"nOUsE","dONT TrYYYYYY","DiE FOr MEEEEE","HAAHHHHHA","BeGONE","UnSTOpPAbLE","WRYYyY","rUN","NoUsE","nO HOPe FOr tHE HoPELEsS","cRAZY","mAD wIth pOWeR","hAHAAA","SanItyyYYYyYy","S o U L S","fEED","hUNgEr","HAHAAAAAAAAHHAHAAHA","aAAAaAAAAaA","bEGoNE sINnERRRR"} --aaaaaaa
  168.  
  169. local insanityface={"843367143","280233855","148988280","859779193","163713156","313921371","304942859","315792941","1684367763","335761015"}
  170.  
  171. -------------------------------------------------------
  172. --Start Important Functions--
  173. -------------------------------------------------------
  174. function swait(num)
  175. if num == 0 or num == nil then
  176. game:service("RunService").Stepped:wait(0)
  177. else
  178. for i = 0, num do
  179. game:service("RunService").Stepped:wait(0)
  180. end
  181. end
  182. end
  183. function thread(f)
  184. coroutine.resume(coroutine.create(f))
  185. end
  186. function clerp(a, b, t)
  187. local qa = {
  188. QuaternionFromCFrame(a)
  189. }
  190. local qb = {
  191. QuaternionFromCFrame(b)
  192. }
  193. local ax, ay, az = a.x, a.y, a.z
  194. local bx, by, bz = b.x, b.y, b.z
  195. local _t = 1 - t
  196. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  197. end
  198. function QuaternionFromCFrame(cf)
  199. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  200. local trace = m00 + m11 + m22
  201. if trace > 0 then
  202. local s = math.sqrt(1 + trace)
  203. local recip = 0.5 / s
  204. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  205. else
  206. local i = 0
  207. if m00 < m11 then
  208. i = 1
  209. end
  210. if m22 > (i == 0 and m00 or m11) then
  211. i = 2
  212. end
  213. if i == 0 then
  214. local s = math.sqrt(m00 - m11 - m22 + 1)
  215. local recip = 0.5 / s
  216. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  217. elseif i == 1 then
  218. local s = math.sqrt(m11 - m22 - m00 + 1)
  219. local recip = 0.5 / s
  220. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  221. elseif i == 2 then
  222. local s = math.sqrt(m22 - m00 - m11 + 1)
  223. local recip = 0.5 / s
  224. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  225. end
  226. end
  227. end
  228. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  229. local xs, ys, zs = x + x, y + y, z + z
  230. local wx, wy, wz = w * xs, w * ys, w * zs
  231. local xx = x * xs
  232. local xy = x * ys
  233. local xz = x * zs
  234. local yy = y * ys
  235. local yz = y * zs
  236. local zz = z * zs
  237. 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))
  238. end
  239. function QuaternionSlerp(a, b, t)
  240. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  241. local startInterp, finishInterp
  242. if cosTheta >= 1.0E-4 then
  243. if 1 - cosTheta > 1.0E-4 then
  244. local theta = math.acos(cosTheta)
  245. local invSinTheta = 1 / Sin(theta)
  246. startInterp = Sin((1 - t) * theta) * invSinTheta
  247. finishInterp = Sin(t * theta) * invSinTheta
  248. else
  249. startInterp = 1 - t
  250. finishInterp = t
  251. end
  252. elseif 1 + cosTheta > 1.0E-4 then
  253. local theta = math.acos(-cosTheta)
  254. local invSinTheta = 1 / Sin(theta)
  255. startInterp = Sin((t - 1) * theta) * invSinTheta
  256. finishInterp = Sin(t * theta) * invSinTheta
  257. else
  258. startInterp = t - 1
  259. finishInterp = t
  260. end
  261. 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
  262. end
  263. function rayCast(Position, Direction, Range, Ignore)
  264. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  265. end
  266. local RbxUtility = LoadLibrary("RbxUtility")
  267. local Create = RbxUtility.Create
  268.  
  269. warn("I'ma just call dis WhAT ANOTHER ONE V1.5")
  270.  
  271. warn("Please support the original creator, makhail07.")
  272.  
  273. warn("Also, 2003boobear made this edit.")
  274.  
  275. shirt = Instance.new("Shirt", char)
  276. shirt.Name = "Shirt"
  277. pants = Instance.new("Pants", char)
  278. pants.Name = "Pants"
  279. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276792537"
  280. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=276792689"
  281.  
  282. local BC = char["Body Colors"]
  283. BC.HeadColor = BrickColor.new("Fossil")
  284. BC.LeftArmColor = BrickColor.new("Fossil")
  285. BC.LeftLegColor = BrickColor.new("Fossil")
  286. BC.RightArmColor = BrickColor.new("Smoky grey")
  287. BC.RightLegColor = BrickColor.new("Fossil")
  288. BC.TorsoColor = BrickColor.new("Fossil")
  289. -------------------------------------------------------
  290. --Start Damage Function--
  291. -------------------------------------------------------
  292. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  293. if hit.Parent == nil then
  294. return
  295. end
  296. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  297. for _, v in pairs(hit.Parent:children()) do
  298. if v:IsA("Humanoid") then
  299. h = v
  300. end
  301. end
  302. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  303.  
  304. hit.Parent:FindFirstChild("Head"):BreakJoints()
  305. end
  306.  
  307. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  308. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  309. if hit.Parent.DebounceHit.Value == true then
  310. return
  311. end
  312. end
  313. if insta == true then
  314. hit.Parent:FindFirstChild("Head"):BreakJoints()
  315. end
  316. local c = Create("ObjectValue"){
  317. Name = "creator",
  318. Value = game:service("Players").LocalPlayer,
  319. Parent = h,
  320. }
  321. game:GetService("Debris"):AddItem(c, .5)
  322. if HitSound ~= nil and HitPitch ~= nil then
  323. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  324. end
  325. local Damage = math.random(minim, maxim)
  326. local blocked = false
  327. local block = hit.Parent:findFirstChild("Block")
  328. if block ~= nil then
  329. if block.className == "IntValue" then
  330. if block.Value > 0 then
  331. blocked = true
  332. block.Value = block.Value - 1
  333. print(block.Value)
  334. end
  335. end
  336. end
  337. if blocked == false then
  338. h.Health = h.Health - Damage
  339. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  340. else
  341. h.Health = h.Health - (Damage / 2)
  342. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  343. end
  344. if Type == "Knockdown" then
  345. local hum = hit.Parent.Humanoid
  346. hum.PlatformStand = true
  347. coroutine.resume(coroutine.create(function(HHumanoid)
  348. swait(1)
  349. HHumanoid.PlatformStand = false
  350. end), hum)
  351. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  352. local bodvol = Create("BodyVelocity"){
  353. velocity = angle * knockback,
  354. P = 5000,
  355. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  356. Parent = hit,
  357. }
  358. local rl = Create("BodyAngularVelocity"){
  359. P = 3000,
  360. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  361. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  362. Parent = hit,
  363. }
  364. game:GetService("Debris"):AddItem(bodvol, .5)
  365. game:GetService("Debris"):AddItem(rl, .5)
  366. elseif Type == "Normal" then
  367. local vp = Create("BodyVelocity"){
  368. P = 500,
  369. maxForce = Vector3.new(math.huge, 0, math.huge),
  370. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  371. }
  372. if knockback > 0 then
  373. vp.Parent = hit.Parent.Torso
  374. end
  375. game:GetService("Debris"):AddItem(vp, .5)
  376. elseif Type == "Up" then
  377. local bodyVelocity = Create("BodyVelocity"){
  378. velocity = Vector3.new(0, 20, 0),
  379. P = 5000,
  380. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  381. Parent = hit,
  382. }
  383. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  384. elseif Type == "DarkUp" then
  385. coroutine.resume(coroutine.create(function()
  386. for i = 0, 1, 0.1 do
  387. swait()
  388. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  389. end
  390. end))
  391. local bodyVelocity = Create("BodyVelocity"){
  392. velocity = Vector3.new(0, 20, 0),
  393. P = 5000,
  394. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  395. Parent = hit,
  396. }
  397. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  398. elseif Type == "Snare" then
  399. local bp = Create("BodyPosition"){
  400. P = 2000,
  401. D = 100,
  402. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  403. position = hit.Parent.Torso.Position,
  404. Parent = hit.Parent.Torso,
  405. }
  406. game:GetService("Debris"):AddItem(bp, 1)
  407. elseif Type == "Freeze" then
  408. local BodPos = Create("BodyPosition"){
  409. P = 50000,
  410. D = 1000,
  411. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  412. position = hit.Parent.Torso.Position,
  413. Parent = hit.Parent.Torso,
  414. }
  415. local BodGy = Create("BodyGyro") {
  416. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  417. P = 20e+003,
  418. Parent = hit.Parent.Torso,
  419. cframe = hit.Parent.Torso.CFrame,
  420. }
  421. hit.Parent.Torso.Anchored = true
  422. coroutine.resume(coroutine.create(function(Part)
  423. swait(1.5)
  424. Part.Anchored = false
  425. end), hit.Parent.Torso)
  426. game:GetService("Debris"):AddItem(BodPos, 3)
  427. game:GetService("Debris"):AddItem(BodGy, 3)
  428. end
  429. local debounce = Create("BoolValue"){
  430. Name = "DebounceHit",
  431. Parent = hit.Parent,
  432. Value = true,
  433. }
  434. game:GetService("Debris"):AddItem(debounce, Delay)
  435. c = Create("ObjectValue"){
  436. Name = "creator",
  437. Value = Player,
  438. Parent = h,
  439. }
  440. game:GetService("Debris"):AddItem(c, .5)
  441. end
  442. end
  443. -------------------------------------------------------
  444. --End Damage Function--
  445. -------------------------------------------------------
  446. local DColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
  447. ColorSequenceKeypoint.new(0.16, Color3.new(1,0,0)),
  448. ColorSequenceKeypoint.new(0.32, Color3.new(1,0,0)),
  449. ColorSequenceKeypoint.new(0.48, Color3.new(1,0,0)),
  450. ColorSequenceKeypoint.new(0.64, Color3.new(1,0,0)),
  451. ColorSequenceKeypoint.new(0.80, Color3.new(0,0,0)),
  452. ColorSequenceKeypoint.new(0.96, Color3.new(0,0,0)),
  453. ColorSequenceKeypoint.new(1, Color3.new(0,0,0))}
  454. local DAtch3 = Instance.new("Attachment",ll)DAtch3.Position = Vector3.new(0,1.1,0)
  455. local DAtch4 = Instance.new("Attachment",ll)DAtch4.Position = Vector3.new(0,-0.6,0)
  456. local DTrail2 = Instance.new("Trail",ll)DTrail2.Attachment0 = DAtch3 DTrail2.Attachment1 = DAtch4
  457. DTrail2.Texture = "rbxassetid://22636887" DTrail2.Lifetime = 0.2 DTrail2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  458. DTrail2.Color = ColorSequence.new(DColorsArray) DTrail2.LightEmission = 1
  459. DTrail2.Enabled = false
  460. local DAtch5 = Instance.new("Attachment",rl)DAtch5.Position = Vector3.new(0,1.1,0)
  461. local DAtch6 = Instance.new("Attachment",rl)DAtch6.Position = Vector3.new(0,-0.6,0)
  462. local DTrail3 = Instance.new("Trail",rl)DTrail3.Attachment0 = DAtch5 DTrail3.Attachment1 = DAtch6
  463. DTrail3.Texture = "rbxassetid://22636887" DTrail3.Lifetime = 0.2 DTrail3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  464. DTrail3.Color = ColorSequence.new(DColorsArray) DTrail3.LightEmission = 1
  465. DTrail3.Enabled = false
  466. local DAtch7 = Instance.new("Attachment",ra)DAtch7.Position = Vector3.new(0,1.1,0)
  467. local DAtch8 = Instance.new("Attachment",ra)DAtch8.Position = Vector3.new(0,-0.6,0)
  468. local DTrail4 = Instance.new("Trail",ra)DTrail4.Attachment0 = DAtch7 DTrail4.Attachment1 = DAtch8
  469. DTrail4.Texture = "rbxassetid://22636887" DTrail4.Lifetime = 0.2 DTrail4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  470. DTrail4.Color = ColorSequence.new(DColorsArray) DTrail4.LightEmission = 1
  471. DTrail4.Enabled = false
  472. local DAtch9 = Instance.new("Attachment",la)DAtch9.Position = Vector3.new(0,1.1,0)
  473. local DAtch10 = Instance.new("Attachment",la)DAtch10.Position = Vector3.new(0,-0.6,0)
  474. local DTrail5 = Instance.new("Trail",la)DTrail5.Attachment0 = DAtch9 DTrail5.Attachment1 = DAtch10
  475. DTrail5.Texture = "rbxassetid://22636887" DTrail5.Lifetime = 0.2 DTrail5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  476. DTrail5.Color = ColorSequence.new(DColorsArray) DTrail5.LightEmission = 1
  477. DTrail5.Enabled = false
  478. local DAtch1 = Instance.new("Attachment",Torso)DAtch1.Position = Vector3.new(0,1.1,0)
  479. local DAtch2 = Instance.new("Attachment",Torso)DAtch2.Position = Vector3.new(0,-2.5,0)
  480. local DTrail = Instance.new("Trail",Torso)DTrail.Attachment0 = DAtch1 DTrail.Attachment1 = DAtch2
  481. DTrail.Texture = "rbxassetid://22636887" DTrail.Lifetime = 0.2 DTrail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  482. DTrail.Color = ColorSequence.new(DColorsArray) DTrail.LightEmission = 1
  483. DTrail.Enabled = false
  484. -------------------------------------------------------
  485. --Start Damage Function Customization--
  486. -------------------------------------------------------
  487. function ShowDamage(Pos, Text, Time, Color)
  488. local Rate = (1 / 30)
  489. local Pos = (Pos or Vector3.new(0, 0, 0))
  490. local Text = (Text or "")
  491. local Time = (Time or 2)
  492. local Color = (Color or Color3.new(1, 0, 1))
  493. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  494. EffectPart.Anchored = true
  495. local BillboardGui = Create("BillboardGui"){
  496. Size = UDim2.new(3, 0, 3, 0),
  497. Adornee = EffectPart,
  498. Parent = EffectPart,
  499. }
  500. local TextLabel = Create("TextLabel"){
  501. BackgroundTransparency = 1,
  502. Size = UDim2.new(1, 0, 1, 0),
  503. Text = Text,
  504. Font = "Highway",
  505. TextColor3 = Color,
  506. TextScaled = true,
  507. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  508. Parent = BillboardGui,
  509. }
  510. game.Debris:AddItem(EffectPart, (Time))
  511. EffectPart.Parent = game:GetService("Workspace")
  512. delay(0, function()
  513. local Frames = (Time / Rate)
  514. for Frame = 1, Frames do
  515. wait(Rate)
  516. local Percent = (Frame / Frames)
  517. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  518. TextLabel.TextTransparency = Percent
  519. end
  520. if EffectPart and EffectPart.Parent then
  521. EffectPart:Destroy()
  522. end
  523. end)
  524. end
  525. -------------------------------------------------------
  526. --End Damage Function Customization--
  527. -------------------------------------------------------
  528.  
  529. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  530. for _, c in pairs(workspace:children()) do
  531. local hum = c:findFirstChild("Humanoid")
  532. if hum ~= nil then
  533. local head = c:findFirstChild("Head")
  534. if head ~= nil then
  535. local targ = head.Position - Part.Position
  536. local mag = targ.magnitude
  537. if magni >= mag and c.Name ~= plr.Name then
  538. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  539. end
  540. end
  541. end
  542. end
  543. end
  544.  
  545. function PlayAnimationFromTable(table, speed, bool) --i didn't make this you fattie
  546. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  547. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  548. RW.C0 = clerp(RW.C0, table[3], speed)
  549. LW.C0 = clerp(LW.C0, table[4], speed)
  550. RH.C0 = clerp(RH.C0, table[5], speed)
  551. LH.C0 = clerp(LH.C0, table[6], speed)
  552. if bool == true then
  553. if resetc1 == false then
  554. resetc1 = true
  555. RootJoint.C1 = RootJoint.C1
  556. Torso.Neck.C1 = Torso.Neck.C1
  557. RW.C1 = rarmc1
  558. LW.C1 = larmc1
  559. RH.C1 = rlegc1
  560. LH.C1 = llegc1
  561. end
  562. end
  563. end
  564.  
  565. CFuncs = {
  566. Part = {
  567. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  568. local Part = Create("Part")({
  569. Parent = Parent,
  570. Reflectance = Reflectance,
  571. Transparency = Transparency,
  572. CanCollide = false,
  573. Locked = true,
  574. BrickColor = BrickColor.new(tostring(BColor)),
  575. Name = Name,
  576. Size = Size,
  577. Material = Material
  578. })
  579. RemoveOutlines(Part)
  580. return Part
  581. end
  582. },
  583. Mesh = {
  584. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  585. local Msh = Create(Mesh)({
  586. Parent = Part,
  587. Offset = OffSet,
  588. Scale = Scale
  589. })
  590. if Mesh == "SpecialMesh" then
  591. Msh.MeshType = MeshType
  592. Msh.MeshId = MeshId
  593. end
  594. return Msh
  595. end
  596. },
  597. Mesh = {
  598. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  599. local Msh = Create(Mesh)({
  600. Parent = Part,
  601. Offset = OffSet,
  602. Scale = Scale
  603. })
  604. if Mesh == "SpecialMesh" then
  605. Msh.MeshType = MeshType
  606. Msh.MeshId = MeshId
  607. end
  608. return Msh
  609. end
  610. },
  611. Weld = {
  612. Create = function(Parent, Part0, Part1, C0, C1)
  613. local Weld = Create("Weld")({
  614. Parent = Parent,
  615. Part0 = Part0,
  616. Part1 = Part1,
  617. C0 = C0,
  618. C1 = C1
  619. })
  620. return Weld
  621. end
  622. },
  623. Sound = {
  624. Create = function(id, par, vol, pit)
  625. coroutine.resume(coroutine.create(function()
  626. local S = Create("Sound")({
  627. Volume = vol,
  628. Pitch = pit or 1,
  629. SoundId = id,
  630. Parent = par or workspace
  631. })
  632. wait()
  633. S:play()
  634. game:GetService("Debris"):AddItem(S, 6)
  635. end))
  636. end
  637. },
  638. ParticleEmitter = {
  639. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  640. local fp = Create("ParticleEmitter")({
  641. Parent = Parent,
  642. Color = ColorSequence.new(Color1, Color2),
  643. LightEmission = LightEmission,
  644. Size = Size,
  645. Texture = Texture,
  646. Transparency = Transparency,
  647. ZOffset = ZOffset,
  648. Acceleration = Accel,
  649. Drag = Drag,
  650. LockedToPart = LockedToPart,
  651. VelocityInheritance = VelocityInheritance,
  652. EmissionDirection = EmissionDirection,
  653. Enabled = Enabled,
  654. Lifetime = LifeTime,
  655. Rate = Rate,
  656. Rotation = Rotation,
  657. RotSpeed = RotSpeed,
  658. Speed = Speed,
  659. VelocitySpread = VelocitySpread
  660. })
  661. return fp
  662. end
  663. }
  664. }
  665. function RemoveOutlines(part)
  666. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  667. end
  668. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  669. local Part = Create("Part")({
  670. formFactor = FormFactor,
  671. Parent = Parent,
  672. Reflectance = Reflectance,
  673. Transparency = Transparency,
  674. CanCollide = false,
  675. Locked = true,
  676. BrickColor = BrickColor.new(tostring(BColor)),
  677. Name = Name,
  678. Size = Size,
  679. Material = Material
  680. })
  681. RemoveOutlines(Part)
  682. return Part
  683. end
  684. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  685. local Msh = Create(Mesh)({
  686. Parent = Part,
  687. Offset = OffSet,
  688. Scale = Scale
  689. })
  690. if Mesh == "SpecialMesh" then
  691. Msh.MeshType = MeshType
  692. Msh.MeshId = MeshId
  693. end
  694. return Msh
  695. end
  696. function CreateWeld(Parent, Part0, Part1, C0, C1)
  697. local Weld = Create("Weld")({
  698. Parent = Parent,
  699. Part0 = Part0,
  700. Part1 = Part1,
  701. C0 = C0,
  702. C1 = C1
  703. })
  704. return Weld
  705. end
  706.  
  707.  
  708. -------------------------------------------------------
  709. --Start Effect Function--
  710. -------------------------------------------------------
  711. EffectModel = Instance.new("Model", char)
  712. Effects = {
  713. Block = {
  714. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  715. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  716. prt.Anchored = true
  717. prt.CFrame = cframe
  718. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  719. game:GetService("Debris"):AddItem(prt, 10)
  720. if Type == 1 or Type == nil then
  721. table.insert(Effects, {
  722. prt,
  723. "Block1",
  724. delay,
  725. x3,
  726. y3,
  727. z3,
  728. msh
  729. })
  730. elseif Type == 2 then
  731. table.insert(Effects, {
  732. prt,
  733. "Block2",
  734. delay,
  735. x3,
  736. y3,
  737. z3,
  738. msh
  739. })
  740. else
  741. table.insert(Effects, {
  742. prt,
  743. "Block3",
  744. delay,
  745. x3,
  746. y3,
  747. z3,
  748. msh
  749. })
  750. end
  751. end
  752. },
  753. Sphere = {
  754. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  755. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  756. prt.Anchored = true
  757. prt.CFrame = cframe
  758. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  759. game:GetService("Debris"):AddItem(prt, 10)
  760. table.insert(Effects, {
  761. prt,
  762. "Cylinder",
  763. delay,
  764. x3,
  765. y3,
  766. z3,
  767. msh
  768. })
  769. end
  770. },
  771. Cylinder = {
  772. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  773. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  774. prt.Anchored = true
  775. prt.CFrame = cframe
  776. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  777. game:GetService("Debris"):AddItem(prt, 10)
  778. table.insert(Effects, {
  779. prt,
  780. "Cylinder",
  781. delay,
  782. x3,
  783. y3,
  784. z3,
  785. msh
  786. })
  787. end
  788. },
  789. Wave = {
  790. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  791. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  792. prt.Anchored = true
  793. prt.CFrame = cframe
  794. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  795. game:GetService("Debris"):AddItem(prt, 10)
  796. table.insert(Effects, {
  797. prt,
  798. "Cylinder",
  799. delay,
  800. x3 / 60,
  801. y3 / 60,
  802. z3 / 60,
  803. msh
  804. })
  805. end
  806. },
  807. Ring = {
  808. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  809. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  810. prt.Anchored = true
  811. prt.CFrame = cframe
  812. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  813. game:GetService("Debris"):AddItem(prt, 10)
  814. table.insert(Effects, {
  815. prt,
  816. "Cylinder",
  817. delay,
  818. x3,
  819. y3,
  820. z3,
  821. msh
  822. })
  823. end
  824. },
  825. Break = {
  826. Create = function(brickcolor, cframe, x1, y1, z1)
  827. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  828. prt.Anchored = true
  829. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  830. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  831. local num = math.random(10, 50) / 1000
  832. game:GetService("Debris"):AddItem(prt, 10)
  833. table.insert(Effects, {
  834. prt,
  835. "Shatter",
  836. num,
  837. prt.CFrame,
  838. math.random() - math.random(),
  839. 0,
  840. math.random(50, 100) / 100
  841. })
  842. end
  843. },
  844. Spiral = {
  845. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  846. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  847. prt.Anchored = true
  848. prt.CFrame = cframe
  849. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  850. game:GetService("Debris"):AddItem(prt, 10)
  851. table.insert(Effects, {
  852. prt,
  853. "Cylinder",
  854. delay,
  855. x3,
  856. y3,
  857. z3,
  858. msh
  859. })
  860. end
  861. },
  862. Push = {
  863. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  864. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  865. prt.Anchored = true
  866. prt.CFrame = cframe
  867. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868. game:GetService("Debris"):AddItem(prt, 10)
  869. table.insert(Effects, {
  870. prt,
  871. "Cylinder",
  872. delay,
  873. x3,
  874. y3,
  875. z3,
  876. msh
  877. })
  878. end
  879. }
  880. }
  881. -------------------------------------------------------
  882. --End Effect Function--
  883. -------------------------------------------------------
  884.  
  885. function CreateSound(ID, PARENT, VOLUME, PITCH)
  886. local NSound = nil
  887. coroutine.resume(coroutine.create(function()
  888. NSound = Instance.new("Sound", PARENT)
  889. NSound.Volume = VOLUME
  890. NSound.Pitch = PITCH
  891. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  892. swait()
  893. NSound:play()
  894. game:GetService("Debris"):AddItem(NSound, 10)
  895. end))
  896. return NSound
  897. end
  898.  
  899. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  900. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  901. prt.Anchored = true
  902. prt.CFrame = cframe
  903. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  904. game:GetService("Debris"):AddItem(prt, 10)
  905. if Type == 1 or Type == nil then
  906. table.insert(Effects, {
  907. prt,
  908. "Block1",
  909. delay,
  910. x3,
  911. y3,
  912. z3,
  913. msh
  914. })
  915. elseif Type == 2 then
  916. table.insert(Effects, {
  917. prt,
  918. "Block2",
  919. delay,
  920. x3,
  921. y3,
  922. z3,
  923. msh
  924. })
  925. elseif Type == 3 then
  926. table.insert(Effects, {
  927. prt,
  928. "Block3",
  929. delay,
  930. x3,
  931. y3,
  932. z3,
  933. msh
  934. })
  935. end
  936. end
  937.  
  938. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  939. local fp=Instance.new("Part")
  940. fp.formFactor=formfactor
  941. fp.Parent=parent
  942. fp.Reflectance=reflectance
  943. fp.Transparency=transparency
  944. fp.CanCollide=false
  945. fp.Locked=true
  946. fp.BrickColor=brickcolor
  947. fp.Name=name
  948. fp.Size=size
  949. fp.Position=tors.Position
  950. RemoveOutlines(fp)
  951. fp.Material="SmoothPlastic"
  952. fp:BreakJoints()
  953. return fp
  954. end
  955.  
  956. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  957. local mesh=Instance.new(Mesh)
  958. mesh.Parent=part
  959. if Mesh=="SpecialMesh" then
  960. mesh.MeshType=meshtype
  961. if meshid~="nil" then
  962. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  963. end
  964. end
  965. mesh.Offset=offset
  966. mesh.Scale=scale
  967. return mesh
  968. end
  969.  
  970. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  971. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  972. prt.Anchored = true
  973. prt.Material = "Neon"
  974. prt.CFrame = cframe
  975. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  976. game:GetService("Debris"):AddItem(prt, 5)
  977. coroutine.resume(coroutine.create(function(Part, Mesh)
  978. local rtype = rottype
  979. for i = 0, 1, delay do
  980. swait()
  981. if rtype == 1 then
  982. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  983. elseif rtype == 2 then
  984. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  985. end
  986. prt.Transparency = i
  987. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  988. end
  989. Part.Parent = nil
  990. end), prt, msh)
  991. end
  992.  
  993.  
  994. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  995. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  996. prt.Anchored = true
  997. prt.Material = "Neon"
  998. prt.CFrame = cframe
  999. prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1000. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1001. game:GetService("Debris"):AddItem(prt, 5)
  1002. coroutine.resume(coroutine.create(function(Part, Mesh)
  1003. for i = 0, 1, delay do
  1004. swait()
  1005. Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1006. Part.Transparency = i
  1007. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1008. end
  1009. Part.Parent = nil
  1010. end), prt, msh)
  1011. end
  1012.  
  1013.  
  1014. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1015. local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1016. prt.Anchored = true
  1017. prt.Material = "Neon"
  1018. prt.CFrame = cframe
  1019. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
  1020. game:GetService("Debris"):AddItem(prt, 5)
  1021. coroutine.resume(coroutine.create(function(Part, Mesh)
  1022. local rtype = rottype
  1023. for i = 0, 1, delay do
  1024. swait()
  1025. if rtype == 1 then
  1026. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1027. elseif rtype == 2 then
  1028. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1029. end
  1030. prt.Transparency = i
  1031. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
  1032. end
  1033. Part.Parent = nil
  1034. end), prt, msh)
  1035. end
  1036.  
  1037. function Eviscerate(dude)
  1038. if dude.Name ~= char then
  1039. local bgf = IT("BodyGyro", dude.Head)
  1040. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1041. local val = IT("BoolValue", dude)
  1042. val.Name = "IsHit"
  1043. local ds = coroutine.wrap(function()
  1044. dude:WaitForChild("Head"):BreakJoints()
  1045. wait(0.5)
  1046. target = nil
  1047. coroutine.resume(coroutine.create(function()
  1048. for i, v in pairs(dude:GetChildren()) do
  1049. if v:IsA("Accessory") then
  1050. v:Destroy()
  1051. end
  1052. if v:IsA("Humanoid") then
  1053. v:Destroy()
  1054. end
  1055. if v:IsA("CharacterMesh") then
  1056. v:Destroy()
  1057. end
  1058. if v:IsA("Model") then
  1059. v:Destroy()
  1060. end
  1061. if v:IsA("Part") or v:IsA("MeshPart") then
  1062. for x, o in pairs(v:GetChildren()) do
  1063. if o:IsA("Decal") then
  1064. o:Destroy()
  1065. end
  1066. end
  1067. coroutine.resume(coroutine.create(function()
  1068. v.Material = "Neon"
  1069. v.CanCollide = false
  1070. local PartEmmit1 = IT("ParticleEmitter", v)
  1071. PartEmmit1.LightEmission = 1
  1072. PartEmmit1.Texture = "rbxassetid://284205403"
  1073. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1074. PartEmmit1.Rate = 150
  1075. PartEmmit1.Lifetime = NumberRange.new(1)
  1076. PartEmmit1.Size = NumberSequence.new({
  1077. NumberSequenceKeypoint.new(0, 0.75, 0),
  1078. NumberSequenceKeypoint.new(1, 0, 0)
  1079. })
  1080. PartEmmit1.Transparency = NumberSequence.new({
  1081. NumberSequenceKeypoint.new(0, 0, 0),
  1082. NumberSequenceKeypoint.new(1, 1, 0)
  1083. })
  1084. PartEmmit1.Speed = NumberRange.new(0, 0)
  1085. PartEmmit1.VelocitySpread = 30000
  1086. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1087. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1088. local BodPoss = IT("BodyPosition", v)
  1089. BodPoss.P = 3000
  1090. BodPoss.D = 1000
  1091. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1092. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1093. v.Color = maincolor.Color
  1094. coroutine.resume(coroutine.create(function()
  1095. for i = 0, 49 do
  1096. swait(1)
  1097. v.Transparency = v.Transparency + 0.08
  1098. end
  1099. wait(0.5)
  1100. PartEmmit1.Enabled = false
  1101. wait(3)
  1102. v:Destroy()
  1103. dude:Destroy()
  1104. end))
  1105. end))
  1106. end
  1107. end
  1108. end))
  1109. end)
  1110. ds()
  1111. end
  1112. end
  1113. function FindNearestHead(Position, Distance, SinglePlayer)
  1114. if SinglePlayer then
  1115. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1116. end
  1117. local List = {}
  1118. for i, v in pairs(workspace:GetChildren()) do
  1119. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1120. table.insert(List, v)
  1121. end
  1122. end
  1123. return List
  1124. end
  1125. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1126. local type = type
  1127. local rng = Instance.new("Part", char)
  1128. rng.Anchored = true
  1129. rng.BrickColor = color
  1130. rng.CanCollide = false
  1131. rng.FormFactor = 3
  1132. rng.Name = "Ring"
  1133. rng.Material = "Neon"
  1134. rng.Size = Vector3.new(1, 1, 1)
  1135. rng.Transparency = 0
  1136. rng.TopSurface = 0
  1137. rng.BottomSurface = 0
  1138. rng.CFrame = pos
  1139. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1140. local rngm = Instance.new("SpecialMesh", rng)
  1141. rngm.MeshType = "Sphere"
  1142. rngm.Scale = Vector3.new(x1, y1, z1)
  1143. local scaler2 = 1
  1144. local speeder = FastSpeed
  1145. if type == "Add" then
  1146. scaler2 = 1 * value
  1147. elseif type == "Divide" then
  1148. scaler2 = 1 / value
  1149. end
  1150. coroutine.resume(coroutine.create(function()
  1151. for i = 0, 10 / bonuspeed, 0.1 do
  1152. swait()
  1153. if type == "Add" then
  1154. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1155. elseif type == "Divide" then
  1156. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1157. end
  1158. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1159. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1160. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1161. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1162. end
  1163. rng:Destroy()
  1164. end))
  1165. end
  1166. -------------------------------------------------------
  1167. --End Important Functions--
  1168. -------------------------------------------------------
  1169.  
  1170. --[[
  1171. Thanks for using Build-To-Lua by jarredbcv.
  1172. ]]--
  1173.  
  1174. New = function(Object, Parent, Name, Data)
  1175. local Object = Instance.new(Object)
  1176. for Index, Value in pairs(Data or {}) do
  1177. Object[Index] = Value
  1178. end
  1179. Object.Parent = Parent
  1180. Object.Name = Name
  1181. return Object
  1182. end
  1183.  
  1184. NewInstance = function(instance,parent,properties)
  1185. local inst = Instance.new(instance,parent)
  1186. if(properties)then
  1187. for i,v in next, properties do
  1188. pcall(function() inst[i] = v end)
  1189. end
  1190. end
  1191. return inst;
  1192. end
  1193.  
  1194. Gunty = New("Model",char,"Gunty",{})
  1195. Handle = New("Part",Gunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.799999952, 0.980000019, 1),CFrame = CFrame.new(-6.17461252, 2.89117765, -81.6553421, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1196. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  1197. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.449999958, 0.300000012, 1.00999999),CFrame = CFrame.new(-5.79491472, 3.31696463, -81.668541, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1198. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1.14999998, 0.699999988, 1.04999995),})
  1199. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.375087738, 0.43002677, -0.00499725342, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1200. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.400000006, 0.800000012, 1.43999994),CFrame = CFrame.new(-5.77552652, 2.79678607, -81.6581802, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1201. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1202. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.400111198, -0.089990139, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1203. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.50999999, 1.00999999, 1.38),CFrame = CFrame.new(-5.79167271, 2.89196372, -81.6569061, 0.999894142, 0.0109243561, 0.00963267591, -0.0110270008, 0.99988246, 0.0106679127, -0.00951499958, -0.0107729975, 0.999896884),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1204. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1205. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.382905483, 0.00498604774, 0.00213623047, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1206. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.179999962, 1.27999997),CFrame = CFrame.new(-6.43716383, 3.22691417, -81.656456, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1207. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1208. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.266214848, 0.332840681, -6.10351563e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1209. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.340000033, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.43716383, 2.87691402, -81.6564636, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1210. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1211. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.262355328, -0.0171182156, -0.00379943848, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1212. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.380000025, 0.239999965, 1.27999997),CFrame = CFrame.new(-6.41705704, 2.5166924, -81.6567535, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1213. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1214. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.238276005, -0.37707448, -0.00774383545, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1215. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.080000028, 0.829999983, 1.24000001),CFrame = CFrame.new(-6.28731203, 2.83357024, -81.6548691, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1216. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1217. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.112056732, -0.058836937, -0.00122833252, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1218. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.209999949, 1.24000001),CFrame = CFrame.new(-6.30723286, 3.2204814, -81.6576462, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1219. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1220. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.136215687, 0.327841043, -6.86645508e-05, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1221. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.269999951, 1.24000001),CFrame = CFrame.new(-6.30756044, 2.87048483, -81.6573257, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1222. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1223. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.132686615, -0.0221214294, -0.0034866333, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1224. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.580000043, 0.249999955, 1.25),CFrame = CFrame.new(-6.30751181, 2.53053808, -81.6523285, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1225. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1226. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(-0.128937244, -0.362081289, -0.00211334229, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1227. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.71910667, 3.10924911, -81.0621643, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1228. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
  1229. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.447408676, 0.216631651, 0.599830627, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1230. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(-5.74061537, 3.09643626, -82.2620392, 0.968651533, -0.24823907, 0.00961919595, 0.248137087, 0.968666732, 0.0106559293, -0.0119630033, -0.007934995, 0.999897361),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1231. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.899999976, 0.400000006),})
  1232. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.968651116, 0.248137027, -0.0119630015, -0.248238936, 0.968666434, -0.007934995, 0.00961919129, 0.0106559228, 0.999897003),C1 = CFrame.new(0.437460423, 0.216511488, -0.600265503, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1233. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.4000001),CFrame = CFrame.new(-5.66842175, 2.87551188, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1234. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
  1235. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.506342888, -0.0100963116, 0.00119018555, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1236. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Smoky grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.320000023, 0.919999957, 1.27999997),CFrame = CFrame.new(-6.08716917, 2.84636235, -81.6569443, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.356863, 0.364706, 0.411765),})
  1237. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1238. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.0879435539, -0.0438375473, -0.00123596191, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1239. Neon_Part = New("Part",Gunty,"Neon_Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.329999983, 0.269999981, 0.860000074),CFrame = CFrame.new(-5.68526602, 2.76024342, -81.6548996, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1240. Mesh = New("BlockMesh",Neon_Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1241. mot = New("Motor",Neon_Part,"mot",{Part0 = Neon_Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.4907341, -0.125577688, 0.0037612915, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1242. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.279999971, 0.389999986, 1.05000007),CFrame = CFrame.new(-5.67011929, 2.75067925, -81.6596603, 0.999894381, 0.0109243579, 0.00963267963, -0.0110270027, 0.999882698, 0.0106679164, -0.00951499958, -0.0107729975, 0.999897122),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1243. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.850000024),})
  1244. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),C1 = CFrame.new(0.506030083, -0.134924173, -0.000953674316, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1245. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.14374733, -82.1123657, 1.00000036, -2.32830644e-10, 1.86264515e-09, 2.76486389e-10, 0.945462108, -0.325733244, 2.79396772e-09, 0.325733304, 0.945462048),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1246. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.94546175, 0.325733155, 0, -0.325733155, 0.94546175),C1 = CFrame.new(0.524296761, 0.263174534, -0.449249268, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1247. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.150000021, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.16514564, -82.0512466, 1.00000036, -1.28056854e-09, 1.86264515e-09, 2.76486389e-10, 0.990724444, 0.135888785, 2.79396772e-09, -0.13588877, 0.990724444),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1248. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.990724087, -0.135888726, 0, 0.135888726, 0.990724087),C1 = CFrame.new(0.523478985, 0.283911943, -0.387901306, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1249. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.170000017, 0.0599999875),CFrame = CFrame.new(-5.651824, 3.15523815, -81.9898987, 1.00000036, -9.31322575e-10, 1.86264515e-09, 2.76486389e-10, 0.841228187, -0.540680885, 2.79396772e-09, 0.540680885, 0.841228247),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1250. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.841227949, 0.540680707, 0, -0.540680707, 0.841227949),C1 = CFrame.new(0.523004532, 0.273344755, -0.326667786, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1251. Credits = New("Part",Gunty,"Credits",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,Size = Vector3.new(0.249999985, 0.230000019, 0.0599999875),CFrame = CFrame.new(-5.65182352, 3.12556744, -81.9521408, 1.00000036, -5.82076609e-10, 9.31322575e-10, 2.76486389e-10, 0.99409467, -0.10851986, 2.79396772e-09, 0.108519867, 0.99409461),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1252. mot = New("Motor",Credits,"mot",{Part0 = Credits,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.994094312, 0.10851983, 0, -0.10851983, 0.994094312),C1 = CFrame.new(0.522972584, 0.243270636, -0.289230347, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1253. Part = New("Part",Gunty,"Part",{BrickColor = BrickColor.new("Fossil"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 1.18000007),CFrame = CFrame.new(-6.06842232, 2.94551158, -81.6588593, 0.699307382, 0.714757025, 0.00962753966, -0.714821219, 0.699226558, 0.0106663266, 0.000891998934, -0.0143409977, 0.999897063),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.623529, 0.631373, 0.67451),})
  1254. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.930000007),})
  1255. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.699307024, -0.714820981, 0.000891999982, 0.714756727, 0.69922626, -0.0143409977, 0.00962753501, 0.010666322, 0.999896765),C1 = CFrame.new(0.105613232, 0.0555255413, -0.00191497803, 0.999894023, -0.0110269999, -0.00951499958, 0.0109243551, 0.99988234, -0.0107729975, 0.00963267405, 0.0106679108, 0.999896765),})
  1256.  
  1257. local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(-.1,-.51,0)})
  1258.  
  1259. for _,v in next, Gunty:children() do
  1260. v.CanCollide = false
  1261. end
  1262.  
  1263. local all, last = {}, nil
  1264. ArmourParts = {}
  1265. ArmourParts2 = {}
  1266. NeonParts = {}
  1267. function scan(p)
  1268. for _, v in pairs(p:GetChildren()) do
  1269. if v:IsA("BasePart") then
  1270. if v.BrickColor == BrickColor.new("Smoky grey") then
  1271. table.insert(ArmourParts, v)
  1272. end
  1273. if v.BrickColor == BrickColor.new("Fossil") then
  1274. table.insert(ArmourParts2, v)
  1275. end
  1276. if v.BrickColor == BrickColor.new("Institutional white") then
  1277. table.insert(NeonParts, v)
  1278. end
  1279. if last then
  1280. local w = Instance.new("Weld")
  1281. w.Part0, w.Part1 = last, v
  1282. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1283. w.Parent = last
  1284. end
  1285. table.insert(all, v)
  1286. last = v
  1287. end
  1288. scan(v)
  1289. end
  1290. end
  1291. scan(Gunty)
  1292. for _, v in pairs(all) do
  1293. v.Anchored = false
  1294. v.CanCollide = false
  1295. end
  1296. function resetmode()
  1297. for i, v in pairs(ArmourParts) do
  1298. v.BrickColor = BrickColor.new("Smoky grey")
  1299. end
  1300. for i, v in pairs(ArmourParts2) do
  1301. v.BrickColor = BrickColor.new("Fossil")
  1302. end
  1303. for i, v in pairs(NeonParts) do
  1304. v.BrickColor = BrickColor.new("Institutional white")
  1305. end
  1306. maincolor = BrickColor.new("Institutional white")
  1307. char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143"
  1308. end
  1309. -------------------------------------------------------
  1310. --Start Music Option--
  1311. -------------------------------------------------------
  1312. local Music = Instance.new("Sound",tors)
  1313. Music.Volume = 7.5
  1314. Music.SoundId = "rbxassetid://1117396305"
  1315. Music.Looped = true
  1316. Music.Pitch = 1 --Pitcher
  1317. Music:Play()
  1318. -------------------------------------------------------
  1319. --End Music Option--
  1320. -------------------------------------------------------
  1321.  
  1322. local naeeym2 = Instance.new("BillboardGui",char)
  1323. naeeym2.AlwaysOnTop = true
  1324. naeeym2.Size = UDim2.new(5,35,2,35)
  1325. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1326. naeeym2.Adornee = hed
  1327. naeeym2.Name = "Name"
  1328.  
  1329. local tecks2 = Instance.new("TextLabel",naeeym2)
  1330. tecks2.BackgroundTransparency = 1
  1331. tecks2.TextScaled = true
  1332. tecks2.BorderSizePixel = 0
  1333. tecks2.Text = "Neutral"
  1334. tecks2.Font = "Code"
  1335. tecks2.TextSize = 30
  1336. tecks2.TextStrokeTransparency = 0
  1337. tecks2.TextColor3 = Color3.new(0,0,0)
  1338. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  1339. tecks2.Size = UDim2.new(1,0,0.5,0)
  1340. tecks2.Rotation = 0
  1341. tecks2.Parent = naeeym2
  1342.  
  1343. -------------------------------------------------------
  1344. --Start Attacks N Stuff--
  1345. -------------------------------------------------------
  1346. local sine=0
  1347. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1348. local Hitboxpart = Instance.new("Part", EffectModel)
  1349. RemoveOutlines(Hitboxpart)
  1350. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1351. Hitboxpart.CanCollide = false
  1352. Hitboxpart.Transparency = 1
  1353. Hitboxpart.Anchored = true
  1354. Hitboxpart.CFrame = Pose
  1355. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1356. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1357. end
  1358. wait2 = false
  1359. combo = 1
  1360. mouse.Button1Down:connect(function(key)
  1361. if attack == false then
  1362. attack = true
  1363. hum.WalkSpeed = 3.01
  1364. if combo == 1 and wait2 == false then
  1365. wait2 = true
  1366. for i = 0, 1.2, 0.1 do
  1367. swait()
  1368. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1369. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1370. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1371. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1372. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1373. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1374. end
  1375. CreateSound("138097048", ra, 3, .8)
  1376. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1377. for i = 0, 1.2, 0.1 do
  1378. swait()
  1379. BlockEffect(maincolor, Handle.CFrame, 21, 41, 21, -2, -3, -2, 0.08, 2)
  1380. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(55)), 0.3)
  1381. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1382. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(95), math.rad(0), math.rad(40)), 0.1)
  1383. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1384. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-17)), 0.3)
  1385. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1386. end
  1387. combo = 2
  1388. end
  1389. if combo == 2 and wait2 == false then
  1390. wait2 = true
  1391. for i = 0, 1.2, 0.1 do
  1392. swait()
  1393. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1394. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1395. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1396. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1397. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1398. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1399. end
  1400. CreateSound("138097048", rl, 3, 1)
  1401. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1402. for i = 0, 1.6, 0.1 do
  1403. swait()
  1404. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65+255.45*i)), 0.3)
  1405. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1406. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(54), math.rad(0), math.rad(35)), 0.1)
  1407. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-35)), 0.3)
  1408. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1409. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(0)), 0.3)
  1410. end
  1411. combo = 3
  1412. end
  1413. if combo == 3 and wait2 == false then
  1414. for i = 0, 1.2, 0.1 do
  1415. swait()
  1416. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-35)), 0.3)
  1417. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  1418. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1419. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1420. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(-2.5), math.rad(0), math.rad(-0)), 0.3)
  1421. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(15), math.rad(-20)), 0.3)
  1422. end
  1423. CreateSound("138097048", ra, 3, .8)
  1424. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1425. for i = 0, 1.2, 0.1 do
  1426. swait()
  1427. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(35)), 0.3)
  1428. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1429. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(96), math.rad(0), math.rad(10)), 0.1)
  1430. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1431. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1432. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1433. end
  1434. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 85, 85, 85, 0.1, 0.1, 0.1, 0.03)
  1435. Effects.Ring.Create(maincolor, ra.CFrame * CFrame.new(0,-2,0) , 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
  1436. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
  1437. for i = 0, 1.2, 0.1 do
  1438. swait()
  1439. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-35)), 0.3)
  1440. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1441. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(25), math.rad(0), math.rad(10)), 0.1)
  1442. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1443. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-0)), 0.3)
  1444. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(0)), 0.3)
  1445. end
  1446. combo = 1
  1447. end
  1448. hum.WalkSpeed = 8
  1449. wait2 = false
  1450. attack = false
  1451. end
  1452. end)
  1453. function Decapitate()
  1454. local target = nil
  1455. local targettorso = nil
  1456. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1457. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1458. target = mouse.Target.Parent.Humanoid
  1459. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1460. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1461. end
  1462. end
  1463. if target ~= nil then
  1464. targettorso.Anchored = true
  1465. attack = true
  1466. hum.WalkSpeed = 0
  1467. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1468. for i = 0,4.2,0.1 do
  1469. swait()
  1470. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1471. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1472. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  1473. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  1474. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(35)), 0.1)
  1475. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1476. end
  1477. local ModelHead01 = New("Model", char, "", {})
  1478. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  1479. local Head01 = targethead:Clone()
  1480. targethead.Transparency = 1
  1481. Head01.Parent = ModelHead01
  1482. local weldHead01 = Instance.new("Weld")
  1483. weldHead01.Parent = Head01
  1484. weldHead01.Part0 = targethead
  1485. weldHead01.Part1 = Head01
  1486. weldHead01.C1 = CFrame.new(0, 0, 0)
  1487. targethead.face:Remove()
  1488. weldHead01.Part0 = ra
  1489. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1490. targettorso:BreakJoints()
  1491. CreateSound("314390675", targettorso, 5, .7)
  1492. for i = 0,3.2,0.1 do
  1493. swait()
  1494. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  1495. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1496. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1497. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(50)), 0.15)
  1498. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(20), Rad(90)), 0.1)
  1499. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1500. end
  1501. for i = 0,4.2,0.1 do
  1502. swait()
  1503. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1504. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1505. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1506. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1507. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  1508. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1509. end
  1510. CreateSound("541909763", targettorso, 5, .8)
  1511. weldHead01:Destroy()
  1512. Head01.CanCollide = true
  1513. local bodyVelocity2 = Create("BodyVelocity")({
  1514. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1515. P = 5000,
  1516. maxForce = Vector3.new(8000, 8000, 8000),
  1517. Parent = Head01
  1518. })
  1519. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1520. for i = 0,6.2,0.1 do
  1521. swait()
  1522. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1523. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1524. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1525. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1526. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  1527. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1528. end
  1529. targettorso.Anchored = false
  1530. attack = false
  1531. hum.WalkSpeed = 8
  1532. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1533. end
  1534. end
  1535. function Laugh()
  1536. attack = true
  1537. hum.WalkSpeed = 0
  1538. CreateSound("300208779", hed, 10, 1)
  1539. for i = 0,9,0.1 do
  1540. swait()
  1541. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  1542. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  1543. if Mrandom(1,15) == 1 then
  1544. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  1545. end
  1546. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  1547. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  1548. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  1549. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  1550. end
  1551. attack = false
  1552. hum.WalkSpeed = 10
  1553. end
  1554. function Flying_Kick()
  1555. attack = true
  1556. hum.WalkSpeed = 0
  1557. for i = 0,2.7,0.1 do
  1558. swait()
  1559. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1560. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1561. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1562. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  1563. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(15)), 0.1)
  1564. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(-15)), 0.1)
  1565. end
  1566. local bodyVelocity = Create("BodyVelocity")({
  1567. velocity = Vector3.new(0, 0, 0) + root.CFrame.lookVector * 250,
  1568. P = 5000,
  1569. maxForce = Vector3.new(9e99, 9e99, 9e99),
  1570. Parent = root
  1571. })
  1572. game:GetService("Debris"):AddItem(bodyVelocity, 0.05)
  1573. CreateSound("138097048", rl, 3, 1)
  1574. for i = 0,2.1,0.1 do
  1575. swait()
  1576. HitboxFunction(rl.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1577. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, .6 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(90)), 0.15)
  1578. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  1579. RH.C0 = clerp(RH.C0, CF(.4, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-125), Rad(0), Rad(0)), 0.15)
  1580. LH.C0 = clerp(LH.C0, CF(-1.3, -1.3 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  1581. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  1582. LW.C0 = clerp(LW.C0, CF(-1.9, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-215)), 0.1)
  1583. end
  1584. attack = false
  1585. hum.WalkSpeed = 8
  1586. end
  1587. function UpperCut()
  1588. attack = true
  1589. hum.WalkSpeed = 0
  1590. for i = 0,2.3,0.1 do
  1591. swait()
  1592. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.7 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1593. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.3)
  1594. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1595. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(30)), 0.15)
  1596. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 30), -.8 + 0.025 * Cos(sine / 20)) * angles(Rad(165), Rad(0), Rad(0)), 0.1)
  1597. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 30), -1 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(75)), 0.1)
  1598. end
  1599. CreateSound("138097048", ra, 3, .8)
  1600. HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 8, 3, "Knockdown")
  1601. for i = 0,2.8,0.1 do
  1602. swait()
  1603. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-35), Rad(0), Rad(10)), 0.15)
  1604. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1605. RH.C0 = clerp(RH.C0, CF(1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-55)), 0.15)
  1606. LH.C0 = clerp(LH.C0, CF(-1, -1.2 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  1607. RW.C0 = clerp(RW.C0, CF(1.3, .8 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(125), Rad(0), Rad(0)), 0.1)
  1608. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-10)), 0.1)
  1609. end
  1610. attack = false
  1611. hum.WalkSpeed = 8
  1612. end
  1613. function Spinning_Kick()
  1614. attack = true
  1615. hum.WalkSpeed = 3.01
  1616. for i = 0, 1.2, 0.1 do
  1617. swait()
  1618. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-25), math.rad(10), math.rad(-65)), 0.3)
  1619. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1620. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1621. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
  1622. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(-25)), 0.3)
  1623. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-2.5), math.rad(-0), math.rad(-20)), 0.3)
  1624. end
  1625. for i = 0, 4.6, 0.1 do
  1626. swait()
  1627. CreateSound("138097048", rl, 3, 1)
  1628. HitboxFunction(ll.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 3, "Normal")
  1629. rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(65 + 255.45 * i)), 0.3)
  1630. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1631. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-54), math.rad(0), math.rad(47)), 0.1)
  1632. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-34), math.rad(0), math.rad(-47)), 0.3)
  1633. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(-2.5), math.rad(-25), math.rad(95)), 0.3)
  1634. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(-4.5), math.rad(-30), math.rad(30)), 0.3)
  1635. end
  1636. attack = false
  1637. hum.WalkSpeed = 8
  1638. end
  1639. function Beam_Of_Light()
  1640.  
  1641. end
  1642. function Blast_Of_God()
  1643. attack = true
  1644. hum.WalkSpeed = 3.01
  1645. for i = 0,6.3,0.1 do
  1646. swait()
  1647. Effects.Sphere.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1648. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(90)), 0.15)
  1649. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1650. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  1651. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1652. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1653. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  1654. end
  1655. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1656. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.03)
  1657. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1658. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 11, 11, 11, 0.05)
  1659. Effects.Block.Create(BrickC("New Yeller"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1660. Effects.Ring.Create(BrickC("New Yeller"), ra.CFrame * angles(Rad(90),0,0) * CF(0, -1, 0), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
  1661. CreateSound("142070127", tors, 10, 1)
  1662. MagniDamage(ra, 12, 40, 60, 10, "Normal")
  1663. for i = 0,2.6,0.1 do
  1664. swait()
  1665. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(90)), 0.15)
  1666. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
  1667. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-16 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  1668. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-25 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  1669. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(195 - 2.5 * Sin(sine / 20))), 0.1)
  1670. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  1671. end
  1672. attack = false
  1673. hum.WalkSpeed = 8
  1674. end
  1675. function Diablo_Explosion()
  1676. attack = true
  1677. hum.WalkSpeed = 3.01
  1678. for i = 0,6.3,0.1 do
  1679. swait()
  1680. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1681. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1682. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1683. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1684. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1685. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  1686. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1687. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1688. end
  1689. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 14, 14, 14, 0.05)
  1690. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 11, 11, 11, 0.03)
  1691. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 8, 8, 8, 0.05)
  1692. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 6, 6, 6, 0.05)
  1693. Effects.Sphere.Create(BrickC("Really red"), root.CFrame * CF(0, 1, -4), 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
  1694. Effects.Ring.Create(BrickC("Really red"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  1695. CreateSound("142070127", tors, 10, 1)
  1696. MagniDamage(tors, 12, 34, 54, 10, "DarkUp")
  1697. for i = 0,4.6,0.1 do
  1698. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1699. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1700. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1701. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1702. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  1703. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  1704. end
  1705. wait(.6)
  1706. attack = false
  1707. hum.WalkSpeed = 8
  1708. end
  1709. function Multi_Bombs()
  1710. attack = true
  1711. hum.WalkSpeed = 3.01
  1712. for i = 0,3,0.1 do
  1713. swait()
  1714. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1715. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1716. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1717. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1718. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1719. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  1720. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1721. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1722. end
  1723. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  1724. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  1725. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  1726. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  1727. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  1728. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  1729. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  1730. CreateSound("142070127", tors, 10, 1)
  1731. MagniDamage(tors, 17, 15, 35, 10, "Normal")
  1732. for i = 0,1,0.1 do
  1733. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1734. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1735. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1736. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1737. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  1738. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  1739. end
  1740. for i = 0,2,0.1 do
  1741. swait()
  1742. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1743. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1744. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1745. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1746. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1747. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  1748. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1749. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1750. end
  1751. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  1752. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  1753. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  1754. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  1755. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  1756. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  1757. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  1758. CreateSound("142070127", tors, 10, 1)
  1759. MagniDamage(tors, 17, 15, 35, 10, "Normal")
  1760. for i = 0,1,0.1 do
  1761. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1762. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1763. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1764. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1765. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  1766. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  1767. end
  1768. for i = 0,2,0.1 do
  1769. swait()
  1770. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1771. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1772. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1773. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1774. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1775. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 3 * Sin(sine / 20))), 0.15)
  1776. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1777. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1778. end
  1779. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 18, 18, 18, 0.05)
  1780. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 14, 14, 14, 0.03)
  1781. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.5, 4.5, 4.5, 10, 10, 10, 0.05)
  1782. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 4.2, 4.2, 4.2, 8, 8, 8, 0.05)
  1783. Effects.Sphere.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 1, -4), 5, 5, 5, 11.5, 11.5, 11.5, 0.05)
  1784. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 3, 3, 3, 3.6, 3.6, 3.6, 0.02)
  1785. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, 0, -4), 2, 2, 2, 3, 3, 3, 0.05)
  1786. CreateSound("142070127", tors, 10, 1)
  1787. MagniDamage(tors, 17, 15, 35, 10, "Normal")
  1788. for i = 0,1,0.1 do
  1789. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1790. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1791. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1792. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1793. RW.C0 = clerp(RW.C0, CF(1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(-10 * Cos(sine / 20)), Rad(-35 - 2.5 * Sin(sine / 20))), 0.1)
  1794. LW.C0 = clerp(LW.C0, CF(-1, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  1795. end
  1796. wait(.6)
  1797. attack = false
  1798. hum.WalkSpeed = 8
  1799. end
  1800. function Hell_From_Above()
  1801. local UhhhhThing = New("Part",EffectModel,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = tors.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1802. attack = true
  1803. hum.WalkSpeed = 3.01
  1804. for i = 0,6.3,0.1 do
  1805. swait()
  1806. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1807. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1808. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1809. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1810. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1811. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1812. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1813. end
  1814. CreateSound("142070127", tors, 10, 1)
  1815. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1816. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1817. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1818. Effects.Sphere.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 6, 6, 6, 0.05)
  1819. for i = 0,3.8,0.1 do
  1820. swait()
  1821. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1822. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1823. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1824. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1825. RW.C0 = clerp(RW.C0, CF(1.5, .2 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  1826. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  1827. end
  1828. CreateSound("224339201", tors, 10, 0.5)
  1829. for i = 1, 3 do
  1830. MagniDamage(UhhhhThing, 12, 34, 54, 10, "DarkUp")
  1831. UhhhhThing.CFrame = mouse.Hit
  1832. Effects.Cylinder.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, .5, 9999, .5, 10, 0, 10, 0.05)
  1833. Effects.Block.Create(BrickColor.new("Really red"), UhhhhThing.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  1834. end
  1835. UhhhhThing:Destroy()
  1836. attack = false
  1837. hum.WalkSpeed = 8
  1838. end
  1839. function Spinning_Below()
  1840. attack = true
  1841. hum.WalkSpeed = 3.01
  1842. CreateSound("649634100", tors, 10, 0.5)
  1843. for i = 0,6.3,0.1 do
  1844. swait()
  1845. Effects.Block.Create(BrickC("Really red"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1846. Effects.Block.Create(BrickC("Really red"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1847. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0 + 255.45 * i)), 0.15)
  1848. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1849. RH.C0 = clerp(RH.C0, CF(1, -0.7 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  1850. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  1851. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
  1852. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-90 + 2.5 * Sin(sine / 20))), 0.1)
  1853. end
  1854. attack = false
  1855. hum.WalkSpeed = 8
  1856. end
  1857. function Blizzard()
  1858. attack = true
  1859. hum.WalkSpeed = 2
  1860. hum.JumpPower = 0
  1861. for i = 0,70,0.1 do
  1862. MagniDamage(tors, 41, 1, 3, 1, "Normal")
  1863. Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-40,40),Mrandom(-40,40),Mrandom(-40,40)), 2, 2, 2, 4, 4, 4, 0.03)
  1864. swait()
  1865. Effects.Block.Create(BrickC("Institutional white"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1866. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
  1867. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1868. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1869. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1870. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
  1871. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-110)), 0.1)
  1872. end
  1873. hum.WalkSpeed = 16
  1874. hum.JumpPower = 50
  1875. attack = false
  1876. end
  1877.  
  1878. function Cryo_Freeze()
  1879. attack = true
  1880. for i = 0,5.2,0.03 do
  1881. swait()
  1882. Effects.Block.Create(BrickC("Cyan"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1883. Effects.Block.Create(BrickC("White"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1884. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1885. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1886. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1887. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1888. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1889. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1890. end
  1891. CreateSound("331666100", tors, 10, 1)
  1892. Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 27, 0.01)
  1893. for i = 1,3,0.1 do
  1894. hum.WalkSpeed = 0.10
  1895. MagniDamage(tors, 400, 1, 10, 0, "Normal")
  1896. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1897. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1898. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1899. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1900. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1901. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  1902. end
  1903. for i = 1,10,0.1 do
  1904. swait(10)
  1905. hum.WalkSpeed = 0.10
  1906. MagniDamage(tors, 400, 1, 1, 0, "Normal")
  1907. Effects.Ring.Create(BrickC("Cyan"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 27, 27, 1, 0.02)
  1908. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  1909. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  1910. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  1911. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1912. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  1913. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  1914. end
  1915. wait(.6)
  1916. attack = false
  1917. end
  1918. function Menacing_Aura()
  1919. attack = true
  1920. notmenacing = false
  1921. for i = 0,2,0.1 do
  1922. swait()
  1923. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1924. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1925. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1926. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1927. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1928. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1929. end
  1930. CreateSound("331666100", tors, 10, 1)
  1931. coroutine.resume(coroutine.create(function()
  1932. for i = 0,25,0.1 do
  1933. swait(10)
  1934. MagniDamage(tors, 6.5, 1, 2, 0, "Normal")
  1935. Effects.Ring.Create(maincolor, root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.20, 0.20, 0.05, 0.02)
  1936. end
  1937. notmenacing = true
  1938. end))
  1939. wait(.6)
  1940. attack = false
  1941. end
  1942. local alternatecooldownbecausewhynotdood = false
  1943. function Heat_Stroke()--This was NOT MADE BY ME! It's from Ruin II. Credit goes to When_kun, NoobyGames12, Injectioneer and Salvo_Starly!
  1944. attack = true
  1945. alternatecooldownbecausewhynotdood = true
  1946. for i = 0,2,0.1 do
  1947. swait()
  1948. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1949. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1950. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  1951. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  1952. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  1953. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  1954. end
  1955. Effects.Block.Create(BrickColor.new("Bright red"), RightArm.CFrame * CFrame.new(0, -1.5, 0), 5, 5, 5, 4, 4, 4, .06)
  1956. ref = New("Part",m,"ref",{Anchored = true, CanCollide = false,Transparency = 1,Size = Vector3.new(0.200000018, 0.299999923, 0.2),Position = mouse.Hit.p,Color = Color3.new(1, 0, 0),})
  1957. coroutine.resume(coroutine.create(function()
  1958. for i = 1,150,0.1 do
  1959. swait()
  1960. MagniDamage(ref, 23.3, 3, 9, 0, "Normal")
  1961. Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
  1962. Effects.Block.Create(BrickColor.new("Black"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
  1963. Effects.Block.Create(BrickColor.new("Bright red"), ref.CFrame * CFrame.new(math.random(-20,20), math.random(-20,20), math.random(-20,20)), 5, 5, 5, 2, 2, 2, 0.05)
  1964. end
  1965. swait(50)
  1966. alternatecooldownbecausewhynotdood = false
  1967. ref:Remove() -- still lazy to use debris
  1968. end))
  1969. attack = false
  1970. end
  1971. function Eruption()
  1972. attack = true
  1973. hum.WalkSpeed = 2
  1974. hum.JumpPower = 0
  1975. for i = 0,7,0.1 do
  1976. HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 5, 10, 1, "Normal")
  1977. swait()
  1978. Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1979. Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  1980. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
  1981. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1982. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1983. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1984. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
  1985. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1)
  1986. end
  1987. CreateSound("144699494", tors, 10, 1)
  1988. Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 1.6, 1.6, 1.6, 0.02)
  1989. Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 3.6, 3.6, 3.6, 0.02)
  1990. Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 5.6, 5.6, 5.6, 0.02)
  1991. Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 1, 1, 1, 8.6, 8, 8, 0.03)
  1992. MagniDamage(tors, 30, 40, 75, 7, "DarkUp")
  1993. coroutine.resume(coroutine.create(function()
  1994. for i = 0,1.8,0.1 do
  1995. swait()
  1996. hum.CameraOffset = Vector3.new(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4))
  1997. end
  1998. for i = 0,1.8,0.1 do
  1999. swait()
  2000. hum.CameraOffset = Vector3.new(0,0,0)
  2001. end
  2002. end))
  2003. local vel2 = Instance.new("BodyVelocity",tors)
  2004. vel2.Velocity = Vector3.new(0,55,0)
  2005. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  2006. for i = 0,4,0.1 do
  2007. HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 7, 20, 35, 3, "Normal")
  2008. swait()
  2009. Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2010. Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2011. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0-255.45*i)), 0.15)
  2012. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2013. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2014. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2015. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.1)
  2016. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.1)
  2017. end
  2018. hum.WalkSpeed = 16
  2019. vel2:Destroy()
  2020. hum.JumpPower = 50
  2021. attack = false
  2022. end
  2023. function Solar_Flare()
  2024. attack = true
  2025. hum.WalkSpeed = 2
  2026. hum.JumpPower = 75
  2027. hum.Jump = true
  2028. wait(0.4)
  2029. CreateSound("144699494", tors, 10, 1)
  2030. hum.JumpPower = 0
  2031. Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, .6, .6, .6, 0.02)
  2032. Effects.Ring.Create(BrickC("New Yeller"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 1.6, 1.6, 1.6, 0.02)
  2033. Effects.Ring.Create(BrickC("Deep orange"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(0),Rad(0),Rad(0)), .2, .2, .2, 2.6, 2.6, 2.6, 0.02)
  2034. for i = 0,20,0.1 do
  2035. root.Velocity = root.CFrame.lookVector * 60
  2036. HitboxFunction(tors.CFrame, 0.01, 1, 1, 1, 14, 25, 35, 0, "Freeze")
  2037. swait()
  2038. Effects.Block.Create(BrickC("Deep orange"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
  2039. Effects.Block.Create(BrickC("New Yeller"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 12, 12, 12, 0.05)
  2040. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(90), Rad(0), Rad(0-255.45*i)), 0.15)
  2041. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2042. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2043. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2044. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2045. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-90)), 0.1)
  2046. end
  2047. hum.WalkSpeed = 16
  2048. hum.JumpPower = 50
  2049. attack = false
  2050. end
  2051. function ShadowWarp()
  2052. MagniDamage(tors, 5, 5, 10, 0, "Normal")
  2053. Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03)
  2054. Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02)
  2055. Effects.Block.Create(BrickC("Steel blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2056. local pos = root.Position
  2057. root.CFrame = CF(mouse.Hit.p+VT(0,3,0),pos)
  2058. CreateSound("769380905", tors, 10, 1)
  2059. MagniDamage(tors, 5, 15, 20, 0, "DarkUp")
  2060. Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(0, 0, 0), 2, 2, 2, 6, 6, 6, 0.05)
  2061. Effects.Ring.Create(BrickC("Dark blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.2, 0.2, 0.2, 0.6, 0.6, 0.6, 0.03)
  2062. Effects.Ring.Create(BrickC("Steel blue"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.1, 0.1, 0.1, 0.3, 0.3, 0.3, 0.02)
  2063. end
  2064. function Shade()
  2065. hum.WalkSpeed = 3
  2066. attack = true
  2067. for i = 0,2,0.1 do
  2068. swait()
  2069. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2070. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2071. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2072. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2073. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2074. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2075. end
  2076. hum.WalkSpeed = 3
  2077. CreateSound("588736969", tors, 10, 1)
  2078. Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
  2079. MagniDamage(tors, 27, 12, 24, 2, "Normal")
  2080. for i = 0,3,0.1 do
  2081. swait()
  2082. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2083. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2084. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2085. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2086. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2087. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2088. end
  2089. hum.WalkSpeed = 3
  2090. CreateSound("588736969", tors, 10, 1)
  2091. Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
  2092. MagniDamage(tors, 27, 12, 24, 2, "Normal")
  2093. for i = 0,3,0.1 do
  2094. swait()
  2095. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2096. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2097. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2098. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2099. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2100. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2101. end
  2102. CreateSound("588736969", tors, 10, 1)
  2103. Effects.Block.Create(BrickC("Deep blue"), tors.CFrame * CF(0, 0, 0), 80, 80, 80, 40, 40, 40, 0.05)
  2104. MagniDamage(tors, 27, 12, 24, 2, "Normal")
  2105. hum.WalkSpeed = 3
  2106. wait(.6)
  2107. hum.WalkSpeed = 16
  2108. attack = false
  2109. end
  2110. function Purity_Slam()
  2111. attack = true
  2112. for i = 0,5.2,0.1 do
  2113. swait()
  2114. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2115. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2116. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2117. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2118. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2119. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2120. end
  2121. CreateSound("331666100", tors, 10, 1)
  2122. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 3.6, 3.6, 3.6, 0.03)
  2123. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 5.6, 5.6, 5.6, 0.03)
  2124. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  2125. Effects.Ring.Create(BrickC("Toothpaste"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 10.6, 10, 10, 0.03)
  2126. MagniDamage(tors, 12, 40, 60, 10, "Normal")
  2127. coroutine.resume(coroutine.create(function()
  2128. for i = 0,1.8,0.1 do
  2129. swait()
  2130. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2131. end
  2132. for i = 0,1.8,0.1 do
  2133. swait()
  2134. hum.CameraOffset = Vector3.new(0,0,0)
  2135. end
  2136. end))
  2137. for i = 1,4.7,0.1 do
  2138. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2139. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2140. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2141. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2142. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  2143. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  2144. end
  2145. wait(.6)
  2146. attack = false
  2147. end
  2148. function Universal_Crush()
  2149. attack = true
  2150. for i = 0,5.2,0.05 do
  2151. swait()
  2152. Effects.Block.Create(BrickC("Dark indigo"), ra.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2153. Effects.Block.Create(BrickC("Dark indigo"), la.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  2154. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2155. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2156. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2157. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2158. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2159. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2160. end
  2161. CreateSound("331666100", tors, 10, 1)
  2162. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 14, 14, 14, 16.6, 16.6, 16.6, 0.01)
  2163. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -2.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 16, 16, 16, 19.6, 19.6, 19.6, 0.01)
  2164. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 18, 18, 18, 22.6, 22.6, 22.6, 0.01)
  2165. Effects.Ring.Create(BrickC("Dark indigo"), root.CFrame * CF(0, -1.3, 0) * angles(Rad(90),Rad(0),Rad(0)), 20, 20, 20, 25.6, 25, 25, 0.01)
  2166. MagniDamage(tors, 170, 80, 175, 15, "DarkUp")
  2167. coroutine.resume(coroutine.create(function()
  2168. for i = 0,1.8,0.1 do
  2169. swait()
  2170. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2171. end
  2172. for i = 0,1.8,0.1 do
  2173. swait()
  2174. hum.CameraOffset = Vector3.new(0,0,0)
  2175. end
  2176. end))
  2177. for i = 1,4.7,0.1 do
  2178. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2179. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2180. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2181. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2182. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  2183. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  2184. end
  2185. wait(.6)
  2186. attack = false
  2187. end
  2188. function Painful_Stomp()
  2189. attack = true
  2190. for i = 0,5.2,0.1 do
  2191. swait()
  2192. tecks2.Rotation = math.random(-20, 20)
  2193. tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
  2194. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2195. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2196. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  2197. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  2198. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  2199. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  2200. end
  2201. CreateSound("331666100", char, 10, 1)
  2202. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2203. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2204. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2205. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 10.6, 10.6, 0.05)
  2206. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -1, 0), 2, 2, 2, 10.6, 35.6, 10.6, 0.05)
  2207. Effects.Sphere.Create(BrickColor.Random(), root.CFrame * CF(0, -3, 0), 2, 2, 2, 150.6, .4, 150.6, 0.05)
  2208. Effects.Ring.Create(BrickColor.Random(), root.CFrame * CF(0, -1.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 2, 2, 2, 8.6, 8.6, 8.6, 0.03)
  2209. for i, v in pairs(FindNearestHead(tors.CFrame.p, 52.5)) do
  2210. if v:FindFirstChild("Head") then
  2211. Eviscerate(v)
  2212. end
  2213. end
  2214. coroutine.resume(coroutine.create(function()
  2215. for i = 0,2.8,0.1 do
  2216. swait()
  2217. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2218. end
  2219. for i = 0,1.8,0.1 do
  2220. swait()
  2221. hum.CameraOffset = Vector3.new(0,0,0)
  2222. end
  2223. end))
  2224. for i = 0,3.7,0.1 do
  2225. tecks2.Rotation = math.random(-20, 20)
  2226. tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
  2227. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2228. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2229. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  2230. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  2231. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2232. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  2233. end
  2234. wait(.6)
  2235. attack = false
  2236. end
  2237. function Ending()
  2238. local target = nil
  2239. local targettorso = nil
  2240. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2241. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2242. targetT = mouse.Target.Parent
  2243. target = mouse.Target.Parent.Humanoid
  2244. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2245. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2246. end
  2247. end
  2248. if target ~= nil then
  2249. targettorso.Anchored = true
  2250. attack = true
  2251. hum.WalkSpeed = 0
  2252. local originalpos = root.CFrame
  2253. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  2254. for i = 0,1.8,0.1 do
  2255. tecks2.Rotation = math.random(-20, 20)
  2256. swait()
  2257. tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
  2258. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-65)), 0.15)
  2259. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(65)), 0.3)
  2260. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2261. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2262. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(35)), 0.1)
  2263. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2264. end
  2265. Eviscerate(targetT)
  2266. CreateSound("331666100", ra, 4, 1)
  2267. CreateSound("180083286", targettorso, 10, 1)
  2268. coroutine.resume(coroutine.create(function()
  2269. for i = 0,1.8,0.1 do
  2270. swait()
  2271. hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
  2272. end
  2273. for i = 0,1.8,0.1 do
  2274. swait()
  2275. hum.CameraOffset = Vector3.new(0,0,0)
  2276. end
  2277. end))
  2278. for i = 0,4.6,0.1 do
  2279. tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
  2280. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2281. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2282. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2283. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2284. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2285. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2286. end
  2287. wait(.6)
  2288. root.CFrame = originalpos
  2289. attack = false
  2290. hum.WalkSpeed = 8
  2291. end
  2292. end
  2293.  
  2294. --[[I don't take ANY credit for this attack,
  2295. this was all nooby's hard work and the only reason i uhhh "used" it
  2296. is cause I i didn't have attack ideas at the time so yeah,
  2297. 100% nooby's credit <3]]
  2298. function Ende_der_Weld()
  2299. attack = true
  2300. hum.WalkSpeed = 0
  2301. for i = 0,4.6,0.1 do
  2302. swait()
  2303. tecks2.Rotation = math.random(-20, 20)
  2304. tecks2.Text = ""..NOUSE[math.random(1,#NOUSE)]
  2305. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
  2306. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.3)
  2307. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-9), Rad(0), Rad(-10)), 0.15)
  2308. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-8), Rad(0), Rad(10)), 0.15)
  2309. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
  2310. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2311. end
  2312. local a = Instance.new("Part",char)
  2313. a.BrickColor = BrickColor.random()
  2314. a.Name = "Lazer"
  2315. a.Anchored = true
  2316. a.Material = "Neon"
  2317. a.Transparency = 1
  2318. a.CanCollide = false
  2319. local hitbox = Instance.new("Part",char)
  2320. hitbox.Size = Vector3.new(5,5,5)
  2321. hitbox.CFrame = mouse.hit
  2322. hitbox.Anchored = true
  2323. hitbox.Transparency = 1
  2324. hitbox.CanCollide = false
  2325. local ray = Ray.new(
  2326. ra.CFrame.p, -- origin
  2327. (mouse.Hit.p - ra.CFrame.p).unit * 500 -- direction
  2328. )
  2329. local ignore = char
  2330. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2331. if hit then
  2332. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2333.  
  2334. if not humanoid then
  2335. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2336. end
  2337. if humanoid then
  2338. if humanoid.Parent:IsA"Model" then
  2339. end
  2340. end
  2341. end
  2342. a.BottomSurface = 10
  2343. a.TopSurface = 10
  2344. local distance = (ra.CFrame.p - position).magnitude
  2345. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2346. a.CFrame = CFrame.new(ra.CFrame.p, position) * CFrame.new(0, 0, 0)
  2347. game:GetService("Debris"):AddItem(a, 5)
  2348. game:GetService("Debris"):AddItem(hitbox, 1)
  2349. local newmesh = Instance.new("BlockMesh",a)
  2350. MagicBlock(BrickColor.Random(),ra.CFrame,5,5,5,0.25,0.25,0.25,0.025)
  2351. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.5,1.5,0.015,1)
  2352. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1.25,1.25,0.015,2)
  2353. MagicShockAlt(BrickColor.Random(),a.CFrame,5,5,1,1,0.015,1)
  2354. local lbs = Instance.new("Part")
  2355. lbs.Parent = char
  2356. CreateSound("929619479", lbs, 10, 1)
  2357. lbs.Material = "Neon"
  2358. lbs.Color = BrickColor.Random().Color
  2359. lbs.CanCollide = false
  2360. lbs.Shape = "Ball"
  2361. lbs.Anchored = true
  2362. lbs.Transparency = 0
  2363. lbs.Size = Vector3.new(20,20,20)
  2364. lbs.CFrame = a.CFrame
  2365. local thing = Instance.new("SpecialMesh",lbs)
  2366. thing.MeshType = "Sphere"
  2367. lbs.Anchored = false
  2368. local bvs = Instance.new("BodyVelocity")
  2369. bvs.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2370. bvs.velocity = a.CFrame.lookVector*75
  2371. bvs.Parent = lbs
  2372. lbs.Touched:connect(function(hit)
  2373. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2374. end)
  2375. attack = false
  2376. game:GetService("Debris"):AddItem(lbs, 10)
  2377. for x = 0, 4 do
  2378. local bulletgos = IT("Model",char)
  2379. local bulletgos2 = IT("Model",char)
  2380. for z = 0, 24 do
  2381. local lb = Instance.new("Part")
  2382. lb.Parent = bulletgos
  2383. lb.Material = "Neon"
  2384. lb.Color = BrickColor.Random().Color
  2385. lb.CanCollide = false
  2386. lb.Anchored = true
  2387. lb.Transparency = 0
  2388. lb.Size = Vector3.new(2,2,2)
  2389. local thing = Instance.new("SpecialMesh",lb)
  2390. thing.MeshType = "Sphere"
  2391. thing.Scale = Vector3.new(0.5,0.5,1.5)
  2392. lb.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2393. lb.CFrame = lb.CFrame + lb.CFrame.lookVector*15
  2394. local lb2 = Instance.new("Part")
  2395. lb2.Parent = bulletgos2
  2396. lb2.Material = "Neon"
  2397. lb2.Color = lb.Color
  2398. lb2.CanCollide = false
  2399. lb2.Anchored = true
  2400. lb2.Transparency = 0
  2401. lb2.Size = Vector3.new(2,2,2)
  2402. lb2.CFrame = lbs.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2403. lb2.CFrame = lb2.CFrame + lb.CFrame.lookVector*15
  2404. local thing2 = Instance.new("SpecialMesh",lb2)
  2405. thing2.MeshType = "Sphere"
  2406. thing2.Scale = Vector3.new(0.5,0.5,1.5)
  2407. lb.Touched:connect(function(hit)
  2408. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2409. end)
  2410. lb2.Touched:connect(function(hit)
  2411. MagniDamage(hit, 12, 40, 60, 10, "Normal")
  2412. end)
  2413. end
  2414. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2415. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,-0.1,-0.1,-0.1,0.025)
  2416. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2417. MagicBlock(BrickColor.Random(),lbs.CFrame,25,25,25,0.5,0.5,0.5,0.025)
  2418. CreateSound("925629856", lbs, 5, 1)
  2419. game:GetService("Debris"):AddItem(bulletgos, 7)
  2420. game:GetService("Debris"):AddItem(bulletgos2, 7)
  2421. for i,v in pairs(bulletgos:children()) do
  2422. if v:IsA("Part") then
  2423. v.Anchored = false
  2424. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2425. local bv = Instance.new("BodyVelocity")
  2426. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2427. bv.velocity = v.CFrame.lookVector*25
  2428. bv.Parent = v
  2429. game:GetService("Debris"):AddItem(v, 5)
  2430. end
  2431. end
  2432. for i,v in pairs(bulletgos2:children()) do
  2433. if v:IsA("Part") then
  2434. v.Anchored = false
  2435. MagicBlock(v.BrickColor,v.CFrame,1,1,1,0.25,0.25,0.25,0.025)
  2436. local bv = Instance.new("BodyVelocity")
  2437. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2438. bv.velocity = v.CFrame.lookVector*-25
  2439. bv.Parent = v
  2440. game:GetService("Debris"):AddItem(v, 5)
  2441. end
  2442. end
  2443. wait(1)
  2444. end
  2445. attack = false
  2446. hum.WalkSpeed = 8
  2447. end
  2448. -------------------------------------------------------
  2449. --End Attacks N Stuff--
  2450. -------------------------------------------------------
  2451. mouse.KeyDown:connect(function(key)
  2452. if string.byte(key) == 48 then
  2453. Swing = 2
  2454. hum.WalkSpeed = 38.82
  2455. end
  2456. end)
  2457. mouse.KeyUp:connect(function(key)
  2458. if string.byte(key) == 48 then
  2459. Swing = 1
  2460. hum.WalkSpeed = 8
  2461. end
  2462. end)
  2463. mouse.KeyDown:connect(function(key)
  2464. if attack == false then
  2465. if key == 'q' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2466. DTrail5.Enabled = false
  2467. DTrail4.Enabled = false
  2468. DTrail3.Enabled = false
  2469. DTrail2.Enabled = false
  2470. DTrail.Enabled = false
  2471. EdgyMode = true
  2472. tecks2.Text = "Edgy"
  2473. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2474. tecks2.TextStrokeColor3 = Color3.fromRGB(98, 37, 209)
  2475. for i, v in pairs(ArmourParts) do
  2476. v.BrickColor = BrickColor.new("Black")
  2477. end
  2478. for i, v in pairs(ArmourParts2) do
  2479. v.BrickColor = BrickColor.new("Really black")
  2480. end
  2481. for i, v in pairs(NeonParts) do
  2482. v.BrickColor = BrickColor.new("Royal purple")
  2483. end
  2484. char.Head.face.Texture = "http://www.roblox.com/asset/?id=457729356"
  2485. maincolor = BrickColor.new("Royal purple")
  2486. BC.HeadColor = BrickColor.new("Black")
  2487. BC.LeftArmColor = BrickColor.new("Black")
  2488. BC.LeftLegColor = BrickColor.new("Black")
  2489. BC.RightArmColor = BrickColor.new("Royal purple")
  2490. BC.RightLegColor = BrickColor.new("Black")
  2491. BC.TorsoColor = BrickColor.new("Black")
  2492. Music.TimePosition = 0
  2493. Music.SoundId = "rbxassetid://1693948941"
  2494. Music.Parent = tors
  2495. Music:Play()
  2496. elseif key == 'q' and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2497. DTrail5.Enabled = false
  2498. DTrail4.Enabled = false
  2499. DTrail3.Enabled = false
  2500. DTrail2.Enabled = false
  2501. DTrail.Enabled = false
  2502. EdgyMode = false
  2503. tecks2.Text = "Neutral"
  2504. tecks2.Rotation = 0
  2505. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2506. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2507. resetmode()
  2508. Music.TimePosition = 0
  2509. Music.SoundId = "rbxassetid://1117396305"
  2510. Music.Parent = tors
  2511. Music:Play()
  2512. BC.HeadColor = BrickColor.new("Fossil")
  2513. BC.LeftArmColor = BrickColor.new("Fossil")
  2514. BC.LeftLegColor = BrickColor.new("Fossil")
  2515. BC.RightArmColor = BrickColor.new("Smoky grey")
  2516. BC.RightLegColor = BrickColor.new("Fossil")
  2517. BC.TorsoColor = BrickColor.new("Fossil")
  2518. elseif key == 'e' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2519. DTrail5.Enabled = false
  2520. DTrail4.Enabled = false
  2521. DTrail3.Enabled = false
  2522. DTrail2.Enabled = false
  2523. DTrail.Enabled = false
  2524. Divinity = true
  2525. tecks2.Text = "Divinity"
  2526. tecks2.Rotation = 0
  2527. tecks2.TextColor3 = Color3.new(1, 1, 1)
  2528. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  2529. for i, v in pairs(ArmourParts) do
  2530. v.BrickColor = BrickColor.new("Institutional white")
  2531. end
  2532. for i, v in pairs(ArmourParts2) do
  2533. v.BrickColor = BrickColor.new("White")
  2534. end
  2535. for i, v in pairs(NeonParts) do
  2536. v.BrickColor = BrickColor.new("New Yeller")
  2537. end
  2538. maincolor = BrickColor.new("New Yeller")
  2539. BC.HeadColor = BrickColor.new("White")
  2540. BC.LeftArmColor = BrickColor.new("White")
  2541. BC.LeftLegColor = BrickColor.new("White")
  2542. BC.RightArmColor = BrickColor.new("New Yeller")
  2543. BC.RightLegColor = BrickColor.new("White")
  2544. BC.TorsoColor = BrickColor.new("White")
  2545. char.Head.face.Texture = "http://www.roblox.com/asset/?id=329945268"
  2546. Music.TimePosition = 0
  2547. Music.SoundId = "rbxassetid://595800581"
  2548. Music.Parent = tors
  2549. Music:Play()
  2550. elseif key == 'e' and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2551. DTrail5.Enabled = false
  2552. DTrail4.Enabled = false
  2553. DTrail3.Enabled = false
  2554. DTrail2.Enabled = false
  2555. DTrail.Enabled = false
  2556. Divinity = false
  2557. tecks2.Text = "Neutral"
  2558. tecks2.Rotation = 0
  2559. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2560. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2561. resetmode()
  2562. BC.HeadColor = BrickColor.new("Fossil")
  2563. BC.LeftArmColor = BrickColor.new("Fossil")
  2564. BC.LeftLegColor = BrickColor.new("Fossil")
  2565. BC.RightArmColor = BrickColor.new("Smoky grey")
  2566. BC.RightLegColor = BrickColor.new("Fossil")
  2567. BC.TorsoColor = BrickColor.new("Fossil")
  2568. Music.TimePosition = 0
  2569. Music.SoundId = "rbxassetid://1117396305"
  2570. Music.Parent = tors
  2571. Music:Play()
  2572. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2573. DTrail5.Enabled = false
  2574. DTrail4.Enabled = false
  2575. DTrail3.Enabled = false
  2576. DTrail2.Enabled = false
  2577. DTrail.Enabled = false
  2578. Fighter = true
  2579. tecks2.Text = "Fighter"
  2580. tecks2.Rotation = 0
  2581. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2582. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  2583. for i, v in pairs(ArmourParts) do
  2584. v.BrickColor = BrickColor.new("Black")
  2585. end
  2586. for i, v in pairs(ArmourParts2) do
  2587. v.BrickColor = BrickColor.new("Really black")
  2588. end
  2589. for i, v in pairs(NeonParts) do
  2590. v.BrickColor = BrickColor.new("Institutional white")
  2591. end
  2592. char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178"
  2593. maincolor = BrickColor.new("Institutional white")
  2594. BC.HeadColor = BrickColor.new("Really black")
  2595. BC.LeftArmColor = BrickColor.new("Really black")
  2596. BC.LeftLegColor = BrickColor.new("Really black")
  2597. BC.RightArmColor = BrickColor.new("Institutional white")
  2598. BC.RightLegColor = BrickColor.new("Really black")
  2599. BC.TorsoColor = BrickColor.new("Really black")
  2600. Music.SoundId = "rbxassetid://207375545"
  2601. Music.Parent = tors
  2602. Music.TimePosition = 8.3
  2603. Music:Play()
  2604. elseif key == 'r' and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2605. DTrail5.Enabled = false
  2606. DTrail4.Enabled = false
  2607. DTrail3.Enabled = false
  2608. DTrail2.Enabled = false
  2609. DTrail.Enabled = false
  2610. Fighter = false
  2611. tecks2.Text = "Neutral"
  2612. tecks2.Rotation = 0
  2613. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2614. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2615. resetmode()
  2616. BC.HeadColor = BrickColor.new("Fossil")
  2617. BC.LeftArmColor = BrickColor.new("Fossil")
  2618. BC.LeftLegColor = BrickColor.new("Fossil")
  2619. BC.RightArmColor = BrickColor.new("Smoky grey")
  2620. BC.RightLegColor = BrickColor.new("Fossil")
  2621. BC.TorsoColor = BrickColor.new("Fossil")
  2622. Music.TimePosition = 0
  2623. Music.SoundId = "rbxassetid://1117396305"
  2624. Music.Parent = tors
  2625. Music:Play()
  2626. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2627. DTrail5.Enabled = false
  2628. DTrail4.Enabled = false
  2629. DTrail3.Enabled = false
  2630. DTrail2.Enabled = false
  2631. DTrail.Enabled = false
  2632. Purity = true
  2633. tecks2.Text = "Purity"
  2634. tecks2.Rotation = 0
  2635. tecks2.TextColor3 = Color3.new(1, 1, 1)
  2636. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 255, 255)
  2637. for i, v in pairs(ArmourParts) do
  2638. v.BrickColor = BrickColor.new("Institutional white")
  2639. end
  2640. for i, v in pairs(ArmourParts2) do
  2641. v.BrickColor = BrickColor.new("Institutional white")
  2642. end
  2643. for i, v in pairs(NeonParts) do
  2644. v.BrickColor = BrickColor.new("Toothpaste")
  2645. end
  2646. char.Head.face.Texture = "http://www.roblox.com/asset/?id=155195214"
  2647. maincolor = BrickColor.new("Toothpaste")
  2648. BC.HeadColor = BrickColor.new("Institutional white")
  2649. BC.LeftArmColor = BrickColor.new("Institutional white")
  2650. BC.LeftLegColor = BrickColor.new("Institutional white")
  2651. BC.RightArmColor = BrickColor.new("Toothpaste")
  2652. BC.RightLegColor = BrickColor.new("Institutional white")
  2653. BC.TorsoColor = BrickColor.new("Institutional white")
  2654. Music.TimePosition = 0
  2655. Music.SoundId = "rbxassetid://174212509"
  2656. Music.Parent = tors
  2657. Music:Play()
  2658. elseif key == 't' and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2659. DTrail5.Enabled = false
  2660. DTrail4.Enabled = false
  2661. DTrail3.Enabled = false
  2662. DTrail2.Enabled = false
  2663. DTrail.Enabled = false
  2664. Purity = false
  2665. tecks2.Text = "Neutral"
  2666. tecks2.Rotation = 0
  2667. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2668. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2669. resetmode()
  2670. Music.TimePosition = 0
  2671. Music.SoundId = "rbxassetid://1117396305"
  2672. Music.Parent = tors
  2673. Music:Play()
  2674. BC.HeadColor = BrickColor.new("Fossil")
  2675. BC.LeftArmColor = BrickColor.new("Fossil")
  2676. BC.LeftLegColor = BrickColor.new("Fossil")
  2677. BC.RightArmColor = BrickColor.new("Smoky grey")
  2678. BC.RightLegColor = BrickColor.new("Fossil")
  2679. BC.TorsoColor = BrickColor.new("Fossil")
  2680. elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2681. DTrail5.Enabled = false
  2682. DTrail4.Enabled = false
  2683. DTrail3.Enabled = false
  2684. DTrail2.Enabled = false
  2685. DTrail.Enabled = false
  2686. Solar = true
  2687. tecks2.Text = "Solar"
  2688. tecks2.Rotation = 0
  2689. tecks2.TextColor3 = Color3.new(1, 1, 0)
  2690. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 170, 0)
  2691. for i, v in pairs(ArmourParts) do
  2692. v.BrickColor = BrickColor.new("New Yeller")
  2693. end
  2694. for i, v in pairs(ArmourParts2) do
  2695. v.BrickColor = BrickColor.new("Bright yellow")
  2696. end
  2697. for i, v in pairs(NeonParts) do
  2698. v.BrickColor = BrickColor.new("Deep orange")
  2699. end
  2700. char.Head.face.Texture = "http://www.roblox.com/asset/?id=246991049"
  2701. maincolor = BrickColor.new("Deep orange")
  2702. BC.HeadColor = BrickColor.new("New Yeller")
  2703. BC.LeftArmColor = BrickColor.new("New Yeller")
  2704. BC.LeftLegColor = BrickColor.new("New Yeller")
  2705. BC.RightArmColor = BrickColor.new("Deep orange")
  2706. BC.RightLegColor = BrickColor.new("New Yeller")
  2707. BC.TorsoColor = BrickColor.new("New Yeller")
  2708. Music.TimePosition = 5
  2709. Music.SoundId = "rbxassetid://1167066393"
  2710. Music.Parent = tors
  2711. Music:Play()
  2712. elseif key == 'p' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false and Ashes == false then
  2713. DTrail5.Enabled = false
  2714. DTrail4.Enabled = false
  2715. DTrail3.Enabled = false
  2716. DTrail2.Enabled = false
  2717. DTrail.Enabled = false
  2718. Solar = false
  2719. tecks2.Text = "Neutral"
  2720. tecks2.Rotation = 0
  2721. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2722. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2723. resetmode()
  2724. Music.TimePosition = 0
  2725. Music.SoundId = "rbxassetid://1117396305"
  2726. Music.Parent = tors
  2727. Music:Play()
  2728. BC.HeadColor = BrickColor.new("Fossil")
  2729. BC.LeftArmColor = BrickColor.new("Fossil")
  2730. BC.LeftLegColor = BrickColor.new("Fossil")
  2731. BC.RightArmColor = BrickColor.new("Smoky grey")
  2732. BC.RightLegColor = BrickColor.new("Fossil")
  2733. BC.TorsoColor = BrickColor.new("Fossil")
  2734. elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2735. DTrail5.Enabled = false
  2736. DTrail4.Enabled = false
  2737. DTrail3.Enabled = false
  2738. DTrail2.Enabled = false
  2739. DTrail.Enabled = false
  2740. Lunar = true
  2741. tecks2.Text = "Lunar"
  2742. tecks2.Rotation = 0
  2743. tecks2.TextColor3 = Color3.new(0, 0, 1)
  2744. tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
  2745. for i, v in pairs(ArmourParts) do
  2746. v.BrickColor = BrickColor.new("Dark blue")
  2747. end
  2748. for i, v in pairs(ArmourParts2) do
  2749. v.BrickColor = BrickColor.new("Cyan")
  2750. end
  2751. for i, v in pairs(NeonParts) do
  2752. v.BrickColor = BrickColor.new("Steel blue")
  2753. end
  2754. char.Head.face.Texture = "http://www.roblox.com/asset/?id=231432333"
  2755. maincolor = BrickColor.new("Steel blue")
  2756. BC.HeadColor = BrickColor.new("Dark blue")
  2757. BC.LeftArmColor = BrickColor.new("Dark blue")
  2758. BC.LeftLegColor = BrickColor.new("Dark blue")
  2759. BC.RightArmColor = BrickColor.new("Steel blue")
  2760. BC.RightLegColor = BrickColor.new("Dark blue")
  2761. BC.TorsoColor = BrickColor.new("Dark blue")
  2762. Music.TimePosition = 0.5
  2763. Music.SoundId = "rbxassetid://1574603917"
  2764. Music.Parent = tors
  2765. Music:Play()
  2766. elseif key == 'g' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false and Ashes == false then
  2767. DTrail5.Enabled = false
  2768. DTrail4.Enabled = false
  2769. DTrail3.Enabled = false
  2770. DTrail2.Enabled = false
  2771. DTrail.Enabled = false
  2772. Lunar = false
  2773. tecks2.Text = "Neutral"
  2774. tecks2.Rotation = 0
  2775. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2776. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2777. resetmode()
  2778. Music.TimePosition = 0
  2779. Music.SoundId = "rbxassetid://1117396305"
  2780. Music.Parent = tors
  2781. Music:Play()
  2782. BC.HeadColor = BrickColor.new("Fossil")
  2783. BC.LeftArmColor = BrickColor.new("Fossil")
  2784. BC.LeftLegColor = BrickColor.new("Fossil")
  2785. BC.RightArmColor = BrickColor.new("Smoky grey")
  2786. BC.RightLegColor = BrickColor.new("Fossil")
  2787. BC.TorsoColor = BrickColor.new("Fossil")
  2788. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2789. Destruction = true
  2790. tecks2.Text = "Destruction"
  2791. tecks2.Rotation = 0
  2792. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2793. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
  2794. for i, v in pairs(ArmourParts) do
  2795. v.BrickColor = BrickColor.new("Really black")
  2796. end
  2797. for i, v in pairs(ArmourParts2) do
  2798. v.BrickColor = BrickColor.new("Black")
  2799. end
  2800. for i, v in pairs(NeonParts) do
  2801. v.BrickColor = BrickColor.new("Really red")
  2802. end
  2803. char.Head.face.Texture = "http://www.roblox.com/asset/?id=201400785"
  2804. DTrail5.Enabled = true
  2805. DTrail4.Enabled = true
  2806. DTrail3.Enabled = true
  2807. DTrail2.Enabled = true
  2808. DTrail.Enabled = true
  2809. maincolor = BrickColor.new("Really red")
  2810. BC.HeadColor = BrickColor.new("Black")
  2811. BC.LeftArmColor = BrickColor.new("Black")
  2812. BC.LeftLegColor = BrickColor.new("Black")
  2813. BC.RightArmColor = BrickColor.new("Really red")
  2814. BC.RightLegColor = BrickColor.new("Black")
  2815. BC.TorsoColor = BrickColor.new("Black")
  2816. Music.TimePosition = 2
  2817. Music.SoundId = "rbxassetid://1703475948"
  2818. Music.Parent = tors
  2819. Music:Play()
  2820. elseif key == 'y' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2821. DTrail5.Enabled = false
  2822. DTrail4.Enabled = false
  2823. DTrail3.Enabled = false
  2824. DTrail2.Enabled = false
  2825. DTrail.Enabled = false
  2826. Destruction = false
  2827. tecks2.Text = "Neutral"
  2828. tecks2.Rotation = 0
  2829. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2830. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2831. resetmode()
  2832. Music.TimePosition = 0
  2833. Music.SoundId = "rbxassetid://1117396305"
  2834. Music.Parent = tors
  2835. Music:Play()
  2836. BC.HeadColor = BrickColor.new("Fossil")
  2837. BC.LeftArmColor = BrickColor.new("Fossil")
  2838. BC.LeftLegColor = BrickColor.new("Fossil")
  2839. BC.RightArmColor = BrickColor.new("Smoky grey")
  2840. BC.RightLegColor = BrickColor.new("Fossil")
  2841. BC.TorsoColor = BrickColor.new("Fossil")
  2842. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2843. helpme = true
  2844. DTrail5.Enabled = false
  2845. DTrail4.Enabled = false
  2846. DTrail3.Enabled = false
  2847. DTrail2.Enabled = false
  2848. DTrail.Enabled = false
  2849. Music.TimePosition = 1
  2850. tecks2.Text = "iNsAnItY"
  2851. Music.SoundId = "rbxassetid://943961217"
  2852. Music.Parent = tors
  2853. Music:Play()
  2854. BC.HeadColor = BrickColor.random()
  2855. BC.LeftArmColor = BrickColor.random()
  2856. BC.LeftLegColor = BrickColor.random()
  2857. BC.RightArmColor = BrickColor.random()
  2858. BC.RightLegColor = BrickColor.random()
  2859. BC.TorsoColor = BrickColor.random()
  2860. elseif key == 'u' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2861. DTrail5.Enabled = false
  2862. DTrail4.Enabled = false
  2863. DTrail3.Enabled = false
  2864. DTrail2.Enabled = false
  2865. DTrail.Enabled = false
  2866. helpme = false
  2867. tecks2.Text = "Neutral"
  2868. tecks2.Rotation = 0
  2869. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2870. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2871. resetmode()
  2872. Music.TimePosition = 0
  2873. Music.SoundId = "rbxassetid://1117396305"
  2874. Music.Parent = tors
  2875. Music:Play()
  2876. BC.HeadColor = BrickColor.new("Fossil")
  2877. BC.LeftArmColor = BrickColor.new("Fossil")
  2878. BC.LeftLegColor = BrickColor.new("Fossil")
  2879. BC.RightArmColor = BrickColor.new("Smoky grey")
  2880. BC.RightLegColor = BrickColor.new("Fossil")
  2881. BC.TorsoColor = BrickColor.new("Fossil")
  2882. elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2883. Frost = true
  2884. DTrail5.Enabled = false
  2885. DTrail4.Enabled = false
  2886. DTrail3.Enabled = false
  2887. DTrail2.Enabled = false
  2888. DTrail.Enabled = false
  2889. tecks2.Text = "Frost"
  2890. tecks2.Rotation = 0
  2891. tecks2.TextColor3 = Color3.new(1, 1, 1)
  2892. tecks2.TextStrokeColor3 = Color3.fromRGB(170, 255, 255)
  2893. for i, v in pairs(ArmourParts) do
  2894. v.BrickColor = BrickColor.new("Cyan")
  2895. end
  2896. for i, v in pairs(ArmourParts2) do
  2897. v.BrickColor = BrickColor.new("White")
  2898. end
  2899. for i, v in pairs(NeonParts) do
  2900. v.BrickColor = BrickColor.new("Teal")
  2901. end
  2902. char.Head.face.Texture = "http://www.roblox.com/asset/?id=111523405"
  2903. maincolor = BrickColor.new("Teal")
  2904. BC.HeadColor = BrickColor.new("Cyan")
  2905. BC.LeftArmColor = BrickColor.new("Cyan")
  2906. BC.LeftLegColor = BrickColor.new("Cyan")
  2907. BC.RightArmColor = BrickColor.new("Teal")
  2908. BC.RightLegColor = BrickColor.new("Cyan")
  2909. BC.TorsoColor = BrickColor.new("Cyan")
  2910. Music.TimePosition = 1
  2911. Music.SoundId = "rbxassetid://1579308042"
  2912. Music.Parent = tors
  2913. Music:Play()
  2914. elseif key == 'h' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true and Ashes == false then
  2915. DTrail5.Enabled = false
  2916. DTrail4.Enabled = false
  2917. DTrail3.Enabled = false
  2918. DTrail2.Enabled = false
  2919. DTrail.Enabled = false
  2920. Frost = false
  2921. tecks2.Text = "Neutral"
  2922. tecks2.Rotation = 0
  2923. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2924. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2925. resetmode()
  2926. Music.TimePosition = 0
  2927. Music.SoundId = "rbxassetid://1117396305"
  2928. Music.Parent = tors
  2929. Music:Play()
  2930. BC.HeadColor = BrickColor.new("Fossil")
  2931. BC.LeftArmColor = BrickColor.new("Fossil")
  2932. BC.LeftLegColor = BrickColor.new("Fossil")
  2933. BC.RightArmColor = BrickColor.new("Smoky grey")
  2934. BC.RightLegColor = BrickColor.new("Fossil")
  2935. BC.TorsoColor = BrickColor.new("Fossil")
  2936. elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2937. Ashes = true
  2938. DTrail5.Enabled = false
  2939. DTrail4.Enabled = false
  2940. DTrail3.Enabled = false
  2941. DTrail2.Enabled = false
  2942. DTrail.Enabled = false
  2943. tecks2.Text = "Ash"
  2944. tecks2.Rotation = 0
  2945. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2946. tecks2.TextStrokeColor3 = Color3.fromRGB(91, 93, 105)
  2947. for i, v in pairs(ArmourParts) do
  2948. v.BrickColor = BrickColor.new("Smoky grey")
  2949. end
  2950. for i, v in pairs(ArmourParts2) do
  2951. v.BrickColor = BrickColor.new("Black")
  2952. end
  2953. for i, v in pairs(NeonParts) do
  2954. v.BrickColor = BrickColor.new("Really black")
  2955. end
  2956. char.Head.face.Texture = "http://www.roblox.com/asset/?id=300139178"
  2957. maincolor = BrickColor.new("Really black")
  2958. BC.HeadColor = BrickColor.new("Smoky grey")
  2959. BC.LeftArmColor = BrickColor.new("Smoky grey")
  2960. BC.LeftLegColor = BrickColor.new("Smoky grey")
  2961. BC.RightArmColor = BrickColor.new("Really black")
  2962. BC.RightLegColor = BrickColor.new("Smoky grey")
  2963. BC.TorsoColor = BrickColor.new("Smoky grey")
  2964. Music.TimePosition = 2
  2965. Music.SoundId = "rbxassetid://1514078310"
  2966. Music.Parent = tors
  2967. Music:Play()
  2968. elseif key == 'j' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == true then
  2969. DTrail5.Enabled = false
  2970. DTrail4.Enabled = false
  2971. DTrail3.Enabled = false
  2972. DTrail2.Enabled = false
  2973. DTrail.Enabled = false
  2974. Ashes = false
  2975. tecks2.Text = "Neutral"
  2976. tecks2.Rotation = 0
  2977. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2978. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2979. resetmode()
  2980. Music.TimePosition = 0
  2981. Music.SoundId = "rbxassetid://1117396305"
  2982. Music.Parent = tors
  2983. Music:Play()
  2984. BC.HeadColor = BrickColor.new("Fossil")
  2985. BC.LeftArmColor = BrickColor.new("Fossil")
  2986. BC.LeftLegColor = BrickColor.new("Fossil")
  2987. BC.RightArmColor = BrickColor.new("Smoky grey")
  2988. BC.RightLegColor = BrickColor.new("Fossil")
  2989. BC.TorsoColor = BrickColor.new("Fossil")
  2990. elseif key == 'n' and tecks2.TextTransparency == 1 and tecks2.TextStrokeTransparency == 1 then
  2991. tecks2.TextTransparency = 0
  2992. tecks2.TextStrokeTransparency = 0
  2993. elseif key == 'n' and tecks2.TextTransparency == 0 and tecks2.TextStrokeTransparency == 0 then
  2994. tecks2.TextTransparency = 1
  2995. tecks2.TextStrokeTransparency = 1
  2996. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false and Ashes == false then
  2997. DTrail5.Enabled = false
  2998. DTrail4.Enabled = false
  2999. DTrail3.Enabled = false
  3000. DTrail2.Enabled = false
  3001. DTrail.Enabled = false
  3002. Planetary = true
  3003. tecks2.Text = "Planetary"
  3004. tecks2.Rotation = 0
  3005. tecks2.TextColor3 = Color3.fromRGB(61, 21, 133)
  3006. tecks2.TextStrokeColor3 = Color3.fromRGB(61, 21, 133)
  3007. for i, v in pairs(ArmourParts) do
  3008. v.BrickColor = BrickColor.new("Dark indigo")
  3009. end
  3010. for i, v in pairs(ArmourParts2) do
  3011. v.BrickColor = BrickColor.new("Dark indigo")
  3012. end
  3013. for i, v in pairs(NeonParts) do
  3014. v.BrickColor = BrickColor.new("Dark indigo")
  3015. end
  3016. char.Head.face.Texture = "http://www.roblox.com/asset/?id=148988280"
  3017. maincolor = BrickColor.new("Dark indigo")
  3018. BC.HeadColor = BrickColor.new("Dark indigo")
  3019. BC.LeftArmColor = BrickColor.new("Dark indigo")
  3020. BC.LeftLegColor = BrickColor.new("Dark indigo")
  3021. BC.RightArmColor = BrickColor.new("Dark indigo")
  3022. BC.RightLegColor = BrickColor.new("Dark indigo")
  3023. BC.TorsoColor = BrickColor.new("Dark indigo")
  3024. Music.TimePosition = 0
  3025. Music.SoundId = "rbxassetid://609934004"
  3026. Music.Parent = tors
  3027. Music:Play()
  3028. elseif key == 'f' and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false and Ashes == false then
  3029. Planetary = false
  3030. DTrail5.Enabled = false
  3031. DTrail4.Enabled = false
  3032. DTrail3.Enabled = false
  3033. DTrail2.Enabled = false
  3034. DTrail.Enabled = false
  3035. tecks2.Text = "Neutral"
  3036. tecks2.Rotation = 0
  3037. tecks2.TextColor3 = Color3.new(0, 0, 0)
  3038. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  3039. resetmode()
  3040. Music.TimePosition = 0
  3041. Music.SoundId = "rbxassetid://1117396305"
  3042. Music.Parent = tors
  3043. Music:Play()
  3044. BC.HeadColor = BrickColor.new("Fossil")
  3045. BC.LeftArmColor = BrickColor.new("Fossil")
  3046. BC.LeftLegColor = BrickColor.new("Fossil")
  3047. BC.RightArmColor = BrickColor.new("Smoky grey")
  3048. BC.RightLegColor = BrickColor.new("Fossil")
  3049. BC.TorsoColor = BrickColor.new("Fossil")
  3050. end
  3051. end
  3052. end)
  3053. mouse.KeyDown:connect(function(key)
  3054. if attack == false then
  3055. if EdgyMode == true then
  3056. if key == 'r' then
  3057. Decapitate()
  3058. elseif key == 'e' then
  3059. Laugh()
  3060. end
  3061. end
  3062. if Divinity == true then
  3063. if key == 'r' then
  3064. Beam_Of_Light()
  3065. elseif key == 'f' then
  3066. Blast_Of_God()
  3067. end
  3068. end
  3069. if Fighter == true then
  3070. if key == 'e' then
  3071. Flying_Kick()
  3072. elseif key == 'f' then
  3073. UpperCut()
  3074. elseif key == 't' then
  3075. Spinning_Kick()
  3076. end
  3077. end
  3078. if Purity == true then
  3079. if key == 'r' then
  3080. Purity_Slam()
  3081. end
  3082. end
  3083. if Solar == true then
  3084. if key == 'r' then
  3085. Eruption()
  3086. elseif key == 't' then
  3087. Solar_Flare()
  3088. end
  3089. end
  3090. if Frost == true then
  3091. if key == 'r' then
  3092. Blizzard()
  3093. elseif key == 't' then
  3094. Cryo_Freeze()
  3095. end
  3096. end
  3097. if Ashes == true then
  3098. if key == 't' and notmenacing then
  3099. Menacing_Aura()
  3100. elseif key == 'r' and alternatecooldownbecausewhynotdood == false then
  3101. Heat_Stroke()
  3102. end
  3103. end
  3104. if Lunar == true then
  3105. if key == 't' then
  3106. ShadowWarp()
  3107. elseif key == 'r' then
  3108. Shade()
  3109. end
  3110. end
  3111. if Destruction == true then
  3112. if key == 'r' then
  3113. Diablo_Explosion()
  3114. elseif key == 'f' then
  3115. Hell_From_Above()
  3116. elseif key == 't' then
  3117. Spinning_Below()
  3118. end
  3119. end
  3120. if Planetary == true then
  3121. if key == 'r' then
  3122. Multi_Bombs()
  3123. elseif key == 't' then
  3124. Universal_Crush()
  3125. end
  3126. end
  3127. if helpme == true then
  3128. if key == 'r' then
  3129. Painful_Stomp()
  3130. elseif key == 'f' then
  3131. Ending()
  3132. elseif key == 't' then
  3133. Ende_der_Weld()
  3134. end
  3135. end
  3136. end
  3137. end)
  3138.  
  3139.  
  3140. coroutine.resume(coroutine.create(function()
  3141. while true do
  3142. swait(8)
  3143. if Solar == true then
  3144. sphereMK(5, 0.12, "Add", root.CFrame * CFrame.new(math.random(-6, 6), -10, math.random(-6, 6)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, maincolor, 0)
  3145. end
  3146. end
  3147. end))
  3148. coroutine.resume(coroutine.create(function()
  3149. while true do
  3150. swait(4)
  3151. if Frost == true then
  3152. Effects.Block.Create(BrickC("Institutional white"), tors.CFrame * CF(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03)
  3153. Effects.Ring.Create(BrickC("Teal"), root.CFrame * CF(0, -2.7, 0) * angles(Rad(90),Rad(0),Rad(0)), 0.05, 0.05, 0.05, 0.15, 0.15, 0.15, 0.02)
  3154. end
  3155. end
  3156. end))
  3157. coroutine.resume(coroutine.create(function()
  3158. while true do
  3159. swait(4)
  3160. if Lunar == true then
  3161. Effects.Block.Create(BrickC("Dark blue"), tors.CFrame * CF(Mrandom(-4,4),Mrandom(-4,4),Mrandom(-4,4)), 2, 2, 2, 0.5, 0.5, 0.5, 0.03)
  3162. end
  3163. end
  3164. end))
  3165.  
  3166.  
  3167.  
  3168. -------------------------------------------------------
  3169. --Start Animations--
  3170. -------------------------------------------------------
  3171. local equipped = false
  3172. local idle = 0
  3173. local change = 1
  3174. local val = 0
  3175. local toim = 0
  3176. local idleanim = 0.4
  3177. hum.WalkSpeed = 8
  3178. hum.Animator.Parent = nil
  3179. while true do
  3180. swait()
  3181. Music.Parent = tors
  3182. if helpme == true then
  3183. for i, v in pairs(ArmourParts) do
  3184. v.BrickColor = BrickColor.random()
  3185. end
  3186. for i, v in pairs(ArmourParts2) do
  3187. v.BrickColor = BrickColor.random()
  3188. end
  3189. for i, v in pairs(NeonParts) do
  3190. v.BrickColor = BrickColor.random()
  3191. end
  3192. maincolor = BrickColor.random()
  3193. char.Head.face.Texture = "http://www.roblox.com/asset/?id="..insanityface[math.random(1,#insanityface)]
  3194. tecks2.Text = ""..insanity[math.random(1,#insanity)]
  3195. tecks2.TextColor3 = maincolor.Color
  3196. tecks2.TextStrokeColor3 = maincolor.Color
  3197. tecks2.Rotation = math.random(-11, 11)
  3198. BC.HeadColor = BrickColor.random()
  3199. BC.LeftArmColor = BrickColor.random()
  3200. BC.LeftLegColor = BrickColor.random()
  3201. BC.RightArmColor = BrickColor.random()
  3202. BC.RightLegColor = BrickColor.random()
  3203. BC.TorsoColor = BrickColor.random()
  3204. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-15,15),-3,Mrandom(-15,15)) * angles(Rad(90 + Mrandom(-25, 25)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,Mrandom(1,2))
  3205. end
  3206. if EdgyMode == true then
  3207. tecks2.Rotation = math.random(-2, 2)
  3208. end
  3209. if Planetary == true then
  3210. MagicShockTrailAlt2(maincolor, root.CFrame * CF(Mrandom(-25,25),-3,Mrandom(-25,25)) * angles(Rad(90 + Mrandom(-15, 15)),Rad(0),Rad(0)),1,.5,.5,-0.01,-0.01,7,0.1,2)
  3211. tecks2.Rotation = math.random(-4, 4)
  3212. end
  3213. sine = sine + change
  3214. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3215. local velderp = root.Velocity.y
  3216. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  3217. if equipped == true or equipped == false then
  3218. if attack == false then
  3219. idle = idle + 1
  3220. else
  3221. idle = 0
  3222. end
  3223. if 1 < root.Velocity.y and hitfloor == nil then
  3224. Anim = "Jump"
  3225. change = 1
  3226. if attack == false then
  3227. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  3228. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  3229. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  3230. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  3231. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  3232. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  3233. end
  3234. elseif -1 > root.Velocity.y and hitfloor == nil then
  3235. Anim = "Fall"
  3236. change = 1
  3237. if attack == false then
  3238. rootj.C0 = clerp(rootj.C0, RootCF * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,0),0.3)
  3239. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  3240. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
  3241. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
  3242. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  3243. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  3244. end
  3245. elseif torvel < 1 and hitfloor ~= nil then
  3246. Anim = "Idle"
  3247. change = 1
  3248. if attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
  3249. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  3250. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3251. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  3252. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3253. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  3254. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
  3255. elseif attack == false and EdgyMode == true and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then
  3256. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  3257. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3258. if Mrandom(1,15) == 1 then
  3259. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  3260. end
  3261. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(10)), 0.15)
  3262. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  3263. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  3264. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  3265. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true and Frost == false then
  3266. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  3267. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3268. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(0)), 0.15)
  3269. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  3270. RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
  3271. LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
  3272. elseif attack == false and EdgyMode == false and Divinity == true and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
  3273. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  3274. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  3275. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3276. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
  3277. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(13 - 2.5 * Sin(sine / 20))), 0.1)
  3278. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-13 + 2.5 * Sin(sine / 20))), 0.1)
  3279. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == true and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Frost == false then
  3280. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.4 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(85)), 0.15)
  3281. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-7.5 * Sin(sine / 20)), Rad(0), Rad(-85)), 0.3)
  3282. RH.C0 = clerp(RH.C0, CF(.6, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-70), Rad(0), Rad(0)), 0.15)
  3283. LH.C0 = clerp(LH.C0, CF(-1, -0.7 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5), Rad(0), Rad(0)), 0.15)
  3284. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3285. LW.C0 = clerp(LW.C0, CF(-1, 0.3 + 0.05 * Sin(sine / 20), .4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(35 + 2.5 * Sin(sine / 20))), 0.1)
  3286. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == true and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
  3287. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  3288. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3289. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
  3290. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
  3291. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  3292. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3293. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == true then
  3294. rootj.C0 = clerp(rootj.C0, RootCF * cn(0, 0, -0.5 + 0.02 * Cos(sine / 2)) * angles(Rad(-2), Rad(1), Rad(15)), 0.1)
  3295. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(19 + 1 * Cos(sine / 25)), Rad(0), Rad(-15)), 0.1)
  3296. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.35) * angles(Rad(90 - 2 * Cos(sine / 1)), Rad(0), Rad(-50)), 0.1)
  3297. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.15) * angles(Rad(70 + 2 * Cos(sine / 1)), Rad(-7), Rad(70)), 0.1)
  3298. RH.C0 = clerp(RH.C0, cn(1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * RHCF * angles(Rad(-4), Rad(0), Rad(-10 + 0.05 * math.cos(sine / 25))), 0.1)
  3299. LH.C0 = clerp(LH.C0, cn(-1, -0.5 - 0.02 * Cos(sine / 2), -0.2) * LHCF * angles(Rad(-4), Rad(0), Rad(10 + 0.05 * Cos(sine / 25))), 0.1)
  3300. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == true and Lunar == false and Frost == false then
  3301. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  3302. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3303. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-10)), 0.15)
  3304. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(6)), 0.15)
  3305. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(21), Rad(11), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  3306. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(5), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3307. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == true and helpme == false and Planetary == false and Solar == false and Lunar == false and Frost == false then
  3308. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  3309. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
  3310. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  3311. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  3312. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(65 - 2.5 * Sin(sine / 20))), 0.1)
  3313. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  3314. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == true and Planetary == false and Solar == false and Lunar == false and Frost == false then
  3315. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  3316. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  3317. if math.random(1,1) == 1 then
  3318. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  3319. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  3320. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3321. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3322. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(10 + Mrandom(-6,6))), 0.15)
  3323. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5 + Mrandom(-6,6)), Rad(0), Rad(-10 + Mrandom(-6,6))), 0.15)
  3324. end
  3325. for i, v in pairs(ArmourParts) do
  3326. v.BrickColor = BrickColor.random()
  3327. end
  3328. for i, v in pairs(ArmourParts2) do
  3329. v.BrickColor = BrickColor.random()
  3330. end
  3331. for i, v in pairs(NeonParts) do
  3332. v.BrickColor = BrickColor.random()
  3333. end
  3334. maincolor = BrickColor.random()
  3335. tecks2.TextColor3 = maincolor.Color
  3336. tecks2.TextStrokeColor3 = maincolor.Color
  3337. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3338. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  3339. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  3340. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  3341. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == true and Solar == false and Lunar == false and Frost == false then
  3342. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(10)), 0.15)
  3343. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  3344. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3345. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3346. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-90 - 2.5 * Sin(sine / 20))), 0.1)
  3347. LW.C0 = clerp(LW.C0, CF(-.8, 0.3 + 0.05 * Sin(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(8), Rad(0), Rad(90 + 2.5 * Sin(sine / 20))), 0.1)
  3348. end
  3349. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  3350. Anim = "Walk"
  3351. change = .6
  3352. if attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == false and Lunar == false then
  3353. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  3354. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3355. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3356. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3357. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.15 * Cos(sine / 7)) * angles(Rad(45) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  3358. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), -0.15 * Cos(sine / 7)) * angles(Rad(-45) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  3359. elseif attack == false and EdgyMode == false and Divinity == false and Fighter == false and Purity == false and Destruction == false and helpme == false and Planetary == false and Solar == false and Lunar == true then
  3360. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  3361. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3362. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3363. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3364. RW.C0 = clerp(RW.C0, CF(1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(-0), Rad(-30)), 0.1)
  3365. LW.C0 = clerp(LW.C0, CF(-1.1, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(30)), 0.1)
  3366. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false and Lunar == false then
  3367. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.15)
  3368. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3369. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3370. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3371. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  3372. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-25 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  3373. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false and Lunar == false then
  3374. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(0)), 0.15)
  3375. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3376. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  3377. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  3378. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(-10 * Cos(sine / 20)), Rad(15 - 2.5 * Sin(sine / 20))), 0.1)
  3379. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-17), Rad(10 * Cos(sine / 20)), Rad(-15 + 2.5 * Sin(sine / 20))), 0.1)
  3380. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false and Lunar == false then
  3381. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.2 + 0.1 * Cos(sine / 7)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  3382. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(45), Rad(0), Rad(-20)), 0.3)
  3383. if math.random(1,1) == 1 then
  3384. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 7)) * angles(Rad(10 + Mrandom(-6,6)), Rad(0), Rad(Mrandom(-6,6))), 0.15)
  3385. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(45 + Mrandom(-4,4)), Rad(Mrandom(-4,4)), Rad(-20 + Mrandom(-4,4))), 1)
  3386. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(180 + Mrandom(-35,35)), Rad(35 + Mrandom(-35,35)), Rad(-50 - 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3387. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 7)) * angles(Rad(15 + Mrandom(-35,35)), Rad(Mrandom(-35,35)), Rad(-15 + 2.5 * Sin(sine / 20) + Mrandom(-35,35))), 0.1)
  3388. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3389. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3390. end
  3391. for i, v in pairs(ArmourParts) do
  3392. v.BrickColor = BrickColor.random()
  3393. end
  3394. for i, v in pairs(ArmourParts2) do
  3395. v.BrickColor = BrickColor.random()
  3396. end
  3397. for i, v in pairs(NeonParts) do
  3398. v.BrickColor = BrickColor.random()
  3399. end
  3400. maincolor = BrickColor.random()
  3401. tecks2.TextColor3 = maincolor.Color
  3402. tecks2.TextStrokeColor3 = maincolor.Color
  3403. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 7), -.2 + 0.025 * Cos(sine / 7)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3404. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 7), 0.025 * Cos(sine / 7)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  3405. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(20), Rad(-50)), 0.1)
  3406. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  3407. elseif attack == false and EdgyMode == true and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  3408. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(4-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(5 * Cos(sine / 7))), 0.15)
  3409. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3410. if Mrandom(1,15) == 1 then
  3411. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  3412. end
  3413. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3414. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3415. RW.C0 = clerp(RW.C0, CF(.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-20), Rad(215)), 0.1)
  3416. LW.C0 = clerp(LW.C0, CF(-.8, 0.5 + 0.05 * Sin(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(20), Rad(-215)), 0.1)
  3417. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true and Lunar == false then
  3418. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  3419. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3420. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3421. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3422. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3423. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3424. end
  3425. elseif torvel >= 25 and hitfloor ~= nil then
  3426. Anim = "Sprint"
  3427. change = 1.35
  3428. if attack == false and Divinity == false and Destruction == false and helpme == false and Planetary == false then
  3429. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  3430. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3431. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3432. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3433. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  3434. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  3435. elseif attack == false and EdgyMode == false and Divinity == true and Destruction == false and helpme == false and Planetary == false then
  3436. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.2 + 0.3 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  3437. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3438. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-34 + 2.5 * Sin(sine / 20))), 0.15)
  3439. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(34 + 2.5 * Sin(sine / 20))), 0.15)
  3440. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 - 3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(14 - 2.5 * Sin(sine / 20))), 0.1)
  3441. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55 + 4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-14 + 2.5 * Sin(sine / 20))), 0.1)
  3442. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == true and helpme == false and Planetary == false then
  3443. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(0)), 0.15)
  3444. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3445. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-35 + 3 * Sin(sine / 20))), 0.15)
  3446. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-16.5 + 3 * Sin(sine / 20)), Rad(0), Rad(35 + 3 * Sin(sine / 20))), 0.15)
  3447. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(-10 * Cos(sine / 20)), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3448. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-35), Rad(10 * Cos(sine / 20)), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3449. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == true and Planetary == false then
  3450. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10)), 0.15)
  3451. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  3452. if math.random(1,1) == 1 then
  3453. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  3454. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25)), Rad(Mrandom(-25,25))), 1)
  3455. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  3456. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1)
  3457. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  3458. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15)
  3459. end
  3460. for i, v in pairs(ArmourParts) do
  3461. v.BrickColor = BrickColor.random()
  3462. end
  3463. for i, v in pairs(ArmourParts2) do
  3464. v.BrickColor = BrickColor.random()
  3465. end
  3466. for i, v in pairs(NeonParts) do
  3467. v.BrickColor = BrickColor.random()
  3468. end
  3469. maincolor = BrickColor.random()
  3470. tecks2.TextColor3 = maincolor.Color
  3471. tecks2.TextStrokeColor3 = maincolor.Color
  3472. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  3473. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(16)), 0.15)
  3474. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(10), Rad(10), Rad(15)), 0.1)
  3475. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(-15)), 0.1)
  3476. elseif attack == false and EdgyMode == false and Divinity == false and Destruction == false and helpme == false and Planetary == true then
  3477. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 2 + 0.3 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(10)), 0.15)
  3478. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-40 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-10)), 0.3)
  3479. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-20 + 2.5 * Sin(sine / 20))), 0.15)
  3480. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(20 + 2.5 * Sin(sine / 20))), 0.15)
  3481. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-15 - 2.5 * Sin(sine / 20))), 0.1)
  3482. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-21), Rad(0), Rad(-35 + 2.5 * Sin(sine / 20))), 0.1)
  3483. end
  3484. end
  3485. end
  3486. if 0 < #Effects then
  3487. for e = 1, #Effects do
  3488. if Effects[e] ~= nil then
  3489. local Thing = Effects[e]
  3490. if Thing ~= nil then
  3491. local Part = Thing[1]
  3492. local Mode = Thing[2]
  3493. local Delay = Thing[3]
  3494. local IncX = Thing[4]
  3495. local IncY = Thing[5]
  3496. local IncZ = Thing[6]
  3497. if 1 >= Thing[1].Transparency then
  3498. if Thing[2] == "Block1" then
  3499. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3500. local Mesh = Thing[1].Mesh
  3501. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3502. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3503. elseif Thing[2] == "Block2" then
  3504. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3505. local Mesh = Thing[7]
  3506. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3507. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3508. elseif Thing[2] == "Block3" then
  3509. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  3510. local Mesh = Thing[7]
  3511. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3512. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3513. elseif Thing[2] == "Cylinder" then
  3514. local Mesh = Thing[1].Mesh
  3515. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3516. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3517. elseif Thing[2] == "Blood" then
  3518. local Mesh = Thing[7]
  3519. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3520. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3521. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3522. elseif Thing[2] == "Elec" then
  3523. local Mesh = Thing[1].Mesh
  3524. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3525. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3526. elseif Thing[2] == "Disappear" then
  3527. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3528. elseif Thing[2] == "Shatter" then
  3529. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3530. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3531. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3532. Thing[6] = Thing[6] + Thing[5]
  3533. end
  3534. else
  3535. Part.Parent = nil
  3536. table.remove(Effects, e)
  3537. end
  3538. end
  3539. end
  3540. end
  3541. end
  3542. end
  3543. ------
  3544. warn([[Star Glitcher Loaded.
  3545. Created by 'NoobyGames12'
  3546. Edited by 'danny199990'
  3547. Some stuff by 'XXUNORIBOASXX'
  3548. ]])
  3549. print([[Icons:
  3550. ! = New
  3551. ? = Spoilers
  3552. * = Exclusivity
  3553. ]])
  3554. warn([[V 3.3.1 (ON PROGRESS) Update Log:
  3555. - Originall themes included
  3556. ! - Calamity's "Z" has changed.
  3557. ! - Starfall EX added.
  3558. ! - Mayhem now has Destruction mode.
  3559. ! - Chaos theme has been changed.
  3560. ! - Purity's theme has been extended.
  3561. ? - Corruption's "Z" will have animation sooner.
  3562. ! - Calamity's "X" is added, named Starfall.
  3563. * - Catastrophe's "Z" coming soon, same as Calamity's "Z" but more powerful.
  3564. ! - Divinity's Shield move fixed, wont break anymore(Hold F)(Made by danny199990).
  3565. ! - Equinox's MeteorStrike move(X) added(Made by danny199990).
  3566. ! - Divinity's Judgement move(Z) collison issue fixed(Made by danny199990).
  3567. ! - Divinity's Judgement move(Z) can now be held as long as you want it to.
  3568.  
  3569. I'd like if you wouldnt remove my or NoobyGames's credit, thanks alot ;).
  3570. ]])
  3571. --- its obs smooth af do not touch
  3572. ---- Sources and functions might be taken from others
  3573. plr = game:GetService("Players").LocalPlayer
  3574. char = plr.Character
  3575. hum = char.Humanoid
  3576. local cam = game.Workspace.CurrentCamera
  3577. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  3578. Camera = cam
  3579. local CamInterrupt = false
  3580. local TwoD = false
  3581. local TargetInfo = {nil, nil}
  3582. cam.CameraType = "Custom"
  3583. t = char.Torso
  3584. h = char.Head
  3585. ra = char["Right Arm"]
  3586. la = char["Left Arm"]
  3587. rl = char["Right Leg"]
  3588. ll = char["Left Leg"]
  3589. tors = char.Torso
  3590. lleg = char["Left Leg"]
  3591. root = char.HumanoidRootPart
  3592. hed = char.Head
  3593. rleg = char["Right Leg"]
  3594. rarm = char["Right Arm"]
  3595. larm = char["Left Arm"]
  3596. radian = math.rad
  3597. random = math.random
  3598. Vec3 = Vector3.new
  3599. Inst = Instance.new
  3600. cFrame = CFrame.new
  3601. Euler = CFrame.fromEulerAnglesXYZ
  3602. vt = Vector3.new
  3603. bc = BrickColor.new
  3604. br = BrickColor.random
  3605. it = Instance.new
  3606. cf = CFrame.new
  3607. local eff = true
  3608. local shielding = false
  3609.  
  3610. local Booleans = {
  3611. CamFollow = true,
  3612. GyroUse = true
  3613. }
  3614.  
  3615. function lerp(object, newCFrame, alpha)
  3616. return object:lerp(newCFrame, alpha)
  3617. end
  3618.  
  3619. local Directer = Inst("BodyGyro", root)
  3620. Directer.MaxTorque = Vec3(0, 0, 0)
  3621. Directer.P = 600000
  3622. local CPart = Inst("Part")
  3623. CPart.Anchored = true
  3624. CPart.CanCollide = false
  3625. CPart.Locked = true
  3626. CPart.Transparency = 1
  3627.  
  3628. local rainbowmode = false
  3629. local chaosmode = false
  3630.  
  3631. kan = Instance.new("Sound",char)
  3632. kan.Volume = 1.25
  3633. kan.TimePosition = 0
  3634. kan.PlaybackSpeed = 1
  3635. kan.Pitch = 1
  3636. kan.SoundId = "rbxassetid://614032233"
  3637. kan.Name = "wrecked"
  3638. kan.Looped = true
  3639. kan:Play()
  3640.  
  3641. function newTheme(ID,timepos,pitch,vol)
  3642. local kanz = kan
  3643. --kanz:Stop()
  3644. --kanz.Volume = vol
  3645. --kanz.TimePosition = timepos
  3646. kanz.PlaybackSpeed = pitch
  3647. kanz.Pitch = pitch
  3648. kanz.SoundId = ID
  3649. kanz.Name = "wrecked"
  3650. kanz.Looped = true
  3651. kanz.Volume = 0.3
  3652. --kanz:Play()
  3653. --coroutine.resume(coroutine.create(function()
  3654. --wait(0.05)
  3655. --end))
  3656. end
  3657.  
  3658. function newThemeCust(ID,timepos,pitch,vol)
  3659. local kanz = kan
  3660. kanz:Stop()
  3661. kanz.Volume = vol
  3662. kanz.TimePosition = timepos
  3663. kanz.PlaybackSpeed = pitch
  3664. kanz.Pitch = pitch
  3665. kanz.SoundId = ID
  3666. kanz.Name = "wrecked"
  3667. kanz.Looped = true
  3668. kanz:Play()
  3669. coroutine.resume(coroutine.create(function()
  3670. wait(0.05)
  3671. end))
  3672. end
  3673.  
  3674.  
  3675.  
  3676. function CameraShake(Times, Power, PlayerTarget)
  3677. coroutine.resume(coroutine.create(function()
  3678. FV = Instance.new("BoolValue", PlayerTarget)
  3679. FV.Name = "CameraShake"
  3680. for ShakeNum=1,Times do
  3681. swait()
  3682. local ef=Power
  3683. if ef>=1 then
  3684. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  3685. else
  3686. ef=Power*10
  3687. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  3688. end
  3689. end
  3690. Humanoid.CameraOffset = Vector3.new(0,0,0)
  3691. FV:Destroy()
  3692. end))
  3693. end
  3694.  
  3695. function CameraEnshaking(Length,Intensity)
  3696. coroutine.resume(coroutine.create(function()
  3697. local intensity = 1*Intensity
  3698. local rotM = 0.01*Intensity
  3699. for i = 0, Length, 0.1 do
  3700. swait()
  3701. intensity = intensity - 0.05*Intensity/Length
  3702. rotM = rotM - 0.0005*Intensity/Length
  3703. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  3704. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  3705. end
  3706. Humanoid.CameraOffset = Vec3(0, 0, 0)
  3707. end))
  3708. end
  3709. CamShake=function(Part,Distan,Power,Times)
  3710. local de=Part.Position
  3711. for i,v in pairs(workspace:children()) do
  3712. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  3713. for _,c in pairs(v:children()) do
  3714. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  3715. local Noob=v.Humanoid
  3716. if Noob~=nil then
  3717. coroutine.resume(coroutine.create(function()
  3718. FV = Instance.new("BoolValue", Noob)
  3719. FV.Name = "CameraShake"
  3720. for ShakeNum=1,Times do
  3721. swait()
  3722. local ef=Power
  3723. if ef>=1 then
  3724. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  3725. else
  3726. ef=Power*10
  3727. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  3728. end
  3729. end
  3730. Humanoid.CameraOffset = Vector3.new(0,0,0)
  3731. FV:Destroy()
  3732. end))
  3733. CameraShake(Times, Power, Noob)
  3734. end
  3735. end
  3736. end
  3737. end
  3738. end
  3739. end
  3740.  
  3741. function chatfunc(text,color)
  3742. local chat = coroutine.wrap(function()
  3743. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3744. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3745. end
  3746. local naeeym2 = Instance.new("BillboardGui",Character)
  3747. naeeym2.Size = UDim2.new(0,100,0,40)
  3748. naeeym2.StudsOffset = Vector3.new(0,3,0)
  3749. naeeym2.Adornee = Character.Head
  3750. naeeym2.Name = "TalkingBillBoard"
  3751. local tecks2 = Instance.new("TextLabel",naeeym2)
  3752. tecks2.BackgroundTransparency = 1
  3753. tecks2.BorderSizePixel = 0
  3754. tecks2.Text = ""
  3755. tecks2.Font = "SciFi"
  3756. tecks2.TextSize = 30
  3757. tecks2.TextStrokeTransparency = 0
  3758. tecks2.TextColor3 = color
  3759. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  3760. tecks2.Size = UDim2.new(1,0,0.5,0)
  3761. local tecks3 = Instance.new("TextLabel",naeeym2)
  3762. tecks3.BackgroundTransparency = 1
  3763. tecks3.BorderSizePixel = 0
  3764. tecks3.Text = ""
  3765. tecks3.Font = "SciFi"
  3766. tecks3.TextSize = 30
  3767. tecks3.TextStrokeTransparency = 0
  3768. tecks3.TextColor3 = Color3.new(0,0,0)
  3769. tecks3.TextStrokeColor3 = color
  3770. tecks3.Size = UDim2.new(1,0,0.5,0)
  3771. coroutine.resume(coroutine.create(function()
  3772. while true do
  3773. swait(1)
  3774. plr.Character.wrecked.Volume = 0.3
  3775. if chaosmode == true then
  3776. tecks2.TextColor3 = BrickColor.random().Color
  3777. tecks3.TextStrokeColor3 = BrickColor.random().Color
  3778. end
  3779. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  3780. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  3781. tecks2.Rotation = math.random(-5,5)
  3782. tecks3.Rotation = math.random(-5,5)
  3783. end
  3784. end))
  3785. for i = 1,string.len(text),1 do
  3786. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  3787. tecks2.Text = string.sub(text,1,i)
  3788. tecks3.Text = string.sub(text,1,i)
  3789. swait(1)
  3790. end
  3791. wait(1)
  3792. local randomrot = math.random(1,2)
  3793. if randomrot == 1 then
  3794. for i = 1, 50 do
  3795. swait()
  3796. tecks2.Rotation = tecks2.Rotation - .75
  3797. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3798. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3799. tecks3.Rotation = tecks2.Rotation + .75
  3800. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3801. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3802. end
  3803. elseif randomrot == 2 then
  3804. for i = 1, 50 do
  3805. swait()
  3806. tecks2.Rotation = tecks2.Rotation + .75
  3807. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3808. tecks2.TextTransparency = tecks2.TextTransparency + .04
  3809. tecks3.Rotation = tecks2.Rotation - .75
  3810. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  3811. tecks3.TextTransparency = tecks2.TextTransparency + .04
  3812. end
  3813. end
  3814. naeeym2:Destroy()
  3815. end)
  3816. chat()
  3817. end
  3818.  
  3819.  
  3820. local Create = LoadLibrary("RbxUtility").Create
  3821.  
  3822. CFuncs = {
  3823. ["Part"] = {
  3824. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3825. local Part = Create("Part"){
  3826. Parent = Parent,
  3827. Reflectance = Reflectance,
  3828. Transparency = Transparency,
  3829. CanCollide = false,
  3830. Locked = true,
  3831. BrickColor = BrickColor.new(tostring(BColor)),
  3832. Name = Name,
  3833. Size = Size,
  3834. Material = Material,
  3835. }
  3836. RemoveOutlines(Part)
  3837. return Part
  3838. end;
  3839. };
  3840.  
  3841. ["Mesh"] = {
  3842. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3843. local Msh = Create(Mesh){
  3844. Parent = Part,
  3845. Offset = OffSet,
  3846. Scale = Scale,
  3847. }
  3848. if Mesh == "SpecialMesh" then
  3849. Msh.MeshType = MeshType
  3850. Msh.MeshId = MeshId
  3851. end
  3852. return Msh
  3853. end;
  3854. };
  3855.  
  3856. ["Mesh"] = {
  3857. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3858. local Msh = Create(Mesh){
  3859. Parent = Part,
  3860. Offset = OffSet,
  3861. Scale = Scale,
  3862. }
  3863. if Mesh == "SpecialMesh" then
  3864. Msh.MeshType = MeshType
  3865. Msh.MeshId = MeshId
  3866. end
  3867. return Msh
  3868. end;
  3869. };
  3870.  
  3871. ["Weld"] = {
  3872. Create = function(Parent, Part0, Part1, C0, C1)
  3873. local Weld = Create("Weld"){
  3874. Parent = Parent,
  3875. Part0 = Part0,
  3876. Part1 = Part1,
  3877. C0 = C0,
  3878. C1 = C1,
  3879. }
  3880. return Weld
  3881. end;
  3882. };
  3883.  
  3884. ["Sound"] = {
  3885. Create = function(id, par, vol, pit)
  3886. coroutine.resume(coroutine.create(function()
  3887. local S = Create("Sound"){
  3888. Volume = vol,
  3889. Name = "EffectSoundo",
  3890. Pitch = pit or 1,
  3891. SoundId = id,
  3892. Parent = par or workspace,
  3893. }
  3894. wait()
  3895. S:play()
  3896. game:GetService("Debris"):AddItem(S, 10)
  3897. end))
  3898. end;
  3899. };
  3900.  
  3901. ["LongSound"] = {
  3902. Create = function(id, par, vol, pit)
  3903. coroutine.resume(coroutine.create(function()
  3904. local S = Create("Sound"){
  3905. Volume = vol,
  3906. Pitch = pit or 1,
  3907. SoundId = id,
  3908. Parent = par or workspace,
  3909. }
  3910. wait()
  3911. S:play()
  3912. game:GetService("Debris"):AddItem(S, 30)
  3913. end))
  3914. end;
  3915. };
  3916.  
  3917. ["ParticleEmitter"] = {
  3918. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3919. local fp = Create("ParticleEmitter"){
  3920. Parent = Parent,
  3921. Color = ColorSequence.new(Color1, Color2),
  3922. LightEmission = LightEmission,
  3923. Size = Size,
  3924. Texture = Texture,
  3925. Transparency = Transparency,
  3926. ZOffset = ZOffset,
  3927. Acceleration = Accel,
  3928. Drag = Drag,
  3929. LockedToPart = LockedToPart,
  3930. VelocityInheritance = VelocityInheritance,
  3931. EmissionDirection = EmissionDirection,
  3932. Enabled = Enabled,
  3933. Lifetime = LifeTime,
  3934. Rate = Rate,
  3935. Rotation = Rotation,
  3936. RotSpeed = RotSpeed,
  3937. Speed = Speed,
  3938. VelocitySpread = VelocitySpread,
  3939. }
  3940. return fp
  3941. end;
  3942. };
  3943.  
  3944. CreateTemplate = {
  3945.  
  3946. };
  3947. }
  3948.  
  3949.  
  3950.  
  3951. New = function(Object, Parent, Name, Data)
  3952. local Object = Instance.new(Object)
  3953. for Index, Value in pairs(Data or {}) do
  3954. Object[Index] = Value
  3955. end
  3956. Object.Parent = Parent
  3957. Object.Name = Name
  3958. return Object
  3959. end
  3960. local halocolor = BrickColor.new("Pastel light blue")
  3961. local halocolor2 = BrickColor.new("Cool yellow")
  3962. local starcolor = BrickColor.new("Bright yellow")
  3963. local lunacolor = BrickColor.new("Navy blue")
  3964. local lunacolor2 = BrickColor.new("Bright blue")
  3965. local wepcolor = BrickColor.new("Really black")
  3966. local maincolor = BrickColor.new("Really black")
  3967. local m = Instance.new("Model",char)
  3968. local m2 = Instance.new("Model",char)
  3969. local m3 = Instance.new("Model",char)
  3970. local mw1 = Instance.new("Model",char)
  3971. local mw2 = Instance.new("Model",char)
  3972.  
  3973. local extrawingmod1 = Instance.new("Model",char)
  3974. local extrawingmod2 = Instance.new("Model",char)
  3975.  
  3976. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  3977. local p = Instance.new("Part")
  3978. p.TopSurface = 0
  3979. p.BottomSurface = 0
  3980. p.Parent = parent
  3981. p.Size = Vector3.new(0.1,0.1,0.1)
  3982. p.Transparency = transparency
  3983. p.Reflectance = reflectance
  3984. p.CanCollide = false
  3985. p.Locked = true
  3986. p.BrickColor = brickcolor
  3987. p.Material = material
  3988. return p
  3989. end
  3990.  
  3991. function CreateMesh(parent,meshtype,x1,y1,z1)
  3992. local mesh = Instance.new("SpecialMesh",parent)
  3993. mesh.MeshType = meshtype
  3994. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  3995. return mesh
  3996. end
  3997.  
  3998. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  3999. local mesh = Instance.new("SpecialMesh",parent)
  4000. mesh.MeshType = "FileMesh"
  4001. mesh.MeshId = meshid
  4002. mesh.Scale = Vector3.new(x1,y1,z1)
  4003. return mesh
  4004. end
  4005.  
  4006.  
  4007. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  4008. local mesh = Instance.new("SpecialMesh",parent)
  4009. mesh.MeshType = "FileMesh"
  4010. mesh.MeshId = meshid
  4011. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  4012. mesh.Scale = Vector3.new(x1,y1,z1)
  4013. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  4014. return mesh
  4015. end
  4016.  
  4017. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  4018. local weld = Instance.new("Weld")
  4019. weld.Parent = parent
  4020. weld.Part0 = part0
  4021. weld.Part1 = part1
  4022. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  4023. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  4024. return weld
  4025. end
  4026.  
  4027.  
  4028. --------------
  4029. local secondchar = Instance.new("Model",char)
  4030. local GhostCol = BrickColor.new("Really red")
  4031. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  4032. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  4033. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4034.  
  4035. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  4036. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  4037. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4038.  
  4039. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  4040. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  4041. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4042.  
  4043. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  4044. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  4045. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4046.  
  4047. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  4048. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  4049. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4050.  
  4051. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  4052. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  4053. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4054. --------------
  4055. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4056. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4057. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4058. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4059.  
  4060. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  4061. CreateMesh(handle,"Brick",0,0,0)
  4062. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4063. local valuaring = 10
  4064. for i = 0, 49 do
  4065. valuaring = valuaring + 10
  4066. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  4067. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  4068. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4069. end
  4070.  
  4071. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  4072. CreateMesh(handle,"Brick",0,0,0)
  4073. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4074. local valuaring = 10
  4075. for i = 0, 49 do
  4076. valuaring = valuaring + 10
  4077. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4078. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  4079. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4080. end
  4081.  
  4082.  
  4083. local handle = CreateParta(m,1,1,"Neon",maincolor)
  4084. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4085. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4086.  
  4087. --- Left wing.
  4088.  
  4089. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  4090. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4091. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4092.  
  4093. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4094. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4095. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4096. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4097. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4098. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4099. A0 = Instance.new('Attachment',wed)
  4100. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4101. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4102. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4103. A1 = Instance.new('Attachment',wed)
  4104. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4105. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4106. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4107.  
  4108. tl1 = Instance.new('Trail',wed)
  4109. tl1.Attachment0 = A0
  4110. tl1.Attachment1 = A1
  4111. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  4112. tl1.LightEmission = 1
  4113. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4114. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  4115. tl1.Lifetime = 0.6
  4116.  
  4117.  
  4118. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  4119. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4120. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4121.  
  4122. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4123. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4124. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4125. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4126. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4127. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4128. A0 = Instance.new('Attachment',wed)
  4129. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4130. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4131. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4132. A1 = Instance.new('Attachment',wed)
  4133. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4134. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4135. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4136.  
  4137. tl2 = Instance.new('Trail',wed)
  4138. tl2.Attachment0 = A0
  4139. tl2.Attachment1 = A1
  4140. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  4141. tl2.LightEmission = 1
  4142. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4143. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  4144. tl2.Lifetime = 0.6
  4145.  
  4146. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  4147. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4148. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4149.  
  4150. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4151. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4152. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4153. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4154. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4155. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4156. A0 = Instance.new('Attachment',wed)
  4157. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4158. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4159. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4160. A1 = Instance.new('Attachment',wed)
  4161. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  4162. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4163. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4164.  
  4165. tl3 = Instance.new('Trail',wed)
  4166. tl3.Attachment0 = A0
  4167. tl3.Attachment1 = A1
  4168. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  4169. tl3.LightEmission = 1
  4170. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4171. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  4172. tl3.Lifetime = 0.6
  4173.  
  4174. tl1.Enabled = false
  4175. tl2.Enabled = false
  4176. tl3.Enabled = false
  4177. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  4178. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4179. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4180.  
  4181. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4182. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4183. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4184. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4185. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4186. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4187. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4188. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4189. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4190. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4191. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4192. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4193.  
  4194. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  4195. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4196. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4197.  
  4198. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4199. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4200. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4201. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4202. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4203. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4204. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4205. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4206. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4207. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4208. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4209. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4210.  
  4211. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  4212. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4213. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4214.  
  4215. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4216. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4217. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4218. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4219. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4220. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4221. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4222. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4223. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4224. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  4225. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4226. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4227.  
  4228. -- Right wing.
  4229.  
  4230. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  4231. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4232. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4233.  
  4234. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4235. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4236. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4237. A0 = Instance.new('Attachment',wed)
  4238. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4239. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4240. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4241. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4242. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4243. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4244. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4245. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4246. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4247. A1 = Instance.new('Attachment',wed)
  4248.  
  4249. tr1 = Instance.new('Trail',wed)
  4250. tr1.Attachment0 = A0
  4251. tr1.Attachment1 = A1
  4252. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  4253. tr1.LightEmission = 1
  4254. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4255. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  4256. tr1.Lifetime = 0.6
  4257.  
  4258. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  4259. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4260. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4261.  
  4262. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4263. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4264. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4265. A0 = Instance.new('Attachment',wed)
  4266. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4267. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4268. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4269. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4270. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4271. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4272. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4273. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4274. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4275. A1 = Instance.new('Attachment',wed)
  4276.  
  4277. tr2 = Instance.new('Trail',wed)
  4278. tr2.Attachment0 = A0
  4279. tr2.Attachment1 = A1
  4280. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  4281. tr2.LightEmission = 1
  4282. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4283. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  4284. tr2.Lifetime = 0.6
  4285.  
  4286. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  4287. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4288. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4289.  
  4290. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4291. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4292. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4293. A0 = Instance.new('Attachment',wed)
  4294. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4295. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4296. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4297. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4298. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4299. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4300. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  4301. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4302. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4303. A1 = Instance.new('Attachment',wed)
  4304.  
  4305. tr3 = Instance.new('Trail',wed)
  4306. tr3.Attachment0 = A0
  4307. tr3.Attachment1 = A1
  4308. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  4309. tr3.LightEmission = 1
  4310. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4311. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  4312. tr3.Lifetime = 0.6
  4313.  
  4314.  
  4315. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  4316. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4317. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4318.  
  4319. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4320. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4321. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4322. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4323. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4324. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4325. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4326. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4327. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4328. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4329. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4330. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4331.  
  4332. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  4333. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4334. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4335.  
  4336. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4337. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4338. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4339. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4340. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4341. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4342. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4343. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4344. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4345. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4346. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4347. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4348.  
  4349. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  4350. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  4351. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4352.  
  4353. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4354. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4355. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4356. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4357. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  4358. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4359. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4360. CreateMesh(wed,"Wedge",0.05,0.5,3)
  4361. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4362. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  4363. CreateMesh(wed,"Wedge",0.05,3,0.5)
  4364. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4365.  
  4366. ---- HERES THE RING
  4367.  
  4368.  
  4369. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  4370. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  4371. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4372. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4373. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  4374. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4375. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4376. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  4377. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4378.  
  4379.  
  4380. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4381. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  4382. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4383.  
  4384. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4385. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  4386. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4387.  
  4388.  
  4389.  
  4390. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  4391. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  4392. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4393.  
  4394. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  4395. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  4396. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4397.  
  4398. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  4399. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  4400. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4401.  
  4402. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4403. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  4404. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4405. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  4406. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  4407. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4408.  
  4409. --- second ring
  4410.  
  4411. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  4412. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  4413. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4414. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4415. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  4416. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4417. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4418. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  4419. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4420.  
  4421. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4422. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  4423. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4424.  
  4425. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4426. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  4427. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4428.  
  4429.  
  4430.  
  4431. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  4432. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  4433. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4434.  
  4435. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  4436. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  4437. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4438.  
  4439. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  4440. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  4441. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4442.  
  4443. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  4444. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  4445. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  4446. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  4447. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  4448. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  4449.  
  4450.  
  4451.  
  4452. for i, v in pairs(m:GetChildren()) do
  4453. if v:IsA("Part") then
  4454. v.BrickColor = BrickColor.new("Really black")
  4455. v.Material = "Glass"
  4456. end
  4457. end
  4458. for i, v in pairs(m2:GetChildren()) do
  4459. if v:IsA("Part") then
  4460. v.BrickColor = BrickColor.new("Crimson")
  4461. v.Material = "Granite"
  4462. end
  4463. end
  4464. for i, v in pairs(m3:GetChildren()) do
  4465. if v:IsA("Part") then
  4466. v.BrickColor = BrickColor.new("Really red")
  4467. v.Material = "Neon"
  4468. end
  4469. end
  4470. for i, v in pairs(mw2:GetChildren()) do
  4471. if v:IsA("Part") then
  4472. v.BrickColor = BrickColor.new("Really red")
  4473. v.Material = "Neon"
  4474. end
  4475. end
  4476. for i, v in pairs(mw1:GetChildren()) do
  4477. if v:IsA("Part") then
  4478. v.Transparency = 1
  4479. v.BrickColor = BrickColor.new("Really red")
  4480. v.Material = "Neon"
  4481. end
  4482. end
  4483. for i, v in pairs(extrawingmod1:GetChildren()) do
  4484. if v:IsA("Part") then
  4485. v.Transparency = 1
  4486. v.BrickColor = BrickColor.new("White")
  4487. v.Material = "Neon"
  4488. end
  4489. end
  4490. for i, v in pairs(extrawingmod2:GetChildren()) do
  4491. if v:IsA("Part") then
  4492. v.Transparency = 1
  4493. v.BrickColor = BrickColor.new("White")
  4494. v.Material = "Neon"
  4495. end
  4496. end
  4497. local MAINRUINCOLOR = BrickColor.new("Really red")
  4498. ------
  4499.  
  4500.  
  4501. function RemoveOutlines(part)
  4502. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  4503. end
  4504. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  4505. local Part = Create("Part")({
  4506. Parent = Parent,
  4507. Reflectance = Reflectance,
  4508. Transparency = Transparency,
  4509. CanCollide = false,
  4510. Locked = true,
  4511. BrickColor = BrickColor.new(tostring(BColor)),
  4512. Name = Name,
  4513. Size = Size,
  4514. Material = Material
  4515. })
  4516. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  4517. RemoveOutlines(Part)
  4518. return Part
  4519. end
  4520. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  4521. local Msh = Create(Mesh)({
  4522. Parent = Part,
  4523. Offset = OffSet,
  4524. Scale = Scale
  4525. })
  4526. if Mesh == "SpecialMesh" then
  4527. Msh.MeshType = MeshType
  4528. Msh.MeshId = MeshId
  4529. end
  4530. return Msh
  4531. end
  4532. function CreateWeld(Parent, Part0, Part1, C0, C1)
  4533. local Weld = Create("Weld")({
  4534. Parent = Parent,
  4535. Part0 = Part0,
  4536. Part1 = Part1,
  4537. C0 = C0,
  4538. C1 = C1
  4539. })
  4540. return Weld
  4541. end
  4542.  
  4543. Player=game:GetService("Players").LocalPlayer
  4544. Character=Player.Character
  4545. PlayerGui=Player.PlayerGui
  4546. Backpack=Player.Backpack
  4547. Torso=Character.Torso
  4548. Head=Character.Head
  4549. Humanoid=Character.Humanoid
  4550. m=Instance.new('Model',Character)
  4551. LeftArm=Character["Left Arm"]
  4552. LeftLeg=Character["Left Leg"]
  4553. RightArm=Character["Right Arm"]
  4554. RightLeg=Character["Right Leg"]
  4555. LS=Torso["Left Shoulder"]
  4556. LH=Torso["Left Hip"]
  4557. RS=Torso["Right Shoulder"]
  4558. RH=Torso["Right Hip"]
  4559. Face = Head.face
  4560. Neck=Torso.Neck
  4561. it=Instance.new
  4562. attacktype=1
  4563. vt=Vector3.new
  4564. cf=CFrame.new
  4565. euler=CFrame.fromEulerAnglesXYZ
  4566. angles=CFrame.Angles
  4567. cloaked=false
  4568. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  4569. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  4570. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  4571. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  4572. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  4573. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  4574. RootPart=Character.HumanoidRootPart
  4575. RootJoint=RootPart.RootJoint
  4576. RootCF=euler(-1.57,0,3.14)
  4577. attack = false
  4578. attackdebounce = false
  4579. deb=false
  4580. equipped=true
  4581. hand=false
  4582. MMouse=nil
  4583. combo=0
  4584. mana=0
  4585. trispeed=.2
  4586. attackmode='none'
  4587. local idle=0
  4588. local Anim="Idle"
  4589. local Effects={}
  4590. local gun=false
  4591. local shoot=false
  4592. local sine = 0
  4593. local change = 1
  4594. player=nil
  4595.  
  4596.  
  4597. local toggleTag = true
  4598. local txt = Instance.new("BillboardGui", Head)
  4599. txt.Adornee = nil
  4600. txt.Name = "NameDetect"
  4601. txt.Size = UDim2.new(4, 0, 1.2, 0)
  4602. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  4603. local text = Instance.new("TextLabel", txt)
  4604. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  4605. text.FontSize = "Size8"
  4606. text.TextScaled = true
  4607. text.TextTransparency = 0
  4608. text.BackgroundTransparency = 1
  4609. text.TextTransparency = 0
  4610. text.TextStrokeTransparency = 0
  4611. text.Font = "Fantasy"
  4612. text.TextStrokeColor3 = Color3.new(1,0,0)
  4613. text.TextColor3 = Color3.new(0,0,0)
  4614. text.Text = "Mayhem"
  4615.  
  4616. function RecolorTextAndRename(name,col1,col2)
  4617. text.TextStrokeColor3 = col2
  4618. text.TextColor3 = col1
  4619. text.Text = name
  4620. end
  4621. mouse=Player:GetMouse()
  4622. --save shoulders
  4623. RSH, LSH=nil, nil
  4624. --welds
  4625. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  4626. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  4627. LH=Torso["Left Hip"]
  4628. RH=Torso["Right Hip"]
  4629. TorsoColor=Torso.BrickColor
  4630. function NoOutline(Part)
  4631. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  4632. end
  4633. player=Player
  4634. ch=Character
  4635. RSH=ch.Torso["Right Shoulder"]
  4636. LSH=ch.Torso["Left Shoulder"]
  4637. --
  4638. RSH.Parent=nil
  4639. LSH.Parent=nil
  4640. --
  4641. RW.Name="Right Shoulder"
  4642. RW.Part0=ch.Torso
  4643. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  4644. RW.C1=cf(0, 0.5, 0)
  4645. RW.Part1=ch["Right Arm"]
  4646. RW.Parent=ch.Torso
  4647. --
  4648. LW.Name="Left Shoulder"
  4649. LW.Part0=ch.Torso
  4650. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  4651. LW.C1=cf(0, 0.5, 0)
  4652. LW.Part1=ch["Left Arm"]
  4653. LW.Parent=ch.Torso
  4654.  
  4655. local Stats=Instance.new("BoolValue")
  4656. Stats.Name="Stats"
  4657. Stats.Parent=Character
  4658. local Atk=Instance.new("NumberValue")
  4659. Atk.Name="Damage"
  4660. Atk.Parent=Stats
  4661. Atk.Value=1
  4662. local Def=Instance.new("NumberValue")
  4663. Def.Name="Defense"
  4664. Def.Parent=Stats
  4665. Def.Value=1
  4666. local Speed=Instance.new("NumberValue")
  4667. Speed.Name="Speed"
  4668. Speed.Parent=Stats
  4669. Speed.Value=1
  4670. local Mvmt=Instance.new("NumberValue")
  4671. Mvmt.Name="Movement"
  4672. Mvmt.Parent=Stats
  4673. Mvmt.Value=1
  4674.  
  4675. local donum=0
  4676.  
  4677.  
  4678. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  4679. local fp=it("Part")
  4680. fp.formFactor=formfactor
  4681. fp.Parent=parent
  4682. fp.Reflectance=reflectance
  4683. fp.Transparency=transparency
  4684. fp.CanCollide=false
  4685. fp.Locked=true
  4686. fp.BrickColor=brickcolor
  4687. fp.Name=name
  4688. fp.Size=size
  4689. fp.Position=Torso.Position
  4690. NoOutline(fp)
  4691. fp.Material="SmoothPlastic"
  4692. fp:BreakJoints()
  4693. return fp
  4694. end
  4695.  
  4696. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  4697. local mesh=it(Mesh)
  4698. mesh.Parent=part
  4699. if Mesh=="SpecialMesh" then
  4700. mesh.MeshType=meshtype
  4701. if meshid~="nil" then
  4702. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  4703. end
  4704. end
  4705. mesh.Offset=offset
  4706. mesh.Scale=scale
  4707. return mesh
  4708. end
  4709.  
  4710. function weld(parent,part0,part1,c0)
  4711. local weld=it("Weld")
  4712. weld.Parent=parent
  4713. weld.Part0=part0
  4714. weld.Part1=part1
  4715. weld.C0=c0
  4716. return weld
  4717. end
  4718.  
  4719. local Color1=Torso.BrickColor
  4720.  
  4721. local bodvel=Instance.new("BodyVelocity")
  4722. local bg=Instance.new("BodyGyro")
  4723.  
  4724. function swait(num)
  4725. if num==0 or num==nil then
  4726. game:service'RunService'.Stepped:wait(0)
  4727. else
  4728. for i=0,num do
  4729. game:service'RunService'.Stepped:wait(0)
  4730. end
  4731. end
  4732. end
  4733.  
  4734. -------- RAINBOW LEAVE IT TO ME
  4735. local r = 255
  4736. local g = 0
  4737. local b = 0
  4738. coroutine.resume(coroutine.create(function()
  4739. while wait() do
  4740. for i = 0, 254/5 do
  4741. swait()
  4742. g = g + 5
  4743. end
  4744. for i = 0, 254/5 do
  4745. swait()
  4746. r = r - 5
  4747. end
  4748. for i = 0, 254/5 do
  4749. swait()
  4750. b = b + 5
  4751. end
  4752. for i = 0, 254/5 do
  4753. swait()
  4754. g = g - 5
  4755. end
  4756. for i = 0, 254/5 do
  4757. swait()
  4758. r = r + 5
  4759. end
  4760. for i = 0, 254/5 do
  4761. swait()
  4762. b = b - 5
  4763. end
  4764. end
  4765. end))
  4766.  
  4767.  
  4768. so = function(id,par,vol,pit)
  4769. coroutine.resume(coroutine.create(function()
  4770. local sou = Instance.new("Sound",par or workspace)
  4771. sou.Volume=vol
  4772. sou.Pitch=pit or 1
  4773. sou.SoundId=id
  4774. swait()
  4775. sou:play()
  4776. game:GetService("Debris"):AddItem(sou,6)
  4777. end))
  4778. end
  4779.  
  4780. function clerp(a,b,t)
  4781. local qa = {QuaternionFromCFrame(a)}
  4782. local qb = {QuaternionFromCFrame(b)}
  4783. local ax, ay, az = a.x, a.y, a.z
  4784. local bx, by, bz = b.x, b.y, b.z
  4785. local _t = 1-t
  4786. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  4787. end
  4788.  
  4789. function QuaternionFromCFrame(cf)
  4790. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  4791. local trace = m00 + m11 + m22
  4792. if trace > 0 then
  4793. local s = math.sqrt(1 + trace)
  4794. local recip = 0.5/s
  4795. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  4796. else
  4797. local i = 0
  4798. if m11 > m00 then
  4799. i = 1
  4800. end
  4801. if m22 > (i == 0 and m00 or m11) then
  4802. i = 2
  4803. end
  4804. if i == 0 then
  4805. local s = math.sqrt(m00-m11-m22+1)
  4806. local recip = 0.5/s
  4807. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  4808. elseif i == 1 then
  4809. local s = math.sqrt(m11-m22-m00+1)
  4810. local recip = 0.5/s
  4811. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  4812. elseif i == 2 then
  4813. local s = math.sqrt(m22-m00-m11+1)
  4814. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  4815. end
  4816. end
  4817. end
  4818.  
  4819. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  4820. local xs, ys, zs = x + x, y + y, z + z
  4821. local wx, wy, wz = w*xs, w*ys, w*zs
  4822. local xx = x*xs
  4823. local xy = x*ys
  4824. local xz = x*zs
  4825. local yy = y*ys
  4826. local yz = y*zs
  4827. local zz = z*zs
  4828. 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))
  4829. end
  4830.  
  4831. function QuaternionSlerp(a, b, t)
  4832. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  4833. local startInterp, finishInterp;
  4834. if cosTheta >= 0.0001 then
  4835. if (1 - cosTheta) > 0.0001 then
  4836. local theta = math.acos(cosTheta)
  4837. local invSinTheta = 1/math.sin(theta)
  4838. startInterp = math.sin((1-t)*theta)*invSinTheta
  4839. finishInterp = math.sin(t*theta)*invSinTheta
  4840. else
  4841. startInterp = 1-t
  4842. finishInterp = t
  4843. end
  4844. else
  4845. if (1+cosTheta) > 0.0001 then
  4846. local theta = math.acos(-cosTheta)
  4847. local invSinTheta = 1/math.sin(theta)
  4848. startInterp = math.sin((t-1)*theta)*invSinTheta
  4849. finishInterp = math.sin(t*theta)*invSinTheta
  4850. else
  4851. startInterp = t-1
  4852. finishInterp = t
  4853. end
  4854. end
  4855. 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
  4856. end
  4857.  
  4858. local function CFrameFromTopBack(at, top, back)
  4859. local right = top:Cross(back)
  4860. return CFrame.new(at.x, at.y, at.z,
  4861. right.x, top.x, back.x,
  4862. right.y, top.y, back.y,
  4863. right.z, top.z, back.z)
  4864. end
  4865.  
  4866. function Triangle(a, b, c)
  4867. local edg1 = (c-a):Dot((b-a).unit)
  4868. local edg2 = (a-b):Dot((c-b).unit)
  4869. local edg3 = (b-c):Dot((a-c).unit)
  4870. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  4871. a, b, c = a, b, c
  4872. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  4873. a, b, c = b, c, a
  4874. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  4875. a, b, c = c, a, b
  4876. else
  4877. assert(false, "unreachable")
  4878. end
  4879.  
  4880. local len1 = (c-a):Dot((b-a).unit)
  4881. local len2 = (b-a).magnitude - len1
  4882. local width = (a + (b-a).unit*len1 - c).magnitude
  4883.  
  4884. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  4885.  
  4886. local list = {}
  4887.  
  4888. if len1 > 0.01 then
  4889. local w1 = Instance.new('WedgePart', m)
  4890. game:GetService("Debris"):AddItem(w1,5)
  4891. w1.Material = "SmoothPlastic"
  4892. w1.FormFactor = 'Custom'
  4893. w1.BrickColor = BrickColor.new("Really red")
  4894. w1.Transparency = 0
  4895. w1.Reflectance = 0
  4896. w1.Material = "SmoothPlastic"
  4897. w1.CanCollide = false
  4898. local l1 = Instance.new("PointLight",w1)
  4899. l1.Color = Color3.new(170,0,0)
  4900. NoOutline(w1)
  4901. local sz = Vector3.new(0.2, width, len1)
  4902. w1.Size = sz
  4903. local sp = Instance.new("SpecialMesh",w1)
  4904. sp.MeshType = "Wedge"
  4905. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  4906. w1:BreakJoints()
  4907. w1.Anchored = true
  4908. w1.Parent = workspace
  4909. w1.Transparency = 0.7
  4910. table.insert(Effects,{w1,"Disappear",.01})
  4911. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  4912. table.insert(list,w1)
  4913. end
  4914.  
  4915. if len2 > 0.01 then
  4916. local w2 = Instance.new('WedgePart', m)
  4917. game:GetService("Debris"):AddItem(w2,5)
  4918. w2.Material = "SmoothPlastic"
  4919. w2.FormFactor = 'Custom'
  4920. w2.BrickColor = BrickColor.new("Really red")
  4921. w2.Transparency = 0
  4922. w2.Reflectance = 0
  4923. w2.Material = "SmoothPlastic"
  4924. w2.CanCollide = false
  4925. local l2 = Instance.new("PointLight",w2)
  4926. l2.Color = Color3.new(170,0,0)
  4927. NoOutline(w2)
  4928. local sz = Vector3.new(0.2, width, len2)
  4929. w2.Size = sz
  4930. local sp = Instance.new("SpecialMesh",w2)
  4931. sp.MeshType = "Wedge"
  4932. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  4933. w2:BreakJoints()
  4934. w2.Anchored = true
  4935. w2.Parent = workspace
  4936. w2.Transparency = 0.7
  4937. table.insert(Effects,{w2,"Disappear",.01})
  4938. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  4939. table.insert(list,w2)
  4940. end
  4941. return unpack(list)
  4942. end
  4943.  
  4944.  
  4945. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  4946. if hit.Parent == nil then
  4947. return
  4948. end
  4949. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  4950. for _, v in pairs(hit.Parent:children()) do
  4951. if v:IsA("Humanoid") then
  4952. h = v
  4953. end
  4954. end
  4955. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  4956. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  4957. return
  4958. end
  4959. local c = Create("ObjectValue")({
  4960. Name = "creator",
  4961. Value = game:service("Players").LocalPlayer,
  4962. Parent = h
  4963. })
  4964. game:GetService("Debris"):AddItem(c, 0.5)
  4965. if HitSound ~= nil and HitPitch ~= nil then
  4966. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  4967. end
  4968. local Damage = math.random(minim, maxim)
  4969. local blocked = false
  4970. local block = hit.Parent:findFirstChild("Block")
  4971. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  4972. blocked = true
  4973. block.Value = block.Value - 1
  4974. print(block.Value)
  4975. end
  4976. if blocked == false then
  4977. HitHealth = h.Health
  4978. h.Health = h.Health - Damage
  4979. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  4980. print("gained kill")
  4981. end
  4982. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4983. else
  4984. h.Health = h.Health - Damage / 2
  4985. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  4986. end
  4987. if Type == "Knockdown" then
  4988. local hum = hit.Parent.Humanoid
  4989. hum.PlatformStand = true
  4990. coroutine.resume(coroutine.create(function(HHumanoid)
  4991. swait(1)
  4992. HHumanoid.PlatformStand = false
  4993. end), hum)
  4994. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  4995. local bodvol = Create("BodyVelocity")({
  4996. velocity = angle * knockback,
  4997. P = 5000,
  4998. maxForce = Vector3.new(8000, 8000, 8000),
  4999. Parent = hit
  5000. })
  5001. local rl = Create("BodyAngularVelocity")({
  5002. P = 3000,
  5003. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  5004. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  5005. Parent = hit
  5006. })
  5007. game:GetService("Debris"):AddItem(bodvol, 0.5)
  5008. game:GetService("Debris"):AddItem(rl, 0.5)
  5009. elseif Type == "Normal" then
  5010. local vp = Create("BodyVelocity")({
  5011. P = 500,
  5012. maxForce = Vector3.new(math.huge, 0, math.huge),
  5013. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  5014. })
  5015. if knockback > 0 then
  5016. vp.Parent = hit.Parent.Head
  5017. end
  5018. game:GetService("Debris"):AddItem(vp, 0.5)
  5019. elseif Type == "Up" then
  5020. local bodyVelocity = Create("BodyVelocity")({
  5021. velocity = Vector3.new(0, 20, 0),
  5022. P = 5000,
  5023. maxForce = Vector3.new(8000, 8000, 8000),
  5024. Parent = hit
  5025. })
  5026. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  5027. local bodyVelocity = Create("BodyVelocity")({
  5028. velocity = Vector3.new(0, 20, 0),
  5029. P = 5000,
  5030. maxForce = Vector3.new(8000, 8000, 8000),
  5031. Parent = hit
  5032. })
  5033. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  5034. elseif Type == "Leech" then
  5035. local hum = hit.Parent.Humanoid
  5036. if hum ~= nil then
  5037. for i = 0, 2 do
  5038. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  5039. end
  5040. Humanoid.Health = Humanoid.Health + 10
  5041. end
  5042. elseif Type == "UpKnock" then
  5043. local hum = hit.Parent.Humanoid
  5044. hum.PlatformStand = true
  5045. if hum ~= nil then
  5046. hitr = true
  5047. end
  5048. coroutine.resume(coroutine.create(function(HHumanoid)
  5049. swait(5)
  5050. HHumanoid.PlatformStand = false
  5051. hitr = false
  5052. end), hum)
  5053. local bodyVelocity = Create("BodyVelocity")({
  5054. velocity = Vector3.new(0, 20, 0),
  5055. P = 5000,
  5056. maxForce = Vector3.new(8000, 8000, 8000),
  5057. Parent = hit
  5058. })
  5059. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  5060. local bodyVelocity = Create("BodyVelocity")({
  5061. velocity = Vector3.new(0, 20, 0),
  5062. P = 5000,
  5063. maxForce = Vector3.new(8000, 8000, 8000),
  5064. Parent = hit
  5065. })
  5066. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  5067. elseif Type == "Snare" then
  5068. local bp = Create("BodyPosition")({
  5069. P = 2000,
  5070. D = 100,
  5071. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  5072. position = hit.Parent.Torso.Position,
  5073. Parent = hit.Parent.Torso
  5074. })
  5075. game:GetService("Debris"):AddItem(bp, 1)
  5076. elseif Type == "Slashnare" then
  5077. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  5078. for i = 1, math.random(4, 5) do
  5079. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  5080. end
  5081. local bp = Create("BodyPosition")({
  5082. P = 2000,
  5083. D = 100,
  5084. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  5085. position = hit.Parent.Torso.Position,
  5086. Parent = hit.Parent.Torso
  5087. })
  5088. game:GetService("Debris"):AddItem(bp, 1)
  5089. elseif Type == "Spike" then
  5090. CreateBigIceSword(hit.Parent.Torso.CFrame)
  5091. local bp = Create("BodyPosition")({
  5092. P = 2000,
  5093. D = 100,
  5094. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  5095. position = hit.Parent.Torso.Position,
  5096. Parent = hit.Parent.Torso
  5097. })
  5098. game:GetService("Debris"):AddItem(bp, 1)
  5099. elseif Type == "Freeze" then
  5100. local BodPos = Create("BodyPosition")({
  5101. P = 50000,
  5102. D = 1000,
  5103. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  5104. position = hit.Parent.Torso.Position,
  5105. Parent = hit.Parent.Torso
  5106. })
  5107. local BodGy = Create("BodyGyro")({
  5108. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  5109. P = 20000,
  5110. Parent = hit.Parent.Torso,
  5111. cframe = hit.Parent.Torso.CFrame
  5112. })
  5113. hit.Parent.Torso.Anchored = true
  5114. coroutine.resume(coroutine.create(function(Part)
  5115. swait(1.5)
  5116. Part.Anchored = false
  5117. end), hit.Parent.Torso)
  5118. game:GetService("Debris"):AddItem(BodPos, 3)
  5119. game:GetService("Debris"):AddItem(BodGy, 3)
  5120. end
  5121. local debounce = Create("BoolValue")({
  5122. Name = "DebounceHit",
  5123. Parent = hit.Parent,
  5124. Value = true
  5125. })
  5126. game:GetService("Debris"):AddItem(debounce, Delay)
  5127. c = Instance.new("ObjectValue")
  5128. c.Name = "creator"
  5129. c.Value = Player
  5130. c.Parent = h
  5131. game:GetService("Debris"):AddItem(c, 0.5)
  5132. end
  5133. end
  5134. function ShowDamage(Pos, Text, Time, Color)
  5135. local Rate = 0.03333333333333333
  5136. local Pos = Pos or Vector3.new(0, 0, 0)
  5137. local Text = Text or ""
  5138. local Time = Time or 2
  5139. local Color = Color or Color3.new(1, 0, 1)
  5140. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  5141. EffectPart.Anchored = true
  5142. local BillboardGui = Create("BillboardGui")({
  5143. Size = UDim2.new(3, 0, 3, 0),
  5144. Adornee = EffectPart,
  5145. Parent = EffectPart
  5146. })
  5147. local TextLabel = Create("TextLabel")({
  5148. BackgroundTransparency = 1,
  5149. Size = UDim2.new(1, 0, 1, 0),
  5150. Text = Text,
  5151. TextColor3 = Color,
  5152. TextScaled = true,
  5153. Font = Enum.Font.ArialBold,
  5154. Parent = BillboardGui
  5155. })
  5156. game.Debris:AddItem(EffectPart, Time + 0.1)
  5157. EffectPart.Parent = game:GetService("Workspace")
  5158. delay(0, function()
  5159. local Frames = Time / Rate
  5160. for Frame = 1, Frames do
  5161. wait(Rate)
  5162. local Percent = Frame / Frames
  5163. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  5164. TextLabel.TextTransparency = Percent
  5165. end
  5166. if EffectPart and EffectPart.Parent then
  5167. EffectPart:Destroy()
  5168. end
  5169. end)
  5170. end
  5171. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  5172. for _, c in pairs(workspace:children()) do
  5173. local hum = c:findFirstChildOfClass("Humanoid")
  5174. if hum ~= nil then
  5175. local head = c:findFirstChild("Head")
  5176. if head ~= nil then
  5177. local targ = head.Position - Part.Position
  5178. local mag = targ.magnitude
  5179. if magni >= mag and c.Name ~= Player.Name then
  5180. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  5181. end
  5182. end
  5183. end
  5184. end
  5185. end
  5186.  
  5187. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  5188. for _, c in pairs(workspace:children()) do
  5189. local hum = c:findFirstChild("Humanoid")
  5190. if hum ~= nil then
  5191. local head = c:findFirstChild("Torso")
  5192. if head ~= nil then
  5193. local targ = head.Position - Part.Position
  5194. local mag = targ.magnitude
  5195. if magni >= mag and c.Name ~= Player.Name then
  5196. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  5197. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  5198. end
  5199. end
  5200. end
  5201. end
  5202. end
  5203.  
  5204. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  5205. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  5206. end
  5207.  
  5208. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  5209. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5210. prt.Anchored=true
  5211. prt.CFrame=cframe
  5212. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  5213. --http://www.roblox.com/asset/?id=4770560
  5214. game:GetService("Debris"):AddItem(prt,2)
  5215. CF=prt.CFrame
  5216. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  5217. for i=0,1,0.2 do
  5218. wait()
  5219. Part.CFrame=CF*cf(0,0,-0.4)
  5220. end
  5221. for i=0,1,delay do
  5222. wait()
  5223. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  5224. Mesh.Scale=Mesh.Scale
  5225. end
  5226. for i=0,1,0.1 do
  5227. wait()
  5228. Part.Transparency=i
  5229. end
  5230. Part.Parent=nil
  5231. end),prt,msh,CF)
  5232. end
  5233.  
  5234. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5235. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5236. prt.Anchored=true
  5237. prt.Material = "Neon"
  5238. prt.CFrame=cframe
  5239. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5240. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5241. game:GetService("Debris"):AddItem(prt,5)
  5242. coroutine.resume(coroutine.create(function(Part,Mesh)
  5243. for i=0,1,delay do
  5244. swait()
  5245. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5246. Part.Transparency=i
  5247. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5248. end
  5249. Part.Parent=nil
  5250. end),prt,msh)
  5251. end
  5252.  
  5253. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  5254. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5255. prt.Anchored=true
  5256. prt.Material = "Neon"
  5257. prt.CFrame=cframe
  5258. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5259. game:GetService("Debris"):AddItem(prt,5)
  5260. coroutine.resume(coroutine.create(function(Part,Mesh)
  5261. local rtype = rottype
  5262. for i=0,1,delay do
  5263. swait()
  5264. if rtype == 1 then
  5265. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  5266. elseif rtype == 2 then
  5267. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  5268. end
  5269. Part.Transparency=i
  5270. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5271. end
  5272. Part.Parent=nil
  5273. end),prt,msh)
  5274. end
  5275.  
  5276. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5277. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5278. prt.Anchored=true
  5279. prt.CFrame=cframe
  5280. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5281. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  5282. game:GetService("Debris"):AddItem(prt,5)
  5283. coroutine.resume(coroutine.create(function(Part,Mesh)
  5284. for i=0,1,delay do
  5285. wait()
  5286. Part.Transparency=i
  5287. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5288. end
  5289. Part.Parent=nil
  5290. end),prt,msh)
  5291. end
  5292.  
  5293. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  5294. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5295. prt.Anchored=true
  5296. prt.Material = "Neon"
  5297. prt.CFrame=cframe
  5298. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5299. game:GetService("Debris"):AddItem(prt,5)
  5300. coroutine.resume(coroutine.create(function(Part,Mesh)
  5301. local rtype = rottype
  5302. for i=0,1,delay do
  5303. swait()
  5304. if rtype == 1 then
  5305. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  5306. elseif rtype == 2 then
  5307. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  5308. end
  5309. Part.Transparency=i
  5310. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5311. end
  5312. Part.Parent=nil
  5313. end),prt,msh)
  5314. end
  5315.  
  5316. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  5317. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5318. prt.Anchored=true
  5319. prt.Material = "Neon"
  5320. prt.CFrame=cframe
  5321. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  5322. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  5323. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  5324. game:GetService("Debris"):AddItem(prt,5)
  5325. coroutine.resume(coroutine.create(function(Part,Mesh)
  5326. local rtype = rottype
  5327. for i=0,1,delay do
  5328. swait()
  5329. if rtype == 1 then
  5330. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  5331. elseif rtype == 2 then
  5332. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  5333. end
  5334. dec.Transparency=i
  5335. dec2.Transparency=i
  5336. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  5337. end
  5338. Part.Parent=nil
  5339. end),prt,msh)
  5340. end
  5341.  
  5342. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  5343. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5344. prt.Anchored=true
  5345. prt.Material = "Neon"
  5346. prt.CFrame=cframe
  5347. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  5348. game:GetService("Debris"):AddItem(prt,5)
  5349. coroutine.resume(coroutine.create(function(Part,Mesh)
  5350. local rtype = rottype
  5351. for i=0,1,delay do
  5352. swait()
  5353. if rtype == 1 then
  5354. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  5355. elseif rtype == 2 then
  5356. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  5357. end
  5358. prt.Transparency=i
  5359. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  5360. end
  5361. Part.Parent=nil
  5362. end),prt,msh)
  5363. end
  5364.  
  5365. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  5366. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5367. prt.Anchored=true
  5368. prt.Material = "Neon"
  5369. prt.CFrame=cframe
  5370. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  5371. game:GetService("Debris"):AddItem(prt,5)
  5372. coroutine.resume(coroutine.create(function(Part,Mesh)
  5373. local rtype = rottype
  5374. for i=0,1,delay do
  5375. swait()
  5376. if rtype == 1 then
  5377. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  5378. elseif rtype == 2 then
  5379. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  5380. end
  5381. prt.Transparency=i
  5382. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  5383. end
  5384. Part.Parent=nil
  5385. end),prt,msh)
  5386. end
  5387.  
  5388. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  5389. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5390. prt.Anchored=true
  5391. prt.Material = "Neon"
  5392. prt.CFrame=cframe
  5393. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5394. game:GetService("Debris"):AddItem(prt,5)
  5395. coroutine.resume(coroutine.create(function(Part,Mesh)
  5396. local rtype = rottype
  5397. for i=0,1,delay do
  5398. swait()
  5399. if rtype == 1 then
  5400. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  5401. elseif rtype == 2 then
  5402. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  5403. end
  5404. prt.Transparency=i
  5405. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  5406. end
  5407. Part.Parent=nil
  5408. end),prt,msh)
  5409. end
  5410.  
  5411. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  5412. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5413. prt.Anchored=true
  5414. prt.Material = "Neon"
  5415. prt.CFrame=cframe
  5416. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5417. game:GetService("Debris"):AddItem(prt,5)
  5418. coroutine.resume(coroutine.create(function(Part,Mesh)
  5419. local rtype = rottype
  5420. for i=0,1,delay do
  5421. swait()
  5422. if rtype == 1 then
  5423. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  5424. elseif rtype == 2 then
  5425. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  5426. end
  5427. prt.Transparency=i
  5428. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5429. end
  5430. Part.Parent=nil
  5431. end),prt,msh)
  5432. end
  5433.  
  5434. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  5435. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5436. prt.Anchored=false
  5437. prt.CFrame=cframe
  5438. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5439. local wld=weld(prt,prt,Parent,cframe)
  5440. game:GetService("Debris"):AddItem(prt,5)
  5441. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  5442. for i=0,1,delay do
  5443. wait()
  5444. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  5445. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5446. Part.Transparency=i
  5447. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5448. end
  5449. Part.Parent=nil
  5450. end),prt,msh,wld)
  5451. end
  5452.  
  5453. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  5454. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5455. prt.Anchored=false
  5456. prt.CFrame=cframe
  5457. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5458. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  5459. game:GetService("Debris"):AddItem(prt,5)
  5460. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  5461. for i=0,1,delay do
  5462. wait()
  5463. Weld.C0=euler(i*20,0,0)
  5464. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5465. Part.Transparency=i
  5466. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5467. end
  5468. Part.Parent=nil
  5469. end),prt,msh,wld)
  5470. end
  5471.  
  5472. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5473. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5474. prt.Anchored=true
  5475. prt.CFrame=cframe
  5476. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  5477. game:GetService("Debris"):AddItem(prt,2)
  5478. coroutine.resume(coroutine.create(function(Part,Mesh)
  5479. for i=0,1,delay do
  5480. wait()
  5481. Part.CFrame=Part.CFrame
  5482. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5483. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5484. prt2.Anchored=true
  5485. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5486. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  5487. game:GetService("Debris"):AddItem(prt2,2)
  5488. coroutine.resume(coroutine.create(function(Part,Mesh)
  5489. for i=0,1,0.1 do
  5490. wait()
  5491. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  5492. end
  5493. Part.Parent=nil
  5494. end),prt2,msh2)
  5495. end
  5496. for i=0,1,delay*2 do
  5497. wait()
  5498. Part.CFrame=Part.CFrame
  5499. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  5500. end
  5501. Part.Parent=nil
  5502. end),prt,msh)
  5503. end
  5504.  
  5505. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5506. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5507. prt.Anchored=true
  5508. prt.CFrame=cframe
  5509. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  5510. game:GetService("Debris"):AddItem(prt,2)
  5511. coroutine.resume(coroutine.create(function(Part,Mesh)
  5512. for i=0,1,delay do
  5513. wait()
  5514. Part.CFrame=Part.CFrame
  5515. Part.Transparency=i
  5516. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5517. end
  5518. Part.Parent=nil
  5519. end),prt,msh)
  5520. end
  5521.  
  5522. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  5523. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5524. prt.Anchored=true
  5525. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5526. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  5527. game:GetService("Debris"):AddItem(prt,2)
  5528. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  5529. CF=Part.CFrame
  5530. Numbb=0
  5531. randnumb=math.random()/10
  5532. rand1=math.random()/10
  5533. for i=0,1,rand1 do
  5534. wait()
  5535. CF=CF*cf(0,math.random()/2,0)
  5536. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  5537. Part.CFrame=CF*euler(Numbb,0,0)
  5538. Part.Transparency=i
  5539. Numbb=Numbb+randnumb
  5540. end
  5541. Part.Parent=nil
  5542. end),prt,CF,Numbb,randnumb)
  5543. end
  5544.  
  5545. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5546. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5547. prt.Anchored=true
  5548. prt.CFrame=cframe
  5549. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  5550. game:GetService("Debris"):AddItem(prt,5)
  5551. coroutine.resume(coroutine.create(function(Part,Mesh)
  5552. for i=0,1,delay do
  5553. wait()
  5554. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  5555. Part.Transparency=i
  5556. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5557. end
  5558. Part.Parent=nil
  5559. end),prt,msh)
  5560. end
  5561.  
  5562. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5563. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5564. prt.Anchored=true
  5565. prt.CFrame=cframe
  5566. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  5567. game:GetService("Debris"):AddItem(prt,2)
  5568. coroutine.resume(coroutine.create(function(Part,Mesh)
  5569. for i=0,1,delay do
  5570. wait()
  5571. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  5572. Part.Transparency=i
  5573. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  5574. end
  5575. Part.Parent=nil
  5576. end),prt,msh)
  5577. end
  5578.  
  5579. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  5580. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  5581. prt.Anchored=true
  5582. prt.CFrame=cframe*cf(x,y,z)
  5583. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  5584. game:GetService("Debris"):AddItem(prt,5)
  5585. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  5586. local num=math.random()
  5587. local num2=math.random(-3,2)+math.random()
  5588. local numm=0
  5589. for i=0,1,delay*2 do
  5590. swait()
  5591. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  5592. Part.Transparency=i
  5593. numm=numm+0.01
  5594. end
  5595. Part.Parent=nil
  5596. Mesh.Parent=nil
  5597. end),prt,msh,x,y,z)
  5598. end
  5599.  
  5600. function dmgstart(dmg,what)
  5601. hitcon = what.Touched:connect(function(hit)
  5602. local hum = hit.Parent:FindFirstChild("Humanoid")
  5603. if hum and not hum:IsDescendantOf(Character) then
  5604. hum:TakeDamage(dmg)
  5605. end
  5606. end)
  5607. end
  5608.  
  5609. function dmgstop()
  5610. hitcon:disconnect()
  5611. end
  5612.  
  5613. function Cloak()
  5614. Face.Parent=nil
  5615. cloaked=true
  5616. for _,v in pairs(Torso.Parent:children()) do
  5617. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  5618. coroutine.resume(coroutine.create(function()
  5619. for i=0,1,0.2 do
  5620. wait()
  5621. v.Transparency=i
  5622. end
  5623. v.Transparency=1
  5624. end))
  5625. end
  5626. if v.className=="Hat" then
  5627. hatp=v.Handle
  5628. coroutine.resume(coroutine.create(function(derp)
  5629. for i=0,1,0.2 do
  5630. wait()
  5631. derp.Transparency=i
  5632. end
  5633. derp.Transparency=1
  5634. end),hatp)
  5635. end
  5636. end
  5637. for _,v in pairs(m:children()) do
  5638. if v.className=="Part" then
  5639. coroutine.resume(coroutine.create(function()
  5640. for i=0,1,0.2 do
  5641. wait()
  5642. v.Transparency=i
  5643. end
  5644. v.Transparency=1
  5645. end))
  5646. end
  5647. end
  5648. end
  5649.  
  5650. function UnCloak()
  5651. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  5652. Face.Parent=Head
  5653. cloaked=false
  5654. for _,v in pairs(Torso.Parent:children()) do
  5655. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  5656. coroutine.resume(coroutine.create(function()
  5657. for i=0,1,0.1 do
  5658. wait()
  5659. v.Transparency=v.Transparency-0.1
  5660. end
  5661. v.Transparency=0
  5662. end))
  5663. end
  5664. if v.className=="Hat" then
  5665. hatp=v.Handle
  5666. coroutine.resume(coroutine.create(function(derp)
  5667. for i=0,1,0.1 do
  5668. wait()
  5669. derp.Transparency=derp.Transparency-0.1
  5670. end
  5671. derp.Transparency=0
  5672. end),hatp)
  5673. end
  5674. end
  5675. for _,v in pairs(m:children()) do
  5676. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  5677. coroutine.resume(coroutine.create(function()
  5678. for i=0,1,0.1 do
  5679. wait()
  5680. v.Transparency=v.Transparency-0.1
  5681. end
  5682. v.Transparency=0
  5683. end))
  5684. v.Transparency=0
  5685. end
  5686. end
  5687. end
  5688.  
  5689. local origcolor = BrickColor.new("Pastel light blue")
  5690. ---- This section of explosions.
  5691. function Explode(rad,par,pitch,vol,mindam,maxdam)
  5692. local expart = Instance.new("Part",char)
  5693. local expart2 = Instance.new("Part",char)
  5694. local rin = Instance.new("Part",char)
  5695. local rin2 = Instance.new("Part",char)
  5696. local partMesh = Instance.new("SpecialMesh",expart)
  5697. partMesh.MeshType = "Sphere"
  5698. local partMesh2 = Instance.new("SpecialMesh",expart2)
  5699. partMesh2.MeshType = "Sphere"
  5700. local partMesh3 = Instance.new("SpecialMesh",rin)
  5701. partMesh3.MeshType = "Brick"
  5702. local partMesh4 = Instance.new("SpecialMesh",rin2)
  5703. partMesh4.MeshType = "Brick"
  5704. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  5705. partMesh.Scale = vt(rad,rad,rad)
  5706. expart.Size = vt(1,1,1)
  5707. expart.Transparency = 0
  5708. expart.Anchored = true
  5709. expart.Material = "Neon"
  5710. expart.BrickColor = bc("White")
  5711. expart.CFrame = par.CFrame
  5712. partMesh2.Scale = vt(rad,rad,rad)
  5713. expart2.Size = vt(1.15,1.15,1.15)
  5714. expart2.Transparency = 0.5
  5715. expart2.Anchored = true
  5716. expart2.Material = "Neon"
  5717. expart2.BrickColor = par.BrickColor
  5718. expart2.CFrame = par.CFrame
  5719. rin.Size = vt(1.15,1.15,1.15)
  5720. rin.Transparency = 1
  5721. rin.Anchored = true
  5722. rin.Material = "Neon"
  5723. rin.BrickColor = par.BrickColor
  5724. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5725. rin2.Size = vt(1.15,1.15,1.15)
  5726. rin2.Transparency = 1
  5727. rin2.Anchored = true
  5728. rin2.Material = "Neon"
  5729. rin2.BrickColor = par.BrickColor
  5730. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5731. partMesh3.Scale = vt(0,1,0)
  5732. partMesh4.Scale = vt(0,1,0)
  5733. local dec2 = Instance.new("Decal", rin)
  5734. dec2.Face = "Top"
  5735. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  5736. dec2.Parent = rin
  5737. local dec2b = dec2:Clone()
  5738. dec2b.Face = "Bottom"
  5739. dec2b.Parent = rin
  5740.  
  5741. local dec2a = Instance.new("Decal", rin2)
  5742. dec2a.Face = "Top"
  5743. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  5744. dec2a.Parent = rin2
  5745. local dec2ab = dec2a:Clone()
  5746. dec2ab.Face = "Bottom"
  5747. dec2ab.Parent = rin2
  5748. expart.CanCollide = false
  5749. expart2.CanCollide = false
  5750. rin.CanCollide = false
  5751. rin2.CanCollide = false
  5752. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  5753. local value = 1*rad/6.5
  5754. for i = 0, 199 do
  5755. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5756. expart.CFrame = expart.CFrame
  5757. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  5758. expart2.CFrame = expart.CFrame
  5759. value = value - 0.035*rad/30
  5760. if value < 7.5 then
  5761. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  5762. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  5763. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  5764. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  5765. end
  5766. if value < 0 then
  5767. dec2.Transparency = dec2.Transparency + 0.025
  5768. dec2a.Transparency = dec2a.Transparency + 0.025
  5769. dec2b.Transparency = dec2b.Transparency + 0.025
  5770. dec2ab.Transparency = dec2ab.Transparency + 0.025
  5771. expart.Transparency = expart.Transparency + 0.025
  5772. expart2.Transparency = expart2.Transparency + 0.025
  5773. rin.Transparency = rin.Transparency + 0.025
  5774. rin2.Transparency = rin2.Transparency + 0.025
  5775. end
  5776. swait()
  5777. end
  5778. game:GetService("Debris"):AddItem(expart, 1)
  5779. game:GetService("Debris"):AddItem(expart2, 1)
  5780. game:GetService("Debris"):AddItem(rin, 1)
  5781. game:GetService("Debris"):AddItem(rin2, 1)
  5782. end
  5783.  
  5784. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  5785. local expart = Instance.new("Part",char)
  5786. local expart2 = Instance.new("Part",char)
  5787. local partMesh = Instance.new("SpecialMesh",expart)
  5788. partMesh.MeshType = "Sphere"
  5789. local partMesh2 = Instance.new("SpecialMesh",expart2)
  5790. partMesh2.MeshType = "Sphere"
  5791. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  5792. partMesh.Scale = vt(rad,rad,rad)
  5793. expart.Size = vt(1,1,1)
  5794. expart.Transparency = 0
  5795. expart.Anchored = true
  5796. expart.Material = "Neon"
  5797. expart.BrickColor = bc("White")
  5798. expart.CFrame = par.CFrame
  5799. partMesh2.Scale = vt(rad,rad,rad)
  5800. expart2.Size = vt(1.15,1.15,1.15)
  5801. expart2.Transparency = 0.5
  5802. expart2.Anchored = true
  5803. expart2.Material = "Neon"
  5804. expart2.BrickColor = par.BrickColor
  5805. expart2.CFrame = par.CFrame
  5806. expart.CanCollide = false
  5807. expart2.CanCollide = false
  5808. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  5809. local value = 1*rad/6.5
  5810. for i = 0, 75 do
  5811. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5812. expart.CFrame = expart.CFrame
  5813. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  5814. expart2.CFrame = expart.CFrame
  5815. value = value - 0.035*rad/5
  5816. if value < 0 then
  5817. value = 0
  5818. expart.Transparency = expart.Transparency + 0.05
  5819. expart2.Transparency = expart2.Transparency + 0.05
  5820. end
  5821. swait()
  5822. end
  5823. game:GetService("Debris"):AddItem(expart, 1)
  5824. game:GetService("Debris"):AddItem(expart2, 1)
  5825. end
  5826.  
  5827. function AreaDanger(rad,par,mindam,maxdam)
  5828. local expart = Instance.new("Part",char)
  5829. local partMesh = Instance.new("SpecialMesh",expart)
  5830. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  5831. partMesh.MeshType = "Sphere"
  5832. partMesh.Scale = vt(rad,rad,rad)
  5833. expart.Size = vt(1,1,1)
  5834. expart.Transparency = 0.5
  5835. expart.Anchored = true
  5836. expart.Material = "Neon"
  5837. expart.CanCollide = false
  5838. expart.BrickColor = par.BrickColor
  5839. expart.CFrame = par.CFrame
  5840. local value = 1*rad/5
  5841. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  5842. for i = 0, 14 do
  5843. wait()
  5844. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5845. expart.CFrame = expart.CFrame
  5846. value = value - 0.035*rad
  5847. if value < 0 then
  5848. value = 0
  5849. end
  5850. end
  5851. wait(0.25)
  5852. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  5853. wait(0.5)
  5854. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  5855. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  5856. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  5857. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  5858. for i = 0, 14 do
  5859. wait()
  5860. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  5861. expart.CFrame = expart.CFrame
  5862. value = value - 0.035*rad/2
  5863. end
  5864. expart.Transparency = 1
  5865. game:GetService("Debris"):AddItem(expart, 5)
  5866. end
  5867.  
  5868. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  5869. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  5870. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  5871. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  5872. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  5873. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  5874. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  5875. for i = 0, 24 do
  5876. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  5877. end
  5878. for i = 0, 24 do
  5879. local expart = Instance.new("Part",char)
  5880. expart.Transparency = 1
  5881. expart.Anchored = true
  5882. expart.CanCollide = false
  5883. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  5884. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  5885. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  5886. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  5887. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  5888. for i = 0, 9 do
  5889. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  5890. end
  5891. game:GetService("Debris"):AddItem(expart, 2)
  5892. wait(0.1)
  5893. end
  5894. end
  5895.  
  5896. function EXterPlosion(par)
  5897. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  5898. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  5899. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  5900. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  5901. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  5902. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  5903. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  5904. for i = 0, 24 do
  5905. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  5906. end
  5907. for i = 0, 24 do
  5908. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  5909. end
  5910. end
  5911. ----
  5912.  
  5913.  
  5914. function ring(type,pos,scale,value)
  5915. local type = type
  5916. local rng = Instance.new("Part", char)
  5917. rng.Anchored = true
  5918. rng.BrickColor = origcolor
  5919. rng.CanCollide = false
  5920. rng.FormFactor = 3
  5921. rng.Name = "Ring"
  5922. rng.Size = Vector3.new(1, 1, 1)
  5923. rng.Transparency = 0
  5924. rng.TopSurface = 0
  5925. rng.BottomSurface = 0
  5926. rng.CFrame = pos
  5927. local rngm = Instance.new("SpecialMesh", rng)
  5928. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  5929. rngm.Scale = scale
  5930. local scaler2 = 1
  5931. if type == "Add" then
  5932. scaler2 = 1*value
  5933. elseif type == "Divide" then
  5934. scaler2 = 1/value
  5935. end
  5936. coroutine.resume(coroutine.create(function()
  5937. for i = 0,10,0.1 do
  5938. swait()
  5939. if type == "Add" then
  5940. scaler2 = scaler2 - 0.01*value
  5941. elseif type == "Divide" then
  5942. scaler2 = scaler2 - 0.01/value
  5943. end
  5944. rng.Transparency = rng.Transparency + 0.01
  5945. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  5946. end
  5947. rng:Destroy()
  5948. end))
  5949. end
  5950.  
  5951.  
  5952. function wave(type,pos,scale,value)
  5953. local type = type
  5954. local rng = Instance.new("Part", char)
  5955. rng.Anchored = true
  5956. rng.BrickColor = origcolor
  5957. rng.CanCollide = false
  5958. rng.FormFactor = 3
  5959. rng.Name = "Ring"
  5960. rng.Size = Vector3.new(1, 1, 1)
  5961. rng.Transparency = 0
  5962. rng.TopSurface = 0
  5963. rng.BottomSurface = 0
  5964. rng.CFrame = pos
  5965. local rngm = Instance.new("SpecialMesh", rng)
  5966. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  5967. rngm.Scale = scale
  5968. local scaler2 = 1
  5969. if type == "Add" then
  5970. scaler2 = 1*value
  5971. elseif type == "Divide" then
  5972. scaler2 = 1/value
  5973. end
  5974. coroutine.resume(coroutine.create(function()
  5975. for i = 0,10,0.1 do
  5976. swait()
  5977. if type == "Add" then
  5978. scaler2 = scaler2 - 0.01*value
  5979. elseif type == "Divide" then
  5980. scaler2 = scaler2 - 0.01/value
  5981. end
  5982. rng.Transparency = rng.Transparency + 0.01
  5983. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  5984. end
  5985. rng:Destroy()
  5986. end))
  5987. end
  5988.  
  5989. function wind(type,pos,scale,value,speed)
  5990. local type = type
  5991. local rng = Instance.new("Part", char)
  5992. rng.Anchored = true
  5993. rng.BrickColor = origcolor
  5994. rng.CanCollide = false
  5995. rng.FormFactor = 3
  5996. rng.Name = "Ring"
  5997. rng.Size = Vector3.new(1, 1, 1)
  5998. rng.Transparency = 0
  5999. rng.TopSurface = 0
  6000. rng.BottomSurface = 0
  6001. rng.CFrame = pos
  6002. local rngm = Instance.new("SpecialMesh", rng)
  6003. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  6004. rngm.Scale = scale
  6005. local scaler2 = 1
  6006. if type == "Add" then
  6007. scaler2 = 1*value
  6008. elseif type == "Divide" then
  6009. scaler2 = 1/value
  6010. end
  6011. coroutine.resume(coroutine.create(function()
  6012. for i = 0,10,0.1 do
  6013. swait()
  6014. if type == "Add" then
  6015. scaler2 = scaler2 - 0.01*value
  6016. elseif type == "Divide" then
  6017. scaler2 = scaler2 - 0.01/value
  6018. end
  6019. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  6020. rng.Transparency = rng.Transparency + 0.01
  6021. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  6022. end
  6023. rng:Destroy()
  6024. end))
  6025. end
  6026.  
  6027. function groundwind(type,pos,scale,value,speed)
  6028. local type = type
  6029. local rng = Instance.new("Part", char)
  6030. rng.Anchored = true
  6031. rng.BrickColor = origcolor
  6032. rng.CanCollide = false
  6033. rng.FormFactor = 3
  6034. rng.Name = "Ring"
  6035. rng.Size = Vector3.new(1, 1, 1)
  6036. rng.Transparency = 0
  6037. rng.TopSurface = 0
  6038. rng.BottomSurface = 0
  6039. rng.CFrame = pos
  6040. local rngm = Instance.new("SpecialMesh", rng)
  6041. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  6042. rngm.Scale = scale
  6043. local scaler2 = 1
  6044. if type == "Add" then
  6045. scaler2 = 1*value
  6046. elseif type == "Divide" then
  6047. scaler2 = 1/value
  6048. end
  6049. coroutine.resume(coroutine.create(function()
  6050. for i = 0,10,0.1 do
  6051. swait()
  6052. if type == "Add" then
  6053. scaler2 = scaler2 - 0.01*value
  6054. elseif type == "Divide" then
  6055. scaler2 = scaler2 - 0.01/value
  6056. end
  6057. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  6058. rng.Transparency = rng.Transparency + 0.01
  6059. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  6060. end
  6061. rng:Destroy()
  6062. end))
  6063. end
  6064.  
  6065. function CameraManager()
  6066. if TwoD and not CamInterrupt then
  6067. if Humanoid.Health > 0 then
  6068. Camera.CameraSubject = Humanoid
  6069. Camera.CameraType = "Scriptable"
  6070. Humanoid.AutoRotate = false
  6071. if Booleans.GyroUse then
  6072. Directer.MaxTorque = Vec3(0, huge, 0)
  6073. else
  6074. Directer.MaxTorque = Vec3(0, 0, 0)
  6075. end
  6076. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  6077. if Booleans.CamFollow then
  6078. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  6079. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  6080. else
  6081. CPart.Position = RootPart.Position
  6082. end
  6083. else
  6084. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  6085. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  6086. end
  6087. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  6088. else
  6089. Camera.CameraSubject = Humanoid
  6090. Camera.CameraType = "Custom"
  6091. Controller.Disabled = false
  6092. end
  6093. end
  6094. end
  6095.  
  6096. function sphere(bonuspeed,type,pos,scale,value,color)
  6097. local type = type
  6098. local rng = Instance.new("Part", char)
  6099. rng.Anchored = true
  6100. rng.BrickColor = color
  6101. rng.CanCollide = false
  6102. rng.FormFactor = 3
  6103. rng.Name = "Ring"
  6104. rng.Material = "Neon"
  6105. rng.Size = Vector3.new(1, 1, 1)
  6106. rng.Transparency = 0
  6107. rng.TopSurface = 0
  6108. rng.BottomSurface = 0
  6109. rng.CFrame = pos
  6110. local rngm = Instance.new("SpecialMesh", rng)
  6111. rngm.MeshType = "Sphere"
  6112. rngm.Scale = scale
  6113. if rainbowmode == true then
  6114. rng.Color = Color3.new(r/255,g/255,b/255)
  6115. end
  6116. local scaler2 = 1
  6117. if type == "Add" then
  6118. scaler2 = 1*value
  6119. elseif type == "Divide" then
  6120. scaler2 = 1/value
  6121. end
  6122. coroutine.resume(coroutine.create(function()
  6123. for i = 0,10/bonuspeed,0.1 do
  6124. swait()
  6125. if rainbowmode == true then
  6126. rng.Color = Color3.new(r/255,g/255,b/255)
  6127. end
  6128. if type == "Add" then
  6129. scaler2 = scaler2 - 0.01*value/bonuspeed
  6130. elseif type == "Divide" then
  6131. scaler2 = scaler2 - 0.01/value*bonuspeed
  6132. end
  6133. if chaosmode == true then
  6134. rng.BrickColor = BrickColor.random()
  6135. end
  6136. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  6137. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  6138. end
  6139. rng:Destroy()
  6140. end))
  6141. end
  6142.  
  6143. function spherew(bonuspeed,type,pos,scale,value,color)
  6144. local type = type
  6145. local rng = Instance.new("Part", workspace)
  6146. rng.Anchored = true
  6147. rng.BrickColor = color
  6148. rng.CanCollide = false
  6149. rng.FormFactor = 3
  6150. rng.Name = "Ring"
  6151. rng.Material = "Neon"
  6152. rng.Size = Vector3.new(1, 1, 1)
  6153. rng.Transparency = 0
  6154. rng.TopSurface = 0
  6155. rng.BottomSurface = 0
  6156. rng.CFrame = pos
  6157. local rngm = Instance.new("SpecialMesh", rng)
  6158. rngm.MeshType = "Sphere"
  6159. rngm.Scale = scale
  6160. if rainbowmode == true then
  6161. rng.Color = Color3.new(r/255,g/255,b/255)
  6162. end
  6163. local scaler2 = 1
  6164. if type == "Add" then
  6165. scaler2 = 1*value
  6166. elseif type == "Divide" then
  6167. scaler2 = 1/value
  6168. end
  6169. coroutine.resume(coroutine.create(function()
  6170. for i = 0,10/bonuspeed,0.1 do
  6171. swait()
  6172. if rainbowmode == true then
  6173. rng.Color = Color3.new(r/255,g/255,b/255)
  6174. end
  6175. if type == "Add" then
  6176. scaler2 = scaler2 - 0.01*value/bonuspeed
  6177. elseif type == "Divide" then
  6178. scaler2 = scaler2 - 0.01/value*bonuspeed
  6179. end
  6180. if chaosmode == true then
  6181. rng.BrickColor = BrickColor.random()
  6182. end
  6183. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  6184. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  6185. end
  6186. rng:Destroy()
  6187. end))
  6188. end
  6189.  
  6190. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  6191. local type = type
  6192. local rng = Instance.new("Part", char)
  6193. rng.Anchored = true
  6194. rng.BrickColor = color
  6195. rng.CanCollide = false
  6196. rng.FormFactor = 3
  6197. rng.Name = "Ring"
  6198. rng.Material = "Neon"
  6199. rng.Size = Vector3.new(1, 1, 1)
  6200. rng.Transparency = 0
  6201. rng.TopSurface = 0
  6202. rng.BottomSurface = 0
  6203. rng.CFrame = pos
  6204. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  6205. local rngm = Instance.new("SpecialMesh", rng)
  6206. rngm.MeshType = "Brick"
  6207. rngm.Scale = vt(x1,y1,z1)
  6208. if rainbowmode == true then
  6209. rng.Color = Color3.new(r/255,g/255,b/255)
  6210. end
  6211. local scaler2 = 1
  6212. local speeder = FastSpeed/10
  6213. if type == "Add" then
  6214. scaler2 = 1*value
  6215. elseif type == "Divide" then
  6216. scaler2 = 1/value
  6217. end
  6218. coroutine.resume(coroutine.create(function()
  6219. for i = 0,10/bonuspeed,0.1 do
  6220. swait()
  6221. if rainbowmode == true then
  6222. rng.Color = Color3.new(r/255,g/255,b/255)
  6223. end
  6224. if type == "Add" then
  6225. scaler2 = scaler2 - 0.01*value/bonuspeed
  6226. elseif type == "Divide" then
  6227. scaler2 = scaler2 - 0.01/value*bonuspeed
  6228. end
  6229. if chaosmode == true then
  6230. rng.BrickColor = BrickColor.random()
  6231. end
  6232. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  6233. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  6234. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  6235. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  6236. end
  6237. rng:Destroy()
  6238. end))
  6239. end
  6240.  
  6241. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  6242. local type = type
  6243. local rng = Instance.new("Part", char)
  6244. rng.Anchored = true
  6245. rng.BrickColor = color
  6246. rng.CanCollide = false
  6247. rng.FormFactor = 3
  6248. rng.Name = "Ring"
  6249. rng.Material = "Neon"
  6250. rng.Size = Vector3.new(1, 1, 1)
  6251. rng.Transparency = 0
  6252. rng.TopSurface = 0
  6253. rng.BottomSurface = 0
  6254. rng.CFrame = pos
  6255. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  6256. local rngm = Instance.new("SpecialMesh", rng)
  6257. rngm.MeshType = "Brick"
  6258. rngm.Scale = vt(x1,y1,z1)
  6259. if rainbowmode == true then
  6260. rng.Color = Color3.new(r/255,g/255,b/255)
  6261. end
  6262. local scaler2 = 0
  6263. local speeder = FastSpeed/10
  6264. if type == "Add" then
  6265. scaler2 = 1*value
  6266. elseif type == "Divide" then
  6267. scaler2 = 1/value
  6268. end
  6269. coroutine.resume(coroutine.create(function()
  6270. for i = 0,10/bonuspeed,0.1 do
  6271. swait()
  6272. if rainbowmode == true then
  6273. rng.Color = Color3.new(r/255,g/255,b/255)
  6274. end
  6275. if type == "Add" then
  6276. scaler2 = scaler2 - 0.01*value/bonuspeed
  6277. elseif type == "Divide" then
  6278. scaler2 = scaler2 - 0.01/value*bonuspeed
  6279. end
  6280. if chaosmode == true then
  6281. rng.BrickColor = BrickColor.random()
  6282. end
  6283. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  6284. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  6285. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  6286. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  6287. end
  6288. rng:Destroy()
  6289. end))
  6290. end
  6291.  
  6292. function sphereMKw(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  6293. local type = type
  6294. local rng = Instance.new("Part", workspace)
  6295. rng.Anchored = true
  6296. rng.BrickColor = color
  6297. rng.CanCollide = false
  6298. rng.FormFactor = 3
  6299. rng.Name = "Ring"
  6300. rng.Material = "Neon"
  6301. rng.Size = Vector3.new(1, 1, 1)
  6302. rng.Transparency = 0
  6303. rng.TopSurface = 0
  6304. rng.BottomSurface = 0
  6305. rng.CFrame = pos
  6306. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  6307. local rngm = Instance.new("SpecialMesh", rng)
  6308. rngm.MeshType = "Sphere"
  6309. rngm.Scale = vt(x1,y1,z1)
  6310. if rainbowmode == true then
  6311. rng.Color = Color3.new(r/255,g/255,b/255)
  6312. end
  6313. local scaler2 = 1
  6314. local speeder = FastSpeed
  6315. if type == "Add" then
  6316. scaler2 = 1*value
  6317. elseif type == "Divide" then
  6318. scaler2 = 1/value
  6319. end
  6320. coroutine.resume(coroutine.create(function()
  6321. for i = 0,10/bonuspeed,0.1 do
  6322. swait()
  6323. if rainbowmode == true then
  6324. rng.Color = Color3.new(r/255,g/255,b/255)
  6325. end
  6326. if type == "Add" then
  6327. scaler2 = scaler2 - 0.01*value/bonuspeed
  6328. elseif type == "Divide" then
  6329. scaler2 = scaler2 - 0.01/value*bonuspeed
  6330. end
  6331. if chaosmode == true then
  6332. rng.BrickColor = BrickColor.random()
  6333. end
  6334. speeder = speeder - 0.01*FastSpeed*bonuspeed
  6335. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  6336. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  6337. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  6338. end
  6339. rng:Destroy()
  6340. end))
  6341. end
  6342. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  6343. local type = type
  6344. local rng = Instance.new("Part", char)
  6345. rng.Anchored = true
  6346. rng.BrickColor = color
  6347. rng.CanCollide = false
  6348. rng.FormFactor = 3
  6349. rng.Name = "Ring"
  6350. rng.Material = "Neon"
  6351. rng.Size = Vector3.new(1, 1, 1)
  6352. rng.Transparency = 0
  6353. rng.TopSurface = 0
  6354. rng.BottomSurface = 0
  6355. rng.CFrame = pos
  6356. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  6357. local rngm = Instance.new("SpecialMesh", rng)
  6358. rngm.MeshType = "Sphere"
  6359. rngm.Scale = vt(x1,y1,z1)
  6360. if rainbowmode == true then
  6361. rng.Color = Color3.new(r/255,g/255,b/255)
  6362. end
  6363. local scaler2 = 1
  6364. local speeder = FastSpeed
  6365. if type == "Add" then
  6366. scaler2 = 1*value
  6367. elseif type == "Divide" then
  6368. scaler2 = 1/value
  6369. end
  6370. coroutine.resume(coroutine.create(function()
  6371. for i = 0,10/bonuspeed,0.1 do
  6372. swait()
  6373. if rainbowmode == true then
  6374. rng.Color = Color3.new(r/255,g/255,b/255)
  6375. end
  6376. if type == "Add" then
  6377. scaler2 = scaler2 - 0.01*value/bonuspeed
  6378. elseif type == "Divide" then
  6379. scaler2 = scaler2 - 0.01/value*bonuspeed
  6380. end
  6381. if chaosmode == true then
  6382. rng.BrickColor = BrickColor.random()
  6383. end
  6384. speeder = speeder - 0.01*FastSpeed*bonuspeed
  6385. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  6386. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  6387. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  6388. end
  6389. rng:Destroy()
  6390. end))
  6391. end
  6392.  
  6393.  
  6394. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  6395. local type = type
  6396. local rng = Instance.new("Part", char)
  6397. rng.Anchored = true
  6398. rng.BrickColor = color
  6399. rng.CanCollide = false
  6400. rng.FormFactor = 3
  6401. rng.Name = "Ring"
  6402. rng.Material = "Neon"
  6403. rng.Size = Vector3.new(1, 1, 1)
  6404. rng.Transparency = 1
  6405. rng.TopSurface = 0
  6406. rng.BottomSurface = 0
  6407. rng.CFrame = pos
  6408. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  6409. local rngm = Instance.new("SpecialMesh", rng)
  6410. rngm.MeshType = "Sphere"
  6411. rngm.Scale = vt(x1,y1,z1)
  6412. if rainbowmode == true then
  6413. rng.Color = Color3.new(r/255,g/255,b/255)
  6414. end
  6415. local scaler2 = 1
  6416. local speeder = FastSpeed
  6417. if type == "Add" then
  6418. scaler2 = 1*value
  6419. elseif type == "Divide" then
  6420. scaler2 = 1/value
  6421. end
  6422. coroutine.resume(coroutine.create(function()
  6423. for i = 0,10/bonuspeed,0.1 do
  6424. swait()
  6425. if rainbowmode == true then
  6426. rng.Color = Color3.new(r/255,g/255,b/255)
  6427. end
  6428. if type == "Add" then
  6429. scaler2 = scaler2 - 0.01*value/bonuspeed
  6430. elseif type == "Divide" then
  6431. scaler2 = scaler2 - 0.01/value*bonuspeed
  6432. end
  6433. if chaosmode == true then
  6434. rng.BrickColor = BrickColor.random()
  6435. end
  6436. speeder = speeder - 0.01*FastSpeed*bonuspeed
  6437. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  6438. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  6439. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  6440. end
  6441. rng:Destroy()
  6442. end))
  6443. end
  6444.  
  6445. function dmg(dude)
  6446. if dude.Name ~= Character then
  6447. local bgf = Instance.new("BodyGyro",dude.Head)
  6448. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  6449. local val = Instance.new("BoolValue",dude)
  6450. val.Name = "IsHit"
  6451. local ds = coroutine.wrap(function()
  6452. dude:WaitForChild("Head"):BreakJoints()
  6453. wait(0.5)
  6454. targetted = nil
  6455. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  6456. coroutine.resume(coroutine.create(function()
  6457. for i, v in pairs(dude:GetChildren()) do
  6458. if v:IsA("Accessory") then
  6459. v:Destroy()
  6460. end
  6461. if v:IsA("Humanoid") then
  6462. v:Destroy()
  6463. end
  6464. if v:IsA("CharacterMesh") then
  6465. v:Destroy()
  6466. end
  6467. if v:IsA("Model") then
  6468. v:Destroy()
  6469. end
  6470. if v:IsA("Part") or v:IsA("MeshPart") then
  6471. for x, o in pairs(v:GetChildren()) do
  6472. if o:IsA("Decal") then
  6473. o:Destroy()
  6474. end
  6475. end
  6476. coroutine.resume(coroutine.create(function()
  6477. v.Material = "Neon"
  6478. v.CanCollide = false
  6479. local bld = Instance.new("ParticleEmitter",v)
  6480. bld.LightEmission = 1
  6481. bld.Texture = "rbxassetid://284205403"
  6482. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6483. bld.Rate = 50
  6484. bld.Lifetime = NumberRange.new(1)
  6485. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  6486. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6487. bld.Speed = NumberRange.new(0,0)
  6488. bld.VelocitySpread = 50000
  6489. bld.Rotation = NumberRange.new(-500,500)
  6490. bld.RotSpeed = NumberRange.new(-500,500)
  6491. local sbs = Instance.new("BodyPosition", v)
  6492. sbs.P = 3000
  6493. sbs.D = 1000
  6494. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  6495. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  6496. v.Color = Color3.new(1,1,1)
  6497. coroutine.resume(coroutine.create(function()
  6498. for i = 0, 49 do
  6499. swait(1)
  6500. v.Transparency = v.Transparency + 0.02
  6501. end
  6502. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  6503. bld.Speed = NumberRange.new(1,5)
  6504. bld.Acceleration = vt(0,10,0)
  6505. wait(0.5)
  6506. bld.Enabled = false
  6507. wait(3)
  6508. v:Destroy()
  6509. dude:Destroy()
  6510. end))
  6511. end))
  6512. end
  6513. end
  6514. end))
  6515. end)
  6516. ds()
  6517. end
  6518. end
  6519.  
  6520.  
  6521. function FindNearestHead(Position, Distance, SinglePlayer)
  6522. if SinglePlayer then
  6523. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  6524. end
  6525. local List = {}
  6526. for i, v in pairs(workspace:GetChildren()) do
  6527. if v:IsA("Model") then
  6528. if v:findFirstChild("Head") then
  6529. if v ~= Character then
  6530. if (v.Head.Position - Position).magnitude <= Distance then
  6531. table.insert(List, v)
  6532. end
  6533. end
  6534. end
  6535. end
  6536. end
  6537. return List
  6538. end
  6539.  
  6540. function FaceMouse()
  6541. Cam = workspace.CurrentCamera
  6542. return {
  6543. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  6544. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  6545. }
  6546. end
  6547.  
  6548. function FaceMouse2()
  6549. Cam = workspace.CurrentCamera
  6550. return {
  6551. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  6552. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  6553. }
  6554. end
  6555.  
  6556. local ModeOfGlitch = 1
  6557. -- Functions are ready.
  6558. local storehumanoidWS = 16
  6559.  
  6560. function Blink()
  6561. for i = 0, 14 do
  6562. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  6563. end
  6564. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6565. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  6566. CameraEnshaking(2,10)
  6567. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  6568. if v:FindFirstChild('Head') then
  6569. end
  6570. end
  6571. for i = 0, 14 do
  6572. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  6573. end
  6574. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6575. end
  6576.  
  6577. function ExtinctiveHeartbreak()
  6578. local targetted = nil
  6579. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6580. targetted = mouse.Target.Parent
  6581. end
  6582. if targetted ~= nil then
  6583. attack = true
  6584. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6585. for i = 0, 9 do
  6586. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6587. end
  6588. for i = 0, 24 do
  6589. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  6590. end
  6591. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6592. local originalpos = root.CFrame
  6593. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  6594. for i = 0, 9 do
  6595. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6596. end
  6597. for i = 0, 24 do
  6598. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  6599. end
  6600. hum.WalkSpeed = 0
  6601. targetted.Head.Anchored = true
  6602. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6603. for i = 0,2,0.1 do
  6604. swait()
  6605. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  6606. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  6607. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  6608. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  6609. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  6610. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  6611. end
  6612. coroutine.resume(coroutine.create(function()
  6613. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  6614. bld.LightEmission = 0.1
  6615. bld.Texture = "rbxassetid://284205403"
  6616. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  6617. bld.Rate = 500
  6618. bld.Lifetime = NumberRange.new(1)
  6619. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6620. bld.Acceleration = vt(0,-25,0)
  6621. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6622. bld.Speed = NumberRange.new(10,50)
  6623. bld.EmissionDirection = "Front"
  6624. bld.VelocitySpread = 25
  6625. bld.Rotation = NumberRange.new(-500,500)
  6626. bld.RotSpeed = NumberRange.new(-500,500)
  6627. end))
  6628. coroutine.resume(coroutine.create(function()
  6629. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  6630. bld.LightEmission = 0.1
  6631. bld.Texture = "rbxassetid://284205403"
  6632. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  6633. bld.Rate = 500
  6634. bld.Lifetime = NumberRange.new(1)
  6635. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6636. bld.Acceleration = vt(0,-25,0)
  6637. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6638. bld.Speed = NumberRange.new(10,50)
  6639. bld.EmissionDirection = "Front"
  6640. bld.VelocitySpread = 25
  6641. bld.Rotation = NumberRange.new(-500,500)
  6642. bld.RotSpeed = NumberRange.new(-500,500)
  6643. end))
  6644. CameraEnshaking(5,5)
  6645. game:GetService("Debris"):AddItem(bld,3)
  6646. dmg(targetted)
  6647. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  6648. for i = 0,1,0.1 do
  6649. swait()
  6650. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  6651. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  6652. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  6653. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  6654. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  6655. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  6656. end
  6657. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6658. for i = 0, 9 do
  6659. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6660. end
  6661. for i = 0, 24 do
  6662. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  6663. end
  6664. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6665. root.CFrame = originalpos
  6666. for i = 0, 9 do
  6667. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6668. end
  6669. for i = 0, 24 do
  6670. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  6671. end
  6672. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6673. bld.Enabled = false
  6674. attack = false
  6675. hum.WalkSpeed = storehumanoidWS
  6676. end
  6677. end
  6678. function MeteorStrike()
  6679. attack = true
  6680. for i = 0, 2, 0.1 do
  6681. swait()
  6682. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6683. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6684. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  6685. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  6686. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  6687. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  6688. end
  6689. CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
  6690. for i=1,20 do
  6691. sphereMKCharge(5,-0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  6692. swait()
  6693. end
  6694. swait(30)
  6695. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  6696. for i =1,20 do
  6697. sphereMKw(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,MAINRUINCOLOR,0)
  6698. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
  6699. end
  6700. for i = 0,2,0.1 do
  6701. swait()
  6702. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  6703. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  6704. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  6705. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  6706. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  6707. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  6708. end
  6709. for i =1,20 do
  6710. sphereMKw(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0)
  6711. end
  6712. text.TextTransparency = 1
  6713. text.TextStrokeTransparency = 1
  6714. tr2.Enabled = false
  6715. tr1.Enabled = false
  6716. tr3.Enabled = false
  6717. tl1.Enabled = false
  6718. tl2.Enabled = false
  6719. tl3.Enabled = false
  6720. spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  6721. eff = false
  6722. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6723. local invtab = {}
  6724. local function search(targ)
  6725. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  6726. table.insert(invtab,targ)
  6727. end
  6728. for i,v in pairs(targ:GetChildren()) do
  6729. search(v)
  6730. end
  6731. end
  6732. search(plr.Character)
  6733. local frm = 0
  6734. local frmcon
  6735. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  6736. if frm < 10 then
  6737. for i,v in pairs(invtab) do
  6738. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  6739. v.Transparency = v.Transparency + 0.1
  6740. end
  6741. end
  6742. frm = frm + 1
  6743. else
  6744. frmcon:disconnect()
  6745. end
  6746. end)
  6747. swait(200)
  6748. text.TextTransparency = 0
  6749. text.TextStrokeTransparency = 0
  6750. tr2.Enabled = false
  6751. tr1.Enabled = false
  6752. tr3.Enabled = false
  6753. tl1.Enabled = false
  6754. tl2.Enabled = false
  6755. tl3.Enabled = false
  6756. eff = true
  6757. for i =1,20 do
  6758. sphereMKw(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0)
  6759. end
  6760. spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  6761. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6762. local invtab = {}
  6763. local function search(targ)
  6764. if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
  6765. table.insert(invtab,targ)
  6766. end
  6767. for i,v in pairs(targ:GetChildren()) do
  6768. search(v)
  6769. end
  6770. end
  6771. search(plr.Character)
  6772. local frm = 0
  6773. local frmcon
  6774. frmcon = game:GetService("RunService").Heartbeat:connect(function()
  6775. if frm < 10 then
  6776. for i,v in pairs(invtab) do
  6777. if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture") then
  6778. v.Transparency = v.Transparency - 0.1
  6779. end
  6780. end
  6781. frm = frm + 1
  6782. else
  6783. frmcon:disconnect()
  6784. end
  6785. end)
  6786. swait(5)
  6787. for i = 0, 2, 0.1 do
  6788. swait()
  6789. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6790. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6791. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
  6792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
  6793. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
  6794. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  6795. end
  6796. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  6797. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  6798. MagniDamage(root, 30, 65,90, 0, "Normal")
  6799. for i =1,20 do
  6800. sphereMK(1,1,"Add",Torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,0.05,MAINRUINCOLOR,0)
  6801. end
  6802. sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR)
  6803. for i =1,20 do
  6804. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,MAINRUINCOLOR,0)
  6805. end
  6806. swait(20)
  6807. attack = false
  6808. tr2.Enabled = true
  6809. tr1.Enabled = true
  6810. tr3.Enabled = true
  6811. tl1.Enabled = true
  6812. tl2.Enabled = true
  6813. tl3.Enabled = true
  6814. end
  6815. function FinalCalam()
  6816. attack = true
  6817. hum.WalkSpeed = 0
  6818. local orb = Instance.new("Part", char)
  6819. orb.Anchored = true
  6820. orb.BrickColor = MAINRUINCOLOR
  6821. orb.CanCollide = false
  6822. orb.FormFactor = 3
  6823. orb.Name = "Ring"
  6824. orb.Material = "Neon"
  6825. orb.Size = Vector3.new(1, 1, 1)
  6826. orb.Transparency = 0
  6827. orb.TopSurface = 0
  6828. orb.BottomSurface = 0
  6829. local orbm = Instance.new("SpecialMesh", orb)
  6830. orbm.MeshType = "Sphere"
  6831. orbm.Name = "SizeMesh"
  6832. orbm.Scale = vt(0,0,0)
  6833. local scaled = 0.1
  6834. local posid = 0
  6835. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  6836. for i = 0, 5, 0.1 do
  6837. swait()
  6838. scaled = scaled - 0.001
  6839. posid = posid - scaled
  6840. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6841. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  6842. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
  6843. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  6844. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6846. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  6847. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  6848. end
  6849. swait(60)
  6850. for i =1,3 do
  6851. swait(30)
  6852. CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
  6853. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  6854. end
  6855. swait(30)
  6856. for i = 0, 2, 0.1 do
  6857. swait()
  6858. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6859. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6860. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6861. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  6862. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  6863. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  6864. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  6865. end
  6866. swait(60)
  6867. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  6868. CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
  6869. sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
  6870. sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
  6871. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6872. if v:FindFirstChild('Head') then
  6873. dmg(v)
  6874. end
  6875. end
  6876. for i = 1,20 do
  6877. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,MAINRUINCOLOR,0)
  6878. for i = 0, 10 do
  6879. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,MAINRUINCOLOR,0)
  6880. end
  6881. end
  6882. orb:Remove()
  6883. attack = false
  6884. hum.WalkSpeed = storehumanoidWS
  6885. end
  6886. function PureBomb()
  6887. attack = true
  6888.  
  6889. local orb = Instance.new("Part", char)
  6890. orb.Anchored = true
  6891. orb.BrickColor = BrickColor.new("Toothpaste")
  6892. orb.CanCollide = false
  6893. orb.FormFactor = 3
  6894. orb.Name = "Ring"
  6895. orb.Material = "Neon"
  6896. orb.Size = Vector3.new(1, 1, 1)
  6897. orb.Transparency = 0
  6898. orb.TopSurface = 0
  6899. orb.BottomSurface = 0
  6900. local orbm = Instance.new("SpecialMesh", orb)
  6901. orbm.MeshType = "Sphere"
  6902. orbm.Name = "SizeMesh"
  6903. orbm.Scale = vt(0,0,0)
  6904. local scaled = 0.1
  6905. local posid = 0
  6906. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  6907. for i = 0, 5, 0.1 do
  6908. swait()
  6909. scaled = scaled - 0.001
  6910. posid = posid - scaled
  6911. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6912. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  6913. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  6914. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  6915. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  6916. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  6917. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6918. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6919. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  6920. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  6921. end
  6922. for i = 0, 2, 0.1 do
  6923. swait()
  6924. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  6925. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6926. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6927. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  6928. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  6929. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  6930. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  6931. end
  6932. coroutine.resume(coroutine.create(function()
  6933. orb.Anchored = false
  6934. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  6935. local a = Instance.new("Part",workspace)
  6936. a.Name = "Direction"
  6937. a.Anchored = true
  6938. a.BrickColor = bc("Bright red")
  6939. a.Material = "Neon"
  6940. a.Transparency = 1
  6941. a.CanCollide = false
  6942. local ray = Ray.new(
  6943. orb.CFrame.p, -- origin
  6944. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6945. )
  6946. local ignore = orb
  6947. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6948. a.BottomSurface = 10
  6949. a.TopSurface = 10
  6950. local distance = (orb.CFrame.p - position).magnitude
  6951. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6952. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6953. orb.CFrame = a.CFrame
  6954. a:Destroy()
  6955. local bv = Instance.new("BodyVelocity")
  6956. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6957. bv.velocity = orb.CFrame.lookVector*125
  6958. bv.Parent = orb
  6959. local hitted = false
  6960. game:GetService("Debris"):AddItem(orb, 15)
  6961. wait()
  6962. local hit =orb.Touched:connect(function(hit)
  6963. if hitted == false then
  6964. hitted = true
  6965. CameraEnshaking(10,2.5)
  6966. MagniDamage(orb, 65, 65,90, 0, "Normal")
  6967. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  6968. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  6969. for i = 0, 49 do
  6970. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  6971. end
  6972. for i = 0, 9 do
  6973. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  6974. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  6975. end
  6976. orb.Anchored = true
  6977. orb.Transparency = 1
  6978. wait(8)
  6979. orb:Destroy()
  6980. end
  6981. end)
  6982. end))
  6983. for i = 0, 1, 0.1 do
  6984. swait()
  6985. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6986. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6987. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  6988. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  6989. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  6990. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  6991. end
  6992. attack = false
  6993. end
  6994.  
  6995. function ChaosGroundStrike()
  6996. attack = true
  6997. for i = 0, 2, 0.1 do
  6998. swait()
  6999. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  7000. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  7001. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7002. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7003. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  7004. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  7005. end
  7006. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  7007. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  7008. CameraEnshaking(4,12)
  7009. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  7010. if v:FindFirstChild('Head') then
  7011. dmg(v)
  7012. end
  7013. end
  7014. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  7015. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  7016. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  7017. for i = 0, 2, 0.1 do
  7018. swait()
  7019. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  7020. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  7021. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  7022. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  7023. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  7024. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  7025. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  7026. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  7027. end
  7028. attack = false
  7029. end
  7030.  
  7031. function Starfall()
  7032. attack = true
  7033. hum.WalkSpeed = 0
  7034. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  7035. for i = 0, 5, 0.1 do
  7036. swait()
  7037. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  7038. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  7039. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7040. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7041. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7042. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7043. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  7044. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  7045. end
  7046. local Overed = false
  7047. CameraEnshaking(2,20)
  7048. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  7049. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  7050. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7051. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  7052. local orb = Instance.new("Part", char)
  7053. orb.Anchored = true
  7054. orb.BrickColor = BrickColor.new("Toothpaste")
  7055. orb.CanCollide = false
  7056. orb.FormFactor = 3
  7057. orb.Name = "Remenant"
  7058. orb.Material = "Neon"
  7059. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  7060. orb.Size = Vector3.new(1, 1, 1)
  7061. orb.Transparency = 1
  7062. orb.TopSurface = 0
  7063. orb.BottomSurface = 0
  7064. hum.WalkSpeed = storehumanoidWS
  7065. coroutine.resume(coroutine.create(function()
  7066. for i = 0, 9 do
  7067. swait(10)
  7068. local lb = Instance.new("Part")
  7069. lb.Color = MAINRUINCOLOR.Color
  7070. lb.CanCollide = false
  7071. lb.Material = "Neon"
  7072. lb.Anchored = true
  7073. lb.TopSurface = 0
  7074. lb.BottomSurface = 0
  7075. lb.Transparency = 0
  7076. lb.Size = vt(1,1,1)
  7077. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  7078. lb.Anchored = false
  7079. lb.Parent = char
  7080. local thingery = Instance.new("SpecialMesh",lb)
  7081. thingery.MeshType = "Sphere"
  7082. thingery.Scale = vt(20,20,20)
  7083. game:GetService("Debris"):AddItem(lb, 10)
  7084. local bv = Instance.new("BodyVelocity")
  7085. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7086. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  7087. bv.Parent = lb
  7088. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  7089. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  7090. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  7091. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  7092. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  7093. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  7094. local hitted = false
  7095. coroutine.resume(coroutine.create(function()
  7096. while true do
  7097. swait(1)
  7098. if lb.Parent ~= nil and hitted == false then
  7099. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  7100. elseif lb.Parent == nil then
  7101. break
  7102. end
  7103. end
  7104. end))
  7105.  
  7106. game:GetService("Debris"):AddItem(a, 0.1)
  7107.  
  7108. coroutine.resume(coroutine.create(function()
  7109. swait(1)
  7110. lb.Touched:connect(function(hit)
  7111. if hitted == false then
  7112. hitted = true
  7113. lb.Transparency = 1
  7114. lb.Anchored = true
  7115. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  7116. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  7117. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  7118. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  7119. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  7120. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  7121. MagniDamage(lb, 45, 45,85, 0, "Normal")
  7122. CameraEnshaking(1,5)
  7123. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  7124. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  7125. for i = 0, 9 do
  7126. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  7127. end
  7128. for i = 0, 49 do
  7129. swait()
  7130. MagniDamage(lb, 30, 2,4, 0, "Normal")
  7131. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  7132. end
  7133. end
  7134. end)
  7135. end))
  7136. end
  7137. Overed = true
  7138. orb:Destroy()
  7139. end))
  7140.  
  7141. attack = false
  7142. end
  7143.  
  7144. function StarfallEX()
  7145. attack = true
  7146. hum.WalkSpeed = 0
  7147. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  7148. for i = 0, 5, 0.1 do
  7149. swait()
  7150. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  7151. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  7152. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7153. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  7157. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  7158. end
  7159. local Overed = false
  7160. CameraEnshaking(2,20)
  7161. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  7162. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  7163. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7164. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  7165. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  7166. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  7167. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  7168. local orb = Instance.new("Part", char)
  7169. orb.Anchored = true
  7170. orb.BrickColor = BrickColor.new("Toothpaste")
  7171. orb.CanCollide = false
  7172. orb.FormFactor = 3
  7173. orb.Name = "Remenant"
  7174. orb.Material = "Neon"
  7175. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  7176. orb.Size = Vector3.new(1, 1, 1)
  7177. orb.Transparency = 1
  7178. orb.TopSurface = 0
  7179. orb.BottomSurface = 0
  7180. hum.WalkSpeed = storehumanoidWS
  7181. coroutine.resume(coroutine.create(function()
  7182. for i = 0, 9 do
  7183. swait(10)
  7184. local lb = Instance.new("Part")
  7185. lb.Color = MAINRUINCOLOR.Color
  7186. lb.CanCollide = false
  7187. lb.Material = "Neon"
  7188. lb.Anchored = true
  7189. lb.TopSurface = 0
  7190. lb.BottomSurface = 0
  7191. lb.Transparency = 0
  7192. lb.Size = vt(1,1,1)
  7193. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  7194. lb.Anchored = false
  7195. lb.Parent = char
  7196. local thingery = Instance.new("SpecialMesh",lb)
  7197. thingery.MeshType = "Sphere"
  7198. thingery.Scale = vt(20,20,20)
  7199. game:GetService("Debris"):AddItem(lb, 10)
  7200. local bv = Instance.new("BodyVelocity")
  7201. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7202. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  7203. bv.Parent = lb
  7204. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  7205. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  7206. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  7207. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  7208. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  7209. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  7210. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  7211. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  7212. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  7213. local hitted = false
  7214. coroutine.resume(coroutine.create(function()
  7215. while true do
  7216. swait(1)
  7217. if lb.Parent ~= nil and hitted == false then
  7218. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  7219. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  7220. elseif lb.Parent == nil then
  7221. break
  7222. end
  7223. end
  7224. end))
  7225.  
  7226. game:GetService("Debris"):AddItem(a, 0.1)
  7227.  
  7228. coroutine.resume(coroutine.create(function()
  7229. swait(1)
  7230. lb.Touched:connect(function(hit)
  7231. if hitted == false then
  7232. hitted = true
  7233. lb.Transparency = 1
  7234. lb.Anchored = true
  7235. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  7236. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  7237. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  7238. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  7239. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  7240. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  7241. MagniDamage(lb, 45, 45,85, 0, "Normal")
  7242. CameraEnshaking(10,5)
  7243. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  7244. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  7245. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  7246. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  7247. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  7248. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  7249. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  7250. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  7251. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  7252. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  7253. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  7254. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  7255. for i = 0, 9 do
  7256. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  7257. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  7258. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  7259. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  7260. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  7261. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  7262. end
  7263. for i = 0, 49 do
  7264. swait()
  7265. MagniDamage(lb, 30, 30, 60, 0, "Normal")
  7266. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  7267. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  7268. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  7269. end
  7270. end
  7271. end)
  7272. end))
  7273. end
  7274. Overed = true
  7275. orb:Destroy()
  7276. end))
  7277.  
  7278. attack = false
  7279. end
  7280.  
  7281. function StarDivision()
  7282. attack = true
  7283. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  7284. for i = 0, 2, 0.1 do
  7285. swait()
  7286. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  7287. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  7288. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  7289. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  7290. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  7291. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  7292. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  7293. end
  7294. local orb = Instance.new("Part", char)
  7295. orb.BrickColor = MAINRUINCOLOR
  7296. orb.CanCollide = false
  7297. orb.FormFactor = 3
  7298. orb.Name = "Ring"
  7299. orb.Material = "Neon"
  7300. orb.Size = Vector3.new(1, 1, 1)
  7301. orb.Transparency = 0
  7302. orb.TopSurface = 0
  7303. orb.BottomSurface = 0
  7304. local orbm = Instance.new("SpecialMesh", orb)
  7305. orbm.MeshType = "Sphere"
  7306. orbm.Name = "SizeMesh"
  7307. orbm.Scale = vt(2,2,2)
  7308. local a = Instance.new("Part",workspace)
  7309. a.Name = "Direction"
  7310. a.Anchored = true
  7311. a.BrickColor = bc("Bright red")
  7312. a.Material = "Neon"
  7313. a.Transparency = 1
  7314. a.CanCollide = false
  7315. local ray = Ray.new(
  7316. sorb.CFrame.p, -- origin
  7317. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  7318. )
  7319. local ignore = sorb
  7320. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7321. a.BottomSurface = 10
  7322. a.TopSurface = 10
  7323. local distance = (sorb.CFrame.p - position).magnitude
  7324. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7325. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7326. orb.CFrame = a.CFrame
  7327. a:Destroy()
  7328. local bv = Instance.new("BodyVelocity")
  7329. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7330. bv.velocity = orb.CFrame.lookVector*100
  7331. bv.Parent = orb
  7332. local hitted = false
  7333. game:GetService("Debris"):AddItem(orb, 10)
  7334. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  7335. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  7336. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  7337. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  7338. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  7339. coroutine.resume(coroutine.create(function()
  7340. while true do
  7341. swait(1)
  7342. if orb.Parent ~= nil and hitted == false then
  7343. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  7344. elseif orb.Parent == nil then
  7345. break
  7346. end
  7347. end
  7348. end))
  7349. coroutine.resume(coroutine.create(function()
  7350. swait(1)
  7351. orb.Touched:connect(function(hit)
  7352. if hitted == false then
  7353. hitted = true
  7354. game:GetService("Debris"):AddItem(orb, 5)
  7355. orb.Transparency = 1
  7356. orb.Anchored = true
  7357. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7358. elocacenter.Anchored = true
  7359. elocacenter.CFrame = orb.CFrame
  7360. elocacenter.Orientation = vt(0,0,0)
  7361. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7362. eloca1.Anchored = true
  7363. eloca1.CFrame = elocacenter.CFrame
  7364. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7365. eloca2.Anchored = true
  7366. eloca2.CFrame = elocacenter.CFrame
  7367. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7368. eloca3.Anchored = true
  7369. eloca3.CFrame = elocacenter.CFrame
  7370. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  7371. eloca4.Anchored = true
  7372. eloca4.CFrame = elocacenter.CFrame
  7373. local lookavec = 0
  7374. local speeds = 0
  7375. CameraEnshaking(1,1)
  7376. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  7377. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7378. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7379. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7380. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7381. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7382. for i = 0, 99 do
  7383. swait()
  7384. lookavec = lookavec + 1
  7385. speeds = speeds + 0.1
  7386. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7387. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7388. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7389.  
  7390. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7391. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7392.  
  7393. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7394. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7395.  
  7396. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7397. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7398. end
  7399.  
  7400. for i = 0, 149 do
  7401. swait()
  7402. speeds = speeds + 0.1
  7403. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7404. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7405. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7406.  
  7407. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7408. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7409.  
  7410. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7411. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7412.  
  7413. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7414. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  7415. end
  7416. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  7417. if v:FindFirstChild('Head') then
  7418. dmg(v)
  7419. end
  7420. end
  7421. CameraEnshaking(7,30)
  7422. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  7423. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  7424. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  7425. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  7426. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  7427. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  7428. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  7429. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7430. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7431. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7432. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7433. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  7434. for i = 0, 24 do
  7435. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  7436. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  7437. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  7438. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  7439. end
  7440. coroutine.resume(coroutine.create(function()
  7441. for i = 0, 499 do
  7442. swait(1)
  7443. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  7444. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  7445. end
  7446. elocacenter:Destroy()
  7447. eloca1:Destroy()
  7448. eloca2:Destroy()
  7449. eloca3:Destroy()
  7450. eloca4:Destroy()
  7451. end))
  7452. end
  7453. end)
  7454. end))
  7455. attack = false
  7456. end
  7457.  
  7458.  
  7459. function UniversalCollapse()
  7460. attack = true
  7461. local speedearn = 0
  7462. hum.WalkSpeed = 0
  7463. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  7464. for i = 0, 10, 0.1 do
  7465. swait()
  7466. speedearn = speedearn + 0.1
  7467. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7468. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7469. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7470. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7471. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7472. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  7473. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  7474. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7475. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7476. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  7477. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  7478. end
  7479. CameraEnshaking(5,45)
  7480. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  7481. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  7482. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  7483. if v:FindFirstChild('Head') then
  7484. dmg(v)
  7485. end
  7486. end
  7487. hum.WalkSpeed = storehumanoidWS
  7488. attack = false
  7489. end
  7490. function ChaosBegone()
  7491. attack = true
  7492. local speedearn = 0
  7493. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  7494. for i = 0, 10, 0.1 do
  7495. swait()
  7496. speedearn = speedearn + 0.1
  7497. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7498. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7499. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7500. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7501. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  7502. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  7503. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  7504. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7505. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7506. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  7507. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  7508. end
  7509. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  7510. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  7511. CameraEnshaking(5,25)
  7512. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  7513. if v:FindFirstChild('Head') then
  7514. dmg(v)
  7515. end
  7516. end
  7517. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  7518. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  7519. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  7520. for i = 0, 3, 0.1 do
  7521. swait()
  7522. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  7523. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  7524. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  7525. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  7526. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  7527. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  7528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  7529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  7530. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  7531. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  7532. end
  7533. attack = false
  7534. end
  7535.  
  7536. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  7537. local orb = Instance.new("Part", char)
  7538. orb.Anchored = true
  7539. orb.BrickColor = color
  7540. orb.CanCollide = false
  7541. orb.FormFactor = 3
  7542. orb.Name = "Ring"
  7543. orb.Material = "Neon"
  7544. orb.Size = Vector3.new(1, 1, 1)
  7545. orb.Transparency = 0
  7546. orb.TopSurface = 0
  7547. orb.BottomSurface = 0
  7548. local orbm = Instance.new("SpecialMesh", orb)
  7549. orbm.MeshType = "Sphere"
  7550. orb.CFrame = positted
  7551. orbm.Name = "SizeMesh"
  7552. orbm.Scale = vt(1,1,1)
  7553. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  7554. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  7555. --[[for i = 0, 2 do
  7556. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  7557. end]]--
  7558. coroutine.resume(coroutine.create(function()
  7559. wait(timer)
  7560. CameraEnshaking(3,ShakePower)
  7561. orb.Transparency = 1
  7562. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  7563. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  7564. --[[for i = 0, 4 do
  7565. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  7566. end]]--
  7567. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  7568. wait(3)
  7569. orb:Destroy()
  7570. end))
  7571. end
  7572.  
  7573. function orb_spawn(positted,timer)
  7574. local randomcol = math.random(1,2)
  7575. local orb = Instance.new("Part", char)
  7576. orb.Anchored = true
  7577. if randomcol == 1 then
  7578. orb.BrickColor = BrickColor.new("White")
  7579. elseif randomcol == 2 then
  7580. orb.BrickColor = BrickColor.new("Really black")
  7581. end
  7582. orb.CanCollide = false
  7583. orb.FormFactor = 3
  7584. orb.Name = "Ring"
  7585. orb.Material = "Neon"
  7586. orb.Size = Vector3.new(1, 1, 1)
  7587. orb.Transparency = 0
  7588. orb.TopSurface = 0
  7589. orb.BottomSurface = 0
  7590. local orbm = Instance.new("SpecialMesh", orb)
  7591. orbm.MeshType = "Sphere"
  7592. orb.CFrame = positted
  7593. orbm.Name = "SizeMesh"
  7594. orbm.Scale = vt(1,1,1)
  7595. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  7596. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  7597. for i = 0, 2 do
  7598. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  7599. end
  7600. coroutine.resume(coroutine.create(function()
  7601. wait(timer)
  7602. CameraEnshaking(3,2)
  7603. orb.Transparency = 1
  7604. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  7605. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  7606. for i = 0, 4 do
  7607. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  7608. end
  7609. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  7610. wait(3)
  7611. orb:Destroy()
  7612. end))
  7613. end
  7614.  
  7615. function scattercorrupt()
  7616. attack = true
  7617. local rot = 0
  7618. local randomrotations = math.random(1,2)
  7619. local lookv = 2.5
  7620. local power = 5
  7621. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  7622. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  7623. for i = 0, 9 do
  7624. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  7625. end
  7626. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  7627. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  7628. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  7629. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  7630. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  7631. local hite = Instance.new("Part", char)
  7632. hite.Anchored = true
  7633. hite.CanCollide = false
  7634. hite.FormFactor = 3
  7635. hite.Name = "Ring"
  7636. hite.Material = "Neon"
  7637. hite.Size = Vector3.new(1, 1, 1)
  7638. hite.Transparency = 1
  7639. hite.TopSurface = 0
  7640. hite.BottomSurface = 0
  7641. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  7642. local rem = Instance.new("Part", char)
  7643. rem.Anchored = true
  7644. rem.CanCollide = false
  7645. rem.FormFactor = 3
  7646. rem.Name = "Ring"
  7647. rem.Material = "Neon"
  7648. rem.Size = Vector3.new(1, 1, 1)
  7649. rem.Transparency = 1
  7650. rem.TopSurface = 0
  7651. rem.BottomSurface = 0
  7652. rem.CFrame = hite.CFrame
  7653. local rem2 = rem:Clone()
  7654. rem2.Parent = char
  7655. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  7656. local rem3 = rem:Clone()
  7657. rem3.Parent = char
  7658. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  7659. local rem4 = rem:Clone()
  7660. rem4.Parent = char
  7661. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  7662. hite:Destroy()
  7663. coroutine.resume(coroutine.create(function()
  7664. for i = 0, 24 do
  7665. swait(1)
  7666. if randomrotations == 1 then
  7667. rot = rot + 1
  7668. elseif randomrotations == 2 then
  7669. rot = rot - 1
  7670. end
  7671. power = power + 0.5
  7672. lookv = lookv + 7.5
  7673. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  7674. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  7675. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  7676. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  7677. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  7678. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  7679. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  7680. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  7681. end
  7682. end))
  7683. attack = false
  7684. end
  7685. function yinyangi()
  7686. attack = true
  7687. for i = 0, 2, 0.1 do
  7688. swait()
  7689. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  7690. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  7691. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  7692. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7693. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  7694. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  7695. end
  7696. local bv = Instance.new("BodyVelocity")
  7697. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7698. bv.velocity = root.CFrame.lookVector*175
  7699. bv.Parent = root
  7700. for Rotations = 0, 9 do
  7701. for i = 0, 1, 0.5 do
  7702. swait()
  7703. bv.velocity = root.CFrame.lookVector*175
  7704. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  7705. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  7706. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  7707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  7708. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  7709. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  7710. end
  7711. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  7712. for i = 0, 1, 0.5 do
  7713. swait()
  7714. bv.velocity = root.CFrame.lookVector*175
  7715. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  7716. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  7717. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  7718. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  7719. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  7720. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  7721. end
  7722. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  7723. for i = 0, 1, 0.5 do
  7724. swait()
  7725. bv.velocity = root.CFrame.lookVector*175
  7726. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  7727. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  7728. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  7729. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  7730. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  7731. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  7732. end
  7733. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  7734. for i = 0, 1, 0.5 do
  7735. swait()
  7736. bv.velocity = root.CFrame.lookVector*175
  7737. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  7738. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  7739. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  7740. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  7741. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  7742. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  7743. end
  7744. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  7745. end
  7746. bv:Destroy()
  7747. attack = false
  7748. end
  7749.  
  7750. function Wip()
  7751. attack = true
  7752.  
  7753. local rngb = Instance.new("Part", char)
  7754. rngb.Anchored = true
  7755. rngb.BrickColor = origcolor
  7756. rngb.CanCollide = false
  7757. rngb.FormFactor = 3
  7758. rngb.Name = "Ring"
  7759. rngb.Material = "Neon"
  7760. rngb.Size = Vector3.new(1, 0.05, 1)
  7761. rngb.Transparency = 1
  7762. rngb.TopSurface = 0
  7763. rngb.BottomSurface = 0
  7764. local rngmb = Instance.new("SpecialMesh", rngb)
  7765. rngmb.MeshType = "Brick"
  7766. rngmb.Name = "SizeMesh"
  7767. rngmb.Scale = vt(0,1,0)
  7768.  
  7769. local orb = rngb:Clone()
  7770. orb.Parent = char
  7771. orb.Transparency = 0
  7772. orb.BrickColor = BrickColor.new("White")
  7773. orb.Size = vt(1,1,1)
  7774. local orbmish = orb.SizeMesh
  7775. orbmish.Scale = vt(0,0,0)
  7776. orbmish.MeshType = "Sphere"
  7777.  
  7778. local orbe = rngb:Clone()
  7779. orbe.Parent = char
  7780. orbe.Transparency = 0.5
  7781. orbe.BrickColor = BrickColor.new("New Yeller")
  7782. orbe.Size = vt(1,1,1)
  7783. local orbmish2 = orbe.SizeMesh
  7784. orbmish2.Scale = vt(0,0,0)
  7785. orbmish2.MeshType = "Sphere"
  7786. orbe.Color = Color3.new(r/255,g/255,b/255)
  7787.  
  7788. rngb:Destroy()
  7789. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  7790. local scaled = 1
  7791. for i = 0,5,0.1 do
  7792. swait()
  7793. scaled = scaled - 0.02
  7794. if rainbowmode == true then
  7795. orbe.Color = Color3.new(r/255,g/255,b/255)
  7796. end
  7797. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  7798. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  7799. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7800. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7801. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  7802. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  7803. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  7804. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  7805. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7806. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  7807. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  7808. RootPart.CFrame = FaceMouse()[1]
  7809. end]]--
  7810. for i = 0,5,0.1 do
  7811. swait()
  7812. if rainbowmode == true then
  7813. orbe.Color = Color3.new(r/255,g/255,b/255)
  7814. end
  7815. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7816. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  7817. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  7818. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  7819. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  7820. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  7821. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  7822. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  7823. RootPart.CFrame = FaceMouse()[1]
  7824. end
  7825. orbe.Transparency = 1
  7826. orb.Transparency = 1
  7827. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  7828. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  7829. local a = Instance.new("Part",Character)
  7830. a.Name = "Direction"
  7831. a.Anchored = true
  7832. a.BrickColor = bc("White")
  7833. a.Material = "Neon"
  7834. a.Transparency = 0
  7835. a.Shape = "Cylinder"
  7836. a.CanCollide = false
  7837. local a2 = Instance.new("Part",Character)
  7838. a2.Name = "Direction"
  7839. a2.Anchored = true
  7840. a2.BrickColor = bc("New Yeller")
  7841. a2.Color = Color3.new(r/255,g/255,b/255)
  7842. a2.Material = "Neon"
  7843. a2.Transparency = 0.5
  7844. a2.Shape = "Cylinder"
  7845. a2.CanCollide = false
  7846. local ba = Instance.new("Part",Character)
  7847. ba.Name = "HitDirect"
  7848. ba.Anchored = true
  7849. ba.BrickColor = bc("Cool yellow")
  7850. ba.Material = "Neon"
  7851. ba.Transparency = 1
  7852. ba.CanCollide = false
  7853. local ray = Ray.new(
  7854. orb.CFrame.p, -- origin
  7855. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7856. )
  7857. local ignore = Character
  7858. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7859. a.BottomSurface = 10
  7860. a.TopSurface = 10
  7861. a2.BottomSurface = 10
  7862. a2.TopSurface = 10
  7863. local distance = (orb.CFrame.p - position).magnitude
  7864. a.Size = Vector3.new(distance, 1, 1)
  7865. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7866. a2.Size = Vector3.new(distance, 1, 1)
  7867. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7868. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7869. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7870. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7871. game:GetService("Debris"):AddItem(a, 20)
  7872. game:GetService("Debris"):AddItem(a2, 20)
  7873. game:GetService("Debris"):AddItem(ba, 20)
  7874. local msh = Instance.new("SpecialMesh",a)
  7875. msh.MeshType = "Cylinder"
  7876. msh.Scale = vt(1,5*5,5*5)
  7877. local msh2 = Instance.new("SpecialMesh",a2)
  7878. msh2.MeshType = "Cylinder"
  7879. msh2.Scale = vt(1,6*5,6*5)
  7880.  
  7881. for i = 0,10,0.1 do
  7882. swait()
  7883. CameraEnshaking(1,5)
  7884. a2.Color = Color3.new(r/255,g/255,b/255)
  7885. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7886. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  7887. ray = Ray.new(
  7888. orb.CFrame.p, -- origin
  7889. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7890. )
  7891. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7892. distance = (orb.CFrame.p - position).magnitude
  7893. if typrot == 1 then
  7894. rotation = rotation + 2.5
  7895. elseif typrot == 2 then
  7896. rotation = rotation - 2.5
  7897. end
  7898. RootPart.CFrame = FaceMouse()[1]
  7899. a.Size = Vector3.new(distance, 1, 1)
  7900. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7901. a2.Size = Vector3.new(distance, 1, 1)
  7902. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7903. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7904. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7905. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  7906. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  7907. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  7908. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  7909. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  7910. MagniDamage(ba, 30, 500,60000, 0, "Normal")
  7911. end
  7912. a:Destroy()
  7913. a2:Destroy()
  7914. ba:Destroy()
  7915. orb:Destroy()
  7916. orbe:Destroy()
  7917. attack = false
  7918. end
  7919. function HolyBarrier()
  7920. attack = true
  7921. shielding = true
  7922. for i = 0, 2, 0.1 do
  7923. swait()
  7924. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  7925. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  7926. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  7927. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  7928. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  7929. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  7930. end
  7931. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  7932. stash = Instance.new("Model",workspace)
  7933. local barrier = Instance.new("Part",stash)
  7934. barrier.Anchored = true
  7935. barrier.CanCollide = false
  7936. barrier.Size = Vector3.new(20,20,20)
  7937. barrier.CFrame = root.CFrame
  7938. barrier.Transparency = 0.6
  7939. barrier.BrickColor = MAINRUINCOLOR
  7940. barrier.Material = Enum.Material.Neon
  7941. barrier.Shape = Enum.PartType.Ball
  7942. barrier.CFrame = root.CFrame
  7943. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  7944. Torso.Anchored = true
  7945. for i=1,50 do
  7946. local p = Instance.new("Part",stash)
  7947. p.Anchored = true
  7948. p.Transparency = 1
  7949. p.Size = Vector3.new(11,11,11)
  7950. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  7951. end
  7952. repeat
  7953. swait(5)
  7954. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("White"),0)
  7955. until shielding == false
  7956. stash:Remove()
  7957. Torso.Anchored = false
  7958. shielding = false
  7959. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  7960. attack = false
  7961. end
  7962. function Judgement()
  7963. attack = true
  7964. judgement = true
  7965. hum.WalkSpeed = 0
  7966. local p = Instance.new("Part",root)
  7967. p.Anchored = true
  7968. p.CanCollide = false
  7969. p.BrickColor = MAINRUINCOLOR
  7970. p.Material = Enum.Material.Neon
  7971. p.Size = Vector3.new(1,1,1)
  7972. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  7973. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  7974. local m = Instance.new("SpecialMesh",p)
  7975. m.MeshType = "Cylinder"
  7976. m.Scale = Vector3.new(2000,2,2)
  7977. local targ = Instance.new("Part",root)
  7978. targ.Anchored = true
  7979. targ.Transparency = 1
  7980. targ.CanCollide = false
  7981. targ.Size = Vector3.new(1,1,1)
  7982. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7983. local s = Instance.new("Sound",targ)
  7984. s.SoundId = "https://roblox.com/asset/?id=115327352"
  7985. s.Looped = true
  7986. s.Pitch = 1.2
  7987. s.Volume = 3
  7988. spawn(function()
  7989. swait(15)
  7990. s:Play()
  7991. end)
  7992. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  7993. for i = 1,15 do
  7994. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7995. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  7996. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  7997. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  7998. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  7999. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  8000. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  8001. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  8002. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  8003. m.Scale = m.Scale+Vector3.new(0,1,1)
  8004. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8005. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8006. swait()
  8007. end
  8008. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  8009. repeat
  8010. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  8011. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  8012. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  8013. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  8014. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  8015. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  8016. swait()
  8017. until judgement == false
  8018. for i =1,15 do
  8019. m.Scale = m.Scale-Vector3.new(1,1,1)
  8020. p.Transparency = i / 15
  8021. s.Pitch = s.Pitch - 0.4
  8022. swait()
  8023. end
  8024. p:Destroy()
  8025. hum.WalkSpeed = storehumanoidWS
  8026. attack = false
  8027. end
  8028.  
  8029. function UniversalSpark()
  8030. attack = true
  8031.  
  8032. local rngb = Instance.new("Part", char)
  8033. rngb.Anchored = true
  8034. rngb.BrickColor = origcolor
  8035. rngb.CanCollide = false
  8036. rngb.FormFactor = 3
  8037. rngb.Name = "Ring"
  8038. rngb.Material = "Neon"
  8039. rngb.Size = Vector3.new(1, 0.05, 1)
  8040. rngb.Transparency = 1
  8041. rngb.TopSurface = 0
  8042. rngb.BottomSurface = 0
  8043. local rngmb = Instance.new("SpecialMesh", rngb)
  8044. rngmb.MeshType = "Brick"
  8045. rngmb.Name = "SizeMesh"
  8046. rngmb.Scale = vt(0,1,0)
  8047.  
  8048. local orb = rngb:Clone()
  8049. orb.Parent = char
  8050. orb.Transparency = 0
  8051. orb.BrickColor = BrickColor.new("White")
  8052. orb.Size = vt(1,1,1)
  8053. local orbmish = orb.SizeMesh
  8054. orbmish.Scale = vt(0,0,0)
  8055. orbmish.MeshType = "Sphere"
  8056.  
  8057. local orbe = rngb:Clone()
  8058. orbe.Parent = char
  8059. orbe.Transparency = 0.5
  8060. orbe.BrickColor = BrickColor.new("New Yeller")
  8061. orbe.Size = vt(1,1,1)
  8062. local orbmish2 = orbe.SizeMesh
  8063. orbmish2.Scale = vt(0,0,0)
  8064. orbmish2.MeshType = "Sphere"
  8065. orbe.Color = Color3.new(r/255,g/255,b/255)
  8066.  
  8067. rngb:Destroy()
  8068. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  8069. local scaled = 1
  8070. for i = 0,5,0.1 do
  8071. swait()
  8072. scaled = scaled - 0.02
  8073. if rainbowmode == true then
  8074. orbe.Color = Color3.new(r/255,g/255,b/255)
  8075. end
  8076. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  8077. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  8078. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  8079. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  8080. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  8081. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  8082. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  8083. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  8084. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  8085. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  8086. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  8087. RootPart.CFrame = FaceMouse()[1]
  8088. end]]--
  8089. for i = 0,5,0.1 do
  8090. swait()
  8091. if rainbowmode == true then
  8092. orbe.Color = Color3.new(r/255,g/255,b/255)
  8093. end
  8094. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  8095. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  8096. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  8097. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  8098. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  8099. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  8100. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  8101. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  8102. RootPart.CFrame = FaceMouse()[1]
  8103. end
  8104. orbe.Transparency = 1
  8105. orb.Transparency = 1
  8106. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  8107. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  8108. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  8109. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  8110.  
  8111. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  8112. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  8113. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  8114. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  8115. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  8116. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  8117. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  8118. local xd= Instance.new("Sound",char)
  8119. xd.SoundId = "rbxassetid://445796828"
  8120. xd.Pitch = 0.75
  8121. xd.Looped = true
  8122. xd.Volume = 1.25
  8123. xd:Play()
  8124. local a = Instance.new("Part",Character)
  8125. a.Name = "Direction"
  8126. a.Anchored = true
  8127. a.BrickColor = bc("Alder")
  8128. a.Color = MAINRUINCOLOR.Color
  8129. a.Material = "Neon"
  8130. a.Transparency = 0.5
  8131. a.Shape = "Cylinder"
  8132. a.CanCollide = false
  8133. local a2 = Instance.new("Part",Character)
  8134. a2.Name = "Direction"
  8135. a2.Anchored = true
  8136. a2.BrickColor = bc("New Yeller")
  8137. a2.Color = MAINRUINCOLOR.Color
  8138. a2.Material = "Neon"
  8139. a2.Transparency = 0.5
  8140. a2.Shape = "Cylinder"
  8141. a2.CanCollide = false
  8142. local ba = Instance.new("Part",Character)
  8143. ba.Name = "HitDirect"
  8144. ba.Anchored = true
  8145. ba.BrickColor = bc("Cool yellow")
  8146. ba.Material = "Neon"
  8147. ba.Transparency = 1
  8148. ba.CanCollide = false
  8149. local ray = Ray.new(
  8150. orb.CFrame.p, -- origin
  8151. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8152. )
  8153. local ignore = Character
  8154. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8155. a.BottomSurface = 10
  8156. a.TopSurface = 10
  8157. a2.BottomSurface = 10
  8158. a2.TopSurface = 10
  8159. local distance = (orb.CFrame.p - position).magnitude
  8160. a.Size = Vector3.new(distance, 1, 1)
  8161. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8162. a2.Size = Vector3.new(distance, 1, 1)
  8163. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8164. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8165. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8166. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8167. game:GetService("Debris"):AddItem(a, 60)
  8168. game:GetService("Debris"):AddItem(a2, 60)
  8169. game:GetService("Debris"):AddItem(ba, 60)
  8170. local outerscale = 0
  8171. local msh = Instance.new("SpecialMesh",a)
  8172. msh.MeshType = "Cylinder"
  8173. msh.Scale = vt(1,0,0)
  8174. local msh2 = Instance.new("SpecialMesh",a2)
  8175. msh2.MeshType = "Cylinder"
  8176. msh2.Scale = vt(1,0,0)
  8177. for i = 0,2,0.1 do
  8178. swait()
  8179. CameraEnshaking(1,1)
  8180. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  8181. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  8182. outerscale = outerscale - 0.015
  8183. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8184. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8185. ray = Ray.new(
  8186. orb.CFrame.p, -- origin
  8187. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8188. )
  8189. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8190. distance = (orb.CFrame.p - position).magnitude
  8191. if typrot == 1 then
  8192. rotation = rotation + 2.5
  8193. elseif typrot == 2 then
  8194. rotation = rotation - 2.5
  8195. end
  8196. RootPart.CFrame = FaceMouse()[1]
  8197. a.Size = Vector3.new(distance, 1, 1)
  8198. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8199. a2.Size = Vector3.new(distance, 1, 1)
  8200. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8201. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8202. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8203. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8204. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8205. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8206. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  8207. end
  8208. for z = 0, 2 do
  8209. for i = 0,4,0.1 do
  8210. swait()
  8211. CameraEnshaking(1,1)
  8212. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  8213. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  8214. outerscale = outerscale + 0.015
  8215. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8216. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8217. ray = Ray.new(
  8218. orb.CFrame.p, -- origin
  8219. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8220. )
  8221. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8222. distance = (orb.CFrame.p - position).magnitude
  8223. if typrot == 1 then
  8224. rotation = rotation + 2.5
  8225. elseif typrot == 2 then
  8226. rotation = rotation - 2.5
  8227. end
  8228. RootPart.CFrame = FaceMouse()[1]
  8229. a.Size = Vector3.new(distance, 1, 1)
  8230. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8231. a2.Size = Vector3.new(distance, 1, 1)
  8232. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8233. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8234. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8235. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8236. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8237. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8238. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  8239. end
  8240. for i = 0,4,0.1 do
  8241. swait()
  8242. CameraEnshaking(1,1)
  8243. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  8244. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  8245. outerscale = outerscale - 0.015
  8246. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8247. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8248. ray = Ray.new(
  8249. orb.CFrame.p, -- origin
  8250. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8251. )
  8252. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8253. distance = (orb.CFrame.p - position).magnitude
  8254. if typrot == 1 then
  8255. rotation = rotation + 2.5
  8256. elseif typrot == 2 then
  8257. rotation = rotation - 2.5
  8258. end
  8259. RootPart.CFrame = FaceMouse()[1]
  8260. a.Size = Vector3.new(distance, 1, 1)
  8261. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8262. a2.Size = Vector3.new(distance, 1, 1)
  8263. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8264. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8265. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8266. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8267. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8268. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8269. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  8270. end
  8271. end
  8272. for i = 0,4,0.1 do
  8273. swait()
  8274. CameraEnshaking(1,1)
  8275. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  8276. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  8277. xd.Volume = xd.Volume - 0.025
  8278. a.Transparency = a.Transparency + 0.025
  8279. a2.Transparency = a2.Transparency + 0.025
  8280. outerscale = outerscale - 0.015
  8281. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8282. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8283. ray = Ray.new(
  8284. orb.CFrame.p, -- origin
  8285. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8286. )
  8287. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8288. distance = (orb.CFrame.p - position).magnitude
  8289. if typrot == 1 then
  8290. rotation = rotation + 2.5
  8291. elseif typrot == 2 then
  8292. rotation = rotation - 2.5
  8293. end
  8294. RootPart.CFrame = FaceMouse()[1]
  8295. a.Size = Vector3.new(distance, 1, 1)
  8296. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8297. a2.Size = Vector3.new(distance, 1, 1)
  8298. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8299. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8300. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8301. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8302. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8303. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  8304. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  8305. end
  8306. xd:Destroy()
  8307. a:Destroy()
  8308. a2:Destroy()
  8309. ba:Destroy()
  8310. orb:Destroy()
  8311. orbe:Destroy()
  8312. attack = false
  8313. end
  8314.  
  8315.  
  8316. function resetmode()
  8317. rainbowmode = false
  8318. chaosmode = false
  8319. tl1.Enabled = false
  8320. tl2.Enabled = false
  8321. tl3.Enabled = false
  8322. ModeOfGlitch = 1
  8323. storehumanoidWS = 16
  8324. coroutine.resume(coroutine.create(function()
  8325. attack = true
  8326. hum.WalkSpeed = 0
  8327. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  8328. for i = 0,4,0.1 do
  8329. swait()
  8330. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  8331. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  8332. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  8333. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.5)
  8334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5)
  8335. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5)
  8336. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5)
  8337. end
  8338. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  8339. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  8340. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  8341. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  8342. RecolorTextAndRename("Mayhem",Color3.new(0,0,0),Color3.new(1,0,0))
  8343. CameraEnshaking(5,2.5)
  8344. MAINRUINCOLOR = BrickColor.new("Really red")
  8345. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8346. for i = 0, 49 do
  8347. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  8348. end
  8349. for i = 0,3,0.1 do
  8350. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  8351. end
  8352. for i, v in pairs(mw2:GetChildren()) do
  8353. if v:IsA("Part") then
  8354. v.BrickColor = BrickColor.new("Really red")
  8355. v.Material = "Neon"
  8356. end
  8357. end
  8358. for i, v in pairs(mw1:GetChildren()) do
  8359. if v:IsA("Part") then
  8360. v.Transparency = 1
  8361. v.BrickColor = BrickColor.new("Really red")
  8362. v.Material = "Neon"
  8363. end
  8364. end
  8365. for i, v in pairs(m:GetChildren()) do
  8366. if v:IsA("Part") then
  8367. v.BrickColor = BrickColor.new("Really black")
  8368. v.Material = "Glass"
  8369. end
  8370. end
  8371. for i, v in pairs(m2:GetChildren()) do
  8372. if v:IsA("Part") then
  8373. v.BrickColor = BrickColor.new("Crimson")
  8374. v.Material = "Granite"
  8375. end
  8376. end
  8377. for i, v in pairs(m3:GetChildren()) do
  8378. if v:IsA("Part") then
  8379. v.BrickColor = BrickColor.new("Really red")
  8380. v.Material = "Neon"
  8381. end
  8382. end
  8383. for i, v in pairs(extrawingmod1:GetChildren()) do
  8384. if v:IsA("Part") then
  8385. v.Transparency = 1
  8386. v.BrickColor = BrickColor.new("White")
  8387. v.Material = "Neon"
  8388. end
  8389. end
  8390. for i, v in pairs(extrawingmod2:GetChildren()) do
  8391. if v:IsA("Part") then
  8392. v.Transparency = 1
  8393. v.BrickColor = BrickColor.new("White")
  8394. v.Material = "Neon"
  8395. end
  8396. end
  8397. for i = 0,2,0.1 do
  8398. swait()
  8399. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  8400. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  8401. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  8402. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  8403. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  8404. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  8405. end
  8406. hum.WalkSpeed = storehumanoidWS
  8407. attack = false
  8408. end))
  8409. newTheme("rbxassetid://614032233",48.6,1,0.3)
  8410. end
  8411.  
  8412. function attackone()
  8413. attack = true
  8414. for i = 0,1,0.1 do
  8415. swait()
  8416. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  8417. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  8418. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  8419. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  8420. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  8421. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  8422. end
  8423. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  8424.  
  8425. local hitb = Instance.new("Part", char)
  8426. hitb.Anchored = true
  8427. hitb.CanCollide = false
  8428. hitb.FormFactor = 3
  8429. hitb.Name = "Ring"
  8430. hitb.Material = "Neon"
  8431. hitb.Size = Vector3.new(1, 1, 1)
  8432. hitb.Transparency = 1
  8433. hitb.TopSurface = 0
  8434. hitb.BottomSurface = 0
  8435. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  8436. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  8437. hitb:Destroy()
  8438. for i = 0,1,0.1 do
  8439. swait()
  8440. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  8441. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  8442. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  8443. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  8444. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  8445. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  8446. end
  8447.  
  8448. attack = false
  8449. end
  8450.  
  8451. function attacktwo()
  8452. attack = true
  8453. for i = 0,1,0.1 do
  8454. swait()
  8455. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  8456. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8457. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  8458. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  8459. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  8460. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  8461. end
  8462. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  8463. local hitb = Instance.new("Part", char)
  8464. hitb.Anchored = true
  8465. hitb.CanCollide = false
  8466. hitb.FormFactor = 3
  8467. hitb.Name = "Ring"
  8468. hitb.Material = "Neon"
  8469. hitb.Size = Vector3.new(1, 1, 1)
  8470. hitb.Transparency = 1
  8471. hitb.TopSurface = 0
  8472. hitb.BottomSurface = 0
  8473. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  8474. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  8475. hitb:Destroy()
  8476. for i = 0,1,0.1 do
  8477. swait()
  8478. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  8479. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  8480. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  8481. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  8482. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  8483. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  8484. end
  8485. attack = false
  8486. end
  8487.  
  8488. function attackthree()
  8489. attack = true
  8490. for i = 0,1,0.1 do
  8491. swait()
  8492. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  8493. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  8494. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  8495. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  8496. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  8497. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  8498. end
  8499. local distlook = 5
  8500. for i = 0, 4 do
  8501. swait(2)
  8502. CameraEnshaking(2,3)
  8503. local hite = Instance.new("Part", char)
  8504. hite.Anchored = true
  8505. hite.CanCollide = false
  8506. hite.FormFactor = 3
  8507. hite.Name = "Ring"
  8508. hite.Material = "Neon"
  8509. hite.Size = Vector3.new(1, 1, 1)
  8510. hite.Transparency = 1
  8511. hite.TopSurface = 0
  8512. hite.BottomSurface = 0
  8513. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  8514. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  8515. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  8516. MagniDamage(hite, 10, 15,35, 0, "Normal")
  8517. for i = 0, 2 do
  8518. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  8519. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  8520. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  8521. end
  8522. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  8523. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  8524. game:GetService("Debris"):AddItem(hite, 5)
  8525. distlook = distlook + 10
  8526. end
  8527. attack = false
  8528. end
  8529.  
  8530. local ActiveGia = false
  8531. function THEHELLITSTHATBIG()
  8532. ActiveGia = true
  8533. attack = true
  8534. hum.WalkSpeed = 0
  8535. for i = 0,2,0.1 do
  8536. swait()
  8537. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  8538. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  8539. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  8540. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  8541. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  8542. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  8543. end
  8544. for i = 0,1,0.1 do
  8545. torsweld.C1=clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8546. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  8547. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  8548. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8549. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  8550. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  8551. end
  8552. CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
  8553. secrleg.Transparency = 0.5
  8554. seclleg.Transparency = 0.5
  8555. secrarm.Transparency = 0.5
  8556. seclarm.Transparency = 0.5
  8557. seched.Transparency = 0.5
  8558. sectors.Transparency = 0.5
  8559. for i = 0,25,0.1 do
  8560. swait()
  8561. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.1,MAINRUINCOLOR,-10)
  8562. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  8563. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025)
  8564. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025)
  8565. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8566. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8567. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  8568. end
  8569. --[[secrleg.Transparency = 1
  8570. seclleg.Transparency = 1
  8571. secrarm.Transparency = 1
  8572. seclarm.Transparency = 1
  8573. seched.Transparency = 1
  8574. sectors.Transparency = 1]]--
  8575. torsweld.Part0 = root
  8576. hum.WalkSpeed = storehumanoidWS
  8577. attack = false
  8578. end
  8579.  
  8580. function removelol()
  8581. ActiveGia = false
  8582. attack = true
  8583. hum.WalkSpeed = 0
  8584. for i = 0,2,0.1 do
  8585. swait()
  8586. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  8587. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  8588. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  8589. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  8590. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  8591. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  8592. end
  8593. CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
  8594. for i = 0,25,0.1 do
  8595. swait()
  8596. secrleg.Transparency = secrleg.Transparency + 0.00225
  8597. seclleg.Transparency = secrleg.Transparency
  8598. secrarm.Transparency = secrleg.Transparency
  8599. seclarm.Transparency = secrleg.Transparency
  8600. seched.Transparency = secrleg.Transparency
  8601. sectors.Transparency = secrleg.Transparency
  8602. PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.1,MAINRUINCOLOR,-10)
  8603. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  8604. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025)
  8605. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025)
  8606. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8607. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  8608. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
  8609. end
  8610. CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
  8611. sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8612. sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8613. sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8614. secrleg.Transparency = 1
  8615. seclleg.Transparency = 1
  8616. secrarm.Transparency = 1
  8617. seclarm.Transparency = 1
  8618. seched.Transparency = 1
  8619. sectors.Transparency = 1
  8620. torsweld.Part0 = root
  8621. hum.WalkSpeed = storehumanoidWS
  8622. attack = false
  8623. end
  8624.  
  8625. function FinalCalamity()
  8626. end
  8627.  
  8628. local attacktype = 1
  8629. mouse.Button1Down:connect(function()
  8630. if attack == false and attacktype == 1 then
  8631. attacktype = 2
  8632. attackone()
  8633. elseif attack == false and attacktype == 2 then
  8634. attacktype = 3
  8635. attacktwo()
  8636. elseif attack == false and attacktype == 3 then
  8637. attacktype = 1
  8638. attackthree()
  8639. elseif attack == false and attacktype == 4 then
  8640. attacktype = 1
  8641. --attackfour()
  8642. end
  8643. end)
  8644. mouse.KeyDown:connect(function(k)
  8645. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  8646. ModeOfGlitch = 2
  8647. storehumanoidWS = 16
  8648. hum.WalkSpeed = 16
  8649. rainbowmode = false
  8650. chaosmode = false
  8651. tl1.Enabled = false
  8652. tl2.Enabled = false
  8653. tl3.Enabled = false
  8654. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  8655. newTheme("rbxassetid://1539245059",0,1,0.3)
  8656. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8657. for i, v in pairs(mw2:GetChildren()) do
  8658. if v:IsA("Part") then
  8659. v.BrickColor = MAINRUINCOLOR
  8660. v.Material = "Neon"
  8661. end
  8662. end
  8663. for i, v in pairs(mw1:GetChildren()) do
  8664. if v:IsA("Part") then
  8665. v.Transparency = 1
  8666. v.BrickColor = MAINRUINCOLOR
  8667. v.Material = "Neon"
  8668. end
  8669. end
  8670. for i, v in pairs(m:GetChildren()) do
  8671. if v:IsA("Part") then
  8672. v.BrickColor = BrickColor.new("White")
  8673. v.Material = "Ice"
  8674. end
  8675. end
  8676. for i, v in pairs(m2:GetChildren()) do
  8677. if v:IsA("Part") then
  8678. v.BrickColor = BrickColor.new("Pastel light blue")
  8679. v.Material = "Glass"
  8680. end
  8681. end
  8682. for i, v in pairs(m3:GetChildren()) do
  8683. if v:IsA("Part") then
  8684. v.BrickColor = BrickColor.new("Toothpaste")
  8685. v.Material = "Neon"
  8686. end
  8687. end
  8688. for i, v in pairs(extrawingmod1:GetChildren()) do
  8689. if v:IsA("Part") then
  8690. v.Transparency = 1
  8691. v.BrickColor = BrickColor.new("White")
  8692. v.Material = "Neon"
  8693. end
  8694. end
  8695. for i, v in pairs(extrawingmod2:GetChildren()) do
  8696. if v:IsA("Part") then
  8697. v.Transparency = 1
  8698. v.BrickColor = BrickColor.new("White")
  8699. v.Material = "Neon"
  8700. end
  8701. end
  8702. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  8703. resetmode()
  8704. end
  8705. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  8706. ModeOfGlitch = 3
  8707. storehumanoidWS = 16
  8708. hum.WalkSpeed = 16
  8709. rainbowmode = false
  8710. chaosmode = false
  8711. tl1.Enabled = false
  8712. tl2.Enabled = false
  8713. tl3.Enabled = false
  8714. RecolorTextAndRename("Corruption",Color3.new(0,0,0),Color3.new(0.35,0,1))
  8715. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  8716. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8717. for i, v in pairs(mw2:GetChildren()) do
  8718. if v:IsA("Part") then
  8719. v.BrickColor = MAINRUINCOLOR
  8720. v.Material = "Neon"
  8721. end
  8722. end
  8723. for i, v in pairs(mw1:GetChildren()) do
  8724. if v:IsA("Part") then
  8725. v.Transparency = 1
  8726. v.BrickColor = MAINRUINCOLOR
  8727. v.Material = "Neon"
  8728. end
  8729. end
  8730. for i, v in pairs(m:GetChildren()) do
  8731. if v:IsA("Part") then
  8732. v.BrickColor = BrickColor.new("Black")
  8733. v.Material = "Ice"
  8734. end
  8735. end
  8736. for i, v in pairs(m2:GetChildren()) do
  8737. if v:IsA("Part") then
  8738. v.BrickColor = BrickColor.new("Dark indigo")
  8739. v.Material = "Glass"
  8740. end
  8741. end
  8742. for i, v in pairs(m3:GetChildren()) do
  8743. if v:IsA("Part") then
  8744. v.BrickColor = BrickColor.new("Royal purple")
  8745. v.Material = "Neon"
  8746. end
  8747. end
  8748. for i, v in pairs(extrawingmod1:GetChildren()) do
  8749. if v:IsA("Part") then
  8750. v.Transparency = 1
  8751. v.BrickColor = BrickColor.new("White")
  8752. v.Material = "Neon"
  8753. end
  8754. end
  8755. for i, v in pairs(extrawingmod2:GetChildren()) do
  8756. if v:IsA("Part") then
  8757. v.Transparency = 1
  8758. v.BrickColor = BrickColor.new("White")
  8759. v.Material = "Neon"
  8760. end
  8761. end
  8762. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  8763. resetmode()
  8764. end
  8765. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  8766. ModeOfGlitch = 4
  8767. storehumanoidWS = 16
  8768. hum.WalkSpeed = 16
  8769. rainbowmode = false
  8770. chaosmode = true
  8771. tl1.Enabled = true
  8772. tl2.Enabled = true
  8773. tl3.Enabled = true
  8774. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  8775. newTheme("rbxassetid://1369263130",0,1,1)
  8776. MAINRUINCOLOR = BrickColor.new("Black")
  8777. for i, v in pairs(mw2:GetChildren()) do
  8778. if v:IsA("Part") then
  8779. v.BrickColor = MAINRUINCOLOR
  8780. v.Material = "Neon"
  8781. end
  8782. end
  8783. for i, v in pairs(mw1:GetChildren()) do
  8784. if v:IsA("Part") then
  8785. v.Transparency = 0.75
  8786. v.BrickColor = BrickColor.random()
  8787. v.Material = "Neon"
  8788. end
  8789. end
  8790. for i, v in pairs(m:GetChildren()) do
  8791. if v:IsA("Part") then
  8792. v.BrickColor = BrickColor.new("Black")
  8793. v.Material = "Neon"
  8794. end
  8795. end
  8796. for i, v in pairs(m2:GetChildren()) do
  8797. if v:IsA("Part") then
  8798. v.BrickColor = BrickColor.random()
  8799. v.Material = "Neon"
  8800. end
  8801. end
  8802. for i, v in pairs(m3:GetChildren()) do
  8803. if v:IsA("Part") then
  8804. v.BrickColor = BrickColor.new("Black")
  8805. v.Material = "Neon"
  8806. end
  8807. end
  8808. for i, v in pairs(extrawingmod1:GetChildren()) do
  8809. if v:IsA("Part") then
  8810. v.Transparency = 1
  8811. v.BrickColor = BrickColor.new("White")
  8812. v.Material = "Neon"
  8813. end
  8814. end
  8815. for i, v in pairs(extrawingmod2:GetChildren()) do
  8816. if v:IsA("Part") then
  8817. v.Transparency = 1
  8818. v.BrickColor = BrickColor.new("White")
  8819. v.Material = "Neon"
  8820. end
  8821. end
  8822. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  8823. resetmode()
  8824. end
  8825. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  8826. ModeOfGlitch = 5
  8827. storehumanoidWS = 16
  8828. hum.WalkSpeed = 16
  8829. rainbowmode = false
  8830. chaosmode = false
  8831. tl1.Enabled = true
  8832. tl2.Enabled = true
  8833. tl3.Enabled = true
  8834. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  8835. newTheme("rbxassetid://661079869",0,1.02,1)
  8836. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8837. for i, v in pairs(mw2:GetChildren()) do
  8838. if v:IsA("Part") then
  8839. v.BrickColor = MAINRUINCOLOR
  8840. v.Material = "Neon"
  8841. end
  8842. end
  8843. for i, v in pairs(mw1:GetChildren()) do
  8844. if v:IsA("Part") then
  8845. v.Transparency = 0
  8846. v.BrickColor = MAINRUINCOLOR
  8847. v.Material = "Neon"
  8848. end
  8849. end
  8850. for i, v in pairs(m:GetChildren()) do
  8851. if v:IsA("Part") then
  8852. v.BrickColor = BrickColor.new("Cool yellow")
  8853. v.Material = "Ice"
  8854. end
  8855. end
  8856. for i, v in pairs(m2:GetChildren()) do
  8857. if v:IsA("Part") then
  8858. v.BrickColor = BrickColor.new("Bright yellow")
  8859. v.Material = "Ice"
  8860. end
  8861. end
  8862. for i, v in pairs(m3:GetChildren()) do
  8863. if v:IsA("Part") then
  8864. v.BrickColor = BrickColor.new("Bright yellow")
  8865. v.Material = "Neon"
  8866. end
  8867. end
  8868. for i, v in pairs(extrawingmod1:GetChildren()) do
  8869. if v:IsA("Part") then
  8870. v.Transparency = 1
  8871. v.BrickColor = BrickColor.new("White")
  8872. v.Material = "Neon"
  8873. end
  8874. end
  8875. for i, v in pairs(extrawingmod2:GetChildren()) do
  8876. if v:IsA("Part") then
  8877. v.Transparency = 1
  8878. v.BrickColor = BrickColor.new("White")
  8879. v.Material = "Neon"
  8880. end
  8881. end
  8882. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  8883. resetmode()
  8884. end
  8885. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  8886. ModeOfGlitch = 6
  8887. storehumanoidWS = 75
  8888. hum.WalkSpeed = 75
  8889. rainbowmode = false
  8890. chaosmode = false
  8891. tl1.Enabled = true
  8892. tl2.Enabled = true
  8893. tl3.Enabled = true
  8894. RecolorTextAndRename("Equinox",Color3.new(0,0,0),Color3.new(1,1,1))
  8895. newTheme("rbxassetid://395351949",0,1,1)
  8896. MAINRUINCOLOR = BrickColor.new("White")
  8897. for i, v in pairs(mw2:GetChildren()) do
  8898. if v:IsA("Part") then
  8899. v.BrickColor = MAINRUINCOLOR
  8900. v.Material = "Neon"
  8901. end
  8902. end
  8903. for i, v in pairs(mw1:GetChildren()) do
  8904. if v:IsA("Part") then
  8905. v.Transparency = 0
  8906. v.BrickColor = MAINRUINCOLOR
  8907. v.Material = "Neon"
  8908. end
  8909. end
  8910. for i, v in pairs(m:GetChildren()) do
  8911. if v:IsA("Part") then
  8912. v.BrickColor = BrickColor.new("White")
  8913. v.Material = "Ice"
  8914. end
  8915. end
  8916. for i, v in pairs(m2:GetChildren()) do
  8917. if v:IsA("Part") then
  8918. v.BrickColor = BrickColor.new("Really black")
  8919. v.Material = "Ice"
  8920. end
  8921. end
  8922. for i, v in pairs(m3:GetChildren()) do
  8923. if v:IsA("Part") then
  8924. v.BrickColor = BrickColor.new("White")
  8925. v.Material = "Neon"
  8926. end
  8927. end
  8928. for i, v in pairs(extrawingmod1:GetChildren()) do
  8929. if v:IsA("Part") then
  8930. v.Transparency = 1
  8931. v.BrickColor = BrickColor.new("White")
  8932. v.Material = "Neon"
  8933. end
  8934. end
  8935. for i, v in pairs(extrawingmod2:GetChildren()) do
  8936. if v:IsA("Part") then
  8937. v.Transparency = 1
  8938. v.BrickColor = BrickColor.new("White")
  8939. v.Material = "Neon"
  8940. end
  8941. end
  8942. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  8943. resetmode()
  8944. end
  8945. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  8946. ModeOfGlitch = 6127843
  8947. storehumanoidWS = 50
  8948. hum.WalkSpeed = 50
  8949. rainbowmode = true
  8950. chaosmode = false
  8951. tl1.Enabled = true
  8952. tl2.Enabled = true
  8953. tl3.Enabled = true
  8954. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  8955. newTheme("rbxassetid://147930134",0,1,1)
  8956. MAINRUINCOLOR = BrickColor.new("White")
  8957. for i, v in pairs(mw2:GetChildren()) do
  8958. if v:IsA("Part") then
  8959. v.BrickColor = MAINRUINCOLOR
  8960. v.Material = "Neon"
  8961. end
  8962. end
  8963. for i, v in pairs(mw1:GetChildren()) do
  8964. if v:IsA("Part") then
  8965. v.Transparency = 0
  8966. v.BrickColor = MAINRUINCOLOR
  8967. v.Material = "Neon"
  8968. end
  8969. end
  8970. for i, v in pairs(m:GetChildren()) do
  8971. if v:IsA("Part") then
  8972. v.BrickColor = BrickColor.new("White")
  8973. v.Material = "Neon"
  8974. end
  8975. end
  8976. for i, v in pairs(m2:GetChildren()) do
  8977. if v:IsA("Part") then
  8978. v.BrickColor = BrickColor.new("White")
  8979. v.Material = "Neon"
  8980. end
  8981. end
  8982. for i, v in pairs(m3:GetChildren()) do
  8983. if v:IsA("Part") then
  8984. v.BrickColor = BrickColor.new("White")
  8985. v.Material = "Neon"
  8986. end
  8987. end
  8988. for i, v in pairs(extrawingmod1:GetChildren()) do
  8989. if v:IsA("Part") then
  8990. v.Transparency = 1
  8991. v.BrickColor = BrickColor.new("White")
  8992. v.Material = "Neon"
  8993. end
  8994. end
  8995. for i, v in pairs(extrawingmod2:GetChildren()) do
  8996. if v:IsA("Part") then
  8997. v.Transparency = 1
  8998. v.BrickColor = BrickColor.new("White")
  8999. v.Material = "Neon"
  9000. end
  9001. end
  9002. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  9003. resetmode()
  9004. end
  9005. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  9006. ModeOfGlitch = 1000000
  9007. storehumanoidWS = 100
  9008. hum.WalkSpeed = 100
  9009. rainbowmode = false
  9010. chaosmode = false
  9011. tl1.Enabled = true
  9012. tl2.Enabled = true
  9013. tl3.Enabled = true
  9014. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  9015. newTheme("rbxassetid://1359036559",0,1,1)
  9016. MAINRUINCOLOR = BrickColor.new("Bright violet")
  9017. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9018. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9019. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9020. for i, v in pairs(mw2:GetChildren()) do
  9021. if v:IsA("Part") then
  9022. v.BrickColor = MAINRUINCOLOR
  9023. v.Material = "Neon"
  9024. end
  9025. end
  9026. for i, v in pairs(mw1:GetChildren()) do
  9027. if v:IsA("Part") then
  9028. v.Transparency = 0
  9029. v.BrickColor = MAINRUINCOLOR
  9030. v.Material = "Neon"
  9031. end
  9032. end
  9033. for i, v in pairs(m:GetChildren()) do
  9034. if v:IsA("Part") then
  9035. v.Color = Color3.new(0.5,0,1)
  9036. v.Material = "Neon"
  9037. end
  9038. end
  9039. for i, v in pairs(m2:GetChildren()) do
  9040. if v:IsA("Part") then
  9041. v.Color = Color3.new(0.25,0,1)
  9042. v.Material = "Neon"
  9043. end
  9044. end
  9045. for i, v in pairs(m3:GetChildren()) do
  9046. if v:IsA("Part") then
  9047. v.Color = Color3.new(0.45,0,1)
  9048. v.Material = "Neon"
  9049. end
  9050. end
  9051. for i, v in pairs(extrawingmod1:GetChildren()) do
  9052. if v:IsA("Part") then
  9053. v.Transparency = 0.75
  9054. v.Color = Color3.new(0.25,0,1)
  9055. v.Material = "Neon"
  9056. end
  9057. end
  9058. for i, v in pairs(extrawingmod2:GetChildren()) do
  9059. if v:IsA("Part") then
  9060. v.Transparency = 0.75
  9061. v.Color = Color3.new(0.5,0,1)
  9062. v.Material = "Neon"
  9063. end
  9064. end
  9065. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  9066. resetmode()
  9067. end
  9068. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then
  9069. newThemeCust("rbxassetid://1504604335",0,1,1)
  9070. attack = true
  9071. hum.WalkSpeed = 0
  9072. MAINRUINCOLOR = BrickColor.new("Royal purple")
  9073. for i = 0, 24, 0.1 do
  9074. swait()
  9075. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  9076. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  9077. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  9078. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  9079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  9080. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  9081. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  9082. end
  9083. CameraEnshaking(1,1)
  9084. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  9085. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  9086. wait(0.55)
  9087. CameraEnshaking(1,2)
  9088. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  9089. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  9090. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  9091. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  9092. wait(0.55)
  9093. CameraEnshaking(1,3)
  9094. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  9095. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  9096. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  9097. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  9098. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  9099. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  9100. wait(0.55)
  9101. CameraEnshaking(10,5)
  9102. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  9103. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  9104. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  9105. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  9106. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  9107. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  9108. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  9109. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  9110. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  9111. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  9112. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  9113. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  9114. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  9115. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  9116. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  9117. for i = 0, 49 do
  9118. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  9119. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  9120. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  9121. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  9122. end
  9123. ModeOfGlitch = 12345678987654321
  9124. storehumanoidWS = 200
  9125. hum.WalkSpeed = 200
  9126. rainbowmode = false
  9127. chaosmode = false
  9128. tl1.Enabled = true
  9129. tl2.Enabled = true
  9130. tl3.Enabled = true
  9131. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  9132. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9133. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9134. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9135. for i, v in pairs(mw2:GetChildren()) do
  9136. if v:IsA("Part") then
  9137. v.BrickColor = MAINRUINCOLOR
  9138. v.Material = "Neon"
  9139. end
  9140. end
  9141. for i, v in pairs(mw1:GetChildren()) do
  9142. if v:IsA("Part") then
  9143. v.Transparency = 0
  9144. v.BrickColor = MAINRUINCOLOR
  9145. v.Material = "Neon"
  9146. end
  9147. end
  9148. for i, v in pairs(m:GetChildren()) do
  9149. if v:IsA("Part") then
  9150. v.Color = Color3.new(0.5,0,1)
  9151. v.Material = "Neon"
  9152. end
  9153. end
  9154. for i, v in pairs(m2:GetChildren()) do
  9155. if v:IsA("Part") then
  9156. v.Color = Color3.new(0.5,0,1)
  9157. v.Material = "Neon"
  9158. end
  9159. end
  9160. for i, v in pairs(m3:GetChildren()) do
  9161. if v:IsA("Part") then
  9162. v.Color = Color3.new(0.5,0,1)
  9163. v.Material = "Neon"
  9164. end
  9165. end
  9166. for i, v in pairs(extrawingmod1:GetChildren()) do
  9167. if v:IsA("Part") then
  9168. v.Transparency = 0
  9169. v.Color = Color3.new(0.5,0,1)
  9170. v.Material = "Neon"
  9171. end
  9172. end
  9173. for i, v in pairs(extrawingmod2:GetChildren()) do
  9174. if v:IsA("Part") then
  9175. v.Transparency = 0
  9176. v.Color = Color3.new(0.5,0,1)
  9177. v.Material = "Neon"
  9178. end
  9179. attack = false
  9180. end
  9181. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  9182. resetmode()
  9183. end
  9184. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then
  9185. newThemeCust("rbxassetid://723652641",0,1,1)
  9186. attack = true
  9187. hum.WalkSpeed = 0
  9188. MAINRUINCOLOR = BrickColor.new("Crimson")
  9189. for i = 0, 24, 0.1 do
  9190. swait()
  9191. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  9192. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  9193. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  9194. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  9195. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  9196. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  9197. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  9198. end
  9199. CameraEnshaking(1,1)
  9200. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  9201. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  9202. wait(0.55)
  9203. CameraEnshaking(1,2)
  9204. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  9205. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  9206. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  9207. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  9208. wait(0.55)
  9209. CameraEnshaking(1,3)
  9210. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  9211. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  9212. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  9213. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  9214. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  9215. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  9216. wait(0.55)
  9217. CameraEnshaking(10,5)
  9218. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  9219. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  9220. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  9221. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  9222. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  9223. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  9224. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  9225. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  9226. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  9227. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  9228. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  9229. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  9230. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  9231. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  9232. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  9233. for i = 0, 49 do
  9234. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  9235. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  9236. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  9237. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  9238. end
  9239. ModeOfGlitch = 666
  9240. storehumanoidWS = 16
  9241. hum.WalkSpeed = 16
  9242. rainbowmode = false
  9243. chaosmode = false
  9244. tl1.Enabled = true
  9245. tl2.Enabled = true
  9246. tl3.Enabled = true
  9247. RecolorTextAndRename("DeStRuCtIoN",Color3.new(1,0,0),Color3.new(0.75,0,0))
  9248. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9249. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9250. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9251. for i, v in pairs(mw2:GetChildren()) do
  9252. if v:IsA("Part") then
  9253. v.BrickColor = MAINRUINCOLOR
  9254. v.Material = "Neon"
  9255. end
  9256. end
  9257. for i, v in pairs(mw1:GetChildren()) do
  9258. if v:IsA("Part") then
  9259. v.Transparency = 0
  9260. v.BrickColor = MAINRUINCOLOR
  9261. v.Material = "Neon"
  9262. end
  9263. end
  9264. for i, v in pairs(m:GetChildren()) do
  9265. if v:IsA("Part") then
  9266. v.Color = Color3.new(1,0,0)
  9267. v.Material = "Neon"
  9268. end
  9269. end
  9270. for i, v in pairs(m2:GetChildren()) do
  9271. if v:IsA("Part") then
  9272. v.Color = Color3.new(1,0,0)
  9273. v.Material = "Neon"
  9274. end
  9275. end
  9276. for i, v in pairs(m3:GetChildren()) do
  9277. if v:IsA("Part") then
  9278. v.Color = Color3.new(1,0,0)
  9279. v.Material = "Neon"
  9280. end
  9281. end
  9282. for i, v in pairs(extrawingmod1:GetChildren()) do
  9283. if v:IsA("Part") then
  9284. v.Transparency = 0
  9285. v.Color = Color3.new(1,0,0)
  9286. v.Material = "Neon"
  9287. end
  9288. end
  9289. for i, v in pairs(extrawingmod2:GetChildren()) do
  9290. if v:IsA("Part") then
  9291. v.Transparency = 0
  9292. v.Color = Color3.new(1,0,0)
  9293. v.Material = "Neon"
  9294. end
  9295. attack = false
  9296. end
  9297. elseif k == "b" and attack == false and ModeOfGlitch == 666 then
  9298. resetmode()
  9299. end
  9300. if k == "l" and toggleTag == false then
  9301. toggleTag = true
  9302. text.TextTransparency = 0
  9303. text.TextStrokeTransparency = 0
  9304. elseif k == "l" and toggleTag == true then
  9305. toggleTag = false
  9306. text.TextTransparency = 1
  9307. text.TextStrokeTransparency = 1
  9308. end
  9309. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9310. ExtinctiveHeartbreak()
  9311. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9312. PureBomb()
  9313. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9314. scattercorrupt()
  9315. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9316. ChaosGroundStrike()
  9317. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9318. Judgement()
  9319. elseif k == "f" and attack == false and ModeOfGlitch == 5 then
  9320. HolyBarrier()
  9321. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  9322. Starfall()
  9323. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9324. yinyangi()
  9325. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  9326. MeteorStrike()
  9327. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  9328. Wip()
  9329. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  9330. StarfallEX()
  9331. elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then
  9332. FinalCalam()
  9333. end
  9334. if k == "n" and attack == false then
  9335. Blink()
  9336. elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then
  9337. StarDivision()
  9338. end
  9339. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  9340. UniversalCollapse()
  9341. end
  9342. if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then
  9343. hum.WalkSpeed = 16 + 184
  9344. elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then
  9345. hum.WalkSpeed = 200 - 184
  9346. end
  9347. if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then
  9348. UniversalSpark()
  9349. end
  9350. if k == "z" and attack == false and ModeOfGlitch == 666 then
  9351. StarDivision()
  9352. end
  9353. if k == "x" and attack == false and ModeOfGlitch == 666 then
  9354. Starfall()
  9355. end
  9356. if k == "m" and attack == false and ModeOfGlitch == 4 then
  9357. ChaosBegone()
  9358. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then
  9359. THEHELLITSTHATBIG()
  9360. elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then
  9361. removelol()
  9362. end
  9363. end)
  9364. mouse.KeyUp:connect(function(k)
  9365. if k == "f" and ModeOfGlitch == 5 then
  9366. shielding = false
  9367. end
  9368. if k == "z" and ModeOfGlitch == 5 then
  9369. judgement = false
  9370. end
  9371. end)
  9372. coroutine.resume(coroutine.create(function()
  9373. while true do
  9374. swait(2)
  9375. if rainbowmode == true or ModeOfGlitch == 6 then
  9376. if eff == true then
  9377. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  9378. end
  9379. end
  9380. end
  9381. end))
  9382. coroutine.resume(coroutine.create(function()
  9383. while true do
  9384. swait(2)
  9385. if shielding == true then
  9386. end
  9387. end
  9388. end))
  9389.  
  9390.  
  9391. coroutine.resume(coroutine.create(function()
  9392. while true do
  9393. if ModeOfGlitch == 1000000 then
  9394. swait(0.5)
  9395. end
  9396. swait()
  9397. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  9398. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  9399. end
  9400. if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  9401. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  9402. end
  9403. end
  9404. end))
  9405.  
  9406.  
  9407. coroutine.resume(coroutine.create(function()
  9408. while true do
  9409. swait(2)
  9410. if chaosmode == true then
  9411. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9412. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9413. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9414. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  9415. for i, v in pairs(mw1:GetChildren()) do
  9416. if v:IsA("Part") then
  9417. v.Transparency = 0.75
  9418. v.BrickColor = BrickColor.random()
  9419. v.Material = "Neon"
  9420. end
  9421. end
  9422. for i, v in pairs(m2:GetChildren()) do
  9423. if v:IsA("Part") then
  9424. v.BrickColor = BrickColor.random()
  9425. v.Material = "Neon"
  9426. end
  9427. end
  9428. for i, v in pairs(secondchar:GetChildren()) do
  9429. if v:IsA("Part") then
  9430. v.BrickColor = BrickColor.random()
  9431. v.Material = "Neon"
  9432. end
  9433. end
  9434. end
  9435. end
  9436. end))
  9437. Humanoid.Name = "STARGLITCHER"
  9438. Humanoid.MaxHealth = math.huge
  9439. Humanoid.Health = math.huge
  9440. Instance.new("ForceField",char).Visible = false
  9441. Humanoid.Animator.Parent = nil
  9442. idleanim=.4
  9443. while true do
  9444. if rainbowmode == false then
  9445. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9446. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9447. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9448. for i, v in pairs(secondchar:GetChildren()) do
  9449. if v:IsA("Part") then
  9450. v.BrickColor = MAINRUINCOLOR
  9451. v.Material = "Neon"
  9452. end
  9453. end
  9454. if chaosmode == false then
  9455. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9456. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9457. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9458. for i, v in pairs(secondchar:GetChildren()) do
  9459. if v:IsA("Part") then
  9460. v.BrickColor = MAINRUINCOLOR
  9461. v.Material = "Neon"
  9462. end
  9463. end
  9464. end
  9465. end
  9466. if rainbowmode == true then
  9467. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  9468. MAINRUINCOLOR = BrickColor.new("White")
  9469. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9470. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9471. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9472. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9473. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9474. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  9475. for i, v in pairs(m:GetChildren()) do
  9476. if v:IsA("Part") then
  9477. v.Color = Color3.new(r/255,g/255,b/255)
  9478. end
  9479. end
  9480. for i, v in pairs(m2:GetChildren()) do
  9481. if v:IsA("Part") then
  9482. v.Color = Color3.new(r/255,g/255,b/255)
  9483. end
  9484. end
  9485. for i, v in pairs(secondchar:GetChildren()) do
  9486. if v:IsA("Part") then
  9487. v.Color = Color3.new(r/255,g/255,b/255)
  9488. v.Material = "Neon"
  9489. end
  9490. end
  9491. for i, v in pairs(m3:GetChildren()) do
  9492. if v:IsA("Part") then
  9493. v.Color = Color3.new(r/255,g/255,b/255)
  9494. end
  9495. end
  9496. for i, v in pairs(mw1:GetChildren()) do
  9497. if v:IsA("Part") then
  9498. v.Color = Color3.new(r/255,g/255,b/255)
  9499. v.Material = "Neon"
  9500. end
  9501. end
  9502. for i, v in pairs(mw2:GetChildren()) do
  9503. if v:IsA("Part") then
  9504. v.Color = Color3.new(r/255,g/255,b/255)
  9505. v.Material = "Neon"
  9506. end
  9507. end
  9508. end
  9509. CameraManager()
  9510. swait()
  9511. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  9512. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  9513. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  9514. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  9515. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  9516. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  9517.  
  9518. if attack == false and ActiveGia == false then
  9519. torsweld.C1=clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  9520. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
  9521. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
  9522. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  9523. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
  9524. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
  9525. elseif attack == false and ActiveGia == true then
  9526. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  9527. torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
  9528. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  9529. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  9530. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  9531. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
  9532. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  9533. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  9534. torsweld.C1=clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025)
  9535. larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
  9536. rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
  9537. llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025)
  9538. rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
  9539. hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025)
  9540. end
  9541. end
  9542.  
  9543. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  9544. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  9545. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  9546. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  9547. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  9548. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  9549. sine = sine + change
  9550. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9551. local velderp=RootPart.Velocity.y
  9552. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9553. if equipped==true or equipped==false then
  9554. if attack==false then
  9555. idle=idle+1
  9556. else
  9557. idle=0
  9558. end
  9559. if idle>=500 then
  9560. if attack==false then
  9561. --Sheath()
  9562. end
  9563. end
  9564. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9565. Anim="Jump"
  9566. if attack==false then
  9567. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  9568. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  9569. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  9570. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9571. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  9572. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  9573. end
  9574. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9575. Anim="Fall"
  9576. if attack==false then
  9577. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  9578. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  9579. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  9580. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  9581. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  9582. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  9583. end
  9584. elseif torvel<1 and hitfloor~=nil then
  9585. Anim="Idle"
  9586. if attack==false then
  9587. if ModeOfGlitch == 1 then
  9588. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  9589. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  9590. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  9591. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  9592. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  9593. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  9594.  
  9595. elseif ModeOfGlitch == 666 then
  9596. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  9597. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  9598. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  9599. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  9600. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  9601. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  9602.  
  9603. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  9604. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9605. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9606. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  9607. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  9608. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  9609. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  9610.  
  9611. elseif ModeOfGlitch == 3 then
  9612. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  9613. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9614. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  9615. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  9616. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  9617. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9618.  
  9619. elseif ModeOfGlitch == 4 then
  9620. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  9621. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  9622. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9623. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  9624. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  9625. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  9626.  
  9627. elseif ModeOfGlitch == 5 then
  9628. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9629. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  9630. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  9631. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  9632. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  9633. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  9634.  
  9635. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  9636. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  9637. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  9638. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  9639. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  9640. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  9641. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  9642.  
  9643. elseif ModeOfGlitch == 12345678987654321 then
  9644. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  9645. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  9646. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  9647. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  9648. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  9649. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  9650. end
  9651. end
  9652. elseif torvel>2 and torvel<50 and hitfloor~=nil then
  9653. Anim="Walk"
  9654. if attack==false then
  9655. if ModeOfGlitch == 1 then
  9656. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  9657. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  9658. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  9659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  9660. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  9661. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  9662.  
  9663. elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then
  9664. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1)
  9665. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1)
  9666. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  9667. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  9668. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  9669. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  9670.  
  9671. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then
  9672. RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  9673. LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
  9674. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  9675. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  9676. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  9677. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  9678. end
  9679. end
  9680. elseif torvel>=22 and hitfloor~=nil then
  9681. Anim="Run"
  9682. if attack==false then
  9683. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
  9684. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9685. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  9687. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  9688. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  9689. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  9690. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
  9691. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  9692. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  9693. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  9694. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  9695. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  9696. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  9697. end
  9698. end
  9699. end
  9700. end
  9701. end
  9702. warn([[Somebody put this on Ghostbin, but doesn't realize it isn't free hosting. RAY: d76cfa17e1ab]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement