Advertisement
iiJosephCats205

FUCK

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