Advertisement
ZaGodlyNoob

SGR Huh

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