Advertisement
wamandnj

Untitled

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