Advertisement
Guest User

Untitled

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