Advertisement
Guest User

when i wake up

a guest
Oct 17th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 245.53 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local f = Instance.new("Frame")
  6. local credits = Instance.new("TextLabel")
  7. local bar1 = Instance.new("TextLabel")
  8. local cred = Instance.new("TextButton")
  9. local lua = Instance.new("TextButton")
  10. local scripts = Instance.new("TextButton")
  11. local executor = Instance.new("Frame")
  12. local scriptbox = Instance.new("TextBox")
  13. local execute = Instance.new("TextButton")
  14. local instantbutton = Instance.new("TextButton")
  15. local yeet = Instance.new("Frame")
  16. local credits_2 = Instance.new("Frame")
  17. local ne = Instance.new("TextLabel")
  18. local e = Instance.new("TextLabel")
  19. local salt = Instance.new("TextLabel")
  20. local scripts_2 = Instance.new("Frame")
  21. local reminder1 = Instance.new("TextLabel")
  22. local guet = Instance.new("TextButton")
  23. --Properties:
  24. ScreenGui.Name = "ScreenGui"
  25. ScreenGui.Parent = game.Players.lukekitten95.PlayerGui
  26.  
  27. f.Name = "f"
  28. f.Parent = ScreenGui
  29. f.BackgroundColor3 = Color3.new(0.0666667, 1, 0.172549)
  30. f.Position = UDim2.new(0.688746989, 0, 0.766776681, 0)
  31. f.Size = UDim2.new(0, 350, 0, 212)
  32. f.Visible = true
  33. f.Active = true
  34. f.Draggable = true
  35.  
  36. credits.Name = "credits"
  37. credits.Parent = f
  38. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  39. credits.BackgroundTransparency = 1
  40. credits.Size = UDim2.new(0, 350, 0, 50)
  41. credits.Font = Enum.Font.SourceSansBold
  42. credits.Text = "Luke's Gui V1"
  43. credits.TextColor3 = Color3.new(0, 0, 0)
  44. credits.TextScaled = true
  45. credits.TextSize = 14
  46. credits.TextWrapped = true
  47.  
  48. bar1.Name = "bar1"
  49. bar1.Parent = f
  50. bar1.BackgroundColor3 = Color3.new(0, 1, 0)
  51. bar1.BackgroundTransparency = 0.10000000149012
  52. bar1.Position = UDim2.new(0, 0, 0.198113203, 0)
  53. bar1.Size = UDim2.new(0, 350, 0, 1)
  54. bar1.Font = Enum.Font.SourceSans
  55. bar1.Text = ""
  56. bar1.TextColor3 = Color3.new(0, 0, 0)
  57. bar1.TextScaled = true
  58. bar1.TextSize = 14
  59. bar1.TextWrapped = true
  60.  
  61. cred.Name = "cred"
  62. cred.Parent = f
  63. cred.BackgroundColor3 = Color3.new(1, 1, 1)
  64. cred.Position = UDim2.new(0.0371428579, 0, 0.235849053, 0)
  65. cred.Size = UDim2.new(0, 78, 0, 50)
  66. cred.Font = Enum.Font.SourceSans
  67. cred.Text = "Credits"
  68. cred.TextColor3 = Color3.new(0, 0, 0)
  69. cred.TextSize = 14
  70. scripts.MouseButton1Click:connect(function()
  71. game.Players.lukekitten95.PlayerGui.ScreenGui.credits_2.Visible = true
  72. end)
  73.  
  74. lua.Name = "lua"
  75. lua.Parent = f
  76. lua.BackgroundColor3 = Color3.new(1, 1, 1)
  77. lua.Position = UDim2.new(0.428571433, 0, 0.245283023, 0)
  78. lua.Size = UDim2.new(0, 155, 0, 113)
  79. lua.Font = Enum.Font.SourceSans
  80. lua.Text = "Lua executer"
  81. lua.TextColor3 = Color3.new(0, 0, 0)
  82. lua.TextSize = 14
  83. scripts.MouseButton1Click:connect(function()
  84. game.Players.lukekitten95.PlayerGui.ScreenGui.executor.Visible = true
  85. end)
  86.  
  87. scripts.Name = "scripts"
  88. scripts.Parent = f
  89. scripts.BackgroundColor3 = Color3.new(1, 1, 1)
  90. scripts.Position = UDim2.new(0.0371428728, 0, 0.542452812, 0)
  91. scripts.Size = UDim2.new(0, 78, 0, 50)
  92. scripts.Font = Enum.Font.SourceSans
  93. scripts.Text = "Scripts"
  94. scripts.TextColor3 = Color3.new(0, 0, 0)
  95. scripts.TextSize = 14
  96. scripts.MouseButton1Click:connect(function()
  97. game.Players.lukekitten95.PlayerGui.ScreenGui.scripts_2.Visible = true
  98. end)
  99.  
  100. executor.Name = "executor"
  101. executor.Parent = ScreenGui
  102. executor.BackgroundColor3 = Color3.new(0.0666667, 1, 0.172549)
  103. executor.Position = UDim2.new(0.688746989, 0, 0.528052807, 0)
  104. executor.Size = UDim2.new(0, 350, 0, 217)
  105. executor.Visible = false
  106. executor.Active = true
  107. executor.Draggable = true
  108.  
  109. scriptbox.Name = "scriptbox"
  110. scriptbox.Parent = executor
  111. scriptbox.BackgroundColor3 = Color3.new(1, 1, 1)
  112. scriptbox.Position = UDim2.new(0, 0, 0.0702112839, 0)
  113. scriptbox.Size = UDim2.new(0, 350, 0, 132)
  114. scriptbox.Font = Enum.Font.SourceSans
  115. scriptbox.Text = "Put scripts in here!"
  116. scriptbox.TextColor3 = Color3.new(0, 0, 0)
  117. scriptbox.TextScaled = true
  118. scriptbox.TextSize = 14
  119. scriptbox.TextWrapped = true
  120.  
  121. execute.Name = "execute"
  122. execute.Parent = executor
  123. execute.BackgroundColor3 = Color3.new(1, 1, 1)
  124. execute.Position = UDim2.new(0, 0, 0.679027915, 0)
  125. execute.Size = UDim2.new(0, 350, 0, 50)
  126. execute.Font = Enum.Font.SourceSans
  127. execute.Text = "Execute Script"
  128. execute.TextColor3 = Color3.new(0, 0, 0)
  129. execute.TextScaled = true
  130. execute.TextSize = 14
  131. execute.TextWrapped = true
  132. execute.MouseButton1Click:connect(function()
  133. loadstring(scriptbox.Text)
  134. end)
  135.  
  136. yeet.Name = "yeet"
  137. yeet.Parent = executor
  138. yeet.BackgroundColor3 = Color3.new(0, 0, 0)
  139. yeet.Size = UDim2.new(0, 350, 0, 15)
  140.  
  141. credits_2.Name = "credits"
  142. credits_2.Parent = ScreenGui
  143. credits_2.BackgroundColor3 = Color3.new(0.0666667, 1, 0.172549)
  144. credits_2.Position = UDim2.new(0.409417391, 0, 0.766776681, 0)
  145. credits_2.Size = UDim2.new(0, 350, 0, 212)
  146. credits_2.Visible = false
  147. credits_2.Active = true
  148. credits_2.Draggable = true
  149.  
  150. ne.Name = "ne"
  151. ne.Parent = credits_2
  152. ne.BackgroundColor3 = Color3.new(1, 1, 1)
  153. ne.Position = UDim2.new(0, 0, 0.0801886618, 0)
  154. ne.Size = UDim2.new(0, 350, 0, 50)
  155. ne.Font = Enum.Font.SourceSans
  156. ne.Text = "Gui - lukekitten95"
  157. ne.TextColor3 = Color3.new(0, 0, 0)
  158. ne.TextSize = 14
  159.  
  160. e.Name = "e"
  161. e.Parent = credits_2
  162. e.BackgroundColor3 = Color3.new(1, 1, 1)
  163. e.Position = UDim2.new(0, 0, 0.316037714, 0)
  164. e.Size = UDim2.new(0, 350, 0, 50)
  165. e.Font = Enum.Font.SourceSans
  166. e.Text = "Owner of voidacity script builder :D"
  167. e.TextColor3 = Color3.new(0, 0, 0)
  168. e.TextSize = 14
  169.  
  170. salt.Name = "salt"
  171. salt.Parent = credits_2
  172. salt.BackgroundColor3 = Color3.new(1, 1, 1)
  173. salt.Position = UDim2.new(0, 0, 0.551886797, 0)
  174. salt.Size = UDim2.new(0, 350, 0, 50)
  175. salt.Font = Enum.Font.SourceSans
  176. salt.Text = "That one salty mod named mr lonely Hm i get why he is lonely"
  177. salt.TextColor3 = Color3.new(0, 0, 0)
  178. salt.TextSize = 14
  179.  
  180. scripts_2.Name = "scripts"
  181. scripts_2.Parent = ScreenGui
  182. scripts_2.BackgroundColor3 = Color3.new(0.0666667, 1, 0.172549)
  183. scripts_2.Position = UDim2.new(0.409417391, 0, 0.533553362, 0)
  184. scripts_2.Size = UDim2.new(0, 350, 0, 212)
  185. scripts_2.Visible = false
  186. scripts_2.Active = true
  187. scripts_2.Draggable = true
  188.  
  189. reminder1.Name = "reminder1"
  190. reminder1.Parent = scripts_2
  191. reminder1.BackgroundColor3 = Color3.new(1, 1, 1)
  192. reminder1.Size = UDim2.new(0, 350, 0, 50)
  193. reminder1.Font = Enum.Font.SourceSans
  194. reminder1.Text = "Scripts might not show up for others. If they dont show up use the LUA Executer."
  195. reminder1.TextColor3 = Color3.new(0, 0, 0)
  196. reminder1.TextScaled = true
  197. reminder1.TextSize = 14
  198. reminder1.TextWrapped = true
  199.  
  200. guet.Name = "guet"
  201. guet.Parent = scripts_2
  202. guet.BackgroundColor3 = Color3.new(1, 1, 1)
  203. guet.Position = UDim2.new(0.0371428579, 0, 0.28773585, 0)
  204. guet.Size = UDim2.new(0, 200, 0, 50)
  205. guet.Font = Enum.Font.SourceSans
  206. guet.Text = "Guest glitcher EDIT"
  207. guet.TextColor3 = Color3.new(0, 0, 0)
  208. guet.TextSize = 14
  209. guet.MouseButton1Click:connect(function()
  210.  
  211. warn([[Guest Glitcher V6 Loaded..
  212. The third Guest Glitcher, The brand new one which will strike popularity.
  213.  
  214. Created by Tc, Edited by Derpz to make it FE AND Make it Guest Glitcher V6!
  215. Credit for Idea: Poison Resistance
  216. ]])
  217.  
  218. ---------Wielder list as of OCs:---------
  219. -- Poison [The Creator]
  220. -- Derpz [The Developer]
  221. -----------------------------------------
  222.  
  223. print([[Icons:
  224. ! = New
  225. ? = Spoilers
  226. * = Exclusivity
  227. C = Changes
  228.  
  229. ]])
  230. warn([[V 6.2 Update Log:
  231. C - We fixxed some bugs, mostly with the sounds.
  232. C - Fixxed some animations not loading when script loaded.
  233. ? - We might add a revengeful Guest soon..
  234.  
  235. Commands for Musical mode: play/, vol/, pitch/, skipto/, telltime/]])
  236. ---- IMPORTANT READING:
  237. ---- Sources and functions might be taken from others
  238. plr = owner
  239.  
  240. script.Parent = workspace.CurrentCamera
  241. plr.CharacterAdded:connect(function()
  242. script.Disabled = true
  243. script:destroy()
  244. end)
  245.  
  246. char = plr.Character
  247. hum = char.Humanoid
  248. local cam = game.Workspace.CurrentCamera
  249. Camera = cam
  250. local CamInterrupt = false
  251. local TwoD = false
  252. local TargetInfo = {nil, nil}
  253. cam.CameraType = "Custom"
  254. t = char.Torso
  255. h = char.Head
  256. ra = char["Right Arm"]
  257. la = char["Left Arm"]
  258. rl = char["Right Leg"]
  259. ll = char["Left Leg"]
  260. tors = char.Torso
  261. lleg = char["Left Leg"]
  262. root = char.HumanoidRootPart
  263. hed = char.Head
  264. rleg = char["Right Leg"]
  265. rarm = char["Right Arm"]
  266. larm = char["Left Arm"]
  267. radian = math.rad
  268. random = math.random
  269. Vec3 = Vector3.new
  270. Inst = Instance.new
  271. cFrame = CFrame.new
  272. Euler = CFrame.fromEulerAnglesXYZ
  273. vt = Vector3.new
  274. bc = BrickColor.new
  275. br = BrickColor.random
  276. it = Instance.new
  277. cf = CFrame.new
  278.  
  279.  
  280. local Booleans = {
  281. CamFollow = true,
  282. GyroUse = true
  283. }
  284.  
  285. function lerp(object, newCFrame, alpha)
  286. return object:lerp(newCFrame, alpha)
  287. end
  288.  
  289. local Directer = Inst("BodyGyro", root)
  290. Directer.MaxTorque = Vec3(0, 0, 0)
  291. Directer.P = 600000
  292. local CPart = Inst("Part")
  293. CPart.Anchored = true
  294. CPart.CanCollide = false
  295. CPart.Locked = true
  296. CPart.Transparency = 1
  297.  
  298. local rainbowmode = false
  299. local chaosmode = false
  300. local duringend = false
  301. local ModeOfGlitch = 1
  302.  
  303. local kan = Instance.new("Sound",char)
  304. kan.Volume = 1.25
  305. kan.TimePosition = 0
  306. kan.PlaybackSpeed = 1
  307. kan.Pitch = 1.01
  308. kan.SoundId = "rbxassetid://435773595"
  309. kan.Name = "wreckeda"
  310. kan.Looped = true
  311. kan:Play()
  312.  
  313. local currentThemePlaying = kan.SoundId
  314. local currentPitch = kan.Pitch
  315. local currentVol = kan.Volume
  316. function newTheme(ID,timepos,pitch,vol)
  317. local kanz = kan
  318. --kanz:Stop()
  319. kanz.Volume = vol
  320. --kanz.TimePosition = timepos
  321. kanz.PlaybackSpeed = pitch
  322. kanz.Pitch = pitch
  323. kanz.SoundId = ID
  324. kanz.Name = "wrecked"
  325. kanz.Looped = true
  326. currentThemePlaying = kanz.SoundId
  327. currentVol = kanz.Volume
  328. currentPitch = kanz.Pitch
  329. --kanz:Play()
  330. --coroutine.resume(coroutine.create(function()
  331. --wait(0.05)
  332. --end))
  333. end
  334.  
  335.  
  336. function newThemeCust(ID,timepos,pitch,vol)
  337. local kanz = kan
  338. kanz:Stop()
  339. kanz.Volume = vol
  340. kanz.TimePosition = timepos
  341. kanz.PlaybackSpeed = pitch
  342. kanz.Pitch = pitch
  343. kanz.SoundId = ID
  344. kanz.Name = "wrecked"
  345. kanz.Looped = true
  346. currentThemePlaying = kanz.SoundId
  347. currentVol = kanz.Volume
  348. currentPitch = kanz.Pitch
  349. kanz:Play()
  350. coroutine.resume(coroutine.create(function()
  351. wait(0.05)
  352. end))
  353. end
  354.  
  355. local mutedtog = false
  356.  
  357. function CameraEnshaking(Length,Intensity)
  358. coroutine.resume(coroutine.create(function()
  359. local intensity = 1*Intensity
  360. local rotM = 0.01*Intensity
  361. for i = 0, Length, 0.1 do
  362. swait()
  363. intensity = intensity - 0.05*Intensity/Length
  364. rotM = rotM - 0.0005*Intensity/Length
  365. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  366. 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)
  367. end
  368. Humanoid.CameraOffset = Vec3(0, 0, 0)
  369. end))
  370. end
  371. CamShake=function(Part,Distan,Power,Times)
  372. local de=Part.Position
  373. for i,v in pairs(workspace:children()) do
  374. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  375. for _,c in pairs(v:children()) do
  376. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  377. local Noob=v.Humanoid
  378. if Noob~=nil then
  379. coroutine.resume(coroutine.create(function()
  380. FV = Instance.new("BoolValue", Noob)
  381. FV.Name = "CameraShake"
  382. for ShakeNum=1,Times do
  383. swait()
  384. local ef=Power
  385. if ef>=1 then
  386. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  387. else
  388. ef=Power*10
  389. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  390. end
  391. end
  392. Humanoid.CameraOffset = Vector3.new(0,0,0)
  393. FV:Destroy()
  394. end))
  395. CameraShake(Times, Power, Noob)
  396. end
  397. end
  398. end
  399. end
  400. end
  401. end
  402.  
  403. local toggleTag = true
  404. local bilguit = Instance.new("BillboardGui", hed)
  405. bilguit.Adornee = nil
  406. bilguit.Name = "Name"
  407. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  408. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  409. local modet = Instance.new("TextLabel", bilguit)
  410. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  411. modet.FontSize = "Size8"
  412. modet.TextScaled = true
  413. modet.TextTransparency = 0
  414. modet.BackgroundTransparency = 1
  415. modet.TextTransparency = 0
  416. modet.TextStrokeTransparency = 0
  417. modet.Font = "Fantasy"
  418. modet.TextStrokeColor3 = Color3.new(0,0,0.4)
  419. modet.TextColor3 = Color3.new(1,1,1)
  420. modet.Text = "Gui by lukekitten95."
  421.  
  422.  
  423. function chatfunc(text,color,typet,font,timeex)
  424. local chat = coroutine.wrap(function()
  425. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  426. Character:FindFirstChild("TalkingBillBoard"):destroy()
  427. end
  428. local naeeym2 = Instance.new("BillboardGui",Character)
  429. naeeym2.Size = UDim2.new(0,100,0,40)
  430. naeeym2.StudsOffset = Vector3.new(0,3,0)
  431. naeeym2.Adornee = Character.Head
  432. naeeym2.Name = "TalkingBillBoard"
  433. local tecks2 = Instance.new("TextLabel",naeeym2)
  434. tecks2.BackgroundTransparency = 1
  435. tecks2.BorderSizePixel = 0
  436. tecks2.Text = ""
  437. tecks2.Font = font
  438. tecks2.TextSize = 30
  439. tecks2.TextStrokeTransparency = 0
  440. tecks2.TextColor3 = color
  441. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  442. tecks2.Size = UDim2.new(1,0,0.5,0)
  443. local tecks3 = Instance.new("TextLabel",naeeym2)
  444. tecks3.BackgroundTransparency = 1
  445. tecks3.BorderSizePixel = 0
  446. tecks3.Text = ""
  447. tecks3.Font = font
  448. tecks3.TextSize = 30
  449. tecks3.TextStrokeTransparency = 0
  450. if typet == "Inverted" then
  451. tecks3.TextColor3 = Color3.new(0,0,0)
  452. tecks3.TextStrokeColor3 = color
  453. elseif typet == "Normal" then
  454. tecks3.TextColor3 = color
  455. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  456. end
  457. tecks3.Size = UDim2.new(1,0,0.5,0)
  458. coroutine.resume(coroutine.create(function()
  459. while true do
  460. swait(1)
  461. if chaosmode == true then
  462. tecks2.TextColor3 = BrickColor.random().Color
  463. tecks3.TextStrokeColor3 = BrickColor.random().Color
  464. end
  465. end
  466. end))
  467. modet.TextTransparency = modet.TextTransparency + 1
  468. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  469. for i = 0, 74*timeex do
  470. swait()
  471. modet.TextTransparency = 1
  472. modet.TextStrokeTransparency = 1
  473. tecks2.Text = text
  474. tecks3.Text = text
  475. end
  476. local randomrot = math.random(1,2)
  477. if randomrot == 1 then
  478. for i = 1, 50 do
  479. swait()
  480. tecks2.Text = text
  481. tecks3.Text = text
  482. modet.TextTransparency = modet.TextTransparency - .02
  483. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  484. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  485. tecks2.TextTransparency = tecks2.TextTransparency + .04
  486. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  487. tecks3.TextTransparency = tecks2.TextTransparency + .04
  488. end
  489. elseif randomrot == 2 then
  490. for i = 1, 50 do
  491. swait()
  492. tecks2.Text = text
  493. tecks3.Text = text
  494. modet.TextTransparency = modet.TextTransparency - .02
  495. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  496. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  497. tecks2.TextTransparency = tecks2.TextTransparency + .04
  498. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  499. tecks3.TextTransparency = tecks2.TextTransparency + .04
  500. end
  501. end
  502. modet.TextTransparency = 0
  503. modet.TextStrokeTransparency = 0
  504. if toggleTag == false then
  505. modet.TextTransparency = 1
  506. modet.TextStrokeTransparency = 1
  507. end
  508. naeeym2:Destroy()
  509. end)
  510. chat()
  511. end
  512.  
  513.  
  514. local Create = LoadLibrary("RbxUtility").Create
  515.  
  516. CFuncs = {
  517. ["Part"] = {
  518. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  519. local Part = Create("Part"){
  520. Parent = Parent,
  521. Reflectance = Reflectance,
  522. Transparency = Transparency,
  523. CanCollide = false,
  524. Locked = true,
  525. BrickColor = BrickColor.new(tostring(BColor)),
  526. Name = Name,
  527. Size = Size,
  528. Material = Material,
  529. }
  530. RemoveOutlines(Part)
  531. return Part
  532. end;
  533. };
  534.  
  535. ["Mesh"] = {
  536. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  537. local Msh = Create(Mesh){
  538. Parent = Part,
  539. Offset = OffSet,
  540. Scale = Scale,
  541. }
  542. if Mesh == "SpecialMesh" then
  543. Msh.MeshType = MeshType
  544. Msh.MeshId = MeshId
  545. end
  546. return Msh
  547. end;
  548. };
  549.  
  550. ["Mesh"] = {
  551. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  552. local Msh = Create(Mesh){
  553. Parent = Part,
  554. Offset = OffSet,
  555. Scale = Scale,
  556. }
  557. if Mesh == "SpecialMesh" then
  558. Msh.MeshType = MeshType
  559. Msh.MeshId = MeshId
  560. end
  561. return Msh
  562. end;
  563. };
  564.  
  565. ["Weld"] = {
  566. Create = function(Parent, Part0, Part1, C0, C1)
  567. local Weld = Create("Weld"){
  568. Parent = Parent,
  569. Part0 = Part0,
  570. Part1 = Part1,
  571. C0 = C0,
  572. C1 = C1,
  573. }
  574. return Weld
  575. end;
  576. };
  577.  
  578. ["Sound"] = {
  579. Create = function(id, par, vol, pit)
  580. coroutine.resume(coroutine.create(function()
  581. local S = Create("Sound"){
  582. Volume = vol,
  583. Name = "EffectSoundo",
  584. Pitch = pit or 1,
  585. SoundId = id,
  586. Parent = par or workspace,
  587. }
  588. wait()
  589. S:play()
  590. game:GetService("Debris"):AddItem(S, 10)
  591. end))
  592. end;
  593. };
  594.  
  595. ["LongSound"] = {
  596. Create = function(id, par, vol, pit)
  597. coroutine.resume(coroutine.create(function()
  598. local S = Create("Sound"){
  599. Volume = vol,
  600. Pitch = pit or 1,
  601. SoundId = id,
  602. Parent = par or workspace,
  603. }
  604. wait()
  605. S:play()
  606. game:GetService("Debris"):AddItem(S, 60)
  607. end))
  608. end;
  609. };
  610.  
  611. ["ParticleEmitter"] = {
  612. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  613. local fp = Create("ParticleEmitter"){
  614. Parent = Parent,
  615. Color = ColorSequence.new(Color1, Color2),
  616. LightEmission = LightEmission,
  617. Size = Size,
  618. Texture = Texture,
  619. Transparency = Transparency,
  620. ZOffset = ZOffset,
  621. Acceleration = Accel,
  622. Drag = Drag,
  623. LockedToPart = LockedToPart,
  624. VelocityInheritance = VelocityInheritance,
  625. EmissionDirection = EmissionDirection,
  626. Enabled = Enabled,
  627. Lifetime = LifeTime,
  628. Rate = Rate,
  629. Rotation = Rotation,
  630. RotSpeed = RotSpeed,
  631. Speed = Speed,
  632. VelocitySpread = VelocitySpread,
  633. }
  634. return fp
  635. end;
  636. };
  637.  
  638. CreateTemplate = {
  639.  
  640. };
  641. }
  642.  
  643.  
  644.  
  645. New = function(Object, Parent, Name, Data)
  646. local Object = Instance.new(Object)
  647. for Index, Value in pairs(Data or {}) do
  648. Object[Index] = Value
  649. end
  650. Object.Parent = Parent
  651. Object.Name = Name
  652. return Object
  653. end
  654. local halocolor = BrickColor.new("Pastel light blue")
  655. local halocolor2 = BrickColor.new("Cool yellow")
  656. local starcolor = BrickColor.new("Bright yellow")
  657. local lunacolor = BrickColor.new("Navy blue")
  658. local lunacolor2 = BrickColor.new("Bright blue")
  659. local wepcolor = BrickColor.new("Really black")
  660. local maincolor = BrickColor.new("Really black")
  661. local m = Instance.new("Model",char)
  662. local m2 = Instance.new("Model",char)
  663. local m3 = Instance.new("Model",char)
  664. local mw1 = Instance.new("Model",char)
  665. local mw2 = Instance.new("Model",char)
  666.  
  667.  
  668. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  669. local gui = it(GuiType)
  670. gui.Parent = parent
  671. gui.Text = text
  672. gui.BackgroundTransparency = backtrans
  673. gui.BackgroundColor3 = backcol
  674. gui.SizeConstraint = "RelativeXY"
  675. gui.TextXAlignment = "Center"
  676. gui.TextYAlignment = "Center"
  677. gui.Position = pos
  678. gui.Size = size
  679. gui.Font = "SourceSans"
  680. gui.FontSize = "Size14"
  681. gui.TextWrapped = false
  682. gui.TextStrokeTransparency = 0
  683. gui.TextColor = BrickColor.new("White")
  684. return gui
  685. end
  686. ---- GUI set
  687. local basgui = it("GuiMain")
  688. basgui.Parent = plr.PlayerGui
  689. basgui.Name = "Killcounter GUI"
  690. local basframe = it("Frame")
  691. basframe.Parent = basgui
  692. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  693. basframe.BackgroundTransparency = 1
  694. basframe.BorderColor3 = Color3.new(17, 17, 17)
  695. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  696. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  697. local uhh = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0.5, 0, 0.45, 0), UDim2.new(1.5, 0, 0.55, 0))
  698. uhh.ZIndex = 2
  699. uhh.Font = "Bodoni"
  700. uhh.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  701. uhh.TextColor3 = Color3.new(1,1,1)
  702. uhh.BackgroundTransparency = 0.25
  703. uhh.BorderSizePixel = 2
  704. uhh.BorderColor3 = Color3.new(0,0,0)
  705. uhh.TextScaled = true
  706. uhh.TextXAlignment = "Left"
  707. uhh.Text = "Switch mode: Q-J"
  708. uhh.TextSize = 64
  709. local modeteller = gui("TextLabel", basframe, "Basic", 0.5, BrickColor.new("Really black").Color, UDim2.new(-0, 0, -0.01, 0), UDim2.new(1, 0, 0.45, 0))
  710. modeteller.ZIndex = 2
  711. modeteller.Font = "Bodoni"
  712. modeteller.TextStrokeColor3 = Color3.new(0.05,0.05,0.05)
  713. modeteller.TextColor3 = Color3.new(1,1,1)
  714. modeteller.BackgroundTransparency = 0.25
  715. modeteller.BorderSizePixel = 2
  716. modeteller.BorderColor3 = Color3.new(0,0,0)
  717. modeteller.TextScaled = true
  718. modeteller.TextXAlignment = "Right"
  719. modeteller.Text = "Lol it broke"
  720. modeteller.TextSize = 64
  721.  
  722. local extrawingmod1 = Instance.new("Model",char)
  723. local extrawingmod2 = Instance.new("Model",char)
  724.  
  725. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  726. local p = Instance.new("Part")
  727. p.TopSurface = 0
  728. p.BottomSurface = 0
  729. p.Parent = parent
  730. p.Size = Vector3.new(0.1,0.1,0.1)
  731. p.Transparency = transparency
  732. p.Reflectance = reflectance
  733. p.CanCollide = false
  734. p.Locked = true
  735. p.BrickColor = brickcolor
  736. p.Material = material
  737. return p
  738. end
  739.  
  740. function CreateMesh(parent,meshtype,x1,y1,z1)
  741. local mesh = Instance.new("SpecialMesh",parent)
  742. mesh.MeshType = meshtype
  743. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  744. return mesh
  745. end
  746.  
  747. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  748. local mesh = Instance.new("SpecialMesh",parent)
  749. mesh.MeshType = "FileMesh"
  750. mesh.MeshId = meshid
  751. mesh.Scale = Vector3.new(x1,y1,z1)
  752. return mesh
  753. end
  754.  
  755.  
  756. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  757. local mesh = Instance.new("SpecialMesh",parent)
  758. mesh.MeshType = "FileMesh"
  759. mesh.MeshId = meshid
  760. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  761. mesh.Scale = Vector3.new(x1,y1,z1)
  762. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  763. return mesh
  764. end
  765.  
  766. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  767. local weld = Instance.new("Weld")
  768. weld.Parent = parent
  769. weld.Part0 = part0
  770. weld.Part1 = part1
  771. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  772. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  773. return weld
  774. end
  775.  
  776.  
  777. --------------
  778. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  779. 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))
  780. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  781. 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))
  782.  
  783. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  784. CreateMesh(handle,"Brick",0,0,0)
  785. 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))
  786. local valuaring = 10
  787.  
  788. local refec = Instance.new("ParticleEmitter",handlex)
  789. refec.Texture = "rbxassetid://284205403"
  790. refec.LightEmission = 0.95
  791. refec.Color = ColorSequence.new(BrickColor.new("White").Color)
  792. refec.Rate = 50
  793. refec.Lifetime = NumberRange.new(0.5)
  794. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  795. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  796. refec.Speed = NumberRange.new(0,2)
  797. refec.Drag = 5
  798. refec.LockedToPart = true
  799. refec.Rotation = NumberRange.new(-500,500)
  800. refec.VelocitySpread = 9000
  801. refec.RotSpeed = NumberRange.new(-500,500)
  802. local refec2 = refec:Clone()
  803. refec2.LightEmission = 0.75
  804. refec2.Texture = "rbxassetid://254287058"
  805. refec2.Parent = handlex
  806. refec2.Rate = 25
  807. refec2.Lifetime = NumberRange.new(0.75)
  808. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  809. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  810. refec2.Speed = NumberRange.new(0)
  811. local refec3 = refec:Clone()
  812. refec3.LightEmission = 0.75
  813. refec3.Texture = "rbxassetid://363275192"
  814. refec3.Parent = handlex
  815. refec3.Rate = 25
  816. refec3.Lifetime = NumberRange.new(1)
  817. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  818. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  819. refec3.Speed = NumberRange.new(0)
  820. refec3.RotSpeed = NumberRange.new(-50,50)
  821.  
  822. for i = 0, 35 do
  823. valuaring = valuaring + 10
  824. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  825. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  826. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  827. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  828. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  829. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  830. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  831. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  832. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  833. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  834. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  835. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  836. end
  837.  
  838.  
  839. local handle = CreateParta(m,1,1,"Neon",maincolor)
  840. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  841. 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))
  842.  
  843. --- Left wing.
  844.  
  845. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  846. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  847. 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))
  848.  
  849. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  850. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  851. 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))
  852. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  853. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  854. 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))
  855. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  856. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  857. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  858. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  859. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  860. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  861. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  862. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  863. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  864. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  865. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  866. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  868. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  869. 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))
  870. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  871. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  872. 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))
  873. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  874. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  875. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  876. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  877. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  878. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  879.  
  880.  
  881. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  882. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  883. 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))
  884.  
  885. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  886. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  887. 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))
  888. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  889. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  890. 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))
  891. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  892. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  893. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  894. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  895. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  896. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  897. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  898. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  899. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  900. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  901. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  902. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  903. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  904. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  905. 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))
  906. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  907. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  908. 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))
  909. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  910. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  911. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  912. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  913. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  914. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  915.  
  916. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  917. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  918. 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))
  919.  
  920. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  921. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  922. 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))
  923. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  924. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  925. 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))
  926. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  927. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  928. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  929. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  930. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  931. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  932. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  933. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  934. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  935. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  936. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  937. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  938. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  939. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  940. 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))
  941. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  942. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  943. 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))
  944. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  945. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  946. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  947. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  949. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950.  
  951. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  952. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  953. 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))
  954.  
  955. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  957. 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))
  958. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  960. 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))
  961. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,3)
  963. 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))
  964. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,3,0.5)
  966. 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))
  967.  
  968. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  969. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  970. 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))
  971.  
  972. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. 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))
  975. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. 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))
  978. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,3)
  980. 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))
  981. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,3,0.5)
  983. 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))
  984.  
  985. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  986. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  987. 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))
  988.  
  989. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  991. 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))
  992. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  994. 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))
  995. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,0.5,3)
  997. 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))
  998. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1000. 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))
  1001.  
  1002. -- Right wing.
  1003.  
  1004. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1005. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1006. 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))
  1007.  
  1008. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1010. 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))
  1011. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1012. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1013. 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))
  1014. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1016. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1017. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1019. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1020. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1022. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1023. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1024. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1025. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1026. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1027. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1028. 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))
  1029. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1030. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1031. 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))
  1032. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1033. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1034. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1035. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1036. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1037. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1038.  
  1039. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1040. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1041. 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))
  1042.  
  1043. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1045. 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))
  1046. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1048. 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))
  1049. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1051. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1052. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1053. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1054. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1055. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1056. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1057. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1058. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1059. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1060. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1061. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1062. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1063. 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))
  1064. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1065. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1066. 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))
  1067. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1068. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1069. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1071. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1072. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1073.  
  1074. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1075. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1076. 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))
  1077.  
  1078.  
  1079. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1080. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1081. 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))
  1082. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1083. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1084. 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))
  1085. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1086. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1087. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1088. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1089. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1090. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1091. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1092. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1093. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1094. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1095. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1096. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1097. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1098. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1099. 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))
  1100. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1102. 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))
  1103. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1105. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1107. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1108. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1109.  
  1110.  
  1111. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1112. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1113. 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))
  1114.  
  1115. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1116. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1117. 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))
  1118. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1119. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1120. 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))
  1121. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1122. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1123. 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))
  1124. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1125. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1126. 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))
  1127.  
  1128. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1129. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1130. 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))
  1131.  
  1132. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1133. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1134. 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))
  1135. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1136. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1137. 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))
  1138. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1140. 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))
  1141. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1142. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1143. 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))
  1144.  
  1145. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1146. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1147. 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))
  1148.  
  1149. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1150. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1151. 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))
  1152. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1153. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1154. 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))
  1155. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1156. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1157. 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))
  1158. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1159. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1160. 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))
  1161.  
  1162.  
  1163. ---- HERES THE RING
  1164.  
  1165.  
  1166. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1167. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1168. 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))
  1169. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1170. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1171. 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))
  1172. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1173. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1174. 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))
  1175.  
  1176.  
  1177. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1178. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1179. 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))
  1180.  
  1181. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1182. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1183. 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))
  1184.  
  1185.  
  1186.  
  1187. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1188. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1189. 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))
  1190.  
  1191. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1192. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1193. 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))
  1194.  
  1195. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1196. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1197. 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))
  1198.  
  1199. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1200. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1201. 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))
  1202. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1203. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1204. 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))
  1205.  
  1206. --- second ring
  1207.  
  1208. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1209. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1210. 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))
  1211. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1212. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1213. 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))
  1214. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1215. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1216. 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))
  1217.  
  1218. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1219. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1220. 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))
  1221.  
  1222. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1223. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1224. 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))
  1225.  
  1226.  
  1227.  
  1228. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1229. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1230. 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))
  1231.  
  1232. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1233. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1234. 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))
  1235.  
  1236. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1237. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1238. 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))
  1239.  
  1240. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1241. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1242. 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))
  1243. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1244. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1245. 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))]]--
  1246.  
  1247. ------------- Trails
  1248. local A0 = Instance.new("Attachment",lwing1)
  1249. A0.Position = Vector3.new(0,-0.7,0)
  1250. local A1 = Instance.new("Attachment",lwing1)
  1251. A1.Position = Vector3.new(0,-3.5,0)
  1252. tl1 = Instance.new('Trail',lwing1)
  1253. tl1.Attachment0 = A0
  1254. tl1.Attachment1 = A1
  1255. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1256. tl1.LightEmission = 1
  1257. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1258. tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1259. tl1.Lifetime = 0.6
  1260.  
  1261. local A0 = Instance.new("Attachment",lwing2)
  1262. A0.Position = Vector3.new(0,-0.7,0)
  1263. local A1 = Instance.new("Attachment",lwing2)
  1264. A1.Position = Vector3.new(0,-3.5,0)
  1265. tl2 = Instance.new('Trail',lwing2)
  1266. tl2.Attachment0 = A0
  1267. tl2.Attachment1 = A1
  1268. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1269. tl2.LightEmission = 1
  1270. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1271. tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1272. tl2.Lifetime = 0.6
  1273.  
  1274. local A0 = Instance.new("Attachment",lwing3)
  1275. A0.Position = Vector3.new(0,-0.7,0)
  1276. local A1 = Instance.new("Attachment",lwing3)
  1277. A1.Position = Vector3.new(0,-3.5,0)
  1278. tl3 = Instance.new('Trail',lwing3)
  1279. tl3.Attachment0 = A0
  1280. tl3.Attachment1 = A1
  1281. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1282. tl3.LightEmission = 1
  1283. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1284. tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1285. tl3.Lifetime = 0.6
  1286.  
  1287. local A0 = Instance.new("Attachment",rwing1)
  1288. A0.Position = Vector3.new(0,-0.7,0)
  1289. local A1 = Instance.new("Attachment",rwing1)
  1290. A1.Position = Vector3.new(0,-3.5,0)
  1291. tr1 = Instance.new('Trail',rwing1)
  1292. tr1.Attachment0 = A0
  1293. tr1.Attachment1 = A1
  1294. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1295. tr1.LightEmission = 1
  1296. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1297. tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1298. tr1.Lifetime = 0.6
  1299.  
  1300. local A0 = Instance.new("Attachment",rwing2)
  1301. A0.Position = Vector3.new(0,-0.7,0)
  1302. local A1 = Instance.new("Attachment",rwing2)
  1303. A1.Position = Vector3.new(0,-3.5,0)
  1304. tr2 = Instance.new('Trail',rwing2)
  1305. tr2.Attachment0 = A0
  1306. tr2.Attachment1 = A1
  1307. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1308. tr2.LightEmission = 1
  1309. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1310. tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1311. tr2.Lifetime = 0.6
  1312.  
  1313. local A0 = Instance.new("Attachment",rwing3)
  1314. A0.Position = Vector3.new(0,-0.7,0)
  1315. local A1 = Instance.new("Attachment",rwing3)
  1316. A1.Position = Vector3.new(0,-3.5,0)
  1317. tr3 = Instance.new('Trail',rwing3)
  1318. tr3.Attachment0 = A0
  1319. tr3.Attachment1 = A1
  1320. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1321. tr3.LightEmission = 1
  1322. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1323. tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1324. tr3.Lifetime = 0.6
  1325.  
  1326. for i, v in pairs(mw2:GetChildren()) do
  1327. if v:IsA("Part") then
  1328. v.BrickColor = BrickColor.new("Navy blue")
  1329. v.Material = "Neon"
  1330. end
  1331. end
  1332. for i, v in pairs(mw1:GetChildren()) do
  1333. if v:IsA("Part") then
  1334. v.Transparency = 0
  1335. v.BrickColor = BrickColor.new("Navy blue")
  1336. v.Material = "Neon"
  1337. end
  1338. end
  1339. for i, v in pairs(extrawingmod1:GetChildren()) do
  1340. if v:IsA("Part") then
  1341. v.Transparency = 1
  1342. v.BrickColor = BrickColor.new("White")
  1343. v.Material = "Neon"
  1344. end
  1345. end
  1346. for i, v in pairs(extrawingmod2:GetChildren()) do
  1347. if v:IsA("Part") then
  1348. v.Transparency = 1
  1349. v.BrickColor = BrickColor.new("White")
  1350. v.Material = "Neon"
  1351. end
  1352. end
  1353. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  1354. ------
  1355.  
  1356.  
  1357. function RemoveOutlines(part)
  1358. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1359. end
  1360. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1361. local Part = Create("Part")({
  1362. Parent = Parent,
  1363. Reflectance = Reflectance,
  1364. Transparency = Transparency,
  1365. CanCollide = false,
  1366. Locked = true,
  1367. BrickColor = BrickColor.new(tostring(BColor)),
  1368. Name = Name,
  1369. Size = Size,
  1370. Material = Material
  1371. })
  1372. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1373. RemoveOutlines(Part)
  1374. return Part
  1375. end
  1376. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1377. local Msh = Create(Mesh)({
  1378. Parent = Part,
  1379. Offset = OffSet,
  1380. Scale = Scale
  1381. })
  1382. if Mesh == "SpecialMesh" then
  1383. Msh.MeshType = MeshType
  1384. Msh.MeshId = MeshId
  1385. end
  1386. return Msh
  1387. end
  1388. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1389. local Weld = Create("Weld")({
  1390. Parent = Parent,
  1391. Part0 = Part0,
  1392. Part1 = Part1,
  1393. C0 = C0,
  1394. C1 = C1
  1395. })
  1396. return Weld
  1397. end
  1398.  
  1399. Player=owner
  1400. Character=Player.Character
  1401. PlayerGui=Player.PlayerGui
  1402. Backpack=Player.Backpack
  1403. Torso=Character.Torso
  1404. Head=Character.Head
  1405. Humanoid=Character.Humanoid
  1406. m=Instance.new('Model',Character)
  1407. LeftArm=Character["Left Arm"]
  1408. LeftLeg=Character["Left Leg"]
  1409. RightArm=Character["Right Arm"]
  1410. RightLeg=Character["Right Leg"]
  1411. LS=Torso["Left Shoulder"]
  1412. LH=Torso["Left Hip"]
  1413. RS=Torso["Right Shoulder"]
  1414. RH=Torso["Right Hip"]
  1415. Face = Head.face
  1416. Neck=Torso.Neck
  1417. it=Instance.new
  1418. attacktype=1
  1419. vt=Vector3.new
  1420. cf=CFrame.new
  1421. euler=CFrame.fromEulerAnglesXYZ
  1422. angles=CFrame.Angles
  1423. cloaked=false
  1424. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1425. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1426. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1427. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1428. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1429. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1430. RootPart=Character.HumanoidRootPart
  1431. RootJoint=RootPart.RootJoint
  1432. RootCF=euler(-1.57,0,3.14)
  1433. attack = false
  1434. attackdebounce = false
  1435. deb=false
  1436. equipped=true
  1437. hand=false
  1438. MMouse=nil
  1439. combo=0
  1440. mana=0
  1441. trispeed=.2
  1442. attackmode='none'
  1443. local idle=0
  1444. local Anim="Idle"
  1445. local Effects={}
  1446. local gun=false
  1447. local shoot=false
  1448. local sine = 0
  1449. local change = 1
  1450. player=nil
  1451.  
  1452. function RecolorTextAndRename(name,col1,col2,font)
  1453. modet.TextStrokeColor3 = col2
  1454. modet.TextColor3 = col1
  1455. modet.Font = font
  1456. modet.Text = name
  1457. end
  1458. --save shoulders
  1459. RSH, LSH=nil, nil
  1460. --welds
  1461. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1462. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1463. LH=Torso["Left Hip"]
  1464. RH=Torso["Right Hip"]
  1465. TorsoColor=Torso.BrickColor
  1466. function NoOutline(Part)
  1467. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1468. end
  1469. player=Player
  1470. ch=Character
  1471. RSH=ch.Torso["Right Shoulder"]
  1472. LSH=ch.Torso["Left Shoulder"]
  1473. --
  1474. RSH.Parent=nil
  1475. LSH.Parent=nil
  1476. --
  1477. RW.Name="Right Shoulder"
  1478. RW.Part0=ch.Torso
  1479. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1480. RW.C1=cf(0, 0.5, 0)
  1481. RW.Part1=ch["Right Arm"]
  1482. RW.Parent=ch.Torso
  1483. --
  1484. LW.Name="Left Shoulder"
  1485. LW.Part0=ch.Torso
  1486. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1487. LW.C1=cf(0, 0.5, 0)
  1488. LW.Part1=ch["Left Arm"]
  1489. LW.Parent=ch.Torso
  1490.  
  1491. local Stats=Instance.new("BoolValue")
  1492. Stats.Name="Stats"
  1493. Stats.Parent=Character
  1494. local Atk=Instance.new("NumberValue")
  1495. Atk.Name="Damage"
  1496. Atk.Parent=Stats
  1497. Atk.Value=1
  1498. local Def=Instance.new("NumberValue")
  1499. Def.Name="Defense"
  1500. Def.Parent=Stats
  1501. Def.Value=1
  1502. local Speed=Instance.new("NumberValue")
  1503. Speed.Name="Speed"
  1504. Speed.Parent=Stats
  1505. Speed.Value=1
  1506. local Mvmt=Instance.new("NumberValue")
  1507. Mvmt.Name="Movement"
  1508. Mvmt.Parent=Stats
  1509. Mvmt.Value=1
  1510.  
  1511. local donum=0
  1512.  
  1513.  
  1514. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1515. local fp=it("Part")
  1516. fp.formFactor=formfactor
  1517. fp.Parent=parent
  1518. fp.Reflectance=reflectance
  1519. fp.Transparency=transparency
  1520. fp.CanCollide=false
  1521. fp.Locked=true
  1522. fp.BrickColor=brickcolor
  1523. fp.Name=name
  1524. fp.Size=size
  1525. fp.Position=Torso.Position
  1526. NoOutline(fp)
  1527. fp.Material="SmoothPlastic"
  1528. fp:BreakJoints()
  1529. return fp
  1530. end
  1531.  
  1532. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1533. local mesh=it(Mesh)
  1534. mesh.Parent=part
  1535. if Mesh=="SpecialMesh" then
  1536. mesh.MeshType=meshtype
  1537. if meshid~="nil" then
  1538. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1539. end
  1540. end
  1541. mesh.Offset=offset
  1542. mesh.Scale=scale
  1543. return mesh
  1544. end
  1545.  
  1546. function weld(parent,part0,part1,c0)
  1547. local weld=it("Weld")
  1548. weld.Parent=parent
  1549. weld.Part0=part0
  1550. weld.Part1=part1
  1551. weld.C0=c0
  1552. return weld
  1553. end
  1554.  
  1555. local Color1=Torso.BrickColor
  1556.  
  1557. local bodvel=Instance.new("BodyVelocity")
  1558. local bg=Instance.new("BodyGyro")
  1559.  
  1560. function swait(num)
  1561. if num==0 or num==nil then
  1562. game:service'RunService'.Stepped:wait(0)
  1563. else
  1564. for i=0,num do
  1565. game:service'RunService'.Stepped:wait(0)
  1566. end
  1567. end
  1568. end
  1569.  
  1570. -------- RAINBOW LEAVE IT TO ME
  1571. local r = 255
  1572. local g = 0
  1573. local b = 0
  1574. coroutine.resume(coroutine.create(function()
  1575. while wait() do
  1576. for i = 0, 254/5 do
  1577. swait()
  1578. g = g + 5
  1579. end
  1580. for i = 0, 254/5 do
  1581. swait()
  1582. r = r - 5
  1583. end
  1584. for i = 0, 254/5 do
  1585. swait()
  1586. b = b + 5
  1587. end
  1588. for i = 0, 254/5 do
  1589. swait()
  1590. g = g - 5
  1591. end
  1592. for i = 0, 254/5 do
  1593. swait()
  1594. r = r + 5
  1595. end
  1596. for i = 0, 254/5 do
  1597. swait()
  1598. b = b - 5
  1599. end
  1600. end
  1601. end))
  1602.  
  1603.  
  1604. so = function(id,par,vol,pit)
  1605. coroutine.resume(coroutine.create(function()
  1606. local sou = Instance.new("Sound",par or workspace)
  1607. sou.Volume=vol
  1608. sou.Pitch=pit or 1
  1609. sou.SoundId=id
  1610. swait()
  1611. sou:play()
  1612. game:GetService("Debris"):AddItem(sou,6)
  1613. end))
  1614. end
  1615.  
  1616. function clerp(a,b,t)
  1617. local qa = {QuaternionFromCFrame(a)}
  1618. local qb = {QuaternionFromCFrame(b)}
  1619. local ax, ay, az = a.x, a.y, a.z
  1620. local bx, by, bz = b.x, b.y, b.z
  1621. local _t = 1-t
  1622. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1623. end
  1624.  
  1625. function QuaternionFromCFrame(cf)
  1626. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1627. local trace = m00 + m11 + m22
  1628. if trace > 0 then
  1629. local s = math.sqrt(1 + trace)
  1630. local recip = 0.5/s
  1631. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1632. else
  1633. local i = 0
  1634. if m11 > m00 then
  1635. i = 1
  1636. end
  1637. if m22 > (i == 0 and m00 or m11) then
  1638. i = 2
  1639. end
  1640. if i == 0 then
  1641. local s = math.sqrt(m00-m11-m22+1)
  1642. local recip = 0.5/s
  1643. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1644. elseif i == 1 then
  1645. local s = math.sqrt(m11-m22-m00+1)
  1646. local recip = 0.5/s
  1647. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1648. elseif i == 2 then
  1649. local s = math.sqrt(m22-m00-m11+1)
  1650. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1651. end
  1652. end
  1653. end
  1654.  
  1655. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1656. local xs, ys, zs = x + x, y + y, z + z
  1657. local wx, wy, wz = w*xs, w*ys, w*zs
  1658. local xx = x*xs
  1659. local xy = x*ys
  1660. local xz = x*zs
  1661. local yy = y*ys
  1662. local yz = y*zs
  1663. local zz = z*zs
  1664. 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))
  1665. end
  1666.  
  1667. function QuaternionSlerp(a, b, t)
  1668. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1669. local startInterp, finishInterp;
  1670. if cosTheta >= 0.0001 then
  1671. if (1 - cosTheta) > 0.0001 then
  1672. local theta = math.acos(cosTheta)
  1673. local invSinTheta = 1/math.sin(theta)
  1674. startInterp = math.sin((1-t)*theta)*invSinTheta
  1675. finishInterp = math.sin(t*theta)*invSinTheta
  1676. else
  1677. startInterp = 1-t
  1678. finishInterp = t
  1679. end
  1680. else
  1681. if (1+cosTheta) > 0.0001 then
  1682. local theta = math.acos(-cosTheta)
  1683. local invSinTheta = 1/math.sin(theta)
  1684. startInterp = math.sin((t-1)*theta)*invSinTheta
  1685. finishInterp = math.sin(t*theta)*invSinTheta
  1686. else
  1687. startInterp = t-1
  1688. finishInterp = t
  1689. end
  1690. end
  1691. 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
  1692. end
  1693.  
  1694. local function CFrameFromTopBack(at, top, back)
  1695. local right = top:Cross(back)
  1696. return CFrame.new(at.x, at.y, at.z,
  1697. right.x, top.x, back.x,
  1698. right.y, top.y, back.y,
  1699. right.z, top.z, back.z)
  1700. end
  1701.  
  1702. function Triangle(a, b, c)
  1703. local edg1 = (c-a):Dot((b-a).unit)
  1704. local edg2 = (a-b):Dot((c-b).unit)
  1705. local edg3 = (b-c):Dot((a-c).unit)
  1706. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1707. a, b, c = a, b, c
  1708. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1709. a, b, c = b, c, a
  1710. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1711. a, b, c = c, a, b
  1712. else
  1713. assert(false, "unreachable")
  1714. end
  1715.  
  1716. local len1 = (c-a):Dot((b-a).unit)
  1717. local len2 = (b-a).magnitude - len1
  1718. local width = (a + (b-a).unit*len1 - c).magnitude
  1719.  
  1720. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1721.  
  1722. local list = {}
  1723.  
  1724. if len1 > 0.01 then
  1725. local w1 = Instance.new('WedgePart', m)
  1726. game:GetService("Debris"):AddItem(w1,5)
  1727. w1.Material = "SmoothPlastic"
  1728. w1.FormFactor = 'Custom'
  1729. w1.BrickColor = BrickColor.new("Really red")
  1730. w1.Transparency = 0
  1731. w1.Reflectance = 0
  1732. w1.Material = "SmoothPlastic"
  1733. w1.CanCollide = false
  1734. local l1 = Instance.new("PointLight",w1)
  1735. l1.Color = Color3.new(170,0,0)
  1736. NoOutline(w1)
  1737. local sz = Vector3.new(0.2, width, len1)
  1738. w1.Size = sz
  1739. local sp = Instance.new("SpecialMesh",w1)
  1740. sp.MeshType = "Wedge"
  1741. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1742. w1:BreakJoints()
  1743. w1.Anchored = true
  1744. w1.Parent = workspace
  1745. w1.Transparency = 0.7
  1746. table.insert(Effects,{w1,"Disappear",.01})
  1747. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1748. table.insert(list,w1)
  1749. end
  1750.  
  1751. if len2 > 0.01 then
  1752. local w2 = Instance.new('WedgePart', m)
  1753. game:GetService("Debris"):AddItem(w2,5)
  1754. w2.Material = "SmoothPlastic"
  1755. w2.FormFactor = 'Custom'
  1756. w2.BrickColor = BrickColor.new("Really red")
  1757. w2.Transparency = 0
  1758. w2.Reflectance = 0
  1759. w2.Material = "SmoothPlastic"
  1760. w2.CanCollide = false
  1761. local l2 = Instance.new("PointLight",w2)
  1762. l2.Color = Color3.new(170,0,0)
  1763. NoOutline(w2)
  1764. local sz = Vector3.new(0.2, width, len2)
  1765. w2.Size = sz
  1766. local sp = Instance.new("SpecialMesh",w2)
  1767. sp.MeshType = "Wedge"
  1768. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1769. w2:BreakJoints()
  1770. w2.Anchored = true
  1771. w2.Parent = workspace
  1772. w2.Transparency = 0.7
  1773. table.insert(Effects,{w2,"Disappear",.01})
  1774. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1775. table.insert(list,w2)
  1776. end
  1777. return unpack(list)
  1778. end
  1779.  
  1780.  
  1781. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1782. if hit.Parent == nil then
  1783. return
  1784. end
  1785. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1786. for _, v in pairs(hit.Parent:children()) do
  1787. if v:IsA("Humanoid") then
  1788. h = v
  1789. end
  1790. end
  1791. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1792. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1793. return
  1794. end
  1795. local c = Create("ObjectValue")({
  1796. Name = "creator",
  1797. Value = game:service("Players").lukekitten95,
  1798. Parent = h
  1799. })
  1800. game:GetService("Debris"):AddItem(c, 0.5)
  1801. if HitSound ~= nil and HitPitch ~= nil then
  1802. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1803. end
  1804. local Damage = math.random(minim, maxim)
  1805. local blocked = false
  1806. local block = hit.Parent:findFirstChild("Block")
  1807. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1808. blocked = true
  1809. block.Value = block.Value - 1
  1810. print(block.Value)
  1811. end
  1812. if blocked == false then
  1813. HitHealth = h.Health
  1814. h.Health = h.Health - Damage
  1815. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1816. print("gained kill")
  1817. end
  1818. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1819. else
  1820. h.Health = h.Health - Damage / 2
  1821. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1822. end
  1823. if Type == "Knockdown" then
  1824. local hum = hit.Parent.Humanoid
  1825. hum.PlatformStand = true
  1826. coroutine.resume(coroutine.create(function(HHumanoid)
  1827. swait(1)
  1828. HHumanoid.PlatformStand = false
  1829. end), hum)
  1830. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1831. local bodvol = Create("BodyVelocity")({
  1832. velocity = angle * knockback,
  1833. P = 5000,
  1834. maxForce = Vector3.new(8000, 8000, 8000),
  1835. Parent = hit
  1836. })
  1837. local rl = Create("BodyAngularVelocity")({
  1838. P = 3000,
  1839. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1840. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1841. Parent = hit
  1842. })
  1843. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1844. game:GetService("Debris"):AddItem(rl, 0.5)
  1845. elseif Type == "Normal" then
  1846. local vp = Create("BodyVelocity")({
  1847. P = 500,
  1848. maxForce = Vector3.new(math.huge, 0, math.huge),
  1849. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1850. })
  1851. if knockback > 0 then
  1852. vp.Parent = hit.Parent.Head
  1853. end
  1854. game:GetService("Debris"):AddItem(vp, 0.5)
  1855. elseif Type == "Up" then
  1856. local bodyVelocity = Create("BodyVelocity")({
  1857. velocity = Vector3.new(0, 20, 0),
  1858. P = 5000,
  1859. maxForce = Vector3.new(8000, 8000, 8000),
  1860. Parent = hit
  1861. })
  1862. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1863. local bodyVelocity = Create("BodyVelocity")({
  1864. velocity = Vector3.new(0, 20, 0),
  1865. P = 5000,
  1866. maxForce = Vector3.new(8000, 8000, 8000),
  1867. Parent = hit
  1868. })
  1869. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1870. elseif Type == "Leech" then
  1871. local hum = hit.Parent.Humanoid
  1872. if hum ~= nil then
  1873. for i = 0, 2 do
  1874. 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)
  1875. end
  1876. Humanoid.Health = Humanoid.Health + 10
  1877. end
  1878. elseif Type == "UpKnock" then
  1879. local hum = hit.Parent.Humanoid
  1880. hum.PlatformStand = true
  1881. if hum ~= nil then
  1882. hitr = true
  1883. end
  1884. coroutine.resume(coroutine.create(function(HHumanoid)
  1885. swait(5)
  1886. HHumanoid.PlatformStand = false
  1887. hitr = false
  1888. end), hum)
  1889. local bodyVelocity = Create("BodyVelocity")({
  1890. velocity = Vector3.new(0, 20, 0),
  1891. P = 5000,
  1892. maxForce = Vector3.new(8000, 8000, 8000),
  1893. Parent = hit
  1894. })
  1895. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1896. local bodyVelocity = Create("BodyVelocity")({
  1897. velocity = Vector3.new(0, 20, 0),
  1898. P = 5000,
  1899. maxForce = Vector3.new(8000, 8000, 8000),
  1900. Parent = hit
  1901. })
  1902. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1903. elseif Type == "Snare" then
  1904. local bp = Create("BodyPosition")({
  1905. P = 2000,
  1906. D = 100,
  1907. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1908. position = hit.Parent.Torso.Position,
  1909. Parent = hit.Parent.Torso
  1910. })
  1911. game:GetService("Debris"):AddItem(bp, 1)
  1912. elseif Type == "Slashnare" then
  1913. 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)
  1914. for i = 1, math.random(4, 5) do
  1915. 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)
  1916. end
  1917. local bp = Create("BodyPosition")({
  1918. P = 2000,
  1919. D = 100,
  1920. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1921. position = hit.Parent.Torso.Position,
  1922. Parent = hit.Parent.Torso
  1923. })
  1924. game:GetService("Debris"):AddItem(bp, 1)
  1925. elseif Type == "Spike" then
  1926. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1927. local bp = Create("BodyPosition")({
  1928. P = 2000,
  1929. D = 100,
  1930. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1931. position = hit.Parent.Torso.Position,
  1932. Parent = hit.Parent.Torso
  1933. })
  1934. game:GetService("Debris"):AddItem(bp, 1)
  1935. elseif Type == "Freeze" then
  1936. local BodPos = Create("BodyPosition")({
  1937. P = 50000,
  1938. D = 1000,
  1939. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1940. position = hit.Parent.Torso.Position,
  1941. Parent = hit.Parent.Torso
  1942. })
  1943. local BodGy = Create("BodyGyro")({
  1944. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1945. P = 20000,
  1946. Parent = hit.Parent.Torso,
  1947. cframe = hit.Parent.Torso.CFrame
  1948. })
  1949. hit.Parent.Torso.Anchored = true
  1950. coroutine.resume(coroutine.create(function(Part)
  1951. swait(1.5)
  1952. Part.Anchored = false
  1953. end), hit.Parent.Torso)
  1954. game:GetService("Debris"):AddItem(BodPos, 3)
  1955. game:GetService("Debris"):AddItem(BodGy, 3)
  1956. end
  1957. local debounce = Create("BoolValue")({
  1958. Name = "DebounceHit",
  1959. Parent = hit.Parent,
  1960. Value = true
  1961. })
  1962. game:GetService("Debris"):AddItem(debounce, Delay)
  1963. c = Instance.new("ObjectValue")
  1964. c.Name = "creator"
  1965. c.Value = Player
  1966. c.Parent = h
  1967. game:GetService("Debris"):AddItem(c, 0.5)
  1968. end
  1969. end
  1970. function ShowDamage(Pos, Text, Time, Color)
  1971. local Rate = 0.03333333333333333
  1972. local Pos = Pos or Vector3.new(0, 0, 0)
  1973. local Text = Text or ""
  1974. local Time = Time or 2
  1975. local Color = Color or Color3.new(1, 0, 1)
  1976. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1977. EffectPart.Anchored = true
  1978. local BillboardGui = Create("BillboardGui")({
  1979. Size = UDim2.new(3, 0, 3, 0),
  1980. Adornee = EffectPart,
  1981. Parent = EffectPart
  1982. })
  1983. local TextLabel = Create("TextLabel")({
  1984. BackgroundTransparency = 1,
  1985. Size = UDim2.new(1, 0, 1, 0),
  1986. Text = Text,
  1987. TextColor3 = Color,
  1988. TextScaled = true,
  1989. Font = Enum.Font.ArialBold,
  1990. Parent = BillboardGui
  1991. })
  1992. game.Debris:AddItem(EffectPart, Time + 0.1)
  1993. EffectPart.Parent = game:GetService("Workspace")
  1994. delay(0, function()
  1995. local Frames = Time / Rate
  1996. for Frame = 1, Frames do
  1997. wait(Rate)
  1998. local Percent = Frame / Frames
  1999. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2000. TextLabel.TextTransparency = Percent
  2001. end
  2002. if EffectPart and EffectPart.Parent then
  2003. EffectPart:Destroy()
  2004. end
  2005. end)
  2006. end
  2007. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2008. for _, c in pairs(workspace:children()) do
  2009. local hum = c:findFirstChildOfClass("Humanoid")
  2010. if hum ~= nil then
  2011. local head = c:findFirstChild("Head")
  2012. if head ~= nil then
  2013. local targ = head.Position - Part.Position
  2014. local mag = targ.magnitude
  2015. if magni >= mag and c.Name ~= Player.Name then
  2016. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2017. end
  2018. end
  2019. end
  2020. end
  2021. end
  2022.  
  2023. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2024. for _, c in pairs(workspace:children()) do
  2025. local hum = c:findFirstChild("Humanoid")
  2026. if hum ~= nil then
  2027. local head = c:findFirstChild("Torso")
  2028. if head ~= nil then
  2029. local targ = head.Position - Part.Position
  2030. local mag = targ.magnitude
  2031. if magni >= mag and c.Name ~= Player.Name then
  2032. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2033. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2034. end
  2035. end
  2036. end
  2037. end
  2038. end
  2039.  
  2040. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2041. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2042. end
  2043.  
  2044. local origcolor = BrickColor.new("Pastel light blue")
  2045. ---- This section of explosions.
  2046.  
  2047. ----
  2048.  
  2049.  
  2050. function ring(type,pos,scale,value)
  2051. local type = type
  2052. local rng = Instance.new("Part", char)
  2053. rng.Anchored = true
  2054. rng.BrickColor = origcolor
  2055. rng.CanCollide = false
  2056. rng.FormFactor = 3
  2057. rng.Name = "Ring"
  2058. rng.Size = Vector3.new(1, 1, 1)
  2059. rng.Transparency = 0
  2060. rng.TopSurface = 0
  2061. rng.BottomSurface = 0
  2062. rng.CFrame = pos
  2063. local rngm = Instance.new("SpecialMesh", rng)
  2064. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2065. rngm.Scale = scale
  2066. local scaler2 = 1
  2067. if type == "Add" then
  2068. scaler2 = 1*value
  2069. elseif type == "Divide" then
  2070. scaler2 = 1/value
  2071. end
  2072. coroutine.resume(coroutine.create(function()
  2073. for i = 0,10,0.1 do
  2074. swait()
  2075. if type == "Add" then
  2076. scaler2 = scaler2 - 0.01*value
  2077. elseif type == "Divide" then
  2078. scaler2 = scaler2 - 0.01/value
  2079. end
  2080. rng.Transparency = rng.Transparency + 0.01
  2081. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2082. end
  2083. rng:Destroy()
  2084. end))
  2085. end
  2086.  
  2087.  
  2088. function wave(type,pos,scale,value)
  2089. local type = type
  2090. local rng = Instance.new("Part", char)
  2091. rng.Anchored = true
  2092. rng.BrickColor = origcolor
  2093. rng.CanCollide = false
  2094. rng.FormFactor = 3
  2095. rng.Name = "Ring"
  2096. rng.Size = Vector3.new(1, 1, 1)
  2097. rng.Transparency = 0
  2098. rng.TopSurface = 0
  2099. rng.BottomSurface = 0
  2100. rng.CFrame = pos
  2101. local rngm = Instance.new("SpecialMesh", rng)
  2102. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2103. rngm.Scale = scale
  2104. local scaler2 = 1
  2105. if type == "Add" then
  2106. scaler2 = 1*value
  2107. elseif type == "Divide" then
  2108. scaler2 = 1/value
  2109. end
  2110. coroutine.resume(coroutine.create(function()
  2111. for i = 0,10,0.1 do
  2112. swait()
  2113. if type == "Add" then
  2114. scaler2 = scaler2 - 0.01*value
  2115. elseif type == "Divide" then
  2116. scaler2 = scaler2 - 0.01/value
  2117. end
  2118. rng.Transparency = rng.Transparency + 0.01
  2119. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2120. end
  2121. rng:Destroy()
  2122. end))
  2123. end
  2124.  
  2125. function sphere(bonuspeed,type,pos,scale,value,color)
  2126. local type = type
  2127. local rng = Instance.new("Part", char)
  2128. rng.Anchored = true
  2129. if ModeOfGlitch ~= 9 then
  2130. rng.BrickColor = color
  2131. elseif ModeOfGlitch == 9 then
  2132. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2133. end
  2134. rng.CanCollide = false
  2135. rng.FormFactor = 3
  2136. rng.Name = "Ring"
  2137. rng.Material = "Neon"
  2138. rng.Size = Vector3.new(1, 1, 1)
  2139. rng.Transparency = 0
  2140. rng.TopSurface = 0
  2141. rng.BottomSurface = 0
  2142. rng.CFrame = pos
  2143. local rngm = Instance.new("SpecialMesh", rng)
  2144. rngm.MeshType = "Sphere"
  2145. rngm.Scale = scale
  2146. if rainbowmode == true then
  2147. rng.Color = Color3.new(r/255,g/255,b/255)
  2148. end
  2149. if ModeOfGlitch == 9 then
  2150. coroutine.resume(coroutine.create(function()
  2151. while true do
  2152. swait()
  2153. if rng.Parent ~= nil then
  2154. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2155. else
  2156. break
  2157. end
  2158. end
  2159. end))
  2160. end
  2161. local scaler2 = 1
  2162. if type == "Add" then
  2163. scaler2 = 1*value
  2164. elseif type == "Divide" then
  2165. scaler2 = 1/value
  2166. end
  2167. coroutine.resume(coroutine.create(function()
  2168. for i = 0,10/bonuspeed,0.1 do
  2169. swait()
  2170. if rainbowmode == true then
  2171. rng.Color = Color3.new(r/255,g/255,b/255)
  2172. end
  2173. if type == "Add" then
  2174. scaler2 = scaler2 - 0.01*value/bonuspeed
  2175. elseif type == "Divide" then
  2176. scaler2 = scaler2 - 0.01/value*bonuspeed
  2177. end
  2178. if chaosmode == true then
  2179. rng.BrickColor = BrickColor.random()
  2180. end
  2181. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2182. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2183. end
  2184. rng:Destroy()
  2185. end))
  2186. end
  2187.  
  2188. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2189. local type = type
  2190. local rng = Instance.new("Part", char)
  2191. rng.Anchored = true
  2192. if ModeOfGlitch ~= 9 then
  2193. rng.BrickColor = color
  2194. elseif ModeOfGlitch == 9 then
  2195. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2196. end
  2197. rng.CanCollide = false
  2198. rng.FormFactor = 3
  2199. rng.Name = "Ring"
  2200. rng.Material = "Neon"
  2201. rng.Size = Vector3.new(1, 1, 1)
  2202. rng.Transparency = 0
  2203. rng.TopSurface = 0
  2204. rng.BottomSurface = 0
  2205. rng.CFrame = pos
  2206. local rngm = Instance.new("SpecialMesh", rng)
  2207. rngm.MeshType = "Sphere"
  2208. rngm.Scale = scale
  2209. local scaler2 = 1
  2210. local scaler2b = 1
  2211. local scaler2c = 1
  2212. if type == "Add" then
  2213. scaler2 = 1*value
  2214. scaler2b = 1*value2
  2215. scaler2c = 1*value3
  2216. elseif type == "Divide" then
  2217. scaler2 = 1/value
  2218. scaler2b = 1/value2
  2219. scaler2c = 1/value3
  2220. end
  2221. if ModeOfGlitch == 9 then
  2222. coroutine.resume(coroutine.create(function()
  2223. while true do
  2224. swait()
  2225. if rng.Parent ~= nil then
  2226. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2227. else
  2228. break
  2229. end
  2230. end
  2231. end))
  2232. end
  2233. coroutine.resume(coroutine.create(function()
  2234. for i = 0,10/bonuspeed,0.1 do
  2235. swait()
  2236. if type == "Add" then
  2237. scaler2 = scaler2 - 0.01*value/bonuspeed
  2238. scaler2b = scaler2b - 0.01*value/bonuspeed
  2239. scaler2c = scaler2c - 0.01*value/bonuspeed
  2240. elseif type == "Divide" then
  2241. scaler2 = scaler2 - 0.01/value*bonuspeed
  2242. scaler2b = scaler2b - 0.01/value*bonuspeed
  2243. scaler2c = scaler2c - 0.01/value*bonuspeed
  2244. end
  2245. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2246. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2247. end
  2248. rng:Destroy()
  2249. end))
  2250. end
  2251.  
  2252. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2253. local type = type
  2254. local rng = Instance.new("Part", char)
  2255. rng.Anchored = true
  2256. rng.BrickColor = color
  2257. rng.CanCollide = false
  2258. rng.FormFactor = 3
  2259. rng.Name = "Ring"
  2260. rng.Material = "Neon"
  2261. rng.Size = Vector3.new(1, 1, 1)
  2262. rng.Transparency = 0
  2263. rng.TopSurface = 0
  2264. rng.BottomSurface = 0
  2265. rng.CFrame = pos
  2266. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2267. local rngm = Instance.new("SpecialMesh", rng)
  2268. rngm.MeshType = "Brick"
  2269. rngm.Scale = vt(x1,y1,z1)
  2270. if rainbowmode == true then
  2271. rng.Color = Color3.new(r/255,g/255,b/255)
  2272. end
  2273. local scaler2 = 1
  2274. local speeder = FastSpeed/10
  2275. if type == "Add" then
  2276. scaler2 = 1*value
  2277. elseif type == "Divide" then
  2278. scaler2 = 1/value
  2279. end
  2280. coroutine.resume(coroutine.create(function()
  2281. for i = 0,10/bonuspeed,0.1 do
  2282. swait()
  2283. if rainbowmode == true then
  2284. rng.Color = Color3.new(r/255,g/255,b/255)
  2285. end
  2286. if type == "Add" then
  2287. scaler2 = scaler2 - 0.01*value/bonuspeed
  2288. elseif type == "Divide" then
  2289. scaler2 = scaler2 - 0.01/value*bonuspeed
  2290. end
  2291. if chaosmode == true then
  2292. rng.BrickColor = BrickColor.random()
  2293. end
  2294. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2295. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2296. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2297. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2298. end
  2299. rng:Destroy()
  2300. end))
  2301. end
  2302.  
  2303. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2304. local type = type
  2305. local rng = Instance.new("Part", char)
  2306. rng.Anchored = true
  2307. rng.BrickColor = color
  2308. rng.CanCollide = false
  2309. rng.FormFactor = 3
  2310. rng.Name = "Ring"
  2311. rng.Material = "Neon"
  2312. rng.Size = Vector3.new(1, 1, 1)
  2313. rng.Transparency = 0
  2314. rng.TopSurface = 0
  2315. rng.BottomSurface = 0
  2316. rng.CFrame = pos
  2317. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2318. local rngm = Instance.new("SpecialMesh", rng)
  2319. rngm.MeshType = "Brick"
  2320. rngm.Scale = vt(x1,y1,z1)
  2321. if rainbowmode == true then
  2322. rng.Color = Color3.new(r/255,g/255,b/255)
  2323. end
  2324. local scaler2 = 1
  2325. local speeder = FastSpeed/10
  2326. if type == "Add" then
  2327. scaler2 = 1*value
  2328. elseif type == "Divide" then
  2329. scaler2 = 1/value
  2330. end
  2331. coroutine.resume(coroutine.create(function()
  2332. for i = 0,10/bonuspeed,0.1 do
  2333. swait()
  2334. if rainbowmode == true then
  2335. rng.Color = Color3.new(r/255,g/255,b/255)
  2336. end
  2337. if type == "Add" then
  2338. scaler2 = scaler2 - 0.01*value/bonuspeed
  2339. elseif type == "Divide" then
  2340. scaler2 = scaler2 - 0.01/value*bonuspeed
  2341. end
  2342. if chaosmode == true then
  2343. rng.BrickColor = BrickColor.random()
  2344. end
  2345. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2346. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2347. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2348. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2349. end
  2350. rng:Destroy()
  2351. end))
  2352. end
  2353.  
  2354. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2355. local type = type
  2356. local rng = Instance.new("Part", char)
  2357. rng.Anchored = true
  2358. rng.BrickColor = color
  2359. rng.CanCollide = false
  2360. rng.FormFactor = 3
  2361. rng.Name = "Ring"
  2362. rng.Material = "Neon"
  2363. rng.Size = Vector3.new(1, 1, 1)
  2364. rng.Transparency = 0
  2365. rng.TopSurface = 0
  2366. rng.BottomSurface = 0
  2367. rng.CFrame = pos
  2368. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2369. local rngm = Instance.new("SpecialMesh", rng)
  2370. rngm.MeshType = "Brick"
  2371. rngm.Scale = vt(x1,y1,z1)
  2372. if rainbowmode == true then
  2373. rng.Color = Color3.new(r/255,g/255,b/255)
  2374. end
  2375. local scaler2 = 0
  2376. local speeder = FastSpeed/10
  2377. if type == "Add" then
  2378. scaler2 = 1*value
  2379. elseif type == "Divide" then
  2380. scaler2 = 1/value
  2381. end
  2382. coroutine.resume(coroutine.create(function()
  2383. for i = 0,10/bonuspeed,0.1 do
  2384. swait()
  2385. if rainbowmode == true then
  2386. rng.Color = Color3.new(r/255,g/255,b/255)
  2387. end
  2388. if type == "Add" then
  2389. scaler2 = scaler2 - 0.01*value/bonuspeed
  2390. elseif type == "Divide" then
  2391. scaler2 = scaler2 - 0.01/value*bonuspeed
  2392. end
  2393. if chaosmode == true then
  2394. rng.BrickColor = BrickColor.random()
  2395. end
  2396. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2397. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2398. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2399. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2400. end
  2401. rng:Destroy()
  2402. end))
  2403. end
  2404.  
  2405. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2406. local type = type
  2407. local rng = Instance.new("Part", char)
  2408. rng.Anchored = true
  2409. if ModeOfGlitch ~= 9 then
  2410. rng.BrickColor = color
  2411. elseif ModeOfGlitch == 9 then
  2412. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2413. end
  2414. rng.CanCollide = false
  2415. rng.FormFactor = 3
  2416. rng.Name = "Ring"
  2417. rng.Material = "Neon"
  2418. rng.Size = Vector3.new(1, 1, 1)
  2419. rng.Transparency = 0
  2420. rng.TopSurface = 0
  2421. rng.BottomSurface = 0
  2422. rng.CFrame = pos
  2423. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2424. local rngm = Instance.new("SpecialMesh", rng)
  2425. rngm.MeshType = "Sphere"
  2426. rngm.Scale = vt(x1,y1,z1)
  2427. if rainbowmode == true then
  2428. rng.Color = Color3.new(r/255,g/255,b/255)
  2429. end
  2430. if ModeOfGlitch == 9 then
  2431. coroutine.resume(coroutine.create(function()
  2432. while true do
  2433. swait()
  2434. if rng.Parent ~= nil then
  2435. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2436. else
  2437. break
  2438. end
  2439. end
  2440. end))
  2441. end
  2442. local scaler2 = 1
  2443. local speeder = FastSpeed
  2444. if type == "Add" then
  2445. scaler2 = 1*value
  2446. elseif type == "Divide" then
  2447. scaler2 = 1/value
  2448. end
  2449. coroutine.resume(coroutine.create(function()
  2450. for i = 0,10/bonuspeed,0.1 do
  2451. swait()
  2452. if rainbowmode == true then
  2453. rng.Color = Color3.new(r/255,g/255,b/255)
  2454. end
  2455. if type == "Add" then
  2456. scaler2 = scaler2 - 0.01*value/bonuspeed
  2457. elseif type == "Divide" then
  2458. scaler2 = scaler2 - 0.01/value*bonuspeed
  2459. end
  2460. if chaosmode == true then
  2461. rng.BrickColor = BrickColor.random()
  2462. end
  2463. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2464. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2465. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2466. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2467. end
  2468. rng:Destroy()
  2469. end))
  2470. end
  2471.  
  2472.  
  2473. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2474. local type = type
  2475. local rng = Instance.new("Part", char)
  2476. rng.Anchored = true
  2477. if ModeOfGlitch ~= 9 then
  2478. rng.BrickColor = color
  2479. elseif ModeOfGlitch == 9 then
  2480. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2481. end
  2482. rng.CanCollide = false
  2483. rng.FormFactor = 3
  2484. rng.Name = "Ring"
  2485. rng.Material = "Neon"
  2486. rng.Size = Vector3.new(1, 1, 1)
  2487. rng.Transparency = 1
  2488. rng.TopSurface = 0
  2489. rng.BottomSurface = 0
  2490. rng.CFrame = pos
  2491. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2492. local rngm = Instance.new("SpecialMesh", rng)
  2493. rngm.MeshType = "Sphere"
  2494. rngm.Scale = vt(x1,y1,z1)
  2495. if rainbowmode == true then
  2496. rng.Color = Color3.new(r/255,g/255,b/255)
  2497. end
  2498. if ModeOfGlitch == 9 then
  2499. coroutine.resume(coroutine.create(function()
  2500. while true do
  2501. swait()
  2502. if rng.Parent ~= nil then
  2503. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2504. else
  2505. break
  2506. end
  2507. end
  2508. end))
  2509. end
  2510. local scaler2 = 1
  2511. local speeder = FastSpeed
  2512. if type == "Add" then
  2513. scaler2 = 1*value
  2514. elseif type == "Divide" then
  2515. scaler2 = 1/value
  2516. end
  2517. coroutine.resume(coroutine.create(function()
  2518. for i = 0,10/bonuspeed,0.1 do
  2519. swait()
  2520. if rainbowmode == true then
  2521. rng.Color = Color3.new(r/255,g/255,b/255)
  2522. end
  2523. if type == "Add" then
  2524. scaler2 = scaler2 - 0.01*value/bonuspeed
  2525. elseif type == "Divide" then
  2526. scaler2 = scaler2 - 0.01/value*bonuspeed
  2527. end
  2528. if chaosmode == true then
  2529. rng.BrickColor = BrickColor.random()
  2530. end
  2531. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2532. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2533. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2534. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2535. end
  2536. rng:Destroy()
  2537. end))
  2538. end
  2539.  
  2540. function dmg(dude)
  2541. if dude.Name ~= Character then
  2542. local bgf = Instance.new("BodyGyro",dude.Head)
  2543. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2544. local val = Instance.new("BoolValue",dude)
  2545. val.Name = "IsHit"
  2546. local ds = coroutine.wrap(function()
  2547. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  2548. for i = 1, 10 do
  2549. sphereMK(1.5,2,"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,25,-.01,BrickColor.new("White"),0,true)
  2550. end
  2551. dude:WaitForChild("Head"):BreakJoints()
  2552. wait(0.5)
  2553. targetted = nil
  2554. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  2555.  
  2556. coroutine.resume(coroutine.create(function()
  2557. for i, v in pairs(dude:GetChildren()) do
  2558. if v:IsA("Accessory") then
  2559. v:Destroy()
  2560. end
  2561. if v:IsA("Humanoid") then
  2562. v:Destroy()
  2563. end
  2564. if v:IsA("CharacterMesh") then
  2565. v:Destroy()
  2566. end
  2567. if v:IsA("Model") then
  2568. v:Destroy()
  2569. end
  2570. if v:IsA("Part") or v:IsA("MeshPart") then
  2571. for x, o in pairs(v:GetChildren()) do
  2572. if o:IsA("Decal") then
  2573. o:Destroy()
  2574. end
  2575. end
  2576. coroutine.resume(coroutine.create(function()
  2577. v.Material = "Neon"
  2578. v.CanCollide = false
  2579. local bld = Instance.new("ParticleEmitter",v)
  2580. bld.LightEmission = 1
  2581. bld.Texture = "rbxassetid://284205403"
  2582. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  2583. bld.Rate = 50
  2584. bld.Lifetime = NumberRange.new(1)
  2585. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  2586. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2587. bld.Speed = NumberRange.new(0,0)
  2588. bld.VelocitySpread = 50000
  2589. bld.Rotation = NumberRange.new(-500,500)
  2590. bld.RotSpeed = NumberRange.new(-500,500)
  2591. local sbs = Instance.new("BodyPosition", v)
  2592. sbs.P = 3000
  2593. sbs.D = 1000
  2594. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2595. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  2596. v.Color = Color3.new(1,1,1)
  2597. coroutine.resume(coroutine.create(function()
  2598. for i = 0, 49 do
  2599. swait(1)
  2600. v.Transparency = v.Transparency + 0.02
  2601. end
  2602. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  2603. bld.Speed = NumberRange.new(1,5)
  2604. bld.Acceleration = vt(0,10,0)
  2605. wait(0.5)
  2606. bld.Enabled = false
  2607. wait(3)
  2608. v:Destroy()
  2609. dude:Destroy()
  2610. end))
  2611. end))
  2612. end
  2613. end
  2614. end))
  2615. end)
  2616. ds()
  2617. end
  2618. end
  2619.  
  2620.  
  2621. function FindNearestHead(Position, Distance, SinglePlayer)
  2622. if SinglePlayer then
  2623. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2624. end
  2625. local List = {}
  2626. for i, v in pairs(workspace:GetChildren()) do
  2627. if v:IsA("Model") then
  2628. if v:findFirstChild("Head") then
  2629. if v ~= Character then
  2630. if (v.Head.Position - Position).magnitude <= Distance then
  2631. table.insert(List, v)
  2632. end
  2633. end
  2634. end
  2635. end
  2636. end
  2637. return List
  2638. end
  2639.  
  2640. function FaceMouse()
  2641. Cam = workspace.CurrentCamera
  2642. return {
  2643. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2644. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2645. }
  2646. end
  2647.  
  2648. function FaceMouse2()
  2649. Cam = workspace.CurrentCamera
  2650. return {
  2651. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2652. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2653. }
  2654. end
  2655.  
  2656. -- Functions are ready.
  2657. local storehumanoidWS = 16
  2658.  
  2659. function resetmode()
  2660. ModeOfGlitch = 1
  2661. storehumanoidWS = 16
  2662. hum.WalkSpeed = 16
  2663. rainbowmode = false
  2664. chaosmode = false
  2665. RecolorTextAndRename("Nice Guest",Color3.new(0,0.5,1),Color3.new(0,0.3,1),"Arcade")
  2666. newTheme("rbxassetid://2246300352",0,1.1,1.25)
  2667. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  2668. for i, v in pairs(mw2:GetChildren()) do
  2669. if v:IsA("Part") then
  2670. v.BrickColor = MAINRUINCOLOR
  2671. v.Material = "Neon"
  2672. end
  2673. end
  2674. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2675. refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2676. refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2677. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2678. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2679. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2680. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2681. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2682. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2683. for i, v in pairs(mw1:GetChildren()) do
  2684. if v:IsA("Part") then
  2685. v.Transparency = 0
  2686. v.BrickColor = MAINRUINCOLOR
  2687. v.Material = "Neon"
  2688. end
  2689. end
  2690. for i, v in pairs(m:GetChildren()) do
  2691. if v:IsA("Part") then
  2692. v.BrickColor = BrickColor.new("Toothpaste")
  2693. v.Material = "Ice"
  2694. end
  2695. end
  2696. for i, v in pairs(m2:GetChildren()) do
  2697. if v:IsA("Part") then
  2698. v.BrickColor = BrickColor.new("Toothpaste")
  2699. v.Material = "Ice"
  2700. end
  2701. end
  2702. for i, v in pairs(m3:GetChildren()) do
  2703. if v:IsA("Part") then
  2704. v.BrickColor = BrickColor.new("Navy blue")
  2705. v.Material = "Neon"
  2706. end
  2707. end
  2708. for i, v in pairs(extrawingmod1:GetChildren()) do
  2709. if v:IsA("Part") then
  2710. v.Transparency = 0.1
  2711. v.BrickColor = BrickColor.new("White")
  2712. v.Material = "Neon"
  2713. end
  2714. end
  2715. for i, v in pairs(extrawingmod2:GetChildren()) do
  2716. if v:IsA("Part") then
  2717. v.Transparency = 0.1
  2718. v.BrickColor = BrickColor.new("White")
  2719. v.Material = "Neon"
  2720. end
  2721. end
  2722. end
  2723.  
  2724. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  2725. for i, v in pairs(mw2:GetChildren()) do
  2726. if v:IsA("Part") then
  2727. v.BrickColor = one
  2728. v.Material = "Neon"
  2729. end
  2730. end
  2731. refec.Color = ColorSequence.new(one.Color)
  2732. refec2.Color = ColorSequence.new(one.Color)
  2733. refec3.Color = ColorSequence.new(one.Color)
  2734. tr1.Color = ColorSequence.new(one.Color)
  2735. tr2.Color = ColorSequence.new(one.Color)
  2736. tr3.Color = ColorSequence.new(one.Color)
  2737. for i, v in pairs(mw1:GetChildren()) do
  2738. if v:IsA("Part") then
  2739. v.Transparency = 0
  2740. v.BrickColor = two
  2741. v.Material = "Neon"
  2742. end
  2743. end
  2744. tl1.Color = ColorSequence.new(two.Color)
  2745. tl2.Color = ColorSequence.new(two.Color)
  2746. tl3.Color = ColorSequence.new(two.Color)
  2747. for i, v in pairs(m:GetChildren()) do
  2748. if v:IsA("Part") then
  2749. v.BrickColor = three
  2750. v.Material = "Ice"
  2751. end
  2752. end
  2753. for i, v in pairs(m2:GetChildren()) do
  2754. if v:IsA("Part") then
  2755. v.BrickColor = four
  2756. v.Material = "Ice"
  2757. end
  2758. end
  2759. for i, v in pairs(m3:GetChildren()) do
  2760. if v:IsA("Part") then
  2761. v.BrickColor = five
  2762. v.Material = "Neon"
  2763. end
  2764. end
  2765. for i, v in pairs(extrawingmod1:GetChildren()) do
  2766. if v:IsA("Part") then
  2767. v.Transparency = exonetran
  2768. v.BrickColor = exone
  2769. v.Material = "Neon"
  2770. end
  2771. end
  2772. for i, v in pairs(extrawingmod2:GetChildren()) do
  2773. if v:IsA("Part") then
  2774. v.Transparency = extwotran
  2775. v.BrickColor = extwo
  2776. v.Material = "Neon"
  2777. end
  2778. end
  2779. end
  2780.  
  2781. function attackone()
  2782. attack = true
  2783. local keptcolor = MAINRUINCOLOR
  2784. for i = 0,1,0.1 do
  2785. swait()
  2786. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  2787. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  2788. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  2789. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2790. 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(-15),math.rad(0),math.rad(0)),.3)
  2791. 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(0),math.rad(0)),.3)
  2792. end
  2793. local distlook = 5
  2794. coroutine.resume(coroutine.create(function()
  2795. for i = 0, 4 do
  2796. swait(2)
  2797. CameraEnshaking(2,3)
  2798. local hite = Instance.new("Part", char)
  2799. hite.Anchored = true
  2800. hite.CanCollide = false
  2801. hite.FormFactor = 3
  2802. hite.Name = "Ring"
  2803. hite.Material = "Neon"
  2804. hite.Size = Vector3.new(1, 1, 1)
  2805. hite.Transparency = 1
  2806. hite.TopSurface = 0
  2807. hite.BottomSurface = 0
  2808. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  2809. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  2810. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  2811. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  2812. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  2813. MagniDamage(hite, 9, 10,25, 0, "Normal")
  2814. for i = 0, 14 do
  2815. local rsiz = math.random(5,20)
  2816. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2817. end
  2818. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  2819. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  2820. game:GetService("Debris"):AddItem(hite, 5)
  2821. distlook = distlook + 10
  2822. end
  2823. end))
  2824. for i = 0,1,0.1 do
  2825. swait()
  2826. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  2827. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  2828. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  2829. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  2830. 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(-10)),.5)
  2831. 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(0),math.rad(-10)),.5)
  2832. end
  2833. attack = false
  2834. end
  2835.  
  2836. function attacktwo()
  2837. attack = true
  2838. for i = 0,1,0.1 do
  2839. swait()
  2840. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  2841. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2842. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  2843. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  2844. 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(-1.5),math.rad(0),math.rad(10)),.3)
  2845. 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(0),math.rad(-10)),.3)
  2846. end
  2847. CameraEnshaking(3,4)
  2848. MagniDamage(root, 12, 15,30, 0, "Normal")
  2849. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2850. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2851. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2852. coroutine.resume(coroutine.create(function()
  2853. local eff = Instance.new("ParticleEmitter",root)
  2854. eff.Texture = "rbxassetid://363275192"
  2855. eff.LightEmission = 0.95
  2856. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2857. eff.Rate = 10000
  2858. eff.Lifetime = NumberRange.new(1)
  2859. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2860. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2861. eff.Speed = NumberRange.new(10,125)
  2862. eff.Drag = 5
  2863. eff.Rotation = NumberRange.new(-500,500)
  2864. eff.VelocitySpread = 9000
  2865. eff.RotSpeed = NumberRange.new(-50,50)
  2866. local eff2 = eff:Clone()
  2867. eff2.Parent = root
  2868. eff2.Texture = "rbxassetid://284205403"
  2869. eff2.Rate = 10000
  2870. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2871. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2872. eff2.Drag = 5
  2873. eff2.Speed = NumberRange.new(10,50)
  2874. eff2.Rotation = NumberRange.new(-500,500)
  2875. eff2.VelocitySpread = 9000
  2876. wait(0.25)
  2877. eff2.Enabled = false
  2878. eff.Enabled = false
  2879. wait(3)
  2880. eff2:Destroy()
  2881. eff:Destroy()
  2882. end))
  2883. for i = 0, 9 do
  2884. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  2885. end
  2886. for i = 0, 24 do
  2887. local rsiz = math.random(5,20)
  2888. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  2889. end
  2890. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  2891. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  2892. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  2893. for i = 0,2,0.1 do
  2894. swait()
  2895. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2896. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2897. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  2898. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  2899. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2900. 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(0),math.rad(10)),.3)
  2901. end
  2902. attack = false
  2903. end
  2904.  
  2905. function attackthree()
  2906. attack = true
  2907. local keptcolor = MAINRUINCOLOR
  2908. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  2909. for i = 0,1,0.1 do
  2910. swait()
  2911. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  2912. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  2913. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  2914. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  2915. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  2916. 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(-1.5),math.rad(0),math.rad(0)),.5)
  2917. 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(0),math.rad(0)),.5)
  2918. end
  2919. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  2920. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  2921. local angle = -25
  2922. coroutine.resume(coroutine.create(function()
  2923. for i = 0, 2 do
  2924. local orb = Instance.new("Part", char)
  2925. orb.BrickColor = MAINRUINCOLOR
  2926. orb.CanCollide = false
  2927. orb.FormFactor = 3
  2928. orb.Name = "Ring"
  2929. orb.Material = "Neon"
  2930. orb.Size = Vector3.new(1, 1, 1)
  2931. orb.Transparency = 0.5
  2932. orb.TopSurface = 0
  2933. orb.BottomSurface = 0
  2934. local orbm = Instance.new("SpecialMesh", orb)
  2935. orbm.MeshType = "Sphere"
  2936. orbm.Name = "SizeMesh"
  2937. orbm.Scale = vt(3,3,3)
  2938. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  2939. local bv = Instance.new("BodyVelocity")
  2940. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2941. bv.velocity = orb.CFrame.lookVector*100
  2942. bv.Parent = orb
  2943. game:GetService("Debris"):AddItem(orb, 10)
  2944. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2945. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2946. coroutine.resume(coroutine.create(function()
  2947. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2948. for i = 0, 7 do
  2949. swait(2.5)
  2950. CameraEnshaking(1,2)
  2951. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2952. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  2953. for i = 0, 4 do
  2954. local rsiz = math.random(5,10)
  2955. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  2956. sphereMK(math.random(2,6),0.15,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  2957. end
  2958. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2959. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2960. end
  2961. orb.Transparency = 1
  2962. orb.Anchored = false
  2963. wait(10)
  2964. orb:Destroy()
  2965. end))
  2966. angle = angle + 25
  2967. end
  2968. end))
  2969. for i = 0,1,0.1 do
  2970. swait()
  2971. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2972. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2973. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  2974. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2975. 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(-1.5),math.rad(0),math.rad(-10)),.3)
  2976. 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(0),math.rad(10)),.3)
  2977. end
  2978. attack = false
  2979. end
  2980.  
  2981. ------------------------------------- Abilities ---------------------------------------------------------
  2982. function Fireball()
  2983. attack = true
  2984. hum.WalkSpeed = 0
  2985. local keptcolor = MAINRUINCOLOR
  2986. for i = 0,2,0.1 do
  2987. swait()
  2988. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  2989. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  2990. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  2991. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  2992. 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(-1.5),math.rad(0),math.rad(0)),.3)
  2993. 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(-1),math.rad(0),math.rad(0)),.3)
  2994. end
  2995. local orb = Instance.new("Part", char)
  2996. orb.BrickColor = keptcolor
  2997. orb.CanCollide = false
  2998. orb.FormFactor = 3
  2999. orb.Name = "Ring"
  3000. orb.Material = "Neon"
  3001. orb.Size = Vector3.new(1, 1, 1)
  3002. orb.Transparency = 0
  3003. orb.TopSurface = 0
  3004. orb.BottomSurface = 0
  3005. local orbm = Instance.new("SpecialMesh", orb)
  3006. orbm.MeshType = "Sphere"
  3007. orbm.Name = "SizeMesh"
  3008. orbm.Scale = vt(4,4,4)
  3009. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  3010. local eff = Instance.new("ParticleEmitter",orb)
  3011. eff.Texture = "rbxassetid://296874871"
  3012. eff.LightEmission = 0.95
  3013. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  3014. eff.Rate = 10000
  3015. eff.Lifetime = NumberRange.new(1.5)
  3016. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3017. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3018. eff.Speed = NumberRange.new(25)
  3019. eff.Drag = 5
  3020. eff.Rotation = NumberRange.new(-500,500)
  3021. eff.VelocitySpread = 9000
  3022. eff.RotSpeed = NumberRange.new(-500,500)
  3023. local a = Instance.new("Part",workspace)
  3024. a.Name = "Direction"
  3025. a.Anchored = true
  3026. a.BrickColor = bc("Bright red")
  3027. a.Material = "Neon"
  3028. a.Transparency = 1
  3029. a.CanCollide = false
  3030. local ray = Ray.new(
  3031. orb.CFrame.p, -- origin
  3032. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3033. )
  3034. local ignore = orb
  3035. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3036. a.BottomSurface = 10
  3037. a.TopSurface = 10
  3038. local distance = (orb.CFrame.p - position).magnitude
  3039. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3040. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3041. orb.CFrame = a.CFrame
  3042. a:Destroy()
  3043. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  3044. local bv = Instance.new("BodyVelocity")
  3045. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3046. bv.velocity = orb.CFrame.lookVector*75
  3047. bv.Parent = orb
  3048. game:GetService("Debris"):AddItem(orb, 10)
  3049. local hitted = false
  3050. coroutine.resume(coroutine.create(function()
  3051. while true do
  3052. swait()
  3053. if orb.Parent ~= nil and hitted == false then
  3054. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  3055. elseif orb.Parent == nil and hitted == true then
  3056. break
  3057. end
  3058. end
  3059. end))
  3060. local hit =orb.Touched:connect(function(hit)
  3061. if hitted == false and hit.Parent ~= char then
  3062. hitted = true
  3063. eff.Enabled = false
  3064. CameraEnshaking(4,4)
  3065. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  3066. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  3067. MagniDamage(orb, 25, 20,30, 0, "Normal")
  3068. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  3069. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  3070. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  3071. for i = 0, 9 do
  3072. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  3073. end
  3074. for i = 0, 49 do
  3075. local rsiz = math.random(10,30)
  3076. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3077. end
  3078. local eff = Instance.new("ParticleEmitter",orb)
  3079. eff.Texture = "rbxassetid://296874871"
  3080. eff.LightEmission = 0.95
  3081. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  3082. eff.Rate = 10000
  3083. eff.Lifetime = NumberRange.new(1.5)
  3084. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3085. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3086. eff.Speed = NumberRange.new(150)
  3087. eff.Drag = 5
  3088. eff.Rotation = NumberRange.new(-500,500)
  3089. eff.VelocitySpread = 9000
  3090. eff.RotSpeed = NumberRange.new(-500,500)
  3091. coroutine.resume(coroutine.create(function()
  3092. wait(0.25)
  3093. eff.Enabled = false
  3094. end))
  3095. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3096. orb.Anchored = true
  3097. orb.Transparency = 1
  3098. coroutine.resume(coroutine.create(function()
  3099. if hfr ~= nil then
  3100. orb.Size = vt(50,1,50)
  3101. orb.Orientation = vt(0,0,0)
  3102. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  3103. orbm:Destroy()
  3104. local firef = eff:Clone()
  3105. firef.Parent = orb
  3106. firef.VelocitySpread = 50
  3107. firef.Rate = 500
  3108. firef.Drag = 3
  3109. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3110. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3111. firef.Speed = NumberRange.new(10,30)
  3112. for i = 0, 24 do
  3113. wait(0.25)
  3114. MagniDamage(orb, 25, 3,6, 0, "Normal")
  3115. end
  3116. firef.Enabled = false
  3117. end
  3118. end))
  3119. wait(10)
  3120. orb:Destroy()
  3121. end
  3122. end)
  3123. for i = 0,1,0.1 do
  3124. swait()
  3125. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  3126. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3127. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  3128. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  3129. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3130. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3131. end
  3132. hum.WalkSpeed = storehumanoidWS
  3133. attack = false
  3134. end
  3135.  
  3136. function BeamOfDeath()
  3137. attack = true
  3138. hum.WalkSpeed = 0
  3139. local keptcolor = MAINRUINCOLOR
  3140. local orb = Instance.new("Part", char)
  3141. orb.BrickColor = keptcolor
  3142. orb.CanCollide = false
  3143. orb.FormFactor = 3
  3144. orb.Name = "Ring"
  3145. orb.Material = "Neon"
  3146. orb.Size = Vector3.new(1, 1, 1)
  3147. orb.Transparency = 1
  3148. orb.TopSurface = 0
  3149. orb.BottomSurface = 0
  3150. local orbm = Instance.new("SpecialMesh", orb)
  3151. orbm.MeshType = "Sphere"
  3152. orbm.Name = "SizeMesh"
  3153. orbm.Scale = vt(22.5,10000,22.5)
  3154. orb.CFrame = mouse.Hit
  3155. orb.Anchored = true
  3156. orb.Orientation = vt(0,0,0)
  3157. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  3158. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  3159. coroutine.resume(coroutine.create(function()
  3160. coroutine.resume(coroutine.create(function()
  3161. for i = 0, 399 do
  3162. swait()
  3163. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  3164. orb.Transparency = orb.Transparency - 0.0025
  3165. end
  3166. end))
  3167. wait(9)
  3168. coroutine.resume(coroutine.create(function()
  3169. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3170. if hfr ~= nil then
  3171. for i = 0, 49 do
  3172. local deb = Instance.new("Part", char)
  3173. deb.Anchored = true
  3174. deb.CanCollide = false
  3175. deb.FormFactor = 3
  3176. deb.Name = "Ring"
  3177. deb.Material = hitfloor.Material
  3178. deb.Color = hitfloor.Color
  3179. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  3180. deb.Transparency = 0
  3181. deb.TopSurface = 0
  3182. deb.BottomSurface = 0
  3183. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3184. local deb2 = Instance.new("Part", char)
  3185. deb2.CanCollide = false
  3186. deb2.FormFactor = 3
  3187. deb2.Name = "Ring"
  3188. deb2.Material = hitfloor.Material
  3189. deb2.Color = hitfloor.Color
  3190. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  3191. deb2.Transparency = 0
  3192. deb2.TopSurface = 0
  3193. deb2.BottomSurface = 0
  3194. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  3195. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3196. local eff = Instance.new("ParticleEmitter",deb)
  3197. eff.Texture = "rbxassetid://363275192"
  3198. eff.LightEmission = 0.95
  3199. eff.Color = ColorSequence.new(keptcolor.Color)
  3200. eff.Rate = 100
  3201. eff.Lifetime = NumberRange.new(1)
  3202. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  3203. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3204. eff.Speed = NumberRange.new(0,5)
  3205. eff.Rotation = NumberRange.new(-500,500)
  3206. eff.VelocitySpread = 9000
  3207. eff.RotSpeed = NumberRange.new(-10,10)
  3208. local at1 = Instance.new('Attachment',deb2)
  3209. at1.Position = vt(0,15,0)
  3210. local at2 = Instance.new('Attachment',deb2)
  3211. at2.Position = vt(0,-15,0)
  3212. local tl = Instance.new('Trail',deb2)
  3213. tl.Attachment0 = at1
  3214. tl.Attachment1 = at2
  3215. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3216. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  3217. tl.Lifetime = 1
  3218. game:GetService("Debris"):AddItem(deb,30)
  3219. game:GetService("Debris"):AddItem(deb2,30)
  3220. coroutine.resume(coroutine.create(function()
  3221. wait(15)
  3222. eff.Enabled = false
  3223. for i = 0, 49 do
  3224. swait()
  3225. deb.Transparency = deb.Transparency + 0.02
  3226. end
  3227. wait(1)
  3228. deb:Destroy()
  3229. end))
  3230. end
  3231. end
  3232. end))
  3233. for i = 0, 199 do
  3234. swait(1.5)
  3235. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  3236. if v:FindFirstChild('Head') then
  3237. dmg(v)
  3238. end
  3239. end
  3240. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  3241. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  3242. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  3243. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  3244. end
  3245. orb:Destroy()
  3246. end))
  3247. hum.WalkSpeed = storehumanoidWS
  3248. attack = false
  3249. end
  3250.  
  3251.  
  3252. function Beams()
  3253. attack = true
  3254. hum.WalkSpeed = 0
  3255. local keptcolor = MAINRUINCOLOR
  3256. coroutine.resume(coroutine.create(function()
  3257. for i = 0, 24 do
  3258. swait(5)
  3259. local orb = Instance.new("Part", char)
  3260. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3261. orb.BrickColor = keptcolor
  3262. orb.CanCollide = false
  3263. orb.FormFactor = 3
  3264. orb.Name = "Ring"
  3265. orb.Material = "Neon"
  3266. orb.Size = Vector3.new(1, 1, 1)
  3267. orb.Transparency = 0
  3268. orb.TopSurface = 0
  3269. orb.BottomSurface = 0
  3270. orb.Anchored = true
  3271. local orbm = Instance.new("SpecialMesh", orb)
  3272. orbm.MeshType = "Sphere"
  3273. orbm.Name = "SizeMesh"
  3274. orbm.Scale = vt(1.25,1.25,1.25)
  3275. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  3276. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3277. coroutine.resume(coroutine.create(function()
  3278. wait(0.5)
  3279. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  3280. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3281. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3282. orb.Transparency = 1
  3283. local a = Instance.new("Part",char)
  3284. a.Name = "Direction"
  3285. a.Anchored = true
  3286. a.BrickColor = keptcolor
  3287. a.Material = "Neon"
  3288. a.Transparency = 0.25
  3289. a.Shape = "Cylinder"
  3290. local ht = Instance.new("Part",char)
  3291. ht.Name = "DirectionHit"
  3292. ht.Anchored = true
  3293. ht.BrickColor = keptcolor
  3294. ht.CanCollide = false
  3295. ht.Transparency = 1
  3296. ht.Size = vt(0.1,0.1,0.1)
  3297. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  3298. a.CanCollide = false
  3299. local ray = Ray.new(
  3300. orb.CFrame.p, -- origin
  3301. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3302. )
  3303. local ignore = char
  3304. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3305. a.BottomSurface = 10
  3306. a.TopSurface = 10
  3307. local distance = (orb.CFrame.p - position).magnitude
  3308. a.Size = Vector3.new(distance,1,1)
  3309. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3310. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3311. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3312. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3313. MagniDamage(ht, 9, 10,15, 0, "Normal")
  3314. coroutine.resume(coroutine.create(function()
  3315. local eff = Instance.new("ParticleEmitter",ht)
  3316. eff.Texture = "rbxassetid://284205403"
  3317. eff.LightEmission = 0.95
  3318. eff.Color = ColorSequence.new(keptcolor.Color)
  3319. eff.Rate = 500
  3320. eff.Lifetime = NumberRange.new(0.5)
  3321. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3322. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3323. eff.Speed = NumberRange.new(10,50)
  3324. eff.Drag = 5
  3325. eff.Rotation = NumberRange.new(-500,500)
  3326. eff.VelocitySpread = 9000
  3327. eff.RotSpeed = NumberRange.new(-500,500)
  3328. wait(0.25)
  3329. eff.Enabled = false
  3330. end))
  3331. for i = 0, 4 do
  3332. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  3333. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  3334. local rsiz = math.random(10,30)
  3335. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3336. end
  3337. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3338. local msh = Instance.new("SpecialMesh",a)
  3339. msh.MeshType = "Cylinder"
  3340. msh.Scale = vt(1,1,1)
  3341. for i = 0, 49 do
  3342. swait()
  3343. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  3344. a.Transparency = a.Transparency + 0.02
  3345. end
  3346. orb:Destroy()
  3347. a:Destroy()
  3348. ht:Destroy()
  3349. end))
  3350. game:GetService("Debris"):AddItem(orb, 10)
  3351. end
  3352. end))
  3353. for i = 0,12,0.1 do
  3354. swait()
  3355. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  3356. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  3357. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  3358. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  3359. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  3360. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  3361. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  3362. end
  3363. hum.WalkSpeed = storehumanoidWS
  3364. attack = false
  3365. end
  3366.  
  3367. function smiter()
  3368. local targetted = nil
  3369. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3370. targetted = mouse.Target.Parent
  3371. end
  3372. if targetted ~= nil then
  3373. RootPart.CFrame = FaceMouse()[1]
  3374. attack = true
  3375. hum.WalkSpeed = 0
  3376. coroutine.resume(coroutine.create(function()
  3377. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3378. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3379. local vel = Instance.new("BodyPosition", targetted.Head)
  3380. vel.P = 12500
  3381. vel.D = 1000
  3382. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3383. vel.position = targetted.Head.CFrame.p
  3384. end))
  3385. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  3386. for i = 0,4,0.1 do
  3387. swait()
  3388. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  3389. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3390. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3391. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3392. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3393. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
  3394. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
  3395. end
  3396. coroutine.resume(coroutine.create(function()
  3397. CameraEnshaking(6,5)
  3398. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3399. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  3400. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  3401. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  3402. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3403. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3404. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3405. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3406. coroutine.resume(coroutine.create(function()
  3407. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3408. eff.Texture = "rbxassetid://363275192"
  3409. eff.LightEmission = 0.95
  3410. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3411. eff.Rate = 10000
  3412. eff.Lifetime = NumberRange.new(1.5)
  3413. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3414. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3415. eff.Speed = NumberRange.new(25,150)
  3416. eff.Drag = 5
  3417. eff.Rotation = NumberRange.new(-500,500)
  3418. eff.VelocitySpread = 9000
  3419. eff.RotSpeed = NumberRange.new(-50,50)
  3420. local eff2 = eff:Clone()
  3421. eff2.Parent = targetted.Head
  3422. eff2.Texture = "rbxassetid://284205403"
  3423. eff2.Rate = 10000
  3424. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3425. eff2.Drag = 5
  3426. eff2.Rotation = NumberRange.new(-500,500)
  3427. eff2.VelocitySpread = 9000
  3428. wait(0.5)
  3429. eff2.Enabled = false
  3430. eff.Enabled = false
  3431. end))
  3432. for i = 0, 9 do
  3433. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3434. end
  3435. for i = 0, 49 do
  3436. local rsiz = math.random(10,50)
  3437. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3438. end
  3439. game:GetService("Debris"):AddItem(vel,1)
  3440. dmg(targetted)
  3441. end))
  3442. for i = 0,1,0.1 do
  3443. swait()
  3444. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  3445. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  3446. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3447. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  3448. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  3449. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
  3450. end
  3451. attack = false
  3452. hum.WalkSpeed = storehumanoidWS
  3453. end
  3454. end
  3455.  
  3456. function supsmiter()
  3457. local targetted = nil
  3458. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3459. targetted = mouse.Target.Parent
  3460. end
  3461. if targetted ~= nil then
  3462. RootPart.CFrame = FaceMouse()[1]
  3463. attack = true
  3464. hum.WalkSpeed = 0
  3465. coroutine.resume(coroutine.create(function()
  3466. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3467. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3468. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
  3469. local vel = Instance.new("BodyPosition", targetted.Head)
  3470. vel.P = 12500
  3471. vel.D = 1000
  3472. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3473. vel.position = targetted.Head.CFrame.p
  3474. end))
  3475. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  3476. for i = 0,14,0.1 do
  3477. swait()
  3478. rsiz = math.random(5,15)
  3479. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  3480. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  3481. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3482. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3483. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3484. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3485. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3486. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3487. end
  3488. coroutine.resume(coroutine.create(function()
  3489. CameraEnshaking(6,5)
  3490. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3491. MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
  3492. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
  3493. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
  3494. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
  3495. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3496. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3497. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3498. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3499. coroutine.resume(coroutine.create(function()
  3500. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3501. eff.Texture = "rbxassetid://363275192"
  3502. eff.LightEmission = 0.95
  3503. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3504. eff.Rate = 10000
  3505. eff.Lifetime = NumberRange.new(1.5)
  3506. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3507. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3508. eff.Speed = NumberRange.new(25,150)
  3509. eff.Drag = 5
  3510. eff.Rotation = NumberRange.new(-500,500)
  3511. eff.VelocitySpread = 9000
  3512. eff.RotSpeed = NumberRange.new(-50,50)
  3513. local eff2 = eff:Clone()
  3514. eff2.Parent = targetted.Head
  3515. eff2.Texture = "rbxassetid://284205403"
  3516. eff2.Rate = 10000
  3517. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3518. eff2.Drag = 5
  3519. eff2.Rotation = NumberRange.new(-500,500)
  3520. eff2.VelocitySpread = 9000
  3521. wait(0.5)
  3522. eff2.Enabled = false
  3523. eff.Enabled = false
  3524. end))
  3525. for i = 0, 9 do
  3526. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3527. end
  3528. for i = 0, 49 do
  3529. local rsiz = math.random(10,50)
  3530. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3531. end
  3532. wait(0.75)
  3533. CameraEnshaking(6,6)
  3534. MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
  3535. MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
  3536. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
  3537. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
  3538. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
  3539. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3540. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3541. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3542. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3543. coroutine.resume(coroutine.create(function()
  3544. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3545. eff.Texture = "rbxassetid://363275192"
  3546. eff.LightEmission = 0.95
  3547. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3548. eff.Rate = 10000
  3549. eff.Lifetime = NumberRange.new(1.5)
  3550. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
  3551. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3552. eff.Speed = NumberRange.new(25,250)
  3553. eff.Drag = 5
  3554. eff.Rotation = NumberRange.new(-500,500)
  3555. eff.VelocitySpread = 9000
  3556. eff.RotSpeed = NumberRange.new(-50,50)
  3557. local eff2 = eff:Clone()
  3558. eff2.Parent = targetted.Head
  3559. eff2.Texture = "rbxassetid://284205403"
  3560. eff2.Rate = 10000
  3561. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3562. eff2.Drag = 5
  3563. eff2.Rotation = NumberRange.new(-500,500)
  3564. eff2.VelocitySpread = 9000
  3565. wait(0.5)
  3566. eff2.Enabled = false
  3567. eff.Enabled = false
  3568. end))
  3569. for i = 0, 9 do
  3570. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
  3571. end
  3572. for i = 0, 49 do
  3573. local rsiz = math.random(15,55)
  3574. sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3575. end
  3576. wait(0.75)
  3577. CameraEnshaking(6,7)
  3578. MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
  3579. MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
  3580. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
  3581. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
  3582. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
  3583. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3584. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3585. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3586. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3587. coroutine.resume(coroutine.create(function()
  3588. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3589. eff.Texture = "rbxassetid://363275192"
  3590. eff.LightEmission = 0.95
  3591. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3592. eff.Rate = 10000
  3593. eff.Lifetime = NumberRange.new(1.5)
  3594. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  3595. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3596. eff.Speed = NumberRange.new(50,450)
  3597. eff.Drag = 5
  3598. eff.Rotation = NumberRange.new(-500,500)
  3599. eff.VelocitySpread = 9000
  3600. eff.RotSpeed = NumberRange.new(-50,50)
  3601. local eff2 = eff:Clone()
  3602. eff2.Parent = targetted.Head
  3603. eff2.Texture = "rbxassetid://284205403"
  3604. eff2.Rate = 10000
  3605. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3606. eff2.Drag = 5
  3607. eff2.Rotation = NumberRange.new(-500,500)
  3608. eff2.VelocitySpread = 9000
  3609. wait(0.5)
  3610. eff2.Enabled = false
  3611. eff.Enabled = false
  3612. end))
  3613. for i = 0, 9 do
  3614. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
  3615. end
  3616. for i = 0, 49 do
  3617. local rsiz = math.random(20,60)
  3618. sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3619. end
  3620. dmg(targetted)
  3621. game:GetService("Debris"):AddItem(vel,1)
  3622. end))
  3623. for i = 0,7,0.1 do
  3624. swait()
  3625. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3626. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  3627. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3628. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
  3629. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
  3630. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
  3631. end
  3632. attack = false
  3633. hum.WalkSpeed = storehumanoidWS
  3634. end
  3635. end
  3636.  
  3637. function BinaryBLINK()
  3638. for i = 0, 9 do
  3639. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3640. end
  3641. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3642. coroutine.resume(coroutine.create(function()
  3643. local eff = Instance.new("ParticleEmitter",root)
  3644. eff.Texture = "rbxassetid://1175838406"
  3645. eff.LightEmission = 0.95
  3646. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3647. eff.Rate = 10000
  3648. eff.Lifetime = NumberRange.new(1)
  3649. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3650. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3651. eff.Speed = NumberRange.new(30,160)
  3652. eff.Drag = 5
  3653. eff.Rotation = NumberRange.new(-500,500)
  3654. eff.VelocitySpread = 100000
  3655. wait(0.25)
  3656. eff.Enabled = false
  3657. wait(4)
  3658. eff:Destroy()
  3659. end))
  3660. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3661. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3662. CameraEnshaking(2,10)
  3663. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  3664. if v:FindFirstChild('Head') then
  3665. dmg(v)
  3666. end
  3667. end
  3668. for i = 0, 9 do
  3669. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3670. end
  3671. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3672. end
  3673.  
  3674. function BinaryE()
  3675. local posit = -2
  3676. attack = true
  3677. hum.WalkSpeed = 5
  3678. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  3679. for i = 0,2,0.1 do
  3680. swait()
  3681. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3682. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  3683. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  3684. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3685. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  3686. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3687. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3688. end
  3689. for i = 0, 2 do
  3690. CameraEnshaking(1,2)
  3691. local hite = Instance.new("Part", char)
  3692. hite.Anchored = true
  3693. hite.CanCollide = false
  3694. hite.FormFactor = 3
  3695. hite.Name = "Ring"
  3696. hite.Material = "Neon"
  3697. hite.Size = Vector3.new(1, 1, 1)
  3698. hite.Transparency = 1
  3699. hite.TopSurface = 0
  3700. hite.BottomSurface = 0
  3701. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  3702. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  3703. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  3704. coroutine.resume(coroutine.create(function()
  3705. local eff = Instance.new("ParticleEmitter",hite)
  3706. eff.Texture = "rbxassetid://1175838406"
  3707. eff.LightEmission = 0.95
  3708. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3709. eff.Rate = 1000
  3710. eff.Lifetime = NumberRange.new(1)
  3711. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3712. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3713. eff.Speed = NumberRange.new(10,50)
  3714. eff.Drag = 5
  3715. eff.Rotation = NumberRange.new(-500,500)
  3716. eff.VelocitySpread = 100000
  3717. wait(0.25)
  3718. eff.Enabled = false
  3719. end))
  3720. coroutine.resume(coroutine.create(function()
  3721. for i = 0, 1 do
  3722. swait()
  3723. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3724. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3725. end
  3726. end))
  3727. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  3728. MagniDamage(hite, 3, 30,40, 0, "Normal")
  3729. game:GetService("Debris"):AddItem(hite, 5)
  3730. posit = posit + 2
  3731. end
  3732. for i = 0,1,0.1 do
  3733. swait()
  3734. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3735. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3736. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  3737. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3738. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  3739. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3740. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3741. end
  3742. for i = 0,1,0.1 do
  3743. swait()
  3744. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3745. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  3746. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  3747. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  3748. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  3749. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  3750. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  3751. end
  3752. posit = -6
  3753. for i = 0, 6 do
  3754. CameraEnshaking(1,3)
  3755. local hite = Instance.new("Part", char)
  3756. hite.Anchored = true
  3757. hite.CanCollide = false
  3758. hite.FormFactor = 3
  3759. hite.Name = "Ring"
  3760. hite.Material = "Neon"
  3761. hite.Size = Vector3.new(1, 1, 1)
  3762. hite.Transparency = 1
  3763. hite.TopSurface = 0
  3764. hite.BottomSurface = 0
  3765. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  3766. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  3767. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  3768. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  3769. coroutine.resume(coroutine.create(function()
  3770. local eff = Instance.new("ParticleEmitter",hite)
  3771. eff.Texture = "rbxassetid://1175838406"
  3772. eff.LightEmission = 0.95
  3773. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3774. eff.Rate = 1000
  3775. eff.Lifetime = NumberRange.new(1)
  3776. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3777. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3778. eff.Speed = NumberRange.new(20,70)
  3779. eff.Drag = 5
  3780. eff.Rotation = NumberRange.new(-500,500)
  3781. eff.VelocitySpread = 100000
  3782. wait(0.25)
  3783. eff.Enabled = false
  3784. end))
  3785. coroutine.resume(coroutine.create(function()
  3786. for i = 0, 2 do
  3787. swait()
  3788. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3789. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3790. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3791. end
  3792. end))
  3793. MagniDamage(hite, 5, 40,70, 0, "Normal")
  3794. game:GetService("Debris"):AddItem(hite, 5)
  3795. posit = posit + 2
  3796. end
  3797. for i = 0,1,0.1 do
  3798. swait()
  3799. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3800. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  3801. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3802. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  3803. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  3804. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  3805. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  3806. end
  3807. hum.WalkSpeed = storehumanoidWS
  3808. attack = false
  3809. end
  3810.  
  3811. function AZUREFINALE()
  3812. attack = true
  3813. duringend = true
  3814. hum.WalkSpeed = 0
  3815. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  3816. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  3817. local hite = Instance.new("Part", char)
  3818. hite.Anchored = true
  3819. hite.CanCollide = false
  3820. hite.FormFactor = 3
  3821. hite.Name = "Ring"
  3822. hite.Material = "Neon"
  3823. hite.Size = Vector3.new(1, 1, 1)
  3824. hite.Transparency = 0
  3825. hite.TopSurface = 0
  3826. hite.BottomSurface = 0
  3827. hite.BrickColor = MAINRUINCOLOR
  3828. local orbm = Instance.new("SpecialMesh", hite)
  3829. orbm.MeshType = "Sphere"
  3830. orbm.Name = "SizeMesh"
  3831. orbm.Scale = vt(0,0,0)
  3832. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  3833. for i = 0,70,0.1 do
  3834. swait()
  3835. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  3836. rsiz = math.random(10,45)
  3837. kan.Volume = kan.Volume + 0.01
  3838. kan.Pitch = kan.Pitch - 0.00070
  3839. chatfunc("I'm sorry I have to do this...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3840. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3841. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3842. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3843. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3844. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3845. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3846. end
  3847. kan.Pitch = 0.6
  3848. hite.Transparency = 1
  3849. for i = 0,2 do
  3850. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  3851. end
  3852. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  3853. coroutine.resume(coroutine.create(function()
  3854. local eff = Instance.new("ParticleEmitter",hite)
  3855. eff.Texture = "rbxassetid://284205403"
  3856. eff.LightEmission = 0.95
  3857. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3858. eff.Rate = 10000
  3859. eff.Lifetime = NumberRange.new(5)
  3860. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  3861. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3862. eff.Speed = NumberRange.new(600,1250)
  3863. eff.Drag = 5
  3864. eff.Rotation = NumberRange.new(-500,500)
  3865. eff.VelocitySpread = 9000
  3866. eff.RotSpeed = NumberRange.new(-500,500)
  3867. wait(1)
  3868. eff.Enabled = false
  3869. end))
  3870. for i = 0,5,0.1 do
  3871. swait()
  3872. chatfunc("...This will kill me... But I don't care...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3873. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3874. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3875. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3876. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3877. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3878. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3879. end
  3880. local adsc = 0
  3881. local radiatezone = 0
  3882. for i = 0,20,0.1 do
  3883. swait()
  3884. adsc = adsc + 0.025
  3885. radiatezone = radiatezone + 1.25
  3886. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3887. if v:FindFirstChild('Head') then
  3888. dmg(v)
  3889. end
  3890. end
  3891. chatfunc("Goodbye...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  3892. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3893. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3894. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3895. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3896. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3897. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3898. end
  3899. for i = 0,2 do
  3900. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  3901. end
  3902. for i = 0,40,0.1 do
  3903. swait()
  3904. adsc = adsc + 0.05
  3905. radiatezone = radiatezone + 2.5
  3906. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3907. if v:FindFirstChild('Head') then
  3908. dmg(v)
  3909. end
  3910. end
  3911. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3912. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3913. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3914. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3915. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3916. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3917. end
  3918. for i = 0,4 do
  3919. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  3920. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  3921. end
  3922. for i = 0,80,0.1 do
  3923. swait()
  3924. adsc = adsc + 0.075
  3925. radiatezone = radiatezone + 3.75
  3926. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3927. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3928. if v:FindFirstChild('Head') then
  3929. dmg(v)
  3930. end
  3931. end
  3932. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3933. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3934. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3935. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3936. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3937. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3938. end
  3939. hite:Destroy()
  3940. char:BreakJoints()
  3941. duringend = false
  3942. hum.WalkSpeed = storehumanoidWS
  3943. attack = false
  3944. end
  3945.  
  3946. function GalacticalBeams()
  3947. attack = true
  3948. local keptcolor = MAINRUINCOLOR
  3949. coroutine.resume(coroutine.create(function()
  3950. for i = 0, 0 do
  3951. swait(10)
  3952. local orb = Instance.new("Part", char)
  3953. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3954. orb.BrickColor = keptcolor
  3955. orb.CanCollide = false
  3956. orb.FormFactor = 3
  3957. orb.Name = "Ring"
  3958. orb.Material = "Neon"
  3959. orb.Size = Vector3.new(1, 1, 1)
  3960. orb.Transparency = 1
  3961. orb.TopSurface = 0
  3962. orb.BottomSurface = 0
  3963. orb.Anchored = true
  3964. local orbm = Instance.new("SpecialMesh", orb)
  3965. orbm.MeshType = "Sphere"
  3966. orbm.Name = "SizeMesh"
  3967. orbm.Scale = vt(1.25,1.25,1.25)
  3968. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  3969. coroutine.resume(coroutine.create(function()
  3970. orb.Transparency = 1
  3971. local a = Instance.new("Part",char)
  3972. a.Name = "Direction"
  3973. a.Anchored = true
  3974. a.BrickColor = keptcolor
  3975. a.Material = "Neon"
  3976. a.Transparency = 1
  3977. a.Shape = "Cylinder"
  3978. local x = Instance.new("Part",char)
  3979. x.Name = "Direction"
  3980. x.Anchored = true
  3981. x.BrickColor = keptcolor
  3982. x.Material = "Neon"
  3983. x.Transparency = 1
  3984. x.Shape = "Cylinder"
  3985. local ht = Instance.new("Part",char)
  3986. ht.Name = "DirectionHit"
  3987. ht.Anchored = true
  3988. ht.BrickColor = keptcolor
  3989. ht.CanCollide = false
  3990. ht.Transparency = 1
  3991. ht.Size = vt(0.1,0.1,0.1)
  3992. a.CanCollide = false
  3993. local ray = Ray.new(
  3994. orb.CFrame.p, -- origin
  3995. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  3996. )
  3997. local ignore = char
  3998. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3999. a.BottomSurface = 10
  4000. a.TopSurface = 10
  4001. local distance = (orb.CFrame.p - position).magnitude
  4002. a.Size = Vector3.new(distance,1,1)
  4003. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4004. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4005. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4006. local poste = 0
  4007. local rotation = 0
  4008. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  4009. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  4010. CameraEnshaking(2,2)
  4011. for i = 0, 49 do
  4012. swait()
  4013. rotation = rotation + 5
  4014. poste = poste + 1
  4015. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4016. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4017. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4018. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4019. end
  4020. local A1 = Instance.new("Attachment",x)
  4021. local A2 = Instance.new("Attachment",ht)
  4022. local Beem = Instance.new("Beam",ht)
  4023. Beem.Attachment0 = A1
  4024. Beem.Attachment1 = A2
  4025. Beem.LightEmission = 1
  4026. Beem.FaceCamera = true
  4027. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  4028. Beem.Width0 = 125
  4029. Beem.Width1 = 125
  4030. Beem.Texture = "rbxassetid://1134824633"
  4031. Beem.TextureMode = "Wrap"
  4032. Beem.TextureLength = 200
  4033. Beem.TextureSpeed = 1.5
  4034. Beem.Color = ColorSequence.new(keptcolor.Color)
  4035. CameraEnshaking(3,6)
  4036. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  4037. a.Transparency = 0.25
  4038. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4039. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  4040. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4041. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4042. local eff = Instance.new("ParticleEmitter",ht)
  4043. eff.Texture = "rbxassetid://284205403"
  4044. eff.LightEmission = 0.95
  4045. eff.Color = ColorSequence.new(keptcolor.Color)
  4046. eff.Rate = 500
  4047. eff.Lifetime = NumberRange.new(1)
  4048. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4049. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4050. eff.Speed = NumberRange.new(80,500)
  4051. eff.Drag = 5
  4052. eff.Rotation = NumberRange.new(-500,500)
  4053. eff.VelocitySpread = 9000
  4054. eff.RotSpeed = NumberRange.new(-500,500)
  4055. for i = 0, 24 do
  4056. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4057. local rsiz = math.random(10,50)
  4058. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4059. end
  4060. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4061. local msh = Instance.new("SpecialMesh",a)
  4062. msh.MeshType = "Cylinder"
  4063. msh.Scale = vt(1,15,15)
  4064. for i = 0, 49 do
  4065. swait()
  4066. CameraEnshaking(1,4)
  4067. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  4068. rotation = rotation + 5
  4069. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  4070. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  4071. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  4072. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4073. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4074. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  4075. for i = 0, 2 do
  4076. local rsiz = math.random(50,250)
  4077. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4078. end
  4079. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  4080. end
  4081. eff.Enabled = false
  4082. local visibility = 0
  4083. for i = 0, 49 do
  4084. swait()
  4085. visibility = visibility + 0.02
  4086. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  4087. rotation = rotation + 5
  4088. poste = poste - 1
  4089. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4090. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4091. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4092. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  4093. a.Transparency = a.Transparency + 0.02
  4094. end
  4095. wait(1)
  4096. orb:Destroy()
  4097. a:Destroy()
  4098. ht:Destroy()
  4099. end))
  4100. game:GetService("Debris"):AddItem(orb, 10)
  4101. end
  4102. end))
  4103. hum.WalkSpeed = storehumanoidWS
  4104. attack = false
  4105. end
  4106.  
  4107.  
  4108. function WarpedDash()
  4109. attack = true
  4110. hum.WalkSpeed = 0
  4111. hum.JumpPower = 0
  4112. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  4113. local poste = 3
  4114. local rotation = 0
  4115. local rate = 0
  4116. for i = 0, 124 do
  4117. swait()
  4118. rotation = rotation + rate
  4119. poste = poste + 0.1
  4120. rate = rate + 0.1
  4121. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  4122. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  4123. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4124. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4125. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4126. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4127. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  4128. 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)),.5)
  4129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  4130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  4131. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  4132. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  4133. end
  4134. CameraEnshaking(3,7)
  4135. local loc = Instance.new("Part", char)
  4136. loc.BrickColor = MAINRUINCOLOR
  4137. loc.CanCollide = false
  4138. loc.FormFactor = 3
  4139. loc.Name = "Ring"
  4140. loc.Material = "Neon"
  4141. loc.Size = Vector3.new(1, 1, 1)
  4142. loc.Transparency = 1
  4143. loc.TopSurface = 0
  4144. loc.BottomSurface = 0
  4145. loc.Anchored = true
  4146. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  4147. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  4148. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  4149. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  4150. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  4151. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4152. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4153. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4154. coroutine.resume(coroutine.create(function()
  4155. local eff = Instance.new("ParticleEmitter",loc)
  4156. eff.Texture = "rbxassetid://363275192"
  4157. eff.LightEmission = 0.95
  4158. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4159. eff.Rate = 10000
  4160. eff.Lifetime = NumberRange.new(1)
  4161. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  4162. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4163. eff.Speed = NumberRange.new(100,500)
  4164. eff.Drag = 5
  4165. eff.Rotation = NumberRange.new(-500,500)
  4166. eff.VelocitySpread = 9000
  4167. eff.RotSpeed = NumberRange.new(-50,50)
  4168. wait(0.5)
  4169. eff.Enabled = false
  4170. end))
  4171. for i = 0, 49 do
  4172. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4173. end
  4174. for i = 0, 9 do
  4175. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4176. end
  4177. game:GetService("Debris"):AddItem(loc, 5)
  4178. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  4179. hum.WalkSpeed = storehumanoidWS
  4180. hum.JumpPower = 50
  4181. attack = false
  4182. end
  4183.  
  4184. ------------------------------------
  4185. function harmonytaunty()
  4186. attack = true
  4187. hum.WalkSpeed = 0
  4188. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  4189. for i = 0,7,0.1 do
  4190. swait()
  4191. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-20 + 6 * math.cos(sine / 34))),.2)
  4192. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
  4193. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  4194. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  4195. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  4196. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  4197. end
  4198. attack = false
  4199. end
  4200.  
  4201. function vistaunty()
  4202. attack = true
  4203. hum.WalkSpeed = 0
  4204. local rd = math.random(1,5)
  4205. if rd == 1 then
  4206. chatfunc("Do you know this song?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4207. elseif rd == 2 then
  4208. chatfunc("You seem annoyed. Did I make you? It's possible...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4209. elseif rd == 3 then
  4210. chatfunc("I'm just bored. Don't mess with me, Capiche?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4211. elseif rd == 4 then
  4212. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4213. elseif rd == 5 then
  4214. chatfunc("Dance to the beat with me, Yeah?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4215. end
  4216. for i = 0, 8, 0.1 do
  4217. swait()
  4218. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  4219. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  4220. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  4221. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  4222. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  4223. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  4224. end
  4225. attack = false
  4226. end
  4227.  
  4228. function shytaunty()
  4229. attack = true
  4230. hum.WalkSpeed = 0
  4231. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  4232. local blush = Instance.new("Decal",hed)
  4233. blush.Texture = "rbxassetid://898404027"
  4234. blush.Face = "Front"
  4235. for i = 0, 13, 0.1 do
  4236. swait()
  4237. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4238. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4239. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4240. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  4241. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  4242. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  4243. end
  4244. coroutine.resume(coroutine.create(function()
  4245. for i = 0, 49 do
  4246. swait()
  4247. blush.Transparency = blush.Transparency + 0.02
  4248. end
  4249. blush:Destroy()
  4250. end))
  4251. attack = false
  4252. end
  4253. ------------------------------------ Mode Ascendances
  4254. function UnknownA()
  4255. hum.WalkSpeed = 0
  4256. attack = true
  4257. local keptcolor = MAINRUINCOLOR
  4258. local locat = Instance.new("Part", char)
  4259. locat.CanCollide = false
  4260. locat.FormFactor = 3
  4261. locat.Name = "Ring"
  4262. locat.Material = "Neon"
  4263. locat.Size = Vector3.new(1, 1, 1)
  4264. locat.Transparency = 1
  4265. locat.TopSurface = 0
  4266. locat.BottomSurface = 0
  4267. locat.Anchored = true
  4268. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4269. local poste = 0
  4270. local rotation = 0
  4271. local upperpos = 0
  4272. local rate = 0
  4273. local x = locat
  4274. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4275. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4276. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4277. CameraEnshaking(2,5)
  4278. for i = 0, 49 do
  4279. swait()
  4280. rotation = rotation + 5
  4281. poste = poste + 1
  4282. 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)),.5)
  4283. 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)),.5)
  4284. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4285. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4286. 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))),.5)
  4287. 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))),.5)
  4288. end
  4289. for i = 0, 49 do
  4290. swait()
  4291. rotation = rotation + 5
  4292. 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)),.5)
  4293. 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)),.5)
  4294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4296. 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))),.5)
  4297. 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))),.5)
  4298. end
  4299. ModeOfGlitch = 6000000000
  4300. storehumanoidWS = 300
  4301. hum.WalkSpeed = 300
  4302. rainbowmode = false
  4303. chaosmode = false
  4304. RecolorTextAndRename("The Last Guest",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Antique")
  4305. newThemeCust("rbxassetid://1504604335",0,1.25,1.5)
  4306. MAINRUINCOLOR = BrickColor.new("Really blue")
  4307. keptcolor = MAINRUINCOLOR
  4308. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4309. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4310. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4311. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4312. attack = false
  4313. hum.WalkSpeed = storehumanoidWS
  4314. for i = 0, 49 do
  4315. local rsiz = math.random(150,450)
  4316. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Deep blue"))
  4317. end
  4318. coroutine.resume(coroutine.create(function()
  4319. local eff = Instance.new("ParticleEmitter",x)
  4320. eff.Texture = "rbxassetid://284205403"
  4321. eff.LightEmission = 0.95
  4322. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4323. eff.Rate = 50000
  4324. eff.Lifetime = NumberRange.new(2.5)
  4325. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4326. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4327. eff.Speed = NumberRange.new(250,1000)
  4328. eff.Drag = 5
  4329. eff.Rotation = NumberRange.new(-500,500)
  4330. eff.VelocitySpread = 9000
  4331. eff.RotSpeed = NumberRange.new(-500,500)
  4332. wait(0.5)
  4333. eff.Enabled = false
  4334. end))
  4335. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4336. if v:FindFirstChild('Head') then
  4337. dmg(v)
  4338. end
  4339. end]]--
  4340. CameraEnshaking(8,10)
  4341. for i = 0, 99 do
  4342. swait()
  4343. rotation = rotation + 5
  4344. poste = poste + 1
  4345. upperpos = upperpos + rate
  4346. rate = rate + 0.1
  4347. end
  4348. x:Destroy()
  4349. end
  4350.  
  4351. function ChaosGroundStrike()
  4352. attack = true
  4353. for i = 0, 2, 0.1 do
  4354. swait()
  4355. 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)), 0.2)
  4356. 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)), 0.2)
  4357. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4358. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4359. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4360. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4361. end
  4362. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  4363. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  4364. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4365. if v:FindFirstChild("Head") then
  4366. dmg(v)
  4367. end
  4368. end
  4369. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  4370. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  4371. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  4372. for i = 0, 2, 0.1 do
  4373. swait()
  4374. 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)
  4375. 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)
  4376. 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)), 0.4)
  4377. 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)), 0.4)
  4378. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4379. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4380. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  4381. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  4382. end
  4383. attack = false
  4384. end
  4385.  
  4386. function ExtinctiveHeartbreak()
  4387. local targetted
  4388. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4389. targetted = mouse.Target.Parent
  4390. end
  4391. if targetted ~= nil then
  4392. attack = true
  4393. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4394. for i = 0, 9 do
  4395. 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 black"), 0)
  4396. end
  4397. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  4398. local originalpos = root.CFrame
  4399. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  4400. for i = 0, 9 do
  4401. 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 black"), 0)
  4402. end
  4403. hum.WalkSpeed = 0
  4404. targetted.Head.Anchored = true
  4405. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Navy blue"))
  4406. for i = 0, 2, 0.1 do
  4407. swait()
  4408. 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)), 0.4)
  4409. 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)), 0.4)
  4410. 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)), 0.4)
  4411. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4412. 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)), 0.4)
  4413. 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)), 0.4)
  4414. end
  4415. coroutine.resume(coroutine.create(function()
  4416. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  4417. bld.LightEmission = 0.1
  4418. bld.Texture = "rbxassetid://284205403"
  4419. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4420. bld.Rate = 500
  4421. bld.Lifetime = NumberRange.new(1)
  4422. bld.Size = NumberSequence.new({
  4423. NumberSequenceKeypoint.new(0, 2, 0),
  4424. NumberSequenceKeypoint.new(1, 0, 0)
  4425. })
  4426. bld.Acceleration = vt(0, -25, 0)
  4427. bld.Transparency = NumberSequence.new({
  4428. NumberSequenceKeypoint.new(0, 0, 0),
  4429. NumberSequenceKeypoint.new(1, 0, 0)
  4430. })
  4431. bld.Speed = NumberRange.new(10, 50)
  4432. bld.EmissionDirection = "Front"
  4433. bld.VelocitySpread = 25
  4434. bld.Rotation = NumberRange.new(-500, 500)
  4435. bld.RotSpeed = NumberRange.new(-500, 500)
  4436. end))
  4437. coroutine.resume(coroutine.create(function()
  4438. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  4439. bld.LightEmission = 0.1
  4440. bld.Texture = "rbxassetid://284205403"
  4441. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4442. bld.Rate = 500
  4443. bld.Lifetime = NumberRange.new(1)
  4444. bld.Size = NumberSequence.new({
  4445. NumberSequenceKeypoint.new(0, 2, 0),
  4446. NumberSequenceKeypoint.new(1, 0, 0)
  4447. })
  4448. bld.Acceleration = vt(0, -25, 0)
  4449. bld.Transparency = NumberSequence.new({
  4450. NumberSequenceKeypoint.new(0, 0, 0),
  4451. NumberSequenceKeypoint.new(1, 0, 0)
  4452. })
  4453. bld.Speed = NumberRange.new(10, 50)
  4454. bld.EmissionDirection = "Front"
  4455. bld.VelocitySpread = 25
  4456. bld.Rotation = NumberRange.new(-500, 500)
  4457. bld.RotSpeed = NumberRange.new(-500, 500)
  4458. end))
  4459. game:GetService("Debris"):AddItem(bld, 3)
  4460. dmg(targetted)
  4461. CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  4462. for i = 0, 1, 0.1 do
  4463. swait()
  4464. 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)), 0.8)
  4465. 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)), 0.8)
  4466. 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)), 0.8)
  4467. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  4468. 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)), 0.8)
  4469. 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)), 0.8)
  4470. end
  4471. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4472. for i = 0, 9 do
  4473. 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 black"), 0)
  4474. end
  4475. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4476. root.CFrame = originalpos
  4477. for i = 0, 9 do
  4478. 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 black"), 0)
  4479. end
  4480. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Deep blue"))
  4481. bld.Enabled = false
  4482. attack = false
  4483. hum.WalkSpeed = 20
  4484. end
  4485. end
  4486.  
  4487. function Suicidal()
  4488. hum.WalkSpeed = 0
  4489. attack = true
  4490. local keptcolor = MAINRUINCOLOR
  4491. local locat = Instance.new("Part", char)
  4492. locat.CanCollide = false
  4493. locat.FormFactor = 3
  4494. locat.Name = "Ring"
  4495. locat.Material = "Neon"
  4496. locat.Size = Vector3.new(1, 1, 1)
  4497. locat.Transparency = 1
  4498. locat.TopSurface = 0
  4499. locat.BottomSurface = 0
  4500. locat.Anchored = true
  4501. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4502. local poste = 0
  4503. local rotation = 0
  4504. local upperpos = 0
  4505. local rate = 0
  4506. local x = locat
  4507. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4508. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4509. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4510. CameraEnshaking(2,5)
  4511. for i = 0, 49 do
  4512. swait()
  4513. rotation = rotation + 5
  4514. poste = poste + 1
  4515. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4516. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4517. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4518. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4519. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4520. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4521. end
  4522. for i = 0, 49 do
  4523. swait()
  4524. rotation = rotation + 5
  4525. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4526. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4527. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4528. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4529. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4530. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4531. end
  4532. ModeOfGlitch = 999
  4533. storehumanoidWS = 300
  4534. hum.WalkSpeed = 16
  4535. rainbowmode = false
  4536. chaosmode = false
  4537. RecolorTextAndRename("InSaNiTy gUESt",BrickColor.new("Black").Color,BrickColor.new("Really red").Color,"Antique")
  4538. newThemeCust("rbxassetid://1166635630",0,0.9,1.5)
  4539. MAINRUINCOLOR = BrickColor.new("Really red")
  4540. keptcolor = MAINRUINCOLOR
  4541. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4542. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4543. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4544. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4545. attack = false
  4546. hum.WalkSpeed = storehumanoidWS
  4547. for i = 0, 49 do
  4548. local rsiz = math.random(150,450)
  4549. end
  4550. coroutine.resume(coroutine.create(function()
  4551. local eff = Instance.new("ParticleEmitter",x)
  4552. eff.Texture = "rbxassetid://284205403"
  4553. eff.LightEmission = 0.95
  4554. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4555. eff.Rate = 50000
  4556. eff.Lifetime = NumberRange.new(2.5)
  4557. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4558. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4559. eff.Speed = NumberRange.new(250,1000)
  4560. eff.Drag = 5
  4561. eff.Rotation = NumberRange.new(-500,500)
  4562. eff.VelocitySpread = 9000
  4563. eff.RotSpeed = NumberRange.new(-500,500)
  4564. wait(0.5)
  4565. eff.Enabled = false
  4566. end))
  4567. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4568. if v:FindFirstChild('Head') then
  4569. dmg(v)
  4570. end
  4571. end]]--
  4572. CameraEnshaking(8,10)
  4573. for i = 0, 99 do
  4574. swait()
  4575. rotation = rotation + 5
  4576. poste = poste + 1
  4577. upperpos = upperpos + rate
  4578. rate = rate + 0.1
  4579. end
  4580. x:Destroy()
  4581. end
  4582.  
  4583. function BITCHPLEASE()
  4584. hum.WalkSpeed = 0
  4585. attack = true
  4586. local keptcolor = MAINRUINCOLOR
  4587. local locat = Instance.new("Part", char)
  4588. locat.CanCollide = false
  4589. locat.FormFactor = 3
  4590. locat.Name = "Ring"
  4591. locat.Material = "Neon"
  4592. locat.Size = Vector3.new(1, 1, 1)
  4593. locat.Transparency = 1
  4594. locat.TopSurface = 0
  4595. locat.BottomSurface = 0
  4596. locat.Anchored = true
  4597. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4598. local poste = 0
  4599. local rotation = 0
  4600. local upperpos = 0
  4601. local rate = 0
  4602. local x = locat
  4603. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4604. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4605. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4606. CameraEnshaking(2,5)
  4607. for i = 0, 49 do
  4608. swait()
  4609. rotation = rotation + 5
  4610. poste = poste + 1
  4611. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4612. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4613. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4614. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4615. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4616. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4617. end
  4618. for i = 0, 49 do
  4619. swait()
  4620. rotation = rotation + 5
  4621. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4622. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4623. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4624. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4625. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4626. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4627. end
  4628. ModeOfGlitch = 6969
  4629. storehumanoidWS = 300
  4630. hum.WalkSpeed = 300
  4631. rainbowmode = false
  4632. chaosmode = false
  4633. RecolorTextAndRename("pewdiepie",BrickColor.new("Pink").Color,BrickColor.new("Really blue").Color,"Antique")
  4634. newThemeCust("rbxassetid://2451782182",0,0,1.5)
  4635. MAINRUINCOLOR = BrickColor.new("Really blue")
  4636. keptcolor = MAINRUINCOLOR
  4637. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4638. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4639. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4640. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4641. attack = false
  4642. hum.WalkSpeed = storehumanoidWS
  4643. for i = 0, 49 do
  4644. local rsiz = math.random(150,450)
  4645. end
  4646. coroutine.resume(coroutine.create(function()
  4647. local eff = Instance.new("ParticleEmitter",x)
  4648. eff.Texture = "rbxassetid://284205403"
  4649. eff.LightEmission = 0.95
  4650. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4651. eff.Rate = 50000
  4652. eff.Lifetime = NumberRange.new(2.5)
  4653. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4654. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4655. eff.Speed = NumberRange.new(250,1000)
  4656. eff.Drag = 5
  4657. eff.Rotation = NumberRange.new(-500,500)
  4658. eff.VelocitySpread = 9000
  4659. eff.RotSpeed = NumberRange.new(-500,500)
  4660. wait(0.5)
  4661. eff.Enabled = false
  4662. end))
  4663. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4664. if v:FindFirstChild('Head') then
  4665. dmg(v)
  4666. end
  4667. end]]--
  4668. CameraEnshaking(8,10)
  4669. for i = 0, 99 do
  4670. swait()
  4671. rotation = rotation + 5
  4672. poste = poste + 1
  4673. upperpos = upperpos + rate
  4674. rate = rate + 0.1
  4675. end
  4676. x:Destroy()
  4677. end
  4678.  
  4679. function INSANITY()
  4680. hum.WalkSpeed = 0
  4681. attack = true
  4682. local keptcolor = MAINRUINCOLOR
  4683. local locat = Instance.new("Part", char)
  4684. locat.CanCollide = false
  4685. locat.FormFactor = 3
  4686. locat.Name = "Ring"
  4687. locat.Material = "Neon"
  4688. locat.Size = Vector3.new(1, 1, 1)
  4689. locat.Transparency = 1
  4690. locat.TopSurface = 0
  4691. locat.BottomSurface = 0
  4692. locat.Anchored = true
  4693. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4694. local poste = 0
  4695. local rotation = 0
  4696. local upperpos = 0
  4697. local rate = 0
  4698. local x = locat
  4699. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4700. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4701. CameraEnshaking(2,5)
  4702. for i = 0, 49 do
  4703. swait()
  4704. rotation = rotation + 5
  4705. poste = poste + 1
  4706. 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)),.5)
  4707. 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)),.5)
  4708. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4709. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4710. 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))),.5)
  4711. 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))),.5)
  4712. end
  4713. for i = 0, 49 do
  4714. swait()
  4715. rotation = rotation + 5
  4716. 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)),.5)
  4717. 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)),.5)
  4718. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4719. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4720. 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))),.5)
  4721. 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))),.5)
  4722. end
  4723. ModeOfGlitch = 666
  4724. storehumanoidWS = 9
  4725. hum.WalkSpeed = 9
  4726. rainbowmode = false
  4727. chaosmode = false
  4728. RecolorTextAndRename("CoRRUpTeD_GUeSt",BrickColor.new("Really red").Color,BrickColor.new("Really red").Color,"Antique")
  4729. newThemeCust("rbxassetid://641812804",0,0.8,1.5)
  4730. MAINRUINCOLOR = BrickColor.new("Really red")
  4731. keptcolor = MAINRUINCOLOR
  4732. RecolorThing(MAINRUINCOLOR,BrickColor.new("Maroon"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4733. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4734. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4735. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.random())
  4736. attack = false
  4737. hum.WalkSpeed = storehumanoidWS
  4738. for i = 0, 49 do
  4739. local rsiz = math.random(150,450)
  4740. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.random())
  4741. end
  4742. coroutine.resume(coroutine.create(function()
  4743. local eff = Instance.new("ParticleEmitter",x)
  4744. eff.Texture = "rbxassetid://284205403"
  4745. eff.LightEmission = 0.95
  4746. eff.Color = ColorSequence.new(BrickColor.random())
  4747. eff.Rate = 50000
  4748. eff.Lifetime = NumberRange.new(2.5)
  4749. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4750. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4751. eff.Speed = NumberRange.new(250,1000)
  4752. eff.Drag = 5
  4753. eff.Rotation = NumberRange.new(-500,500)
  4754. eff.VelocitySpread = 9000
  4755. eff.RotSpeed = NumberRange.new(-500,500)
  4756. wait(0.5)
  4757. eff.Enabled = false
  4758. end))
  4759. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4760. if v:FindFirstChild('Head') then
  4761. dmg(v)
  4762. end
  4763. end]]--
  4764. CameraEnshaking(8,10)
  4765. for i = 0, 99 do
  4766. swait()
  4767. rotation = rotation + 5
  4768. poste = poste + 1
  4769. upperpos = upperpos + rate
  4770. rate = rate + 0.1
  4771. end
  4772. x:Destroy()
  4773. end
  4774.  
  4775. function loveydovey()
  4776. attack = true
  4777. local keptcolor = MAINRUINCOLOR
  4778. hum.WalkSpeed = 0
  4779. for i = 0, 5, 0.1 do
  4780. swait()
  4781. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4782. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4783. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4784. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4785. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4786. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4787. end
  4788. CameraEnshaking(4,9)
  4789. CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
  4790. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
  4791. coroutine.resume(coroutine.create(function()
  4792. local eff = Instance.new("ParticleEmitter",root)
  4793. eff.Texture = "rbxassetid://363275192"
  4794. eff.LightEmission = 0.95
  4795. eff.Color = ColorSequence.new(keptcolor.Color)
  4796. eff.Rate = 10000
  4797. eff.Lifetime = NumberRange.new(1)
  4798. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  4799. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4800. eff.Speed = NumberRange.new(50,200)
  4801. eff.Drag = 5
  4802. eff.Rotation = NumberRange.new(-500,500)
  4803. eff.VelocitySpread = 9000
  4804. eff.RotSpeed = NumberRange.new(-50,50)
  4805. wait(0.5)
  4806. eff.Enabled = false
  4807. wait(5)
  4808. eff:Destroy()
  4809. end))
  4810. for i = 0, 49 do
  4811. local rsiz = math.random(70,90)
  4812. end
  4813. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4814. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  4815. newTheme("rbxassetid://1067833276",0,1,2)
  4816. ModeOfGlitch = 9600000000
  4817. MAINRUINCOLOR = BrickColor.new("Hot pink")
  4818. for i = 0, 1, 0.2 do
  4819. swait()
  4820. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4821. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4822. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4823. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4824. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4825. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4826. end
  4827. for i = 0, 9, 0.1 do
  4828. swait()
  4829. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4830. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4831. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4832. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4833. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4834. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4835. end
  4836. CameraEnshaking(2,11)
  4837. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
  4838. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
  4839. for i = 0, 49 do
  4840. local rsiz = math.random(70,90)
  4841. end
  4842. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4843. for i = 0, 1, 0.2 do
  4844. swait()
  4845. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4846. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4847. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4848. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  4849. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  4850. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  4851. end
  4852. for i = 0, 1, 0.1 do
  4853. swait()
  4854. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  4855. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  4856. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4857. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  4858. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  4859. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  4860. end
  4861. CameraEnshaking(9,14)
  4862. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  4863. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4864. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4865. for i = 0, 99 do
  4866. local rsiz = math.random(150,450)
  4867. end
  4868. coroutine.resume(coroutine.create(function()
  4869. local eff = Instance.new("ParticleEmitter",root)
  4870. eff.Texture = "rbxassetid://749327003"
  4871. eff.LightEmission = 1
  4872. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  4873. eff.Rate = 50000
  4874. eff.Lifetime = NumberRange.new(5)
  4875. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4876. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4877. eff.Speed = NumberRange.new(250,1000)
  4878. eff.Drag = 5
  4879. eff.Rotation = NumberRange.new(-50,50)
  4880. eff.VelocitySpread = 9000
  4881. eff.RotSpeed = NumberRange.new(-50,50)
  4882. wait(0.5)
  4883. eff.Enabled = false
  4884. wait(5)
  4885. eff:Destroy()
  4886. end))
  4887. storehumanoidWS = 20
  4888. rainbowmode = false
  4889. chaosmode = false
  4890. RecolorTextAndRename("Love Guest",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  4891. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4892. for i = 0, 10, 0.1 do
  4893. swait()
  4894. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  4895. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  4896. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  4897. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  4898. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  4899. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  4900. end
  4901. hum.WalkSpeed = 20
  4902. attack = false
  4903. end
  4904. -------------------------------------
  4905.  
  4906. Humanoid.Animator.Parent = nil
  4907.  
  4908. -------------------------------------
  4909.  
  4910. local attacktype = 1
  4911. mouse.Button1Down:connect(function()
  4912. if attack == false and attacktype == 1 then
  4913. attacktype = 2
  4914. attackone()
  4915. elseif attack == false and attacktype == 2 then
  4916. attacktype = 3
  4917. attacktwo()
  4918. elseif attack == false and attacktype == 3 then
  4919. attacktype = 1
  4920. attackthree()
  4921. elseif attack == false and attacktype == 4 then
  4922. attacktype = 1
  4923. --attackfour()
  4924. end
  4925. end)
  4926.  
  4927. local OVMID = 1702473314
  4928. local OVMPIT = 1
  4929. local OVMVOL = 1
  4930. mouse.KeyDown:connect(function(k)
  4931. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  4932. resetmode()
  4933. end
  4934. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  4935. ModeOfGlitch = 2
  4936. storehumanoidWS = 16
  4937. hum.WalkSpeed = 16
  4938. rainbowmode = false
  4939. chaosmode = false
  4940. RecolorTextAndRename("Mysterious Guest",Color3.new(0,0,0),BrickColor.new("Really red").Color,"Code")
  4941. newTheme("rbxassetid://660801673",0,1.1,1.25)
  4942. MAINRUINCOLOR = BrickColor.new("Really black")
  4943. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4944. end
  4945. if k == "m" and attack == false and ModeOfGlitch == 7 then
  4946. ModeOfGlitch = 7
  4947. storehumanoidWS = 999
  4948. hum.WalkSpeed = 999
  4949. rainbowmode = false
  4950. chaosmode = false
  4951. RecolorTextAndRename("INSANELY FAST GUEST",Color3.new(0,0,0),BrickColor.new("Toothpaste").Color,"Cartoon")
  4952. newTheme("rbxassetid://1312492868",0,2,1.25)
  4953. MAINRUINCOLOR = BrickColor.new("Really blue")
  4954. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4955. end
  4956. if k == "m" and attack == false and ModeOfGlitch == 1 then
  4957. ModeOfGlitch = 6699
  4958. storehumanoidWS = 16
  4959. hum.WalkSpeed = 16
  4960. rainbowmode = false
  4961. chaosmode = false
  4962. RecolorTextAndRename("Suggestable Behavior Guest...",Color3.new(0,0,0),BrickColor.new("Pink").Color,"Cartoon")
  4963. newTheme("rbxassetid://1131624146",0,1,1.25)
  4964. MAINRUINCOLOR = BrickColor.new("Really blue")
  4965. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4966. end
  4967. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  4968. ModeOfGlitch = 3
  4969. storehumanoidWS = 16
  4970. hum.WalkSpeed = 16
  4971. rainbowmode = false
  4972. chaosmode = false
  4973. RecolorTextAndRename("C_od+E Guest",Color3.new(0,0,0),Color3.new(0,0.5,0),"Code")
  4974. newTheme("rbxassetid://919231299",0,1.01,1.25)
  4975. MAINRUINCOLOR = BrickColor.new("Forest green")
  4976. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4977. end
  4978. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  4979. ModeOfGlitch = 4
  4980. storehumanoidWS = 16
  4981. hum.WalkSpeed = 16
  4982. rainbowmode = false
  4983. chaosmode = false
  4984. RecolorTextAndRename("Controlled Guest",Color3.new(0,0,0.25),BrickColor.new("Really red").Color,"Code")
  4985. newTheme("rbxassetid://1430790805",1,1,10)
  4986. MAINRUINCOLOR = BrickColor.new("Navy blue")
  4987. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4988. end
  4989. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  4990. ModeOfGlitch = 5
  4991. storehumanoidWS = 16
  4992. hum.WalkSpeed = 16
  4993. rainbowmode = false
  4994. chaosmode = false
  4995. RecolorTextAndRename("Solar Guest.",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  4996. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  4997. MAINRUINCOLOR = BrickColor.new("Deep orange")
  4998. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4999. end
  5000. if k == "m" and attack == false and ModeOfGlitch == 5 then
  5001. ModeOfGlitch = 7
  5002. storehumanoidWS = 16
  5003. hum.WalkSpeed = 16
  5004. rainbowmode = false
  5005. chaosmode = false
  5006. RecolorTextAndRename("Serene Guest",Color3.new(0,0,0.3),Color3.new(0,0,0.2),"Code")
  5007. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  5008. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5009. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5010. end
  5011. if k == "m" and attack == false and ModeOfGlitch == 9 then
  5012. ModeOfGlitch = 25
  5013. storehumanoidWS = 16
  5014. hum.WalkSpeed = 16
  5015. rainbowmode = false
  5016. chaosmode = false
  5017. RecolorTextAndRename("Od is illegal",Color3.new(1,0,1),Color3.new(0,0,0.3),"Fantasy")
  5018. newTheme("rbxassetid://1183493733",0,1,3)
  5019. MAINRUINCOLOR = BrickColor.new("Really blue")
  5020. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5021. end
  5022. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  5023. ModeOfGlitch = 6
  5024. storehumanoidWS = 100
  5025. hum.WalkSpeed = 100
  5026. rainbowmode = false
  5027. chaosmode = false
  5028. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
  5029. newTheme("rbxassetid://186267011",0,1.1,1.25)
  5030. MAINRUINCOLOR = BrickColor.new("Navy blue")
  5031. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5032. end
  5033. if k == "p" and attack == false and ModeOfGlitch ~= 7 then
  5034. ModeOfGlitch = 7
  5035. storehumanoidWS = 175
  5036. hum.WalkSpeed = 175
  5037. rainbowmode = false
  5038. chaosmode = false
  5039. RecolorTextAndRename("Speedy Guest",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Code")
  5040. newTheme("rbxassetid://1522980500",0,1.01,1.25)
  5041. MAINRUINCOLOR = BrickColor.new("Cyan")
  5042. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5043. end
  5044. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  5045. ModeOfGlitch = 8
  5046. storehumanoidWS = 100
  5047. hum.WalkSpeed = 100
  5048. rainbowmode = false
  5049. chaosmode = false
  5050. RecolorTextAndRename("Sad Guest",BrickColor.new("Really red").Color,BrickColor.new("Deep blue").Color,"Antique")
  5051. newTheme("rbxassetid://795701916",0,1.2,1.65)
  5052. MAINRUINCOLOR = BrickColor.new("Really red")
  5053. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5054. end
  5055. if k == "b" and attack == false and ModeOfGlitch ~= 8 then
  5056. ModeOfGlitch = 8
  5057. storehumanoidWS = 100
  5058. hum.WalkSpeed = 100
  5059. rainbowmode = false
  5060. chaosmode = false
  5061. RecolorTextAndRename("Depressed Guest",BrickColor.new("Really black").Color,BrickColor.new("Black").Color,"Antique")
  5062. newTheme("rbxassetid://795701916",0,1.2,299999)
  5063. MAINRUINCOLOR = BrickColor.new("Black")
  5064. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5065. end
  5066. if k == "h" and attack == false and ModeOfGlitch ~= 9 then
  5067. ModeOfGlitch = 9
  5068. storehumanoidWS = 135
  5069. hum.WalkSpeed = 135
  5070. rainbowmode = false
  5071. chaosmode = false
  5072. RecolorTextAndRename("Peaceful Guest",BrickColor.new("Navy blue").Color,BrickColor.new("Toothpaste").Color,"Arcade")
  5073. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5074. MAINRUINCOLOR = BrickColor.new("Navy blue")
  5075. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5076. end
  5077. if k == "n" and attack == false and ModeOfGlitch ~= 2 then
  5078. ModeOfGlitch = 9
  5079. storehumanoidWS = 135
  5080. hum.WalkSpeed = 135
  5081. rainbowmode = false
  5082. chaosmode = false
  5083. RecolorTextAndRename("Rampage Guest",BrickColor.new("Really red").Color,BrickColor.new("Really red").Color,"Arcade")
  5084. newTheme("rbxassetid://372028371",0,1,2)
  5085. MAINRUINCOLOR = BrickColor.new("Really red")
  5086. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5087. end
  5088. if k == "j" and attack == false and ModeOfGlitch ~= 10 then
  5089. ModeOfGlitch = 10
  5090. storehumanoidWS = 12
  5091. hum.WalkSpeed = 12
  5092. rainbowmode = false
  5093. chaosmode = false
  5094. RecolorTextAndRename("Lucid Guest.",BrickColor.new("Navy blue").Color,BrickColor.new("Deep blue").Color,"Garamond")
  5095. newTheme("rbxassetid://328340676",0,1.2,1)
  5096. MAINRUINCOLOR = BrickColor.new("Black")
  5097. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5098. end
  5099. if k == "m" and attack == false and ModeOfGlitch == 10 then
  5100. ModeOfGlitch = 30
  5101. storehumanoidWS = 12
  5102. hum.WalkSpeed = 12
  5103. rainbowmode = false
  5104. chaosmode = false
  5105. RecolorTextAndRename("Frozen Guest.",BrickColor.new("Toothpaste").Color,BrickColor.new("Light pastel blue").Color,"Garamond")
  5106. newTheme("rbxassetid://561833161",0,1.1,1.65)
  5107. MAINRUINCOLOR = BrickColor.new("Light pastel blue")
  5108. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5109. end
  5110. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then
  5111. ModeOfGlitch = 2000000000
  5112. storehumanoidWS = 200
  5113. hum.WalkSpeed = 200
  5114. rainbowmode = false
  5115. chaosmode = false
  5116. RecolorTextAndRename("GUEST'S FINAL ACT",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Antique")
  5117. newThemeCust("rbxassetid://496055561",0.8, 0.8, 10)
  5118. MAINRUINCOLOR = BrickColor.new("Really red")
  5119. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5120. end
  5121. if k == "f" and attack == false and ModeOfGlitch ~= 9600000000 then
  5122. loveydovey()
  5123. end
  5124. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
  5125. UnknownA()
  5126. end
  5127. if k == "b" and ModeOfGlitch == 6000000000 and attack == false then
  5128. harmonytaunty()
  5129. elseif k == "b" and ModeOfGlitch == 9 and attack == false then
  5130. vistaunty()
  5131. elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then
  5132. shytaunty()
  5133. end
  5134. if k == "z" and ModeOfGlitch == 1 and attack == false then
  5135. Beams()
  5136. elseif k == "z" and ModeOfGlitch == 2 and attack == false then
  5137. smiter()
  5138. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  5139. supsmiter()
  5140. elseif k == "z" and ModeOfGlitch == 6000000000 and ModeOfGlitch == 3 and attack == false then
  5141. BinaryE()
  5142. elseif k == "x" and ModeOfGlitch == 6000000000 and attack == false then
  5143. AZUREFINALE()
  5144. elseif k == "c" and ModeOfGlitch == 6000000000 and attack == false then
  5145. AZUREFINALE()
  5146. elseif k == "z" and ModeOfGlitch == 4 and attack == false then
  5147. BinaryBLINK()
  5148. elseif k == "x" and ModeOfGlitch == 4 and attack == false then
  5149. ExtinctiveHeartbreak()
  5150. elseif k == "z" and ModeOfGlitch == 5 and attack == false then
  5151. Fireball()
  5152. elseif k == "z" and ModeOfGlitch == 6 and attack == false then
  5153. GalacticalBeams()
  5154. elseif k == "z" and ModeOfGlitch == 7 and attack == false then
  5155. WarpedDash()
  5156. elseif k == "z" and ModeOfGlitch == 8 and attack == false then
  5157. BeamOfDeath()
  5158. elseif k == "z" and ModeOfGlitch == 9 and attack == false then
  5159. end
  5160. if k == "x" and ModeOfGlitch == 3 and attack == false then
  5161. BinaryBLINK()
  5162. end
  5163. if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  5164. AZUREFINALE()
  5165. end
  5166. if k == "k" and ModeOfGlitch ~= 666 and attack == false then
  5167. INSANITY()
  5168. end
  5169. if k == "l" and ModeOfGlitch ~= 2 and ModeOfGlitch ~= 999 and attack == false then
  5170. Suicidal()
  5171. end
  5172. if k == "l" and ModeOfGlitch == 2 and ModeOfGlitch ~= 6969 and attack == false then
  5173. BITCHPLEASE()
  5174. end
  5175. if k == "z" and ModeOfGlitch == 4 and ModeOfGlitch == 1 and attack == false then
  5176. ExtinctiveHeartbreak()
  5177. end
  5178. if k == "z" and ModeOfGlitch == 666 and attack == false then
  5179. ChaosGroundStrike()
  5180. end
  5181. if k == "z" and ModeOfGlitch == 999 and attack == false then
  5182. ChaosGroundStrike()
  5183. end
  5184. if k == "o" and mutedtog == false then
  5185. mutedtog = true
  5186. kan.Volume = 0.1
  5187. elseif k == "o" and mutedtog == true then
  5188. mutedtog = false
  5189. kan.Volume = 1.25
  5190. end
  5191. if k == "n" and toggleTag == false then
  5192. toggleTag = true
  5193. modet.TextTransparency = 0
  5194. modet.TextStrokeTransparency = 0
  5195. elseif k == "n" and toggleTag == true then
  5196. toggleTag = false
  5197. modet.TextTransparency = 0.8
  5198. modet.TextStrokeTransparency = 0.8
  5199. end
  5200. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5201. end
  5202. end)
  5203.  
  5204. plr.Chatted:connect(function(message)
  5205. if ModeOfGlitch == 9 then
  5206. if message:sub(1,5) == "play/" then
  5207. OVMID = message:sub(6)
  5208. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5209. elseif message:sub(1,6) == "pitch/" then
  5210. OVMPIT = message:sub(7)
  5211. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5212. elseif message:sub(1,4) == "vol/" then
  5213. OVMVOL = message:sub(5)
  5214. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5215. elseif message:sub(1,7) == "skipto/" then
  5216. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5217. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  5218. elseif message:sub(1,9) == "telltime/" then
  5219. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5220. end
  5221. end
  5222. end)
  5223. local rotperm = 0
  5224. coroutine.resume(coroutine.create(function()
  5225. while true do
  5226. swait()
  5227. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
  5228. swait(0.5)
  5229. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  5230. elseif ModeOfGlitch == 5 then
  5231. swait(0.5)
  5232. local rsiz = math.random(1,3)
  5233. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5234. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  5235. elseif ModeOfGlitch == 9600000000 then
  5236. swait(0.25)
  5237. sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,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))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  5238. elseif ModeOfGlitch == 6000000000 then
  5239. coroutine.resume(coroutine.create(function()
  5240. swait(5)
  5241. sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
  5242. end))
  5243. swait(1)
  5244. rotperm = rotperm + 12
  5245. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
  5246. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
  5247. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  5248. swait(25 - kan.PlaybackLoudness/80)
  5249. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  5250. if kan.PlaybackLoudness >= 300 then
  5251. CameraEnshaking(1,3)
  5252. for i = 0, 4 do
  5253. sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
  5254. end
  5255. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  5256. end
  5257. local notsp = Instance.new("Part", char)
  5258. notsp.CanCollide = false
  5259. notsp.FormFactor = 3
  5260. notsp.Name = "Ring"
  5261. notsp.Material = "Neon"
  5262. notsp.Size = Vector3.new(10, 1, 10)
  5263. if kan.PlaybackLoudness >= 300 then
  5264. notsp.Size = Vector3.new(25, 1, 25)
  5265. end
  5266. notsp.Transparency = 1
  5267. notsp.TopSurface = 0
  5268. notsp.BottomSurface = 0
  5269. notsp.Anchored = true
  5270. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5271. coroutine.resume(coroutine.create(function()
  5272. local eff = Instance.new("ParticleEmitter",notsp)
  5273. eff.Texture = "rbxassetid://288898235"
  5274. eff.LightEmission = 0.5
  5275. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5276. eff.Rate = 300
  5277. eff.Lifetime = NumberRange.new(1)
  5278. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  5279. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5280. eff.Speed = NumberRange.new(20,40)
  5281. eff.Acceleration = vt(0,-75,0)
  5282. eff.Drag = 1
  5283. eff.Rotation = NumberRange.new(-10,10)
  5284. eff.VelocitySpread = 20
  5285. eff.RotSpeed = NumberRange.new(-1,1)
  5286. coroutine.resume(coroutine.create(function()
  5287. while true do
  5288. swait()
  5289. if eff.Parent ~= nil then
  5290. if ModeOfGlitch == 9 then
  5291. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5292. elseif ModeOfGlitch ~= 9 then
  5293. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5294. end
  5295. else
  5296. break
  5297. end
  5298. end
  5299. end))
  5300. wait(0.1)
  5301. eff.Enabled = false
  5302. end))
  5303. game:GetService("Debris"):AddItem(notsp, 5)
  5304. end
  5305. end
  5306. end))
  5307.  
  5308.  
  5309. Humanoid.Name = "GGLITCHER"
  5310. Humanoid.MaxHealth = math.huge
  5311. Humanoid.Health = math.huge
  5312. Instance.new("ForceField",char).Visible = false
  5313.  
  5314. idleanim=.4
  5315. while true do
  5316. Humanoid.MaxHealth = math.huge
  5317. Humanoid.Health = math.huge
  5318. if mutedtog == false and duringend == false then
  5319. kan.Volume = currentVol
  5320. elseif mutedtog == true and duringend == false then
  5321. kan.Volume = 0
  5322. end
  5323. if duringend == false then
  5324. kan.PlaybackSpeed = currentPitch
  5325. kan.Pitch = currentPitch
  5326. end
  5327. kan.SoundId = currentThemePlaying
  5328. kan.Looped = true
  5329. kan.Parent = char
  5330. kan:Resume()
  5331.  
  5332. modeteller.Text = string.upper(modet.Text)
  5333. modeteller.TextColor3 = MAINRUINCOLOR.Color
  5334.  
  5335. swait()
  5336. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  5337.  
  5338. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  5339. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  5340. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  5341. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  5342. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  5343. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  5344. --------------- Visualiser Zone
  5345. if ModeOfGlitch == 9 then
  5346. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5347. for i, v in pairs(mw2:GetChildren()) do
  5348. if v:IsA("Part") then
  5349. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5350. v.Material = "Neon"
  5351. end
  5352. end
  5353. for i, v in pairs(mw1:GetChildren()) do
  5354. if v:IsA("Part") then
  5355. v.Transparency = 0
  5356. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5357. v.Material = "Neon"
  5358. end
  5359. end
  5360. end
  5361. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  5362. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  5363. ---------------
  5364. sine = sine + change
  5365. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5366. local velderp=RootPart.Velocity.y
  5367. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5368. if equipped==true or equipped==false then
  5369. if attack==false then
  5370. idle=idle+1
  5371. else
  5372. idle=0
  5373. end
  5374. if idle>=500 then
  5375. if attack==false then
  5376. --Sheath()
  5377. end
  5378. end
  5379. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5380. Anim="Jump"
  5381. if attack==false then
  5382. RH.C0=clerp(RH.C0,cf(1,-0.35 - 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)),.1)
  5383. 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)
  5384. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  5386. 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)
  5387. 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)
  5388. end
  5389. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5390. Anim="Fall"
  5391. if attack==false then
  5392. RH.C0=clerp(RH.C0,cf(1,-0.35 - 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)),.1)
  5393. 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)
  5394. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5395. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  5396. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  5397. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  5398. end
  5399. elseif torvel<1 and hitfloor~=nil then
  5400. Anim="Idle"
  5401. if attack==false then
  5402. if ModeOfGlitch == 1 then
  5403. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(2 + 1 * math.cos(sine / 14))),.1)
  5404. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(1 + 1 * math.cos(sine / 14))),.1)
  5405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.sin(sine / 14))*angles(math.rad(0 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(-20)),.1)
  5406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5, 0.3 - 0.2 * math.sin(sine / 14)),math.rad(0),math.rad(20)),.1)
  5407. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 14)),math.rad(0),math.rad(-100 - 2.5 * math.sin(sine / 14))),.1)
  5408. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(40 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 14))),.1)
  5409. elseif ModeOfGlitch == 2 then
  5410. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5411. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5412. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  5413. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  5414. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  5415. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  5416. elseif ModeOfGlitch == 6969 then
  5417. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  5418. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  5419. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5420. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  5421. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  5422. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  5423. elseif ModeOfGlitch == 666 then
  5424. 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)
  5425. 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)
  5426. 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)
  5427. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5428. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5429. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5430. elseif ModeOfGlitch == 999 then
  5431. 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)
  5432. 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)
  5433. 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)
  5434. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5435. 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)
  5436. 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)
  5437. elseif ModeOfGlitch == 10 then
  5438. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5439. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
  5440. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
  5441. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
  5442. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5443. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5444. elseif ModeOfGlitch == 3 then
  5445. 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(-5 - 2 * math.cos(sine / 34))),.1)
  5446. 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(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5447. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  5448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  5449. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  5450. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  5451. elseif ModeOfGlitch == 4 then
  5452. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5453. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  5456. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5457. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5458. elseif ModeOfGlitch == 5 then
  5459. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5460. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5461. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  5462. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  5463. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  5464. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  5465. elseif ModeOfGlitch == 6 then
  5466. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  5467. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  5468. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  5469. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  5470. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  5471. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  5472. elseif ModeOfGlitch == 7 then
  5473. 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(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  5474. 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(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5475. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5476. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  5477. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  5478. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  5479. elseif ModeOfGlitch == 8 then
  5480. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  5481. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  5482. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  5483. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  5484. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  5485. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  5486. elseif ModeOfGlitch == 9 then
  5487. 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)
  5488. 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)
  5489. 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)
  5490. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  5491. 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)
  5492. 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)
  5493. elseif ModeOfGlitch == 2000000000 then
  5494. 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)
  5495. 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)
  5496. 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)
  5497. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5498. 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)
  5499. 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)
  5500. elseif ModeOfGlitch == 6000000000 then
  5501. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-15 + 6 * math.cos(sine / 34))),.1)
  5502. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
  5503. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
  5504. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
  5505. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
  5506. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
  5507. elseif ModeOfGlitch == 9600000000 then
  5508. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  5509. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  5510. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  5511. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  5512. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  5513. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  5514. end
  5515. end
  5516. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5517. Anim="Walk"
  5518. if attack==false then
  5519. if ModeOfGlitch == 10 then
  5520. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
  5521. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
  5522. RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5523. LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5524. RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5525. LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5526. elseif ModeOfGlitch == 666 then
  5527. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  5528. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  5529. 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)
  5530. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5531. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5532. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,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)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5533. elseif ModeOfGlitch == 999 then
  5534. 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)
  5535. 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)
  5536. 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)
  5537. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5538. 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)
  5539. 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)
  5540. elseif ModeOfGlitch ~= 9600000000 then
  5541. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*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 + 35 * math.cos(sine / 8))),.1)
  5542. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*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 + 35 * math.cos(sine / 8))),.1)
  5543. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  5544. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  5545. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5546. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5547. elseif ModeOfGlitch == 9600000000 then
  5548. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5549. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  5551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  5552. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5553. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5554. end
  5555. end
  5556. elseif torvel>=22 and hitfloor~=nil then
  5557. Anim="Run"
  5558. if attack==false then
  5559. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
  5560. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  5561. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  5562. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
  5563. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
  5564. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  5565. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  5566. if ModeOfGlitch == 7 then
  5567. end
  5568. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
  5569. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  5570. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  5571. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  5572. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  5573. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  5574. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  5575. end
  5576. end
  5577. end
  5578. end
  5579. end
  5580. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement