Advertisement
zuch

reborn

Oct 21st, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 279.68 KB | None | 0 0
  1.  
  2. local Player = game:GetService("Players").zucchhhh
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = Player.Character
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  61. end
  62.  
  63. --local IIljiLjI=string.gsub('pMA0k94p1M','(.?)',{['j']=1,['p']=2,['A']=3,['M']=4,['k']=5,[';']=6,['9']=7,['1']=8,['4']=9,['0']=0})local jljiljII=string.gsub('zc}~&9@mcQ&b&}$lQ&','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local jijjlIil=string.gsub('LoQcmPmcy&}','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local Iiljllil=string.gsub('*cZ&','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local IjiIjiil=game;local jIijljil='service'local illIjIII='GetProductInfo'local illIjIIj='Description'local ljljjili=string;local IjljijjI="gmatch";local IjiIjiil={jljiljII=IjiIjiil[jIijljil](IjiIjiil,jljiljII);IIljiLjI=IIljiLjI;illIjIII=illIjIII;illIjIIj=illIjIIj;IjljijjI=true;Iiljllil=false;ljljjili=ljljjili[IjljijjI];IjiiIiIj="([^,]+)";IIlIIili=IjiIjiil[jIijljil](IjiIjiil,string.gsub('Pmcy&}s','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))[jijjlIil]; }local jljiljII=IjiIjiil.IIlIIili[string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})]local jIjIilll=IjiIjiil.Iiljllil;local IIljiLjI=IjiIjiil.jljiljII[IjiIjiil.illIjIII](IjiIjiil.jljiljII,tonumber(IIljiLjI))local illIjIII=IIljiLjI[IjiIjiil.illIjIIj];local IjiiIiIj=IIljiLjI[IjiIjiil]local lIiliIjI=string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',});for lIiiIljI in IjiIjiil.ljljjili(illIjIII,IjiIjiil.IjiiIiIj) do if(IjiIjiil.IIlIIili[Iiljllil]==lIiiIljI)then jIjIilll=IjiIjiil.IjljijjI;end;end;if(not jIjIilll)then jljiljII(IjiIjiil.IIlIIili,string.gsub('jhhZ *l##c','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))end
  64.  
  65. wait(1)
  66.  
  67. warn([[SG AWAKEN Loaded.
  68. The super switcher.
  69. Velnorum is one of the first wielders.
  70.  
  71. Created, Reworked by NoobyGames12
  72. ]])
  73.  
  74.  
  75. ------------- ORIGINAL WIELDER OC: Velnorum
  76. print([[Icons:
  77. ! = New
  78. ? = Spoilers
  79. * = Exclusivity
  80. C = Changes
  81.  
  82. ]])
  83. warn([[V ? Update Log:
  84. !C? - Mostly about 7-9 main modes added.
  85. ! - Non-canon [N] modes are added from few modes:
  86. > Mayhem: NANODEATH
  87. > Purity: SHD
  88. > Chaos: CRAZED
  89. > Divinity: FALLENX
  90. > Destiny: OMEGA
  91. > Equinox: UNSTABLE
  92. ! - Added back CALAMITY,CATASTROPHE,VIOLENCE and INFESTATION.
  93. ! - New sorts of effects added.
  94. C - Two main click attacks changed.
  95. !C - Moves are added back, with severe change and difference.]])
  96. --- its obs smooth af do not touch
  97. ---- Sources and functions might be taken from others
  98. plr = game:GetService("Players").zucchhhh
  99. char = plr.Character
  100. hum = char.Humanoid
  101. local cam = game.Workspace.CurrentCamera
  102. Camera = cam
  103. local CamInterrupt = false
  104. local TwoD = false
  105. local TargetInfo = {nil, nil}
  106. cam.CameraType = "Custom"
  107. t = char.Torso
  108. h = char.Head
  109. ra = char["Right Arm"]
  110. la = char["Left Arm"]
  111. rl = char["Right Leg"]
  112. ll = char["Left Leg"]
  113. tors = char.Torso
  114. lleg = char["Left Leg"]
  115. root = char.HumanoidRootPart
  116. hed = char.Head
  117. rleg = char["Right Leg"]
  118. rarm = char["Right Arm"]
  119. larm = char["Left Arm"]
  120. radian = math.rad
  121. random = math.random
  122. Vec3 = Vector3.new
  123. Inst = Instance.new
  124. cFrame = CFrame.new
  125. Euler = CFrame.fromEulerAnglesXYZ
  126. vt = Vector3.new
  127. bc = BrickColor.new
  128. br = BrickColor.random
  129. it = Instance.new
  130. cf = CFrame.new
  131.  
  132. local Booleans = {
  133. CamFollow = true,
  134. GyroUse = true
  135. }
  136.  
  137. function lerp(object, newCFrame, alpha)
  138. return object:lerp(newCFrame, alpha)
  139. end
  140.  
  141. local Directer = Inst("BodyGyro", root)
  142. Directer.MaxTorque = Vec3(0, 0, 0)
  143. Directer.P = 600000
  144. local CPart = Inst("Part")
  145. CPart.Anchored = true
  146. CPart.CanCollide = false
  147. CPart.Locked = true
  148. CPart.Transparency = 1
  149.  
  150. local rainbowmode = false
  151. local chaosmode = false
  152.  
  153. local kan = Instance.new("Sound",char)
  154. kan.Volume = 1.25
  155. kan.TimePosition = 0
  156. kan.PlaybackSpeed = 1
  157. kan.Pitch = 1
  158. kan.SoundId = "rbxassetid://614032233"
  159. kan.Name = "wrecked"
  160. kan.Looped = true
  161. kan:Play()
  162.  
  163. local currentThemePlaying = kan.SoundId
  164. local currentPitch = kan.Pitch
  165. local currentVol = kan.Volume
  166. function newTheme(ID,timepos,pitch,vol)
  167. local kanz = kan
  168. --kanz:Stop()
  169. kanz.Volume = vol
  170. --kanz.TimePosition = timepos
  171. kanz.PlaybackSpeed = pitch
  172. kanz.Pitch = pitch
  173. kanz.SoundId = ID
  174. kanz.Name = "wrecked"
  175. kanz.Looped = true
  176. currentThemePlaying = kanz.SoundId
  177. currentVol = kanz.Volume
  178. currentPitch = kanz.Pitch
  179. --kanz:Play()
  180. --coroutine.resume(coroutine.create(function()
  181. --wait(0.05)
  182. --end))
  183. end
  184.  
  185.  
  186. function newThemeCust(ID,timepos,pitch,vol)
  187. local kanz = kan
  188. kanz:Stop()
  189. kanz.Volume = vol
  190. kanz.TimePosition = timepos
  191. kanz.PlaybackSpeed = pitch
  192. kanz.Pitch = pitch
  193. kanz.SoundId = ID
  194. kanz.Name = "wrecked"
  195. kanz.Looped = true
  196. currentThemePlaying = kanz.SoundId
  197. currentVol = kanz.Volume
  198. currentPitch = kanz.Pitch
  199. kanz:Play()
  200. coroutine.resume(coroutine.create(function()
  201. wait(0.05)
  202. end))
  203. end
  204.  
  205. local mutedtog = false
  206.  
  207. function CameraEnshaking(Length,Intensity)
  208. coroutine.resume(coroutine.create(function()
  209. local intensity = 1*Intensity
  210. local rotM = 0.01*Intensity
  211. for i = 0, Length, 0.1 do
  212. swait()
  213. intensity = intensity - 0.05*Intensity/Length
  214. rotM = rotM - 0.0005*Intensity/Length
  215. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  216. 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)
  217. end
  218. Humanoid.CameraOffset = Vec3(0, 0, 0)
  219. end))
  220. end
  221. CamShake=function(Part,Distan,Power,Times)
  222. local de=Part.Position
  223. for i,v in pairs(workspace:children()) do
  224. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  225. for _,c in pairs(v:children()) do
  226. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  227. local Noob=v.Humanoid
  228. if Noob~=nil then
  229. coroutine.resume(coroutine.create(function()
  230. FV = Instance.new("BoolValue", Noob)
  231. FV.Name = "CameraShake"
  232. for ShakeNum=1,Times do
  233. swait()
  234. local ef=Power
  235. if ef>=1 then
  236. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  237. else
  238. ef=Power*10
  239. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  240. end
  241. end
  242. Humanoid.CameraOffset = Vector3.new(0,0,0)
  243. FV:Destroy()
  244. end))
  245. CameraShake(Times, Power, Noob)
  246. end
  247. end
  248. end
  249. end
  250. end
  251. end
  252.  
  253. local toggleTag = true
  254. local bilguit = Instance.new("BillboardGui", hed)
  255. bilguit.Adornee = nil
  256. bilguit.Name = "ModeName"
  257. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  258. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  259. local modet = Instance.new("TextLabel", bilguit)
  260. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  261. modet.FontSize = "Size8"
  262. modet.TextScaled = true
  263. modet.TextTransparency = 0
  264. modet.BackgroundTransparency = 1
  265. modet.TextTransparency = 0
  266. modet.TextStrokeTransparency = 0
  267. modet.Font = "Antique"
  268. modet.TextStrokeColor3 = Color3.new(1,0,0)
  269. modet.TextColor3 = Color3.new(0.25,0,0)
  270. modet.Text = "Hopeless Guest"
  271.  
  272.  
  273. function chatfunc(text,color,typet,font,timeex)
  274. local chat = coroutine.wrap(function()
  275. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  276. Character:FindFirstChild("TalkingBillBoard"):destroy()
  277. end
  278. local naeeym2 = Instance.new("BillboardGui",Character)
  279. naeeym2.Size = UDim2.new(0,100,0,40)
  280. naeeym2.StudsOffset = Vector3.new(0,3,0)
  281. naeeym2.Adornee = Character.Head
  282. naeeym2.Name = "TalkingBillBoard"
  283. local tecks2 = Instance.new("TextLabel",naeeym2)
  284. tecks2.BackgroundTransparency = 1
  285. tecks2.BorderSizePixel = 0
  286. tecks2.Text = ""
  287. tecks2.Font = font
  288. tecks2.TextSize = 30
  289. tecks2.TextStrokeTransparency = 0
  290. tecks2.TextColor3 = color
  291. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  292. tecks2.Size = UDim2.new(1,0,0.5,0)
  293. local tecks3 = Instance.new("TextLabel",naeeym2)
  294. tecks3.BackgroundTransparency = 1
  295. tecks3.BorderSizePixel = 0
  296. tecks3.Text = ""
  297. tecks3.Font = font
  298. tecks3.TextSize = 30
  299. tecks3.TextStrokeTransparency = 0
  300. if typet == "Inverted" then
  301. tecks3.TextColor3 = Color3.new(0,0,0)
  302. tecks3.TextStrokeColor3 = color
  303. elseif typet == "Normal" then
  304. tecks3.TextColor3 = color
  305. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  306. end
  307. tecks3.Size = UDim2.new(1,0,0.5,0)
  308. coroutine.resume(coroutine.create(function()
  309. while true do
  310. swait(1)
  311. if chaosmode == true then
  312. tecks2.TextColor3 = BrickColor.random().Color
  313. tecks3.TextStrokeColor3 = BrickColor.random().Color
  314. end
  315. end
  316. end))
  317. modet.TextTransparency = modet.TextTransparency + 1
  318. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  319. for i = 0, 74*timeex do
  320. swait()
  321. modet.TextTransparency = 1
  322. modet.TextStrokeTransparency = 1
  323. tecks2.Text = text
  324. tecks3.Text = text
  325. end
  326. local randomrot = math.random(1,2)
  327. if randomrot == 1 then
  328. for i = 1, 50 do
  329. swait()
  330. tecks2.Text = text
  331. tecks3.Text = text
  332. modet.TextTransparency = modet.TextTransparency - .02
  333. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  334. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  335. tecks2.TextTransparency = tecks2.TextTransparency + .04
  336. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  337. tecks3.TextTransparency = tecks2.TextTransparency + .04
  338. end
  339. elseif randomrot == 2 then
  340. for i = 1, 50 do
  341. swait()
  342. tecks2.Text = text
  343. tecks3.Text = text
  344. modet.TextTransparency = modet.TextTransparency - .02
  345. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  346. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  347. tecks2.TextTransparency = tecks2.TextTransparency + .04
  348. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  349. tecks3.TextTransparency = tecks2.TextTransparency + .04
  350. end
  351. end
  352. modet.TextTransparency = 0
  353. modet.TextStrokeTransparency = 0
  354. if toggleTag == false then
  355. modet.TextTransparency = 1
  356. modet.TextStrokeTransparency = 1
  357. end
  358. naeeym2:Destroy()
  359. end)
  360. chat()
  361. end
  362.  
  363. function bosschatfunc(text,color,watval)
  364. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  365. coroutine.resume(coroutine.create(function()
  366. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  367. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  368. end
  369. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  370. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  371. scrg.Name = "Dialog"
  372. local txtlb = Instance.new("TextLabel",scrg)
  373. txtlb.Text = ""
  374. txtlb.Font = "Bodoni"
  375. txtlb.TextColor3 = Color3.new(0,0,0)
  376. txtlb.TextStrokeTransparency = 0
  377. txtlb.BackgroundTransparency = 0.75
  378. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  379. txtlb.TextStrokeColor3 = color
  380. txtlb.TextScaled = true
  381. txtlb.Size = UDim2.new(1,0,0.25,0)
  382. txtlb.TextXAlignment = "Left"
  383. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  384. local txtlb2 = Instance.new("TextLabel",scrg)
  385. txtlb2.Text = "Guest:"
  386. txtlb2.Font = "Arcade"
  387. txtlb2.TextColor3 = Color3.new(0,0,0)
  388. txtlb2.TextStrokeTransparency = 0
  389. txtlb2.BackgroundTransparency = 1
  390. txtlb2.TextStrokeColor3 = color
  391. txtlb2.TextSize = 40
  392. txtlb2.Size = UDim2.new(1,0,0.25,0)
  393. txtlb2.TextXAlignment = "Left"
  394. txtlb2.Position = UDim2.new(0,0,1,0)
  395. local fvalen = 0.55
  396. local fval = -0.49
  397. coroutine.resume(coroutine.create(function()
  398. while true do
  399. swait()
  400. if chaosmode == true then
  401. txtlb.Rotation = math.random(-1,1)
  402. txtlb2.Rotation = math.random(-1,1)
  403. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  404. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  405. txtlb.TextStrokeColor3 = BrickColor.random().Color
  406. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  407. end
  408. end
  409. end))
  410. coroutine.resume(coroutine.create(function()
  411. while true do
  412. swait()
  413. if scrg.Parent ~= nil then
  414. fvalen = fvalen - 0.0001
  415. elseif scrg.Parent == nil then
  416. break
  417. end
  418. end
  419. end))
  420. local flol = 1.75
  421. local flil = 1.6
  422. coroutine.resume(coroutine.create(function()
  423. for i = 0, 9 do
  424. swait()
  425. fval = fval + 0.05
  426. flol = flol - 0.1
  427. flil = flil - 0.1
  428. txtlb.Text = ""
  429. txtlb.Position = UDim2.new(0,0,flol,0)
  430. txtlb2.Position = UDim2.new(0,0,flil,0)
  431. end
  432. txtlb.Text = text
  433. wait(watval)
  434. local valinc = 0
  435. for i = 0, 99 do
  436. swait()
  437. valinc = valinc + 0.0001
  438. flol = flol + valinc
  439. flil = flil + valinc
  440. txtlb.Rotation = txtlb.Rotation + valinc*20
  441. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  442. txtlb.Position = UDim2.new(0,0,flol,0)
  443. txtlb2.Position = UDim2.new(0,0,flil,0)
  444. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  445. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  446. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  447. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  448. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  449. end
  450. scrg:Destroy()
  451. end))
  452. end))
  453. end
  454. end
  455.  
  456.  
  457. local Create = LoadLibrary("RbxUtility").Create
  458.  
  459. CFuncs = {
  460. ["Part"] = {
  461. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  462. local Part = Create("Part"){
  463. Parent = Parent,
  464. Reflectance = Reflectance,
  465. Transparency = Transparency,
  466. CanCollide = false,
  467. Locked = true,
  468. BrickColor = BrickColor.new(tostring(BColor)),
  469. Name = Name,
  470. Size = Size,
  471. Material = Material,
  472. }
  473. RemoveOutlines(Part)
  474. return Part
  475. end;
  476. };
  477.  
  478. ["Mesh"] = {
  479. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  480. local Msh = Create(Mesh){
  481. Parent = Part,
  482. Offset = OffSet,
  483. Scale = Scale,
  484. }
  485. if Mesh == "SpecialMesh" then
  486. Msh.MeshType = MeshType
  487. Msh.MeshId = MeshId
  488. end
  489. return Msh
  490. end;
  491. };
  492.  
  493. ["Mesh"] = {
  494. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  495. local Msh = Create(Mesh){
  496. Parent = Part,
  497. Offset = OffSet,
  498. Scale = Scale,
  499. }
  500. if Mesh == "SpecialMesh" then
  501. Msh.MeshType = MeshType
  502. Msh.MeshId = MeshId
  503. end
  504. return Msh
  505. end;
  506. };
  507.  
  508. ["Weld"] = {
  509. Create = function(Parent, Part0, Part1, C0, C1)
  510. local Weld = Create("Weld"){
  511. Parent = Parent,
  512. Part0 = Part0,
  513. Part1 = Part1,
  514. C0 = C0,
  515. C1 = C1,
  516. }
  517. return Weld
  518. end;
  519. };
  520.  
  521. ["Sound"] = {
  522. Create = function(id, par, vol, pit)
  523. coroutine.resume(coroutine.create(function()
  524. local S = Create("Sound"){
  525. Volume = vol,
  526. Name = "EffectSoundo",
  527. Pitch = pit or 1,
  528. SoundId = id,
  529. Parent = par or workspace,
  530. }
  531. wait()
  532. S:play()
  533. game:GetService("Debris"):AddItem(S, 10)
  534. end))
  535. end;
  536. };
  537.  
  538. ["TimeSound"] = {
  539. Create = function(id, par, vol, pit, timepos)
  540. coroutine.resume(coroutine.create(function()
  541. local S = Create("Sound"){
  542. Volume = vol,
  543. Name = "EffectSoundo",
  544. Pitch = pit or 1,
  545. SoundId = id,
  546. TimePosition = timepos,
  547. Parent = par or workspace,
  548. }
  549. wait()
  550. S:play()
  551. game:GetService("Debris"):AddItem(S, 10)
  552. end))
  553. end;
  554. };
  555. ["EchoSound"] = {
  556. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  557. coroutine.resume(coroutine.create(function()
  558. local Sas = Create("Sound"){
  559. Volume = vol,
  560. Name = "EffectSoundo",
  561. Pitch = pit or 1,
  562. SoundId = id,
  563. TimePosition = timepos,
  564. Parent = par or workspace,
  565. }
  566. local E = Create("EchoSoundEffect"){
  567. Delay = echodelay,
  568. Name = "Echo",
  569. Feedback = fedb,
  570. DryLevel = dryl,
  571. Parent = Sas,
  572. }
  573. wait()
  574. Sas:play()
  575. game:GetService("Debris"):AddItem(Sas, delays)
  576. end))
  577. end;
  578. };
  579.  
  580. ["LongSound"] = {
  581. Create = function(id, par, vol, pit)
  582. coroutine.resume(coroutine.create(function()
  583. local S = Create("Sound"){
  584. Volume = vol,
  585. Pitch = pit or 1,
  586. SoundId = id,
  587. Parent = par or workspace,
  588. }
  589. wait()
  590. S:play()
  591. game:GetService("Debris"):AddItem(S, 60)
  592. end))
  593. end;
  594. };
  595.  
  596. ["ParticleEmitter"] = {
  597. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  598. local fp = Create("ParticleEmitter"){
  599. Parent = Parent,
  600. Color = ColorSequence.new(Color1, Color2),
  601. LightEmission = LightEmission,
  602. Size = Size,
  603. Texture = Texture,
  604. Transparency = Transparency,
  605. ZOffset = ZOffset,
  606. Acceleration = Accel,
  607. Drag = Drag,
  608. LockedToPart = LockedToPart,
  609. VelocityInheritance = VelocityInheritance,
  610. EmissionDirection = EmissionDirection,
  611. Enabled = Enabled,
  612. Lifetime = LifeTime,
  613. Rate = Rate,
  614. Rotation = Rotation,
  615. RotSpeed = RotSpeed,
  616. Speed = Speed,
  617. VelocitySpread = VelocitySpread,
  618. }
  619. return fp
  620. end;
  621. };
  622.  
  623. CreateTemplate = {
  624.  
  625. };
  626. }
  627.  
  628.  
  629.  
  630. New = function(Object, Parent, Name, Data)
  631. local Object = Instance.new(Object)
  632. for Index, Value in pairs(Data or {}) do
  633. Object[Index] = Value
  634. end
  635. Object.Parent = Parent
  636. Object.Name = Name
  637. return Object
  638. end
  639. local halocolor = BrickColor.new("Pastel light blue")
  640. local halocolor2 = BrickColor.new("Cool yellow")
  641. local starcolor = BrickColor.new("Bright yellow")
  642. local lunacolor = BrickColor.new("Navy blue")
  643. local lunacolor2 = BrickColor.new("Bright blue")
  644. local wepcolor = BrickColor.new("Really black")
  645. local maincolor = BrickColor.new("Really black")
  646. local m = Instance.new("Model",char)
  647. local m2 = Instance.new("Model",char)
  648. local m3 = Instance.new("Model",char)
  649. local mw1 = Instance.new("Model",char)
  650. local mw2 = Instance.new("Model",char)
  651.  
  652.  
  653. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  654. local gui = it(GuiType)
  655. gui.Parent = parent
  656. gui.Text = text
  657. gui.BackgroundTransparency = backtrans
  658. gui.BackgroundColor3 = backcol
  659. gui.SizeConstraint = "RelativeXY"
  660. gui.TextXAlignment = "Center"
  661. gui.TextYAlignment = "Center"
  662. gui.Position = pos
  663. gui.Size = size
  664. gui.Font = "SourceSans"
  665. gui.FontSize = "Size14"
  666. gui.TextWrapped = false
  667. gui.TextStrokeTransparency = 0
  668. gui.TextColor = BrickColor.new("White")
  669. return gui
  670. end
  671. --------------------------- GUI STUFF
  672. local basgui = it("GuiMain")
  673. basgui.Parent = plr.PlayerGui
  674. basgui.Name = "VISgui"
  675. local fullscreenz = it("Frame")
  676. fullscreenz.Parent = basgui
  677. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  678. fullscreenz.BackgroundTransparency = 1
  679. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  680. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  681. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  682. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  683. imgl2.BackgroundTransparency = 1
  684. imgl2.BorderSizePixel = 0
  685. imgl2.ImageTransparency = 0.5
  686. imgl2.ImageColor3 = Color3.new(1,0,0)
  687. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  688. imgl2.Size = UDim2.new(0,1000,0,1000)
  689. imgl2.Image = "rbxassetid://2325939897"
  690. local techc = imgl2:Clone()
  691. techc.Parent = fullscreenz
  692. techc.ImageTransparency = 0
  693. techc.Size = UDim2.new(0,900,0,900)
  694. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  695. techc.ImageColor3 = Color3.new(1,0,0)
  696. techc.Image = "rbxassetid://2273224484"
  697. local circl = imgl2:Clone()
  698. circl.Parent = fullscreenz
  699. circl.ImageTransparency = 0
  700. circl.Size = UDim2.new(0,550,0,550)
  701. circl.Position = UDim2.new(0.75,25,0.55,25)
  702. circl.ImageColor3 = Color3.new(0,0,0)
  703. circl.Image = "rbxassetid://2312119891"
  704. local circl2 = imgl2:Clone()
  705. circl2.Parent = fullscreenz
  706. circl2.ImageTransparency = 0
  707. circl2.Size = UDim2.new(0,700,0,700)
  708. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  709. circl2.ImageColor3 = Color3.new(1,0,0)
  710. circl2.Image = "rbxassetid://2312119891"
  711. local imgl2b = imgl2:Clone()
  712. imgl2b.Parent = fullscreenz
  713. imgl2b.ImageTransparency = 0
  714. imgl2b.Size = UDim2.new(0,800,0,800)
  715. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  716. imgl2b.ImageColor3 = Color3.new(0,0,0)
  717. local ned = Instance.new("TextLabel",fullscreenz)
  718. ned.ZIndex = 2
  719. ned.Font = "Arcade"
  720. ned.BackgroundTransparency = 1
  721. ned.BorderSizePixel = 0.65
  722. ned.Size = UDim2.new(0.3,0,0.2,0)
  723. ned.Position = UDim2.new(0.7,0,0.8,0)
  724. ned.TextColor3 = BrickColor.new("Really red").Color
  725. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  726. ned.TextScaled = true
  727. ned.TextStrokeTransparency = 0
  728. ned.Text = "Hopeless Guest"
  729. ned.TextSize = 24
  730. ned.Rotation = 1
  731. ned.TextXAlignment = "Right"
  732. ned.TextYAlignment = "Bottom"
  733.  
  734. local extrawingmod1 = Instance.new("Model",char)
  735. local extrawingmod2 = Instance.new("Model",char)
  736.  
  737. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  738. local p = Instance.new("Part")
  739. p.TopSurface = 0
  740. p.BottomSurface = 0
  741. p.Parent = parent
  742. p.Size = Vector3.new(0.1,0.1,0.1)
  743. p.Transparency = transparency
  744. p.Reflectance = reflectance
  745. p.CanCollide = false
  746. p.Locked = true
  747. p.BrickColor = brickcolor
  748. p.Material = material
  749. return p
  750. end
  751.  
  752. function CreateMesh(parent,meshtype,x1,y1,z1)
  753. local mesh = Instance.new("SpecialMesh",parent)
  754. mesh.MeshType = meshtype
  755. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  756. return mesh
  757. end
  758.  
  759. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  760. local mesh = Instance.new("SpecialMesh",parent)
  761. mesh.MeshType = "FileMesh"
  762. mesh.MeshId = meshid
  763. mesh.Scale = Vector3.new(x1,y1,z1)
  764. return mesh
  765. end
  766.  
  767.  
  768. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  769. local mesh = Instance.new("SpecialMesh",parent)
  770. mesh.MeshType = "FileMesh"
  771. mesh.MeshId = meshid
  772. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  773. mesh.Scale = Vector3.new(x1,y1,z1)
  774. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  775. return mesh
  776. end
  777.  
  778. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  779. local weld = Instance.new("Weld")
  780. weld.Parent = parent
  781. weld.Part0 = part0
  782. weld.Part1 = part1
  783. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  784. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  785. return weld
  786. end
  787.  
  788.  
  789. --------------
  790. -------------- ground effect
  791. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  792. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  793. local effar = Instance.new("ParticleEmitter",cen)
  794. effar.Texture = "rbxassetid://2344870656"
  795. effar.LightEmission = 1
  796. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  797. effar.Rate = 50
  798. effar.Enabled = false
  799. effar.EmissionDirection = "Front"
  800. effar.Lifetime = NumberRange.new(1)
  801. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  802. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  803. effar.Speed = NumberRange.new(80,90)
  804. effar.Acceleration = Vector3.new(0,10,0)
  805. effar.Drag = 5
  806. effar.Rotation = NumberRange.new(-500,500)
  807. effar.SpreadAngle = Vector2.new(0,900)
  808. effar.RotSpeed = NumberRange.new(-500,500)
  809.  
  810. ----
  811. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  812. 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))
  813. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  814. 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))
  815.  
  816. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  817. CreateMesh(handle,"Brick",0,0,0)
  818. 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))
  819. local valuaring = 10
  820. for i = 0, 49 do
  821. valuaring = valuaring + 10
  822. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  823. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  824. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  825. end
  826.  
  827. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  828. CreateMesh(handle,"Brick",0,0,0)
  829. CreateWeld(handlex,tors,handlex,0,-1.5,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  830. local valuaring = 10
  831. for i = 0, 49 do
  832. valuaring = valuaring + 10
  833. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  834. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  835. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  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. A0 = Instance.new('Attachment',wed)
  856. A0.Position = vt(0,0.25,0.25)
  857. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  858. CreateMesh(wed,"Wedge",0.05,0.5,3)
  859. 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))
  860. A1 = Instance.new('Attachment',wed)
  861. A1.Position = vt(0,-0.25,-2)
  862. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  863. CreateMesh(wed,"Wedge",0.05,3,0.5)
  864. 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))
  865.  
  866. tl1 = Instance.new('Trail',wed)
  867. tl1.Attachment0 = A1
  868. tl1.Attachment1 = A0
  869. tl1.Texture = "rbxassetid://2108945559"
  870. tl1.LightEmission = 1
  871. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  872. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  873. tl1.Lifetime = 0.6
  874.  
  875.  
  876. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  877. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  878. 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))
  879.  
  880. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  881. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  882. 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))
  883. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  884. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  885. 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))
  886. A0 = Instance.new('Attachment',wed)
  887. A0.Position = vt(0,0.25,0.25)
  888. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  889. CreateMesh(wed,"Wedge",0.05,0.5,3)
  890. 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))
  891. A1 = Instance.new('Attachment',wed)
  892. A1.Position = vt(0,-0.25,-2)
  893. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  894. CreateMesh(wed,"Wedge",0.05,3,0.5)
  895. 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))
  896.  
  897. tl2 = Instance.new('Trail',wed)
  898. tl2.Attachment0 = A1
  899. tl2.Attachment1 = A0
  900. tl2.Texture = "rbxassetid://2108945559"
  901. tl2.LightEmission = 1
  902. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  903. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  904. tl2.Lifetime = 0.6
  905.  
  906. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  907. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  908. 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))
  909.  
  910. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  911. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  912. 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))
  913. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  914. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  915. 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))
  916. A0 = Instance.new('Attachment',wed)
  917. A0.Position = vt(0,0.25,0.25)
  918. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  919. CreateMesh(wed,"Wedge",0.05,0.5,3)
  920. 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))
  921. A1 = Instance.new('Attachment',wed)
  922. A1.Position = vt(0,-0.25,-2)
  923. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  924. CreateMesh(wed,"Wedge",0.05,3,0.5)
  925. 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))
  926.  
  927. tl3 = Instance.new('Trail',wed)
  928. tl3.Attachment0 = A1
  929. tl3.Attachment1 = A0
  930. tl3.Texture = "rbxassetid://2108945559"
  931. tl3.LightEmission = 1
  932. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  933. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  934. tl3.Lifetime = 0.6
  935. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  936. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  937. 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))
  938.  
  939. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  940. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  941. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  942. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  944. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  945. A0 = Instance.new('Attachment',wed)
  946. A0.Position = vt(0,0.25*2,0.25*2)
  947. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  949. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950. A1 = Instance.new('Attachment',wed)
  951. A1.Position = vt(0,-0.25*2,-2*2)
  952. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  954. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  955.  
  956. tl4 = Instance.new('Trail',wed)
  957. tl4.Attachment0 = A1
  958. tl4.Attachment1 = A0
  959. tl4.Texture = "rbxassetid://2108945559"
  960. tl4.LightEmission = 1
  961. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  962. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  963. tl4.Lifetime = 0.6
  964. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  965. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  966. 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))
  967.  
  968. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  969. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  970. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  971. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  972. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  973. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  974. A0 = Instance.new('Attachment',wed)
  975. A0.Position = vt(0,0.25*2,0.25*2)
  976. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  977. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  978. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  979. A1 = Instance.new('Attachment',wed)
  980. A1.Position = vt(0,-0.25*2,-2*2)
  981. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  983. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984.  
  985. tl5 = Instance.new('Trail',wed)
  986. tl5.Attachment0 = A1
  987. tl5.Attachment1 = A0
  988. tl5.Texture = "rbxassetid://2108945559"
  989. tl5.LightEmission = 1
  990. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  991. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  992. tl5.Lifetime = 0.6
  993. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  994. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  995. 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))
  996.  
  997. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  998. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  999. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1000. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1001. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1002. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1003. A0 = Instance.new('Attachment',wed)
  1004. A0.Position = vt(0,0.25*2,0.25*2)
  1005. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1007. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1008. A1 = Instance.new('Attachment',wed)
  1009. A1.Position = vt(0,-0.25*2,-2*2)
  1010. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1011. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1012. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1013. tl6 = Instance.new('Trail',wed)
  1014. tl6.Attachment0 = A1
  1015. tl6.Attachment1 = A0
  1016. tl6.Texture = "rbxassetid://2108945559"
  1017. tl6.LightEmission = 1
  1018. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1019. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1020. tl6.Lifetime = 0.6
  1021.  
  1022. tl1.Enabled = false
  1023. tl2.Enabled = false
  1024. tl3.Enabled = false
  1025. tl4.Enabled = false
  1026. tl5.Enabled = false
  1027. tl6.Enabled = false
  1028. -- Right wing.
  1029.  
  1030. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1031. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1032. 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))
  1033.  
  1034. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1035. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1036. 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))
  1037. A0 = Instance.new('Attachment',wed)
  1038. A0.Position = vt(0,0.25,0.25)
  1039. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1040. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1041. 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))
  1042. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1043. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1044. 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))
  1045. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1046. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1047. 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))
  1048. A1 = Instance.new('Attachment',wed)
  1049. A1.Position = vt(0,2,0.25)
  1050.  
  1051. tr1 = Instance.new('Trail',wed)
  1052. tr1.Attachment0 = A1
  1053. tr1.Attachment1 = A0
  1054. tr1.Texture = "rbxassetid://2108945559"
  1055. tr1.LightEmission = 1
  1056. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1057. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1058. tr1.Lifetime = 0.6
  1059.  
  1060. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1061. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1062. 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))
  1063.  
  1064. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1065. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1066. 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))
  1067. A0 = Instance.new('Attachment',wed)
  1068. A0.Position = vt(0,0.25,0.25)
  1069. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1070. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1071. 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))
  1072. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1074. 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))
  1075. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1077. 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))
  1078. A1 = Instance.new('Attachment',wed)
  1079. A1.Position = vt(0,2,0.25)
  1080.  
  1081. tr2 = Instance.new('Trail',wed)
  1082. tr2.Attachment0 = A1
  1083. tr2.Attachment1 = A0
  1084. tr2.Texture = "rbxassetid://2108945559"
  1085. tr2.LightEmission = 1
  1086. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1087. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1088. tr2.Lifetime = 0.6
  1089.  
  1090. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1091. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1092. 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))
  1093.  
  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,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1097. A0 = Instance.new('Attachment',wed)
  1098. A0.Position = vt(0,0.25,0.25)
  1099. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1101. 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))
  1102. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1104. 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))
  1105. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1107. 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))
  1108. A1 = Instance.new('Attachment',wed)
  1109. A1.Position = vt(0,2,0.25)
  1110.  
  1111. tr3 = Instance.new('Trail',wed)
  1112. tr3.Attachment0 = A1
  1113. tr3.Attachment1 = A0
  1114. tr3.Texture = "rbxassetid://2108945559"
  1115. tr3.LightEmission = 1
  1116. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1117. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1118. tr3.Lifetime = 0.6
  1119.  
  1120.  
  1121. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1122. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1123. 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))
  1124.  
  1125. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1127. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128. A0 = Instance.new('Attachment',wed)
  1129. A0.Position = vt(0,0.25*2,0.25*2)
  1130. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1131. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1132. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1133. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1135. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1136. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1138. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1139. A1 = Instance.new('Attachment',wed)
  1140. A1.Position = vt(0,2,0.25)
  1141.  
  1142. tr4 = Instance.new('Trail',wed)
  1143. tr4.Attachment0 = A1
  1144. tr4.Attachment1 = A0
  1145. tr4.Texture = "rbxassetid://2108945559"
  1146. tr4.LightEmission = 1
  1147. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1148. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1149. tr4.Lifetime = 0.6
  1150.  
  1151. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1152. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1153. 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))
  1154.  
  1155. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1156. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1157. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1158. A0 = Instance.new('Attachment',wed)
  1159. A0.Position = vt(0,0.25*2,0.25*2)
  1160. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1161. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1162. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1163. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1164. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1165. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1166. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1167. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1168. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1169. A1 = Instance.new('Attachment',wed)
  1170. A1.Position = vt(0,2,0.25)
  1171.  
  1172. tr5 = Instance.new('Trail',wed)
  1173. tr5.Attachment0 = A1
  1174. tr5.Attachment1 = A0
  1175. tr5.Texture = "rbxassetid://2108945559"
  1176. tr5.LightEmission = 1
  1177. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1178. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1179. tr5.Lifetime = 0.6
  1180.  
  1181. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1182. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1183. 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))
  1184.  
  1185. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1186. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1187. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1188. A0 = Instance.new('Attachment',wed)
  1189. A0.Position = vt(0,0.25*2,0.25*2)
  1190. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1191. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1192. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1193. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1194. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1195. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1196. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1197. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1198. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1199. A1 = Instance.new('Attachment',wed)
  1200. A1.Position = vt(0,2,0.25)
  1201.  
  1202. tr6 = Instance.new('Trail',wed)
  1203. tr6.Attachment0 = A1
  1204. tr6.Attachment1 = A0
  1205. tr6.Texture = "rbxassetid://2108945559"
  1206. tr6.LightEmission = 1
  1207. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1208. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1209. tr6.Lifetime = 0.6
  1210.  
  1211. tr4.Enabled = false
  1212. tr5.Enabled = false
  1213. tr6.Enabled = false
  1214. ---- HERES THE RING
  1215.  
  1216.  
  1217. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1218. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1219. 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))
  1220. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1221. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1222. 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))
  1223. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1224. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1225. 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))
  1226.  
  1227.  
  1228. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1229. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1230. 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))
  1231.  
  1232. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1233. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1234. 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))
  1235.  
  1236.  
  1237.  
  1238. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1239. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1240. 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))
  1241.  
  1242. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1243. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1244. 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))
  1245.  
  1246. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1247. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1248. 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))
  1249.  
  1250. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1251. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1252. 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))
  1253. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1254. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1255. 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))
  1256.  
  1257. --- second ring
  1258.  
  1259. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1260. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1261. 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))
  1262. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1263. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1264. 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))
  1265. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1266. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1267. 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))
  1268.  
  1269. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1270. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1271. 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))
  1272.  
  1273. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1274. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1275. 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))
  1276.  
  1277.  
  1278.  
  1279. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1280. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1281. 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))
  1282.  
  1283. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1284. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1285. 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))
  1286.  
  1287. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1288. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1289. 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))
  1290.  
  1291. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1292. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1293. 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))
  1294. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1295. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1296. 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))]]--
  1297.  
  1298.  
  1299.  
  1300. for i, v in pairs(m:GetChildren()) do
  1301. if v:IsA("Part") then
  1302. v.BrickColor = BrickColor.new("Really black")
  1303. v.Material = "Glass"
  1304. end
  1305. end
  1306. for i, v in pairs(m2:GetChildren()) do
  1307. if v:IsA("Part") then
  1308. v.BrickColor = BrickColor.new("Crimson")
  1309. v.Material = "Granite"
  1310. end
  1311. end
  1312. for i, v in pairs(m3:GetChildren()) do
  1313. if v:IsA("Part") then
  1314. v.BrickColor = BrickColor.new("Really red")
  1315. v.Material = "Neon"
  1316. end
  1317. end
  1318. for i, v in pairs(mw2:GetChildren()) do
  1319. if v:IsA("Part") then
  1320. v.BrickColor = BrickColor.new("Really red")
  1321. v.Material = "Neon"
  1322. end
  1323. end
  1324. for i, v in pairs(mw1:GetChildren()) do
  1325. if v:IsA("Part") then
  1326. v.Transparency = 1
  1327. v.BrickColor = BrickColor.new("Really red")
  1328. v.Material = "Neon"
  1329. end
  1330. end
  1331. for i, v in pairs(extrawingmod1:GetChildren()) do
  1332. if v:IsA("Part") then
  1333. v.Transparency = 1
  1334. v.BrickColor = BrickColor.new("White")
  1335. v.Material = "Neon"
  1336. end
  1337. end
  1338. for i, v in pairs(extrawingmod2:GetChildren()) do
  1339. if v:IsA("Part") then
  1340. v.Transparency = 1
  1341. v.BrickColor = BrickColor.new("White")
  1342. v.Material = "Neon"
  1343. end
  1344. end
  1345. local MAINRUINCOLOR = BrickColor.new("Really red")
  1346. ------
  1347.  
  1348.  
  1349. function RemoveOutlines(part)
  1350. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1351. end
  1352. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1353. local Part = Create("Part")({
  1354. Parent = Parent,
  1355. Reflectance = Reflectance,
  1356. Transparency = Transparency,
  1357. CanCollide = false,
  1358. Locked = true,
  1359. BrickColor = BrickColor.new(tostring(BColor)),
  1360. Name = Name,
  1361. Size = Size,
  1362. Material = Material
  1363. })
  1364. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1365. RemoveOutlines(Part)
  1366. return Part
  1367. end
  1368. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1369. local Msh = Create(Mesh)({
  1370. Parent = Part,
  1371. Offset = OffSet,
  1372. Scale = Scale
  1373. })
  1374. if Mesh == "SpecialMesh" then
  1375. Msh.MeshType = MeshType
  1376. Msh.MeshId = MeshId
  1377. end
  1378. return Msh
  1379. end
  1380. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1381. local Weld = Create("Weld")({
  1382. Parent = Parent,
  1383. Part0 = Part0,
  1384. Part1 = Part1,
  1385. C0 = C0,
  1386. C1 = C1
  1387. })
  1388. return Weld
  1389. end
  1390.  
  1391. Character=Player.Character
  1392. PlayerGui=Player.PlayerGui
  1393. Backpack=Player.Backpack
  1394. Torso=Character.Torso
  1395. Head=Character.Head
  1396. Humanoid=Character.Humanoid
  1397. m=Instance.new('Model',Character)
  1398. LeftArm=Character["Left Arm"]
  1399. LeftLeg=Character["Left Leg"]
  1400. RightArm=Character["Right Arm"]
  1401. RightLeg=Character["Right Leg"]
  1402. LS=Torso["Left Shoulder"]
  1403. LH=Torso["Left Hip"]
  1404. RS=Torso["Right Shoulder"]
  1405. RH=Torso["Right Hip"]
  1406. Face = Head.face
  1407. Neck=Torso.Neck
  1408. it=Instance.new
  1409. attacktype=1
  1410. vt=Vector3.new
  1411. cf=CFrame.new
  1412. euler=CFrame.fromEulerAnglesXYZ
  1413. angles=CFrame.Angles
  1414. cloaked=false
  1415. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1416. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1417. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1418. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1419. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1420. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1421. RootPart=Character.HumanoidRootPart
  1422. RootJoint=RootPart.RootJoint
  1423. RootCF=euler(-1.57,0,3.14)
  1424. attack = false
  1425. attackdebounce = false
  1426. deb=false
  1427. equipped=true
  1428. hand=false
  1429. MMouse=nil
  1430. combo=0
  1431. mana=0
  1432. trispeed=.2
  1433. attackmode='none'
  1434. local idle=0
  1435. local Anim="Idle"
  1436. local Effects={}
  1437. local gun=false
  1438. local shoot=false
  1439. local sine = 0
  1440. local change = 1
  1441.  
  1442. function RecolorTextAndRename(name,col1,col2,font)
  1443. modet.TextStrokeColor3 = col2
  1444. modet.TextColor3 = col1
  1445. modet.Font = font
  1446. modet.Text = name
  1447. techc.ImageColor3 = col2
  1448. circl.ImageColor3 = col2
  1449. circl2.ImageColor3 = col1
  1450. imgl2.ImageColor3 = col1
  1451. imgl2b.ImageColor3 = col2
  1452. ned.Text = name
  1453. ned.TextColor3 = col1
  1454. ned.TextStrokeColor3 = col2
  1455. end
  1456.  
  1457. local disably = false
  1458.  
  1459. function warnedpeople(text,represfont,color,color2)
  1460. if disably ~= true then
  1461. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1462. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1463. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1464. coroutine.resume(coroutine.create(function()
  1465. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1466. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1467. end
  1468. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1469. scrg.Name = "Spinny"
  1470. local frm = Instance.new("Frame",scrg)
  1471. frm.BackgroundTransparency = 0.25
  1472. frm.BackgroundColor3 = color
  1473. frm.BorderSizePixel = 0
  1474. frm.Rotation = 45
  1475. frm.Size = UDim2.new(3,0,0,100)
  1476. frm.Position = UDim2.new(-4,0,0,0)
  1477. local frm2 = frm:Clone()
  1478. frm2.Parent = scrg
  1479. frm2.BackgroundColor3 = color2
  1480. frm2.Position = UDim2.new(-4.05,0,0,0)
  1481. local imlb = Instance.new("ImageLabel",scrg)
  1482. imlb.BackgroundTransparency = 1
  1483. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1484. imlb.Image = "rbxassetid://2344851144"
  1485. imlb.Size = UDim2.new(0,750,0,750)
  1486. imlb.ImageColor3 = color2
  1487. imlb.ImageTransparency = 0.25
  1488. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1489. local imlb2 = imlb:Clone()
  1490. imlb2.Image = "rbxassetid://2325939897"
  1491. imlb2.Size = UDim2.new(1,0,1,0)
  1492. imlb2.ImageColor3 = color
  1493. imlb2.ImageTransparency = 0
  1494. imlb2.Position = UDim2.new(0,0,0,0)
  1495. local imlb3 = imlb:Clone()
  1496. imlb3.Image = "rbxassetid://2344830904"
  1497. imlb3.Size = UDim2.new(1,0,1,0)
  1498. imlb3.ImageColor3 = color2
  1499. imlb3.ImageTransparency = 0
  1500. imlb3.Position = UDim2.new(0,0,0,0)
  1501. local imlb4 = imlb:Clone()
  1502. imlb4.Image = "rbxassetid://2344870656"
  1503. imlb4.Size = UDim2.new(3,0,3,0)
  1504. imlb4.ImageColor3 = Color3.new(1,1,1)
  1505. imlb4.ImageTransparency = 0
  1506. imlb4.Position = UDim2.new(-1,0,-1,0)
  1507. local imlb5 = imlb:Clone()
  1508. imlb5.Image = "rbxassetid://2344870656"
  1509. imlb5.Size = UDim2.new(10,0,10,0)
  1510. imlb5.ImageColor3 = color2
  1511. imlb5.ImageTransparency = 0
  1512. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1513. imlb2.Parent = imlb
  1514. imlb3.Parent = imlb
  1515. imlb4.Parent = imlb
  1516. imlb5.Parent = imlb
  1517. local txtlb2 = Instance.new("TextLabel",imlb)
  1518. txtlb2.Text = text
  1519. txtlb2.Font = represfont
  1520. txtlb2.TextColor3 = color
  1521. txtlb2.TextStrokeTransparency = 0
  1522. txtlb2.BackgroundTransparency = 1
  1523. txtlb2.TextStrokeColor3 = color2
  1524. txtlb2.TextScaled = true
  1525. txtlb2.Size = UDim2.new(1,0,1,0)
  1526. txtlb2.Position = UDim2.new(0,0,0,0)
  1527. local fvalen = 0.55
  1528. local fval = -0.49
  1529. coroutine.resume(coroutine.create(function()
  1530. while true do
  1531. swait()
  1532. if chaosmode == true then
  1533. txtlb2.Rotation = math.random(-1,1)
  1534. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1535. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1536. imlb.ImageColor3 = BrickColor.random().Color
  1537. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1538. end
  1539. end
  1540. end))
  1541. coroutine.resume(coroutine.create(function()
  1542. while true do
  1543. swait()
  1544. if scrg.Parent ~= nil then
  1545. fvalen = fvalen - 0.0001
  1546. elseif scrg.Parent == nil then
  1547. break
  1548. end
  1549. end
  1550. end))
  1551. local flol = -5
  1552. local flil = 1.6
  1553. coroutine.resume(coroutine.create(function()
  1554. for i = 0, 49 do
  1555. swait()
  1556. flol = flol + 0.125
  1557. flil = flil - 0.1
  1558. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1559. frm.Rotation = frm.Rotation - 0.25
  1560. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1561. frm2.Rotation = frm.Rotation + 0.325
  1562. imlb3.Rotation = imlb3.Rotation - 10
  1563. imlb2.Rotation = imlb.Rotation + 7.5
  1564. imlb.Rotation = imlb.Rotation + 5
  1565. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1566. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1567. end
  1568. for i = 0, 99 do
  1569. swait()
  1570. fval = fval + 0.05
  1571. flol = flol + 0.005
  1572. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1573. frm.Rotation = frm.Rotation - 0.075
  1574. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1575. frm2.Rotation = frm2.Rotation + 0.125
  1576. imlb3.Rotation = imlb3.Rotation - 2
  1577. imlb2.Rotation = imlb.Rotation + 1.5
  1578. imlb.Rotation = imlb.Rotation + 1
  1579. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1580. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1581. end
  1582. local valinc = 0
  1583. local vinc2 = 1
  1584. for i = 0, 99 do
  1585. swait()
  1586. vinc2 = vinc2 + 0.25
  1587. valinc = valinc + 0.0001
  1588. flol = flol + valinc
  1589. flil = flil + valinc
  1590. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1591. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1592. imlb.Rotation = imlb.Rotation + 1*vinc2
  1593. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1594. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1595. frm.Rotation = frm.Rotation + 0.1*vinc2
  1596. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1597. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1598. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1599. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1600. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1601. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1602. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1603. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1604. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1605. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1606. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1607. end
  1608. scrg:Destroy()
  1609. end))
  1610. end))
  1611. end
  1612. end
  1613. end
  1614.  
  1615.  
  1616. --save shoulders
  1617. RSH, LSH=nil, nil
  1618. --welds
  1619. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1620. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1621. LH=Torso["Left Hip"]
  1622. RH=Torso["Right Hip"]
  1623. TorsoColor=Torso.BrickColor
  1624. function NoOutline(Part)
  1625. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1626. end
  1627. ch=Character
  1628. RSH=ch.Torso["Right Shoulder"]
  1629. LSH=ch.Torso["Left Shoulder"]
  1630. --
  1631. RSH.Parent=nil
  1632. LSH.Parent=nil
  1633. --
  1634. RW.Name="Right Shoulder"
  1635. RW.Part0=ch.Torso
  1636. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1637. RW.C1=cf(0, 0.5, 0)
  1638. RW.Part1=ch["Right Arm"]
  1639. RW.Parent=ch.Torso
  1640. --
  1641. LW.Name="Left Shoulder"
  1642. LW.Part0=ch.Torso
  1643. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1644. LW.C1=cf(0, 0.5, 0)
  1645. LW.Part1=ch["Left Arm"]
  1646. LW.Parent=ch.Torso
  1647.  
  1648. local Stats=Instance.new("BoolValue")
  1649. Stats.Name="Stats"
  1650. Stats.Parent=Character
  1651. local Atk=Instance.new("NumberValue")
  1652. Atk.Name="Damage"
  1653. Atk.Parent=Stats
  1654. Atk.Value=1
  1655. local Def=Instance.new("NumberValue")
  1656. Def.Name="Defense"
  1657. Def.Parent=Stats
  1658. Def.Value=1
  1659. local Speed=Instance.new("NumberValue")
  1660. Speed.Name="Speed"
  1661. Speed.Parent=Stats
  1662. Speed.Value=1
  1663. local Mvmt=Instance.new("NumberValue")
  1664. Mvmt.Name="Movement"
  1665. Mvmt.Parent=Stats
  1666. Mvmt.Value=1
  1667.  
  1668. local donum=0
  1669.  
  1670.  
  1671. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1672. local fp=it("Part")
  1673. fp.formFactor=formfactor
  1674. fp.Parent=parent
  1675. fp.Reflectance=reflectance
  1676. fp.Transparency=transparency
  1677. fp.CanCollide=false
  1678. fp.Locked=true
  1679. fp.BrickColor=brickcolor
  1680. fp.Name=name
  1681. fp.Size=size
  1682. fp.Position=Torso.Position
  1683. NoOutline(fp)
  1684. fp.Material="SmoothPlastic"
  1685. fp:BreakJoints()
  1686. return fp
  1687. end
  1688.  
  1689. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1690. local mesh=it(Mesh)
  1691. mesh.Parent=part
  1692. if Mesh=="SpecialMesh" then
  1693. mesh.MeshType=meshtype
  1694. if meshid~="nil" then
  1695. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1696. end
  1697. end
  1698. mesh.Offset=offset
  1699. mesh.Scale=scale
  1700. return mesh
  1701. end
  1702.  
  1703. function weld(parent,part0,part1,c0)
  1704. local weld=it("Weld")
  1705. weld.Parent=parent
  1706. weld.Part0=part0
  1707. weld.Part1=part1
  1708. weld.C0=c0
  1709. return weld
  1710. end
  1711.  
  1712. local Color1=Torso.BrickColor
  1713.  
  1714. local bodvel=Instance.new("BodyVelocity")
  1715. local bg=Instance.new("BodyGyro")
  1716.  
  1717. --------- SazEreno's Artificial HB --------------
  1718. ArtificialHB = Instance.new("BindableEvent", script)
  1719. ArtificialHB.Name = "ArtificialHB"
  1720.  
  1721. script:WaitForChild("ArtificialHB")
  1722. Frame_Speed = 1 / 60
  1723. frame = Frame_Speed
  1724. tf = 0
  1725. allowframeloss = false
  1726. tossremainder = false
  1727. lastframe = tick()
  1728. script.ArtificialHB:Fire()
  1729.  
  1730. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1731. tf = tf + s
  1732. if tf >= frame then
  1733. if allowframeloss then
  1734. script.ArtificialHB:Fire()
  1735. lastframe = tick()
  1736. else
  1737. for i = 1, math.floor(tf / frame) do
  1738. script.ArtificialHB:Fire()
  1739. end
  1740. lastframe = tick()
  1741. end
  1742. if tossremainder then
  1743. tf = 0
  1744. else
  1745. tf = tf - frame * math.floor(tf / frame)
  1746. end
  1747. end
  1748. end)
  1749.  
  1750. ------------------
  1751. function swait(num)
  1752. if num == 0 or num == nil then
  1753. ArtificialHB.Event:wait()
  1754. else
  1755. for i = 1, num do
  1756. ArtificialHB.Event:wait()
  1757. end
  1758. end
  1759. end
  1760. -------- RAINBOW LEAVE IT TO ME
  1761. local r = 255
  1762. local g = 0
  1763. local b = 0
  1764. coroutine.resume(coroutine.create(function()
  1765. while wait() do
  1766. for i = 0, 254/5 do
  1767. swait()
  1768. g = g + 5
  1769. end
  1770. for i = 0, 254/5 do
  1771. swait()
  1772. r = r - 5
  1773. end
  1774. for i = 0, 254/5 do
  1775. swait()
  1776. b = b + 5
  1777. end
  1778. for i = 0, 254/5 do
  1779. swait()
  1780. g = g - 5
  1781. end
  1782. for i = 0, 254/5 do
  1783. swait()
  1784. r = r + 5
  1785. end
  1786. for i = 0, 254/5 do
  1787. swait()
  1788. b = b - 5
  1789. end
  1790. end
  1791. end))
  1792.  
  1793.  
  1794. so = function(id,par,vol,pit)
  1795. coroutine.resume(coroutine.create(function()
  1796. local sou = Instance.new("Sound",par or workspace)
  1797. sou.Volume=vol
  1798. sou.Pitch=pit or 1
  1799. sou.SoundId=id
  1800. swait()
  1801. sou:play()
  1802. game:GetService("Debris"):AddItem(sou,6)
  1803. end))
  1804. end
  1805.  
  1806. function clerp(a,b,t)
  1807. local qa = {QuaternionFromCFrame(a)}
  1808. local qb = {QuaternionFromCFrame(b)}
  1809. local ax, ay, az = a.x, a.y, a.z
  1810. local bx, by, bz = b.x, b.y, b.z
  1811. local _t = 1-t
  1812. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1813. end
  1814.  
  1815. function QuaternionFromCFrame(cf)
  1816. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1817. local trace = m00 + m11 + m22
  1818. if trace > 0 then
  1819. local s = math.sqrt(1 + trace)
  1820. local recip = 0.5/s
  1821. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1822. else
  1823. local i = 0
  1824. if m11 > m00 then
  1825. i = 1
  1826. end
  1827. if m22 > (i == 0 and m00 or m11) then
  1828. i = 2
  1829. end
  1830. if i == 0 then
  1831. local s = math.sqrt(m00-m11-m22+1)
  1832. local recip = 0.5/s
  1833. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1834. elseif i == 1 then
  1835. local s = math.sqrt(m11-m22-m00+1)
  1836. local recip = 0.5/s
  1837. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1838. elseif i == 2 then
  1839. local s = math.sqrt(m22-m00-m11+1)
  1840. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1841. end
  1842. end
  1843. end
  1844.  
  1845. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1846. local xs, ys, zs = x + x, y + y, z + z
  1847. local wx, wy, wz = w*xs, w*ys, w*zs
  1848. local xx = x*xs
  1849. local xy = x*ys
  1850. local xz = x*zs
  1851. local yy = y*ys
  1852. local yz = y*zs
  1853. local zz = z*zs
  1854. 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))
  1855. end
  1856.  
  1857. function QuaternionSlerp(a, b, t)
  1858. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1859. local startInterp, finishInterp;
  1860. if cosTheta >= 0.0001 then
  1861. if (1 - cosTheta) > 0.0001 then
  1862. local theta = math.acos(cosTheta)
  1863. local invSinTheta = 1/math.sin(theta)
  1864. startInterp = math.sin((1-t)*theta)*invSinTheta
  1865. finishInterp = math.sin(t*theta)*invSinTheta
  1866. else
  1867. startInterp = 1-t
  1868. finishInterp = t
  1869. end
  1870. else
  1871. if (1+cosTheta) > 0.0001 then
  1872. local theta = math.acos(-cosTheta)
  1873. local invSinTheta = 1/math.sin(theta)
  1874. startInterp = math.sin((t-1)*theta)*invSinTheta
  1875. finishInterp = math.sin(t*theta)*invSinTheta
  1876. else
  1877. startInterp = t-1
  1878. finishInterp = t
  1879. end
  1880. end
  1881. 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
  1882. end
  1883.  
  1884. local function CFrameFromTopBack(at, top, back)
  1885. local right = top:Cross(back)
  1886. return CFrame.new(at.x, at.y, at.z,
  1887. right.x, top.x, back.x,
  1888. right.y, top.y, back.y,
  1889. right.z, top.z, back.z)
  1890. end
  1891.  
  1892. function Triangle(a, b, c)
  1893. local edg1 = (c-a):Dot((b-a).unit)
  1894. local edg2 = (a-b):Dot((c-b).unit)
  1895. local edg3 = (b-c):Dot((a-c).unit)
  1896. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1897. a, b, c = a, b, c
  1898. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1899. a, b, c = b, c, a
  1900. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1901. a, b, c = c, a, b
  1902. else
  1903. assert(false, "unreachable")
  1904. end
  1905.  
  1906. local len1 = (c-a):Dot((b-a).unit)
  1907. local len2 = (b-a).magnitude - len1
  1908. local width = (a + (b-a).unit*len1 - c).magnitude
  1909.  
  1910. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1911.  
  1912. local list = {}
  1913.  
  1914. if len1 > 0.01 then
  1915. local w1 = Instance.new('WedgePart', m)
  1916. game:GetService("Debris"):AddItem(w1,5)
  1917. w1.Material = "SmoothPlastic"
  1918. w1.FormFactor = 'Custom'
  1919. w1.BrickColor = BrickColor.new("Really red")
  1920. w1.Transparency = 0
  1921. w1.Reflectance = 0
  1922. w1.Material = "SmoothPlastic"
  1923. w1.CanCollide = false
  1924. local l1 = Instance.new("PointLight",w1)
  1925. l1.Color = Color3.new(170,0,0)
  1926. NoOutline(w1)
  1927. local sz = Vector3.new(0.2, width, len1)
  1928. w1.Size = sz
  1929. local sp = Instance.new("SpecialMesh",w1)
  1930. sp.MeshType = "Wedge"
  1931. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1932. w1:BreakJoints()
  1933. w1.Anchored = true
  1934. w1.Parent = workspace
  1935. w1.Transparency = 0.7
  1936. table.insert(Effects,{w1,"Disappear",.01})
  1937. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1938. table.insert(list,w1)
  1939. end
  1940.  
  1941. if len2 > 0.01 then
  1942. local w2 = Instance.new('WedgePart', m)
  1943. game:GetService("Debris"):AddItem(w2,5)
  1944. w2.Material = "SmoothPlastic"
  1945. w2.FormFactor = 'Custom'
  1946. w2.BrickColor = BrickColor.new("Really red")
  1947. w2.Transparency = 0
  1948. w2.Reflectance = 0
  1949. w2.Material = "SmoothPlastic"
  1950. w2.CanCollide = false
  1951. local l2 = Instance.new("PointLight",w2)
  1952. l2.Color = Color3.new(170,0,0)
  1953. NoOutline(w2)
  1954. local sz = Vector3.new(0.2, width, len2)
  1955. w2.Size = sz
  1956. local sp = Instance.new("SpecialMesh",w2)
  1957. sp.MeshType = "Wedge"
  1958. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1959. w2:BreakJoints()
  1960. w2.Anchored = true
  1961. w2.Parent = workspace
  1962. w2.Transparency = 0.7
  1963. table.insert(Effects,{w2,"Disappear",.01})
  1964. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1965. table.insert(list,w2)
  1966. end
  1967. return unpack(list)
  1968. end
  1969.  
  1970.  
  1971. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1972. if hit.Parent == nil then
  1973. return
  1974. end
  1975. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1976. for _, v in pairs(hit.Parent:children()) do
  1977. if v:IsA("Humanoid") then
  1978. h = v
  1979. end
  1980. end
  1981. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1982. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1983. return
  1984. end
  1985. local c = Create("ObjectValue")({
  1986. Name = "creator",
  1987. Value = game:GetService("Players").zucchhhh,
  1988. Parent = h
  1989. })
  1990. game:GetService("Debris"):AddItem(c, 0.5)
  1991. if HitSound ~= nil and HitPitch ~= nil then
  1992. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1993. end
  1994. local Damage = math.random(minim, maxim)
  1995. local blocked = false
  1996. local block = hit.Parent:findFirstChild("Block")
  1997. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1998. blocked = true
  1999. block.Value = block.Value - 1
  2000. print(block.Value)
  2001. end
  2002. if blocked == false then
  2003. HitHealth = h.Health
  2004. h.MaxHealth = 100
  2005. h.Health = h.Health - Damage
  2006. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2007. print("gained kill")
  2008. dmg(h.Parent)
  2009. end
  2010. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2011. else
  2012. h.Health = h.Health - Damage / 2
  2013. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2014. end
  2015. if Type == "Knockdown" then
  2016. local hum = hit.Parent.Humanoid
  2017. hum.PlatformStand = true
  2018. coroutine.resume(coroutine.create(function(HHumanoid)
  2019. swait(1)
  2020. HHumanoid.PlatformStand = false
  2021. end), hum)
  2022. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2023. local bodvol = Create("BodyVelocity")({
  2024. velocity = angle * knockback,
  2025. P = 5000,
  2026. maxForce = Vector3.new(8000, 8000, 8000),
  2027. Parent = hit
  2028. })
  2029. local rl = Create("BodyAngularVelocity")({
  2030. P = 3000,
  2031. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2032. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2033. Parent = hit
  2034. })
  2035. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2036. game:GetService("Debris"):AddItem(rl, 0.5)
  2037. elseif Type == "Normal" then
  2038. local vp = Create("BodyVelocity")({
  2039. P = 500,
  2040. maxForce = Vector3.new(math.huge, 0, math.huge),
  2041. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2042. })
  2043. if knockback > 0 then
  2044. vp.Parent = hit.Parent.Head
  2045. end
  2046. game:GetService("Debris"):AddItem(vp, 0.5)
  2047. elseif Type == "Up" then
  2048. local bodyVelocity = Create("BodyVelocity")({
  2049. velocity = Vector3.new(0, 20, 0),
  2050. P = 5000,
  2051. maxForce = Vector3.new(8000, 8000, 8000),
  2052. Parent = hit
  2053. })
  2054. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2055. local bodyVelocity = Create("BodyVelocity")({
  2056. velocity = Vector3.new(0, 20, 0),
  2057. P = 5000,
  2058. maxForce = Vector3.new(8000, 8000, 8000),
  2059. Parent = hit
  2060. })
  2061. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2062. elseif Type == "Leech" then
  2063. local hum = hit.Parent.Humanoid
  2064. if hum ~= nil then
  2065. for i = 0, 2 do
  2066. 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)
  2067. end
  2068. Humanoid.Health = Humanoid.Health + 10
  2069. end
  2070. elseif Type == "UpKnock" then
  2071. local hum = hit.Parent.Humanoid
  2072. hum.PlatformStand = true
  2073. if hum ~= nil then
  2074. hitr = true
  2075. end
  2076. coroutine.resume(coroutine.create(function(HHumanoid)
  2077. swait(5)
  2078. HHumanoid.PlatformStand = false
  2079. hitr = false
  2080. end), hum)
  2081. local bodyVelocity = Create("BodyVelocity")({
  2082. velocity = Vector3.new(0, 20, 0),
  2083. P = 5000,
  2084. maxForce = Vector3.new(8000, 8000, 8000),
  2085. Parent = hit
  2086. })
  2087. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2088. local bodyVelocity = Create("BodyVelocity")({
  2089. velocity = Vector3.new(0, 20, 0),
  2090. P = 5000,
  2091. maxForce = Vector3.new(8000, 8000, 8000),
  2092. Parent = hit
  2093. })
  2094. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2095. elseif Type == "Snare" then
  2096. local bp = Create("BodyPosition")({
  2097. P = 2000,
  2098. D = 100,
  2099. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2100. position = hit.Parent.Torso.Position,
  2101. Parent = hit.Parent.Torso
  2102. })
  2103. game:GetService("Debris"):AddItem(bp, 1)
  2104. elseif Type == "Slashnare" then
  2105. 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)
  2106. for i = 1, math.random(4, 5) do
  2107. 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)
  2108. end
  2109. local bp = Create("BodyPosition")({
  2110. P = 2000,
  2111. D = 100,
  2112. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2113. position = hit.Parent.Torso.Position,
  2114. Parent = hit.Parent.Torso
  2115. })
  2116. game:GetService("Debris"):AddItem(bp, 1)
  2117. elseif Type == "Spike" then
  2118. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2119. local bp = Create("BodyPosition")({
  2120. P = 2000,
  2121. D = 100,
  2122. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2123. position = hit.Parent.Torso.Position,
  2124. Parent = hit.Parent.Torso
  2125. })
  2126. game:GetService("Debris"):AddItem(bp, 1)
  2127. elseif Type == "Freeze" then
  2128. local BodPos = Create("BodyPosition")({
  2129. P = 50000,
  2130. D = 1000,
  2131. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2132. position = hit.Parent.Torso.Position,
  2133. Parent = hit.Parent.Torso
  2134. })
  2135. local BodGy = Create("BodyGyro")({
  2136. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2137. P = 20000,
  2138. Parent = hit.Parent.Torso,
  2139. cframe = hit.Parent.Torso.CFrame
  2140. })
  2141. hit.Parent.Torso.Anchored = true
  2142. coroutine.resume(coroutine.create(function(Part)
  2143. swait(1.5)
  2144. Part.Anchored = false
  2145. end), hit.Parent.Torso)
  2146. game:GetService("Debris"):AddItem(BodPos, 3)
  2147. game:GetService("Debris"):AddItem(BodGy, 3)
  2148. end
  2149. local debounce = Create("BoolValue")({
  2150. Name = "DebounceHit",
  2151. Parent = hit.Parent,
  2152. Value = true
  2153. })
  2154. game:GetService("Debris"):AddItem(debounce, Delay)
  2155. c = Instance.new("ObjectValue")
  2156. c.Name = "creator"
  2157. c.Value = Player
  2158. c.Parent = h
  2159. game:GetService("Debris"):AddItem(c, 0.5)
  2160. end
  2161. end
  2162. function ShowDamage(Pos, Text, Time, Color)
  2163. local Rate = 0.03333333333333333
  2164. local Pos = Pos or Vector3.new(0, 0, 0)
  2165. local Text = Text or ""
  2166. local Time = Time or 2
  2167. local Color = Color or Color3.new(1, 0, 1)
  2168. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2169. EffectPart.Anchored = true
  2170. local BillboardGui = Create("BillboardGui")({
  2171. Size = UDim2.new(3, 0, 3, 0),
  2172. Adornee = EffectPart,
  2173. Parent = EffectPart
  2174. })
  2175. local TextLabel = Create("TextLabel")({
  2176. BackgroundTransparency = 1,
  2177. Size = UDim2.new(1, 0, 1, 0),
  2178. Text = Text,
  2179. TextColor3 = Color,
  2180. TextScaled = true,
  2181. Font = Enum.Font.ArialBold,
  2182. Parent = BillboardGui
  2183. })
  2184. game.Debris:AddItem(EffectPart, Time + 0.1)
  2185. EffectPart.Parent = game:GetService("Workspace")
  2186. delay(0, function()
  2187. local Frames = Time / Rate
  2188. for Frame = 1, Frames do
  2189. wait(Rate)
  2190. local Percent = Frame / Frames
  2191. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2192. TextLabel.TextTransparency = Percent
  2193. end
  2194. if EffectPart and EffectPart.Parent then
  2195. EffectPart:Destroy()
  2196. end
  2197. end)
  2198. end
  2199. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2200. for _, c in pairs(workspace:children()) do
  2201. local hum = c:findFirstChildOfClass("Humanoid")
  2202. if hum ~= nil then
  2203. local head = c:findFirstChild("Head")
  2204. if head ~= nil then
  2205. local targ = head.Position - Part.Position
  2206. local mag = targ.magnitude
  2207. if magni >= mag and c.Name ~= Player.Name then
  2208. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2209. end
  2210. end
  2211. end
  2212. end
  2213. end
  2214.  
  2215. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2216. for _, c in pairs(workspace:children()) do
  2217. local hum = c:findFirstChild("Humanoid")
  2218. if hum ~= nil then
  2219. local head = c:findFirstChild("Torso")
  2220. if head ~= nil then
  2221. local targ = head.Position - Part.Position
  2222. local mag = targ.magnitude
  2223. if magni >= mag and c.Name ~= Player.Name then
  2224. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2225. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2226. end
  2227. end
  2228. end
  2229. end
  2230. end
  2231.  
  2232. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2233. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2234. end
  2235.  
  2236. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2237. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2238. prt.Anchored=true
  2239. prt.CFrame=cframe
  2240. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2241. --http://www.roblox.com/asset/?id=4770560
  2242. game:GetService("Debris"):AddItem(prt,2)
  2243. CF=prt.CFrame
  2244. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2245. for i=0,1,0.2 do
  2246. wait()
  2247. Part.CFrame=CF*cf(0,0,-0.4)
  2248. end
  2249. for i=0,1,delay do
  2250. wait()
  2251. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2252. Mesh.Scale=Mesh.Scale
  2253. end
  2254. for i=0,1,0.1 do
  2255. wait()
  2256. Part.Transparency=i
  2257. end
  2258. Part.Parent=nil
  2259. end),prt,msh,CF)
  2260. end
  2261.  
  2262. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2263. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2264. prt.Anchored=true
  2265. prt.Material = "Neon"
  2266. prt.CFrame=cframe
  2267. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2268. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2269. game:GetService("Debris"):AddItem(prt,5)
  2270. coroutine.resume(coroutine.create(function(Part,Mesh)
  2271. for i=0,1,delay do
  2272. swait()
  2273. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2274. Part.Transparency=i
  2275. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2276. end
  2277. Part.Parent=nil
  2278. end),prt,msh)
  2279. end
  2280.  
  2281. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2282. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2283. prt.Anchored=true
  2284. prt.Material = "Neon"
  2285. prt.CFrame=cframe
  2286. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2287. game:GetService("Debris"):AddItem(prt,5)
  2288. coroutine.resume(coroutine.create(function(Part,Mesh)
  2289. local rtype = rottype
  2290. for i=0,1,delay do
  2291. swait()
  2292. if rtype == 1 then
  2293. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2294. elseif rtype == 2 then
  2295. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2296. end
  2297. Part.Transparency=i
  2298. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2299. end
  2300. Part.Parent=nil
  2301. end),prt,msh)
  2302. end
  2303.  
  2304. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2305. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2306. prt.Anchored=true
  2307. prt.CFrame=cframe
  2308. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2309. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2310. game:GetService("Debris"):AddItem(prt,5)
  2311. coroutine.resume(coroutine.create(function(Part,Mesh)
  2312. for i=0,1,delay do
  2313. wait()
  2314. Part.Transparency=i
  2315. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2316. end
  2317. Part.Parent=nil
  2318. end),prt,msh)
  2319. end
  2320.  
  2321. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2322. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2323. prt.Anchored=true
  2324. prt.Material = "Neon"
  2325. prt.CFrame=cframe
  2326. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2327. game:GetService("Debris"):AddItem(prt,5)
  2328. coroutine.resume(coroutine.create(function(Part,Mesh)
  2329. local rtype = rottype
  2330. for i=0,1,delay do
  2331. swait()
  2332. if rtype == 1 then
  2333. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2334. elseif rtype == 2 then
  2335. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2336. end
  2337. Part.Transparency=i
  2338. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2339. end
  2340. Part.Parent=nil
  2341. end),prt,msh)
  2342. end
  2343.  
  2344. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2345. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2346. prt.Anchored=true
  2347. prt.Material = "Neon"
  2348. prt.CFrame=cframe
  2349. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2350. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2351. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2352. game:GetService("Debris"):AddItem(prt,5)
  2353. coroutine.resume(coroutine.create(function(Part,Mesh)
  2354. local rtype = rottype
  2355. for i=0,1,delay do
  2356. swait()
  2357. if rtype == 1 then
  2358. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2359. elseif rtype == 2 then
  2360. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2361. end
  2362. dec.Transparency=i
  2363. dec2.Transparency=i
  2364. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2365. end
  2366. Part.Parent=nil
  2367. end),prt,msh)
  2368. end
  2369.  
  2370. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2371. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2372. prt.Anchored=true
  2373. prt.Material = "Neon"
  2374. prt.CFrame=cframe
  2375. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2376. game:GetService("Debris"):AddItem(prt,5)
  2377. coroutine.resume(coroutine.create(function(Part,Mesh)
  2378. local rtype = rottype
  2379. for i=0,1,delay do
  2380. swait()
  2381. if rtype == 1 then
  2382. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2383. elseif rtype == 2 then
  2384. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2385. end
  2386. prt.Transparency=i
  2387. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2388. end
  2389. Part.Parent=nil
  2390. end),prt,msh)
  2391. end
  2392.  
  2393. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2394. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2395. prt.Anchored=true
  2396. prt.Material = "Neon"
  2397. prt.CFrame=cframe
  2398. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2399. game:GetService("Debris"):AddItem(prt,5)
  2400. coroutine.resume(coroutine.create(function(Part,Mesh)
  2401. local rtype = rottype
  2402. for i=0,1,delay do
  2403. swait()
  2404. if rtype == 1 then
  2405. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2406. elseif rtype == 2 then
  2407. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2408. end
  2409. prt.Transparency=i
  2410. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2411. end
  2412. Part.Parent=nil
  2413. end),prt,msh)
  2414. end
  2415.  
  2416. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2417. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2418. prt.Anchored=true
  2419. prt.Material = "Neon"
  2420. prt.CFrame=cframe
  2421. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2422. game:GetService("Debris"):AddItem(prt,5)
  2423. coroutine.resume(coroutine.create(function(Part,Mesh)
  2424. local rtype = rottype
  2425. for i=0,1,delay do
  2426. swait()
  2427. if rtype == 1 then
  2428. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2429. elseif rtype == 2 then
  2430. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2431. end
  2432. prt.Transparency=i
  2433. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2434. end
  2435. Part.Parent=nil
  2436. end),prt,msh)
  2437. end
  2438.  
  2439. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2440. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2441. prt.Anchored=true
  2442. prt.Material = "Neon"
  2443. prt.CFrame=cframe
  2444. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2445. game:GetService("Debris"):AddItem(prt,5)
  2446. coroutine.resume(coroutine.create(function(Part,Mesh)
  2447. local rtype = rottype
  2448. for i=0,1,delay do
  2449. swait()
  2450. if rtype == 1 then
  2451. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2452. elseif rtype == 2 then
  2453. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2454. end
  2455. prt.Transparency=i
  2456. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2457. end
  2458. Part.Parent=nil
  2459. end),prt,msh)
  2460. end
  2461.  
  2462. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2463. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2464. prt.Anchored=false
  2465. prt.CFrame=cframe
  2466. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2467. local wld=weld(prt,prt,Parent,cframe)
  2468. game:GetService("Debris"):AddItem(prt,5)
  2469. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2470. for i=0,1,delay do
  2471. wait()
  2472. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2473. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2474. Part.Transparency=i
  2475. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2476. end
  2477. Part.Parent=nil
  2478. end),prt,msh,wld)
  2479. end
  2480.  
  2481. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2482. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2483. prt.Anchored=false
  2484. prt.CFrame=cframe
  2485. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2486. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2487. game:GetService("Debris"):AddItem(prt,5)
  2488. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2489. for i=0,1,delay do
  2490. wait()
  2491. Weld.C0=euler(i*20,0,0)
  2492. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2493. Part.Transparency=i
  2494. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2495. end
  2496. Part.Parent=nil
  2497. end),prt,msh,wld)
  2498. end
  2499.  
  2500. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2501. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2502. prt.Anchored=true
  2503. prt.CFrame=cframe
  2504. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2505. game:GetService("Debris"):AddItem(prt,2)
  2506. coroutine.resume(coroutine.create(function(Part,Mesh)
  2507. for i=0,1,delay do
  2508. wait()
  2509. Part.CFrame=Part.CFrame
  2510. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2511. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2512. prt2.Anchored=true
  2513. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2514. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2515. game:GetService("Debris"):AddItem(prt2,2)
  2516. coroutine.resume(coroutine.create(function(Part,Mesh)
  2517. for i=0,1,0.1 do
  2518. wait()
  2519. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2520. end
  2521. Part.Parent=nil
  2522. end),prt2,msh2)
  2523. end
  2524. for i=0,1,delay*2 do
  2525. wait()
  2526. Part.CFrame=Part.CFrame
  2527. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2528. end
  2529. Part.Parent=nil
  2530. end),prt,msh)
  2531. end
  2532.  
  2533. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2534. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2535. prt.Anchored=true
  2536. prt.CFrame=cframe
  2537. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2538. game:GetService("Debris"):AddItem(prt,2)
  2539. coroutine.resume(coroutine.create(function(Part,Mesh)
  2540. for i=0,1,delay do
  2541. wait()
  2542. Part.CFrame=Part.CFrame
  2543. Part.Transparency=i
  2544. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2545. end
  2546. Part.Parent=nil
  2547. end),prt,msh)
  2548. end
  2549.  
  2550. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2551. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2552. prt.Anchored=true
  2553. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2554. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2555. game:GetService("Debris"):AddItem(prt,2)
  2556. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2557. CF=Part.CFrame
  2558. Numbb=0
  2559. randnumb=math.random()/10
  2560. rand1=math.random()/10
  2561. for i=0,1,rand1 do
  2562. wait()
  2563. CF=CF*cf(0,math.random()/2,0)
  2564. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2565. Part.CFrame=CF*euler(Numbb,0,0)
  2566. Part.Transparency=i
  2567. Numbb=Numbb+randnumb
  2568. end
  2569. Part.Parent=nil
  2570. end),prt,CF,Numbb,randnumb)
  2571. end
  2572.  
  2573. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2574. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2575. prt.Anchored=true
  2576. prt.CFrame=cframe
  2577. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2578. game:GetService("Debris"):AddItem(prt,5)
  2579. coroutine.resume(coroutine.create(function(Part,Mesh)
  2580. for i=0,1,delay do
  2581. wait()
  2582. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2583. Part.Transparency=i
  2584. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2585. end
  2586. Part.Parent=nil
  2587. end),prt,msh)
  2588. end
  2589.  
  2590. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2591. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2592. prt.Anchored=true
  2593. prt.CFrame=cframe
  2594. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2595. game:GetService("Debris"):AddItem(prt,2)
  2596. coroutine.resume(coroutine.create(function(Part,Mesh)
  2597. for i=0,1,delay do
  2598. wait()
  2599. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2600. Part.Transparency=i
  2601. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2602. end
  2603. Part.Parent=nil
  2604. end),prt,msh)
  2605. end
  2606.  
  2607. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2608. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2609. prt.Anchored=true
  2610. prt.CFrame=cframe*cf(x,y,z)
  2611. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2612. game:GetService("Debris"):AddItem(prt,5)
  2613. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2614. local num=math.random()
  2615. local num2=math.random(-3,2)+math.random()
  2616. local numm=0
  2617. for i=0,1,delay*2 do
  2618. swait()
  2619. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2620. Part.Transparency=i
  2621. numm=numm+0.01
  2622. end
  2623. Part.Parent=nil
  2624. Mesh.Parent=nil
  2625. end),prt,msh,x,y,z)
  2626. end
  2627.  
  2628. function dmgstart(dmg,what)
  2629. hitcon = what.Touched:connect(function(hit)
  2630. local hum = hit.Parent:FindFirstChild("Humanoid")
  2631. if hum and not hum:IsDescendantOf(Character) then
  2632. hum:TakeDamage(dmg)
  2633. end
  2634. end)
  2635. end
  2636.  
  2637. function dmgstop()
  2638. hitcon:disconnect()
  2639. end
  2640.  
  2641. function Cloak()
  2642. Face.Parent=nil
  2643. cloaked=true
  2644. for _,v in pairs(Torso.Parent:children()) do
  2645. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2646. coroutine.resume(coroutine.create(function()
  2647. for i=0,1,0.2 do
  2648. wait()
  2649. v.Transparency=i
  2650. end
  2651. v.Transparency=1
  2652. end))
  2653. end
  2654. if v.className=="Hat" then
  2655. hatp=v.Handle
  2656. coroutine.resume(coroutine.create(function(derp)
  2657. for i=0,1,0.2 do
  2658. wait()
  2659. derp.Transparency=i
  2660. end
  2661. derp.Transparency=1
  2662. end),hatp)
  2663. end
  2664. end
  2665. for _,v in pairs(m:children()) do
  2666. if v.className=="Part" then
  2667. coroutine.resume(coroutine.create(function()
  2668. for i=0,1,0.2 do
  2669. wait()
  2670. v.Transparency=i
  2671. end
  2672. v.Transparency=1
  2673. end))
  2674. end
  2675. end
  2676. end
  2677.  
  2678. function UnCloak()
  2679. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2680. Face.Parent=Head
  2681. cloaked=false
  2682. for _,v in pairs(Torso.Parent:children()) do
  2683. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2684. coroutine.resume(coroutine.create(function()
  2685. for i=0,1,0.1 do
  2686. wait()
  2687. v.Transparency=v.Transparency-0.1
  2688. end
  2689. v.Transparency=0
  2690. end))
  2691. end
  2692. if v.className=="Hat" then
  2693. hatp=v.Handle
  2694. coroutine.resume(coroutine.create(function(derp)
  2695. for i=0,1,0.1 do
  2696. wait()
  2697. derp.Transparency=derp.Transparency-0.1
  2698. end
  2699. derp.Transparency=0
  2700. end),hatp)
  2701. end
  2702. end
  2703. for _,v in pairs(m:children()) do
  2704. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2705. coroutine.resume(coroutine.create(function()
  2706. for i=0,1,0.1 do
  2707. wait()
  2708. v.Transparency=v.Transparency-0.1
  2709. end
  2710. v.Transparency=0
  2711. end))
  2712. v.Transparency=0
  2713. end
  2714. end
  2715. end
  2716.  
  2717. local origcolor = BrickColor.new("Pastel light blue")
  2718. ---- This section of explosions.
  2719.  
  2720. ----
  2721.  
  2722.  
  2723. function ring(type,pos,scale,value)
  2724. local type = type
  2725. local rng = Instance.new("Part", char)
  2726. rng.Anchored = true
  2727. rng.BrickColor = origcolor
  2728. rng.CanCollide = false
  2729. rng.FormFactor = 3
  2730. rng.Name = "Ring"
  2731. rng.Size = Vector3.new(1, 1, 1)
  2732. rng.Transparency = 0
  2733. rng.TopSurface = 0
  2734. rng.BottomSurface = 0
  2735. rng.CFrame = pos
  2736. local rngm = Instance.new("SpecialMesh", rng)
  2737. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2738. rngm.Scale = scale
  2739. local scaler2 = 1
  2740. if type == "Add" then
  2741. scaler2 = 1*value
  2742. elseif type == "Divide" then
  2743. scaler2 = 1/value
  2744. end
  2745. coroutine.resume(coroutine.create(function()
  2746. for i = 0,10,0.1 do
  2747. swait()
  2748. if type == "Add" then
  2749. scaler2 = scaler2 - 0.01*value
  2750. elseif type == "Divide" then
  2751. scaler2 = scaler2 - 0.01/value
  2752. end
  2753. rng.Transparency = rng.Transparency + 0.01
  2754. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2755. end
  2756. rng:Destroy()
  2757. end))
  2758. end
  2759.  
  2760.  
  2761. function wave(type,pos,scale,value)
  2762. local type = type
  2763. local rng = Instance.new("Part", char)
  2764. rng.Anchored = true
  2765. rng.BrickColor = origcolor
  2766. rng.CanCollide = false
  2767. rng.FormFactor = 3
  2768. rng.Name = "Ring"
  2769. rng.Size = Vector3.new(1, 1, 1)
  2770. rng.Transparency = 0
  2771. rng.TopSurface = 0
  2772. rng.BottomSurface = 0
  2773. rng.CFrame = pos
  2774. local rngm = Instance.new("SpecialMesh", rng)
  2775. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2776. rngm.Scale = scale
  2777. local scaler2 = 1
  2778. if type == "Add" then
  2779. scaler2 = 1*value
  2780. elseif type == "Divide" then
  2781. scaler2 = 1/value
  2782. end
  2783. coroutine.resume(coroutine.create(function()
  2784. for i = 0,10,0.1 do
  2785. swait()
  2786. if type == "Add" then
  2787. scaler2 = scaler2 - 0.01*value
  2788. elseif type == "Divide" then
  2789. scaler2 = scaler2 - 0.01/value
  2790. end
  2791. rng.Transparency = rng.Transparency + 0.01
  2792. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2793. end
  2794. rng:Destroy()
  2795. end))
  2796. end
  2797.  
  2798. function wind(type,pos,scale,value,speed)
  2799. local type = type
  2800. local rng = Instance.new("Part", char)
  2801. rng.Anchored = true
  2802. rng.BrickColor = origcolor
  2803. rng.CanCollide = false
  2804. rng.FormFactor = 3
  2805. rng.Name = "Ring"
  2806. rng.Size = Vector3.new(1, 1, 1)
  2807. rng.Transparency = 0
  2808. rng.TopSurface = 0
  2809. rng.BottomSurface = 0
  2810. rng.CFrame = pos
  2811. local rngm = Instance.new("SpecialMesh", rng)
  2812. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2813. rngm.Scale = scale
  2814. local scaler2 = 1
  2815. if type == "Add" then
  2816. scaler2 = 1*value
  2817. elseif type == "Divide" then
  2818. scaler2 = 1/value
  2819. end
  2820. coroutine.resume(coroutine.create(function()
  2821. for i = 0,10,0.1 do
  2822. swait()
  2823. if type == "Add" then
  2824. scaler2 = scaler2 - 0.01*value
  2825. elseif type == "Divide" then
  2826. scaler2 = scaler2 - 0.01/value
  2827. end
  2828. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2829. rng.Transparency = rng.Transparency + 0.01
  2830. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2831. end
  2832. rng:Destroy()
  2833. end))
  2834. end
  2835.  
  2836. function groundwind(type,pos,scale,value,speed)
  2837. local type = type
  2838. local rng = Instance.new("Part", char)
  2839. rng.Anchored = true
  2840. rng.BrickColor = origcolor
  2841. rng.CanCollide = false
  2842. rng.FormFactor = 3
  2843. rng.Name = "Ring"
  2844. rng.Size = Vector3.new(1, 1, 1)
  2845. rng.Transparency = 0
  2846. rng.TopSurface = 0
  2847. rng.BottomSurface = 0
  2848. rng.CFrame = pos
  2849. local rngm = Instance.new("SpecialMesh", rng)
  2850. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2851. rngm.Scale = scale
  2852. local scaler2 = 1
  2853. if type == "Add" then
  2854. scaler2 = 1*value
  2855. elseif type == "Divide" then
  2856. scaler2 = 1/value
  2857. end
  2858. coroutine.resume(coroutine.create(function()
  2859. for i = 0,10,0.1 do
  2860. swait()
  2861. if type == "Add" then
  2862. scaler2 = scaler2 - 0.01*value
  2863. elseif type == "Divide" then
  2864. scaler2 = scaler2 - 0.01/value
  2865. end
  2866. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2867. rng.Transparency = rng.Transparency + 0.01
  2868. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2869. end
  2870. rng:Destroy()
  2871. end))
  2872. end
  2873.  
  2874. function CameraManager()
  2875. if TwoD and not CamInterrupt then
  2876. if Humanoid.Health > 0 then
  2877. Camera.CameraSubject = Humanoid
  2878. Camera.CameraType = "Scriptable"
  2879. Humanoid.AutoRotate = false
  2880. if Booleans.GyroUse then
  2881. Directer.MaxTorque = Vec3(0, huge, 0)
  2882. else
  2883. Directer.MaxTorque = Vec3(0, 0, 0)
  2884. end
  2885. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2886. if Booleans.CamFollow then
  2887. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2888. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2889. else
  2890. CPart.Position = RootPart.Position
  2891. end
  2892. else
  2893. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2894. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2895. end
  2896. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2897. else
  2898. Camera.CameraSubject = Humanoid
  2899. Camera.CameraType = "Custom"
  2900. Controller.Disabled = false
  2901. end
  2902. end
  2903. end
  2904.  
  2905. function ring(type,pos,scale,value)
  2906. local type = type
  2907. local rng = Instance.new("Part", char)
  2908. rng.Anchored = true
  2909. rng.BrickColor = origcolor
  2910. rng.CanCollide = false
  2911. rng.FormFactor = 3
  2912. rng.Name = "Ring"
  2913. rng.Size = Vector3.new(1, 1, 1)
  2914. rng.Transparency = 0
  2915. rng.TopSurface = 0
  2916. rng.BottomSurface = 0
  2917. rng.CFrame = pos
  2918. local rngm = Instance.new("SpecialMesh", rng)
  2919. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2920. rngm.Scale = scale
  2921. local scaler2 = 1
  2922. if type == "Add" then
  2923. scaler2 = 1*value
  2924. elseif type == "Divide" then
  2925. scaler2 = 1/value
  2926. end
  2927. coroutine.resume(coroutine.create(function()
  2928. for i = 0,10,0.1 do
  2929. swait()
  2930. if type == "Add" then
  2931. scaler2 = scaler2 - 0.01*value
  2932. elseif type == "Divide" then
  2933. scaler2 = scaler2 - 0.01/value
  2934. end
  2935. rng.Transparency = rng.Transparency + 0.01
  2936. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2937. end
  2938. rng:Destroy()
  2939. end))
  2940. end
  2941.  
  2942.  
  2943. function wave(type,pos,scale,value)
  2944. local type = type
  2945. local rng = Instance.new("Part", char)
  2946. rng.Anchored = true
  2947. rng.BrickColor = origcolor
  2948. rng.CanCollide = false
  2949. rng.FormFactor = 3
  2950. rng.Name = "Ring"
  2951. rng.Size = Vector3.new(1, 1, 1)
  2952. rng.Transparency = 0
  2953. rng.TopSurface = 0
  2954. rng.BottomSurface = 0
  2955. rng.CFrame = pos
  2956. local rngm = Instance.new("SpecialMesh", rng)
  2957. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2958. rngm.Scale = scale
  2959. local scaler2 = 1
  2960. if type == "Add" then
  2961. scaler2 = 1*value
  2962. elseif type == "Divide" then
  2963. scaler2 = 1/value
  2964. end
  2965. coroutine.resume(coroutine.create(function()
  2966. for i = 0,10,0.1 do
  2967. swait()
  2968. if type == "Add" then
  2969. scaler2 = scaler2 - 0.01*value
  2970. elseif type == "Divide" then
  2971. scaler2 = scaler2 - 0.01/value
  2972. end
  2973. rng.Transparency = rng.Transparency + 0.01
  2974. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2975. end
  2976. rng:Destroy()
  2977. end))
  2978. end
  2979.  
  2980. function sphere(bonuspeed,type,pos,scale,value,color)
  2981. local type = type
  2982. local rng = Instance.new("Part", char)
  2983. rng.Anchored = true
  2984. if ModeOfGlitch ~= 9 then
  2985. rng.BrickColor = color
  2986. elseif ModeOfGlitch == 9 then
  2987. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2988. end
  2989. rng.CanCollide = false
  2990. rng.FormFactor = 3
  2991. rng.Name = "Ring"
  2992. rng.Material = "Neon"
  2993. rng.Size = Vector3.new(1, 1, 1)
  2994. rng.Transparency = 0
  2995. rng.TopSurface = 0
  2996. rng.BottomSurface = 0
  2997. rng.CFrame = pos
  2998. local rngm = Instance.new("SpecialMesh", rng)
  2999. rngm.MeshType = "Sphere"
  3000. rngm.Scale = scale
  3001. if rainbowmode == true then
  3002. rng.Color = Color3.new(r/255,g/255,b/255)
  3003. end
  3004. if ModeOfGlitch == 9 then
  3005. coroutine.resume(coroutine.create(function()
  3006. while true do
  3007. swait()
  3008. if rng.Parent ~= nil then
  3009. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3010. else
  3011. break
  3012. end
  3013. end
  3014. end))
  3015. end
  3016. local scaler2 = 1
  3017. if type == "Add" then
  3018. scaler2 = 1*value
  3019. elseif type == "Divide" then
  3020. scaler2 = 1/value
  3021. end
  3022. coroutine.resume(coroutine.create(function()
  3023. for i = 0,10/bonuspeed,0.1 do
  3024. swait()
  3025. if rainbowmode == true then
  3026. rng.Color = Color3.new(r/255,g/255,b/255)
  3027. end
  3028. if type == "Add" then
  3029. scaler2 = scaler2 - 0.01*value/bonuspeed
  3030. elseif type == "Divide" then
  3031. scaler2 = scaler2 - 0.01/value*bonuspeed
  3032. end
  3033. if chaosmode == true then
  3034. rng.BrickColor = BrickColor.random()
  3035. end
  3036. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3037. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3038. end
  3039. rng:Destroy()
  3040. end))
  3041. end
  3042.  
  3043. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3044. local type = type
  3045. local rng = Instance.new("Part", char)
  3046. rng.Anchored = true
  3047. if ModeOfGlitch ~= 9 then
  3048. rng.BrickColor = color
  3049. elseif ModeOfGlitch == 9 then
  3050. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3051. end
  3052. rng.CanCollide = false
  3053. rng.FormFactor = 3
  3054. rng.Name = "Ring"
  3055. rng.Material = "Neon"
  3056. rng.Size = Vector3.new(1, 1, 1)
  3057. rng.Transparency = 0
  3058. rng.TopSurface = 0
  3059. rng.BottomSurface = 0
  3060. rng.CFrame = pos
  3061. local rngm = Instance.new("SpecialMesh", rng)
  3062. rngm.MeshType = "Sphere"
  3063. rngm.Scale = scale
  3064. local scaler2 = 1
  3065. local scaler2b = 1
  3066. local scaler2c = 1
  3067. if type == "Add" then
  3068. scaler2 = 1*value
  3069. scaler2b = 1*value2
  3070. scaler2c = 1*value3
  3071. elseif type == "Divide" then
  3072. scaler2 = 1/value
  3073. scaler2b = 1/value2
  3074. scaler2c = 1/value3
  3075. end
  3076. if ModeOfGlitch == 9 then
  3077. coroutine.resume(coroutine.create(function()
  3078. while true do
  3079. swait()
  3080. if rng.Parent ~= nil then
  3081. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3082. else
  3083. break
  3084. end
  3085. end
  3086. end))
  3087. end
  3088. coroutine.resume(coroutine.create(function()
  3089. for i = 0,10/bonuspeed,0.1 do
  3090. swait()
  3091. if type == "Add" then
  3092. scaler2 = scaler2 - 0.01*value/bonuspeed
  3093. scaler2b = scaler2b - 0.01*value/bonuspeed
  3094. scaler2c = scaler2c - 0.01*value/bonuspeed
  3095. elseif type == "Divide" then
  3096. scaler2 = scaler2 - 0.01/value*bonuspeed
  3097. scaler2b = scaler2b - 0.01/value*bonuspeed
  3098. scaler2c = scaler2c - 0.01/value*bonuspeed
  3099. end
  3100. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3101. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3102. end
  3103. rng:Destroy()
  3104. end))
  3105. end
  3106.  
  3107. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3108. local type = type
  3109. local rotenable = rotatingop
  3110. local rng = Instance.new("Part", char)
  3111. rng.Anchored = true
  3112. rng.BrickColor = color
  3113. rng.CanCollide = false
  3114. rng.FormFactor = 3
  3115. rng.Name = "Ring"
  3116. rng.Material = "Neon"
  3117. rng.Size = Vector3.new(1, 1, 1)
  3118. rng.Transparency = 0
  3119. if typeoftrans == "In" then
  3120. rng.Transparency = 1
  3121. end
  3122. rng.TopSurface = 0
  3123. rng.BottomSurface = 0
  3124. rng.CFrame = pos
  3125. local rngm = Instance.new("SpecialMesh", rng)
  3126. rngm.MeshType = "FileMesh"
  3127. if typeofshape == "Normal" then
  3128. rngm.MeshId = "rbxassetid://662586858"
  3129. elseif typeofshape == "Round" then
  3130. rngm.MeshId = "rbxassetid://662585058"
  3131. end
  3132. rngm.Scale = scale
  3133. local scaler2 = 1/10
  3134. if type == "Add" then
  3135. scaler2 = 1*value/10
  3136. elseif type == "Divide" then
  3137. scaler2 = 1/value/10
  3138. end
  3139. local randomrot = math.random(1,2)
  3140. coroutine.resume(coroutine.create(function()
  3141. for i = 0,10/bonuspeed,0.1 do
  3142. swait()
  3143. if type == "Add" then
  3144. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3145. elseif type == "Divide" then
  3146. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3147. end
  3148. if rotenable == true then
  3149. if randomrot == 1 then
  3150. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3151. elseif randomrot == 2 then
  3152. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3153. end
  3154. end
  3155. if typeoftrans == "Out" then
  3156. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3157. elseif typeoftrans == "In" then
  3158. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3159. end
  3160. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3161. end
  3162. rng:Destroy()
  3163. end))
  3164. end
  3165.  
  3166. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3167. local type = type
  3168. local rng = Instance.new("Part", char)
  3169. rng.Anchored = true
  3170. rng.BrickColor = color
  3171. rng.CanCollide = false
  3172. rng.FormFactor = 3
  3173. rng.Name = "Ring"
  3174. rng.Material = "Neon"
  3175. rng.Size = Vector3.new(1, 1, 1)
  3176. rng.Transparency = 0
  3177. rng.TopSurface = 0
  3178. rng.BottomSurface = 0
  3179. rng.CFrame = pos
  3180. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3181. local rngm = Instance.new("SpecialMesh", rng)
  3182. rngm.MeshType = "Brick"
  3183. rngm.Scale = vt(x1,y1,z1)
  3184. if rainbowmode == true then
  3185. rng.Color = Color3.new(r/255,g/255,b/255)
  3186. end
  3187. local scaler2 = 1
  3188. local speeder = FastSpeed/10
  3189. if type == "Add" then
  3190. scaler2 = 1*value
  3191. elseif type == "Divide" then
  3192. scaler2 = 1/value
  3193. end
  3194. coroutine.resume(coroutine.create(function()
  3195. for i = 0,10/bonuspeed,0.1 do
  3196. swait()
  3197. if rainbowmode == true then
  3198. rng.Color = Color3.new(r/255,g/255,b/255)
  3199. end
  3200. if type == "Add" then
  3201. scaler2 = scaler2 - 0.01*value/bonuspeed
  3202. elseif type == "Divide" then
  3203. scaler2 = scaler2 - 0.01/value*bonuspeed
  3204. end
  3205. if chaosmode == true then
  3206. rng.BrickColor = BrickColor.random()
  3207. end
  3208. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3209. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3210. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3211. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3212. end
  3213. rng:Destroy()
  3214. end))
  3215. end
  3216.  
  3217. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3218. local type = type
  3219. local rng = Instance.new("Part", char)
  3220. rng.Anchored = true
  3221. rng.BrickColor = color
  3222. rng.CanCollide = false
  3223. rng.FormFactor = 3
  3224. rng.Name = "Ring"
  3225. rng.Material = "Neon"
  3226. rng.Size = Vector3.new(1, 1, 1)
  3227. rng.Transparency = 0
  3228. rng.TopSurface = 0
  3229. rng.BottomSurface = 0
  3230. rng.CFrame = pos
  3231. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3232. local rngm = Instance.new("SpecialMesh", rng)
  3233. rngm.MeshType = "Brick"
  3234. rngm.Scale = vt(x1,y1,z1)
  3235. if rainbowmode == true then
  3236. rng.Color = Color3.new(r/255,g/255,b/255)
  3237. end
  3238. local scaler2 = 1
  3239. local speeder = FastSpeed/10
  3240. if type == "Add" then
  3241. scaler2 = 1*value
  3242. elseif type == "Divide" then
  3243. scaler2 = 1/value
  3244. end
  3245. coroutine.resume(coroutine.create(function()
  3246. for i = 0,10/bonuspeed,0.1 do
  3247. swait()
  3248. if rainbowmode == true then
  3249. rng.Color = Color3.new(r/255,g/255,b/255)
  3250. end
  3251. if type == "Add" then
  3252. scaler2 = scaler2 - 0.01*value/bonuspeed
  3253. elseif type == "Divide" then
  3254. scaler2 = scaler2 - 0.01/value*bonuspeed
  3255. end
  3256. if chaosmode == true then
  3257. rng.BrickColor = BrickColor.random()
  3258. end
  3259. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3260. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3261. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3262. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3263. end
  3264. rng:Destroy()
  3265. end))
  3266. end
  3267.  
  3268. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3269. local type = type
  3270. local rng = Instance.new("Part", char)
  3271. rng.Anchored = true
  3272. rng.BrickColor = color
  3273. rng.CanCollide = false
  3274. rng.FormFactor = 3
  3275. rng.Name = "Ring"
  3276. rng.Material = "Neon"
  3277. rng.Size = Vector3.new(1, 1, 1)
  3278. rng.Transparency = 0
  3279. rng.TopSurface = 0
  3280. rng.BottomSurface = 0
  3281. rng.CFrame = pos
  3282. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3283. local rngm = Instance.new("SpecialMesh", rng)
  3284. rngm.MeshType = "Brick"
  3285. rngm.Scale = vt(x1,y1,z1)
  3286. if rainbowmode == true then
  3287. rng.Color = Color3.new(r/255,g/255,b/255)
  3288. end
  3289. local scaler2 = 0
  3290. local speeder = FastSpeed/10
  3291. if type == "Add" then
  3292. scaler2 = 1*value
  3293. elseif type == "Divide" then
  3294. scaler2 = 1/value
  3295. end
  3296. coroutine.resume(coroutine.create(function()
  3297. for i = 0,10/bonuspeed,0.1 do
  3298. swait()
  3299. if rainbowmode == true then
  3300. rng.Color = Color3.new(r/255,g/255,b/255)
  3301. end
  3302. if type == "Add" then
  3303. scaler2 = scaler2 - 0.01*value/bonuspeed
  3304. elseif type == "Divide" then
  3305. scaler2 = scaler2 - 0.01/value*bonuspeed
  3306. end
  3307. if chaosmode == true then
  3308. rng.BrickColor = BrickColor.random()
  3309. end
  3310. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3311. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3312. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3313. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3314. end
  3315. rng:Destroy()
  3316. end))
  3317. end
  3318.  
  3319. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3320. local type = type
  3321. local rng = Instance.new("Part", char)
  3322. rng.Anchored = true
  3323. rng.BrickColor = color
  3324. rng.Color = color3
  3325. rng.CanCollide = false
  3326. rng.FormFactor = 3
  3327. rng.Name = "Ring"
  3328. rng.Material = "Neon"
  3329. rng.Size = Vector3.new(1, 1, 1)
  3330. rng.Transparency = 0
  3331. rng.TopSurface = 0
  3332. rng.BottomSurface = 0
  3333. rng.CFrame = pos
  3334. local rngm = Instance.new("SpecialMesh", rng)
  3335. rngm.MeshType = "Brick"
  3336. rngm.Scale = scale
  3337. local scaler2 = 1
  3338. local scaler2b = 1
  3339. local scaler2c = 1
  3340. if type == "Add" then
  3341. scaler2 = 1*value
  3342. scaler2b = 1*value2
  3343. scaler2c = 1*value3
  3344. elseif type == "Divide" then
  3345. scaler2 = 1/value
  3346. scaler2b = 1/value2
  3347. scaler2c = 1/value3
  3348. end
  3349. coroutine.resume(coroutine.create(function()
  3350. for i = 0,10/bonuspeed,0.1 do
  3351. swait()
  3352. if type == "Add" then
  3353. scaler2 = scaler2 - 0.01*value/bonuspeed
  3354. scaler2b = scaler2b - 0.01*value/bonuspeed
  3355. scaler2c = scaler2c - 0.01*value/bonuspeed
  3356. elseif type == "Divide" then
  3357. scaler2 = scaler2 - 0.01/value*bonuspeed
  3358. scaler2b = scaler2b - 0.01/value*bonuspeed
  3359. scaler2c = scaler2c - 0.01/value*bonuspeed
  3360. end
  3361. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3362. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3363. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3364. end
  3365. rng:Destroy()
  3366. end))
  3367. end
  3368.  
  3369. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3370. local type = type
  3371. local rng = Instance.new("Part", char)
  3372. rng.Anchored = true
  3373. if ModeOfGlitch ~= 9 then
  3374. rng.BrickColor = color
  3375. elseif ModeOfGlitch == 9 then
  3376. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3377. end
  3378. rng.CanCollide = false
  3379. rng.FormFactor = 3
  3380. rng.Name = "Ring"
  3381. rng.Material = "Neon"
  3382. rng.Size = Vector3.new(1, 1, 1)
  3383. rng.Transparency = 0
  3384. rng.TopSurface = 0
  3385. rng.BottomSurface = 0
  3386. rng.CFrame = pos
  3387. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3388. local rngm = Instance.new("SpecialMesh", rng)
  3389. rngm.MeshType = "Sphere"
  3390. rngm.Scale = vt(x1,y1,z1)
  3391. if rainbowmode == true then
  3392. rng.Color = Color3.new(r/255,g/255,b/255)
  3393. end
  3394. if ModeOfGlitch == 9 then
  3395. coroutine.resume(coroutine.create(function()
  3396. while true do
  3397. swait()
  3398. if rng.Parent ~= nil then
  3399. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3400. else
  3401. break
  3402. end
  3403. end
  3404. end))
  3405. end
  3406. local scaler2 = 1
  3407. local speeder = FastSpeed
  3408. if type == "Add" then
  3409. scaler2 = 1*value
  3410. elseif type == "Divide" then
  3411. scaler2 = 1/value
  3412. end
  3413. coroutine.resume(coroutine.create(function()
  3414. for i = 0,10/bonuspeed,0.1 do
  3415. swait()
  3416. if rainbowmode == true then
  3417. rng.Color = Color3.new(r/255,g/255,b/255)
  3418. end
  3419. if type == "Add" then
  3420. scaler2 = scaler2 - 0.01*value/bonuspeed
  3421. elseif type == "Divide" then
  3422. scaler2 = scaler2 - 0.01/value*bonuspeed
  3423. end
  3424. if chaosmode == true then
  3425. rng.BrickColor = BrickColor.random()
  3426. end
  3427. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3428. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3429. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3430. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3431. end
  3432. rng:Destroy()
  3433. end))
  3434. end
  3435.  
  3436.  
  3437. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3438. local type = type
  3439. local rng = Instance.new("Part", char)
  3440. rng.Anchored = true
  3441. if ModeOfGlitch ~= 9 then
  3442. rng.BrickColor = color
  3443. elseif ModeOfGlitch == 9 then
  3444. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3445. end
  3446. rng.CanCollide = false
  3447. rng.FormFactor = 3
  3448. rng.Name = "Ring"
  3449. rng.Material = "Neon"
  3450. rng.Size = Vector3.new(1, 1, 1)
  3451. rng.Transparency = 1
  3452. rng.TopSurface = 0
  3453. rng.BottomSurface = 0
  3454. rng.CFrame = pos
  3455. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3456. local rngm = Instance.new("SpecialMesh", rng)
  3457. rngm.MeshType = "Sphere"
  3458. rngm.Scale = vt(x1,y1,z1)
  3459. if rainbowmode == true then
  3460. rng.Color = Color3.new(r/255,g/255,b/255)
  3461. end
  3462. if ModeOfGlitch == 9 then
  3463. coroutine.resume(coroutine.create(function()
  3464. while true do
  3465. swait()
  3466. if rng.Parent ~= nil then
  3467. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3468. else
  3469. break
  3470. end
  3471. end
  3472. end))
  3473. end
  3474. local scaler2 = 1
  3475. local speeder = FastSpeed
  3476. if type == "Add" then
  3477. scaler2 = 1*value
  3478. elseif type == "Divide" then
  3479. scaler2 = 1/value
  3480. end
  3481. coroutine.resume(coroutine.create(function()
  3482. for i = 0,10/bonuspeed,0.1 do
  3483. swait()
  3484. if rainbowmode == true then
  3485. rng.Color = Color3.new(r/255,g/255,b/255)
  3486. end
  3487. if type == "Add" then
  3488. scaler2 = scaler2 - 0.01*value/bonuspeed
  3489. elseif type == "Divide" then
  3490. scaler2 = scaler2 - 0.01/value*bonuspeed
  3491. end
  3492. if chaosmode == true then
  3493. rng.BrickColor = BrickColor.random()
  3494. end
  3495. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3496. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3497. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3498. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3499. end
  3500. rng:Destroy()
  3501. end))
  3502. end
  3503.  
  3504. function dmg(dude)
  3505. if dude.Name ~= Character then
  3506. local keptcolor = MAINRUINCOLOR
  3507. local bgf = Instance.new("BodyGyro",dude.Head)
  3508. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3509. --[[local val = Instance.new("BoolValue",dude)
  3510. val.Name = "IsHit"]]--
  3511. local ds = coroutine.wrap(function()
  3512. dude:WaitForChild("Head"):BreakJoints()
  3513. for i, v in pairs(dude:GetChildren()) do
  3514. if v:IsA("Part") or v:IsA("MeshPart") then
  3515. v.Name = "DEMINISHED"
  3516. end
  3517. end
  3518. wait(0.5)
  3519. targetted = nil
  3520. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3521. coroutine.resume(coroutine.create(function()
  3522. for i, v in pairs(dude:GetChildren()) do
  3523. if v:IsA("Accessory") then
  3524. v:Destroy()
  3525. end
  3526. if v:IsA("Humanoid") then
  3527. v:Destroy()
  3528. end
  3529. if v:IsA("CharacterMesh") then
  3530. v:Destroy()
  3531. end
  3532. if v:IsA("Model") then
  3533. v:Destroy()
  3534. end
  3535. if v:IsA("Part") or v:IsA("MeshPart") then
  3536. for x, o in pairs(v:GetChildren()) do
  3537. if o:IsA("Decal") then
  3538. o:Destroy()
  3539. end
  3540. end
  3541. coroutine.resume(coroutine.create(function()
  3542. v.Material = "Neon"
  3543. v.CanCollide = false
  3544. v.Anchored = false
  3545. local bld = Instance.new("ParticleEmitter",v)
  3546. bld.LightEmission = 0.75
  3547. bld.Texture = "rbxassetid://363275192" ---284205403
  3548. bld.Color = ColorSequence.new(keptcolor.Color)
  3549. bld.Rate = 500
  3550. bld.Lifetime = NumberRange.new(1)
  3551. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3552. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3553. bld.Speed = NumberRange.new(2,5)
  3554. bld.VelocitySpread = 50000
  3555. bld.Rotation = NumberRange.new(-500,500)
  3556. bld.RotSpeed = NumberRange.new(-500,500)
  3557. local sbs = Instance.new("BodyPosition", v)
  3558. sbs.P = 3000
  3559. sbs.D = 1000
  3560. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3561. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3562. v.Color = keptcolor.Color
  3563. coroutine.resume(coroutine.create(function()
  3564. for i = 0, 49 do
  3565. swait(1)
  3566. v:BreakJoints()
  3567. v.Transparency = v.Transparency + 0.02
  3568. end
  3569. v:BreakJoints()
  3570. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3571. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3572. bld.Speed = NumberRange.new(10,25)
  3573. bld.Drag = 5
  3574. bld.Acceleration = vt(0,2,0)
  3575. wait(0.5)
  3576. bld.Enabled = false
  3577. wait(8)
  3578. v:Destroy()
  3579. dude:Destroy()
  3580. end))
  3581. end))
  3582. end
  3583. end
  3584. end))
  3585. end)
  3586. ds()
  3587. end
  3588. end
  3589.  
  3590.  
  3591. function FindNearestHead(Position, Distance, SinglePlayer)
  3592. if SinglePlayer then
  3593. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3594. end
  3595. local List = {}
  3596. for i, v in pairs(workspace:GetChildren()) do
  3597. if v:IsA("Model") then
  3598. if v:findFirstChild("Head") then
  3599. if v ~= Character then
  3600. if (v.Head.Position - Position).magnitude <= Distance then
  3601. table.insert(List, v)
  3602. end
  3603. end
  3604. end
  3605. end
  3606. end
  3607. return List
  3608. end
  3609.  
  3610. function FaceMouse()
  3611. Cam = workspace.CurrentCamera
  3612. return {
  3613. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3614. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3615. }
  3616. end
  3617.  
  3618. function FaceMouse2()
  3619. Cam = workspace.CurrentCamera
  3620. return {
  3621. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3622. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3623. }
  3624. end
  3625.  
  3626. local ModeOfGlitch = 1
  3627. -- Functions are ready.
  3628. local storehumanoidWS = 16
  3629.  
  3630. function createBGCircle(size,parent,color)
  3631. local bgui = Instance.new("BillboardGui",parent)
  3632. bgui.Size = UDim2.new(size, 0, size, 0)
  3633. local imgc = Instance.new("ImageLabel",bgui)
  3634. imgc.BackgroundTransparency = 1
  3635. imgc.ImageTransparency = 0
  3636. imgc.Size = UDim2.new(1,0,1,0)
  3637. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3638. imgc.ImageColor3 = color
  3639. return bgui,imgc
  3640. end
  3641.  
  3642. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3643. local bgui,imgc = createBGCircle(size,guipar,color)
  3644. bgui.AlwaysOnTop = true
  3645. imgc.Image = "rbxassetid://" ..img
  3646. local rrot = math.random(1,2)
  3647. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3648. coroutine.resume(coroutine.create(function()
  3649. for i = 0, 24*delay do
  3650. swait()
  3651. if rotationenabled == true then
  3652. if rrot == 1 then
  3653. imgc.Rotation = imgc.Rotation + rotsp
  3654. elseif rrot == 2 then
  3655. imgc.Rotation = imgc.Rotation - rotsp
  3656. end
  3657. end
  3658. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3659. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3660. end
  3661. bgui:Destroy()
  3662. end))
  3663. end
  3664. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3665. for i, v in pairs(mw2:GetChildren()) do
  3666. if v:IsA("Part") then
  3667. v.BrickColor = one
  3668. v.Material = "Neon"
  3669. end
  3670. end
  3671. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  3672. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  3673. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  3674. tr1.Color = ColorSequence.new(one.Color)
  3675. tr2.Color = ColorSequence.new(one.Color)
  3676. tr3.Color = ColorSequence.new(one.Color)
  3677. for i, v in pairs(mw1:GetChildren()) do
  3678. if v:IsA("Part") then
  3679. if secondaryenabled == false then
  3680. v.Transparency = 1
  3681. elseif secondaryenabled == true then
  3682. v.Transparency = 0
  3683. end
  3684. v.BrickColor = two
  3685. v.Material = "Neon"
  3686. end
  3687. end
  3688. if secondaryenabled == false then
  3689. tl1.Enabled = false
  3690. tl2.Enabled = false
  3691. tl3.Enabled = false
  3692. elseif secondaryenabled == true then
  3693. tl1.Enabled = true
  3694. tl2.Enabled = true
  3695. tl3.Enabled = true
  3696. end
  3697. tl1.Color = ColorSequence.new(two.Color)
  3698. tl2.Color = ColorSequence.new(two.Color)
  3699. tl3.Color = ColorSequence.new(two.Color)
  3700. for i, v in pairs(m:GetChildren()) do
  3701. if v:IsA("Part") then
  3702. v.BrickColor = three
  3703. v.Material = "Ice"
  3704. end
  3705. end
  3706. for i, v in pairs(m2:GetChildren()) do
  3707. if v:IsA("Part") then
  3708. v.BrickColor = four
  3709. v.Material = "Ice"
  3710. end
  3711. end
  3712. for i, v in pairs(m3:GetChildren()) do
  3713. if v:IsA("Part") then
  3714. v.BrickColor = five
  3715. v.Material = "Neon"
  3716. end
  3717. end
  3718. for i, v in pairs(extrawingmod1:GetChildren()) do
  3719. if v:IsA("Part") then
  3720. v.Transparency = exonetran
  3721. v.BrickColor = exone
  3722. v.Material = "Neon"
  3723. end
  3724. end
  3725. if sectrailenabled == true then
  3726. tl4.Enabled = true
  3727. tl5.Enabled = true
  3728. tl6.Enabled = true
  3729. tr4.Enabled = true
  3730. tr5.Enabled = true
  3731. tr6.Enabled = true
  3732. tl4.Color = ColorSequence.new(exone.Color)
  3733. tl5.Color = ColorSequence.new(exone.Color)
  3734. tl6.Color = ColorSequence.new(exone.Color)
  3735. tr4.Color = ColorSequence.new(extwo.Color)
  3736. tr5.Color = ColorSequence.new(extwo.Color)
  3737. tr6.Color = ColorSequence.new(extwo.Color)
  3738. elseif sectrailenabled == false then
  3739. tl4.Enabled = false
  3740. tl5.Enabled = false
  3741. tl6.Enabled = false
  3742. tr4.Enabled = false
  3743. tr5.Enabled = false
  3744. tr6.Enabled = false
  3745. end
  3746. for i, v in pairs(extrawingmod2:GetChildren()) do
  3747. if v:IsA("Part") then
  3748. v.Transparency = extwotran
  3749. v.BrickColor = extwo
  3750. v.Material = "Neon"
  3751. end
  3752. end
  3753. end
  3754.  
  3755.  
  3756. function normalmog()
  3757. attack = true
  3758. hum.WalkSpeed = 0
  3759. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  3760. for i = 0,6,0.1 do
  3761. swait()
  3762. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  3763. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
  3764. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  3765. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  3766. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  3767. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  3768. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  3769. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  3770. end
  3771. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  3772. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  3773. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  3774. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  3775. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  3776. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  3777. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  3778. rainbowmode = false
  3779. chaosmode = false
  3780. ModeOfGlitch = 1
  3781. storehumanoidWS = 16
  3782. newTheme("rbxassetid://614032233",48.6,1,1.25)
  3783. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  3784. CameraEnshaking(5,2.5)
  3785. MAINRUINCOLOR = BrickColor.new("Really red")
  3786. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3787. for i = 0, 49 do
  3788. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  3789. end
  3790. for i = 0, 24 do
  3791. sphere2(2,"Add",tors.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,7,-0.01,MAINRUINCOLOR)
  3792. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  3793. end
  3794. for i = 0,3,0.1 do
  3795. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  3796. end
  3797. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  3798. for i = 0,2,0.1 do
  3799. swait()
  3800. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  3801. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  3802. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  3803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  3804. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  3805. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  3806. end
  3807. hum.WalkSpeed = storehumanoidWS
  3808. attack = false
  3809. end
  3810.  
  3811. function attackone()
  3812. attack = true
  3813. local keptcolor = MAINRUINCOLOR
  3814. for i = 0,1,0.1 do
  3815. swait()
  3816. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  3817. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  3818. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  3819. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3820. 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)
  3821. 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)
  3822. end
  3823. local distlook = 5
  3824. coroutine.resume(coroutine.create(function()
  3825. for i = 0, 4 do
  3826. swait(2)
  3827. CameraEnshaking(2,3)
  3828. local hite = Instance.new("Part", char)
  3829. hite.Anchored = true
  3830. hite.CanCollide = false
  3831. hite.FormFactor = 3
  3832. hite.Name = "Ring"
  3833. hite.Material = "Neon"
  3834. hite.Size = Vector3.new(1, 1, 1)
  3835. hite.Transparency = 1
  3836. hite.TopSurface = 0
  3837. hite.BottomSurface = 0
  3838. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  3839. 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)
  3840. 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)
  3841. 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)
  3842. 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)
  3843. MagniDamage(hite, 9, 10,25, 0, "Normal")
  3844. for i = 0, 14 do
  3845. local rsiz = math.random(5,20)
  3846. 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)
  3847. end
  3848. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  3849. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  3850. game:GetService("Debris"):AddItem(hite, 5)
  3851. distlook = distlook + 10
  3852. end
  3853. end))
  3854. for i = 0,1,0.1 do
  3855. swait()
  3856. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  3857. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  3858. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  3859. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  3860. 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)
  3861. 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)
  3862. end
  3863. attack = false
  3864. end
  3865.  
  3866. function attacktwo()
  3867. attack = true
  3868. hum.WalkSpeed = 2
  3869. local keptcolor = MAINRUINCOLOR
  3870. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  3871. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  3872. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  3873. for i = 0, 14 do
  3874. PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0)
  3875. end
  3876. for i = 0,1,0.1 do
  3877. swait()
  3878. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3879. RH.C0=clerp(RH.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(-5)),.3)
  3880. 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(30),math.rad(0)),.3)
  3881. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3882. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  3883. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  3884. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3885. end
  3886. for i = 0, 1 do
  3887. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  3888. for i = 0,1,0.6 do
  3889. swait()
  3890. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3891. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3892. RH.C0=clerp(RH.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(-5)),.6)
  3893. 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(30),math.rad(0)),.6)
  3894. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3895. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3896. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3897. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3898. end
  3899. for i = 0,1,0.6 do
  3900. swait()
  3901. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3902. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3903. RH.C0=clerp(RH.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(-5)),.6)
  3904. 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(30),math.rad(0)),.6)
  3905. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  3906. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3907. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3908. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3909. end
  3910. for i = 0,1,0.6 do
  3911. swait()
  3912. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3913. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3914. RH.C0=clerp(RH.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(-5)),.6)
  3915. 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(30),math.rad(0)),.6)
  3916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  3917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3918. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3919. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3920. end
  3921. for i = 0,1,0.6 do
  3922. swait()
  3923. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  3924. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  3925. RH.C0=clerp(RH.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(-5)),.6)
  3926. 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(30),math.rad(0)),.6)
  3927. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  3928. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3929. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3930. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3931. end
  3932. local rot = 0
  3933. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  3934. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  3935. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  3936. CreateMesh(dis,"Sphere",10,1,10)
  3937. local at1 = Instance.new("Attachment",dis)
  3938. at1.Position = vt(-5,0,0)
  3939. local at2 = Instance.new("Attachment",dis)
  3940. at2.Position = vt(5,0,0)
  3941. local trl = Instance.new('Trail',wed)
  3942. trl.Attachment0 = at1
  3943. trl.Attachment1 = at2
  3944. trl.Texture = "rbxassetid://1049219073"
  3945. trl.LightEmission = 1
  3946. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3947. trl.Color = ColorSequence.new(dis.Color)
  3948. trl.Lifetime = 0.6
  3949. local a = Instance.new("Part",workspace)
  3950. a.Name = "Direction"
  3951. a.Anchored = true
  3952. a.BrickColor = bc("Bright red")
  3953. a.Material = "Neon"
  3954. a.Transparency = 1
  3955. a.CanCollide = false
  3956. local ray = Ray.new(
  3957. dis.CFrame.p, -- origin
  3958. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  3959. )
  3960. local ignore = dis
  3961. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3962. a.BottomSurface = 10
  3963. a.TopSurface = 10
  3964. local distance = (dis.CFrame.p - position).magnitude
  3965. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3966. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  3967. dis.CFrame = a.CFrame
  3968. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  3969. a:Destroy()
  3970. local bv = Instance.new("BodyVelocity")
  3971. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3972. bv.velocity = dis.CFrame.lookVector*250
  3973. bv.Parent = dis
  3974. game:GetService("Debris"):AddItem(dis, 5)
  3975. local hitted = false
  3976. coroutine.resume(coroutine.create(function()
  3977. dis.Touched:connect(function(hit)
  3978. if hitted == false and hit.Parent ~= char then
  3979. hitted = true
  3980. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  3981. MagniDamage(dis, 30, 33,56, 0, "Normal")
  3982. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  3983. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  3984. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  3985. coroutine.resume(coroutine.create(function()
  3986. local eff = Instance.new("ParticleEmitter",dis)
  3987. eff.Texture = "rbxassetid://2344870656"
  3988. eff.LightEmission = 1
  3989. eff.Color = ColorSequence.new(dis.Color)
  3990. eff.Rate = 10000000
  3991. eff.Enabled = true
  3992. eff.EmissionDirection = "Front"
  3993. eff.Lifetime = NumberRange.new(1)
  3994. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  3995. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3996. eff.Speed = NumberRange.new(150)
  3997. eff.Drag = 5
  3998. eff.Rotation = NumberRange.new(-500,500)
  3999. eff.SpreadAngle = Vector2.new(0,900)
  4000. eff.RotSpeed = NumberRange.new(-500,500)
  4001. wait(0.2)
  4002. eff.Enabled = false
  4003. end))
  4004. coroutine.resume(coroutine.create(function()
  4005. for i = 0, 9 do
  4006. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4007. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4008. local at1 = Instance.new("Attachment",disr)
  4009. at1.Position = vt(-5,0,0)
  4010. local at2 = Instance.new("Attachment",disr)
  4011. at2.Position = vt(5,0,0)
  4012. local trl = Instance.new('Trail',disr)
  4013. trl.Attachment0 = at1
  4014. trl.FaceCamera = true
  4015. trl.Attachment1 = at2
  4016. trl.Texture = "rbxassetid://2342682798"
  4017. trl.LightEmission = 1
  4018. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4019. trl.Color = ColorSequence.new(keptcolor.Color)
  4020. trl.Lifetime = 0.5
  4021. local bv = Instance.new("BodyVelocity")
  4022. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4023. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4024. bv.Parent = disr
  4025. local val = 0
  4026. coroutine.resume(coroutine.create(function()
  4027. swait(30)
  4028. for i = 0, 9 do
  4029. swait()
  4030. val = val + 0.1
  4031. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4032. end
  4033. game:GetService("Debris"):AddItem(disr, 3)
  4034. end))
  4035. end
  4036. local eff = Instance.new("ParticleEmitter",dis)
  4037. eff.Texture = "rbxassetid://2273224484"
  4038. eff.LightEmission = 1
  4039. eff.Color = ColorSequence.new(keptcolor.Color)
  4040. eff.Rate = 500000
  4041. eff.Lifetime = NumberRange.new(0.5,2)
  4042. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4043. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4044. eff.Speed = NumberRange.new(20,250)
  4045. eff.Drag = 5
  4046. eff.Rotation = NumberRange.new(-500,500)
  4047. eff.VelocitySpread = 9000
  4048. eff.RotSpeed = NumberRange.new(-50,50)
  4049. wait(0.25)
  4050. eff.Enabled = false
  4051. end))
  4052. for i = 0, 9 do
  4053. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  4054. end
  4055. for i = 0, 19 do
  4056. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
  4057. end
  4058. coroutine.resume(coroutine.create(function()
  4059. for i = 0, 19 do
  4060. swait()
  4061. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4062. end
  4063. hum.CameraOffset = vt(0,0,0)
  4064. end))
  4065. dis.Anchored = true
  4066. dis.Transparency = 1
  4067. wait(8)
  4068. dis:Destroy()
  4069. end
  4070. end)
  4071. end))
  4072. rot = rot - 15
  4073. end
  4074. for i = 0,2,0.1 do
  4075. swait()
  4076. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  4077. 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(5)),.3)
  4078. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4080. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4081. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4082. end
  4083. attack = false
  4084. hum.WalkSpeed = storehumanoidWS
  4085. end
  4086.  
  4087. function attackthree()
  4088. attack = true
  4089. local keptcolor = MAINRUINCOLOR
  4090. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4091. for i = 0,2,0.1 do
  4092. swait()
  4093. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4094. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  4095. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  4096. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  4097. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  4098. 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(-50),math.rad(-10)),.3)
  4099. 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(40)),.3)
  4100. end
  4101. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  4102. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  4103. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  4104. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  4105. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  4106. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  4107. for i = 0, 24 do
  4108. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
  4109. end
  4110. for i = 0,4,0.1 do
  4111. swait()
  4112. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  4113. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4114. CreateMesh(dis,"Sphere",1,1,1)
  4115. dis.Anchored = true
  4116. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  4117. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4118. coroutine.resume(coroutine.create(function()
  4119. swait(30)
  4120. dis.Transparency = 1
  4121. coroutine.resume(coroutine.create(function()
  4122. for i = 0, 19 do
  4123. swait()
  4124. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  4125. end
  4126. hum.CameraOffset = vt(0,0,0)
  4127. end))
  4128. coroutine.resume(coroutine.create(function()
  4129. local eff = Instance.new("ParticleEmitter",dis)
  4130. eff.Texture = "rbxassetid://2273224484"
  4131. eff.LightEmission = 1
  4132. eff.Color = ColorSequence.new(dis.Color)
  4133. eff.Rate = 500000
  4134. eff.Lifetime = NumberRange.new(0.5,2)
  4135. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4136. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4137. eff.Speed = NumberRange.new(50,450)
  4138. eff.Drag = 5
  4139. eff.Rotation = NumberRange.new(-500,500)
  4140. eff.VelocitySpread = 9000
  4141. eff.RotSpeed = NumberRange.new(-50,50)
  4142. wait(0.125)
  4143. eff.Enabled = false
  4144. end))
  4145. MagniDamage(dis, 30, 45,50, 0, "Normal")
  4146. for i = 0, 2 do
  4147. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
  4148. end
  4149. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  4150. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  4151. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  4152. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  4153. end))
  4154. game:GetService("Debris"):AddItem(dis, 5)
  4155. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  4156. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  4157. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  4158. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  4159. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  4160. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  4161. end
  4162. attack = false
  4163. end
  4164. ----------------------------------- Abilities
  4165.  
  4166. function ExtinctiveHeartbreak()
  4167. local targetted = nil
  4168. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4169. targetted = mouse.Target.Parent
  4170. end
  4171. if targetted ~= nil then
  4172. attack = true
  4173. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4174. for i = 0, 9 do
  4175. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  4176. end
  4177. for i = 0, 24 do
  4178. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4179. end
  4180. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4181. local originalpos = root.CFrame
  4182. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4183. for i = 0, 9 do
  4184. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  4185. end
  4186. for i = 0, 24 do
  4187. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4188. end
  4189. hum.WalkSpeed = 0
  4190. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4191. local radm = math.random(1,3)
  4192. if radm == 1 then
  4193. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4194. elseif radm == 2 then
  4195. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4196. elseif radm == 3 then
  4197. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4198. end
  4199. for i = 0,2,0.1 do
  4200. swait()
  4201. 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(-10),math.rad(0)),.4)
  4202. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  4203. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  4204. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4205. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  4206. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  4207. end
  4208. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  4209. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  4210. for i = 0,2,0.1 do
  4211. swait()
  4212. coroutine.resume(coroutine.create(function()
  4213. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4214. for i,v in pairs(targetted:GetChildren()) do
  4215. if v:IsA("Part") or v:IsA("MeshPart") then
  4216. v.Velocity = vt(0,0,0)
  4217. end
  4218. end
  4219. end))
  4220. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  4221. 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(10),math.rad(0)),.8)
  4222. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  4223. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4224. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4225. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  4226. end
  4227. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  4228. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  4229. for i = 0, 1 do
  4230. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  4231. end
  4232. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  4233. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4234. for i = 0,4,0.1 do
  4235. swait()
  4236. coroutine.resume(coroutine.create(function()
  4237. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4238. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4239. local at1 = Instance.new("Attachment",dis)
  4240. at1.Position = vt(-25000,0,0)
  4241. local at2 = Instance.new("Attachment",dis)
  4242. at2.Position = vt(25000,0,0)
  4243. local trl = Instance.new('Trail',dis)
  4244. trl.Attachment0 = at1
  4245. trl.FaceCamera = true
  4246. trl.Attachment1 = at2
  4247. trl.Texture = "rbxassetid://1049219073"
  4248. trl.LightEmission = 1
  4249. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4250. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  4251. trl.Lifetime = 5
  4252. local bv = Instance.new("BodyVelocity")
  4253. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4254. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4255. bv.Parent = dis
  4256. game:GetService("Debris"):AddItem(dis, 5)
  4257. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4258. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4259. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4260. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4261. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4262. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4263. sphere2(5,"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(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
  4264. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4265. for i = 0, 2 do
  4266. slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
  4267. end
  4268. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  4269. for i,v in pairs(targetted:GetChildren()) do
  4270. if v:IsA("Part") or v:IsA("MeshPart") then
  4271. v.Velocity = vt(0,0,0)
  4272. end
  4273. end
  4274. end))
  4275. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  4276. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  4277. 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(10),math.rad(0)),.8)
  4278. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  4279. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4280. 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(40)),.8)
  4281. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  4282. end
  4283. hum.CameraOffset = vt(0,0,0)
  4284. for i = 0, 49 do
  4285. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4286. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4287. local at1 = Instance.new("Attachment",dis)
  4288. at1.Position = vt(-50000,0,0)
  4289. local at2 = Instance.new("Attachment",dis)
  4290. at2.Position = vt(50000,0,0)
  4291. local trl = Instance.new('Trail',dis)
  4292. trl.Attachment0 = at1
  4293. trl.FaceCamera = true
  4294. trl.Attachment1 = at2
  4295. trl.Texture = "rbxassetid://1049219073"
  4296. trl.LightEmission = 1
  4297. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4298. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  4299. trl.Lifetime = 5
  4300. local bv = Instance.new("BodyVelocity")
  4301. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4302. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4303. bv.Parent = dis
  4304. game:GetService("Debris"):AddItem(dis, 5)
  4305. end
  4306. for i = 0, 49 do
  4307. sphere2(math.random(10,75)/10,"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(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
  4308. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  4309. end
  4310. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  4311. for i = 0, 1 do
  4312. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4313. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4314. end
  4315. for i = 0, 4 do
  4316. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4317. end
  4318. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  4319. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  4320. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  4321. dmg(targetted)
  4322. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4323. for i = 0, 9 do
  4324. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  4325. end
  4326. for i = 0, 24 do
  4327. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4328. end
  4329. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4330. root.CFrame = originalpos
  4331. for i = 0, 9 do
  4332. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  4333. end
  4334. for i = 0, 24 do
  4335. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4336. end
  4337. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4338. attack = false
  4339. hum.WalkSpeed = storehumanoidWS
  4340. end
  4341. end
  4342.  
  4343. function CorruptionEvent()
  4344. attack = true
  4345. hum.WalkSpeed = 0
  4346. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4347. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4348. local keptcolor = MAINRUINCOLOR
  4349. for i = 0,4,0.1 do
  4350. swait()
  4351. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4352. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4353. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
  4354. 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(1),math.rad(20)),.1)
  4355. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  4356. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  4357. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  4358. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4359. end
  4360. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  4361. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  4362. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  4363. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4364. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4365. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4366. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  4367. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  4368. coroutine.resume(coroutine.create(function()
  4369. local eff = Instance.new("ParticleEmitter",cen)
  4370. eff.Texture = "rbxassetid://2344870656"
  4371. eff.LightEmission = 1
  4372. eff.Color = ColorSequence.new(keptcolor.Color)
  4373. eff.Rate = 10000000
  4374. eff.Enabled = true
  4375. eff.EmissionDirection = "Front"
  4376. eff.Lifetime = NumberRange.new(2)
  4377. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  4378. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4379. eff.Speed = NumberRange.new(500)
  4380. eff.Drag = 5
  4381. eff.Rotation = NumberRange.new(-500,500)
  4382. eff.SpreadAngle = Vector2.new(0,900)
  4383. eff.RotSpeed = NumberRange.new(-500,500)
  4384. wait(0.2)
  4385. eff.Enabled = false
  4386. wait(5)
  4387. eff:Destroy()
  4388. end))
  4389. hum.CameraOffset = vt(0,0,0)
  4390. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4391. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4392. for i = 0, 24 do
  4393. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  4394. end
  4395. local rrot = 0
  4396. coroutine.resume(coroutine.create(function()
  4397. for i = 0, 4 do
  4398. rrot = rrot + 45
  4399. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4400. xa.Anchored = true
  4401. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4402. xb.Anchored = true
  4403. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4404. xc.Anchored = true
  4405. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4406. xd.Anchored = true
  4407. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  4408. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  4409. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  4410. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  4411. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  4412. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  4413. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  4414. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  4415. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  4416. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  4417. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  4418. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  4419. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  4420. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  4421. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  4422. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  4423. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4424. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4425. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4426. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4427. for i = 0, 9 do
  4428. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4429. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4430. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4431. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  4432. end
  4433. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4434. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4435. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4436. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4437. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4438. sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4439. sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4440. sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  4441. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4442. sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4443. sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4444. sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  4445. game:GetService("Debris"):AddItem(xa, 5)
  4446. game:GetService("Debris"):AddItem(xb, 5)
  4447. game:GetService("Debris"):AddItem(xc, 5)
  4448. game:GetService("Debris"):AddItem(xd, 5)
  4449. coroutine.resume(coroutine.create(function()
  4450. for i = 0, 19 do
  4451. swait()
  4452. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4453. end
  4454. hum.CameraOffset = vt(0,0,0)
  4455. end))
  4456. swait(9)
  4457. end
  4458. end))
  4459. for i = 0,2,0.1 do
  4460. swait()
  4461. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
  4462. 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(1),math.rad(10)),.8)
  4463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  4464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  4465. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  4466. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4467. end
  4468. attack = false
  4469. hum.WalkSpeed = storehumanoidWS
  4470. end
  4471.  
  4472. function EndGROUND()
  4473. attack = true
  4474. hum.WalkSpeed = 0
  4475. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  4476. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4477. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4478. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  4479. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  4480. local keptcolor = MAINRUINCOLOR
  4481. for i = 0,4,0.1 do
  4482. swait()
  4483. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4484. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4485. slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
  4486. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  4487. 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(1),math.rad(20)),.1)
  4488. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  4489. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  4490. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  4491. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4492. end
  4493. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  4494. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4495. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4496. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4497. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  4498. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  4499. coroutine.resume(coroutine.create(function()
  4500. local eff = Instance.new("ParticleEmitter",cen)
  4501. eff.Texture = "rbxassetid://2344870656"
  4502. eff.LightEmission = 1
  4503. eff.Color = ColorSequence.new(keptcolor.Color)
  4504. eff.Rate = 10000000
  4505. eff.Enabled = true
  4506. eff.EmissionDirection = "Front"
  4507. eff.Lifetime = NumberRange.new(2)
  4508. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  4509. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4510. eff.Speed = NumberRange.new(500)
  4511. eff.Drag = 5
  4512. eff.Rotation = NumberRange.new(-500,500)
  4513. eff.SpreadAngle = Vector2.new(0,900)
  4514. eff.RotSpeed = NumberRange.new(-500,500)
  4515. wait(0.2)
  4516. eff.Enabled = false
  4517. wait(5)
  4518. eff:Destroy()
  4519. end))
  4520. coroutine.resume(coroutine.create(function()
  4521. local shval = 10
  4522. for i = 0, 99 do
  4523. swait()
  4524. shval = shval - 0.1
  4525. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  4526. end
  4527. hum.CameraOffset = vt(0,0,0)
  4528. end))
  4529. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4530. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4531. for i = 0, 24 do
  4532. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  4533. end
  4534. local rrot = 0
  4535. local xam = 1
  4536. coroutine.resume(coroutine.create(function()
  4537. for i = 0, 14 do
  4538. --swait()
  4539. rrot = rrot + 40*xam
  4540. xam = xam + 0.25
  4541. local bonus = xam
  4542. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  4543. xa.Anchored = true
  4544. xa.Color = Color3.new(0,0,0)
  4545. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  4546. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  4547. local xc = 0
  4548. coroutine.resume(coroutine.create(function()
  4549. for i = 0, 99 do
  4550. swait()
  4551. xc = xc + 0.01
  4552. xa.Color = Color3.new(xc,0,0)
  4553. end
  4554. xa.Transparency = 1
  4555. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  4556. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  4557. for i = 0, 9 do
  4558. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
  4559. end
  4560. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4561. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  4562. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
  4563. game:GetService("Debris"):AddItem(xa, 5)
  4564. coroutine.resume(coroutine.create(function()
  4565. for i = 0, 19 do
  4566. swait()
  4567. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4568. end
  4569. hum.CameraOffset = vt(0,0,0)
  4570. end))
  4571. end))
  4572. end
  4573. end))
  4574. for i = 0,2,0.1 do
  4575. swait()
  4576. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  4577. 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(1),math.rad(20)),.8)
  4578. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  4579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  4580. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  4581. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4582. end
  4583. attack = false
  4584. hum.WalkSpeed = storehumanoidWS
  4585. end
  4586.  
  4587. function HeavenlyDisk()
  4588. attack = true
  4589. hum.WalkSpeed = 2
  4590. local keptcolor = MAINRUINCOLOR
  4591. local radm = math.random(1,3)
  4592. if radm == 1 then
  4593. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  4594. elseif radm == 2 then
  4595. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  4596. elseif radm == 3 then
  4597. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  4598. end
  4599. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4600. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  4601. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  4602. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  4603. for i = 0, 14 do
  4604. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  4605. end
  4606. for i = 0,2,0.1 do
  4607. swait()
  4608. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4609. RH.C0=clerp(RH.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(-5)),.3)
  4610. 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(30),math.rad(0)),.3)
  4611. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4612. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  4613. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4614. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4615. end
  4616. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  4617. for i = 0,1,0.6 do
  4618. swait()
  4619. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4620. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4621. RH.C0=clerp(RH.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(-5)),.6)
  4622. 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(30),math.rad(0)),.6)
  4623. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4624. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4625. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4626. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4627. end
  4628. for i = 0,1,0.6 do
  4629. swait()
  4630. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4631. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4632. RH.C0=clerp(RH.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(-5)),.6)
  4633. 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(30),math.rad(0)),.6)
  4634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  4635. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4636. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4637. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4638. end
  4639. for i = 0,1,0.6 do
  4640. swait()
  4641. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4642. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4643. RH.C0=clerp(RH.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(-5)),.6)
  4644. 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(30),math.rad(0)),.6)
  4645. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  4646. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4647. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4648. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4649. end
  4650. for i = 0,1,0.6 do
  4651. swait()
  4652. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4653. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4654. RH.C0=clerp(RH.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(-5)),.6)
  4655. 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(30),math.rad(0)),.6)
  4656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  4657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4659. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4660. end
  4661. local rot = 15
  4662. for i = 0, 2 do
  4663. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  4664. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4665. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4666. CreateMesh(dis,"Sphere",10,1,10)
  4667. local at1 = Instance.new("Attachment",dis)
  4668. at1.Position = vt(-5,0,0)
  4669. local at2 = Instance.new("Attachment",dis)
  4670. at2.Position = vt(5,0,0)
  4671. local trl = Instance.new('Trail',wed)
  4672. trl.Attachment0 = at1
  4673. trl.Attachment1 = at2
  4674. trl.Texture = "rbxassetid://1049219073"
  4675. trl.LightEmission = 1
  4676. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4677. trl.Color = ColorSequence.new(dis.Color)
  4678. trl.Lifetime = 0.6
  4679. local a = Instance.new("Part",workspace)
  4680. a.Name = "Direction"
  4681. a.Anchored = true
  4682. a.BrickColor = bc("Bright red")
  4683. a.Material = "Neon"
  4684. a.Transparency = 1
  4685. a.CanCollide = false
  4686. local ray = Ray.new(
  4687. dis.CFrame.p, -- origin
  4688. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4689. )
  4690. local ignore = dis
  4691. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4692. a.BottomSurface = 10
  4693. a.TopSurface = 10
  4694. local distance = (dis.CFrame.p - position).magnitude
  4695. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4696. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4697. dis.CFrame = a.CFrame
  4698. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4699. a:Destroy()
  4700. local bv = Instance.new("BodyVelocity")
  4701. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4702. bv.velocity = dis.CFrame.lookVector*250
  4703. bv.Parent = dis
  4704. game:GetService("Debris"):AddItem(dis, 5)
  4705. local hitted = false
  4706. coroutine.resume(coroutine.create(function()
  4707. dis.Touched:connect(function(hit)
  4708. if hitted == false and hit.Parent ~= char then
  4709. hitted = true
  4710. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4711. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  4712. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4713. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4714. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  4715. coroutine.resume(coroutine.create(function()
  4716. local eff = Instance.new("ParticleEmitter",dis)
  4717. eff.Texture = "rbxassetid://2344870656"
  4718. eff.LightEmission = 1
  4719. eff.Color = ColorSequence.new(dis.Color)
  4720. eff.Rate = 10000000
  4721. eff.Enabled = true
  4722. eff.EmissionDirection = "Front"
  4723. eff.Lifetime = NumberRange.new(1)
  4724. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4725. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4726. eff.Speed = NumberRange.new(150)
  4727. eff.Drag = 5
  4728. eff.Rotation = NumberRange.new(-500,500)
  4729. eff.SpreadAngle = Vector2.new(0,900)
  4730. eff.RotSpeed = NumberRange.new(-500,500)
  4731. wait(0.2)
  4732. eff.Enabled = false
  4733. end))
  4734. coroutine.resume(coroutine.create(function()
  4735. for i = 0, 9 do
  4736. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4737. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4738. local at1 = Instance.new("Attachment",disr)
  4739. at1.Position = vt(-2,0,0)
  4740. local at2 = Instance.new("Attachment",disr)
  4741. at2.Position = vt(2,0,0)
  4742. local trl = Instance.new('Trail',disr)
  4743. trl.Attachment0 = at1
  4744. trl.FaceCamera = true
  4745. trl.Attachment1 = at2
  4746. trl.Texture = "rbxassetid://2342682798"
  4747. trl.LightEmission = 1
  4748. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4749. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4750. trl.Lifetime = 0.5
  4751. local bv = Instance.new("BodyVelocity")
  4752. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4753. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4754. bv.Parent = disr
  4755. local val = 0
  4756. coroutine.resume(coroutine.create(function()
  4757. swait(30)
  4758. for i = 0, 9 do
  4759. swait()
  4760. val = val + 0.1
  4761. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4762. end
  4763. game:GetService("Debris"):AddItem(disr, 3)
  4764. end))
  4765. end
  4766. local eff = Instance.new("ParticleEmitter",dis)
  4767. eff.Texture = "rbxassetid://2273224484"
  4768. eff.LightEmission = 1
  4769. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4770. eff.Rate = 500000
  4771. eff.Lifetime = NumberRange.new(0.5,2)
  4772. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4773. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4774. eff.Speed = NumberRange.new(20,250)
  4775. eff.Drag = 5
  4776. eff.Rotation = NumberRange.new(-500,500)
  4777. eff.VelocitySpread = 9000
  4778. eff.RotSpeed = NumberRange.new(-50,50)
  4779. wait(0.25)
  4780. eff.Enabled = false
  4781. end))
  4782. for i = 0, 9 do
  4783. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  4784. end
  4785. for i = 0, 19 do
  4786. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  4787. end
  4788. coroutine.resume(coroutine.create(function()
  4789. for i = 0, 19 do
  4790. swait()
  4791. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4792. end
  4793. hum.CameraOffset = vt(0,0,0)
  4794. end))
  4795. dis.Anchored = true
  4796. dis.Transparency = 1
  4797. wait(8)
  4798. dis:Destroy()
  4799. end
  4800. end)
  4801. end))
  4802. rot = rot - 15
  4803. end
  4804. for i = 0,2,0.1 do
  4805. swait()
  4806. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  4807. 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(5)),.3)
  4808. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  4810. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4811. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4812. end
  4813. attack = false
  4814. hum.WalkSpeed = storehumanoidWS
  4815. end
  4816.  
  4817. function RapidBurst()
  4818. attack = true
  4819. hum.WalkSpeed = 0
  4820. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  4821. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  4822. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  4823. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  4824. local keptcolor = MAINRUINCOLOR
  4825. for i = 0,8,0.1 do
  4826. swait()
  4827. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4828. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  4829. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  4830. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  4831. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  4832. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4833. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4834. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  4835. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
  4836. end
  4837. for i = 0, 99 do
  4838. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4839. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4840. local at1 = Instance.new("Attachment",dis)
  4841. at1.Position = vt(-25000,0,0)
  4842. local at2 = Instance.new("Attachment",dis)
  4843. at2.Position = vt(25000,0,0)
  4844. local trl = Instance.new('Trail',dis)
  4845. trl.Attachment0 = at1
  4846. trl.FaceCamera = true
  4847. trl.Attachment1 = at2
  4848. trl.Texture = "rbxassetid://1049219073"
  4849. trl.LightEmission = 1
  4850. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4851. trl.Color = ColorSequence.new(BrickColor.random().Color)
  4852. trl.Lifetime = 5
  4853. local bv = Instance.new("BodyVelocity")
  4854. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4855. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4856. bv.Parent = dis
  4857. game:GetService("Debris"):AddItem(dis, 5)
  4858. end
  4859. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  4860. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  4861. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  4862. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  4863. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  4864. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  4865. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  4866. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  4867. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  4868. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  4869. hum.CameraOffset = vt(0,0,0)
  4870. for i = 0, 24 do
  4871. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
  4872. end
  4873. local distam = 0
  4874. coroutine.resume(coroutine.create(function()
  4875. for i = 0, 99 do
  4876. wait()
  4877. distam = distam + 1
  4878. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4879. xa.Anchored = true
  4880. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4881. game:GetService("Debris"):AddItem(xa, 5)
  4882. for i = 0, 4 do
  4883. slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
  4884. end
  4885. coroutine.resume(coroutine.create(function()
  4886. local eff = Instance.new("ParticleEmitter",xa)
  4887. eff.Texture = "rbxassetid://2344870656"
  4888. eff.LightEmission = 1
  4889. eff.Color = ColorSequence.new(xa.Color)
  4890. eff.Rate = 10000000
  4891. eff.Enabled = true
  4892. eff.Lifetime = NumberRange.new(2.5)
  4893. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4894. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4895. eff.Speed = NumberRange.new(200)
  4896. eff.Drag = 5
  4897. eff.Rotation = NumberRange.new(-500,500)
  4898. eff.SpreadAngle = Vector2.new(0,900)
  4899. eff.RotSpeed = NumberRange.new(-500,500)
  4900. wait(0.2)
  4901. eff.Enabled = false
  4902. end))
  4903. coroutine.resume(coroutine.create(function()
  4904. local eff = Instance.new("ParticleEmitter",xa)
  4905. eff.Texture = "rbxassetid://2273224484"
  4906. eff.LightEmission = 1
  4907. eff.Color = ColorSequence.new(BrickColor.random().Color)
  4908. eff.Rate = 500000
  4909. eff.Lifetime = NumberRange.new(1,3)
  4910. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  4911. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4912. eff.Speed = NumberRange.new(50,500)
  4913. eff.Drag = 5
  4914. eff.Rotation = NumberRange.new(-500,500)
  4915. eff.VelocitySpread = 9000
  4916. eff.RotSpeed = NumberRange.new(-50,50)
  4917. wait(0.25)
  4918. eff.Enabled = false
  4919. end))
  4920. coroutine.resume(coroutine.create(function()
  4921. for i = 0, 19 do
  4922. swait()
  4923. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  4924. end
  4925. hum.CameraOffset = vt(0,0,0)
  4926. end))
  4927. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  4928. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  4929. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  4930. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  4931. end
  4932. end))
  4933. attack = false
  4934. hum.WalkSpeed = storehumanoidWS
  4935. end
  4936.  
  4937.  
  4938. function FallenOrbs()
  4939. attack = true
  4940. hum.WalkSpeed = 2
  4941. local keptcolor = MAINRUINCOLOR
  4942. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  4943. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  4944. local radm = math.random(1,3)
  4945. if radm == 1 then
  4946. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  4947. elseif radm == 2 then
  4948. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  4949. elseif radm == 3 then
  4950. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  4951. end
  4952. local obj1 = script.chring:Clone()
  4953. obj1.Parent = char
  4954. obj1.Transparency = 1
  4955. obj1.Color = BrickColor.new("Toothpaste").Color
  4956. local obj2 = script.spball:Clone()
  4957. obj2.Parent = char
  4958. obj2.Transparency = 1
  4959. obj2.Color = MAINRUINCOLOR.Color
  4960. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4961. cfor.Anchored = true
  4962. cfor.CFrame = obj2.CFrame
  4963. local cef = Instance.new("ParticleEmitter",cfor)
  4964. cef.Texture = "rbxassetid://2344870656"
  4965. cef.LightEmission = 1
  4966. cef.Color = ColorSequence.new(obj2.Color)
  4967. cef.Rate = 150
  4968. cef.Lifetime = NumberRange.new(0.25)
  4969. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4970. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  4971. cef.Speed = NumberRange.new(0)
  4972. local rval = 0
  4973. local eval = 1
  4974. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  4975. for i = 0,10,0.1 do
  4976. swait()
  4977. rval = rval + math.random(30,40)
  4978. eval = eval + 1.5
  4979. obj1.Transparency = obj1.Transparency - 0.003
  4980. obj1.Size = obj1.Size + vt(0,1,1)
  4981. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  4982. obj2.Transparency = obj2.Transparency - 0.005
  4983. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  4984. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  4985. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  4986. cfor.CFrame = obj2.CFrame
  4987. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Deep orange"))
  4988. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Toothpaste"))
  4989. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4990. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  4991. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  4992. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(-20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(70)),.3)
  4993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 2 * math.cos(sine / 37)),math.rad(5 + 1 * math.cos(sine / 58)),math.rad(-70 + 2 * math.cos(sine / 53))),.3)
  4994. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 45))),.3)
  4995. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  4996. end
  4997. cef.Enabled = false
  4998. coroutine.resume(coroutine.create(function()
  4999. for i = 0,49 do
  5000. swait()
  5001. rval = rval + 100
  5002. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5003. obj2.Transparency = obj2.Transparency + 0.02
  5004. obj2.Size = obj2.Size + vt(5,5,5)
  5005. obj1.Transparency = obj1.Transparency + 0.02
  5006. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5007. end
  5008. obj1:Destroy()
  5009. obj2:Destroy()
  5010. cfor:Destroy()
  5011. end))
  5012. for i = 0, 9 do
  5013. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Deep orange"))
  5014. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Toothpaste"))
  5015. end
  5016. sphere2(3,"Add",obj2.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),1,1,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5017. sphere2(3,"Add",obj2.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),2,2,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5018. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  5019. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  5020. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  5021. coroutine.resume(coroutine.create(function()
  5022. for i = 0, 19 do
  5023. swait()
  5024. local custcol = math.random(1,3)
  5025. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  5026. if custcol == 1 then
  5027. dis.BrickColor = MAINRUINCOLOR
  5028. elseif custcol == 2 then
  5029. dis.BrickColor = BrickColor.new("Toothpaste")
  5030. elseif custcol == 3 then
  5031. dis.BrickColor = BrickColor.new("Deep orange")
  5032. end
  5033. dis.Anchored = true
  5034. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  5035. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  5036. CreateMesh(dis,"Sphere",2,2,2)
  5037. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5038. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  5039. coroutine.resume(coroutine.create(function()
  5040. wait(0.5)
  5041. dis.Anchored = false
  5042. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  5043. local at1 = Instance.new("Attachment",dis)
  5044. at1.Position = vt(-1,0,0)
  5045. local at2 = Instance.new("Attachment",dis)
  5046. at2.Position = vt(1,0,0)
  5047. local trl = Instance.new('Trail',dis)
  5048. trl.Attachment0 = at1
  5049. trl.FaceCamera = true
  5050. trl.Attachment1 = at2
  5051. trl.Texture = "rbxassetid://1049219073"
  5052. trl.LightEmission = 1
  5053. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5054. trl.Color = ColorSequence.new(dis.Color)
  5055. trl.Lifetime = 0.6
  5056. local a = Instance.new("Part",workspace)
  5057. a.Name = "Direction"
  5058. a.Anchored = true
  5059. a.BrickColor = bc("Bright red")
  5060. a.Material = "Neon"
  5061. a.Transparency = 1
  5062. a.CanCollide = false
  5063. local ray = Ray.new(
  5064. dis.CFrame.p, -- origin
  5065. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5066. )
  5067. local ignore = dis
  5068. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5069. a.BottomSurface = 10
  5070. a.TopSurface = 10
  5071. local distance = (dis.CFrame.p - position).magnitude
  5072. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5073. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5074. dis.CFrame = a.CFrame
  5075. a:Destroy()
  5076. local bv = Instance.new("BodyVelocity")
  5077. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5078. bv.velocity = dis.CFrame.lookVector*500
  5079. bv.Parent = dis
  5080. game:GetService("Debris"):AddItem(dis, 5)
  5081. local hitted = false
  5082. coroutine.resume(coroutine.create(function()
  5083. dis.Touched:connect(function(hit)
  5084. if hitted == false and hit.Parent ~= char then
  5085. hitted = true
  5086. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  5087. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  5088. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  5089. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  5090. coroutine.resume(coroutine.create(function()
  5091. local eff = Instance.new("ParticleEmitter",dis)
  5092. eff.Texture = "rbxassetid://2344870656"
  5093. eff.LightEmission = 1
  5094. eff.Color = ColorSequence.new(dis.Color)
  5095. eff.Rate = 10000000
  5096. eff.Enabled = true
  5097. --eff.EmissionDirection = "Front"
  5098. eff.Lifetime = NumberRange.new(3)
  5099. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  5100. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5101. eff.Speed = NumberRange.new(250)
  5102. eff.Drag = 5
  5103. eff.Rotation = NumberRange.new(-500,500)
  5104. eff.SpreadAngle = Vector2.new(0,900)
  5105. eff.RotSpeed = NumberRange.new(-500,500)
  5106. wait(0.2)
  5107. eff.Enabled = false
  5108. end))
  5109. coroutine.resume(coroutine.create(function()
  5110. for i = 0, 4 do
  5111. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  5112. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5113. local at1 = Instance.new("Attachment",disr)
  5114. at1.Position = vt(-10,0,0)
  5115. local at2 = Instance.new("Attachment",disr)
  5116. at2.Position = vt(10,0,0)
  5117. local trl = Instance.new('Trail',disr)
  5118. trl.Attachment0 = at1
  5119. trl.FaceCamera = true
  5120. trl.Attachment1 = at2
  5121. trl.Texture = "rbxassetid://2342682798"
  5122. trl.LightEmission = 1
  5123. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5124. trl.Color = ColorSequence.new(disr.Color)
  5125. trl.Lifetime = 0.5
  5126. local bv = Instance.new("BodyVelocity")
  5127. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5128. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  5129. bv.Parent = disr
  5130. local val = 0
  5131. coroutine.resume(coroutine.create(function()
  5132. swait(30)
  5133. for i = 0, 9 do
  5134. swait()
  5135. val = val + 0.1
  5136. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5137. end
  5138. game:GetService("Debris"):AddItem(disr, 3)
  5139. end))
  5140. end
  5141. local eff = Instance.new("ParticleEmitter",dis)
  5142. eff.Texture = "rbxassetid://2273224484"
  5143. eff.LightEmission = 1
  5144. eff.Color = ColorSequence.new(dis.Color)
  5145. eff.Rate = 500000
  5146. eff.Lifetime = NumberRange.new(0.5,2)
  5147. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5148. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5149. eff.Speed = NumberRange.new(20,250)
  5150. eff.Drag = 5
  5151. eff.Rotation = NumberRange.new(-500,500)
  5152. eff.VelocitySpread = 9000
  5153. eff.RotSpeed = NumberRange.new(-50,50)
  5154. wait(0.5)
  5155. eff.Enabled = false
  5156. end))
  5157. for i = 0, 4 do
  5158. slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  5159. end
  5160. coroutine.resume(coroutine.create(function()
  5161. for i = 0, 19 do
  5162. swait()
  5163. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5164. end
  5165. hum.CameraOffset = vt(0,0,0)
  5166. end))
  5167. dis.Anchored = true
  5168. dis.Transparency = 1
  5169. wait(8)
  5170. dis:Destroy()
  5171. end
  5172. end)
  5173. end))
  5174. end))
  5175. end
  5176. end))
  5177. for i = 0,9,0.1 do
  5178. swait()
  5179. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  5180. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  5181. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  5182. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
  5183. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
  5184. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  5185. end
  5186. attack = false
  5187. hum.WalkSpeed = storehumanoidWS
  5188. end
  5189.  
  5190. function EquinoxOrbs()
  5191. hum.WalkSpeed = 0
  5192. attack = true
  5193. for i = 0,1,0.1 do
  5194. swait()
  5195. 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)),.2)
  5196. 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)
  5197. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5198. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5199. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  5200. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  5201. end
  5202. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  5203. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5204. for i = 0, 24 do
  5205. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  5206. end
  5207. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  5208. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  5209. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  5210. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  5211. for i = 0,4,0.1 do
  5212. swait()
  5213. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  5214. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5215. CreateMesh(dis,"Sphere",1,1,1)
  5216. dis.Anchored = true
  5217. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5218. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  5219. CreateMesh(dis2,"Sphere",1,1,1)
  5220. dis2.Anchored = true
  5221. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  5222. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5223. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  5224. coroutine.resume(coroutine.create(function()
  5225. swait(60)
  5226. dis.Transparency = 1
  5227. dis2.Transparency = 1
  5228. coroutine.resume(coroutine.create(function()
  5229. for i = 0, 19 do
  5230. swait()
  5231. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5232. end
  5233. hum.CameraOffset = vt(0,0,0)
  5234. end))
  5235. coroutine.resume(coroutine.create(function()
  5236. local eff = Instance.new("ParticleEmitter",dis)
  5237. eff.Texture = "rbxassetid://2273224484"
  5238. eff.LightEmission = 1
  5239. eff.Color = ColorSequence.new(dis.Color)
  5240. eff.Rate = 500000
  5241. eff.Lifetime = NumberRange.new(0.5,2)
  5242. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5243. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5244. eff.Speed = NumberRange.new(50,450)
  5245. eff.Drag = 5
  5246. eff.Rotation = NumberRange.new(-500,500)
  5247. eff.VelocitySpread = 9000
  5248. eff.RotSpeed = NumberRange.new(-50,50)
  5249. local eff2 = eff:Clone()
  5250. eff2.Parent = dis2
  5251. eff2.LightEmission = 0
  5252. eff2.Color = ColorSequence.new(dis2.Color)
  5253. wait(0.25)
  5254. eff.Enabled = false
  5255. eff2.Enabled = false
  5256. end))
  5257. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  5258. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  5259. for i = 0, 2 do
  5260. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  5261. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  5262. end
  5263. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  5264. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  5265. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  5266. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  5267. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  5268. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  5269. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  5270. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  5271. end))
  5272. game:GetService("Debris"):AddItem(dis, 5)
  5273. game:GetService("Debris"):AddItem(dis2, 5)
  5274. 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)),.2)
  5275. 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)
  5276. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5277. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5278. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  5279. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  5280. end
  5281. attack = false
  5282. hum.WalkSpeed = storehumanoidWS
  5283. end
  5284. function FallenDEMISE()
  5285. attack = true
  5286. hum.WalkSpeed = 0
  5287. local keptcolor = MAINRUINCOLOR
  5288. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  5289. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  5290. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  5291. for i = 0, 15, 0.1 do
  5292. swait()
  5293. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5294. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5295. local at1 = Instance.new("Attachment",dis)
  5296. at1.Position = vt(-25000,0,0)
  5297. local at2 = Instance.new("Attachment",dis)
  5298. at2.Position = vt(25000,0,0)
  5299. local trl = Instance.new('Trail',dis)
  5300. trl.Attachment0 = at1
  5301. trl.FaceCamera = true
  5302. trl.Attachment1 = at2
  5303. trl.Texture = "rbxassetid://1049219073"
  5304. trl.LightEmission = 1
  5305. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5306. trl.Color = ColorSequence.new(dis.Color)
  5307. trl.Lifetime = 5
  5308. local bv = Instance.new("BodyVelocity")
  5309. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5310. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5311. bv.Parent = dis
  5312. game:GetService("Debris"):AddItem(dis, 1)
  5313. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  5314. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
  5315. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
  5316. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  5317. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  5318. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5319. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5320. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5321. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5322. end
  5323. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  5324. for i = 0, 30, 0.1 do
  5325. swait()
  5326. coroutine.resume(coroutine.create(function()
  5327. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  5328. if v:FindFirstChild('Head') then
  5329. dmg(v)
  5330. end
  5331. end
  5332. end))
  5333. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5334. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5335. local at1 = Instance.new("Attachment",dis)
  5336. at1.Position = vt(-50000,0,0)
  5337. local at2 = Instance.new("Attachment",dis)
  5338. at2.Position = vt(50000,0,0)
  5339. local trl = Instance.new('Trail',dis)
  5340. trl.Attachment0 = at1
  5341. trl.FaceCamera = true
  5342. trl.Attachment1 = at2
  5343. trl.Texture = "rbxassetid://1049219073"
  5344. trl.LightEmission = 1
  5345. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5346. trl.Color = ColorSequence.new(dis.Color)
  5347. trl.Lifetime = 10
  5348. local bv = Instance.new("BodyVelocity")
  5349. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5350. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  5351. bv.Parent = dis
  5352. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  5353. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  5354. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  5355. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  5356. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  5357. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  5358. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  5359. for i = 0, 2 do
  5360. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
  5361. end
  5362. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  5363. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  5364. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5365. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5366. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5367. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5368. end
  5369. attack = false
  5370. hum.WalkSpeed = storehumanoidWS
  5371. end
  5372.  
  5373. function SHDTwist()
  5374. attack = true
  5375. hum.WalkSpeed = 2
  5376. local radm = math.random(1,3)
  5377. if radm == 1 then
  5378. bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1)
  5379. elseif radm == 2 then
  5380. bosschatfunc("How cute.",MAINRUINCOLOR.Color,1)
  5381. elseif radm == 3 then
  5382. bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1)
  5383. end
  5384. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  5385. local obj1 = script.chring2:Clone()
  5386. obj1.Parent = char
  5387. obj1.Transparency = 1
  5388. obj1.Size = vt(1,1,1)
  5389. obj1.Color = BrickColor.new("Pink").Color
  5390. local obj2 = script.spball:Clone()
  5391. obj2.Parent = char
  5392. obj2.Transparency = 1
  5393. obj2.Size = vt(1,1,1)
  5394. obj2.Color = MAINRUINCOLOR.Color
  5395. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5396. cfor.Anchored = true
  5397. cfor.CFrame = obj2.CFrame
  5398. local cef = Instance.new("ParticleEmitter",cfor)
  5399. cef.Texture = "rbxassetid://2344870656"
  5400. cef.LightEmission = 1
  5401. cef.Color = ColorSequence.new(obj2.Color)
  5402. cef.Rate = 150
  5403. cef.Lifetime = NumberRange.new(0.25)
  5404. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5405. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5406. cef.Speed = NumberRange.new(0)
  5407. local rval = 0
  5408. local eval = 1
  5409. for i = 0,7,0.1 do
  5410. swait()
  5411. rval = rval + math.random(30,40)
  5412. eval = eval + 0.45
  5413. obj1.Transparency = obj1.Transparency - 0.005
  5414. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  5415. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5416. obj2.Transparency = obj2.Transparency - 0.007
  5417. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  5418. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5419. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5420. cfor.CFrame = obj2.CFrame
  5421. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5422. sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*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.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5423. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  5424. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  5425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-50)),.3)
  5426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  5427. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  5428. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  5429. end
  5430. cef.Enabled = false
  5431. coroutine.resume(coroutine.create(function()
  5432. for i = 0,49 do
  5433. swait()
  5434. rval = rval + 100
  5435. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5436. obj2.Transparency = obj2.Transparency + 0.02
  5437. obj2.Size = obj2.Size + vt(5,5,5)
  5438. obj1.Transparency = obj1.Transparency + 0.02
  5439. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5440. end
  5441. obj1:Destroy()
  5442. obj2:Destroy()
  5443. cfor:Destroy()
  5444. end))
  5445. local lva = 1
  5446. local ica = 0
  5447. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5448. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  5449. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  5450. sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5451. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5452.  
  5453. local a = Instance.new("Part",workspace)
  5454. a.Name = "Direction"
  5455. a.Anchored = true
  5456. a.BrickColor = bc("Bright red")
  5457. a.Material = "Neon"
  5458. a.Transparency = 1
  5459. a.CanCollide = false
  5460. local ray = Ray.new(
  5461. cent.CFrame.p, -- origin
  5462. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  5463. )
  5464. local ignore = cent
  5465. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5466. a.BottomSurface = 10
  5467. a.TopSurface = 10
  5468. local distance = (cent.CFrame.p - position).magnitude
  5469. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5470. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  5471. cent.CFrame = a.CFrame
  5472. a:Destroy()
  5473. local bv = Instance.new("BodyVelocity")
  5474. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5475. bv.velocity = cent.CFrame.lookVector*0
  5476. bv.Parent = cent
  5477. game:GetService("Debris"):AddItem(cent, 20)
  5478. local hitted = false
  5479. coroutine.resume(coroutine.create(function()
  5480. while true do
  5481. swait(1)
  5482. if hitted == false and cent.Parent ~= nil then
  5483. ica = ica + 4*lva
  5484. lva = lva + 0.1
  5485. bv.velocity = cent.CFrame.lookVector*ica
  5486. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  5487. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
  5488. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
  5489. elseif hitted == true or cent.Parent == nil then
  5490. break
  5491. end
  5492. end
  5493. end))
  5494. coroutine.resume(coroutine.create(function()
  5495. cent.Touched:connect(function(hit)
  5496. if hitted == false and hit.Parent ~= char then
  5497. hitted = true
  5498. cent.Anchored = true
  5499. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  5500. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  5501. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  5502. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  5503. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  5504. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5505. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5506. for i = 0, 19 do
  5507. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,400)/250,BrickColor.new("Pink"))
  5508. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,300)/250,BrickColor.new("Pastel light blue"))
  5509. end
  5510. coroutine.resume(coroutine.create(function()
  5511. local eff = Instance.new("ParticleEmitter",cent)
  5512. eff.Texture = "rbxassetid://2344870656"
  5513. eff.LightEmission = 1
  5514. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  5515. eff.Rate = 10000000
  5516. eff.Enabled = true
  5517. --eff.EmissionDirection = "Front"
  5518. eff.Lifetime = NumberRange.new(5)
  5519. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
  5520. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5521. eff.Speed = NumberRange.new(350)
  5522. eff.Drag = 5
  5523. eff.Rotation = NumberRange.new(-500,500)
  5524. eff.SpreadAngle = Vector2.new(0,900)
  5525. eff.RotSpeed = NumberRange.new(-500,500)
  5526. local eff2 = eff:Clone()
  5527. eff2.Parent = cent
  5528. eff2.Speed = NumberRange.new(250)
  5529. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  5530. wait(0.2)
  5531. eff.Enabled = false
  5532. eff2.Enabled = false
  5533. end))
  5534. end
  5535. end)
  5536. end))
  5537. attack = false
  5538. hum.WalkSpeed = storehumanoidWS
  5539. end
  5540. -------------------------------------
  5541.  
  5542. Humanoid.Animator.Parent = nil
  5543.  
  5544. -------------------------------------
  5545.  
  5546. local attacktype = 1
  5547. mouse.Button1Down:connect(function()
  5548. if attack == false and attacktype == 1 then
  5549. attacktype = 2
  5550. attackone()
  5551. elseif attack == false and attacktype == 2 then
  5552. attacktype = 3
  5553. attacktwo()
  5554. elseif attack == false and attacktype == 3 then
  5555. attacktype = 1
  5556. attackthree()
  5557. elseif attack == false and attacktype == 4 then
  5558. attacktype = 1
  5559. --attackfour()
  5560. end
  5561. end)
  5562. mouse.KeyDown:connect(function(k)
  5563. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  5564. --normalmog() ---Disabled due to crashing... only in VSB
  5565. ModeOfGlitch = 1
  5566. storehumanoidWS = 16
  5567. hum.WalkSpeed = 16
  5568. rainbowmode = false
  5569. chaosmode = false
  5570. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5571. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5572. MAINRUINCOLOR = BrickColor.new("Really red")
  5573. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  5574. end
  5575. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  5576. ModeOfGlitch = 2
  5577. storehumanoidWS = 16
  5578. hum.WalkSpeed = 16
  5579. rainbowmode = false
  5580. chaosmode = false
  5581. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  5582. newTheme("rbxassetid://1539245059",0,1,1.25)
  5583. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5584. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5585. end
  5586. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  5587. ModeOfGlitch = 3
  5588. storehumanoidWS = 16
  5589. hum.WalkSpeed = 16
  5590. rainbowmode = false
  5591. chaosmode = false
  5592. RecolorTextAndRename("Royal Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  5593. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  5594. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5595. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5596. end
  5597. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  5598. ModeOfGlitch = 4
  5599. storehumanoidWS = 16
  5600. hum.WalkSpeed = 16
  5601. rainbowmode = false
  5602. chaosmode = true
  5603. RecolorTextAndRename("Altered Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  5604. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  5605. MAINRUINCOLOR = BrickColor.new("Black")
  5606. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5607. end
  5608. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  5609. ModeOfGlitch = 5
  5610. storehumanoidWS = 16
  5611. hum.WalkSpeed = 16
  5612. rainbowmode = false
  5613. chaosmode = false
  5614. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  5615. newTheme("rbxassetid://661079869",0,1.02,1.25)
  5616. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  5617. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5618. end
  5619. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  5620. ModeOfGlitch = 6
  5621. storehumanoidWS = 100
  5622. hum.WalkSpeed = 100
  5623. rainbowmode = false
  5624. chaosmode = false
  5625. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  5626. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  5627. MAINRUINCOLOR = BrickColor.new("White")
  5628. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5629. end
  5630. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  5631. ModeOfGlitch = 8
  5632. storehumanoidWS = 140
  5633. hum.WalkSpeed = 140
  5634. rainbowmode = false
  5635. chaosmode = false
  5636. RecolorTextAndRename("Universe Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  5637. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  5638. MAINRUINCOLOR = BrickColor.new("Alder")
  5639. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5640. end
  5641. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  5642. ModeOfGlitch = 9
  5643. storehumanoidWS = 150
  5644. hum.WalkSpeed = 150
  5645. rainbowmode = false
  5646. chaosmode = false
  5647. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  5648. newTheme("rbxassetid://1296208488",0,1.01,1.25)
  5649. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  5650. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5651. end
  5652. if k == "m" and attack == false and ModeOfGlitch == 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  5653. ModeOfGlitch = 808080808080808080808080
  5654. storehumanoidWS = 250
  5655. hum.WalkSpeed = 250
  5656. rainbowmode = false
  5657. chaosmode = false
  5658. --[[CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  5659. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  5660. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  5661. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)]]--
  5662. RecolorTextAndRename("The True Guest",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  5663. newThemeCust("rbxassetid://398455752",0,1.01,2)
  5664. MAINRUINCOLOR = BrickColor.new("Really blue")
  5665. bosschatfunc("Are you gonna stop now or what?",MAINRUINCOLOR.Color,1)
  5666. disably = false
  5667. warnedpeople("SYNTH ONBOUND!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
  5668. disably = true
  5669. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Alder"),0,BrickColor.new("Pastel light blue"),true,true)
  5670. end
  5671. if k == "m" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 88893333388 then
  5672. ModeOfGlitch = 88893333388
  5673. storehumanoidWS = 200
  5674. hum.WalkSpeed = 200
  5675. rainbowmode = false
  5676. chaosmode = false
  5677. RecolorTextAndRename("The Last Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  5678. newThemeCust("rbxassetid://1504604335",0,1.01,1.5)
  5679. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5680. bosschatfunc("Evenly with your rejections.",MAINRUINCOLOR.Color,1)
  5681. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5682. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5683. end
  5684. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  5685. ModeOfGlitch = 8889
  5686. storehumanoidWS = 180
  5687. hum.WalkSpeed = 180
  5688. rainbowmode = false
  5689. chaosmode = false
  5690. RecolorTextAndRename("Unlimited Guest",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  5691. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  5692. MAINRUINCOLOR = BrickColor.new("Lilac")
  5693. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5694. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5695. end
  5696. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 664663666 then
  5697. ModeOfGlitch = 664663666
  5698. storehumanoidWS = 175
  5699. hum.WalkSpeed = 175
  5700. rainbowmode = false
  5701. chaosmode = false
  5702. RecolorTextAndRename("Murderous Guest",Color3.new(0.1,0,0),Color3.new(0.25,0,0),"Antique")
  5703. newTheme("rbxassetid://723652641",0,1.01,1.5)
  5704. MAINRUINCOLOR = BrickColor.new("Maroon")
  5705. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5706. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5707. end
  5708. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 765688533321 then
  5709. ModeOfGlitch = 765688533321
  5710. storehumanoidWS = 260
  5711. hum.WalkSpeed = 260
  5712. rainbowmode = false
  5713. chaosmode = false
  5714. RecolorTextAndRename("Digital Guest",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade")
  5715. newTheme("rbxassetid://899090278",0,1.005,1.75)
  5716. MAINRUINCOLOR = BrickColor.new("Really black")
  5717. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5718. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Really black"),true,true)
  5719. end
  5720. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  5721. ModeOfGlitch = 55469696922
  5722. storehumanoidWS = 275
  5723. hum.WalkSpeed = 275
  5724. rainbowmode = false
  5725. chaosmode = false
  5726. RecolorTextAndRename("ENRAGED GUEST",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  5727. newTheme("rbxassetid://582020393",0,1.005,1.25)
  5728. MAINRUINCOLOR = BrickColor.new("Hot pink")
  5729. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5730. RecolorThing(MAINRUINCOLOR,BrickColor.new("Crimson"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5731. end
  5732. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  5733. ModeOfGlitch = 4367677813
  5734. storehumanoidWS = 225
  5735. hum.WalkSpeed = 225
  5736. rainbowmode = false
  5737. chaosmode = false
  5738. RecolorTextAndRename("Purital Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  5739. newTheme("rbxassetid://363284685",0,1.01,1.25)
  5740. MAINRUINCOLOR = BrickColor.new("Baby blue")
  5741. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5742. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5743. end
  5744. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  5745. ModeOfGlitch = 9999999921111
  5746. storehumanoidWS = 300
  5747. hum.WalkSpeed = 300
  5748. rainbowmode = false
  5749. chaosmode = false
  5750. RecolorTextAndRename("Extreme Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  5751. newTheme("rbxassetid://643309199",0,1.01,1.5)
  5752. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  5753. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5754. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5755. end
  5756. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  5757. ModeOfGlitch = 999999999556
  5758. storehumanoidWS = 500
  5759. hum.WalkSpeed = 500
  5760. rainbowmode = false
  5761. chaosmode = false
  5762. RecolorTextAndRename("INSANE GUEST",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  5763. newTheme("rbxassetid://719008519",0,1.02,1.25)
  5764. MAINRUINCOLOR = BrickColor.new("Navy blue")
  5765. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5766. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Navy blue"),0,BrickColor.new("Really blue"),true,true)
  5767. end
  5768. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  5769. ModeOfGlitch = 1264532489
  5770. storehumanoidWS = 250
  5771. hum.WalkSpeed = 250
  5772. rainbowmode = false
  5773. chaosmode = false
  5774. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  5775. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  5776. MAINRUINCOLOR = BrickColor.new("Pastel green")
  5777. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  5778. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),true,true)
  5779. end
  5780. if k == "l" and mutedtog == false then
  5781. mutedtog = true
  5782. kan.Volume = 0
  5783. elseif k == "l" and mutedtog == true then
  5784. mutedtog = false
  5785. kan.Volume = 1.25
  5786. end
  5787. if k == "p" and toggleTag == false then
  5788. toggleTag = true
  5789. modet.TextTransparency = 0
  5790. modet.TextStrokeTransparency = 0
  5791. elseif k == "p" and toggleTag == true then
  5792. toggleTag = false
  5793. modet.TextTransparency = 1
  5794. modet.TextStrokeTransparency = 1
  5795. end
  5796. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5797. ExtinctiveHeartbreak()
  5798. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  5799. HeavenlyDisk()
  5800. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  5801. CorruptionEvent()
  5802. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  5803. RapidBurst()
  5804. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  5805. --DivineLights()
  5806. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  5807. EquinoxOrbs()
  5808. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  5809. FallenOrbs()
  5810. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  5811. SHDTwist()
  5812. end
  5813. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  5814. FallenDEMISE()
  5815. end
  5816. if k == "x" and attack == false and ModeOfGlitch == 1 then
  5817. EndGROUND()
  5818. end
  5819. end)
  5820.  
  5821. coroutine.resume(coroutine.create(function()
  5822. while true do
  5823. swait()
  5824. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  5825. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  5826. if ModeOfGlitch == 765688533321 then
  5827. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really red"),0)
  5828. elseif ModeOfGlitch == 88893333388 then
  5829. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really blue"),0)
  5830. elseif ModeOfGlitch == 808080808080808080808080 then
  5831. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Alder"),0)
  5832. end
  5833. end
  5834. end
  5835. end))
  5836. --[[coroutine.resume(coroutine.create(function()
  5837. while true do
  5838. swait(2)
  5839. if chaosmode == true then
  5840. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  5841. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  5842. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  5843. RecolorTextAndRename("Altered Guest",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  5844. for i, v in pairs(mw1:GetChildren()) do
  5845. if v:IsA("Part") then
  5846. v.Transparency = 0.75
  5847. v.BrickColor = BrickColor.random()
  5848. v.Material = "Neon"
  5849. end
  5850. end
  5851. for i, v in pairs(m2:GetChildren()) do
  5852. if v:IsA("Part") then
  5853. v.BrickColor = BrickColor.random()
  5854. v.Material = "Neon"
  5855. end
  5856. end
  5857. end
  5858. end
  5859. end))]]--
  5860. Humanoid.Name = "STARGLITCHER"
  5861. Humanoid.MaxHealth = math.huge
  5862. Humanoid.Health = math.huge
  5863. Instance.new("ForceField",char).Visible = false
  5864.  
  5865. local bguis = Instance.new("BillboardGui",tors)
  5866. bguis.Size = UDim2.new(25, 0, 25, 0)
  5867. local imgca = Instance.new("ImageLabel",bguis)
  5868. imgca.BackgroundTransparency = 1
  5869. imgca.ImageTransparency = 1
  5870. imgca.Size = UDim2.new(1,0,1,0)
  5871. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  5872. imgca.ImageColor3 = Color3.new(0,0,0)
  5873.  
  5874. idleanim=.4
  5875. while true do
  5876. if mutedtog == false then
  5877. kan.Volume = currentVol
  5878. elseif mutedtog == true then
  5879. kan.Volume = 0
  5880. end
  5881. kan.PlaybackSpeed = currentPitch
  5882. kan.Pitch = currentPitch
  5883. kan.SoundId = currentThemePlaying
  5884. kan.Looped = true
  5885. kan.Parent = char
  5886. kan:Resume()
  5887. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  5888. imgca.ImageTransparency = 1
  5889. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  5890. imgca.ImageColor3 = MAINRUINCOLOR.Color
  5891. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  5892. end
  5893. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  5894. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  5895. coroutine.resume(coroutine.create(function()
  5896. if chaosmode == true then
  5897. for i, v in pairs(mw1:GetChildren()) do
  5898. if v:IsA("Part") then
  5899. v.Transparency = 0
  5900. v.BrickColor = BrickColor.random()
  5901. v.Material = "Neon"
  5902. end
  5903. end
  5904. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  5905. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  5906. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  5907. RecolorTextAndRename("Altered Guest",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  5908. end
  5909. end))
  5910. if chaosmode == false then
  5911. modet.Position = UDim2.new(0,0,0,0)
  5912. modet.Rotation = -5 * math.cos(sine / 32)
  5913. techc.Rotation = techc.Rotation + 1
  5914. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  5915. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  5916. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  5917. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  5918. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  5919. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  5920. else
  5921. techc.Rotation = techc.Rotation + 1
  5922. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  5923. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  5924. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  5925. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  5926. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  5927. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  5928. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  5929. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  5930. end
  5931. CameraManager()
  5932.  
  5933. swait()
  5934. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  5935. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  5936. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  5937. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  5938. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  5939. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  5940. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  5941. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 then
  5942. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  5943. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  5944. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  5945. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  5946. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  5947. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  5948. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then
  5949. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  5950. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  5951. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  5952. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  5953. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  5954. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  5955. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 999999999556 then
  5956. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  5957. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  5958. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  5959. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  5960. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  5961. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  5962. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  5963. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  5964. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  5965. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  5966. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  5967. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  5968. end
  5969. sine = sine + change
  5970. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5971. local velderp=RootPart.Velocity.y
  5972. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5973. coroutine.resume(coroutine.create(function()
  5974. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  5975. if hitfloor ~= nil then
  5976. effar.Enabled = true
  5977. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5978. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
  5979. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  5980. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR)
  5981. end
  5982. if ModeOfGlitch == 808080808080808080808080 then
  5983. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Alder"))
  5984. elseif ModeOfGlitch == 765688533321 then
  5985. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really red"))
  5986. elseif ModeOfGlitch == 1264532489 then
  5987. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Deep orange"))
  5988. elseif ModeOfGlitch == 999999999556 then
  5989. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really blue"))
  5990. end
  5991. elseif hitfloor == nil then
  5992. effar.Enabled = false
  5993. end
  5994. elseif ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 808080808080808080808080 then
  5995. effar.Enabled = false
  5996. end
  5997. end))
  5998. if equipped==true or equipped==false then
  5999. if attack==false then
  6000. idle=idle+1
  6001. else
  6002. idle=0
  6003. end
  6004. if idle>=500 then
  6005. if attack==false then
  6006. --Sheath()
  6007. end
  6008. end
  6009. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6010. Anim="Jump"
  6011. if attack==false then
  6012. 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)
  6013. 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)
  6014. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  6015. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6016. 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)
  6017. 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)
  6018. end
  6019. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6020. Anim="Fall"
  6021. if attack==false then
  6022. 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)
  6023. 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)
  6024. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  6025. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  6026. 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)
  6027. 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)
  6028. end
  6029. elseif torvel<1 and hitfloor~=nil then
  6030. Anim="Idle"
  6031. if attack==false then
  6032. if ModeOfGlitch == 1 then
  6033. local snap = math.random(1,10)
  6034. if snap == 1 then
  6035. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  6036. end
  6037. 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(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  6038. 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(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  6039. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  6040. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  6041. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  6042. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  6043. elseif ModeOfGlitch == 2 then
  6044. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  6045. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  6046. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  6047. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  6048. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6049. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6050. elseif ModeOfGlitch == 3 then
  6051. local snap = math.random(1,32)
  6052. if snap == 1 then
  6053. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  6054. end
  6055. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  6056. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  6057. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  6058. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6059. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  6060. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  6061. elseif ModeOfGlitch == 4 then
  6062. local snap = math.random(1,5)
  6063. if snap == 1 then
  6064. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  6065. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  6066. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  6067. end
  6068. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  6069. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  6070. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6071. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6072. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  6073. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  6074. elseif ModeOfGlitch == 5 then
  6075. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  6076. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  6077. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  6078. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  6079. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  6080. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  6081. elseif ModeOfGlitch == 6 then
  6082. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  6083. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  6084. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6086. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
  6087. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  6088. elseif ModeOfGlitch == 8 then
  6089. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  6090. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  6091. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
  6092. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
  6093. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6094. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6095. elseif ModeOfGlitch == 9 then
  6096. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6097. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  6098. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  6099. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  6100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  6101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6102. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
  6103. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  6104. elseif ModeOfGlitch == 8889 then
  6105. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  6106. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  6107. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  6108. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  6109. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  6110. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  6111. elseif ModeOfGlitch == 88893333388 then
  6112. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1)
  6113. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1)
  6114. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.25 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  6115. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  6116. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6117. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6118. elseif ModeOfGlitch == 808080808080808080808080 then
  6119. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  6120. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Alder"),BrickColor.new("Alder").Color)
  6121. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1)
  6122. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1)
  6123. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  6124. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  6125. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6126. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6127. elseif ModeOfGlitch == 1264532489 then
  6128. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Deep orange"),BrickColor.new("Deep orange").Color)
  6129. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Toothpaste"),BrickColor.new("Toothpaste").Color)
  6130. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6131. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  6132. 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 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  6133. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6134. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6135. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  6136. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6137. elseif ModeOfGlitch == 9999999921111 then
  6138. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  6139. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  6140. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  6141. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6142. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  6143. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  6144. elseif ModeOfGlitch == 4367677813 then
  6145. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  6146. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  6147. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  6148. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  6149. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  6150. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  6151. elseif ModeOfGlitch == 765688533321 then
  6152. local snap = math.random(1,32)
  6153. if snap == 1 then
  6154. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  6155. end
  6156. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
  6157. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  6158. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  6159. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  6160. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6161. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6162. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(-65 + 1 * math.cos(sine / 45))),.1)
  6163. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(73 - 3 * math.cos(sine / 45))),.1)
  6164. elseif ModeOfGlitch == 55469696922 then
  6165. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  6166. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  6167. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  6168. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  6169. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  6170. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  6171. elseif ModeOfGlitch == 664663666 then
  6172. local snap = math.random(1,32)
  6173. if snap == 1 then
  6174. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(32 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  6175. end
  6176. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-4 - 7 * math.cos(sine / 39))),.1)
  6177. 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 - 1 * math.cos(sine / 56)),math.rad(15 + 8 * math.cos(sine / 31))),.1)
  6178. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6179. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6180. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(14 + 1 * math.cos(sine / 45))),.1)
  6181. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(-9 - 3 * math.cos(sine / 45))),.1)
  6182. elseif ModeOfGlitch == 999999999556 then
  6183. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color)
  6184. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  6185. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  6186. 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 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  6187. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  6188. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
  6189. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6190. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6191. end
  6192. end
  6193. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6194. Anim="Walk"
  6195. if attack==false then
  6196. 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)
  6197. 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)
  6198. 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)
  6199. 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)
  6200. 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)
  6201. 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)
  6202. end
  6203. elseif torvel>=22 and hitfloor~=nil then
  6204. Anim="Run"
  6205. if attack==false then
  6206. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  6207. 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 + 95 * math.cos(sine / 6))),.1)
  6208. 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 + 95 * math.cos(sine / 6))),.1)
  6209. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  6210. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  6211. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  6212. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  6213. if ModeOfGlitch == 9 then
  6214. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6215. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*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.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  6216. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  6217. end
  6218. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  6219. 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)
  6220. 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)
  6221. 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)
  6222. 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)
  6223. 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)
  6224. 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)
  6225. if ModeOfGlitch == 765688533321 then
  6226. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  6227. end
  6228. end
  6229. end
  6230. end
  6231. end
  6232. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement