SHARE
TWEET

(not mine)ultimate star glitcher

LazySans Aug 18th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Original is https://pastebin.com/mShZCQEe this is made in case if that page gets deleted.
  2.  
  3.  
  4. --TODO: add comments or something idk
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player = owner
  7. local Mouse,mouse,UserInputService,ContextActionService
  8. do
  9.     script.Parent = Player.Character
  10.     local CAS = {Actions={}}
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.     Event.Parent = Player.Character
  14.     local fakeEvent = function()
  15.         local t = {_fakeEvent=true}
  16.         t.Connect = function(self,f)self.Function=f end
  17.         t.connect = t.Connect
  18.         return t
  19.     end
  20.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22.     function CAS:BindAction(name,fun,touch,...)
  23.         CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  24.     end
  25.     function CAS:UnbindAction(name)
  26.         CAS.Actions[name] = nil
  27.     end
  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.     Event.OnServerEvent:Connect(function(plr,io)
  37.         if plr~=Player then return end
  38.         if io.isMouse then
  39.             m.Target = io.Target
  40.             m.Hit = io.Hit
  41.         elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  42.             if io.UserInputState == Enum.UserInputState.Begin then
  43.                 m:TrigEvent("Button1Down")
  44.             else
  45.                 m:TrigEvent("Button1Up")
  46.             end
  47.         else
  48.             for n,t in pairs(CAS.Actions) do
  49.                 for _,k in pairs(t.Keys) do
  50.                     if k==io.KeyCode then
  51.                         t.Function(t.Name,io.UserInputState,io)
  52.                     end
  53.                 end
  54.             end
  55.             if io.UserInputState == Enum.UserInputState.Begin then
  56.                 m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  57.                 UIS:TrigEvent("InputBegan",io,false)
  58.             else
  59.                 m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  60.                 UIS:TrigEvent("InputEnded",io,false)
  61.             end
  62.         end
  63.     end)
  64.     NLS([==[
  65.     local Player = game:GetService("Players").LocalPlayer
  66.    
  67.     local Char = Player.Character
  68.     local Event = Char:WaitForChild("UserInput_Event")
  69.    
  70.     local UIS = game:GetService("UserInputService")
  71.    
  72.     local input = function(io,a)
  73.         if a then return end
  74.         local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  75.         Event:FireServer(io)
  76.     end
  77.     UIS.InputBegan:Connect(input)
  78.     UIS.InputEnded:Connect(input)
  79.     local Changed = false
  80.     local Mouse = Player:GetMouse()
  81.     local h,t = Mouse.Hit,Mouse.Target
  82.     while wait(1/30) do
  83.         if h~=Mouse.Hit or t~=Mouse.Target then
  84.             Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  85.             h,t=Mouse.Hit,Mouse.Target
  86.         end
  87.     end
  88.     ]==],Player.Character)
  89.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  90. end
  91. if game.PlaceId == 843468296 then
  92. error("This script has been banned. You cannot use it here. Please use Place 2.")
  93. end
  94. plr = owner
  95. char = plr.Character
  96. hum = char.Humanoid
  97. local cam = game.Workspace.CurrentCamera
  98. Camera = cam
  99. local CamInterrupt = false
  100. local TwoD = false
  101. local TargetInfo = {nil, nil}
  102. cam.CameraType = "Custom"
  103. t = char.Torso
  104. h = char.Head
  105. ra = char["Right Arm"]
  106. la = char["Left Arm"]
  107. rl = char["Right Leg"]
  108. ll = char["Left Leg"]
  109. tors = char.Torso
  110. lleg = char["Left Leg"]
  111. root = char.HumanoidRootPart
  112. hed = char.Head
  113. rleg = char["Right Leg"]
  114. rarm = char["Right Arm"]
  115. larm = char["Left Arm"]
  116. radian = math.rad
  117. random = math.random
  118. Vec3 = Vector3.new
  119. Inst = Instance.new
  120. cFrame = CFrame.new
  121. Euler = CFrame.fromEulerAnglesXYZ
  122. vt = Vector3.new
  123. bc = BrickColor.new
  124. br = BrickColor.random
  125. it = Instance.new
  126. cf = CFrame.new
  127.  
  128. local Booleans = {
  129.   CamFollow = true,
  130.   GyroUse = true
  131. }
  132.  
  133. function lerp(object, newCFrame, alpha)
  134.   return object:lerp(newCFrame, alpha)
  135. end
  136.  
  137. local Directer = Inst("BodyGyro", root)
  138. Directer.MaxTorque = Vec3(0, 0, 0)
  139. Directer.P = 600000
  140. local CPart = Inst("Part")
  141. CPart.Anchored = true
  142. CPart.CanCollide = false
  143. CPart.Locked = true
  144. CPart.Transparency = 1
  145.  
  146. local rainbowmode = false
  147. local chaosmode = false
  148.  
  149. local kan = Instance.new("Sound",char)
  150. kan.Volume = 1.25
  151. kan.TimePosition = 0
  152. kan.PlaybackSpeed = 1
  153. kan.Pitch = 1
  154. kan.SoundId = "rbxassetid://614032233"
  155. kan.Name = "wrecked"
  156. kan.Looped = true
  157. kan:Play()
  158.  
  159. local currentThemePlaying = kan.SoundId
  160. local currentPitch = kan.Pitch
  161. local currentVol = kan.Volume
  162. function newTheme(ID,timepos,pitch,vol)
  163. local kanz = kan
  164. --kanz:Stop()
  165. kanz.Volume = vol
  166. --kanz.TimePosition = timepos
  167. kanz.PlaybackSpeed = pitch
  168. kanz.Pitch = pitch
  169. kanz.SoundId = ID
  170. kanz.Name = "wrecked"
  171. kanz.Looped = true
  172. currentThemePlaying = kanz.SoundId
  173. currentVol = kanz.Volume
  174. currentPitch = kanz.Pitch
  175. --kanz:Play()
  176. --coroutine.resume(coroutine.create(function()
  177. --wait(0.05)
  178. --end))
  179. end
  180.  
  181.  
  182. function newThemeCust(ID,timepos,pitch,vol)
  183. local kanz = kan
  184. kanz:Stop()
  185. kanz.Volume = vol
  186. kanz.TimePosition = timepos
  187. kanz.PlaybackSpeed = pitch
  188. kanz.Pitch = pitch
  189. kanz.SoundId = ID
  190. kanz.Name = "wrecked"
  191. kanz.Looped = true
  192. currentThemePlaying = kanz.SoundId
  193. currentVol = kanz.Volume
  194. currentPitch = kanz.Pitch
  195. kanz:Play()
  196. coroutine.resume(coroutine.create(function()
  197. wait(0.05)
  198. end))
  199. end
  200.  
  201. local mutedtog = false
  202.  
  203. function IdolsWarn(text,represfont,color,color2)
  204.     if disably ~= true then
  205. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  206. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  207. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  208. coroutine.resume(coroutine.create(function()
  209. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  210. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  211. end
  212. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  213. scrg.Name = "Spinny"
  214. local frm = Instance.new("Frame",scrg)
  215. frm.BackgroundTransparency = 0.25
  216. frm.BackgroundColor3 = color
  217. frm.BorderSizePixel = 0
  218. frm.Rotation = 45
  219. frm.Size = UDim2.new(3,0,0,100)
  220. frm.Position = UDim2.new(-4,0,0,0)
  221. local frm2 = frm:Clone()
  222. frm2.Parent = scrg
  223. frm2.BackgroundColor3 = color2
  224. frm2.Position = UDim2.new(-4.05,0,0,0)
  225. local imlb = Instance.new("ImageLabel",scrg)
  226. imlb.BackgroundTransparency = 1
  227. imlb.BackgroundColor3 = color
  228. imlb.Image = "rbxassetid://787198541"
  229. imlb.Size = UDim2.new(0,750,0,750)
  230. imlb.ImageColor3 = color2
  231. imlb.ImageTransparency = 0.25
  232. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  233. local imlb2 = imlb:Clone()
  234. imlb2.Image = "rbxassetid://197468643"
  235. imlb2.Size = UDim2.new(1,0,1,0)
  236. imlb2.ImageTransparency = 0
  237. imlb2.Position = UDim2.new(0,0,0,0)
  238. local imlb3 = imlb:Clone()
  239. imlb3.Image = "rbxassetid://787191999"
  240. imlb3.Size = UDim2.new(1,0,1,0)
  241. imlb3.ImageColor3 = color2
  242. imlb3.ImageTransparency = 0
  243. imlb3.Position = UDim2.new(0,0,0,0)
  244. local imlb4 = imlb:Clone()
  245. imlb4.Image = "rbxassetid://2092248396"
  246. imlb4.Size = UDim2.new(3,0,3,0)
  247. imlb3.ImageColor3 = color
  248. imlb4.ImageTransparency = 0
  249. imlb4.Position = UDim2.new(-1,0,-1,0)
  250. local imlb5 = imlb:Clone()
  251. imlb5.Image = "rbxassetid://2344870656"
  252. imlb5.Size = UDim2.new(10,0,10,0)
  253. imlb5.ImageColor3 = color2
  254. imlb5.ImageTransparency = 0
  255. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  256. imlb2.Parent = imlb
  257. imlb3.Parent = imlb
  258. imlb4.Parent = imlb
  259. imlb5.Parent = imlb
  260. local txtlb2 = Instance.new("TextLabel",imlb)
  261. coroutine.resume(coroutine.create(function()
  262. while true do
  263. swait()
  264. if Error == false then
  265. txtlb2.Text = text
  266. elseif Error == true then
  267. txtlb2.Text = est[math.random(1,17)]
  268. end
  269. end
  270. end))
  271. txtlb2.Font = represfont
  272. txtlb2.TextColor3 = color
  273. txtlb2.TextStrokeTransparency = 0
  274. txtlb2.BackgroundTransparency = 1
  275. txtlb2.TextStrokeColor3 = color2
  276. txtlb2.TextScaled = true
  277. txtlb2.Size = UDim2.new(1,0,1,0)
  278. txtlb2.Position = UDim2.new(0,0,0,0)
  279. local fvalen = 0.55
  280. local fval = -0.49
  281. coroutine.resume(coroutine.create(function()
  282. while true do
  283. swait()
  284. if rainbowmode == true then
  285. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  286. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  287. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  288. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  289. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  290. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  291. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  292. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  293. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  294. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  295. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  296. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  297. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  298. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  299. end
  300. end
  301. end))
  302. coroutine.resume(coroutine.create(function()
  303. while true do
  304. swait()
  305. if Error == true then
  306. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  307. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  308. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  309. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  310. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  311. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  312. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  313. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  314. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  315. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  316. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  317. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  318. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  319. text = est[math.random(1,17)]
  320. end
  321. end
  322. end))
  323. coroutine.resume(coroutine.create(function()
  324. while true do
  325. swait()
  326. if CRAZED == true then
  327. txtlb2.Rotation = math.random(-1,1)
  328. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  329. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  330. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  331. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  332. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  333. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  334. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  335. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  336. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  337. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  338. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  339. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  340. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  341. end
  342. end
  343. end))
  344. coroutine.resume(coroutine.create(function()
  345. while true do
  346. swait()
  347. if chaosmode == true then
  348. txtlb2.Rotation = math.random(-1,1)
  349. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  350. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  351. imlb.ImageColor3 = BrickColor.random().Color
  352. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  353. end
  354. end
  355. end))
  356. coroutine.resume(coroutine.create(function()
  357. while true do
  358. swait()
  359. if scrg.Parent ~= nil then
  360.     fvalen = fvalen - 0.0001
  361. elseif scrg.Parent == nil then
  362. break
  363. end
  364. end
  365. end))
  366. local flol = -5
  367. local flil = 1.6
  368. coroutine.resume(coroutine.create(function()
  369.     for i = 0, 49 do
  370.         swait()
  371.         flol = flol + 0.125
  372.         flil = flil - 0.1
  373.         frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  374.         frm.Rotation = frm.Rotation - 0.25
  375.         frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  376.         frm2.Rotation = frm.Rotation + 0.325
  377.         imlb3.Rotation = imlb3.Rotation - 10
  378.         imlb2.Rotation = imlb.Rotation + 7.5
  379.         imlb.Rotation = imlb.Rotation + 5
  380.         if Error == false then
  381.         txtlb2.Rotation = txtlb2.Rotation - 5.125
  382.         elseif Error == true then
  383.         txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  384.         end
  385.         imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  386.     end
  387.     for i = 0, 99 do
  388.         swait()
  389.         fval = fval + 0.05
  390.         flol = flol + 0.005
  391.         frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  392.         frm.Rotation = frm.Rotation - 0.075
  393.         frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  394.         frm2.Rotation = frm2.Rotation + 0.125
  395.         imlb3.Rotation = imlb3.Rotation - 2
  396.         imlb2.Rotation = imlb.Rotation + 1.5
  397.         imlb.Rotation = imlb.Rotation + 1
  398.         if Error == false then
  399.         txtlb2.Rotation = txtlb2.Rotation - 1.125
  400.         elseif Error == true then
  401.         txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  402.         end
  403.         imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  404.     end
  405. local valinc = 0
  406. local vinc2 = 1
  407. for i = 0, 99 do
  408. swait()
  409. vinc2 = vinc2 + 0.25
  410. valinc = valinc + 0.0001
  411. flol = flol + valinc
  412. flil = flil + valinc
  413. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  414. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  415. imlb.Rotation = imlb.Rotation + 1*vinc2
  416. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  417. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  418. frm.Rotation = frm.Rotation + 0.1*vinc2
  419. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  420. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  421. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  422. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  423. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  424. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  425. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  426. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  427. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  428. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  429. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  430. end
  431. scrg:Destroy()
  432. end))
  433. end))
  434. end
  435. end
  436. end
  437.  
  438. local IDTECC = {"LETS BE SERIOUS"," NEO","TRUE FORM","..."}
  439.  
  440. local OVMID = 1702473314
  441. local OVMPIT = 1
  442. local OVMVOL = 1
  443.  
  444. function warnedpeople(text,represfont,color,color2)
  445.     if disably ~= true then
  446. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  447. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  448. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  449. coroutine.resume(coroutine.create(function()
  450. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  451. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  452. end
  453. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  454. scrg.Name = "Spinny"
  455. local frm = Instance.new("Frame",scrg)
  456. frm.BackgroundTransparency = 0.25
  457. frm.BackgroundColor3 = color
  458. frm.BorderSizePixel = 0
  459. frm.Rotation = 45
  460. frm.Size = UDim2.new(3,0,0,100)
  461. frm.Position = UDim2.new(-4,0,0,0)
  462. local frm2 = frm:Clone()
  463. frm2.Parent = scrg
  464. frm2.BackgroundColor3 = color2
  465. frm2.Position = UDim2.new(-4.05,0,0,0)
  466. local imlb = Instance.new("ImageLabel",scrg)
  467. imlb.BackgroundTransparency = 1
  468. imlb.BackgroundColor3 = Color3.new(0,0,0)
  469. imlb.Image = "rbxassetid://2344851144"
  470. imlb.Size = UDim2.new(0,750,0,750)
  471. imlb.ImageColor3 = color2
  472. imlb.ImageTransparency = 0.25
  473. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  474. local imlb2 = imlb:Clone()
  475. imlb2.Image = "rbxassetid://2076458450"
  476. imlb2.Size = UDim2.new(1,0,1,0)
  477. imlb2.ImageColor3 = color
  478. imlb2.ImageTransparency = 0
  479. imlb2.Position = UDim2.new(0,0,0,0)
  480. local imlb3 = imlb:Clone()
  481. imlb3.Image = "rbxassetid://2312119891"
  482. imlb3.Size = UDim2.new(1,0,1,0)
  483. imlb3.ImageColor3 = color2
  484. imlb3.ImageTransparency = 0
  485. imlb3.Position = UDim2.new(0,0,0,0)
  486. local imlb4 = imlb:Clone()
  487. imlb4.Image = "rbxassetid://2092248396"
  488. imlb4.Size = UDim2.new(3,0,3,0)
  489. imlb3.ImageColor3 = color
  490. imlb4.ImageTransparency = 0
  491. imlb4.Position = UDim2.new(-1,0,-1,0)
  492. local imlb5 = imlb:Clone()
  493. imlb5.Image = "rbxassetid://2344870656"
  494. imlb5.Size = UDim2.new(10,0,10,0)
  495. imlb5.ImageColor3 = color2
  496. imlb5.ImageTransparency = 0
  497. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  498. imlb2.Parent = imlb
  499. imlb3.Parent = imlb
  500. imlb4.Parent = imlb
  501. imlb5.Parent = imlb
  502. local txtlb2 = Instance.new("TextLabel",imlb)
  503. txtlb2.Text = text
  504. coroutine.resume(coroutine.create(function()
  505. while true do
  506. swait()
  507. if ASTRA == true then
  508. txtlb2.Text = est[math.random(1,5)]
  509. elseif dragon == true then
  510. txtlb2.Text = nobreak[math.random(1,3)]
  511. end
  512. end
  513. end))
  514. txtlb2.Font = represfont
  515. txtlb2.TextColor3 = color
  516. txtlb2.TextStrokeTransparency = 0
  517. txtlb2.BackgroundTransparency = 1
  518. txtlb2.TextStrokeColor3 = color2
  519. txtlb2.TextScaled = true
  520. txtlb2.Size = UDim2.new(1,0,1,0)
  521. txtlb2.Position = UDim2.new(0,0,0,0)
  522. local fvalen = 0.55
  523. local fval = -0.49
  524.  
  525. coroutine.resume(coroutine.create(function()
  526. while true do
  527. swait()
  528. if rainbowmode == true then
  529. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  530. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  531. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  532. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  533. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  534. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  535. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  536. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  537. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  538. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  539. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  540. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  541. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  542. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  543. end
  544. end
  545. end))
  546. coroutine.resume(coroutine.create(function()
  547. while true do
  548. swait()
  549. if Error == true then
  550. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  551. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  552. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  553. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  554. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  555. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  556. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  557. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  558. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  559. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  560. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  561. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  562. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  563. text = est[math.random(1,17)]
  564. end
  565. end
  566. end))
  567. coroutine.resume(coroutine.create(function()
  568. while true do
  569. swait()
  570. if CRAZED == true then
  571. txtlb2.Rotation = math.random(-1,1)
  572. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  573. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  574. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  575. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  576. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  577. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  578. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  579. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  580. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  581. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  582. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  583. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  584. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  585. end
  586. end
  587. end))
  588. coroutine.resume(coroutine.create(function()
  589. while true do
  590. swait()
  591. if chaosmode == true then
  592. txtlb2.Rotation = math.random(-1,1)
  593. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  594. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  595. imlb.ImageColor3 = BrickColor.random().Color
  596. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  597. end
  598. end
  599. end))
  600. coroutine.resume(coroutine.create(function()
  601. while true do
  602. swait()
  603. if scrg.Parent ~= nil then
  604.     fvalen = fvalen - 0.0001
  605. elseif scrg.Parent == nil then
  606. break
  607. end
  608. end
  609. end))
  610. local flol = -5
  611. local flil = 1.6
  612. coroutine.resume(coroutine.create(function()
  613.     for i = 0, 49 do
  614.         swait()
  615.         flol = flol + 0.125
  616.         flil = flil - 0.1
  617.         frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  618.         frm.Rotation = frm.Rotation - 0.25
  619.         frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  620.         frm2.Rotation = frm.Rotation + 0.325
  621.         imlb3.Rotation = imlb3.Rotation - 10
  622.         imlb2.Rotation = imlb.Rotation + 7.5
  623.         imlb.Rotation = imlb.Rotation + 5
  624.         if Error == false then
  625.         txtlb2.Rotation = txtlb2.Rotation - 5.125
  626.         elseif Error == true then
  627.         txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  628.         end
  629.         imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  630.     end
  631.     for i = 0, 99 do
  632.         swait()
  633.         fval = fval + 0.05
  634.         flol = flol + 0.005
  635.         frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  636.         frm.Rotation = frm.Rotation - 0.075
  637.         frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  638.         frm2.Rotation = frm2.Rotation + 0.125
  639.         imlb3.Rotation = imlb3.Rotation - 2
  640.         imlb2.Rotation = imlb.Rotation + 1.5
  641.         imlb.Rotation = imlb.Rotation + 1
  642.         if Error == false then
  643.         txtlb2.Rotation = txtlb2.Rotation - 1.125
  644.         elseif Error == true then
  645.         txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  646.         end
  647.         imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  648.     end
  649. local valinc = 0
  650. local vinc2 = 1
  651. for i = 0, 99 do
  652. swait()
  653. vinc2 = vinc2 + 0.25
  654. valinc = valinc + 0.0001
  655. flol = flol + valinc
  656. flil = flil + valinc
  657. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  658. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  659. imlb.Rotation = imlb.Rotation + 1*vinc2
  660. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  661. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  662. frm.Rotation = frm.Rotation + 0.1*vinc2
  663. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  664. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  665. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  666. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  667. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  668. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  669. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  670. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  671. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  672. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  673. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  674. end
  675. scrg:Destroy()
  676. end))
  677. end))
  678. end
  679. end
  680. end
  681.  
  682. function warnedpeople2(text,represfont,color,color2)
  683.     if disably ~= true then
  684. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  685. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  686. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  687. coroutine.resume(coroutine.create(function()
  688. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  689. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  690. end
  691. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  692. scrg.Name = "Spinny"
  693. local frm = Instance.new("Frame",scrg)
  694. frm.BackgroundTransparency = 0.25
  695. frm.BackgroundColor3 = color
  696. frm.BorderSizePixel = 0
  697. frm.Rotation = 45
  698. frm.Size = UDim2.new(3,0,0,100)
  699. frm.Position = UDim2.new(-4,0,0,0)
  700. local frm2 = frm:Clone()
  701. frm2.Parent = scrg
  702. frm2.BackgroundColor3 = color2
  703. frm2.Position = UDim2.new(-4.05,0,0,0)
  704. local imlb = Instance.new("ImageLabel",scrg)
  705. imlb.BackgroundTransparency = 1
  706. imlb.BackgroundColor3 = Color3.new(0,0,0)
  707. imlb.Image = "rbxassetid://787198541"
  708. imlb.Size = UDim2.new(0,750,0,750)
  709. imlb.ImageColor3 = color2
  710. imlb.ImageTransparency = 0.25
  711. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  712. local imlb2 = imlb:Clone()
  713. imlb2.Image = "rbxassetid://2076458450"
  714. imlb2.Size = UDim2.new(1,0,1,0)
  715. imlb2.ImageColor3 = color
  716. imlb2.ImageTransparency = 0
  717. imlb2.Position = UDim2.new(0,0,0,0)
  718. local imlb3 = imlb:Clone()
  719. imlb3.Image = "rbxassetid://787191999"
  720. imlb3.Size = UDim2.new(1,0,1,0)
  721. imlb3.ImageColor3 = color2
  722. imlb3.ImageTransparency = 0
  723. imlb3.Position = UDim2.new(0,0,0,0)
  724. local imlb4 = imlb:Clone()
  725. imlb4.Image = "rbxassetid://2092248396"
  726. imlb4.Size = UDim2.new(3,0,3,0)
  727. imlb3.ImageColor3 = color
  728. imlb4.ImageTransparency = 0
  729. imlb4.Position = UDim2.new(-1,0,-1,0)
  730. local imlb5 = imlb:Clone()
  731. imlb5.Image = "rbxassetid://2344870656"
  732. imlb5.Size = UDim2.new(10,0,10,0)
  733. imlb5.ImageColor3 = color2
  734. imlb5.ImageTransparency = 0
  735. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  736. imlb2.Parent = imlb
  737. imlb3.Parent = imlb
  738. imlb4.Parent = imlb
  739. imlb5.Parent = imlb
  740. local txtlb2 = Instance.new("TextLabel",imlb)
  741. txtlb2.Text = text
  742. coroutine.resume(coroutine.create(function()
  743. while true do
  744. swait()
  745. if ASTRA == true then
  746. txtlb2.Text = est[math.random(1,5)]
  747. elseif dragon == true then
  748. txtlb2.Text = nobreak[math.random(1,3)]
  749. end
  750. end
  751. end))
  752. txtlb2.Font = represfont
  753. txtlb2.TextColor3 = color
  754. txtlb2.TextStrokeTransparency = 0
  755. txtlb2.BackgroundTransparency = 1
  756. txtlb2.TextStrokeColor3 = color2
  757. txtlb2.TextScaled = true
  758. txtlb2.Size = UDim2.new(1,0,1,0)
  759. txtlb2.Position = UDim2.new(0,0,0,0)
  760. local fvalen = 0.55
  761. local fval = -0.49
  762.  
  763. coroutine.resume(coroutine.create(function()
  764. while true do
  765. swait()
  766. if rainbowmode == true then
  767. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  768. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  769. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  770. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  771. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  772. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  773. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  774. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  775. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  776. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  777. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  778. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  779. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  780. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  781. end
  782. end
  783. end))
  784. coroutine.resume(coroutine.create(function()
  785. while true do
  786. swait()
  787. if Error == true then
  788. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  789. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  790. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  791. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  792. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  793. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  794. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  795. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  796. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  797. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  798. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  799. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  800. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  801. text = est[math.random(1,17)]
  802. end
  803. end
  804. end))
  805. coroutine.resume(coroutine.create(function()
  806. while true do
  807. swait()
  808. if CRAZED == true then
  809. txtlb2.Rotation = math.random(-1,1)
  810. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  811. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  812. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  813. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  814. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  815. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  816. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  817. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  818. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  819. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  820. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  821. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  822. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  823. end
  824. end
  825. end))
  826. coroutine.resume(coroutine.create(function()
  827. while true do
  828. swait()
  829. if chaosmode == true then
  830. txtlb2.Rotation = math.random(-1,1)
  831. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  832. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  833. imlb.ImageColor3 = BrickColor.random().Color
  834. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  835. end
  836. end
  837. end))
  838. coroutine.resume(coroutine.create(function()
  839. while true do
  840. swait()
  841. if scrg.Parent ~= nil then
  842.     fvalen = fvalen - 0.0001
  843. elseif scrg.Parent == nil then
  844. break
  845. end
  846. end
  847. end))
  848. local flol = -5
  849. local flil = 1.6
  850. coroutine.resume(coroutine.create(function()
  851.     for i = 0, 49 do
  852.         swait()
  853.         flol = flol + 0.125
  854.         flil = flil - 0.1
  855.         frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  856.         frm.Rotation = frm.Rotation - 0.25
  857.         frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  858.         frm2.Rotation = frm.Rotation + 0.325
  859.         imlb3.Rotation = imlb3.Rotation - 10
  860.         imlb2.Rotation = imlb.Rotation + 7.5
  861.         imlb.Rotation = imlb.Rotation + 5
  862.         if Error == false then
  863.         txtlb2.Rotation = txtlb2.Rotation - 5.125
  864.         elseif Error == true then
  865.         txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  866.         end
  867.         imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  868.     end
  869.     for i = 0, 99 do
  870.         swait()
  871.         fval = fval + 0.05
  872.         flol = flol + 0.005
  873.         frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  874.         frm.Rotation = frm.Rotation - 0.075
  875.         frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  876.         frm2.Rotation = frm2.Rotation + 0.125
  877.         imlb3.Rotation = imlb3.Rotation - 2
  878.         imlb2.Rotation = imlb.Rotation + 1.5
  879.         imlb.Rotation = imlb.Rotation + 1
  880.         if Error == false then
  881.         txtlb2.Rotation = txtlb2.Rotation - 1.125
  882.         elseif Error == true then
  883.         txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  884.         end
  885.         imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  886.     end
  887. local valinc = 0
  888. local vinc2 = 1
  889. for i = 0, 99 do
  890. swait()
  891. vinc2 = vinc2 + 0.25
  892. valinc = valinc + 0.0001
  893. flol = flol + valinc
  894. flil = flil + valinc
  895. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  896. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  897. imlb.Rotation = imlb.Rotation + 1*vinc2
  898. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  899. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  900. frm.Rotation = frm.Rotation + 0.1*vinc2
  901. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  902. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  903. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  904. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  905. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  906. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  907. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  908. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  909. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  910. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  911. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  912. end
  913. scrg:Destroy()
  914. end))
  915. end))
  916. end
  917. end
  918. end
  919.  
  920. function CameraEnshaking(Length,Intensity)
  921. coroutine.resume(coroutine.create(function()
  922.       local intensity = 1*Intensity
  923.       local rotM = 0.01*Intensity
  924. for i = 0, Length, 0.1 do
  925. swait()
  926. intensity = intensity - 0.05*Intensity/Length
  927. rotM = rotM - 0.0005*Intensity/Length
  928.       hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  929.       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)
  930. end
  931. Humanoid.CameraOffset = Vec3(0, 0, 0)
  932. end))
  933. end
  934. CamShake=function(Part,Distan,Power,Times)
  935. local de=Part.Position
  936. for i,v in pairs(workspace:children()) do
  937.  if v:IsA("Model") and v:findFirstChild("Humanoid") then
  938. for _,c in pairs(v:children()) do
  939. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  940. local Noob=v.Humanoid
  941. if Noob~=nil then
  942. coroutine.resume(coroutine.create(function()
  943. FV = Instance.new("BoolValue", Noob)
  944. FV.Name = "CameraShake"
  945. for ShakeNum=1,Times do
  946. swait()
  947. local ef=Power
  948.   if ef>=1 then
  949.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  950.   else
  951.    ef=Power*10
  952.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  953.   end  
  954. end
  955. Humanoid.CameraOffset = Vector3.new(0,0,0)
  956. FV:Destroy()
  957. end))
  958. CameraShake(Times, Power, Noob)
  959. end
  960. end
  961. end
  962. end
  963. end
  964. end
  965.  
  966. local toggleTag = true
  967. local bilguit = Instance.new("BillboardGui", hed)
  968. bilguit.Adornee = nil
  969. bilguit.Name = "ModeName"
  970. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  971. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  972. local modet = Instance.new("TextLabel", bilguit)
  973. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  974. modet.FontSize = "Size8"
  975. modet.TextScaled = true
  976. modet.TextTransparency = 0
  977. modet.BackgroundTransparency = 1
  978. modet.TextTransparency = 0
  979. modet.TextStrokeTransparency = 0
  980. modet.Font = "Antique"
  981. modet.TextStrokeColor3 = Color3.new(1,0,0)
  982. modet.TextColor3 = Color3.new(0.25,0,0)
  983. modet.Text = "STAR GLITCHER V LOADED "
  984.  
  985.  
  986. function chatfunc(text,color,typet,font,timeex)
  987. local chat = coroutine.wrap(function()
  988. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  989. Character:FindFirstChild("TalkingBillBoard"):destroy()
  990. end
  991. local naeeym2 = Instance.new("BillboardGui",Character)
  992. naeeym2.Size = UDim2.new(0,100,0,40)
  993. naeeym2.StudsOffset = Vector3.new(0,3,0)
  994. naeeym2.Adornee = Character.Head
  995. naeeym2.Name = "TalkingBillBoard"
  996. local tecks2 = Instance.new("TextLabel",naeeym2)
  997. tecks2.BackgroundTransparency = 1
  998. tecks2.BorderSizePixel = 0
  999. tecks2.Text = ""
  1000. tecks2.Font = font
  1001. tecks2.TextSize = 30
  1002. tecks2.TextStrokeTransparency = 0
  1003. tecks2.TextColor3 = color
  1004. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1005. tecks2.Size = UDim2.new(1,0,0.5,0)
  1006. local tecks3 = Instance.new("TextLabel",naeeym2)
  1007. tecks3.BackgroundTransparency = 1
  1008. tecks3.BorderSizePixel = 0
  1009. tecks3.Text = ""
  1010. tecks3.Font = font
  1011. tecks3.TextSize = 30
  1012. tecks3.TextStrokeTransparency = 0
  1013. if typet == "Inverted" then
  1014. tecks3.TextColor3 = Color3.new(0,0,0)
  1015. tecks3.TextStrokeColor3 = color
  1016. elseif typet == "Normal" then
  1017. tecks3.TextColor3 = color
  1018. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1019. end
  1020. tecks3.Size = UDim2.new(1,0,0.5,0)
  1021. coroutine.resume(coroutine.create(function()
  1022. while true do
  1023. swait(1)
  1024. if chaosmode == true then
  1025. tecks2.TextColor3 = BrickColor.random().Color
  1026. tecks3.TextStrokeColor3 = BrickColor.random().Color
  1027. end
  1028. end
  1029. end))
  1030. modet.TextTransparency = modet.TextTransparency  + 1
  1031. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  1032. for i = 0, 74*timeex do
  1033. swait()
  1034. modet.TextTransparency = 1
  1035. modet.TextStrokeTransparency = 1
  1036. tecks2.Text = text
  1037. tecks3.Text = text
  1038. end
  1039. local randomrot = math.random(1,2)
  1040. if randomrot == 1 then
  1041. for i = 1, 50 do
  1042. swait()
  1043. tecks2.Text = text
  1044. tecks3.Text = text
  1045. modet.TextTransparency = modet.TextTransparency - .02
  1046. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1047. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1048. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1049. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1050. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1051. end
  1052. elseif randomrot == 2 then
  1053.     for i = 1, 50 do
  1054. swait()
  1055. tecks2.Text = text
  1056. tecks3.Text = text
  1057. modet.TextTransparency = modet.TextTransparency - .02
  1058. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1059. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1060. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1061. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1062. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1063. end
  1064. end
  1065. modet.TextTransparency = 0
  1066. modet.TextStrokeTransparency = 0
  1067. if toggleTag == false then
  1068. modet.TextTransparency = 1
  1069. modet.TextStrokeTransparency = 1
  1070. end
  1071. naeeym2:Destroy()
  1072. end)
  1073. chat()
  1074. end
  1075.  
  1076. function bosschatfunc(text,color,watval)
  1077. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1078. coroutine.resume(coroutine.create(function()
  1079. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1080. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1081. end
  1082. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1083. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  1084. scrg.Name = "Dialog"
  1085. local txtlb = Instance.new("TextLabel",scrg)
  1086. txtlb.Text = ""
  1087. txtlb.Font = "Bodoni"
  1088. txtlb.TextColor3 = Color3.new(0,0,0)
  1089. txtlb.TextStrokeTransparency = 0
  1090. txtlb.BackgroundTransparency = 0.75
  1091. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1092. txtlb.TextStrokeColor3 = color
  1093. txtlb.TextScaled = true
  1094. txtlb.Size = UDim2.new(1,0,0.25,0)
  1095. txtlb.TextXAlignment = "Left"
  1096. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1097. local txtlb2 = Instance.new("TextLabel",scrg)
  1098. txtlb2.Text = "star:"
  1099. txtlb2.Font = "Arcade"
  1100. txtlb2.TextColor3 = Color3.new(0,0,0)
  1101. txtlb2.TextStrokeTransparency = 0
  1102. txtlb2.BackgroundTransparency = 1
  1103. txtlb2.TextStrokeColor3 = color
  1104. txtlb2.TextSize = 40
  1105. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1106. txtlb2.TextXAlignment = "Left"
  1107. txtlb2.Position = UDim2.new(0,0,1,0)
  1108. local fvalen = 0.55
  1109. local fval = -0.49
  1110. coroutine.resume(coroutine.create(function()
  1111. while true do
  1112. swait()
  1113. if chaosmode == true then
  1114. txtlb.Rotation = math.random(-1,1)
  1115. txtlb2.Rotation = math.random(-1,1)
  1116. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1117. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1118. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1119. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1120. end
  1121. end
  1122. end))
  1123. coroutine.resume(coroutine.create(function()
  1124. while true do
  1125. swait()
  1126. if scrg.Parent ~= nil then
  1127.     fvalen = fvalen - 0.0001
  1128. elseif scrg.Parent == nil then
  1129. break
  1130. end
  1131. end
  1132. end))
  1133. local flol = 1.75
  1134. local flil = 1.6
  1135. coroutine.resume(coroutine.create(function()
  1136.     for i = 0, 9 do
  1137.         swait()
  1138.         fval = fval + 0.05
  1139.         flol = flol - 0.1
  1140.         flil = flil - 0.1
  1141.         txtlb.Text = ""
  1142.         txtlb.Position = UDim2.new(0,0,flol,0)
  1143.         txtlb2.Position = UDim2.new(0,0,flil,0)
  1144.     end
  1145.     txtlb.Text = text
  1146. wait(watval)
  1147. local valinc = 0
  1148. for i = 0, 99 do
  1149. swait()
  1150. valinc = valinc + 0.0001
  1151. flol = flol + valinc
  1152. flil = flil + valinc
  1153. txtlb.Rotation = txtlb.Rotation + valinc*20
  1154. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1155. txtlb.Position = UDim2.new(0,0,flol,0)
  1156. txtlb2.Position = UDim2.new(0,0,flil,0)
  1157. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1158. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1159. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1160. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1161. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1162. end
  1163. scrg:Destroy()
  1164. end))
  1165. end))
  1166. end
  1167. end
  1168.  
  1169. function bosschatfunc2(text,color,watval)
  1170. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1171. coroutine.resume(coroutine.create(function()
  1172. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1173. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1174. end
  1175. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1176. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  1177. scrg.Name = "Dialog"
  1178. local txtlb = Instance.new("TextLabel",scrg)
  1179. txtlb.Text = ""
  1180. txtlb.Font = "Bodoni"
  1181. txtlb.TextColor3 = Color3.new(0,0,0)
  1182. txtlb.TextStrokeTransparency = 0
  1183. txtlb.BackgroundTransparency = 0.75
  1184. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1185. txtlb.TextStrokeColor3 = color
  1186. txtlb.TextScaled = true
  1187. txtlb.Size = UDim2.new(1,0,0.25,0)
  1188. txtlb.TextXAlignment = "Left"
  1189. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1190. local txtlb2 = Instance.new("TextLabel",scrg)
  1191. txtlb2.Text = "User:"
  1192. txtlb2.Font = "Arcade"
  1193. txtlb2.TextColor3 = Color3.new(0,0,0)
  1194. txtlb2.TextStrokeTransparency = 0
  1195. txtlb2.BackgroundTransparency = 1
  1196. txtlb2.TextStrokeColor3 = color
  1197. txtlb2.TextSize = 40
  1198. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1199. txtlb2.TextXAlignment = "Left"
  1200. txtlb2.Position = UDim2.new(0,0,1,0)
  1201. local fvalen = 0.55
  1202. local fval = -0.49
  1203. coroutine.resume(coroutine.create(function()
  1204. while true do
  1205. swait()
  1206. if chaosmode == true then
  1207. txtlb.Rotation = math.random(-1,1)
  1208. txtlb2.Rotation = math.random(-1,1)
  1209. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1210. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1211. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1212. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1213. end
  1214. end
  1215. end))
  1216. coroutine.resume(coroutine.create(function()
  1217. while true do
  1218. swait()
  1219. if scrg.Parent ~= nil then
  1220.     fvalen = fvalen - 0.0001
  1221. elseif scrg.Parent == nil then
  1222. break
  1223. end
  1224. end
  1225. end))
  1226. local flol = 1.75
  1227. local flil = 1.6
  1228. coroutine.resume(coroutine.create(function()
  1229.     for i = 0, 9 do
  1230.         swait()
  1231.         fval = fval + 0.05
  1232.         flol = flol - 0.1
  1233.         flil = flil - 0.1
  1234.         txtlb.Text = ""
  1235.         txtlb.Position = UDim2.new(0,0,flol,0)
  1236.         txtlb2.Position = UDim2.new(0,0,flil,0)
  1237.     end
  1238.     txtlb.Text = text
  1239. wait(watval)
  1240. local valinc = 0
  1241. for i = 0, 99 do
  1242. swait()
  1243. valinc = valinc + 0.0001
  1244. flol = flol + valinc
  1245. flil = flil + valinc
  1246. txtlb.Rotation = txtlb.Rotation + valinc*20
  1247. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1248. txtlb.Position = UDim2.new(0,0,flol,0)
  1249. txtlb2.Position = UDim2.new(0,0,flil,0)
  1250. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1251. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1252. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1253. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1254. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1255. end
  1256. scrg:Destroy()
  1257. end))
  1258. end))
  1259. end
  1260. end
  1261.  
  1262. local Create = LoadLibrary("RbxUtility").Create
  1263.  
  1264. CFuncs = { 
  1265.     ["Part"] = {
  1266.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1267.             local Part = Create("Part"){
  1268.                 Parent = Parent,
  1269.                 Reflectance = Reflectance,
  1270.                 Transparency = Transparency,
  1271.                 CanCollide = false,
  1272.                 Locked = true,
  1273.                 BrickColor = BrickColor.new(tostring(BColor)),
  1274.                 Name = Name,
  1275.                 Size = Size,
  1276.                 Material = Material,
  1277.             }
  1278.             RemoveOutlines(Part)
  1279.             return Part
  1280.         end;
  1281.     };
  1282.    
  1283.     ["Mesh"] = {
  1284.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1285.             local Msh = Create(Mesh){
  1286.                 Parent = Part,
  1287.                 Offset = OffSet,
  1288.                 Scale = Scale,
  1289.             }
  1290.             if Mesh == "SpecialMesh" then
  1291.                 Msh.MeshType = MeshType
  1292.                 Msh.MeshId = MeshId
  1293.             end
  1294.             return Msh
  1295.         end;
  1296.     };
  1297.    
  1298.     ["Mesh"] = {
  1299.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1300.             local Msh = Create(Mesh){
  1301.                 Parent = Part,
  1302.                 Offset = OffSet,
  1303.                 Scale = Scale,
  1304.             }
  1305.             if Mesh == "SpecialMesh" then
  1306.                 Msh.MeshType = MeshType
  1307.                 Msh.MeshId = MeshId
  1308.             end
  1309.             return Msh
  1310.         end;
  1311.     };
  1312.    
  1313.     ["Weld"] = {
  1314.         Create = function(Parent, Part0, Part1, C0, C1)
  1315.             local Weld = Create("Weld"){
  1316.                 Parent = Parent,
  1317.                 Part0 = Part0,
  1318.                 Part1 = Part1,
  1319.                 C0 = C0,
  1320.                 C1 = C1,
  1321.             }
  1322.             return Weld
  1323.         end;
  1324.     };
  1325.  
  1326.     ["Sound"] = {
  1327.         Create = function(id, par, vol, pit)
  1328.             coroutine.resume(coroutine.create(function()
  1329.                 local S = Create("Sound"){
  1330.                     Volume = vol,
  1331.                                         Name = "EffectSoundo",
  1332.                     Pitch = pit or 1,
  1333.                     SoundId = id,
  1334.                     Parent = par or workspace,
  1335.                 }
  1336.                 wait()
  1337.                 S:play()
  1338.                 game:GetService("Debris"):AddItem(S, 10)
  1339.             end))
  1340.         end;
  1341.     };
  1342.  
  1343.     ["TimeSound"] = {
  1344.         Create = function(id, par, vol, pit, timepos)
  1345.             coroutine.resume(coroutine.create(function()
  1346.                 local S = Create("Sound"){
  1347.                     Volume = vol,
  1348.                                         Name = "EffectSoundo",
  1349.                     Pitch = pit or 1,
  1350.                     SoundId = id,
  1351.                                         TimePosition = timepos,
  1352.                     Parent = par or workspace,
  1353.                 }
  1354.                 wait()
  1355.                 S:play()
  1356.                 game:GetService("Debris"):AddItem(S, 10)
  1357.             end))
  1358.         end;
  1359.     };
  1360.         ["EchoSound"] = {
  1361.         Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1362.             coroutine.resume(coroutine.create(function()
  1363.                 local Sas = Create("Sound"){
  1364.                     Volume = vol,
  1365.                     Name = "EffectSoundo",
  1366.                     Pitch = pit or 1,
  1367.                     SoundId = id,
  1368.                     TimePosition = timepos,
  1369.                     Parent = par or workspace,
  1370.                 }
  1371.                 local E = Create("EchoSoundEffect"){
  1372.                     Delay = echodelay,
  1373.                     Name = "Echo",
  1374.                     Feedback = fedb,
  1375.                     DryLevel = dryl,
  1376.                     Parent = Sas,
  1377.                 }
  1378.                 wait()
  1379.                 Sas:play()
  1380.                 game:GetService("Debris"):AddItem(Sas, delays)
  1381.             end))
  1382.         end;
  1383.     };
  1384.  
  1385. ["LongSound"] = {
  1386.         Create = function(id, par, vol, pit)
  1387.             coroutine.resume(coroutine.create(function()
  1388.                 local S = Create("Sound"){
  1389.                     Volume = vol,
  1390.                     Pitch = pit or 1,
  1391.                     SoundId = id,
  1392.                     Parent = par or workspace,
  1393.                 }
  1394.                 wait()
  1395.                 S:play()
  1396.                 game:GetService("Debris"):AddItem(S, 60)
  1397.             end))
  1398.         end;
  1399.     };
  1400.    
  1401.     ["ParticleEmitter"] = {
  1402.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1403.             local fp = Create("ParticleEmitter"){
  1404.                 Parent = Parent,
  1405.                 Color = ColorSequence.new(Color1, Color2),
  1406.                 LightEmission = LightEmission,
  1407.                 Size = Size,
  1408.                 Texture = Texture,
  1409.                 Transparency = Transparency,
  1410.                 ZOffset = ZOffset,
  1411.                 Acceleration = Accel,
  1412.                 Drag = Drag,
  1413.                 LockedToPart = LockedToPart,
  1414.                 VelocityInheritance = VelocityInheritance,
  1415.                 EmissionDirection = EmissionDirection,
  1416.                 Enabled = Enabled,
  1417.                 Lifetime = LifeTime,
  1418.                 Rate = Rate,
  1419.                 Rotation = Rotation,
  1420.                 RotSpeed = RotSpeed,
  1421.                 Speed = Speed,
  1422.                 VelocitySpread = VelocitySpread,
  1423.             }
  1424.             return fp
  1425.         end;
  1426.     };
  1427.  
  1428.     CreateTemplate = {
  1429.    
  1430.     };
  1431. }
  1432.  
  1433.  
  1434.  
  1435. New = function(Object, Parent, Name, Data)
  1436.     local Object = Instance.new(Object)
  1437.     for Index, Value in pairs(Data or {}) do
  1438.         Object[Index] = Value
  1439.     end
  1440.     Object.Parent = Parent
  1441.     Object.Name = Name
  1442.     return Object
  1443. end
  1444. local halocolor = BrickColor.new("Pastel light blue")
  1445. local halocolor2 = BrickColor.new("Cool yellow")
  1446. local starcolor = BrickColor.new("Bright yellow")
  1447. local lunacolor = BrickColor.new("Navy blue")
  1448. local lunacolor2 = BrickColor.new("Bright blue")
  1449. local wepcolor = BrickColor.new("Really black")
  1450. local maincolor = BrickColor.new("Really black")
  1451. local m = Instance.new("Model",char)
  1452. local m2 = Instance.new("Model",char)
  1453. local m3 = Instance.new("Model",char)
  1454. local mw1 = Instance.new("Model",char)
  1455. local mw2 = Instance.new("Model",char)
  1456.  
  1457.  
  1458. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1459.   local gui = it(GuiType)
  1460.   gui.Parent = parent
  1461.   gui.Text = text
  1462.   gui.BackgroundTransparency = backtrans
  1463.   gui.BackgroundColor3 = backcol
  1464.   gui.SizeConstraint = "RelativeXY"
  1465.   gui.TextXAlignment = "Center"
  1466.   gui.TextYAlignment = "Center"
  1467.   gui.Position = pos
  1468.   gui.Size = size
  1469.   gui.Font = "SourceSans"
  1470.   gui.FontSize = "Size14"
  1471.   gui.TextWrapped = false
  1472.   gui.TextStrokeTransparency = 0
  1473.   gui.TextColor = BrickColor.new("White")
  1474.   return gui
  1475. end
  1476. --------------------------- GUI STUFF
  1477. local basgui = it("GuiMain")
  1478. basgui.Parent = plr.PlayerGui
  1479. basgui.Name = "VISgui"
  1480. local fullscreenz = it("Frame")
  1481. fullscreenz.Parent = basgui
  1482. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  1483. fullscreenz.BackgroundTransparency = 1
  1484. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  1485. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  1486. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  1487. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  1488. imgl2.BackgroundTransparency = 1
  1489. imgl2.BorderSizePixel = 0
  1490. imgl2.ImageTransparency = 0.5
  1491. imgl2.Position = UDim2.new(0.70,-200,0.50,-200)
  1492. imgl2.Size = UDim2.new(0,1000,0,1000)
  1493. imgl2.Image = "rbxassetid://2344830904"
  1494. local techc = imgl2:Clone()
  1495. techc.Parent = fullscreenz
  1496. techc.ImageTransparency = 0
  1497. techc.Size = UDim2.new(0,900,0,900)
  1498. techc.Position = UDim2.new(0.70,-150,0.50,-150)
  1499. techc.Image = "rbxassetid://2092248396"
  1500. local circl = imgl2:Clone()
  1501. circl.Parent = fullscreenz
  1502. circl.ImageTransparency = 0
  1503. circl.Size = UDim2.new(0,550,0,550)
  1504. circl.Position = UDim2.new(0.70,25,0.50,25)
  1505. circl.Image = "rbxassetid://2312119891"
  1506. local circl2 = imgl2:Clone()
  1507. circl2.Parent = fullscreenz
  1508. circl2.ImageTransparency = 0
  1509. circl2.Size = UDim2.new(0,700,0,700)
  1510. circl2.Position = UDim2.new(0.70,-50,0.50,-50)
  1511. circl2.Image = "rbxassetid://2312119891"
  1512. local imgl2b = imgl2:Clone()
  1513. imgl2b.Parent = fullscreenz
  1514. imgl2b.ImageTransparency = 0
  1515. imgl2b.Size = UDim2.new(0,800,0,800)
  1516. imgl2b.Position = UDim2.new(0.70,-100,0.50,-100)
  1517. imgl2b.ImageColor3 = Color3.new(0,0,0)
  1518. local ned = Instance.new("TextLabel",fullscreenz)
  1519. ned.ZIndex = 2
  1520. ned.Font = "Bodoni"
  1521. ned.BackgroundTransparency = 1
  1522. ned.BorderSizePixel = 0.65
  1523. ned.Size = UDim2.new(0.6,0,0.6,0)
  1524. ned.Position = UDim2.new(0,0,0,0)
  1525. ned.TextScaled = true
  1526. ned.TextStrokeTransparency = 0
  1527. ned.Text = "Mayhem"
  1528. ned.TextSize = 48
  1529. ned.Rotation = 1
  1530. ned.TextXAlignment = "Left"
  1531. ned.TextYAlignment = "Top"
  1532.  
  1533. local extrawingmod1 = Instance.new("Model",char)
  1534. local extrawingmod2 = Instance.new("Model",char)
  1535.  
  1536. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1537. local p = Instance.new("Part")
  1538. p.TopSurface = 0
  1539. p.BottomSurface = 0
  1540. p.Parent = parent
  1541. p.Size = Vector3.new(0.1,0.1,0.1)
  1542. p.Transparency = transparency
  1543. p.Reflectance = reflectance
  1544. p.CanCollide = false
  1545. p.Locked = true
  1546. p.BrickColor = brickcolor
  1547. p.Material = material
  1548. return p
  1549. end
  1550.  
  1551. function CreateMesh(parent,meshtype,x1,y1,z1)
  1552. local mesh = Instance.new("SpecialMesh",parent)
  1553. mesh.MeshType = meshtype
  1554. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1555. return mesh
  1556. end
  1557.  
  1558. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1559. local mesh = Instance.new("SpecialMesh",parent)
  1560. mesh.MeshType = "FileMesh"
  1561. mesh.MeshId = meshid
  1562. mesh.Scale = Vector3.new(x1,y1,z1)
  1563. return mesh
  1564. end
  1565.  
  1566.  
  1567. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1568. local mesh = Instance.new("SpecialMesh",parent)
  1569. mesh.MeshType = "FileMesh"
  1570. mesh.MeshId = meshid
  1571. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1572. mesh.Scale = Vector3.new(x1,y1,z1)
  1573. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1574. return mesh
  1575. end
  1576.  
  1577. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1578. local weld = Instance.new("Weld")
  1579. weld.Parent = parent
  1580. weld.Part0 = part0
  1581. weld.Part1 = part1
  1582. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1583. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1584. return weld
  1585. end
  1586.  
  1587. --------------
  1588. local secondchar = Instance.new("Model",char)
  1589. local GhostCol = BrickColor.new("Really red")
  1590. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1591. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  1592. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1593.  
  1594. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1595. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  1596. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1597.  
  1598. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1599. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  1600. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1601.  
  1602. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1603. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  1604. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1605.  
  1606. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1607. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  1608. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1609.  
  1610. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1611. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  1612. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1613. --------------
  1614. 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))
  1615. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1616. 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))
  1617.  
  1618. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1619. CreateMesh(handle,"Brick",0,0,0)
  1620. 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))
  1621. local valuaring = 10
  1622. for i = 0, 49 do
  1623.     valuaring = valuaring + 10
  1624. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1625. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1626. 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))
  1627. end
  1628.  
  1629. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1630. CreateMesh(handle,"Brick",0,0,0)
  1631. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1632. local valuaring = 10
  1633. for i = 0, 49 do
  1634.     valuaring = valuaring + 10
  1635. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1636. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  1637. 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))
  1638. end
  1639.  
  1640.  
  1641. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1642. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1643. 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))
  1644.  
  1645. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1646. 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))
  1647. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1648. 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))
  1649.  
  1650. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1651. CreateMesh(handle,"Brick",0,0,0)
  1652. 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))
  1653. local valuaring = 10
  1654. for i = 0, 49 do
  1655.     valuaring = valuaring + 10
  1656. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1657. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1658. 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))
  1659. end
  1660.  
  1661. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1662. CreateMesh(handle,"Brick",0,0,0)
  1663. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1664. local valuaring = 10
  1665. for i = 0, 49 do
  1666.     valuaring = valuaring + 10
  1667. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1668. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  1669. 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))
  1670. end
  1671.  
  1672.  
  1673. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1674. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1675. 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))
  1676.  
  1677. --- Left wing.
  1678.  
  1679. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1680. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1681. 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))
  1682.  
  1683. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1684. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1685. 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))
  1686. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1687. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1688. 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))
  1689. A0 = Instance.new('Attachment',wed)
  1690. A0.Position = vt(0,0.25,0.25)
  1691. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1692. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1693. 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))
  1694. A1 = Instance.new('Attachment',wed)
  1695. A1.Position = vt(0,-0.25,-2)
  1696. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1697. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1698. 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))
  1699.  
  1700. tl1 = Instance.new('Trail',wed)
  1701. tl1.Attachment0 = A1
  1702. tl1.Attachment1 = A0
  1703. tl1.Texture = "rbxassetid://2108945559"
  1704. tl1.LightEmission = 1
  1705. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1706. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1707. tl1.Lifetime = 0.6
  1708.  
  1709.  
  1710. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1711. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1712. 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))
  1713.  
  1714. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1715. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1716. 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))
  1717. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1718. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1719. 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))
  1720. A0 = Instance.new('Attachment',wed)
  1721. A0.Position = vt(0,0.25,0.25)
  1722. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1723. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1724. 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))
  1725. A1 = Instance.new('Attachment',wed)
  1726. A1.Position = vt(0,-0.25,-2)
  1727. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1728. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1729. 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))
  1730.  
  1731. tl2 = Instance.new('Trail',wed)
  1732. tl2.Attachment0 = A1
  1733. tl2.Attachment1 = A0
  1734. tl2.Texture = "rbxassetid://2108945559"
  1735. tl2.LightEmission = 1
  1736. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1737. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1738. tl2.Lifetime = 0.6
  1739.  
  1740. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1741. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1742. 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))
  1743.  
  1744. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1745. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1746. 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))
  1747. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1748. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1749. 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))
  1750. A0 = Instance.new('Attachment',wed)
  1751. A0.Position = vt(0,0.25,0.25)
  1752. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1753. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1754. 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))
  1755. A1 = Instance.new('Attachment',wed)
  1756. A1.Position = vt(0,-0.25,-2)
  1757. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1758. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1759. 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))
  1760.  
  1761. tl3 = Instance.new('Trail',wed)
  1762. tl3.Attachment0 = A1
  1763. tl3.Attachment1 = A0
  1764. tl3.Texture = "rbxassetid://2108945559"
  1765. tl3.LightEmission = 1
  1766. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1767. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1768. tl3.Lifetime = 0.6
  1769.  
  1770. tl1.Enabled = false
  1771. tl2.Enabled = false
  1772. tl3.Enabled = false
  1773. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1774. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1775. 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))
  1776.  
  1777. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1778. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1779. CreateWeld(wed,lwing4,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))
  1780. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1781. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1782. CreateWeld(wed,lwing4,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))
  1783. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1784. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1785. CreateWeld(wed,lwing4,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))
  1786. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1787. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1788. CreateWeld(wed,lwing4,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))
  1789.  
  1790. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1791. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1792. 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))
  1793.  
  1794. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1795. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1796. CreateWeld(wed,lwing5,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))
  1797. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1798. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1799. CreateWeld(wed,lwing5,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))
  1800. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1801. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1802. CreateWeld(wed,lwing5,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))
  1803. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1804. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1805. CreateWeld(wed,lwing5,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))
  1806.  
  1807. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1808. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1809. 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))
  1810.  
  1811. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1812. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1813. CreateWeld(wed,lwing6,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))
  1814. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1815. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1816. CreateWeld(wed,lwing6,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))
  1817. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1818. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1819. CreateWeld(wed,lwing6,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))
  1820. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1821. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1822. CreateWeld(wed,lwing6,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))
  1823.  
  1824. -- Right wing.
  1825.  
  1826. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1827. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1828. 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))
  1829.  
  1830. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1831. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1832. 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))
  1833. A0 = Instance.new('Attachment',wed)
  1834. A0.Position = vt(0,0.25,0.25)
  1835. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1836. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1837. 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))
  1838. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1839. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1840. 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))
  1841. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1842. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1843. 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))
  1844. A1 = Instance.new('Attachment',wed)
  1845. A1.Position = vt(0,2,0.25)
  1846.  
  1847. tr1 = Instance.new('Trail',wed)
  1848. tr1.Attachment0 = A1
  1849. tr1.Attachment1 = A0
  1850. tr1.Texture = "rbxassetid://2108945559"
  1851. tr1.LightEmission = 1
  1852. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1853. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1854. tr1.Lifetime = 0.6
  1855.  
  1856. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1857. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1858. 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))
  1859.  
  1860. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1861. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1862. 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))
  1863. A0 = Instance.new('Attachment',wed)
  1864. A0.Position = vt(0,0.25,0.25)
  1865. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1866. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1867. 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))
  1868. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1869. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1870. 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))
  1871. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1872. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1873. 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))
  1874. A1 = Instance.new('Attachment',wed)
  1875. A1.Position = vt(0,2,0.25)
  1876.  
  1877. tr2 = Instance.new('Trail',wed)
  1878. tr2.Attachment0 = A1
  1879. tr2.Attachment1 = A0
  1880. tr2.Texture = "rbxassetid://2108945559"
  1881. tr2.LightEmission = 1
  1882. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1883. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1884. tr2.Lifetime = 0.6
  1885.  
  1886. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1887. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1888. 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))
  1889.  
  1890. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1891. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1892. 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))
  1893. A0 = Instance.new('Attachment',wed)
  1894. A0.Position = vt(0,0.25,0.25)
  1895. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1896. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1897. 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))
  1898. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1899. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1900. 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))
  1901. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1902. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1903. 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))
  1904. A1 = Instance.new('Attachment',wed)
  1905. A1.Position = vt(0,2,0.25)
  1906.  
  1907. tr3 = Instance.new('Trail',wed)
  1908. tr3.Attachment0 = A1
  1909. tr3.Attachment1 = A0
  1910. tr3.Texture = "rbxassetid://2108945559"
  1911. tr3.LightEmission = 1
  1912. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1913. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1914. tr3.Lifetime = 0.6
  1915.  
  1916.  
  1917. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1918. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1919. 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))
  1920.  
  1921. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1922. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1923. CreateWeld(wed,rwing4,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))
  1924. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1925. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1926. CreateWeld(wed,rwing4,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))
  1927. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1928. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1929. CreateWeld(wed,rwing4,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))
  1930. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1931. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1932. CreateWeld(wed,rwing4,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))
  1933.  
  1934. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1935. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1936. 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))
  1937.  
  1938. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1939. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1940. CreateWeld(wed,rwing5,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))
  1941. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1942. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1943. CreateWeld(wed,rwing5,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))
  1944. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1945. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1946. CreateWeld(wed,rwing5,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))
  1947. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1948. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1949. CreateWeld(wed,rwing5,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))
  1950.  
  1951. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1952. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1953. 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))
  1954.  
  1955. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1956. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1957. CreateWeld(wed,rwing6,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))
  1958. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1959. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1960. CreateWeld(wed,rwing6,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))
  1961. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1962. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1963. CreateWeld(wed,rwing6,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))
  1964. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1965. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1966. CreateWeld(wed,rwing6,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))
  1967.  
  1968. ---- HERES THE RING
  1969.  
  1970.  
  1971. ran = CreateParta(m2,0,0,"Glass",wepcolor)
  1972. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1973. 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))
  1974. ran = CreateParta(m,0,0,"Glass",wepcolor)
  1975. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1976. 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))
  1977. ran = CreateParta(m,0,0,"Glass",wepcolor)
  1978. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1979. 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))
  1980.  
  1981.  
  1982. gan = CreateParta(m,0,0,"Glass",wepcolor)
  1983. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1984. 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))
  1985.  
  1986. gan = CreateParta(m,0,0,"Glass",wepcolor)
  1987. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1988. 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))
  1989.  
  1990.  
  1991.  
  1992. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1993. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1994. 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))
  1995.  
  1996. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1997. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1998. 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))
  1999.  
  2000. gane = CreateParta(m3,0,0,"Glass",lunacolor2)
  2001. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2002. 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))
  2003.  
  2004. star = CreateParta(m,0,0,"Glass",wepcolor)
  2005. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2006. 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))
  2007. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  2008. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2009. 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))
  2010. --- second ring
  2011.  
  2012. ran = CreateParta(m2,0,0,"Granite",wepcolor)
  2013. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  2014. 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))
  2015. ran = CreateParta(m,0,0,"Granite",wepcolor)
  2016. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  2017. 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))
  2018. ran = CreateParta(m,0,0,"Granite",wepcolor)
  2019. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  2020. 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))
  2021.  
  2022. gan = CreateParta(m,0,0,"Granite",wepcolor)
  2023. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2024. 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))
  2025.  
  2026. gan = CreateParta(m,0,0,"Granite",wepcolor)
  2027. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2028. 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))
  2029.  
  2030.  
  2031.  
  2032. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2033. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2034. 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))
  2035.  
  2036. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2037. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2038. 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))
  2039.  
  2040. gane = CreateParta(m3,0,0,"Granite",lunacolor2)
  2041. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2042. 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))
  2043.  
  2044. star = CreateParta(m,0,0,"Granite",wepcolor)
  2045. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2046. 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))
  2047. starl = CreateParta(m3,0,0,"Granite",starcolor)
  2048. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2049. 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))
  2050.  
  2051.  
  2052.  
  2053.  
  2054. for i, v in pairs(m:GetChildren()) do
  2055. if v:IsA("Part") then
  2056. v.BrickColor = BrickColor.new("Really black")
  2057. v.Material = "Glass"
  2058. end
  2059. end
  2060. for i, v in pairs(m2:GetChildren()) do
  2061. if v:IsA("Part") then
  2062. v.BrickColor = BrickColor.new("Crimson")
  2063. v.Material = "Granite"
  2064. end
  2065. end
  2066. for i, v in pairs(m3:GetChildren()) do
  2067. if v:IsA("Part") then
  2068. v.BrickColor = BrickColor.new("Really red")
  2069. v.Material = "Neon"
  2070. end
  2071. end
  2072. for i, v in pairs(mw2:GetChildren()) do
  2073. if v:IsA("Part") then
  2074. v.BrickColor = BrickColor.new("Really red")
  2075. v.Material = "Neon"
  2076. end
  2077. end
  2078. for i, v in pairs(mw1:GetChildren()) do
  2079. if v:IsA("Part") then
  2080. v.Transparency = 0
  2081. v.BrickColor = BrickColor.new("Really blue")
  2082. v.Material = "Neon"
  2083. end
  2084. end
  2085. for i, v in pairs(extrawingmod1:GetChildren()) do
  2086. if v:IsA("Part") then
  2087. v.Transparency = 0.8
  2088. v.BrickColor = BrickColor.new("Toothpaste")
  2089. v.Material = "Neon"
  2090. end
  2091. end
  2092. for i, v in pairs(extrawingmod2:GetChildren()) do
  2093. if v:IsA("Part") then
  2094. v.Transparency = 0.8
  2095. v.BrickColor = BrickColor.new("Really blue")
  2096. v.Material = "Neon"
  2097. end
  2098. end
  2099. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  2100.  
  2101. --clothes
  2102. local Hair = Instance.new("Part", char)
  2103. Hair.Name = "Hair"
  2104. Hair.CanCollide = false
  2105. Hair.BrickColor = BrickColor.new("Institutional white")
  2106. Hair.Transparency = 0
  2107. Hair.Material = "Plastic"
  2108. Hair.Size = Vector3.new(1, 1, 2)
  2109. Hair.TopSurface = Enum.SurfaceType.Smooth
  2110. Hair.BottomSurface = Enum.SurfaceType.Smooth
  2111.  
  2112. local Weld = Instance.new("Weld", Hair)
  2113. Weld.Part0 = hed
  2114. Weld.Part1 = Hair
  2115. Weld.C1 = CFrame.new(0, -.6, 0)
  2116. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  2117.  
  2118. local M2 = Instance.new("SpecialMesh")
  2119. M2.Parent = Hair
  2120. M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2121. M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
  2122. M2.Scale = Vector3.new(1, 1, 1)
  2123.  
  2124. for i,v in pairs(char:children()) do
  2125. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  2126. v:Remove()
  2127. end
  2128. end
  2129.  
  2130.  
  2131. function RemoveOutlines(part)
  2132.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2133. end
  2134. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2135.   local Part = Create("Part")({
  2136.     Parent = Parent,
  2137.     Reflectance = Reflectance,
  2138.     Transparency = Transparency,
  2139.     CanCollide = false,
  2140.     Locked = true,
  2141.     BrickColor = BrickColor.new(tostring(BColor)),
  2142.     Name = Name,
  2143.     Size = Size,
  2144.     Material = Material
  2145.   })
  2146.   Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2147.   RemoveOutlines(Part)
  2148.   return Part
  2149. end
  2150. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2151.   local Msh = Create(Mesh)({
  2152.     Parent = Part,
  2153.     Offset = OffSet,
  2154.     Scale = Scale
  2155.   })
  2156.   if Mesh == "SpecialMesh" then
  2157.     Msh.MeshType = MeshType
  2158.     Msh.MeshId = MeshId
  2159.   end
  2160.   return Msh
  2161. end
  2162. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2163.   local Weld = Create("Weld")({
  2164.     Parent = Parent,
  2165.     Part0 = Part0,
  2166.     Part1 = Part1,
  2167.     C0 = C0,
  2168.     C1 = C1
  2169.   })
  2170.   return Weld
  2171. end
  2172.  
  2173. Character=Player.Character
  2174. PlayerGui=Player.PlayerGui
  2175. Backpack=Player.Backpack
  2176. Torso=Character.Torso
  2177. Head=Character.Head
  2178. Humanoid=Character.Humanoid
  2179. m=Instance.new('Model',Character)
  2180. LeftArm=Character["Left Arm"]
  2181. LeftLeg=Character["Left Leg"]
  2182. RightArm=Character["Right Arm"]
  2183. RightLeg=Character["Right Leg"]
  2184. LS=Torso["Left Shoulder"]
  2185. LH=Torso["Left Hip"]
  2186. RS=Torso["Right Shoulder"]
  2187. RH=Torso["Right Hip"]
  2188. Face = Head.face
  2189. Neck=Torso.Neck
  2190. it=Instance.new
  2191. attacktype=1
  2192. vt=Vector3.new
  2193. cf=CFrame.new
  2194. euler=CFrame.fromEulerAnglesXYZ
  2195. angles=CFrame.Angles
  2196. cloaked=false
  2197. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2198. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2199. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2200. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2201. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2202. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2203. RootPart=Character.HumanoidRootPart
  2204. RootJoint=RootPart.RootJoint
  2205. RootCF=euler(-1.57,0,3.14)
  2206. attack = false
  2207. attackdebounce = false
  2208. deb=false
  2209. equipped=true
  2210. hand=false
  2211. combo=0
  2212. mana=0
  2213. trispeed=.2
  2214. attackmode='none'
  2215. local idle=0
  2216. local Anim="Idle"
  2217. local Effects={}
  2218. local gun=false
  2219. local shoot=false
  2220. local sine = 0
  2221. local change = 1
  2222.  
  2223. function RecolorTextAndRename(name,col1,col2,font)
  2224. modet.TextStrokeColor3 = col2
  2225. modet.TextColor3 = col1
  2226. modet.Font = font
  2227. modet.Text = name
  2228. techc.ImageColor3 = col2
  2229. circl.ImageColor3 = col2
  2230. circl2.ImageColor3 = col1
  2231. imgl2.ImageColor3 = col1
  2232. imgl2b.ImageColor3 = col2
  2233. ned.Text = name
  2234. ned.TextColor3 = col1
  2235. ned.TextStrokeColor3 = col2
  2236. end
  2237. --save shoulders
  2238. RSH, LSH=nil, nil
  2239. --welds
  2240. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2241. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2242. LH=Torso["Left Hip"]
  2243. RH=Torso["Right Hip"]
  2244. TorsoColor=Torso.BrickColor
  2245. function NoOutline(Part)
  2246. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2247. end
  2248. ch=Character
  2249. RSH=ch.Torso["Right Shoulder"]
  2250. LSH=ch.Torso["Left Shoulder"]
  2251. --
  2252. RSH.Parent=nil
  2253. LSH.Parent=nil
  2254. --
  2255. RW.Name="Right Shoulder"
  2256. RW.Part0=ch.Torso
  2257. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2258. RW.C1=cf(0, 0.5, 0)
  2259. RW.Part1=ch["Right Arm"]
  2260. RW.Parent=ch.Torso
  2261. --
  2262. LW.Name="Left Shoulder"
  2263. LW.Part0=ch.Torso
  2264. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2265. LW.C1=cf(0, 0.5, 0)
  2266. LW.Part1=ch["Left Arm"]
  2267. LW.Parent=ch.Torso
  2268.  
  2269. local Stats=Instance.new("BoolValue")
  2270. Stats.Name="Stats"
  2271. Stats.Parent=Character
  2272. local Atk=Instance.new("NumberValue")
  2273. Atk.Name="Damage"
  2274. Atk.Parent=Stats
  2275. Atk.Value=1
  2276. local Def=Instance.new("NumberValue")
  2277. Def.Name="Defense"
  2278. Def.Parent=Stats
  2279. Def.Value=1
  2280. local Speed=Instance.new("NumberValue")
  2281. Speed.Name="Speed"
  2282. Speed.Parent=Stats
  2283. Speed.Value=1
  2284. local Mvmt=Instance.new("NumberValue")
  2285. Mvmt.Name="Movement"
  2286. Mvmt.Parent=Stats
  2287. Mvmt.Value=1
  2288.  
  2289. local donum=0
  2290.  
  2291.  
  2292. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2293. local fp=it("Part")
  2294. fp.formFactor=formfactor
  2295. fp.Parent=parent
  2296. fp.Reflectance=reflectance
  2297. fp.Transparency=transparency
  2298. fp.CanCollide=false
  2299. fp.Locked=true
  2300. fp.BrickColor=brickcolor
  2301. fp.Name=name
  2302. fp.Size=size
  2303. fp.Position=Torso.Position
  2304. NoOutline(fp)
  2305. fp.Material="SmoothPlastic"
  2306. fp:BreakJoints()
  2307. return fp
  2308. end
  2309.  
  2310. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2311. local mesh=it(Mesh)
  2312. mesh.Parent=part
  2313. if Mesh=="SpecialMesh" then
  2314. mesh.MeshType=meshtype
  2315. if meshid~="nil" then
  2316. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2317. end
  2318. end
  2319. mesh.Offset=offset
  2320. mesh.Scale=scale
  2321. return mesh
  2322. end
  2323.  
  2324. function weld(parent,part0,part1,c0)
  2325. local weld=it("Weld")
  2326. weld.Parent=parent
  2327. weld.Part0=part0
  2328. weld.Part1=part1
  2329. weld.C0=c0
  2330. return weld
  2331. end
  2332.  
  2333. local Color1=Torso.BrickColor
  2334.  
  2335. local bodvel=Instance.new("BodyVelocity")
  2336. local bg=Instance.new("BodyGyro")
  2337.  
  2338. --------- SazEreno's Artificial HB --------------
  2339. ArtificialHB = Instance.new("BindableEvent", script)
  2340. ArtificialHB.Name = "ArtificialHB"
  2341.  
  2342. script:WaitForChild("ArtificialHB")
  2343. Frame_Speed = 1 / 60
  2344. frame = Frame_Speed
  2345. tf = 0
  2346. allowframeloss = false
  2347. tossremainder = false
  2348. lastframe = tick()
  2349. script.ArtificialHB:Fire()
  2350.  
  2351. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2352.     tf = tf + s
  2353.     if tf >= frame then
  2354.         if allowframeloss then
  2355.             script.ArtificialHB:Fire()
  2356.             lastframe = tick()
  2357.         else
  2358.             for i = 1, math.floor(tf / frame) do
  2359.                 script.ArtificialHB:Fire()
  2360.             end
  2361.         lastframe = tick()
  2362.         end
  2363.         if tossremainder then
  2364.             tf = 0
  2365.         else
  2366.             tf = tf - frame * math.floor(tf / frame)
  2367.         end
  2368.     end
  2369. end)
  2370.  
  2371. ------------------
  2372. function swait(num)
  2373. function swait(num)
  2374. if num==0 or num==nil then
  2375. game:service'RunService'.Stepped:wait(0)
  2376. else
  2377. for i=0,num do
  2378. game:service'RunService'.Stepped:wait(0)
  2379. end
  2380. end
  2381. end
  2382. end
  2383.  
  2384. -------- RAINBOW LEAVE IT TO ME
  2385. local r = 255
  2386. local g = 0
  2387. local b = 0
  2388. coroutine.resume(coroutine.create(function()
  2389. while wait() do
  2390.     for i = 0, 254/5 do
  2391.         swait()
  2392.         g = g + 5
  2393.     end
  2394.     for i = 0, 254/5 do
  2395.         swait()
  2396.         r = r - 5
  2397.     end
  2398.     for i = 0, 254/5 do
  2399.         swait()
  2400.         b = b + 5
  2401.     end
  2402.     for i = 0, 254/5 do
  2403.         swait()
  2404.         g = g - 5
  2405.     end
  2406.     for i = 0, 254/5 do
  2407.         swait()
  2408.         r = r + 5
  2409.     end
  2410.     for i = 0, 254/5 do
  2411.         swait()
  2412.         b = b - 5
  2413.     end
  2414. end
  2415. end))
  2416.  
  2417.  
  2418. so = function(id,par,vol,pit)
  2419. coroutine.resume(coroutine.create(function()
  2420. local sou = Instance.new("Sound",par or workspace)
  2421. sou.Volume=vol
  2422. sou.Pitch=pit or 1
  2423. sou.SoundId=id
  2424. swait()
  2425. sou:play()
  2426. game:GetService("Debris"):AddItem(sou,6)
  2427. end))
  2428. end
  2429.  
  2430. function clerp(a,b,t)
  2431. local qa = {QuaternionFromCFrame(a)}
  2432. local qb = {QuaternionFromCFrame(b)}
  2433. local ax, ay, az = a.x, a.y, a.z
  2434. local bx, by, bz = b.x, b.y, b.z
  2435. local _t = 1-t
  2436. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2437. end
  2438.  
  2439. function QuaternionFromCFrame(cf)
  2440. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2441. local trace = m00 + m11 + m22
  2442. if trace > 0 then
  2443. local s = math.sqrt(1 + trace)
  2444. local recip = 0.5/s
  2445. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2446. else
  2447. local i = 0
  2448. if m11 > m00 then
  2449. i = 1
  2450. end
  2451. if m22 > (i == 0 and m00 or m11) then
  2452. i = 2
  2453. end
  2454. if i == 0 then
  2455. local s = math.sqrt(m00-m11-m22+1)
  2456. local recip = 0.5/s
  2457. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2458. elseif i == 1 then
  2459. local s = math.sqrt(m11-m22-m00+1)
  2460. local recip = 0.5/s
  2461. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2462. elseif i == 2 then
  2463. local s = math.sqrt(m22-m00-m11+1)
  2464. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2465. end
  2466. end
  2467. end
  2468.  
  2469. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2470. local xs, ys, zs = x + x, y + y, z + z
  2471. local wx, wy, wz = w*xs, w*ys, w*zs
  2472. local xx = x*xs
  2473. local xy = x*ys
  2474. local xz = x*zs
  2475. local yy = y*ys
  2476. local yz = y*zs
  2477. local zz = z*zs
  2478. 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))
  2479. end
  2480.  
  2481. function QuaternionSlerp(a, b, t)
  2482. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2483. local startInterp, finishInterp;
  2484. if cosTheta >= 0.0001 then
  2485. if (1 - cosTheta) > 0.0001 then
  2486. local theta = math.acos(cosTheta)
  2487. local invSinTheta = 1/math.sin(theta)
  2488. startInterp = math.sin((1-t)*theta)*invSinTheta
  2489. finishInterp = math.sin(t*theta)*invSinTheta  
  2490. else
  2491. startInterp = 1-t
  2492. finishInterp = t
  2493. end
  2494. else
  2495. if (1+cosTheta) > 0.0001 then
  2496. local theta = math.acos(-cosTheta)
  2497. local invSinTheta = 1/math.sin(theta)
  2498. startInterp = math.sin((t-1)*theta)*invSinTheta
  2499. finishInterp = math.sin(t*theta)*invSinTheta
  2500. else
  2501. startInterp = t-1
  2502. finishInterp = t
  2503. end
  2504. end
  2505. 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
  2506. end
  2507.  
  2508. local function CFrameFromTopBack(at, top, back)
  2509. local right = top:Cross(back)
  2510. return CFrame.new(at.x, at.y, at.z,
  2511. right.x, top.x, back.x,
  2512. right.y, top.y, back.y,
  2513. right.z, top.z, back.z)
  2514. end
  2515.  
  2516. function Triangle(a, b, c)
  2517. local edg1 = (c-a):Dot((b-a).unit)
  2518. local edg2 = (a-b):Dot((c-b).unit)
  2519. local edg3 = (b-c):Dot((a-c).unit)
  2520. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2521. a, b, c = a, b, c
  2522. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2523. a, b, c = b, c, a
  2524. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2525. a, b, c = c, a, b
  2526. else
  2527. assert(false, "unreachable")
  2528. end
  2529.  
  2530. local len1 = (c-a):Dot((b-a).unit)
  2531. local len2 = (b-a).magnitude - len1
  2532. local width = (a + (b-a).unit*len1 - c).magnitude
  2533.  
  2534. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2535.  
  2536. local list = {}
  2537.  
  2538. if len1 > 0.01 then
  2539. local w1 = Instance.new('WedgePart', m)
  2540. game:GetService("Debris"):AddItem(w1,5)
  2541. w1.Material = "SmoothPlastic"
  2542. w1.FormFactor = 'Custom'
  2543. w1.BrickColor = BrickColor.new("Really red")
  2544. w1.Transparency = 0
  2545. w1.Reflectance = 0
  2546. w1.Material = "SmoothPlastic"
  2547. w1.CanCollide = false
  2548. local l1 = Instance.new("PointLight",w1)
  2549. l1.Color = Color3.new(170,0,0)
  2550. NoOutline(w1)
  2551. local sz = Vector3.new(0.2, width, len1)
  2552. w1.Size = sz
  2553. local sp = Instance.new("SpecialMesh",w1)
  2554. sp.MeshType = "Wedge"
  2555. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2556. w1:BreakJoints()
  2557. w1.Anchored = true
  2558. w1.Parent = workspace
  2559. w1.Transparency = 0.7
  2560. table.insert(Effects,{w1,"Disappear",.01})
  2561. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2562. table.insert(list,w1)
  2563. end
  2564.  
  2565. if len2 > 0.01 then
  2566. local w2 = Instance.new('WedgePart', m)
  2567. game:GetService("Debris"):AddItem(w2,5)
  2568. w2.Material = "SmoothPlastic"
  2569. w2.FormFactor = 'Custom'
  2570. w2.BrickColor = BrickColor.new("Really red")
  2571. w2.Transparency = 0
  2572. w2.Reflectance = 0
  2573. w2.Material = "SmoothPlastic"
  2574. w2.CanCollide = false
  2575. local l2 = Instance.new("PointLight",w2)
  2576. l2.Color = Color3.new(170,0,0)
  2577. NoOutline(w2)
  2578. local sz = Vector3.new(0.2, width, len2)
  2579. w2.Size = sz
  2580. local sp = Instance.new("SpecialMesh",w2)
  2581. sp.MeshType = "Wedge"
  2582. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2583. w2:BreakJoints()
  2584. w2.Anchored = true
  2585. w2.Parent = workspace
  2586. w2.Transparency = 0.7
  2587. table.insert(Effects,{w2,"Disappear",.01})
  2588. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2589. table.insert(list,w2)
  2590. end
  2591. return unpack(list)
  2592. end
  2593.  
  2594.  
  2595. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2596.   if hit.Parent == nil then
  2597.     return
  2598.   end
  2599.   local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2600.   for _, v in pairs(hit.Parent:children()) do
  2601.     if v:IsA("Humanoid") then
  2602.       h = v
  2603.     end
  2604.   end
  2605.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2606.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2607.       return
  2608.     end
  2609.     local c = Create("ObjectValue")({
  2610.       Name = "creator",
  2611.       Value = game:GetService("Players").LocalPlayer,
  2612.       Parent = h
  2613.     })
  2614.     game:GetService("Debris"):AddItem(c, 0.5)
  2615.     if HitSound ~= nil and HitPitch ~= nil then
  2616.       CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2617.     end
  2618.     local Damage = math.random(minim, maxim)
  2619.     local blocked = false
  2620.     local block = hit.Parent:findFirstChild("Block")
  2621.     if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2622.       blocked = true
  2623.       block.Value = block.Value - 1
  2624.       print(block.Value)
  2625.     end
  2626.     if blocked == false then
  2627.       HitHealth = h.Health
  2628.       h.MaxHealth = 100
  2629.       h.Health = h.Health - Damage
  2630.       if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2631.         print("gained kill")
  2632.         dmg(h.Parent)
  2633.       end
  2634.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2635.     else
  2636.       h.Health = h.Health - Damage / 2
  2637.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2638.     end
  2639.     if Type == "Knockdown" then
  2640.       local hum = hit.Parent.Humanoid
  2641.       hum.PlatformStand = true
  2642.       coroutine.resume(coroutine.create(function(HHumanoid)
  2643.         swait(1)
  2644.         HHumanoid.PlatformStand = false
  2645.       end), hum)
  2646.       local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2647.       local bodvol = Create("BodyVelocity")({
  2648.         velocity = angle * knockback,
  2649.         P = 5000,
  2650.         maxForce = Vector3.new(8000, 8000, 8000),
  2651.         Parent = hit
  2652.       })
  2653.       local rl = Create("BodyAngularVelocity")({
  2654.         P = 3000,
  2655.         maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2656.         angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2657.         Parent = hit
  2658.       })
  2659.       game:GetService("Debris"):AddItem(bodvol, 0.5)
  2660.       game:GetService("Debris"):AddItem(rl, 0.5)
  2661.     elseif Type == "Normal" then
  2662.       local vp = Create("BodyVelocity")({
  2663.         P = 500,
  2664.         maxForce = Vector3.new(math.huge, 0, math.huge),
  2665.         velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2666.       })
  2667.       if knockback > 0 then
  2668.         vp.Parent = hit.Parent.Head
  2669.       end
  2670.       game:GetService("Debris"):AddItem(vp, 0.5)
  2671.     elseif Type == "Up" then
  2672.       local bodyVelocity = Create("BodyVelocity")({
  2673.         velocity = Vector3.new(0, 20, 0),
  2674.         P = 5000,
  2675.         maxForce = Vector3.new(8000, 8000, 8000),
  2676.         Parent = hit
  2677.       })
  2678.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2679.       local bodyVelocity = Create("BodyVelocity")({
  2680.         velocity = Vector3.new(0, 20, 0),
  2681.         P = 5000,
  2682.         maxForce = Vector3.new(8000, 8000, 8000),
  2683.         Parent = hit
  2684.       })
  2685.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2686.     elseif Type == "Leech" then
  2687.       local hum = hit.Parent.Humanoid
  2688.       if hum ~= nil then
  2689.         for i = 0, 2 do
  2690.           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)
  2691.         end
  2692.         Humanoid.Health = Humanoid.Health + 10
  2693.       end
  2694.     elseif Type == "UpKnock" then
  2695.       local hum = hit.Parent.Humanoid
  2696.       hum.PlatformStand = true
  2697.       if hum ~= nil then
  2698.         hitr = true
  2699.       end
  2700.       coroutine.resume(coroutine.create(function(HHumanoid)
  2701.         swait(5)
  2702.         HHumanoid.PlatformStand = false
  2703.         hitr = false
  2704.       end), hum)
  2705.       local bodyVelocity = Create("BodyVelocity")({
  2706.         velocity = Vector3.new(0, 20, 0),
  2707.         P = 5000,
  2708.         maxForce = Vector3.new(8000, 8000, 8000),
  2709.         Parent = hit
  2710.       })
  2711.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2712.       local bodyVelocity = Create("BodyVelocity")({
  2713.         velocity = Vector3.new(0, 20, 0),
  2714.         P = 5000,
  2715.         maxForce = Vector3.new(8000, 8000, 8000),
  2716.         Parent = hit
  2717.       })
  2718.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2719.     elseif Type == "Snare" then
  2720.       local bp = Create("BodyPosition")({
  2721.         P = 2000,
  2722.         D = 100,
  2723.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2724.         position = hit.Parent.Torso.Position,
  2725.         Parent = hit.Parent.Torso
  2726.       })
  2727.       game:GetService("Debris"):AddItem(bp, 1)
  2728.     elseif Type == "Slashnare" then
  2729.       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)
  2730.       for i = 1, math.random(4, 5) do
  2731.         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)
  2732.       end
  2733.       local bp = Create("BodyPosition")({
  2734.         P = 2000,
  2735.         D = 100,
  2736.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2737.         position = hit.Parent.Torso.Position,
  2738.         Parent = hit.Parent.Torso
  2739.       })
  2740.       game:GetService("Debris"):AddItem(bp, 1)
  2741.     elseif Type == "Spike" then
  2742.       CreateBigIceSword(hit.Parent.Torso.CFrame)
  2743.       local bp = Create("BodyPosition")({
  2744.         P = 2000,
  2745.         D = 100,
  2746.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2747.         position = hit.Parent.Torso.Position,
  2748.         Parent = hit.Parent.Torso
  2749.       })
  2750.       game:GetService("Debris"):AddItem(bp, 1)
  2751.     elseif Type == "Freeze" then
  2752.       local BodPos = Create("BodyPosition")({
  2753.         P = 50000,
  2754.         D = 1000,
  2755.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2756.         position = hit.Parent.Torso.Position,
  2757.         Parent = hit.Parent.Torso
  2758.       })
  2759.       local BodGy = Create("BodyGyro")({
  2760.         maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2761.         P = 20000,
  2762.         Parent = hit.Parent.Torso,
  2763.         cframe = hit.Parent.Torso.CFrame
  2764.       })
  2765.       hit.Parent.Torso.Anchored = true
  2766.       coroutine.resume(coroutine.create(function(Part)
  2767.         swait(1.5)
  2768.         Part.Anchored = false
  2769.       end), hit.Parent.Torso)
  2770.       game:GetService("Debris"):AddItem(BodPos, 3)
  2771.       game:GetService("Debris"):AddItem(BodGy, 3)
  2772.     end
  2773.     local debounce = Create("BoolValue")({
  2774.       Name = "DebounceHit",
  2775.       Parent = hit.Parent,
  2776.       Value = true
  2777.     })
  2778.     game:GetService("Debris"):AddItem(debounce, Delay)
  2779.     c = Instance.new("ObjectValue")
  2780.     c.Name = "creator"
  2781.     c.Value = Player
  2782.     c.Parent = h
  2783.     game:GetService("Debris"):AddItem(c, 0.5)
  2784.   end
  2785. end
  2786. function ShowDamage(Pos, Text, Time, Color)
  2787.   local Rate = 0.03333333333333333
  2788.   local Pos = Pos or Vector3.new(0, 0, 0)
  2789.   local Text = Text or ""
  2790.   local Time = Time or 2
  2791.   local Color = Color or Color3.new(1, 0, 1)
  2792.   local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2793.   EffectPart.Anchored = true
  2794.   local BillboardGui = Create("BillboardGui")({
  2795.     Size = UDim2.new(3, 0, 3, 0),
  2796.     Adornee = EffectPart,
  2797.     Parent = EffectPart
  2798.   })
  2799.   local TextLabel = Create("TextLabel")({
  2800.     BackgroundTransparency = 1,
  2801.     Size = UDim2.new(1, 0, 1, 0),
  2802.     Text = Text,
  2803.     TextColor3 = Color,
  2804.     TextScaled = true,
  2805.     Font = Enum.Font.ArialBold,
  2806.     Parent = BillboardGui
  2807.   })
  2808.   game.Debris:AddItem(EffectPart, Time + 0.1)
  2809.   EffectPart.Parent = game:GetService("Workspace")
  2810.   delay(0, function()
  2811.     local Frames = Time / Rate
  2812.     for Frame = 1, Frames do
  2813.       wait(Rate)
  2814.       local Percent = Frame / Frames
  2815.       EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2816.       TextLabel.TextTransparency = Percent
  2817.     end
  2818.     if EffectPart and EffectPart.Parent then
  2819.       EffectPart:Destroy()
  2820.     end
  2821.   end)
  2822. end
  2823. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2824.   for _, c in pairs(workspace:children()) do
  2825.     local hum = c:findFirstChildOfClass("Humanoid")
  2826.     if hum ~= nil then
  2827.       local head = c:findFirstChild("Head")
  2828.       if head ~= nil then
  2829.         local targ = head.Position - Part.Position
  2830.         local mag = targ.magnitude
  2831.         if magni >= mag and c.Name ~= Player.Name then
  2832.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2833.         end
  2834.       end
  2835.     end
  2836.   end
  2837. end
  2838.  
  2839. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2840.   for _, c in pairs(workspace:children()) do
  2841.     local hum = c:findFirstChild("Humanoid")
  2842.     if hum ~= nil then
  2843.       local head = c:findFirstChild("Torso")
  2844.       if head ~= nil then
  2845.         local targ = head.Position - Part.Position
  2846.         local mag = targ.magnitude
  2847.         if magni >= mag and c.Name ~= Player.Name then
  2848.     MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2849.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2850.         end
  2851.       end
  2852.     end
  2853.   end
  2854. end
  2855.  
  2856. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2857. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2858. end
  2859.  
  2860. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2861. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2862. prt.Anchored=true
  2863. prt.CFrame=cframe
  2864. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2865. --http://www.roblox.com/asset/?id=4770560
  2866. game:GetService("Debris"):AddItem(prt,2)
  2867. CF=prt.CFrame
  2868. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2869. for i=0,1,0.2 do
  2870. wait()
  2871. Part.CFrame=CF*cf(0,0,-0.4)
  2872. end
  2873. for i=0,1,delay do
  2874. wait()
  2875. --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)
  2876. Mesh.Scale=Mesh.Scale
  2877. end
  2878. for i=0,1,0.1 do
  2879. wait()
  2880. Part.Transparency=i
  2881. end
  2882. Part.Parent=nil
  2883. end),prt,msh,CF)
  2884. end
  2885.  
  2886. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2887. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2888. prt.Anchored=true
  2889. prt.Material = "Neon"
  2890. prt.CFrame=cframe
  2891. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2892. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2893. game:GetService("Debris"):AddItem(prt,5)
  2894. coroutine.resume(coroutine.create(function(Part,Mesh)
  2895. for i=0,1,delay do
  2896. swait()
  2897. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2898. Part.Transparency=i
  2899. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2900. end
  2901. Part.Parent=nil
  2902. end),prt,msh)
  2903. end
  2904.  
  2905. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2906. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2907. prt.Anchored=true
  2908. prt.Material = "Neon"
  2909. prt.CFrame=cframe
  2910. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2911. game:GetService("Debris"):AddItem(prt,5)
  2912. coroutine.resume(coroutine.create(function(Part,Mesh)
  2913.     local rtype = rottype
  2914. for i=0,1,delay do
  2915. swait()
  2916. if rtype == 1 then
  2917. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2918. elseif rtype == 2 then
  2919. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2920. end
  2921. Part.Transparency=i
  2922. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2923. end
  2924. Part.Parent=nil
  2925. end),prt,msh)
  2926. end
  2927.  
  2928. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2929. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2930. prt.Anchored=true
  2931. prt.CFrame=cframe
  2932. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2933. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2934. game:GetService("Debris"):AddItem(prt,5)
  2935. coroutine.resume(coroutine.create(function(Part,Mesh)
  2936. for i=0,1,delay do
  2937. wait()
  2938. Part.Transparency=i
  2939. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2940. end
  2941. Part.Parent=nil
  2942. end),prt,msh)
  2943. end
  2944.  
  2945. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2946. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2947. prt.Anchored=true
  2948. prt.Material = "Neon"
  2949. prt.CFrame=cframe
  2950. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2951. game:GetService("Debris"):AddItem(prt,5)
  2952. coroutine.resume(coroutine.create(function(Part,Mesh)
  2953.     local rtype = rottype
  2954. for i=0,1,delay do
  2955. swait()
  2956. if rtype == 1 then
  2957. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2958. elseif rtype == 2 then
  2959. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2960. end
  2961. Part.Transparency=i
  2962. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2963. end
  2964. Part.Parent=nil
  2965. end),prt,msh)
  2966. end
  2967. local refec = Instance.new("ParticleEmitter",handlex)
  2968. refec.Texture = "rbxassetid://249270319"
  2969. refec.LightEmission = 0.95
  2970. refec.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  2971. refec.Rate = 50
  2972. refec.Lifetime = NumberRange.new(0.5)
  2973. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2974. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  2975. refec.Speed = NumberRange.new(0,2)
  2976. refec.Drag = 5
  2977. refec.LockedToPart = true
  2978. refec.Rotation = NumberRange.new(-500,500)
  2979. refec.VelocitySpread = 9000
  2980. refec.RotSpeed = NumberRange.new(-500,500)
  2981.  
  2982. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2983. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2984. prt.Anchored=true
  2985. prt.Material = "Neon"
  2986. prt.CFrame=cframe
  2987. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2988. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2989. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2990. game:GetService("Debris"):AddItem(prt,5)
  2991. coroutine.resume(coroutine.create(function(Part,Mesh)
  2992.     local rtype = rottype
  2993. for i=0,1,delay do
  2994. swait()
  2995. if rtype == 1 then
  2996. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2997. elseif rtype == 2 then
  2998. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2999. end
  3000. dec.Transparency=i
  3001. dec2.Transparency=i
  3002. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3003. end
  3004. Part.Parent=nil
  3005. end),prt,msh)
  3006. end
  3007.  
  3008. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  3009. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3010. prt.Anchored=true
  3011. prt.Material = "Neon"
  3012. prt.CFrame=cframe
  3013. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3014. game:GetService("Debris"):AddItem(prt,5)
  3015. coroutine.resume(coroutine.create(function(Part,Mesh)
  3016.     local rtype = rottype
  3017. for i=0,1,delay do
  3018. swait()
  3019. if rtype == 1 then
  3020. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3021. elseif rtype == 2 then
  3022. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3023. end
  3024. prt.Transparency=i
  3025. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3026. end
  3027. Part.Parent=nil
  3028. end),prt,msh)
  3029. end
  3030.  
  3031. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  3032. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3033. prt.Anchored=true
  3034. prt.Material = "Neon"
  3035. prt.CFrame=cframe
  3036. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  3037. game:GetService("Debris"):AddItem(prt,5)
  3038. coroutine.resume(coroutine.create(function(Part,Mesh)
  3039.     local rtype = rottype
  3040. for i=0,1,delay do
  3041. swait()
  3042. if rtype == 1 then
  3043. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  3044. elseif rtype == 2 then
  3045. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  3046. end
  3047. prt.Transparency=i
  3048. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  3049. end
  3050. Part.Parent=nil
  3051. end),prt,msh)
  3052. end
  3053.  
  3054. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  3055. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3056. prt.Anchored=true
  3057. prt.Material = "Neon"
  3058. prt.CFrame=cframe
  3059. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3060. game:GetService("Debris"):AddItem(prt,5)
  3061. coroutine.resume(coroutine.create(function(Part,Mesh)
  3062.     local rtype = rottype
  3063. for i=0,1,delay do
  3064. swait()
  3065. if rtype == 1 then
  3066. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3067. elseif rtype == 2 then
  3068. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3069. end
  3070. prt.Transparency=i
  3071. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3072. end
  3073. Part.Parent=nil
  3074. end),prt,msh)
  3075. end
  3076.  
  3077. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3078. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3079. prt.Anchored=true
  3080. prt.Material = "Neon"
  3081. prt.CFrame=cframe
  3082. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3083. game:GetService("Debris"):AddItem(prt,5)
  3084. coroutine.resume(coroutine.create(function(Part,Mesh)
  3085.     local rtype = rottype
  3086. for i=0,1,delay do
  3087. swait()
  3088. if rtype == 1 then
  3089. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3090. elseif rtype == 2 then
  3091. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3092. end
  3093. prt.Transparency=i
  3094. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3095. end
  3096. Part.Parent=nil
  3097. end),prt,msh)
  3098. end
  3099.  
  3100. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3101. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3102. prt.Anchored=false
  3103. prt.CFrame=cframe
  3104. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3105. local wld=weld(prt,prt,Parent,cframe)
  3106. game:GetService("Debris"):AddItem(prt,5)
  3107. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3108. for i=0,1,delay do
  3109. wait()
  3110. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3111. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3112. Part.Transparency=i
  3113. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3114. end
  3115. Part.Parent=nil
  3116. end),prt,msh,wld)
  3117. end
  3118.  
  3119. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3120. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3121. prt.Anchored=false
  3122. prt.CFrame=cframe
  3123. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3124. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3125. game:GetService("Debris"):AddItem(prt,5)
  3126. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3127. for i=0,1,delay do
  3128. wait()
  3129. Weld.C0=euler(i*20,0,0)
  3130. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3131. Part.Transparency=i
  3132. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3133. end
  3134. Part.Parent=nil
  3135. end),prt,msh,wld)
  3136. end
  3137.  
  3138. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3139. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3140. prt.Anchored=true
  3141. prt.CFrame=cframe
  3142. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3143. game:GetService("Debris"):AddItem(prt,2)
  3144. coroutine.resume(coroutine.create(function(Part,Mesh)
  3145. for i=0,1,delay do
  3146. wait()
  3147. Part.CFrame=Part.CFrame
  3148. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3149. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3150. prt2.Anchored=true
  3151. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3152. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3153. game:GetService("Debris"):AddItem(prt2,2)
  3154. coroutine.resume(coroutine.create(function(Part,Mesh)
  3155. for i=0,1,0.1 do
  3156. wait()
  3157. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3158. end
  3159. Part.Parent=nil
  3160. end),prt2,msh2)
  3161. end
  3162. for i=0,1,delay*2 do
  3163. wait()
  3164. Part.CFrame=Part.CFrame
  3165. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3166. end
  3167. Part.Parent=nil
  3168. end),prt,msh)
  3169. end
  3170.  
  3171. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3172. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3173. prt.Anchored=true
  3174. prt.CFrame=cframe
  3175. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3176. game:GetService("Debris"):AddItem(prt,2)
  3177. coroutine.resume(coroutine.create(function(Part,Mesh)
  3178. for i=0,1,delay do
  3179. wait()
  3180. Part.CFrame=Part.CFrame
  3181. Part.Transparency=i
  3182. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3183. end
  3184. Part.Parent=nil
  3185. end),prt,msh)
  3186. end
  3187.  
  3188. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3189. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3190. prt.Anchored=true
  3191. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3192. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3193. game:GetService("Debris"):AddItem(prt,2)
  3194. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3195. CF=Part.CFrame
  3196. Numbb=0
  3197. randnumb=math.random()/10
  3198. rand1=math.random()/10
  3199. for i=0,1,rand1 do
  3200. wait()
  3201. CF=CF*cf(0,math.random()/2,0)
  3202. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3203. Part.CFrame=CF*euler(Numbb,0,0)
  3204. Part.Transparency=i
  3205. Numbb=Numbb+randnumb
  3206. end
  3207. Part.Parent=nil
  3208. end),prt,CF,Numbb,randnumb)
  3209. end
  3210.  
  3211. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3212. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3213. prt.Anchored=true
  3214. prt.CFrame=cframe
  3215. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3216. game:GetService("Debris"):AddItem(prt,5)
  3217. coroutine.resume(coroutine.create(function(Part,Mesh)
  3218. for i=0,1,delay do
  3219. wait()
  3220. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3221. Part.Transparency=i
  3222. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3223. end
  3224. Part.Parent=nil
  3225. end),prt,msh)
  3226. end
  3227.  
  3228. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3229. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3230. prt.Anchored=true
  3231. prt.CFrame=cframe
  3232. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3233. game:GetService("Debris"):AddItem(prt,2)
  3234. coroutine.resume(coroutine.create(function(Part,Mesh)
  3235. for i=0,1,delay do
  3236. wait()
  3237. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3238. Part.Transparency=i
  3239. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3240. end
  3241. Part.Parent=nil
  3242. end),prt,msh)
  3243. end
  3244.  
  3245. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3246. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3247. prt.Anchored=true
  3248. prt.CFrame=cframe*cf(x,y,z)
  3249. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3250. game:GetService("Debris"):AddItem(prt,5)
  3251. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3252. local num=math.random()
  3253. local num2=math.random(-3,2)+math.random()
  3254. local numm=0
  3255. for i=0,1,delay*2 do
  3256. swait()
  3257. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3258. Part.Transparency=i
  3259. numm=numm+0.01
  3260. end
  3261. Part.Parent=nil
  3262. Mesh.Parent=nil
  3263. end),prt,msh,x,y,z)
  3264. end
  3265.  
  3266. function dmgstart(dmg,what)
  3267.     hitcon = what.Touched:connect(function(hit)
  3268.         local hum = hit.Parent:FindFirstChild("Humanoid")
  3269.         if hum and not hum:IsDescendantOf(Character) then
  3270.             hum:TakeDamage(dmg)
  3271.         end
  3272.     end)
  3273. end
  3274.  
  3275. function dmgstop()
  3276.     hitcon:disconnect()
  3277. end
  3278.  
  3279. function Cloak()
  3280. Face.Parent=nil
  3281. cloaked=true
  3282.         for _,v in pairs(Torso.Parent:children()) do
  3283.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3284.                 coroutine.resume(coroutine.create(function()
  3285.                 for i=0,1,0.2 do
  3286.                 wait()
  3287.                 v.Transparency=i
  3288.                 end
  3289.                 v.Transparency=1
  3290.                 end))
  3291.                 end
  3292.                 if v.className=="Hat" then
  3293.                 hatp=v.Handle
  3294.                 coroutine.resume(coroutine.create(function(derp)
  3295.                 for i=0,1,0.2 do
  3296.                 wait()
  3297.                 derp.Transparency=i
  3298.                 end
  3299.                 derp.Transparency=1
  3300.                 end),hatp)
  3301.                 end
  3302.         end
  3303.         for _,v in pairs(m:children()) do
  3304.                 if v.className=="Part" then
  3305.                 coroutine.resume(coroutine.create(function()
  3306.                 for i=0,1,0.2 do
  3307.                 wait()
  3308.                 v.Transparency=i
  3309.                 end
  3310.                 v.Transparency=1
  3311.                 end))
  3312.                 end
  3313.         end
  3314. end
  3315.  
  3316. function UnCloak()
  3317. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  3318. Face.Parent=Head
  3319. cloaked=false
  3320.         for _,v in pairs(Torso.Parent:children()) do
  3321.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3322.                 coroutine.resume(coroutine.create(function()
  3323.                 for i=0,1,0.1 do
  3324.                 wait()
  3325.                 v.Transparency=v.Transparency-0.1
  3326.                 end
  3327.                 v.Transparency=0
  3328.                 end))
  3329.                 end
  3330.                 if v.className=="Hat" then
  3331.                 hatp=v.Handle
  3332.                 coroutine.resume(coroutine.create(function(derp)
  3333.                 for i=0,1,0.1 do
  3334.                 wait()
  3335.                 derp.Transparency=derp.Transparency-0.1
  3336.                 end
  3337.                 derp.Transparency=0
  3338.                 end),hatp)
  3339.                 end
  3340.         end
  3341.         for _,v in pairs(m:children()) do
  3342.                 if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  3343.                 coroutine.resume(coroutine.create(function()
  3344.                 for i=0,1,0.1 do
  3345.                 wait()
  3346.                 v.Transparency=v.Transparency-0.1
  3347.                 end
  3348.                 v.Transparency=0
  3349.                 end))
  3350.                 v.Transparency=0
  3351.                 end
  3352.         end
  3353. end
  3354.  
  3355. local origcolor = BrickColor.new("Pastel light blue")
  3356. ---- This section of explosions.
  3357.  
  3358. ----
  3359.  
  3360.  
  3361. function ring(type,pos,scale,value)
  3362. local type = type
  3363. local rng = Instance.new("Part", char)
  3364.         rng.Anchored = true
  3365.         rng.BrickColor = origcolor
  3366.         rng.CanCollide = false
  3367.         rng.FormFactor = 3
  3368.         rng.Name = "Ring"
  3369.         rng.Size = Vector3.new(1, 1, 1)
  3370.         rng.Transparency = 0
  3371.         rng.TopSurface = 0
  3372.         rng.BottomSurface = 0
  3373.         rng.CFrame = pos
  3374.         local rngm = Instance.new("SpecialMesh", rng)
  3375.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3376. rngm.Scale = scale
  3377. local scaler2 = 1
  3378. if type == "Add" then
  3379. scaler2 = 1*value
  3380. elseif type == "Divide" then
  3381. scaler2 = 1/value
  3382. end
  3383. coroutine.resume(coroutine.create(function()
  3384. for i = 0,10,0.1 do
  3385. swait()
  3386. if type == "Add" then
  3387. scaler2 = scaler2 - 0.01*value
  3388. elseif type == "Divide" then
  3389. scaler2 = scaler2 - 0.01/value
  3390. end
  3391. rng.Transparency = rng.Transparency + 0.01
  3392. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3393. end
  3394. rng:Destroy()
  3395. end))
  3396. end
  3397.  
  3398.  
  3399. function wave(type,pos,scale,value)
  3400. local type = type
  3401. local rng = Instance.new("Part", char)
  3402.         rng.Anchored = true
  3403.         rng.BrickColor = origcolor
  3404.         rng.CanCollide = false
  3405.         rng.FormFactor = 3
  3406.         rng.Name = "Ring"
  3407.         rng.Size = Vector3.new(1, 1, 1)
  3408.         rng.Transparency = 0
  3409.         rng.TopSurface = 0
  3410.         rng.BottomSurface = 0
  3411.         rng.CFrame = pos
  3412.         local rngm = Instance.new("SpecialMesh", rng)
  3413.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3414. rngm.Scale = scale
  3415. local scaler2 = 1
  3416. if type == "Add" then
  3417. scaler2 = 1*value
  3418. elseif type == "Divide" then
  3419. scaler2 = 1/value
  3420. end
  3421. coroutine.resume(coroutine.create(function()
  3422. for i = 0,10,0.1 do
  3423. swait()
  3424. if type == "Add" then
  3425. scaler2 = scaler2 - 0.01*value
  3426. elseif type == "Divide" then
  3427. scaler2 = scaler2 - 0.01/value
  3428. end
  3429. rng.Transparency = rng.Transparency + 0.01
  3430. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3431. end
  3432. rng:Destroy()
  3433. end))
  3434. end
  3435.  
  3436. function wind(type,pos,scale,value,speed)
  3437. local type = type
  3438. local rng = Instance.new("Part", char)
  3439.         rng.Anchored = true
  3440.         rng.BrickColor = origcolor
  3441.         rng.CanCollide = false
  3442.         rng.FormFactor = 3
  3443.         rng.Name = "Ring"
  3444.         rng.Size = Vector3.new(1, 1, 1)
  3445.         rng.Transparency = 0
  3446.         rng.TopSurface = 0
  3447.         rng.BottomSurface = 0
  3448.         rng.CFrame = pos
  3449.         local rngm = Instance.new("SpecialMesh", rng)
  3450.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3451. rngm.Scale = scale
  3452. local scaler2 = 1
  3453. if type == "Add" then
  3454. scaler2 = 1*value
  3455. elseif type == "Divide" then
  3456. scaler2 = 1/value
  3457. end
  3458. coroutine.resume(coroutine.create(function()
  3459. for i = 0,10,0.1 do
  3460. swait()
  3461. if type == "Add" then
  3462. scaler2 = scaler2 - 0.01*value
  3463. elseif type == "Divide" then
  3464. scaler2 = scaler2 - 0.01/value
  3465. end
  3466. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3467. rng.Transparency = rng.Transparency + 0.01
  3468. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3469. end
  3470. rng:Destroy()
  3471. end))
  3472. end
  3473.  
  3474. function groundwind(type,pos,scale,value,speed)
  3475. local type = type
  3476. local rng = Instance.new("Part", char)
  3477.         rng.Anchored = true
  3478.         rng.BrickColor = origcolor
  3479.         rng.CanCollide = false
  3480.         rng.FormFactor = 3
  3481.         rng.Name = "Ring"
  3482.         rng.Size = Vector3.new(1, 1, 1)
  3483.         rng.Transparency = 0
  3484.         rng.TopSurface = 0
  3485.         rng.BottomSurface = 0
  3486.         rng.CFrame = pos
  3487.         local rngm = Instance.new("SpecialMesh", rng)
  3488.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3489. rngm.Scale = scale
  3490. local scaler2 = 1
  3491. if type == "Add" then
  3492. scaler2 = 1*value
  3493. elseif type == "Divide" then
  3494. scaler2 = 1/value
  3495. end
  3496. coroutine.resume(coroutine.create(function()
  3497. for i = 0,10,0.1 do
  3498. swait()
  3499. if type == "Add" then
  3500. scaler2 = scaler2 - 0.01*value
  3501. elseif type == "Divide" then
  3502. scaler2 = scaler2 - 0.01/value
  3503. end
  3504. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3505. rng.Transparency = rng.Transparency + 0.01
  3506. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3507. end
  3508. rng:Destroy()
  3509. end))
  3510. end
  3511.  
  3512. function CameraManager()
  3513.   if TwoD and not CamInterrupt then
  3514.     if Humanoid.Health > 0 then
  3515.       Camera.CameraSubject = Humanoid
  3516.       Camera.CameraType = "Scriptable"
  3517.       Humanoid.AutoRotate = false
  3518.       if Booleans.GyroUse then
  3519.         Directer.MaxTorque = Vec3(0, huge, 0)
  3520.       else
  3521.         Directer.MaxTorque = Vec3(0, 0, 0)
  3522.       end
  3523.       if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3524.         if Booleans.CamFollow then
  3525.           CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3526.           Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3527.         else
  3528.           CPart.Position = RootPart.Position
  3529.         end
  3530.       else
  3531.         local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3532.         CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3533.       end
  3534.       Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3535.     else
  3536.       Camera.CameraSubject = Humanoid
  3537.       Camera.CameraType = "Custom"
  3538.       Controller.Disabled = false
  3539.     end
  3540.   end
  3541. end
  3542.  
  3543. function ring(type,pos,scale,value)
  3544. local type = type
  3545. local rng = Instance.new("Part", char)
  3546.         rng.Anchored = true
  3547.         rng.BrickColor = origcolor
  3548.         rng.CanCollide = false
  3549.         rng.FormFactor = 3
  3550.         rng.Name = "Ring"
  3551.         rng.Size = Vector3.new(1, 1, 1)
  3552.         rng.Transparency = 0
  3553.         rng.TopSurface = 0
  3554.         rng.BottomSurface = 0
  3555.         rng.CFrame = pos
  3556.         local rngm = Instance.new("SpecialMesh", rng)
  3557.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3558. rngm.Scale = scale
  3559. local scaler2 = 1
  3560. if type == "Add" then
  3561. scaler2 = 1*value
  3562. elseif type == "Divide" then
  3563. scaler2 = 1/value
  3564. end
  3565. coroutine.resume(coroutine.create(function()
  3566. for i = 0,10,0.1 do
  3567. swait()
  3568. if type == "Add" then
  3569. scaler2 = scaler2 - 0.01*value
  3570. elseif type == "Divide" then
  3571. scaler2 = scaler2 - 0.01/value
  3572. end
  3573. rng.Transparency = rng.Transparency + 0.01
  3574. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3575. end
  3576. rng:Destroy()
  3577. end))
  3578. end
  3579.  
  3580.  
  3581. function wave(type,pos,scale,value)
  3582. local type = type
  3583. local rng = Instance.new("Part", char)
  3584.         rng.Anchored = true
  3585.         rng.BrickColor = origcolor
  3586.         rng.CanCollide = false
  3587.         rng.FormFactor = 3
  3588.         rng.Name = "Ring"
  3589.         rng.Size = Vector3.new(1, 1, 1)
  3590.         rng.Transparency = 0
  3591.         rng.TopSurface = 0
  3592.         rng.BottomSurface = 0
  3593.         rng.CFrame = pos
  3594.         local rngm = Instance.new("SpecialMesh", rng)
  3595.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3596. rngm.Scale = scale
  3597. local scaler2 = 1
  3598. if type == "Add" then
  3599. scaler2 = 1*value
  3600. elseif type == "Divide" then
  3601. scaler2 = 1/value
  3602. end
  3603. coroutine.resume(coroutine.create(function()
  3604. for i = 0,10,0.1 do
  3605. swait()
  3606. if type == "Add" then
  3607. scaler2 = scaler2 - 0.01*value
  3608. elseif type == "Divide" then
  3609. scaler2 = scaler2 - 0.01/value
  3610. end
  3611. rng.Transparency = rng.Transparency + 0.01
  3612. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3613. end
  3614. rng:Destroy()
  3615. end))
  3616. end
  3617.  
  3618. function sphere(bonuspeed,type,pos,scale,value,color)
  3619. local type = type
  3620. local rng = Instance.new("Part", char)
  3621.         rng.Anchored = true
  3622. if ModeOfGlitch ~= 9 then
  3623.         rng.BrickColor = color
  3624. elseif ModeOfGlitch == 9 then
  3625. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3626. end
  3627.         rng.CanCollide = false
  3628.         rng.FormFactor = 3
  3629.         rng.Name = "Ring"
  3630.         rng.Material = "Neon"
  3631.         rng.Size = Vector3.new(1, 1, 1)
  3632.         rng.Transparency = 0
  3633.         rng.TopSurface = 0
  3634.         rng.BottomSurface = 0
  3635.         rng.CFrame = pos
  3636.         local rngm = Instance.new("SpecialMesh", rng)
  3637.         rngm.MeshType = "Sphere"
  3638. rngm.Scale = scale
  3639. if rainbowmode == true then
  3640. rng.Color = Color3.new(r/255,g/255,b/255)
  3641. end
  3642. if ModeOfGlitch == 9 then
  3643. coroutine.resume(coroutine.create(function()
  3644. while true do
  3645. swait()
  3646. if rng.Parent ~= nil then
  3647. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3648. else
  3649. break
  3650. end
  3651. end
  3652. end))
  3653. end
  3654. local scaler2 = 1
  3655. if type == "Add" then
  3656. scaler2 = 1*value
  3657. elseif type == "Divide" then
  3658. scaler2 = 1/value
  3659. end
  3660. coroutine.resume(coroutine.create(function()
  3661. for i = 0,10/bonuspeed,0.1 do
  3662. swait()
  3663. if rainbowmode == true then
  3664. rng.Color = Color3.new(r/255,g/255,b/255)
  3665. end
  3666. if type == "Add" then
  3667. scaler2 = scaler2 - 0.01*value/bonuspeed
  3668. elseif type == "Divide" then
  3669. scaler2 = scaler2 - 0.01/value*bonuspeed
  3670. end
  3671. if chaosmode == true then
  3672. rng.BrickColor = BrickColor.random()
  3673. end
  3674. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3675. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3676. end
  3677. rng:Destroy()
  3678. end))
  3679. end
  3680.  
  3681. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3682. local type = type
  3683. local rng = Instance.new("Part", char)
  3684.         rng.Anchored = true
  3685. if ModeOfGlitch ~= 9 then
  3686.         rng.BrickColor = color
  3687. elseif ModeOfGlitch == 9 then
  3688. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3689. end
  3690.         rng.CanCollide = false
  3691.         rng.FormFactor = 3
  3692.         rng.Name = "Ring"
  3693.         rng.Material = "Neon"
  3694.         rng.Size = Vector3.new(1, 1, 1)
  3695.         rng.Transparency = 0
  3696.         rng.TopSurface = 0
  3697.         rng.BottomSurface = 0
  3698.         rng.CFrame = pos
  3699.         local rngm = Instance.new("SpecialMesh", rng)
  3700.         rngm.MeshType = "Sphere"
  3701. rngm.Scale = scale
  3702. local scaler2 = 1
  3703. local scaler2b = 1
  3704. local scaler2c = 1
  3705. if type == "Add" then
  3706. scaler2 = 1*value
  3707. scaler2b = 1*value2
  3708. scaler2c = 1*value3
  3709. elseif type == "Divide" then
  3710. scaler2 = 1/value
  3711. scaler2b = 1/value2
  3712. scaler2c = 1/value3
  3713. end
  3714. if ModeOfGlitch == 9 then
  3715. coroutine.resume(coroutine.create(function()
  3716. while true do
  3717. swait()
  3718. if rng.Parent ~= nil then
  3719. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3720. else
  3721. break
  3722. end
  3723. end
  3724. end))
  3725. end
  3726. coroutine.resume(coroutine.create(function()
  3727. for i = 0,10/bonuspeed,0.1 do
  3728. swait()
  3729. if type == "Add" then
  3730. scaler2 = scaler2 - 0.01*value/bonuspeed
  3731. scaler2b = scaler2b - 0.01*value/bonuspeed
  3732. scaler2c = scaler2c - 0.01*value/bonuspeed
  3733. elseif type == "Divide" then
  3734. scaler2 = scaler2 - 0.01/value*bonuspeed
  3735. scaler2b = scaler2b - 0.01/value*bonuspeed
  3736. scaler2c = scaler2c - 0.01/value*bonuspeed
  3737. end
  3738. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3739. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3740. end
  3741. rng:Destroy()
  3742. end))
  3743. end
  3744.  
  3745. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3746. local type = type
  3747. local rotenable = rotatingop
  3748. local rng = Instance.new("Part", char)
  3749.         rng.Anchored = true
  3750.         rng.BrickColor = color
  3751.         rng.CanCollide = false
  3752.         rng.FormFactor = 3
  3753.         rng.Name = "Ring"
  3754.         rng.Material = "Neon"
  3755.         rng.Size = Vector3.new(1, 1, 1)
  3756.         rng.Transparency = 0
  3757. if typeoftrans == "In" then
  3758. rng.Transparency = 1
  3759. end
  3760.         rng.TopSurface = 0
  3761.         rng.BottomSurface = 0
  3762.         rng.CFrame = pos
  3763.         local rngm = Instance.new("SpecialMesh", rng)
  3764.         rngm.MeshType = "FileMesh"
  3765. if typeofshape == "Normal" then
  3766. rngm.MeshId = "rbxassetid://662586858"
  3767. elseif typeofshape == "Round" then
  3768. rngm.MeshId = "rbxassetid://662585058"
  3769. end
  3770. rngm.Scale = scale
  3771. local scaler2 = 1/10
  3772. if type == "Add" then
  3773. scaler2 = 1*value/10
  3774. elseif type == "Divide" then
  3775. scaler2 = 1/value/10
  3776. end
  3777. local randomrot = math.random(1,2)
  3778. coroutine.resume(coroutine.create(function()
  3779. for i = 0,10/bonuspeed,0.1 do
  3780. swait()
  3781. if type == "Add" then
  3782. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3783. elseif type == "Divide" then
  3784. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3785. end
  3786. if rotenable == true then
  3787. if randomrot == 1 then
  3788. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3789. elseif randomrot == 2 then
  3790. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3791. end
  3792. end
  3793. if typeoftrans == "Out" then
  3794. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3795. elseif typeoftrans == "In" then
  3796. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3797. end
  3798. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3799. end
  3800. rng:Destroy()
  3801. end))
  3802. end
  3803.  
  3804. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3805. local type = type
  3806. local rng = Instance.new("Part", char)
  3807.         rng.Anchored = true
  3808.         rng.BrickColor = color
  3809.         rng.CanCollide = false
  3810.         rng.FormFactor = 3
  3811.         rng.Name = "Ring"
  3812.         rng.Material = "Neon"
  3813.         rng.Size = Vector3.new(1, 1, 1)
  3814.         rng.Transparency = 0
  3815.         rng.TopSurface = 0
  3816.         rng.BottomSurface = 0
  3817.         rng.CFrame = pos
  3818. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3819.         local rngm = Instance.new("SpecialMesh", rng)
  3820.         rngm.MeshType = "Brick"
  3821. rngm.Scale = vt(x1,y1,z1)
  3822. if rainbowmode == true then
  3823. rng.Color = Color3.new(r/255,g/255,b/255)
  3824. end
  3825. local scaler2 = 1
  3826. local speeder = FastSpeed/10
  3827. if type == "Add" then
  3828. scaler2 = 1*value
  3829. elseif type == "Divide" then
  3830. scaler2 = 1/value
  3831. end
  3832. coroutine.resume(coroutine.create(function()
  3833. for i = 0,10/bonuspeed,0.1 do
  3834. swait()
  3835. if rainbowmode == true then
  3836. rng.Color = Color3.new(r/255,g/255,b/255)
  3837. end
  3838. if type == "Add" then
  3839. scaler2 = scaler2 - 0.01*value/bonuspeed
  3840. elseif type == "Divide" then
  3841. scaler2 = scaler2 - 0.01/value*bonuspeed
  3842. end
  3843. if chaosmode == true then
  3844. rng.BrickColor = BrickColor.random()
  3845. end
  3846. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3847. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3848. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3849. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3850. end
  3851. rng:Destroy()
  3852. end))
  3853. end
  3854.  
  3855. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3856. local type = type
  3857. local rng = Instance.new("Part", char)
  3858.         rng.Anchored = true
  3859.         rng.BrickColor = color
  3860.         rng.CanCollide = false
  3861.         rng.FormFactor = 3
  3862.         rng.Name = "Ring"
  3863.         rng.Material = "Neon"
  3864.         rng.Size = Vector3.new(1, 1, 1)
  3865.         rng.Transparency = 0
  3866.         rng.TopSurface = 0
  3867.         rng.BottomSurface = 0
  3868.         rng.CFrame = pos
  3869. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3870.         local rngm = Instance.new("SpecialMesh", rng)
  3871.         rngm.MeshType = "Brick"
  3872. rngm.Scale = vt(x1,y1,z1)
  3873. if rainbowmode == true then
  3874. rng.Color = Color3.new(r/255,g/255,b/255)
  3875. end
  3876. local scaler2 = 1
  3877. local speeder = FastSpeed/10
  3878. if type == "Add" then
  3879. scaler2 = 1*value
  3880. elseif type == "Divide" then
  3881. scaler2 = 1/value
  3882. end
  3883. coroutine.resume(coroutine.create(function()
  3884. for i = 0,10/bonuspeed,0.1 do
  3885. swait()
  3886. if rainbowmode == true then
  3887. rng.Color = Color3.new(r/255,g/255,b/255)
  3888. end
  3889. if type == "Add" then
  3890. scaler2 = scaler2 - 0.01*value/bonuspeed
  3891. elseif type == "Divide" then
  3892. scaler2 = scaler2 - 0.01/value*bonuspeed
  3893. end
  3894. if chaosmode == true then
  3895. rng.BrickColor = BrickColor.random()
  3896. end
  3897. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3898. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3899. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3900. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3901. end
  3902. rng:Destroy()
  3903. end))
  3904. end
  3905.  
  3906. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3907. local type = type
  3908. local rng = Instance.new("Part", char)
  3909.         rng.Anchored = true
  3910.         rng.BrickColor = color
  3911.         rng.CanCollide = false
  3912.         rng.FormFactor = 3
  3913.         rng.Name = "Ring"
  3914.         rng.Material = "Neon"
  3915.         rng.Size = Vector3.new(1, 1, 1)
  3916.         rng.Transparency = 0
  3917.         rng.TopSurface = 0
  3918.         rng.BottomSurface = 0
  3919.         rng.CFrame = pos
  3920. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3921.         local rngm = Instance.new("SpecialMesh", rng)
  3922.         rngm.MeshType = "Brick"
  3923. rngm.Scale = vt(x1,y1,z1)
  3924. if rainbowmode == true then
  3925. rng.Color = Color3.new(r/255,g/255,b/255)
  3926. end
  3927. local scaler2 = 0
  3928. local speeder = FastSpeed/10
  3929. if type == "Add" then
  3930. scaler2 = 1*value
  3931. elseif type == "Divide" then
  3932. scaler2 = 1/value
  3933. end
  3934. coroutine.resume(coroutine.create(function()
  3935. for i = 0,10/bonuspeed,0.1 do
  3936. swait()
  3937. if rainbowmode == true then
  3938. rng.Color = Color3.new(r/255,g/255,b/255)
  3939. end
  3940. if type == "Add" then
  3941. scaler2 = scaler2 - 0.01*value/bonuspeed
  3942. elseif type == "Divide" then
  3943. scaler2 = scaler2 - 0.01/value*bonuspeed
  3944. end
  3945. if chaosmode == true then
  3946. rng.BrickColor = BrickColor.random()
  3947. end
  3948. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3949. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3950. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3951. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3952. end
  3953. rng:Destroy()
  3954. end))
  3955. end
  3956.  
  3957. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3958. local type = type
  3959. local rng = Instance.new("Part", char)
  3960.         rng.Anchored = true
  3961.         rng.BrickColor = color
  3962.         rng.Color = color3
  3963.         rng.CanCollide = false
  3964.         rng.FormFactor = 3
  3965.         rng.Name = "Ring"
  3966.         rng.Material = "Neon"
  3967.         rng.Size = Vector3.new(1, 1, 1)
  3968.         rng.Transparency = 0
  3969.         rng.TopSurface = 0
  3970.         rng.BottomSurface = 0
  3971.         rng.CFrame = pos
  3972.         local rngm = Instance.new("SpecialMesh", rng)
  3973.         rngm.MeshType = "Brick"
  3974. rngm.Scale = scale
  3975. local scaler2 = 1
  3976. local scaler2b = 1
  3977. local scaler2c = 1
  3978. if type == "Add" then
  3979. scaler2 = 1*value
  3980. scaler2b = 1*value2
  3981. scaler2c = 1*value3
  3982. elseif type == "Divide" then
  3983. scaler2 = 1/value
  3984. scaler2b = 1/value2
  3985. scaler2c = 1/value3
  3986. end
  3987. coroutine.resume(coroutine.create(function()
  3988. for i = 0,10/bonuspeed,0.1 do
  3989. swait()
  3990. if type == "Add" then
  3991. scaler2 = scaler2 - 0.01*value/bonuspeed
  3992. scaler2b = scaler2b - 0.01*value/bonuspeed
  3993. scaler2c = scaler2c - 0.01*value/bonuspeed
  3994. elseif type == "Divide" then
  3995. scaler2 = scaler2 - 0.01/value*bonuspeed
  3996. scaler2b = scaler2b - 0.01/value*bonuspeed
  3997. scaler2c = scaler2c - 0.01/value*bonuspeed
  3998. end
  3999. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4000. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4001. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  4002. end
  4003. rng:Destroy()
  4004. end))
  4005. end
  4006.  
  4007. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4008. local type = type
  4009. local rng = Instance.new("Part", char)
  4010.         rng.Anchored = true
  4011. if ModeOfGlitch ~= 9 then
  4012.         rng.BrickColor = color
  4013. elseif ModeOfGlitch == 9 then
  4014. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4015. end
  4016.         rng.CanCollide = false
  4017.         rng.FormFactor = 3
  4018.         rng.Name = "Ring"
  4019.         rng.Material = "Neon"
  4020.         rng.Size = Vector3.new(1, 1, 1)
  4021.         rng.Transparency = 0
  4022.         rng.TopSurface = 0
  4023.         rng.BottomSurface = 0
  4024.         rng.CFrame = pos
  4025. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4026.         local rngm = Instance.new("SpecialMesh", rng)
  4027.         rngm.MeshType = "Sphere"
  4028. rngm.Scale = vt(x1,y1,z1)
  4029. if rainbowmode == true then
  4030. rng.Color = Color3.new(r/255,g/255,b/255)
  4031. end
  4032. if ModeOfGlitch == 9 then
  4033. coroutine.resume(coroutine.create(function()
  4034. while true do
  4035. swait()
  4036. if rng.Parent ~= nil then
  4037. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4038. else
  4039. break
  4040. end
  4041. end
  4042. end))
  4043. end
  4044. local scaler2 = 1
  4045. local speeder = FastSpeed
  4046. if type == "Add" then
  4047. scaler2 = 1*value
  4048. elseif type == "Divide" then
  4049. scaler2 = 1/value
  4050. end
  4051. coroutine.resume(coroutine.create(function()
  4052. for i = 0,10/bonuspeed,0.1 do
  4053. swait()
  4054. if rainbowmode == true then
  4055. rng.Color = Color3.new(r/255,g/255,b/255)
  4056. end
  4057. if type == "Add" then
  4058. scaler2 = scaler2 - 0.01*value/bonuspeed
  4059. elseif type == "Divide" then
  4060. scaler2 = scaler2 - 0.01/value*bonuspeed
  4061. end
  4062. if chaosmode == true then
  4063. rng.BrickColor = BrickColor.random()
  4064. end
  4065. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4066. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4067. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4068. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4069. end
  4070. rng:Destroy()
  4071. end))
  4072. end
  4073.  
  4074.  
  4075. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4076. local type = type
  4077. local rng = Instance.new("Part", char)
  4078.         rng.Anchored = true
  4079. if ModeOfGlitch ~= 9 then
  4080.         rng.BrickColor = color
  4081. elseif ModeOfGlitch == 9 then
  4082. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4083. end
  4084.         rng.CanCollide = false
  4085.         rng.FormFactor = 3
  4086.         rng.Name = "Ring"
  4087.         rng.Material = "Neon"
  4088.         rng.Size = Vector3.new(1, 1, 1)
  4089.         rng.Transparency = 1
  4090.         rng.TopSurface = 0
  4091.         rng.BottomSurface = 0
  4092.         rng.CFrame = pos
  4093. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4094.         local rngm = Instance.new("SpecialMesh", rng)
  4095.         rngm.MeshType = "Sphere"
  4096. rngm.Scale = vt(x1,y1,z1)
  4097. if rainbowmode == true then
  4098. rng.Color = Color3.new(r/255,g/255,b/255)
  4099. end
  4100. if ModeOfGlitch == 9 then
  4101. coroutine.resume(coroutine.create(function()
  4102. while true do
  4103. swait()
  4104. if rng.Parent ~= nil then
  4105. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4106. else
  4107. break
  4108. end
  4109. end
  4110. end))
  4111. end
  4112. local scaler2 = 1
  4113. local speeder = FastSpeed
  4114. if type == "Add" then
  4115. scaler2 = 1*value
  4116. elseif type == "Divide" then
  4117. scaler2 = 1/value
  4118. end
  4119. coroutine.resume(coroutine.create(function()
  4120. for i = 0,10/bonuspeed,0.1 do
  4121. swait()
  4122. if rainbowmode == true then
  4123. rng.Color = Color3.new(r/255,g/255,b/255)
  4124. end
  4125. if type == "Add" then
  4126. scaler2 = scaler2 - 0.01*value/bonuspeed
  4127. elseif type == "Divide" then
  4128. scaler2 = scaler2 - 0.01/value*bonuspeed
  4129. end
  4130. if chaosmode == true then
  4131. rng.BrickColor = BrickColor.random()
  4132. end
  4133. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4134. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4135. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4136. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4137. end
  4138. rng:Destroy()
  4139. end))
  4140. end
  4141.  
  4142. function dmg(dude)
  4143. if dude.Name ~= Character then
  4144. local keptcolor = MAINRUINCOLOR
  4145. local bgf = Instance.new("BodyGyro",dude.Head)
  4146. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  4147. --[[local val = Instance.new("BoolValue",dude)
  4148. val.Name = "IsHit"]]--
  4149. local ds = coroutine.wrap(function()
  4150. dude:WaitForChild("Head"):BreakJoints()
  4151. for i, v in pairs(dude:GetChildren()) do
  4152. if v:IsA("Part") or v:IsA("MeshPart") then
  4153. v.Name = "DEMINISHED"
  4154. end
  4155. end
  4156. wait(0.5)
  4157. targetted = nil
  4158. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  4159. coroutine.resume(coroutine.create(function()
  4160. for i, v in pairs(dude:GetChildren()) do
  4161. if v:IsA("Accessory") then
  4162. v:Destroy()
  4163. end
  4164. if v:IsA("Humanoid") then
  4165. v:Destroy()
  4166. end
  4167. if v:IsA("CharacterMesh") then
  4168. v:Destroy()
  4169. end
  4170. if v:IsA("Model") then
  4171. v:Destroy()
  4172. end
  4173. if v:IsA("Part") or v:IsA("MeshPart") then
  4174. for x, o in pairs(v:GetChildren()) do
  4175. if o:IsA("Decal") then
  4176. o:Destroy()
  4177. end
  4178. end
  4179. coroutine.resume(coroutine.create(function()
  4180. v.Material = "Neon"
  4181. v.CanCollide = false
  4182. v.Anchored = false
  4183. local bld = Instance.new("ParticleEmitter",v)
  4184. bld.LightEmission = 0.75
  4185. bld.Texture = "rbxassetid://363275192" ---284205403
  4186. bld.Color = ColorSequence.new(keptcolor.Color)
  4187. bld.Rate = 500
  4188. bld.Lifetime = NumberRange.new(1)
  4189. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  4190. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4191. bld.Speed = NumberRange.new(2,5)
  4192. bld.VelocitySpread = 50000
  4193. bld.Rotation = NumberRange.new(-500,500)
  4194. bld.RotSpeed = NumberRange.new(-500,500)
  4195.         local sbs = Instance.new("BodyPosition", v)
  4196.         sbs.P = 3000
  4197.         sbs.D = 1000
  4198.         sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4199.         sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  4200. v.Color = keptcolor.Color
  4201. coroutine.resume(coroutine.create(function()
  4202. for i = 0, 49 do
  4203. swait(1)
  4204. v:BreakJoints()
  4205. v.Transparency = v.Transparency + 0.02
  4206. end
  4207. v:BreakJoints()
  4208. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  4209. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  4210. bld.Speed = NumberRange.new(10,25)
  4211. bld.Drag = 5
  4212. bld.Acceleration = vt(0,2,0)
  4213. wait(0.5)
  4214. bld.Enabled = false
  4215. wait(8)
  4216. v:Destroy()
  4217. dude:Destroy()
  4218. end))
  4219. end))
  4220. end
  4221. end
  4222. end))
  4223. end)
  4224. ds()
  4225. end
  4226. end
  4227.  
  4228.  
  4229. function FindNearestHead(Position, Distance, SinglePlayer)
  4230.     if SinglePlayer then
  4231.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  4232.     end
  4233.     local List = {}
  4234.     for i, v in pairs(workspace:GetChildren()) do
  4235.         if v:IsA("Model") then
  4236.             if v:findFirstChild("Head") then
  4237.                 if v ~= Character then
  4238.                     if (v.Head.Position - Position).magnitude <= Distance then
  4239.                         table.insert(List, v)
  4240.                     end
  4241.                 end
  4242.             end
  4243.         end
  4244.     end
  4245.     return List
  4246. end
  4247.  
  4248. function FaceMouse()
  4249.   Cam = workspace.CurrentCamera
  4250.   return {
  4251.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4252.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4253.   }
  4254. end
  4255.  
  4256. function FaceMouse2()
  4257.   Cam = workspace.CurrentCamera
  4258.   return {
  4259.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4260.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4261.   }
  4262. end
  4263.  
  4264. local ModeOfGlitch = 1
  4265. -- Functions are ready.
  4266. local storehumanoidWS = 16
  4267.  
  4268. function BinaryBLINK()
  4269. for i = 0, 9 do
  4270. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  4271. end
  4272. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4273. coroutine.resume(coroutine.create(function()
  4274. local eff = Instance.new("ParticleEmitter",root)
  4275. eff.Texture = "rbxassetid://1175838406"
  4276. eff.LightEmission = 0.95
  4277. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4278. eff.Rate = 10000
  4279. eff.Lifetime = NumberRange.new(1)
  4280. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  4281. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4282. eff.Speed = NumberRange.new(30,160)
  4283. eff.Drag = 5
  4284. eff.Rotation = NumberRange.new(-500,500)
  4285. eff.VelocitySpread = 100000
  4286. wait(0.25)
  4287. eff.Enabled = false
  4288. wait(4)
  4289. eff:Destroy()
  4290. end))
  4291. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  4292. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  4293. CameraEnshaking(2,11)
  4294. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  4295. if v:FindFirstChild('Head') then
  4296. dmg(v)
  4297. end
  4298. end
  4299. for i = 0, 9 do
  4300. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  4301. end
  4302. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4303. end
  4304.  
  4305. function Fireball()
  4306. attack = true
  4307. hum.WalkSpeed = 0
  4308. local keptcolor = MAINRUINCOLOR
  4309.     for i = 0,2,0.1 do
  4310.         swait()
  4311.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  4312. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  4313. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  4314. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  4315. 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(-1.5),math.rad(0),math.rad(0)),.3)
  4316. 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(-1),math.rad(0),math.rad(0)),.3)
  4317.     end
  4318. local orb = Instance.new("Part", char)
  4319.         orb.BrickColor = keptcolor
  4320.         orb.CanCollide = false
  4321.         orb.FormFactor = 3
  4322.         orb.Name = "Ring"
  4323.         orb.Material = "Neon"
  4324.         orb.Size = Vector3.new(1, 1, 1)
  4325.         orb.Transparency = 0
  4326.         orb.TopSurface = 0
  4327.         orb.BottomSurface = 0
  4328.         local orbm = Instance.new("SpecialMesh", orb)
  4329.         orbm.MeshType = "Sphere"
  4330. orbm.Name = "SizeMesh"
  4331. orbm.Scale = vt(4,4,4)
  4332. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  4333. local eff = Instance.new("ParticleEmitter",orb)
  4334. eff.Texture = "rbxassetid://296874871"
  4335. eff.LightEmission = 0.95
  4336. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  4337. eff.Rate = 10000
  4338. eff.Lifetime = NumberRange.new(1.5)
  4339. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4340. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4341. eff.Speed = NumberRange.new(25)
  4342. eff.Drag = 5
  4343. eff.Rotation = NumberRange.new(-500,500)
  4344. eff.VelocitySpread = 9000
  4345. eff.RotSpeed = NumberRange.new(-500,500)
  4346.     local a = Instance.new("Part",workspace)
  4347.     a.Name = "Direction"  
  4348.     a.Anchored = true
  4349.     a.BrickColor = bc("Bright red")
  4350. a.Material = "Neon"
  4351. a.Transparency = 1
  4352.     a.CanCollide = false
  4353.     local ray = Ray.new(
  4354.         orb.CFrame.p,                           -- origin
  4355.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4356.     )
  4357.     local ignore = orb
  4358.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4359.     a.BottomSurface = 10
  4360.     a.TopSurface = 10
  4361.     local distance = (orb.CFrame.p - position).magnitude
  4362.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  4363.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4364. orb.CFrame = a.CFrame
  4365. a:Destroy()
  4366. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  4367. local bv = Instance.new("BodyVelocity")
  4368. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4369. bv.velocity = orb.CFrame.lookVector*75
  4370. bv.Parent = orb
  4371. game:GetService("Debris"):AddItem(orb, 10)
  4372. local hitted = false
  4373. coroutine.resume(coroutine.create(function()
  4374. while true do
  4375. swait()
  4376. if orb.Parent ~= nil and hitted == false then
  4377. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  4378. elseif orb.Parent == nil and hitted == true then
  4379. break
  4380. end
  4381. end
  4382. end))
  4383. local hit =orb.Touched:connect(function(hit)
  4384.     if hitted == false and hit.Parent ~= char then
  4385.     hitted = true
  4386.     eff.Enabled = false
  4387. CameraEnshaking(2,11)
  4388. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  4389. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  4390.     MagniDamage(orb, 25, 20,30, 0, "Normal")
  4391. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  4392. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  4393. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  4394. for i = 0, 9 do
  4395. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  4396. end
  4397. for i = 0, 49 do
  4398. local rsiz = math.random(10,30)
  4399. sphereMK(math.random(1,3),1,"Add",orb.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)
  4400. end
  4401. local eff = Instance.new("ParticleEmitter",orb)
  4402. eff.Texture = "rbxassetid://296874871"
  4403. eff.LightEmission = 0.95
  4404. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  4405. eff.Rate = 10000
  4406. eff.Lifetime = NumberRange.new(1.5)
  4407. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  4408. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4409. eff.Speed = NumberRange.new(150)
  4410. eff.Drag = 5
  4411. eff.Rotation = NumberRange.new(-500,500)
  4412. eff.VelocitySpread = 9000
  4413. eff.RotSpeed = NumberRange.new(-500,500)
  4414. coroutine.resume(coroutine.create(function()
  4415.     wait(0.25)
  4416.     eff.Enabled = false
  4417. end))
  4418. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  4419. orb.Anchored = true
  4420. orb.Transparency = 1
  4421. coroutine.resume(coroutine.create(function()
  4422. if hfr ~= nil then
  4423. orb.Size = vt(50,1,50)
  4424. orb.Orientation = vt(0,0,0)
  4425. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  4426. orbm:Destroy()
  4427. local firef = eff:Clone()
  4428. firef.Parent = orb
  4429. firef.VelocitySpread = 50
  4430. firef.Rate = 500
  4431. firef.Drag = 3
  4432. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4433. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4434. firef.Speed = NumberRange.new(10,30)
  4435. for i = 0, 24 do
  4436. wait(0.25)
  4437. MagniDamage(orb, 25, 3,6, 0, "Normal")
  4438. end
  4439. firef.Enabled = false
  4440. end
  4441. end))
  4442. wait(10)
  4443. orb:Destroy()
  4444. end
  4445. end)
  4446.     for i = 0,1,0.1 do
  4447.         swait()
  4448.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  4449. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  4450. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  4451. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  4452. 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(0),math.rad(0)),.5)
  4453. 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(0)),.5)
  4454.     end
  4455. hum.WalkSpeed = storehumanoidWS
  4456. attack = false
  4457. end
  4458.  
  4459. function smiter()
  4460. local targetted = nil
  4461. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4462. targetted = mouse.Target.Parent
  4463. end
  4464. if targetted ~= nil then
  4465. RootPart.CFrame = FaceMouse()[1]
  4466. attack = true
  4467. hum.WalkSpeed = 0
  4468. coroutine.resume(coroutine.create(function()
  4469. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  4470. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  4471. local vel = Instance.new("BodyPosition", targetted.Head)
  4472. vel.P = 12500
  4473. vel.D = 1000
  4474. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4475. vel.position = targetted.Head.CFrame.p
  4476. end))
  4477. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  4478.     for i = 0,4,0.1 do
  4479.         swait()
  4480. sphere2(4,"Add",sorb2.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,0.125,-0.01,MAINRUINCOLOR)
  4481.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  4482. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  4483. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  4484. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  4485. 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(0),math.rad(0)),.2)
  4486. 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(20),math.rad(5)),.2)
  4487.     end
  4488. coroutine.resume(coroutine.create(function()
  4489. CameraEnshaking(6,5)
  4490. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  4491. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  4492. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  4493. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  4494. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  4495. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  4496. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  4497. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  4498. coroutine.resume(coroutine.create(function()
  4499. local eff = Instance.new("ParticleEmitter",targetted.Head)
  4500. eff.Texture = "rbxassetid://363275192"
  4501. eff.LightEmission = 0.95
  4502. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4503. eff.Rate = 10000
  4504. eff.Lifetime = NumberRange.new(1.5)
  4505. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  4506. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4507. eff.Speed = NumberRange.new(25,150)
  4508. eff.Drag = 5
  4509. eff.Rotation = NumberRange.new(-500,500)
  4510. eff.VelocitySpread = 9000
  4511. eff.RotSpeed = NumberRange.new(-50,50)
  4512. local eff2 = eff:Clone()
  4513. eff2.Parent = targetted.Head
  4514. eff2.Texture = "rbxassetid://284205403"
  4515. eff2.Rate = 10000
  4516. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4517. eff2.Drag = 5
  4518. eff2.Rotation = NumberRange.new(-500,500)
  4519. eff2.VelocitySpread = 9000
  4520. wait(0.5)
  4521. eff2.Enabled = false
  4522. eff.Enabled = false
  4523. end))
  4524. for i = 0, 9 do
  4525. sphere2(3,"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(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  4526. end
  4527. for i = 0, 49 do
  4528. local rsiz = math.random(10,50)
  4529. sphereMK(math.random(1,4),1,"Add",targetted.Head.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,MAINRUINCOLOR,0)
  4530. end
  4531. game:GetService("Debris"):AddItem(vel,1)
  4532. dmg(targetted)
  4533. end))
  4534.     for i = 0,1,0.1 do
  4535.         swait()
  4536.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  4537. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  4538. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  4539. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  4540. 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(0),math.rad(0)),.5)
  4541. 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(20),math.rad(5)),.5)
  4542.     end
  4543. attack = false
  4544. hum.WalkSpeed = storehumanoidWS
  4545. end
  4546. end
  4547.  
  4548. function BinaryE()
  4549. local posit = -2
  4550. attack = true
  4551. hum.WalkSpeed = 5
  4552. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  4553.     for i = 0,2,0.1 do
  4554.         swait()
  4555. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  4556.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  4557. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  4558. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  4559. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  4560. 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(-20),math.rad(0)),.5)
  4561. 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(0)),.5)
  4562.     end
  4563. for i = 0, 2 do
  4564. CameraEnshaking(2,11)
  4565. local hite = Instance.new("Part", char)
  4566.         hite.Anchored = true
  4567.         hite.CanCollide = false
  4568.         hite.FormFactor = 3
  4569.         hite.Name = "Ring"
  4570.         hite.Material = "Neon"
  4571.         hite.Size = Vector3.new(1, 1, 1)
  4572.         hite.Transparency = 1
  4573.         hite.TopSurface = 0
  4574.         hite.BottomSurface = 0
  4575. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  4576. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  4577. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  4578. coroutine.resume(coroutine.create(function()
  4579. local eff = Instance.new("ParticleEmitter",hite)
  4580. eff.Texture = "rbxassetid://1175838406"
  4581. eff.LightEmission = 0.95
  4582. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4583. eff.Rate = 1000
  4584. eff.Lifetime = NumberRange.new(1)
  4585. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4586. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4587. eff.Speed = NumberRange.new(10,50)
  4588. eff.Drag = 5
  4589. eff.Rotation = NumberRange.new(-500,500)
  4590. eff.VelocitySpread = 100000
  4591. wait(0.25)
  4592. eff.Enabled = false
  4593. end))
  4594. coroutine.resume(coroutine.create(function()
  4595. for i = 0, 1 do
  4596.     swait()
  4597.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  4598.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  4599. end
  4600. end))
  4601. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  4602. MagniDamage(hite, 3, 30,40, 0, "Normal")
  4603. game:GetService("Debris"):AddItem(hite, 5)
  4604. posit = posit + 2
  4605. end
  4606.     for i = 0,1,0.1 do
  4607.         swait()
  4608. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  4609.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  4610. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  4611. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  4612. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  4613. 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(-20),math.rad(0)),.5)
  4614. 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(0)),.5)
  4615.     end
  4616.     for i = 0,1,0.1 do
  4617.         swait()
  4618. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  4619.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  4620. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  4621. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  4622. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  4623. 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(-20),math.rad(30)),.5)
  4624. 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(40)),.5)
  4625.     end
  4626.     posit = -6
  4627.     for i = 0, 6 do
  4628. CameraEnshaking(2,11)
  4629. local hite = Instance.new("Part", char)
  4630.         hite.Anchored = true
  4631.         hite.CanCollide = false
  4632.         hite.FormFactor = 3
  4633.         hite.Name = "Ring"
  4634.         hite.Material = "Neon"
  4635.         hite.Size = Vector3.new(1, 1, 1)
  4636.         hite.Transparency = 1
  4637.         hite.TopSurface = 0
  4638.         hite.BottomSurface = 0
  4639. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  4640. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  4641. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  4642. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  4643. coroutine.resume(coroutine.create(function()
  4644. local eff = Instance.new("ParticleEmitter",hite)
  4645. eff.Texture = "rbxassetid://1175838406"
  4646. eff.LightEmission = 0.95
  4647. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4648. eff.Rate = 1000
  4649. eff.Lifetime = NumberRange.new(1)
  4650. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4651. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4652. eff.Speed = NumberRange.new(20,70)
  4653. eff.Drag = 5
  4654. eff.Rotation = NumberRange.new(-500,500)
  4655. eff.VelocitySpread = 100000
  4656. wait(0.25)
  4657. eff.Enabled = false
  4658. end))
  4659. coroutine.resume(coroutine.create(function()
  4660. for i = 0, 2 do
  4661.     swait()
  4662.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  4663.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  4664.         sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  4665. end
  4666. end))
  4667. MagniDamage(hite, 5, 40,70, 0, "Normal")
  4668. game:GetService("Debris"):AddItem(hite, 5)
  4669. posit = posit + 2
  4670.     end
  4671.     for i = 0,1,0.1 do
  4672.         swait()
  4673. sphere2(7,"Add",sorb2.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,0.075,-0.01,MAINRUINCOLOR)
  4674.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  4675. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  4676. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  4677. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  4678. 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(10),math.rad(-10)),.5)
  4679. 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(60)),.5)
  4680.     end
  4681.     hum.WalkSpeed = storehumanoidWS
  4682. attack = false
  4683. end
  4684.  
  4685. function CorruptBlink()
  4686. for i = 0, 14 do
  4687. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  4688. end
  4689. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4690. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  4691. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  4692. CameraEnshaking(2,10)
  4693. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  4694. if v:FindFirstChild('Head') then
  4695. dmg(v)
  4696. end
  4697. end
  4698. for i = 0, 14 do
  4699. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  4700. end
  4701. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4702. end
  4703. function PureBomb()
  4704. attack = true
  4705. hum.WalkSpeed = 0
  4706. local orb = Instance.new("Part", char)
  4707.         orb.Anchored = true
  4708.         orb.BrickColor = BrickColor.new("Toothpaste")
  4709.         orb.CanCollide = false
  4710.         orb.FormFactor = 3
  4711.         orb.Name = "Ring"
  4712.         orb.Material = "Neon"
  4713.         orb.Size = Vector3.new(1, 1, 1)
  4714.         orb.Transparency = 0
  4715.         orb.TopSurface = 0
  4716.         orb.BottomSurface = 0
  4717.         local orbm = Instance.new("SpecialMesh", orb)
  4718.         orbm.MeshType = "Sphere"
  4719. orbm.Name = "SizeMesh"
  4720. orbm.Scale = vt(0,0,0)
  4721. local scaled = 0.1
  4722. local posid = 0
  4723. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  4724. for i = 0, 5, 0.1 do
  4725. swait()
  4726. scaled = scaled - 0.001
  4727. posid = posid - scaled
  4728. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4729. local scaled = 0.1
  4730. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4731. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  4732. PixelBlockNeg(2,1,"Add",orb.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.01,BrickColor.new("Toothpaste"),0)
  4733. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  4734. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4735. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4736. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4737. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  4738. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  4739. end
  4740. for i = 0, 2, 0.1 do
  4741. swait()
  4742. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4743. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4744. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4745. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  4746. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  4747. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  4748. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4749. end
  4750. coroutine.resume(coroutine.create(function()
  4751. orb.Anchored = false
  4752. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  4753.     local a = Instance.new("Part",workspace)
  4754.     a.Name = "Direction"  
  4755.     a.Anchored = true
  4756.     a.BrickColor = bc("Bright red")
  4757. a.Material = "Neon"
  4758. a.Transparency = 1
  4759.     a.CanCollide = false
  4760.     local ray = Ray.new(
  4761.         orb.CFrame.p,                           -- origin
  4762.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4763.     )
  4764.     local ignore = orb
  4765.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4766.     a.BottomSurface = 10
  4767.     a.TopSurface = 10
  4768.     local distance = (orb.CFrame.p - position).magnitude
  4769.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  4770.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4771. orb.CFrame = a.CFrame
  4772. a:Destroy()
  4773. local bv = Instance.new("BodyVelocity")
  4774. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4775. bv.velocity = orb.CFrame.lookVector*125
  4776. bv.Parent = orb
  4777. local hitted = false
  4778. game:GetService("Debris"):AddItem(orb, 15)
  4779. wait()
  4780. local hit =orb.Touched:connect(function(hit)
  4781.     if hitted == false then
  4782.     hitted = true
  4783. CameraEnshaking(10,2.5)
  4784. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  4785.     MagniDamage(orb, 65, 65,90, 0, "Normal")
  4786. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  4787. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  4788. for i = 0, 49 do
  4789. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  4790. end
  4791. for i = 0, 9 do
  4792. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  4793. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  4794. end
  4795. orb.Anchored = true
  4796. orb.Transparency = 1
  4797. wait(8)
  4798. orb:Destroy()
  4799. end
  4800. end)
  4801. end))
  4802. for i = 0, 1, 0.1 do
  4803. swait()
  4804. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4805. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4806. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  4807. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  4808. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  4809. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4810. end
  4811. hum.WalkSpeed = storehumanoidWS
  4812. attack = false
  4813. end
  4814.  
  4815. function BanishingOrb()
  4816. attack = true
  4817. hum.WalkSpeed = 0
  4818. local orb = Instance.new("Part", char)
  4819.         orb.Anchored = true
  4820.         orb.BrickColor = BrickColor.new("Black")
  4821.         orb.CanCollide = false
  4822.         orb.FormFactor = 3
  4823.         orb.Name = "Ring"
  4824.         orb.Material = "Neon"
  4825.         orb.Size = Vector3.new(1, 1, 1)
  4826.         orb.Transparency = 0
  4827.         orb.TopSurface = 0
  4828.         orb.BottomSurface = 0
  4829.         local orbm = Instance.new("SpecialMesh", orb)
  4830.         orbm.MeshType = "Sphere"
  4831. orbm.Name = "SizeMesh"
  4832. orbm.Scale = vt(0,0,0)
  4833. local scaled = 0.1
  4834. local posid = 0
  4835. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  4836. for i = 0, 5, 0.1 do
  4837. swait()
  4838. scaled = scaled - 0.001
  4839. posid = posid - scaled
  4840. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4841. local scaled = 0.1
  4842. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4843. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Black"),10)
  4844. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  4845. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4846. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  4849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  4850. end
  4851. for i = 0, 2, 0.1 do
  4852. swait()
  4853. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4854. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4855. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4856. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  4857. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  4858. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  4859. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4860. end
  4861. coroutine.resume(coroutine.create(function()
  4862. orb.Anchored = false
  4863. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  4864.     local a = Instance.new("Part",workspace)
  4865.     a.Name = "Direction"   
  4866.     a.Anchored = true
  4867.     a.BrickColor = bc("Bright red")
  4868. a.Material = "Neon"
  4869. a.Transparency = 1
  4870.     a.CanCollide = false
  4871.     local ray = Ray.new(
  4872.         orb.CFrame.p,                           -- origin
  4873.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4874.     )
  4875.     local ignore = orb
  4876.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4877.     a.BottomSurface = 10
  4878.     a.TopSurface = 10
  4879.     local distance = (orb.CFrame.p - position).magnitude
  4880.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  4881.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4882. orb.CFrame = a.CFrame
  4883. a:Destroy()
  4884. local bv = Instance.new("BodyVelocity")
  4885. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4886. bv.velocity = orb.CFrame.lookVector*0
  4887. bv.Parent = orb
  4888. local hitted = false
  4889. local rate = 0
  4890. coroutine.resume(coroutine.create(function()
  4891. for i = 0, 24 do
  4892. wait(0.1)
  4893. rate = rate + 0.25
  4894. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  4895. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  4896. if v:FindFirstChild('Head') then
  4897. dmg(v)
  4898. end
  4899. end
  4900. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  4901. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4902. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  4903. end
  4904. orb.Anchored = true
  4905. orb.Transparency = 1
  4906. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  4907. if v:FindFirstChild('Head') then
  4908. dmg(v)
  4909. end
  4910. end
  4911. local eff = Instance.new("ParticleEmitter",orb)
  4912. eff.Texture = "rbxassetid://296874871"
  4913. eff.LightEmission = 0.95
  4914. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4915. eff.Rate = 1000000000
  4916. eff.Lifetime = NumberRange.new(3)
  4917. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
  4918. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4919. eff.Speed = NumberRange.new(30)
  4920. eff.Acceleration = vt(0,-15,0)
  4921. eff.Rotation = NumberRange.new(-500,500)
  4922. eff.VelocitySpread = 100000
  4923. eff.RotSpeed = NumberRange.new(-500,500)
  4924. coroutine.resume(coroutine.create(function()
  4925.     wait(0.6)
  4926.     eff.Enabled = false
  4927. end))
  4928. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  4929. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  4930. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  4931. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4932. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  4933. game:GetService("Debris"):AddItem(orb, 15)
  4934. end))
  4935. end))
  4936. for i = 0, 1, 0.1 do
  4937. swait()
  4938. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4939. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4940. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  4941. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  4942. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  4943. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4944. end
  4945. hum.WalkSpeed = storehumanoidWS
  4946. attack = false
  4947. end
  4948.  
  4949.  
  4950. function ChaosGroundStrike()
  4951. attack = true
  4952. for i = 0, 2, 0.1 do
  4953. swait()
  4954. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4955. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4956. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4957. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4958. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4959. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4960. end
  4961. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4962. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4963. CameraEnshaking(100,100)
  4964. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4965. if v:FindFirstChild('Head') then
  4966. dmg(v)
  4967. end
  4968. end
  4969. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  4970. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  4971. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  4972. for i = 0, 2, 0.1 do
  4973. swait()
  4974. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4975. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4976. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4977. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4978. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4979. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4980. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4981. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4982. end
  4983. attack = false
  4984. end
  4985.  
  4986.  
  4987.  
  4988. function Starfall()
  4989. attack = true
  4990. hum.WalkSpeed = 0
  4991. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  4992. for i = 0, 5, 0.1 do
  4993. swait()
  4994. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  4995. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  4996. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4997. 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(10)),.1)
  4998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5000. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  5001. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  5002. end
  5003. local Overed = false
  5004. CameraEnshaking(2,20)
  5005. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5006. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5007. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5008. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  5009. local orb = Instance.new("Part", char)
  5010.         orb.Anchored = true
  5011.         orb.BrickColor = BrickColor.new("Toothpaste")
  5012.         orb.CanCollide = false
  5013.         orb.FormFactor = 3
  5014.         orb.Name = "Remenant"
  5015.         orb.Material = "Neon"
  5016. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  5017.         orb.Size = Vector3.new(1, 1, 1)
  5018.         orb.Transparency = 1
  5019.         orb.TopSurface = 0
  5020.         orb.BottomSurface = 0
  5021. hum.WalkSpeed = storehumanoidWS
  5022. coroutine.resume(coroutine.create(function()
  5023. for i = 0, 9 do
  5024. swait(10)
  5025.                  local lb = Instance.new("Part")
  5026.     lb.Color = MAINRUINCOLOR.Color
  5027.      lb.CanCollide = false
  5028. lb.Material = "Neon"
  5029.      lb.Anchored = true
  5030. lb.TopSurface = 0
  5031.         lb.BottomSurface = 0
  5032.      lb.Transparency = 0
  5033.      lb.Size = vt(1,1,1)
  5034.      lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  5035. lb.Anchored = false
  5036.   lb.Parent = char
  5037. local thingery = Instance.new("SpecialMesh",lb)
  5038.      thingery.MeshType = "Sphere"
  5039. thingery.Scale = vt(20,20,20)
  5040. game:GetService("Debris"):AddItem(lb, 10)
  5041.   local bv = Instance.new("BodyVelocity")
  5042.   bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5043.   bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  5044.   bv.Parent = lb
  5045. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  5046. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  5047. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  5048. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  5049. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  5050. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  5051. local hitted = false
  5052. coroutine.resume(coroutine.create(function()
  5053. while true do
  5054. swait(1)
  5055. if lb.Parent ~= nil and hitted == false then
  5056. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  5057. elseif lb.Parent == nil then
  5058. break
  5059. end
  5060. end
  5061. end))
  5062.  
  5063. game:GetService("Debris"):AddItem(a, 0.1)
  5064.  
  5065. coroutine.resume(coroutine.create(function()
  5066. swait(1)
  5067. lb.Touched:connect(function(hit)
  5068. if hitted == false then
  5069. hitted = true
  5070. lb.Transparency = 1
  5071. lb.Anchored = true
  5072. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  5073. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  5074. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  5075. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  5076. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  5077. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  5078. MagniDamage(lb, 45, 45,85, 0, "Normal")
  5079. CameraEnshaking(1,5)
  5080. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  5081. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  5082. for i = 0, 9 do
  5083. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  5084. end
  5085. for i = 0, 49 do
  5086. swait()
  5087. MagniDamage(lb, 30, 2,4, 0, "Normal")
  5088. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  5089. end
  5090. end
  5091. end)
  5092. end))
  5093. end
  5094. Overed = true
  5095. orb:Destroy()
  5096. end))
  5097.  
  5098. attack = false
  5099. end
  5100.  
  5101. function StarfallEX()
  5102. attack = true
  5103. hum.WalkSpeed = 0
  5104. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  5105. for i = 0, 10, 0.1 do
  5106. swait()
  5107. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  5108. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  5109. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  5110. 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(10)),.1)
  5111. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5112. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5113. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  5114. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  5115. end
  5116. local Overed = false
  5117. CameraEnshaking(2,20)
  5118. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5119. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5120. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5121. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  5122. local orb = Instance.new("Part", char)
  5123.         orb.Anchored = true
  5124.         orb.BrickColor = BrickColor.new("Toothpaste")
  5125.         orb.CanCollide = false
  5126.         orb.FormFactor = 3
  5127.         orb.Name = "Remenant"
  5128.         orb.Material = "Neon"
  5129. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  5130.         orb.Size = Vector3.new(1, 1, 1)
  5131.         orb.Transparency = 1
  5132.         orb.TopSurface = 0
  5133.         orb.BottomSurface = 0
  5134. hum.WalkSpeed = storehumanoidWS
  5135. coroutine.resume(coroutine.create(function()
  5136. for i = 0, 4 do
  5137. swait(15)
  5138.                  local lb = Instance.new("Part")
  5139.     lb.Color = MAINRUINCOLOR.Color
  5140.      lb.CanCollide = false
  5141. lb.Material = "Neon"
  5142.      lb.Anchored = true
  5143. lb.TopSurface = 0
  5144.         lb.BottomSurface = 0
  5145.      lb.Transparency = 0
  5146.      lb.Size = vt(1,1,1)
  5147.      lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  5148. lb.Anchored = false
  5149.   lb.Parent = char
  5150. local thingery = Instance.new("SpecialMesh",lb)
  5151.      thingery.MeshType = "Sphere"
  5152. thingery.Scale = vt(50,50,50)
  5153. game:GetService("Debris"):AddItem(lb, 10)
  5154.   local bv = Instance.new("BodyVelocity")
  5155.   bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5156.   bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  5157.   bv.Parent = lb
  5158. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  5159. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  5160. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  5161. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  5162. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  5163. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  5164. local hitted = false
  5165. coroutine.resume(coroutine.create(function()
  5166. while true do
  5167. swait(1)
  5168. if lb.Parent ~= nil and hitted == false then
  5169. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
  5170. elseif lb.Parent == nil then
  5171. break
  5172. end
  5173. end
  5174. end))
  5175.  
  5176. game:GetService("Debris"):AddItem(a, 0.1)
  5177.  
  5178. coroutine.resume(coroutine.create(function()
  5179. swait(1)
  5180. lb.Touched:connect(function(hit)
  5181. if hitted == false then
  5182. hitted = true
  5183. lb.Transparency = 1
  5184. lb.Anchored = true
  5185. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  5186. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  5187. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  5188. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  5189. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  5190. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  5191. MagniDamage(lb, 50, 60,99, 0, "Normal")
  5192. CameraEnshaking(1,5)
  5193. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  5194. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  5195. for i = 0, 9 do
  5196. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
  5197. end
  5198. for i = 0, 99 do
  5199. swait()
  5200. MagniDamage(lb, 30, 6,18, 0, "Normal")
  5201. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
  5202. end
  5203. end
  5204. end)
  5205. end))
  5206. end
  5207. Overed = true
  5208. orb:Destroy()
  5209. end))
  5210.  
  5211. attack = false
  5212. end
  5213.  
  5214. function DivineBlast()
  5215. attack = true
  5216. hum.WalkSpeed = 0
  5217. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  5218. elocacenter.Anchored = true
  5219. elocacenter.CFrame = sorb.CFrame
  5220. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5221. eloca1.Anchored = true
  5222. eloca1.CFrame = elocacenter.CFrame
  5223. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5224. eloca2.Anchored = true
  5225. eloca2.CFrame = elocacenter.CFrame
  5226. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5227. eloca3.Anchored = true
  5228. eloca3.CFrame = elocacenter.CFrame
  5229. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5230. eloca4.Anchored = true
  5231. eloca4.CFrame = elocacenter.CFrame
  5232. local lookavec = 0
  5233. local speeds = 0
  5234. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  5235. for i = 0, 3, 0.1 do
  5236. swait()
  5237. ---
  5238. lookavec = lookavec + 0.1
  5239. speeds = speeds + 10
  5240. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5241. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5242. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5243.  
  5244. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5245. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5246.  
  5247. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5248. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5249.  
  5250. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5251. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5252. ---
  5253. root.CFrame = FaceMouse()[1]
  5254. 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 + 1 * math.cos(sine / 34))),.1)
  5255. 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 + 1 * math.cos(sine / 34))),.1)
  5256. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5257. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  5258. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  5259. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5260. end
  5261. for i = 0, 3, 0.1 do
  5262. swait()
  5263. ---
  5264. speeds = speeds + 10
  5265. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5266. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5267. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5268.  
  5269. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5270. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5271.  
  5272. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5273. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5274.  
  5275. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5276. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5277. ---
  5278. root.CFrame = FaceMouse()[1]
  5279. 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 + 1 * math.cos(sine / 34))),.1)
  5280. 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 + 1 * math.cos(sine / 34))),.1)
  5281. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5282. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  5283. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  5284. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5285. end
  5286. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  5287. for i = 0, 3, 0.1 do
  5288. swait()
  5289. ---
  5290. speeds = speeds + 10
  5291. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5292. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5293. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5294.  
  5295. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5296. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5297.  
  5298. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5299. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5300.  
  5301. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5302. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5303. ---
  5304. root.CFrame = FaceMouse()[1]
  5305. 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 + 1 * math.cos(sine / 34))),.1)
  5306. 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 + 1 * math.cos(sine / 34))),.1)
  5307. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  5308. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
  5309. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  5310. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5311. end
  5312. coroutine.resume(coroutine.create(function()
  5313. local a = Instance.new("Part",Character)
  5314.     a.Name = "Direction"   
  5315.     a.Anchored = true
  5316.     a.BrickColor = bc("White")
  5317. a.Material = "Neon"
  5318. a.Transparency = 0
  5319. a.Shape = "Cylinder"
  5320.     a.CanCollide = false
  5321. local a2 = Instance.new("Part",Character)
  5322.     a2.Name = "Direction"  
  5323.     a2.Anchored = true
  5324.     a2.BrickColor = bc("Bright yellow")
  5325. a2.Material = "Neon"
  5326. a2.Transparency = 0
  5327. a2.Shape = "Cylinder"
  5328.     a2.CanCollide = false
  5329. local b = Instance.new("Part",Character)
  5330.     b.Name = "HitDirect"   
  5331.     b.Anchored = true
  5332.     b.BrickColor = bc("Cool yellow")
  5333. b.Material = "Neon"
  5334. b.Transparency = 1
  5335.     b.CanCollide = false
  5336.     local ray = Ray.new(
  5337.         elocacenter.CFrame.p,                           -- origin
  5338.         (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  5339.     )
  5340.     local ignore = Character
  5341.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5342.     a.BottomSurface = 10
  5343.     a.TopSurface = 10
  5344.     a2.BottomSurface = 10
  5345.     a2.TopSurface = 10
  5346.     local distance = (elocacenter.CFrame.p - position).magnitude
  5347.     a.Size = Vector3.new(distance, 1, 1)
  5348.     a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5349.     a2.Size = Vector3.new(distance, 1, 1)
  5350.     a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5351. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5352. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5353. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5354. game:GetService("Debris"):AddItem(a, 10)
  5355. game:GetService("Debris"):AddItem(a2, 10)
  5356. game:GetService("Debris"):AddItem(b, 10)
  5357. local msh = Instance.new("SpecialMesh",a)
  5358. msh.MeshType = "Cylinder"
  5359. msh.Scale = vt(1,2,2)
  5360. local msh2 = Instance.new("SpecialMesh",a2)
  5361. msh2.MeshType = "Cylinder"
  5362. msh2.Scale = vt(1,2.5,2.5)
  5363. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  5364. coroutine.resume(coroutine.create(function()
  5365. for i = 0,10,0.1 do
  5366. swait()
  5367. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  5368. a.Transparency = a.Transparency + 0.025
  5369. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  5370. a2.Transparency = a2.Transparency + 0.05
  5371. end
  5372. a:Destroy()
  5373. a2:Destroy()
  5374. end))
  5375. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  5376. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  5377. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  5378. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  5379. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  5380. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  5381. MagniDamage(b, 25, 40,65, 0, "Normal")
  5382. for i = 0, 49 do
  5383. PixelBlock(2,math.random(10,20),"Add",b.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.04,BrickColor.new("Bright yellow"),0)
  5384. PixelBlock(1,math.random(1,10),"Add",b.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("Bright yellow"),0)
  5385. end
  5386. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  5387. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  5388. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5389. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5390. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5391. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5392. end))
  5393. game:GetService("Debris"):AddItem(elocacenter, 5)
  5394. hum.WalkSpeed = storehumanoidWS
  5395. attack = false
  5396. end
  5397.  
  5398. function StarDivision()
  5399. attack = true
  5400. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5401. for i = 0, 2, 0.1 do
  5402. swait()
  5403. 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 + 1 * math.cos(sine / 34))),.1)
  5404. 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 + 1 * math.cos(sine / 34))),.1)
  5405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  5407. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  5408. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5409. end
  5410. local orb = Instance.new("Part", char)
  5411.         orb.BrickColor = MAINRUINCOLOR
  5412.         orb.CanCollide = false
  5413.         orb.FormFactor = 3
  5414.         orb.Name = "Ring"
  5415.         orb.Material = "Neon"
  5416.         orb.Size = Vector3.new(1, 1, 1)
  5417.         orb.Transparency = 0
  5418.         orb.TopSurface = 0
  5419.         orb.BottomSurface = 0
  5420.         local orbm = Instance.new("SpecialMesh", orb)
  5421.         orbm.MeshType = "Sphere"
  5422. orbm.Name = "SizeMesh"
  5423. orbm.Scale = vt(2,2,2)
  5424. local a = Instance.new("Part",workspace)
  5425.     a.Name = "Direction"   
  5426.     a.Anchored = true
  5427.     a.BrickColor = bc("Bright red")
  5428. a.Material = "Neon"
  5429. a.Transparency = 1
  5430.     a.CanCollide = false
  5431.     local ray = Ray.new(
  5432.         sorb.CFrame.p,                           -- origin
  5433.         (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  5434.     )
  5435.     local ignore = sorb
  5436.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5437.     a.BottomSurface = 10
  5438.     a.TopSurface = 10
  5439.     local distance = (sorb.CFrame.p - position).magnitude
  5440.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  5441.     a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5442. orb.CFrame = a.CFrame
  5443. a:Destroy()
  5444. local bv = Instance.new("BodyVelocity")
  5445. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5446. bv.velocity = orb.CFrame.lookVector*100
  5447. bv.Parent = orb
  5448. local hitted = false
  5449. game:GetService("Debris"):AddItem(orb, 10)
  5450. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  5451. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  5452. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  5453. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  5454. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  5455. coroutine.resume(coroutine.create(function()
  5456. while true do
  5457. swait(1)
  5458. if orb.Parent ~= nil and hitted == false then
  5459. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  5460. elseif orb.Parent == nil then
  5461. break
  5462. end
  5463. end
  5464. end))
  5465. coroutine.resume(coroutine.create(function()
  5466. swait(1)
  5467. orb.Touched:connect(function(hit)
  5468. if hitted == false then
  5469. hitted = true
  5470. game:GetService("Debris"):AddItem(orb, 5)
  5471. orb.Transparency = 1
  5472. orb.Anchored = true
  5473. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5474. elocacenter.Anchored = true
  5475. elocacenter.CFrame = orb.CFrame
  5476. elocacenter.Orientation = vt(0,0,0)
  5477. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5478. eloca1.Anchored = true
  5479. eloca1.CFrame = elocacenter.CFrame
  5480. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5481. eloca2.Anchored = true
  5482. eloca2.CFrame = elocacenter.CFrame
  5483. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5484. eloca3.Anchored = true
  5485. eloca3.CFrame = elocacenter.CFrame
  5486. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5487. eloca4.Anchored = true
  5488. eloca4.CFrame = elocacenter.CFrame
  5489. local lookavec = 0
  5490. local speeds = 0
  5491. CameraEnshaking(1,1)
  5492. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  5493. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5494. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5495. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5496. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5497. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5498. for i = 0, 99 do
  5499. swait()
  5500. lookavec = lookavec + 1
  5501. speeds = speeds + 0.1
  5502. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5503. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5504. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5505.  
  5506. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5507. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5508.  
  5509. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5510. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5511.  
  5512. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5513. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5514. end
  5515.  
  5516. for i = 0, 149 do
  5517. swait()
  5518. speeds = speeds + 0.1
  5519. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5520. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5521. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5522.  
  5523. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5524. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5525.  
  5526. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5527. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5528.  
  5529. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5530. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5531. end
  5532. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  5533. if v:FindFirstChild('Head') then
  5534. dmg(v)
  5535. end
  5536. end
  5537. CameraEnshaking(7,30)
  5538. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  5539. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  5540. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  5541. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  5542. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  5543. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  5544. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  5545. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5546. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5547. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5548. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5549. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5550. for i = 0, 24 do
  5551. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  5552. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  5553. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  5554. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  5555. end
  5556. coroutine.resume(coroutine.create(function()
  5557. for i = 0, 499 do
  5558. swait(1)
  5559. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  5560. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  5561. end
  5562. elocacenter:Destroy()
  5563. eloca1:Destroy()
  5564. eloca2:Destroy()
  5565. eloca3:Destroy()
  5566. eloca4:Destroy()
  5567. end))
  5568. end
  5569. end)
  5570. end))
  5571. attack = false
  5572. end
  5573.  
  5574.  
  5575. function THE_TRUE_POWER_OF_VIOLENCE()
  5576. attack = true
  5577. hum.WalkSpeed = 0
  5578. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  5579. for i = 0, 10, 0.1 do
  5580. swait()
  5581. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  5582. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5583. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.4)
  5584. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  5585. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  5586. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5587. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  5588. end
  5589. local orb = Instance.new("Part", char)
  5590.         orb.BrickColor = MAINRUINCOLOR
  5591.         orb.CanCollide = false
  5592.         orb.FormFactor = 3
  5593.         orb.Name = "Ring"
  5594.         orb.Material = "Neon"
  5595.         orb.Size = Vector3.new(1, 1, 1)
  5596.         orb.Transparency = 0
  5597.         orb.TopSurface = 0
  5598.         orb.BottomSurface = 0
  5599. orb.CFrame = sorb.CFrame
  5600.         local orbm = Instance.new("SpecialMesh", orb)
  5601.         orbm.MeshType = "Sphere"
  5602. orbm.Name = "SizeMesh"
  5603. orbm.Scale = vt(0,0,0)
  5604.         local sbs = Instance.new("BodyPosition", orb)
  5605.         sbs.P = 3000
  5606.         sbs.D = 1000
  5607.         sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5608.         sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  5609. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  5610. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5611. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5612. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5613. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5614. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5615. for i = 0, 10, 0.1 do
  5616. swait()
  5617. PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
  5618. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5619. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5620. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  5621. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  5622. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5623. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  5624. end
  5625. orb.Anchored = true
  5626. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5627. elocacenter.Anchored = true
  5628. elocacenter.CFrame = orb.CFrame
  5629. elocacenter.Orientation = vt(0,0,0)
  5630. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5631. eloca1.Anchored = true
  5632. eloca1.CFrame = elocacenter.CFrame
  5633. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5634. eloca2.Anchored = true
  5635. eloca2.CFrame = elocacenter.CFrame
  5636. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5637. eloca3.Anchored = true
  5638. eloca3.CFrame = elocacenter.CFrame
  5639. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5640. eloca4.Anchored = true
  5641. eloca4.CFrame = elocacenter.CFrame
  5642. local lookavec = 0
  5643. local speeds = 0
  5644. CameraEnshaking(1,1)
  5645. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  5646. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  5647. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  5648. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  5649. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5650. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5651. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5652. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5653. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5654. for i = 0, 99 do
  5655. swait()
  5656. lookavec = lookavec + 2.5
  5657. speeds = speeds + 0.25
  5658. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5659. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5660. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5661.  
  5662. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5663. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5664.  
  5665. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5666. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5667.  
  5668. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5669. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5670. end
  5671.  
  5672. for i = 0, 149 do
  5673. swait()
  5674. speeds = speeds + 0.25
  5675. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5676. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5677. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5678.  
  5679. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5680. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5681.  
  5682. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5683. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5684.  
  5685. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5686. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5687. end
  5688. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  5689. for i = 0, 99 do
  5690. swait()
  5691. lookavec = lookavec - 2.5
  5692. speeds = speeds + 0.25
  5693. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5694. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5695. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5696.  
  5697. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5698. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5699.  
  5700. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5701. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5702.  
  5703. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5704. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5705. end
  5706. local scaled = 0.1*75
  5707. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  5708. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  5709. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  5710. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  5711. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  5712. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  5713. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5714. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5715. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5716. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5717. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5718. for i = 0, 10, 0.1 do
  5719. swait()
  5720. scaled = scaled - 0.001*75
  5721. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5722. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  5723. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5724. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5725. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  5726. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  5727. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5728. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  5729. end
  5730. for x = 0, 4 do
  5731. for i = 0, 9 do
  5732. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  5733. end
  5734. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  5735. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  5736. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5737. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5738. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5739. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5740. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5741. for i = 0, 5, 0.1 do
  5742. swait()
  5743. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  5744. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  5745. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  5746. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5747. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5748. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  5749. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  5750. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  5751. end
  5752. end
  5753. local speedearn = 0
  5754. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  5755. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  5756. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  5757. for i = 0, 30, 0.1 do
  5758. swait()
  5759. scaled = scaled - 0.001*75/10
  5760. speedearn = speedearn + 0.5
  5761. for i = 0, 4 do
  5762. sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5763. end
  5764. PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
  5765. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5766. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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,MAINRUINCOLOR,0)
  5767. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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,MAINRUINCOLOR,0)
  5768. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5769. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5770. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5771. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  5772. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  5773. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  5774. end
  5775. orb.Transparency = 1
  5776. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  5777. if v:FindFirstChild('Head') then
  5778. dmg(v)
  5779. end
  5780. end
  5781. CameraEnshaking(7,30)
  5782. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  5783. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  5784. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  5785. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  5786. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  5787. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  5788. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  5789. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  5790. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  5791. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  5792. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  5793. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  5794. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  5795. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  5796. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5797. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5798. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5799. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5800. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5801. for i = 0, 99 do
  5802. PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  5803. PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  5804. end
  5805. for i = 0, 24 do
  5806. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  5807. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  5808. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  5809. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  5810. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  5811. end
  5812. game:GetService("Debris"):AddItem(orb, 10)
  5813. hum.WalkSpeed = storehumanoidWS
  5814. attack = false
  5815. end
  5816.  
  5817.  
  5818. function ViolentRing()
  5819. attack = true
  5820. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  5821. for i = 0, 2, 0.1 do
  5822. swait()
  5823. local snap = math.random(1,10)
  5824. if snap == 1 then
  5825. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
  5826. end
  5827. PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  5828. PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  5829. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  5830. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5831. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5832. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  5833. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  5834. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  5835. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  5836. RootPart.CFrame = FaceMouse()[1]
  5837. end
  5838. local orb = Instance.new("Part", char)
  5839.         orb.BrickColor = MAINRUINCOLOR
  5840.         orb.CanCollide = false
  5841.         orb.FormFactor = 3
  5842.         orb.Name = "Ring"
  5843.         orb.Material = "Neon"
  5844.         orb.Size = Vector3.new(1, 1, 1)
  5845.         orb.Transparency = 0
  5846.         orb.TopSurface = 0
  5847.         orb.BottomSurface = 0
  5848.         local orbm = Instance.new("SpecialMesh", orb)
  5849.         orbm.MeshType = "Sphere"
  5850. orbm.Name = "SizeMesh"
  5851. orbm.Scale = vt(2,2,2)
  5852. orb.CFrame = mouse.Hit
  5853. local bv = Instance.new("BodyVelocity")
  5854. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5855. bv.velocity = orb.CFrame.lookVector*100
  5856. bv.Parent = orb
  5857. local hitted = false
  5858. coroutine.resume(coroutine.create(function()
  5859. game:GetService("Debris"):AddItem(orb, 5)
  5860. orb.Transparency = 1
  5861. orb.Anchored = true
  5862. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5863. elocacenter.Anchored = true
  5864. elocacenter.CFrame = orb.CFrame
  5865. elocacenter.Orientation = vt(0,0,0)
  5866. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5867. eloca1.Anchored = true
  5868. eloca1.CFrame = elocacenter.CFrame
  5869. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5870. eloca2.Anchored = true
  5871. eloca2.CFrame = elocacenter.CFrame
  5872. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5873. eloca3.Anchored = true
  5874. eloca3.CFrame = elocacenter.CFrame
  5875. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5876. eloca4.Anchored = true
  5877. eloca4.CFrame = elocacenter.CFrame
  5878. local lookavec = 0
  5879. local speeds = 0
  5880. CameraEnshaking(1,1)
  5881. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  5882. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5883. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5884. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5885. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5886. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5887. for i = 0, 24 do
  5888. swait()
  5889. lookavec = lookavec + 3.5
  5890. speeds = speeds + 1
  5891. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5892. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5893. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5894.  
  5895. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5896. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5897.  
  5898. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5899. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5900.  
  5901. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5902. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5903. end
  5904.  
  5905. local risen = 0
  5906. for i = 0, 49 do
  5907. swait()
  5908. risen = risen + 0.05
  5909. speeds = speeds + 0.1
  5910. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5911. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5912. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5913.  
  5914. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5915. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5916.  
  5917. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5918. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5919.  
  5920. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5921. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5922. end
  5923. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  5924. if v:FindFirstChild('Head') then
  5925. dmg(v)
  5926. end
  5927. end
  5928. CameraEnshaking(4,10)
  5929. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  5930. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  5931. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  5932. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  5933. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  5934. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  5935. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  5936. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  5937. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5938. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5939. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5940. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5941. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5942. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  5943. for i = 0, 24 do
  5944. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
  5945. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  5946. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  5947. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  5948. end
  5949. coroutine.resume(coroutine.create(function()
  5950. wait(10)
  5951. elocacenter:Destroy()
  5952. eloca1:Destroy()
  5953. eloca2:Destroy()
  5954. eloca3:Destroy()
  5955. eloca4:Destroy()
  5956. end))
  5957. end))
  5958. attack = false
  5959. end
  5960.  
  5961. function UniversalCollapse()
  5962. attack = true
  5963. local speedearn = 0
  5964. hum.WalkSpeed = 0
  5965.         local sbs = Instance.new("BodyPosition", root)
  5966.         sbs.P = 3000
  5967.         sbs.D = 1000
  5968.         sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5969.         sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  5970. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  5971. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  5972. for i = 0, 110, 0.1 do
  5973. swait()
  5974. speedearn = speedearn + 0.1
  5975. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5976. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5977. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5978. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5979. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5980. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  5981. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  5982. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  5983. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5984. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5985. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  5986. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  5987. end
  5988. CameraEnshaking(5,50)
  5989. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  5990. for i = 0, 2 do
  5991. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  5992. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  5993. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  5994. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  5995. end
  5996. for i = 0, 49 do
  5997. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  5998. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  5999. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6000. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6001. end
  6002. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6003. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6004. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6005. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6006. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6007. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6008. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6009. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6010. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6011. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6012. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6013. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6014. for i = 0, 99 do
  6015. PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  6016. PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  6017. end
  6018. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  6019. if v:FindFirstChild('Head') then
  6020. dmg(v)
  6021. end
  6022. end
  6023. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  6024. sbs:Destroy()
  6025. hum.WalkSpeed = storehumanoidWS
  6026. attack = false
  6027. end
  6028.  
  6029. function th1rt3en_trans()
  6030.     storehumanoidWS = 275
  6031.     hum.WalkSpeed = 0
  6032.     attack=true
  6033.     newThemeCust("rbxassetid://723652641",0,1,1.25)
  6034.    
  6035.     repeat
  6036.         swait()
  6037.         local snap = math.random(1,10)
  6038.         if snap == 1 then
  6039.         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)
  6040.         end
  6041.         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)
  6042.         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)
  6043.         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)
  6044.         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)
  6045.         RW.C0=clerp(RW.C0,cf(1.5,.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)
  6046.         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)
  6047.  
  6048.     until kan.TimePosition > 2.4
  6049.     for i = 0, 5, .1 do
  6050.         swait()
  6051.         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)),.4)
  6052.         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)),.4)
  6053.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6054.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6055.         RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6056.         LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6057.         modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6058.         modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
  6059.         fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6060.     end
  6061.    
  6062.     repeat
  6063.         swait()
  6064.         modet.Position = UDim2.new(0,0,0,0)
  6065.         fullscreenz.Position = UDim2.new(0,0,0,0)
  6066.         modet.Rotation = -5 * math.cos(sine / 32)
  6067.         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)
  6068.         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)
  6069.         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)
  6070.         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)
  6071.         RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)
  6072.         LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
  6073.     until kan.TimePosition > 6.5
  6074.     for i = 0, 5, .1 do
  6075.         swait()
  6076.         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)),.4)
  6077.         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)),.4)
  6078.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6079.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6080.         RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6081.         LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6082.         modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6083.         modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
  6084.         fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6085.     end
  6086.     bosschatfunc("Look at my hands..",MAINRUINCOLOR.Color,2)
  6087.     for i = 0, 10, .1 do
  6088.         modet.Position = UDim2.new(0,0,0,0)
  6089.         modet.Rotation = -5 * math.cos(sine / 32)
  6090.         fullscreenz.Position = UDim2.new(0,0,0,0)
  6091.         swait()
  6092.         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)
  6093.         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)
  6094.         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)
  6095.         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)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6096.         RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6097.         LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
  6098.     end
  6099.     bosschatfunc("They're shaking..",MAINRUINCOLOR.Color,2)
  6100.     for i = 0, 6, .1 do
  6101.         swait()
  6102.         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)
  6103.         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)
  6104.         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)
  6105.         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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6106.         RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6107.         LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6108.     end
  6109.     bosschatfunc("All my body is shaking..",MAINRUINCOLOR.Color,2)
  6110.     for i = 0, 24, .1 do
  6111.         swait()
  6112.         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)
  6113.         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)
  6114.         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)
  6115.         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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6116.         RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6117.         LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6118.     end
  6119.     bosschatfunc("He was there!",MAINRUINCOLOR.Color,2)
  6120.     for i = 0, 5, .1 do
  6121.         swait()
  6122.         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(-22 - 2 * math.cos(sine / 32))),.1)
  6123.         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(-10 + 2 * math.cos(sine / 32))),.1)
  6124.         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(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  6125.         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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6126.         RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(0))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6127.         LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6128.     end
  6129.     for i = 0, 6, .1 do
  6130.         swait()
  6131.         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)
  6132.         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)
  6133.         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)
  6134.         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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6135.         RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6136.         LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6137.     end
  6138.     bosschatfunc("But I was watching him, through the mirror..",MAINRUINCOLOR.Color,2)
  6139.     for i = 0, 9, .1 do
  6140.         swait()
  6141.         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)
  6142.         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)
  6143.         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)
  6144.         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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6145.         RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6146.         LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
  6147.     end
  6148.     bosschatfunc("I knew he was looking at me..",MAINRUINCOLOR.Color,2)
  6149.     for i = 0, 11, .1 do
  6150.         swait()
  6151.         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)),.4)
  6152.         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)),.4)
  6153.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6154.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6155.         RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6156.         LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6157.     end
  6158.     bosschatfunc("Two invisible eyes..",MAINRUINCOLOR.Color,2)
  6159.     for i = 0, 10, .1 do
  6160.         swait()
  6161.         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)),.4)
  6162.         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)),.4)
  6163.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6164.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6165.         RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6166.         LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6167.     end
  6168.     local inc = 0
  6169.     bosschatfunc("Two invisible--",MAINRUINCOLOR.Color,2)
  6170.     for i = 0, 6, .1 do
  6171.         swait()
  6172.         inc=inc+1
  6173.         fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6174.         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(50)),.4)
  6175.         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(-50)),.4)
  6176.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4)
  6177.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6178.         RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6179.         LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6180.     end
  6181.     CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25)
  6182.     for i = 0, 3, .1 do
  6183.         swait()
  6184.         inc=inc+1
  6185.         fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6186.         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)),.4)
  6187.         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)),.4)
  6188.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6189.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(-20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6190.         RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6191.         LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4)
  6192.     end
  6193.     CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1)
  6194.     for i = 0, 3, .1 do
  6195.         swait()
  6196.         inc=inc+1
  6197.         fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6198.         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)),.4)
  6199.         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)),.4)
  6200.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6201.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
  6202.         RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4)
  6203.         LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6204.     end
  6205.     for i = 0, 6, .1 do
  6206.         swait()
  6207.         inc=inc+5
  6208.         fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6209.         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)),.4)
  6210.         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)),.4)
  6211.         RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6212.         Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4)
  6213.         RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6214.         LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6215.     end
  6216.     fullscreenz.Position = UDim2.new(0,0,0,0)
  6217.     attack=false
  6218.     MAINRUINCOLOR = BrickColor.new("Really black")
  6219. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6220. for i = 0, 49 do
  6221. 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)
  6222. end
  6223. for i = 0, 24 do
  6224. 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)
  6225. 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"))
  6226. end
  6227. for i = 0,3,0.1 do
  6228. 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)
  6229. end
  6230. currentVol=5
  6231.     Humanoid.WalkSpeed = storehumanoidWS
  6232.                ModeOfGlitch = 738
  6233. rainbowmode = false
  6234. chaosmode = false
  6235. RecolorTextAndRename("INFINITE",Color3.new(0.1,.1,.1),BrickColor.new("Really black").Color,"Antique")
  6236.  
  6237.  MAINRUINCOLOR = BrickColor.new("Really black")
  6238. warnedpeople("DEPTHS OF HELL!!!","Antique",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color)
  6239. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.9,BrickColor.new("Dark stone grey"),0,BrickColor.new("Black"),true)
  6240. end
  6241.  
  6242. function hugg()
  6243. attack = true
  6244. hum.WalkSpeed = 5
  6245. local rsiz = math.random(5,15)
  6246. for i = 0, 2, 0.1 do
  6247. swait()
  6248. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  6249. 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 + 1 * math.cos(sine / 34))),.3)
  6250. 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(0)),.3)
  6251. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  6252. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  6253. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  6254. end
  6255. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  6256.     local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6257.     hb.Anchored = true
  6258.     hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  6259. local huggedperson = nil
  6260. local act = false
  6261. local alreadydid = false
  6262. for i = 0, 3, 0.1 do
  6263. swait()
  6264. if act == false then
  6265. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  6266. if v:FindFirstChild('Head') then
  6267. if alreadydid == false then
  6268. huggedperson = v
  6269. hum.WalkSpeed = 0
  6270. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  6271. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  6272. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  6273. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  6274. local radm = math.random(1,3)
  6275. if radm == 1 then
  6276. bosschatfunc2("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  6277. elseif radm == 2 then
  6278. bosschatfunc2("I..I'm interested in you..",MAINRUINCOLOR.Color,1)
  6279. elseif radm == 3 then
  6280. bosschatfunc2("Don't worry.. I'm with you..",MAINRUINCOLOR.Color,1)
  6281. end
  6282. root.Anchored = true
  6283. coroutine.resume(coroutine.create(function()
  6284. huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
  6285. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  6286. end))
  6287. chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  6288. alreadydid = true
  6289. act = true
  6290. print(huggedperson.Name)
  6291. end
  6292. end
  6293. end
  6294. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  6295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  6296. elseif act == true then
  6297. coroutine.resume(coroutine.create(function()
  6298. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  6299. end))
  6300. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
  6301. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  6302. end
  6303. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  6304. 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 + 1 * math.cos(sine / 34))),.3)
  6305. 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(0)),.3)
  6306. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  6307. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  6308. end
  6309. hb:Destroy()
  6310. if act == true then
  6311. for x = 0, 2 do
  6312. for i = 0, 2, 0.1 do
  6313. swait()
  6314. coroutine.resume(coroutine.create(function()
  6315. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  6316. end))
  6317. rsiz = math.random(5,15)
  6318. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
  6319. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  6320. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  6321. 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 + 1 * math.cos(sine / 34))),.3)
  6322. 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(0)),.3)
  6323. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  6324. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  6325. end
  6326. for i = 0, 2, 0.1 do
  6327. swait()
  6328. coroutine.resume(coroutine.create(function()
  6329. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  6330. end))
  6331. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
  6332. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  6333. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  6334. 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 + 1 * math.cos(sine / 34))),.3)
  6335. 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(0)),.3)
  6336. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  6337. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  6338. end
  6339. end
  6340. end
  6341. hum.WalkSpeed = storehumanoidWS
  6342. root.Anchored = false
  6343. if act == true then
  6344. coroutine.resume(coroutine.create(function()
  6345. huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
  6346. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  6347. end))
  6348. end
  6349. hum.WalkSpeed = storehumanoidWS
  6350. attack = false
  6351. end
  6352.  
  6353. function lovesqueal()
  6354. attack = true
  6355. hum.WalkSpeed = 0
  6356. CFuncs["Sound"].Create("rbxassetid://2500548008", root, 1, 1)
  6357. local blush = Instance.new("Decal",hed)
  6358. blush.Texture = "rbxassetid://898404027"
  6359. blush.Face = "Front"
  6360. for i = 0, 11, 0.1 do
  6361.     swait()
  6362.     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),math.rad(20 - 2 * math.cos(sine / 32))),.1)
  6363. 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(6),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 32))),.1)
  6364. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6365. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
  6366. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
  6367. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  6368. end
  6369. for x = 0, 1 do
  6370. for i = 0, 1, 0.2 do
  6371.     swait()
  6372.     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),math.rad(-5 - 2 * math.cos(sine / 32))),.3)
  6373. 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(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3)
  6374. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3)
  6375. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
  6376. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
  6377. LW.C0=clerp(LW.C0,cf(-1,0.75 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3)
  6378. end
  6379. for i = 0, 1, 0.2 do
  6380.     swait()
  6381.     RH.C0=clerp(RH.C0,cf(1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 32))),.3)
  6382. LH.C0=clerp(LH.C0,cf(-1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3)
  6383. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0.025 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3)
  6384. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
  6385. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
  6386. LW.C0=clerp(LW.C0,cf(-1,0.8 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3)
  6387. end
  6388. end
  6389. coroutine.resume(coroutine.create(function()
  6390. for i = 0, 49 do
  6391. swait()
  6392. blush.Transparency = blush.Transparency + 0.02
  6393. end
  6394. blush:Destroy()
  6395. end))
  6396. attack = false
  6397. hum.WalkSpeed = storehumanoidWS
  6398. end
  6399.  
  6400. function cutesigh()
  6401. attack = true
  6402. hum.WalkSpeed = 0
  6403. hum.JumpPower = 0
  6404. bosschatfunc2("sigh~~",MAINRUINCOLOR.Color,1)
  6405. local blush = Instance.new("Decal",hed)
  6406. blush.Texture = "rbxassetid://898404027"
  6407. blush.Face = "Front"
  6408. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  6409. for i = 0, 9, 0.1 do
  6410. swait()
  6411. 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(6),math.rad(0),math.rad(25 + 1 * math.cos(sine / 34))),.2)
  6412. 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(3),math.rad(0),math.rad(-35 + 1 * math.cos(sine / 34))),.2)
  6413. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.35,-0.175 + 0.05 * math.cos(sine / 28))*angles(math.rad(35),math.rad(0),math.rad(0)),.2)
  6414. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 - 2.5 * math.cos(sine / 28)),math.rad(10 + 2.5 * math.cos(sine / 75)),math.rad(0)),.2)
  6415. RW.C0=clerp(RW.C0,cf(1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(-1)),.2)
  6416. LW.C0=clerp(LW.C0,cf(-1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(3)),.2)
  6417. end
  6418. coroutine.resume(coroutine.create(function()
  6419. for i = 0, 49 do
  6420. swait()
  6421. blush.Transparency = blush.Transparency + 0.02
  6422. end
  6423. blush:Destroy()
  6424. end))
  6425. hum.WalkSpeed = storehumanoidWS
  6426. hum.JumpPower = 50
  6427. attack = false
  6428. end
  6429.  
  6430.  
  6431.  
  6432. function ChaosEND()
  6433. attack = true
  6434. local speedearn = 0
  6435. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  6436. for i = 0, 15, 0.1 do
  6437. swait()
  6438. speedearn = speedearn + 0.25
  6439. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6440. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6441. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6442. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6443. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6444. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  6445. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  6446. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6447. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6448. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  6449. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  6450. end
  6451. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  6452. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  6453. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  6454. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  6455. CameraEnshaking(5,25)
  6456. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6457. if v:FindFirstChild('Head') then
  6458. dmg(v)
  6459. end
  6460. end
  6461. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  6462. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  6463. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  6464. for i = 0, 3, 0.1 do
  6465. swait()
  6466. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6467. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6468. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6469. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6470. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  6471. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  6472. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6473. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6474. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  6475. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  6476. end
  6477. attack = false
  6478. end
  6479.  
  6480. function createBGCircle(size,parent,color)
  6481. local bgui = Instance.new("BillboardGui",parent)
  6482. bgui.Size = UDim2.new(size, 0, size, 0)
  6483. local imgc = Instance.new("ImageLabel",bgui)
  6484. imgc.BackgroundTransparency = 1
  6485. imgc.ImageTransparency = 0
  6486. imgc.Size = UDim2.new(1,0,1,0)
  6487. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  6488. imgc.ImageColor3 = color
  6489. return bgui,imgc
  6490. end
  6491.  
  6492.  
  6493. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  6494. local bgui,imgc = createBGCircle(size,guipar,color)
  6495. bgui.AlwaysOnTop = true
  6496. imgc.Image = "rbxassetid://" ..img
  6497. local rrot = math.random(1,2)
  6498. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  6499. coroutine.resume(coroutine.create(function()
  6500. for i = 0, 24*delay do
  6501. swait()
  6502. if rotationenabled == true then
  6503. if rrot == 1 then
  6504. imgc.Rotation = imgc.Rotation + rotsp
  6505. elseif rrot == 2 then
  6506. imgc.Rotation = imgc.Rotation - rotsp
  6507. end
  6508. end
  6509. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  6510. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  6511. end
  6512. bgui:Destroy()
  6513. end))
  6514. end
  6515. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  6516. for i, v in pairs(mw2:GetChildren()) do
  6517. if v:IsA("Part") then
  6518. v.BrickColor = one
  6519. v.Material = "Neon"
  6520. end
  6521. end
  6522. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  6523. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  6524. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  6525. tr1.Color = ColorSequence.new(one.Color)
  6526. tr2.Color = ColorSequence.new(one.Color)
  6527. tr3.Color = ColorSequence.new(one.Color)
  6528. for i, v in pairs(mw1:GetChildren()) do
  6529. if v:IsA("Part") then
  6530. if secondaryenabled == false then
  6531. v.Transparency = 1
  6532. elseif secondaryenabled == true then
  6533. v.Transparency = 0
  6534. end
  6535. v.BrickColor = two
  6536. v.Material = "Neon"
  6537. end
  6538. end
  6539. if secondaryenabled == false then
  6540. tl1.Enabled = false
  6541. tl2.Enabled = false
  6542. tl3.Enabled = false
  6543. elseif secondaryenabled == true then
  6544. tl1.Enabled = true
  6545. tl2.Enabled = true
  6546. tl3.Enabled = true
  6547. end
  6548. tl1.Color = ColorSequence.new(two.Color)
  6549. tl2.Color = ColorSequence.new(two.Color)
  6550. tl3.Color = ColorSequence.new(two.Color)
  6551. for i, v in pairs(m:GetChildren()) do
  6552. if v:IsA("Part") then
  6553. v.BrickColor = three
  6554. v.Material = "Ice"
  6555. end
  6556. end
  6557. for i, v in pairs(m2:GetChildren()) do
  6558. if v:IsA("Part") then
  6559. v.BrickColor = four
  6560. v.Material = "Ice"
  6561. end
  6562. end
  6563. for i, v in pairs(m3:GetChildren()) do
  6564. if v:IsA("Part") then
  6565. v.BrickColor = five
  6566. v.Material = "Neon"
  6567. end
  6568. end
  6569. for i, v in pairs(extrawingmod1:GetChildren()) do
  6570. if v:IsA("Part") then
  6571. v.Transparency = exonetran
  6572. v.BrickColor = exone
  6573. v.Material = "Neon"
  6574. end
  6575. end
  6576. for i, v in pairs(extrawingmod2:GetChildren()) do
  6577. if v:IsA("Part") then
  6578. v.Transparency = extwotran
  6579. v.BrickColor = extwo
  6580. v.Material = "Neon"
  6581. end
  6582. end
  6583. end
  6584.  
  6585.  
  6586. function normalmog()
  6587. attack = true
  6588. hum.WalkSpeed = 0
  6589. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  6590. for i = 0,6,0.1 do
  6591. swait()
  6592. 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)
  6593. 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)
  6594. 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)
  6595. 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)
  6596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  6597. 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)
  6598. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6599. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6600. end
  6601. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  6602. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  6603. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  6604. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  6605. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  6606. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  6607. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  6608. rainbowmode = false
  6609. chaosmode = false
  6610. ModeOfGlitch = 1
  6611. storehumanoidWS = 16
  6612. newTheme("rbxassetid://614032233",48.6,1,1.25)
  6613. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6614. CameraEnshaking(5,2.5)
  6615. MAINRUINCOLOR = BrickColor.new("Really red")
  6616. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6617. for i = 0, 49 do
  6618. 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)
  6619. end
  6620. for i = 0, 24 do
  6621. 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)
  6622. 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"))
  6623. end
  6624. for i = 0,3,0.1 do
  6625. 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)
  6626. end
  6627. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  6628. for i = 0,2,0.1 do
  6629. swait()
  6630. 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)
  6631. 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)
  6632. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  6633. 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)
  6634. 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)
  6635. 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)
  6636. end
  6637. hum.WalkSpeed = storehumanoidWS
  6638. attack = false
  6639. end
  6640.  
  6641. function attackone()
  6642.     attack = true
  6643.     for i = 0,1,0.1 do
  6644.         swait()
  6645.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  6646.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  6647.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6648.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6649. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  6650. 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(10)),.2)
  6651.     end
  6652.     CFuncs["Sound"].Create("rbxassetid://1448033299", root, 1, 1)
  6653.  
  6654. local hitb = Instance.new("Part", char)
  6655.         hitb.Anchored = true
  6656.         hitb.CanCollide = false
  6657.         hitb.FormFactor = 3
  6658.         hitb.Name = "Ring"
  6659.         hitb.Material = "Neon"
  6660.         hitb.Size = Vector3.new(1, 1, 1)
  6661.         hitb.Transparency = 1
  6662.         hitb.TopSurface = 0
  6663.         hitb.BottomSurface = 0
  6664. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  6665. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  6666. hitb:Destroy()
  6667.     for i = 0,1,0.1 do
  6668.         swait()
  6669.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  6670.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  6671.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  6672.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  6673. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  6674. 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(-10)),.4)
  6675.     end
  6676.  
  6677.     attack = false
  6678. end
  6679.  
  6680. function attacktwo()
  6681.     attack = true
  6682.     for i = 0,1,0.1 do
  6683.         swait()
  6684.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  6685.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  6686.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  6687.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  6688. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  6689. 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(10)),.2)
  6690.     end
  6691.     CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  6692. local hitb = Instance.new("Part", char)
  6693.         hitb.Anchored = true
  6694.         hitb.CanCollide = false
  6695.         hitb.FormFactor = 3
  6696.         hitb.Name = "Ring"
  6697.         hitb.Material = "Neon"
  6698.         hitb.Size = Vector3.new(1, 1, 1)
  6699.         hitb.Transparency = 1
  6700.         hitb.TopSurface = 0
  6701.         hitb.BottomSurface = 0
  6702. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  6703. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  6704. hitb:Destroy()
  6705.     for i = 0,1,0.1 do
  6706.         swait()
  6707.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  6708.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  6709.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  6710.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  6711. 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(-5),math.rad(0),math.rad(-40)),.4)
  6712. 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(-10)),.4)
  6713.     end
  6714.     attack = false
  6715. end
  6716.  
  6717. function attackthree()
  6718.     attack = true
  6719.     for i = 0,1,0.1 do
  6720.         swait()
  6721.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  6722.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  6723.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6724.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6725. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  6726. 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(10)),.2)
  6727.     end
  6728.     CFuncs["Sound"].Create("rbxassetid://1690476035", root, 1, 1)
  6729.  
  6730. local hitb = Instance.new("Part", char)
  6731.         hitb.Anchored = true
  6732.         hitb.CanCollide = false
  6733.         hitb.FormFactor = 3
  6734.         hitb.Name = "Ring"
  6735.         hitb.Material = "Neon"
  6736.         hitb.Size = Vector3.new(1, 1, 1)
  6737.         hitb.Transparency = 1
  6738.         hitb.TopSurface = 0
  6739.         hitb.BottomSurface = 0
  6740. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  6741. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  6742. hitb:Destroy()
  6743.     for i = 0,1,0.1 do
  6744.         swait()
  6745.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  6746.             Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  6747.              RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  6748.              LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  6749. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  6750. 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(-10)),.4)
  6751.     end
  6752.     attack = false
  6753. end
  6754. ----------------------------------- Abilities
  6755. function ExtinctiveHeartbreak()
  6756. local targetted = nil
  6757. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6758. targetted = mouse.Target.Parent
  6759. end
  6760. if targetted ~= nil then
  6761. attack = true
  6762. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6763. for i = 0, 9 do
  6764. --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)
  6765. end
  6766. for i = 0, 24 do
  6767. --
  6768. end
  6769. --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6770. local originalpos = root.CFrame
  6771. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  6772. for i = 0, 9 do
  6773. --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)
  6774. end
  6775. for i = 0, 24 do
  6776. end
  6777. hum.WalkSpeed = 0
  6778. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6779. local radm = math.random(1,3)
  6780. if radm == 1 then
  6781. bosschatfunc("๐Ÿ‘Žโ–ก โ“โ–กโ—† โงซโ™’โ™“โ– & โ“โ–กโ—† โ™โ™‹โ–  โ™โฌงโ™โ™‹โ—ปโ™โœ",MAINRUINCOLOR.Color,2)
  6782. elseif radm == 2 then
  6783. bosschatfunc("GOTCHA!",MAINRUINCOLOR.Color,2)
  6784. elseif radm == 3 then
  6785. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  6786. end
  6787. for i = 0,2,0.1 do
  6788. swait()
  6789. 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)
  6790. 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)
  6791. 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)
  6792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  6793. 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)
  6794. 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)
  6795. end
  6796. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  6797. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  6798. for i = 0,2,0.1 do
  6799. swait()
  6800. coroutine.resume(coroutine.create(function()
  6801. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6802. for i,v in pairs(targetted:GetChildren()) do
  6803. if v:IsA("Part") or v:IsA("MeshPart") then
  6804. v.Velocity = vt(0,0,0)
  6805. end
  6806. end
  6807. end))
  6808. 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)
  6809. 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)
  6810. 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)
  6811. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  6812. 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)
  6813. 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)
  6814. end
  6815. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  6816. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  6817. for i = 0, 1 do
  6818. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  6819. end
  6820. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  6821. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  6822. for i = 0,4,0.1 do
  6823. swait()
  6824. coroutine.resume(coroutine.create(function()
  6825. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6826. 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)))
  6827. local at1 = Instance.new("Attachment",dis)
  6828. at1.Position = vt(-25000,0,0)
  6829. local at2 = Instance.new("Attachment",dis)
  6830. at2.Position = vt(25000,0,0)
  6831. local trl = Instance.new('Trail',dis)
  6832. trl.Attachment0 = at1
  6833. trl.FaceCamera = true
  6834. trl.Attachment1 = at2
  6835. trl.Texture = "rbxassetid://1049219073"
  6836. trl.LightEmission = 1
  6837. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6838. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  6839. trl.Lifetime = 5
  6840. local bv = Instance.new("BodyVelocity")
  6841. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6842. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6843. bv.Parent = dis
  6844. game:GetService("Debris"):AddItem(dis, 5)
  6845. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6846. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  6847. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  6848. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  6849. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  6850. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  6851. 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)
  6852. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  6853. for i = 0, 2 do
  6854. --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"))
  6855. end
  6856. 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)
  6857. for i,v in pairs(targetted:GetChildren()) do
  6858. if v:IsA("Part") or v:IsA("MeshPart") then
  6859. v.Velocity = vt(0,0,0)
  6860. end
  6861. end
  6862. end))
  6863. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6864. 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)
  6865. 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)
  6866. 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)
  6867. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  6868. 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)
  6869. 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)
  6870. end
  6871. hum.CameraOffset = vt(0,0,0)
  6872. for i = 0, 49 do
  6873. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6874. 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)))
  6875. local at1 = Instance.new("Attachment",dis)
  6876. at1.Position = vt(-50000,0,0)
  6877. local at2 = Instance.new("Attachment",dis)
  6878. at2.Position = vt(50000,0,0)
  6879. local trl = Instance.new('Trail',dis)
  6880. trl.Attachment0 = at1
  6881. trl.FaceCamera = true
  6882. trl.Attachment1 = at2
  6883. trl.Texture = "rbxassetid://1049219073"
  6884. trl.LightEmission = 1
  6885. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6886. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  6887. trl.Lifetime = 5
  6888. local bv = Instance.new("BodyVelocity")
  6889. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6890. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6891. bv.Parent = dis
  6892. game:GetService("Debris"):AddItem(dis, 5)
  6893. end
  6894. for i = 0, 49 do
  6895. 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)
  6896. --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"))
  6897. end
  6898. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  6899. for i = 0, 1 do
  6900. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  6901. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  6902. end
  6903. for i = 0, 4 do
  6904. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  6905. end
  6906. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  6907. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  6908. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  6909. dmg(targetted)
  6910. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6911. for i = 0, 9 do
  6912. --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)
  6913. end
  6914. for i = 0, 24 do
  6915. end
  6916. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6917. root.CFrame = originalpos
  6918. for i = 0, 9 do
  6919. --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)
  6920. end
  6921. for i = 0, 24 do
  6922. end
  6923. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6924. attack = false
  6925. hum.WalkSpeed = storehumanoidWS
  6926. end
  6927. end
  6928.  
  6929.  
  6930. function CorruptionEvent()
  6931. attack = true
  6932. hum.WalkSpeed = 0
  6933. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6934. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6935. local keptcolor = MAINRUINCOLOR
  6936. for i = 0,4,0.1 do
  6937. swait()
  6938. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6939. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6940. 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)
  6941. 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)
  6942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  6943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  6944. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  6945. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6946. end
  6947. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6948. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  6949. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  6950. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6951. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6952. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6953. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  6954. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  6955. hum.CameraOffset = vt(0,0,0)
  6956. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6957. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6958. for i = 0, 24 do
  6959. --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"))
  6960. end
  6961. local rrot = 0
  6962. coroutine.resume(coroutine.create(function()
  6963. for i = 0, 4 do
  6964. rrot = rrot + 45
  6965. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6966. xa.Anchored = true
  6967. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6968. xb.Anchored = true
  6969. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6970. xc.Anchored = true
  6971. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6972. xd.Anchored = true
  6973. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  6974. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  6975. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  6976. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  6977. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  6978. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  6979. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  6980. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  6981. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  6982. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  6983. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  6984. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  6985. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  6986. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  6987. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  6988. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  6989. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6990. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6991. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6992. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6993. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6994. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6995. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6996. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6997. 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)
  6998. 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)
  6999. 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)
  7000. 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)
  7001. 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))
  7002. 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))
  7003. 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))
  7004. 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))
  7005. game:GetService("Debris"):AddItem(xa, 5)
  7006. game:GetService("Debris"):AddItem(xb, 5)
  7007. game:GetService("Debris"):AddItem(xc, 5)
  7008. game:GetService("Debris"):AddItem(xd, 5)
  7009. coroutine.resume(coroutine.create(function()
  7010. for i = 0, 19 do
  7011. swait()
  7012. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7013. end
  7014. hum.CameraOffset = vt(0,0,0)
  7015. end))
  7016. swait(9)
  7017. end
  7018. end))
  7019. for i = 0,2,0.1 do
  7020. swait()
  7021. 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)
  7022. 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)
  7023. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  7024. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  7025. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  7026. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  7027. end
  7028. attack = false
  7029. hum.WalkSpeed = storehumanoidWS
  7030. end
  7031.  
  7032. function EndGROUND()
  7033.     attack = true
  7034. hum.WalkSpeed = 0
  7035. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  7036. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  7037. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  7038. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  7039. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  7040. local keptcolor = MAINRUINCOLOR
  7041. for i = 0,4,0.1 do
  7042. swait()
  7043. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7044. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7045. --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"))
  7046. 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)
  7047. 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)
  7048. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  7049. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  7050. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  7051. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  7052. end
  7053. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  7054. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  7055. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  7056. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  7057. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  7058. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  7059. coroutine.resume(coroutine.create(function()
  7060.     local shval = 10
  7061.     for i = 0, 99 do
  7062.         swait()
  7063.         shval = shval - 0.1
  7064.         hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  7065.     end
  7066.     hum.CameraOffset = vt(0,0,0)
  7067. end))
  7068. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7069. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7070. for i = 0, 24 do
  7071. --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"))
  7072. end
  7073. local rrot = 0
  7074. local xam = 1
  7075. coroutine.resume(coroutine.create(function()
  7076. for i = 0, 14 do
  7077. --swait()
  7078. rrot = rrot + 40*xam
  7079. xam = xam + 0.25
  7080. local bonus = xam
  7081. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  7082. xa.Anchored = true
  7083. xa.Color = Color3.new(0,0,0)
  7084. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  7085. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  7086. local xc = 0
  7087. coroutine.resume(coroutine.create(function()
  7088. for i = 0, 99 do
  7089.     swait()
  7090.     xc = xc + 0.01
  7091.     xa.Color = Color3.new(xc,0,0)
  7092. end
  7093. xa.Transparency = 1
  7094. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  7095. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  7096. for i = 0, 9 do
  7097. --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"))
  7098. end
  7099. 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)
  7100. 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)
  7101. 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))
  7102. game:GetService("Debris"):AddItem(xa, 5)
  7103. coroutine.resume(coroutine.create(function()
  7104. for i = 0, 19 do
  7105. swait()
  7106. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7107. end
  7108. hum.CameraOffset = vt(0,0,0)
  7109. end))
  7110. end))
  7111. end
  7112. end))
  7113. for i = 0,2,0.1 do
  7114. swait()
  7115. 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)
  7116. 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)
  7117. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  7118. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  7119. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  7120. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  7121. end
  7122. attack = false
  7123. hum.WalkSpeed = storehumanoidWS
  7124. end
  7125.  
  7126. function HeavenlyDisk()
  7127. attack = true
  7128. hum.WalkSpeed = 2
  7129. local keptcolor = MAINRUINCOLOR
  7130. local radm = math.random(1,3)
  7131. if radm == 1 then
  7132. bosschatfunc("DONT COME TO ME CLOSER!",MAINRUINCOLOR.Color,1)
  7133. elseif radm == 2 then
  7134. bosschatfunc("LEAVE ME ALONE!",MAINRUINCOLOR.Color,1)
  7135. elseif radm == 3 then
  7136. bosschatfunc("WHY YOU REDUSE?!",MAINRUINCOLOR.Color,1)
  7137. end
  7138. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  7139. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  7140. for i = 0, 14 do
  7141. --
  7142. end
  7143. for i = 0,2,0.1 do
  7144. swait()
  7145. 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)
  7146. 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)
  7147. 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)
  7148. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  7149. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  7150. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  7151. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  7152. end
  7153. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  7154. for i = 0,1,0.6 do
  7155. swait()
  7156. 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)
  7157. --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"))
  7158. 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)
  7159. 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)
  7160. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  7161. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7162. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7163. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7164. end
  7165. for i = 0,1,0.6 do
  7166. swait()
  7167. 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)
  7168. --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"))
  7169. 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)
  7170. 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)
  7171. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  7172. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7173. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7174. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7175. end
  7176. for i = 0,1,0.6 do
  7177. swait()
  7178. 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)
  7179. --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"))
  7180. 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)
  7181. 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)
  7182. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  7183. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7184. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7185. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7186. end
  7187. for i = 0,1,0.6 do
  7188. swait()
  7189. 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)
  7190. --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"))
  7191. 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)
  7192. 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)
  7193. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  7194. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7195. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7196. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7197. end
  7198. local rot = 15
  7199. for i = 0, 2 do
  7200. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Really black"))
  7201. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  7202. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  7203. CreateMesh(dis,"Sphere",10,1,10)
  7204. local at1 = Instance.new("Attachment",dis)
  7205. at1.Position = vt(-5,0,0)
  7206. local at2 = Instance.new("Attachment",dis)
  7207. at2.Position = vt(5,0,0)
  7208. local trl = Instance.new('Trail',wed)
  7209. trl.Attachment0 = at1
  7210. trl.Attachment1 = at2
  7211. trl.Texture = "rbxassetid://1049219073"
  7212. trl.LightEmission = 1
  7213. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7214. trl.Color = ColorSequence.new(dis.Color)
  7215. trl.Lifetime = 0.6
  7216. local a = Instance.new("Part",workspace)
  7217.     a.Name = "Direction"   
  7218.     a.Anchored = true
  7219.     a.BrickColor = bc("Bright red")
  7220. a.Material = "Neon"
  7221. a.Transparency = 1
  7222.     a.CanCollide = false
  7223.     local ray = Ray.new(
  7224.         dis.CFrame.p,                           -- origin
  7225.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  7226.     )
  7227.     local ignore = dis
  7228.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7229.     a.BottomSurface = 10
  7230.     a.TopSurface = 10
  7231.     local distance = (dis.CFrame.p - position).magnitude
  7232.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  7233.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  7234. dis.CFrame = a.CFrame
  7235. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  7236. a:Destroy()
  7237. local bv = Instance.new("BodyVelocity")
  7238. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7239. bv.velocity = dis.CFrame.lookVector*250
  7240. bv.Parent = dis
  7241. game:GetService("Debris"):AddItem(dis, 5)
  7242. local hitted = false
  7243. coroutine.resume(coroutine.create(function()
  7244. dis.Touched:connect(function(hit)
  7245.     if hitted == false and hit.Parent ~= char then
  7246.     hitted = true
  7247.     CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  7248.     MagniDamage(dis, 30, 82,34575, 0, "Normal")
  7249.     --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  7250.     --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  7251.     --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  7252.     coroutine.resume(coroutine.create(function()
  7253.         for i = 0, 9 do
  7254. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7255. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7256. local at1 = Instance.new("Attachment",disr)
  7257. at1.Position = vt(-2,0,0)
  7258. local at2 = Instance.new("Attachment",disr)
  7259. at2.Position = vt(2,0,0)
  7260. local trl = Instance.new('Trail',disr)
  7261. trl.Attachment0 = at1
  7262. trl.FaceCamera = true
  7263. trl.Attachment1 = at2
  7264. trl.Texture = "rbxassetid://2342682798"
  7265. trl.LightEmission = 1
  7266. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7267. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7268. trl.Lifetime = 0.5
  7269. local bv = Instance.new("BodyVelocity")
  7270. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7271. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  7272. bv.Parent = disr
  7273. local val = 0
  7274. coroutine.resume(coroutine.create(function()
  7275.     swait(30)
  7276.     for i = 0, 9 do
  7277.         swait()
  7278.         val = val + 0.1
  7279.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7280.     end
  7281. game:GetService("Debris"):AddItem(disr, 3)
  7282. end))
  7283. end
  7284. local eff = Instance.new("ParticleEmitter",dis)
  7285. eff.Texture = "rbxassetid://2273224484"
  7286. eff.LightEmission = 1
  7287. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7288. eff.Rate = 500000
  7289. eff.Lifetime = NumberRange.new(0.5,2)
  7290. 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)})
  7291. 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)})
  7292. eff.Speed = NumberRange.new(20,250)
  7293. eff.Drag = 5
  7294. eff.Rotation = NumberRange.new(-500,500)
  7295. eff.VelocitySpread = 9000
  7296. eff.RotSpeed = NumberRange.new(-50,50)
  7297. wait(0.25)
  7298. eff.Enabled = false
  7299. end))
  7300.     for i = 0, 9 do
  7301.         --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"))
  7302.     end
  7303. for i = 0, 19 do
  7304. --
  7305. end
  7306. coroutine.resume(coroutine.create(function()
  7307. for i = 0, 19 do
  7308. swait()
  7309. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  7310. end
  7311. hum.CameraOffset = vt(0,0,0)
  7312. end))
  7313. dis.Anchored = true
  7314. dis.Transparency = 1
  7315. wait(8)
  7316. dis:Destroy()
  7317. end
  7318. end)
  7319. end))
  7320. rot = rot - 15
  7321. end
  7322. for i = 0,2,0.1 do
  7323. swait()
  7324. 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)
  7325. 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)
  7326. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  7327. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  7328. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  7329. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  7330. end
  7331. attack = false
  7332. hum.WalkSpeed = storehumanoidWS
  7333. end
  7334.  
  7335. function RapidBurst()
  7336. attack = true
  7337. hum.WalkSpeed = 0
  7338. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  7339. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  7340. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  7341. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  7342. local keptcolor = MAINRUINCOLOR
  7343. for i = 0,8,0.1 do
  7344. swait()
  7345. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7346. --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())
  7347. 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)
  7348. 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)
  7349. 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)
  7350. 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)
  7351. 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)
  7352. 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)
  7353. 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)
  7354. end
  7355. for i = 0, 99 do
  7356. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7357. 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)))
  7358. local at1 = Instance.new("Attachment",dis)
  7359. at1.Position = vt(-25000,0,0)
  7360. local at2 = Instance.new("Attachment",dis)
  7361. at2.Position = vt(25000,0,0)
  7362. local trl = Instance.new('Trail',dis)
  7363. trl.Attachment0 = at1
  7364. trl.FaceCamera = true
  7365. trl.Attachment1 = at2
  7366. trl.Texture = "rbxassetid://1049219073"
  7367. trl.LightEmission = 1
  7368. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7369. trl.Color = ColorSequence.new(BrickColor.random().Color)
  7370. trl.Lifetime = 5
  7371. local bv = Instance.new("BodyVelocity")
  7372. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7373. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7374. bv.Parent = dis
  7375. game:GetService("Debris"):AddItem(dis, 5)
  7376. end
  7377. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  7378. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  7379. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  7380. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  7381. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  7382. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  7383. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  7384. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  7385. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  7386. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  7387. hum.CameraOffset = vt(0,0,0)
  7388. for i = 0, 24 do
  7389. --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())
  7390. end
  7391. local distam = 0
  7392. coroutine.resume(coroutine.create(function()
  7393. for i = 0, 99 do
  7394.     wait()
  7395. distam = distam + 1
  7396. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7397. xa.Anchored = true
  7398. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  7399. game:GetService("Debris"):AddItem(xa, 5)
  7400. for i = 0, 4 do
  7401. --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())
  7402. end
  7403. coroutine.resume(coroutine.create(function()
  7404. local eff = Instance.new("ParticleEmitter",xa)
  7405. eff.Texture = "rbxassetid://2273224484"
  7406. eff.LightEmission = 1
  7407. eff.Color = ColorSequence.new(BrickColor.random().Color)
  7408. eff.Rate = 500000
  7409. eff.Lifetime = NumberRange.new(1,3)
  7410. 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)})
  7411. 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)})
  7412. eff.Speed = NumberRange.new(50,500)
  7413. eff.Drag = 5
  7414. eff.Rotation = NumberRange.new(-500,500)
  7415. eff.VelocitySpread = 9000
  7416. eff.RotSpeed = NumberRange.new(-50,50)
  7417. wait(0.25)
  7418. eff.Enabled = false
  7419. end))
  7420. coroutine.resume(coroutine.create(function()
  7421. for i = 0, 19 do
  7422. swait()
  7423. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  7424. end
  7425. hum.CameraOffset = vt(0,0,0)
  7426. end))
  7427. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  7428. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  7429. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  7430. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  7431. end
  7432. end))
  7433. attack = false
  7434. hum.WalkSpeed = storehumanoidWS
  7435. end
  7436.  
  7437. function FallenOrbs()
  7438. attack = true
  7439. hum.WalkSpeed = 2
  7440. local keptcolor = MAINRUINCOLOR
  7441. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  7442. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  7443. local radm = math.random(1,3)
  7444. if radm == 1 then
  7445. bosschatfunc("SWARM!",MAINRUINCOLOR.Color,1)
  7446. elseif radm == 2 then
  7447. bosschatfunc("Weakling!",MAINRUINCOLOR.Color,1)
  7448. elseif radm == 3 then
  7449. bosschatfunc("RAAAAAGGGGGGHHHHHH!!!!!",MAINRUINCOLOR.Color,1)
  7450. end
  7451. coroutine.resume(coroutine.create(function()
  7452. for i = 0, 29 do
  7453. swait(2)
  7454. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  7455. dis.Anchored = true
  7456. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  7457. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  7458. CreateMesh(dis,"Sphere",2,2,2)
  7459. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  7460. --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"))
  7461. coroutine.resume(coroutine.create(function()
  7462. wait(0.5)
  7463. dis.Anchored = false
  7464. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  7465. local at1 = Instance.new("Attachment",dis)
  7466. at1.Position = vt(-1,0,0)
  7467. local at2 = Instance.new("Attachment",dis)
  7468. at2.Position = vt(1,0,0)
  7469. local trl = Instance.new('Trail',dis)
  7470. trl.Attachment0 = at1
  7471. trl.FaceCamera = true
  7472. trl.Attachment1 = at2
  7473. trl.Texture = "rbxassetid://1049219073"
  7474. trl.LightEmission = 1
  7475. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7476. trl.Color = ColorSequence.new(dis.Color)
  7477. trl.Lifetime = 0.6
  7478. local a = Instance.new("Part",workspace)
  7479.     a.Name = "Direction"   
  7480.     a.Anchored = true
  7481.     a.BrickColor = bc("Bright red")
  7482. a.Material = "Neon"
  7483. a.Transparency = 1
  7484.     a.CanCollide = false
  7485.     local ray = Ray.new(
  7486.         dis.CFrame.p,                           -- origin
  7487.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  7488.     )
  7489.     local ignore = dis
  7490.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7491.     a.BottomSurface = 10
  7492.     a.TopSurface = 10
  7493.     local distance = (dis.CFrame.p - position).magnitude
  7494.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  7495.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  7496. dis.CFrame = a.CFrame
  7497. a:Destroy()
  7498. local bv = Instance.new("BodyVelocity")
  7499. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7500. bv.velocity = dis.CFrame.lookVector*500
  7501. bv.Parent = dis
  7502. game:GetService("Debris"):AddItem(dis, 5)
  7503. local hitted = false
  7504. coroutine.resume(coroutine.create(function()
  7505. dis.Touched:connect(function(hit)
  7506.     if hitted == false and hit.Parent ~= char then
  7507.     hitted = true
  7508.     CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  7509.     MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  7510.     --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  7511.     --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  7512.     coroutine.resume(coroutine.create(function()
  7513. for i = 0, 4 do
  7514. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7515. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7516. local at1 = Instance.new("Attachment",disr)
  7517. at1.Position = vt(-10,0,0)
  7518. local at2 = Instance.new("Attachment",disr)
  7519. at2.Position = vt(10,0,0)
  7520. local trl = Instance.new('Trail',disr)
  7521. trl.Attachment0 = at1
  7522. trl.FaceCamera = true
  7523. trl.Attachment1 = at2
  7524. trl.Texture = "rbxassetid://2342682798"
  7525. trl.LightEmission = 1
  7526. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7527. trl.Color = ColorSequence.new(disr.Color)
  7528. trl.Lifetime = 0.5
  7529. local bv = Instance.new("BodyVelocity")
  7530. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7531. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  7532. bv.Parent = disr
  7533. local val = 0
  7534. coroutine.resume(coroutine.create(function()
  7535.     swait(30)
  7536.     for i = 0, 9 do
  7537.         swait()
  7538.         val = val + 0.1
  7539.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7540.     end
  7541. game:GetService("Debris"):AddItem(disr, 3)
  7542. end))
  7543. end
  7544. local eff = Instance.new("ParticleEmitter",dis)
  7545. eff.Texture = "rbxassetid://2273224484"
  7546. eff.LightEmission = 1
  7547. eff.Color = ColorSequence.new(dis.Color)
  7548. eff.Rate = 500000
  7549. eff.Lifetime = NumberRange.new(0.5,2)
  7550. 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)})
  7551. 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)})
  7552. eff.Speed = NumberRange.new(20,250)
  7553. eff.Drag = 5
  7554. eff.Rotation = NumberRange.new(-500,500)
  7555. eff.VelocitySpread = 9000
  7556. eff.RotSpeed = NumberRange.new(-50,50)
  7557. wait(0.5)
  7558. eff.Enabled = false
  7559. end))
  7560.     for i = 0, 4 do
  7561.         --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"))
  7562.     end
  7563. coroutine.resume(coroutine.create(function()
  7564. for i = 0, 19 do
  7565. swait()
  7566. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  7567. end
  7568. hum.CameraOffset = vt(0,0,0)
  7569. end))
  7570. dis.Anchored = true
  7571. dis.Transparency = 1
  7572. wait(8)
  7573. dis:Destroy()
  7574. end
  7575. end)
  7576. end))
  7577. end))
  7578. end
  7579. end))
  7580. for i = 0,9,0.1 do
  7581. swait()
  7582. 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)
  7583. 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)
  7584. 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)
  7585. 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(90)),.3)
  7586. 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)
  7587. 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)
  7588. 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)
  7589. end
  7590. attack = false
  7591. hum.WalkSpeed = storehumanoidWS
  7592. end
  7593.  
  7594. function EquinoxOrbs()
  7595. hum.WalkSpeed = 0
  7596. attack = true
  7597. for i = 0,1,0.1 do
  7598. swait()
  7599.     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)
  7600. 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)
  7601. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7602. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7603. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  7604. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  7605. end
  7606. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  7607. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  7608. for i = 0, 24 do
  7609.         --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"))
  7610. end
  7611. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  7612. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  7613. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  7614. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  7615. for i = 0,4,0.1 do
  7616. swait()
  7617. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  7618. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  7619. CreateMesh(dis,"Sphere",1,1,1)
  7620. dis.Anchored = true
  7621. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  7622. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  7623. CreateMesh(dis2,"Sphere",1,1,1)
  7624. dis2.Anchored = true
  7625. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  7626. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  7627. --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  7628. coroutine.resume(coroutine.create(function()
  7629.     swait(60)
  7630.     dis.Transparency = 1
  7631.     dis2.Transparency = 1
  7632. coroutine.resume(coroutine.create(function()
  7633. for i = 0, 19 do
  7634. swait()
  7635. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  7636. end
  7637. hum.CameraOffset = vt(0,0,0)
  7638. end))
  7639. coroutine.resume(coroutine.create(function()
  7640. local eff = Instance.new("ParticleEmitter",dis)
  7641. eff.Texture = "rbxassetid://2273224484"
  7642. eff.LightEmission = 1
  7643. eff.Color = ColorSequence.new(dis.Color)
  7644. eff.Rate = 500000
  7645. eff.Lifetime = NumberRange.new(0.5,2)
  7646. 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)})
  7647. 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)})
  7648. eff.Speed = NumberRange.new(50,450)
  7649. eff.Drag = 5
  7650. eff.Rotation = NumberRange.new(-500,500)
  7651. eff.VelocitySpread = 9000
  7652. eff.RotSpeed = NumberRange.new(-50,50)
  7653. local eff2 = eff:Clone()
  7654. eff2.Parent = dis2
  7655. eff2.LightEmission = 0
  7656. eff2.Color = ColorSequence.new(dis2.Color)
  7657. wait(0.25)
  7658. eff.Enabled = false
  7659. eff2.Enabled = false
  7660. end))
  7661. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  7662. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  7663.     CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  7664.     CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  7665.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  7666.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  7667.     CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  7668.     CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  7669.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  7670.     sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  7671. end))
  7672. game:GetService("Debris"):AddItem(dis, 5)
  7673. game:GetService("Debris"):AddItem(dis2, 5)
  7674. 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)
  7675. 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)
  7676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7678. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  7679. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  7680. end
  7681. attack = false
  7682. hum.WalkSpeed = storehumanoidWS
  7683. end
  7684. function FallenDEMISE()
  7685. attack = true
  7686. hum.WalkSpeed = 0
  7687. local keptcolor = MAINRUINCOLOR
  7688. --bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!!!",MAINRUINCOLOR.Color,3)
  7689. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  7690. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  7691. for i = 0, 15, 0.1 do
  7692. swait()
  7693. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7694. 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)))
  7695. local at1 = Instance.new("Attachment",dis)
  7696. at1.Position = vt(-25000,0,0)
  7697. local at2 = Instance.new("Attachment",dis)
  7698. at2.Position = vt(25000,0,0)
  7699. local trl = Instance.new('Trail',dis)
  7700. trl.Attachment0 = at1
  7701. trl.FaceCamera = true
  7702. trl.Attachment1 = at2
  7703. trl.Texture = "rbxassetid://1049219073"
  7704. trl.LightEmission = 1
  7705. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7706. trl.Color = ColorSequence.new(dis.Color)
  7707. trl.Lifetime = 5
  7708. local bv = Instance.new("BodyVelocity")
  7709. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7710. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7711. bv.Parent = dis
  7712. game:GetService("Debris"):AddItem(dis, 1)
  7713. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  7714. --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"))
  7715. --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"))
  7716. 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)
  7717. 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)
  7718. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7719. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7720. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7721. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7722. end
  7723. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  7724. for i = 0, 30, 0.1 do
  7725. swait()
  7726. coroutine.resume(coroutine.create(function()
  7727. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  7728. if v:FindFirstChild('Head') then
  7729. dmg(v)
  7730. end
  7731. end
  7732. end))
  7733. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7734. 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)))
  7735. local at1 = Instance.new("Attachment",dis)
  7736. at1.Position = vt(-50000,0,0)
  7737. local at2 = Instance.new("Attachment",dis)
  7738. at2.Position = vt(50000,0,0)
  7739. local trl = Instance.new('Trail',dis)
  7740. trl.Attachment0 = at1
  7741. trl.FaceCamera = true
  7742. trl.Attachment1 = at2
  7743. trl.Texture = "rbxassetid://1049219073"
  7744. trl.LightEmission = 1
  7745. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7746. trl.Color = ColorSequence.new(dis.Color)
  7747. trl.Lifetime = 10
  7748. local bv = Instance.new("BodyVelocity")
  7749. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7750. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  7751. bv.Parent = dis
  7752. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  7753. --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  7754. --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  7755. --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"))
  7756. --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"))
  7757. --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"))
  7758. --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"))
  7759. for i = 0, 2 do
  7760. --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)
  7761. end
  7762. 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)
  7763. 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)
  7764. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7766. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7767. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7768. end
  7769. attack = false
  7770. hum.WalkSpeed = storehumanoidWS
  7771. end
  7772. -------------------------------------
  7773.  
  7774. Humanoid.Animator.Parent = nil
  7775.  
  7776. -------------------------------------
  7777.  
  7778. local attacktype = 1
  7779. mouse.Button1Down:connect(function()
  7780.   if attack == false and attacktype == 1 then
  7781.     attacktype = 2
  7782.     attackone()
  7783.   elseif attack == false and attacktype == 2 then
  7784.     attacktype = 3
  7785.     attacktwo()
  7786.   elseif attack == false and attacktype == 3 then
  7787.     attacktype = 1
  7788.     attackthree()
  7789.   elseif attack == false and attacktype == 4 then
  7790.     attacktype = 1
  7791.     --attackfour()
  7792.   end
  7793. end)
  7794. mouse.KeyDown:connect(function(k)
  7795. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  7796. --normalmog() ---Disabled due to crashing... only in VSB
  7797. ModeOfGlitch = 1
  7798. storehumanoidWS = 16
  7799. hum.WalkSpeed = 16
  7800. rainbowmode = false
  7801. chaosmode = false
  7802. newTheme("rbxassetid://614032233",0,1,1)
  7803. RecolorTextAndRename("MAYHEM V",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  7804. MAINRUINCOLOR = BrickColor.new("Really red")
  7805. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  7806. end
  7807. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  7808. ModeOfGlitch = 2
  7809. storehumanoidWS = 16
  7810. hum.WalkSpeed = 16
  7811. rainbowmode = false
  7812. chaosmode = false
  7813. RecolorTextAndRename("Purity V",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  7814. newTheme("rbxassetid://1539245059",0,1,1.25)
  7815. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7816. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7817. end
  7818. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 11111 then
  7819.                  ModeOfGlitch = 11111
  7820. storehumanoidWS = 50
  7821. hum.WalkSpeed = 50
  7822. rainbowmode = false
  7823. chaosmode = false
  7824. RecolorTextAndRename("CRYSTAL",Color3.new(1,1,1),BrickColor.new("Pastel light blue").Color,"Code")
  7825. newTheme("rbxassetid://1861780345",0,1,1)
  7826. MAINRUINCOLOR = BrickColor.new("Pastel light blue")
  7827. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7828. end
  7829. if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 242424 then
  7830.                  ModeOfGlitch = 242424
  7831. storehumanoidWS = 16
  7832. hum.WalkSpeed = 16
  7833. rainbowmode = false
  7834. chaosmode = false
  7835. RecolorTextAndRename("CLARITY V",Color3.new(0,0,0.65),Color3.new(0,0,2),"Code")
  7836. newTheme("rbxassetid://2650791818",0,0.97,0.97)
  7837. MAINRUINCOLOR = BrickColor.new("Really blue")
  7838. RecolorThing(MAINRUINCOLOR,BrickColor.new("Baby blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7839. end
  7840. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  7841.                ModeOfGlitch = 3
  7842. storehumanoidWS = 16
  7843. hum.WalkSpeed = 16
  7844. rainbowmode = false
  7845. chaosmode = false
  7846. RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  7847. newTheme("rbxassetid://303570180",0.6,0.6,0.6)
  7848. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7849. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7850. end
  7851. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  7852.                ModeOfGlitch = 4
  7853. storehumanoidWS = 50
  7854. hum.WalkSpeed = 50
  7855. rainbowmode = false
  7856. chaosmode = false
  7857. RecolorTextAndRename("SOLITUDE V",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
  7858. newTheme("rbxassetid://723652641",0,1,1.5)
  7859. MAINRUINCOLOR = BrickColor.new("Really black")
  7860. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7861. end
  7862. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  7863.                ModeOfGlitch = 5
  7864. storehumanoidWS = 16
  7865. hum.WalkSpeed = 16
  7866. rainbowmode = false
  7867. chaosmode = false
  7868. RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  7869. newTheme("rbxassetid://661079869",0,1,1)
  7870. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7871. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7872. end
  7873. if k == "k" and attack == false and ModeOfGlitch ~= 2335 then
  7874.                ModeOfGlitch = 2335
  7875. storehumanoidWS = 250
  7876. hum.WalkSpeed = 250
  7877. rainbowmode = true
  7878. chaosmode = false
  7879. RecolorTextAndRename("RAINBOW",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
  7880. newTheme("rbxassetid://1747430851",0,1,1.15)
  7881. MAINRUINCOLOR = BrickColor.new("Pastel green")
  7882. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
  7883. end
  7884. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  7885.                ModeOfGlitch = 6
  7886. storehumanoidWS = 100
  7887. hum.WalkSpeed = 100
  7888. rainbowmode = false
  7889. chaosmode = false
  7890. RecolorTextAndRename("EQUINOX V",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  7891. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  7892. MAINRUINCOLOR = BrickColor.new("White")
  7893. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7894. end
  7895. if k == "m" and attack == false and ModeOfGlitch == 6 then
  7896. attack = true
  7897. newTheme("rbxassetid://1369263130",0,1,1.25)
  7898.  
  7899. attack = false
  7900. ModeOfGlitch = 420
  7901. storehumanoidWS = 12
  7902. hum.WalkSpeed = 12
  7903. rainbowmode = false
  7904. chaosmode = false
  7905. Error = false
  7906. RecolorTextAndRename("UNSTABLE",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  7907. disably = true
  7908. warnedpeople("AAAAAAGH!","Arcade",BrickColor.new("Red").Color,MAINRUINCOLOR.Color)
  7909. disably = false
  7910. MAINRUINCOLOR = BrickColor.new("Really black")
  7911. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true)
  7912. end
  7913.  
  7914. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  7915.                ModeOfGlitch = 8
  7916. storehumanoidWS = 140
  7917. hum.WalkSpeed = 140
  7918. rainbowmode = false
  7919. chaosmode = false
  7920. RecolorTextAndRename("DESTINY V",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  7921. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  7922. MAINRUINCOLOR = BrickColor.new("Alder")
  7923. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7924. end
  7925.  
  7926. if k == "j" and attack == false and ModeOfGlitch ~= 67966 then
  7927.                ModeOfGlitch = 67966
  7928. storehumanoidWS = 16
  7929. hum.WalkSpeed = 16
  7930. rainbowmode = false
  7931. chaosmode = false
  7932. RecolorTextAndRename("LOVE",Color3.new(1,0,1),Color3.new(1,0.5,1),"Highway")
  7933. newTheme("rbxassetid://736003449",0,1,1.75)
  7934. MAINRUINCOLOR = BrickColor.new("Hot pink")
  7935.         disably = false
  7936.         warnedpeople("Love <3","Antique",BrickColor.new("White").Color,BrickColor.new("Pink").Color)
  7937.         disably = true
  7938. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  7939. end
  7940. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 1055 then
  7941.                ModeOfGlitch = 1055
  7942. storehumanoidWS = 50
  7943. hum.WalkSpeed = 50
  7944. rainbowmode = false
  7945. chaosmode = false
  7946. insanitymode = false
  7947. glitching = false
  7948. RecolorTextAndRename("Pandora",BrickColor.new("White").Color,BrickColor.new("Lavender").Color,"Code")
  7949. newTheme("rbxassetid://1382488262",0,1,1.25)
  7950. MAINRUINCOLOR = BrickColor.new("Lavender")
  7951. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  7952. end
  7953. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  7954.                ModeOfGlitch = 9
  7955. storehumanoidWS = 150
  7956. hum.WalkSpeed = 150
  7957. rainbowmode = false
  7958. chaosmode = false
  7959. RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  7960. newTheme("rbxassetid://2573921783",0,1.01,1.25)
  7961. MAINRUINCOLOR = BrickColor.new("Lime green")
  7962. RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7963. end
  7964.  
  7965. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  7966.                ModeOfGlitch = 8889
  7967. storehumanoidWS = 180
  7968. hum.WalkSpeed = 180
  7969. rainbowmode = false
  7970. chaosmode = false
  7971. RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  7972. newTheme("rbxassetid://1359036559",0,1.01,1.25)
  7973. MAINRUINCOLOR = BrickColor.new("Lilac")
  7974. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7975. end
  7976. if k == "n" and attack == false and ModeOfGlitch == 8889 then
  7977.                ModeOfGlitch = 88893333388
  7978. bosschatfunc("Catastrophic acsend!",MAINRUINCOLOR.Color,1)
  7979. wait(1)
  7980. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  7981. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  7982. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  7983. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
  7984. wait(0.2)
  7985. storehumanoidWS = 200
  7986. hum.WalkSpeed = 200
  7987. rainbowmode = false
  7988. chaosmode = false
  7989. CRAZED = false
  7990. RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  7991. newTheme("rbxassetid://1504604335",0,1,1.5)
  7992. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7993. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Lilac"),0,BrickColor.new("Really blue"),0,BrickColor.new("Navy blue"),true,true)
  7994. end
  7995. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 808080808080808080808080 then
  7996.                ModeOfGlitch = 808080808080808080808080
  7997. storehumanoidWS = 250
  7998. hum.WalkSpeed = 250
  7999. rainbowmode = false
  8000. chaosmode = false
  8001. CRAZED = true
  8002. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  8003. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  8004. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  8005. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
  8006. RecolorTextAndRename("TRUE GALAXY",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  8007. newTheme("rbxassetid://250408242",0,1,10)
  8008. MAINRUINCOLOR = BrickColor.new("Really blue")
  8009. bosschatfunc("I'M BACK!!!",MAINRUINCOLOR.Color,1)
  8010. disably = false
  8011. warnedpeople("GALAXY?!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
  8012. disably = false
  8013. RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.,BrickColor.new("Deep orange"),0,BrickColor.new("Pastel light blue"),true,true)
  8014. end
  8015. if k == "m" and attack == false and ModeOfGlitch == 3 then
  8016. attack = true
  8017. ModeOfGlitch = 3
  8018. hum.WalkSpeed = 0
  8019. newTheme("rbxassetid://2368327428",9,1,1.25)
  8020. wait(2)
  8021. for i = 0, 15, 0.1 do
  8022.         swait()
  8023. RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  8024. LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  8025. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  8026. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1)
  8027. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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)
  8028. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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)
  8029. end
  8030. sphere(2,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  8031. sphere(3,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8032. sphere(1,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8033. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8034. sphere(3,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8035. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  8036.                ModeOfGlitch = 146536
  8037. storehumanoidWS = 12
  8038. hum.WalkSpeed = 12
  8039. rainbowmode = false
  8040. chaosmode = false
  8041. CRAZED = false
  8042. RecolorTextAndRename("MATTER-V",Color3.new(0.15,0.15,0.15),Color3.new(0.35,0,1),"Fantasy")
  8043. MAINRUINCOLOR = BrickColor.new("Gold")
  8044. RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8045. attack = false
  8046. end
  8047. if k == "b" and attack == false and ModeOfGlitch == 67966 then
  8048.                ModeOfGlitch = -5
  8049. storehumanoidWS = 16
  8050. hum.WalkSpeed = 16
  8051. rainbowmode = false
  8052. chaosmode = false
  8053. Error = false
  8054. CRAZED = false
  8055. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Antique")
  8056. newTheme("rbxassetid://685323634",0,1,1.25)
  8057. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8058. end
  8059. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 676767 then
  8060.                ModeOfGlitch = 676767
  8061. storehumanoidWS = 200
  8062. hum.WalkSpeed = 200
  8063. rainbowmode = false
  8064. chaosmode = false
  8065. ASTRA = false
  8066. dragon = true
  8067. vis = false
  8068. RecolorTextAndRename("OMEGA V",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8069. newTheme("rbxassetid://643309199",0,1.01,1.25)
  8070. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8071. RecolorThing(BrickColor.new("Bright bluish green"),BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.3,BrickColor.new("Bright bluish green"),0.3,BrickColor.new("Black"),true,true)
  8072. end
  8073. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 61 then
  8074.                ModeOfGlitch = 61
  8075. storehumanoidWS = 16
  8076. hum.WalkSpeed = 16
  8077. rainbowmode = false
  8078. chaosmode = false
  8079. RecolorTextAndRename("NANO",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8080. newTheme("rbxassetid://2234873423",0,1,1)
  8081. MAINRUINCOLOR = BrickColor.new("Pink")
  8082. RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8083. end
  8084. if k == "m" and attack == false and ModeOfGlitch == 2335 and ModeOfGlitch ~= 911 then
  8085.                ModeOfGlitch = 911
  8086. storehumanoidWS = 250
  8087. hum.WalkSpeed = 250
  8088. rainbowmode = true
  8089. chaosmode = false
  8090. disably = false
  8091. warnedpeople("! RAINBOW V !","Highway",Color3.new(1,0,1),Color3.new(1,1,1))
  8092. disably = true
  8093. RecolorTextAndRename("! RAINBOW V !",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
  8094. newTheme("rbxassetid://147930134",0,1,1.15)
  8095. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8096. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
  8097. end
  8098.  if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 55469696922 then
  8099.                ModeOfGlitch = 55469696922
  8100. storehumanoidWS = 12
  8101. hum.WalkSpeed = 12
  8102. rainbowmode = false
  8103. chaosmode = false
  8104. RecolorTextAndRename("PLAGUES",Color3.new(0,0.3,0),BrickColor.new("Lime green").Color,"Code")
  8105. newTheme("rbxassetid://577543579",0,1.005,1.25)
  8106. MAINRUINCOLOR = BrickColor.new("Lime green")
  8107. chatfunc("The plague is already inside..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.7)
  8108. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8109. end
  8110. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8111.                ModeOfGlitch = 4367677813
  8112. storehumanoidWS = 225
  8113. hum.WalkSpeed = 225
  8114. rainbowmode = false
  8115. chaosmode = false
  8116. RecolorTextAndRename("S-H-D",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8117. newTheme("rbxassetid://363284685",0,1.01,1.25)
  8118. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8119. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8120. end
  8121. if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 103 then
  8122.                ModeOfGlitch = 103
  8123. storehumanoidWS = 200
  8124. hum.WalkSpeed = 200
  8125. rainbowmode = false
  8126. chaosmode = false
  8127. CRAZED = false
  8128. RecolorTextAndRename("ANCIENT",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi")
  8129. newTheme("rbxassetid://256251217",0,1.02,1.2)
  8130. MAINRUINCOLOR = BrickColor.new("Gold")
  8131. disably = false
  8132. warnedpeople("PAST PRESENT AND FUTURE","Arcade",BrickColor.new("White").Color,BrickColor.new("New Yeller").Color)
  8133. disably = true
  8134. RecolorThing(MAINRUINCOLOR,BrickColor.new("New Yeller"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("White"),0,BrickColor.new("Black"),true,true)
  8135. end
  8136. if k == "b" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 453453484635345 then
  8137.                ModeOfGlitch = 453453484635345
  8138. storehumanoidWS = 25
  8139. hum.WalkSpeed = 25
  8140. rainbowmode = false
  8141. chaosmode = false
  8142. CRAZED = false
  8143. RecolorTextAndRename("DEATH",Color3.new(0.2,0.2,0.2),Color3.new(0,0,0),"Bodoni")
  8144. newTheme("rbxassetid://318062766",0,1.01,0.85)
  8145. MAINRUINCOLOR = BrickColor.new("Really black")
  8146. chatfunc("Death is not an escape..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.2)
  8147. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark stone grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8148. end
  8149. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8150.                ModeOfGlitch = 999999999556
  8151.  
  8152. storehumanoidWS = 500
  8153. hum.WalkSpeed = 500
  8154. rainbowmode = false
  8155. chaosmode = false
  8156. RecolorTextAndRename("THE BIG BLACK",BrickColor.new("Really black").Color,BrickColor.new("Dark stone grey").Color,"Code")
  8157. newTheme("rbxassetid://1681272944",0,1.02,1.25)
  8158. MAINRUINCOLOR = BrickColor.new("Really black")
  8159. warnedpeople("BIG BLACK","Arcade",BrickColor.new("White").Color,BrickColor.new("Really black").Color)
  8160. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Dark stone grey"),0.5,BrickColor.new("Dark stone grey"),true,true)
  8161. end
  8162. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8163.                ModeOfGlitch = 1264532489
  8164. storehumanoidWS = 250
  8165. hum.WalkSpeed = 250
  8166. rainbowmode = false
  8167. chaosmode = false
  8168. RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8169. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  8170. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8171. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Deep orange"),0.5,BrickColor.new("Gold"),true,true)
  8172. end
  8173. if rainbowmode == true then
  8174. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(1,1,1),"Highway")
  8175. if ModeOfGlitch == 911 then
  8176. RecolorTextAndRename("! RAINBOW V !",Color3.new(r/255,g/255,b/255),Color3.new(r/255,g/255,b/255),"Fantasy")
  8177. end
  8178. MAINRUINCOLOR = BrickColor.new(r/255,g/255,b/255)
  8179. modet.TextColor3 = Color3.new(r/255,g/255,b/255)
  8180. refec.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8181. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8182. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8183. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8184. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8185. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8186. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8187. for i, v in pairs(m:GetChildren()) do
  8188. if v:IsA("Part") then
  8189. v.Color = Color3.new(r/255,g/255,b/255)
  8190. end
  8191. end
  8192. for i, v in pairs(m2:GetChildren()) do
  8193. if v:IsA("Part") then
  8194. v.Color = Color3.new(r/255,g/255,b/255)
  8195. end
  8196. end
  8197. for i, v in pairs(m3:GetChildren()) do
  8198. if v:IsA("Part") then
  8199. v.Color = Color3.new(r/255,g/255,b/255)
  8200. end
  8201. end
  8202. for i, v in pairs(mw1:GetChildren()) do
  8203. if v:IsA("Part") then
  8204. v.Color = Color3.new(r/255,g/255,b/255)
  8205. v.Material = "Neon"
  8206. end
  8207. end
  8208. for i, v in pairs(mw2:GetChildren()) do
  8209. if v:IsA("Part") then
  8210. v.Color = Color3.new(r/255,g/255,b/255)
  8211. v.Material = "Neon"
  8212. end
  8213. end
  8214. end
  8215. if k == "l" and mutedtog == false then
  8216. mutedtog = true
  8217. kan.Volume = 0
  8218. elseif k == "l" and mutedtog == true then
  8219. mutedtog = false
  8220. kan.Volume = 1.25
  8221. end
  8222. if k == "p" and toggleTag == false then
  8223. toggleTag = true
  8224. modet.TextTransparency = 0
  8225. modet.TextStrokeTransparency = 0
  8226. elseif k == "p" and toggleTag == true then
  8227. toggleTag = false
  8228. modet.TextTransparency = 1
  8229. modet.TextStrokeTransparency = 1
  8230. end
  8231.  
  8232. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8233. ExtinctiveHeartbreak()
  8234. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8235. HeavenlyDisk()
  8236. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  8237. Fireball()
  8238. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8239. CorruptionEvent()
  8240. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  8241. CorruptBlink()
  8242. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8243. RapidBurst()
  8244. elseif k == "z" and attack == false and ModeOfGlitch == 146536 then
  8245. HeavenlyDisk()
  8246. elseif k == "x" and attack == false and ModeOfGlitch == 146536 then
  8247. CorruptBlink()
  8248. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8249. --DivineLights()
  8250. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8251. EquinoxOrbs()
  8252. elseif k == "z" and attack == false and ModeOfGlitch == 67966 then
  8253. cutesigh()
  8254. elseif k == "z" and attack == false and ModeOfGlitch == 420 then
  8255. EquinoxOrbs()
  8256. elseif k == "z" and attack == false and ModeOfGlitch == 738 then
  8257. EquinoxOrbs()
  8258. elseif k == "x" and attack == false and ModeOfGlitch == 67966 then
  8259. hugg()
  8260. elseif k == "c" and attack == false and ModeOfGlitch == 67966 then
  8261. lovesqueal()
  8262. elseif k == "x" and attack == false and ModeOfGlitch == 420 then
  8263. FallenOrbs()
  8264. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  8265. FallenOrbs()
  8266. end
  8267. if k == "z" and attack == false and ModeOfGlitch == 103 then
  8268. smiter()
  8269. end
  8270. if k == "c" and attack == false and ModeOfGlitch == 420 then
  8271. smiter()
  8272. end
  8273. if k == "x" and attack == false and ModeOfGlitch == 242424 then
  8274. BinaryE()
  8275. end
  8276. if k == "z" and attack == false and ModeOfGlitch == 242424 then
  8277. BinaryBLINK()
  8278. end
  8279. if k == "c" and attack == false and ModeOfGlitch == 738 then
  8280. BinaryE()
  8281. end
  8282. if k == "v" and attack == false and ModeOfGlitch == 1 then
  8283. HolyBarrier()
  8284. end
  8285. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  8286. FallenDEMISE()
  8287. end
  8288. if k == "v" and attack == false and ModeOfGlitch == 738 then
  8289. FallenDEMISE()
  8290. end
  8291. if k == "x" and attack == false and ModeOfGlitch == 4 then
  8292. ChaosGroundStrike()
  8293. end
  8294. if k == "b" and attack == false and ModeOfGlitch == 420 then
  8295. ChaosEND()
  8296. end
  8297. if k == "c" and attack == false and ModeOfGlitch == 4 then
  8298. ChaosEND()
  8299. end
  8300. if k == "v" and attack == false and ModeOfGlitch == 4 then
  8301. th1rt3en_trans()
  8302. end
  8303. if k == "v" and attack == false and ModeOfGlitch == 420 then
  8304. EndGROUND()
  8305. end
  8306. if k == "x" and attack == false and ModeOfGlitch == 1 then
  8307. EndGROUND()
  8308. end
  8309. if k == "x" and attack == false and ModeOfGlitch == 738 then
  8310. EndGROUND()
  8311. end
  8312. end)
  8313.  
  8314. plr.Chatted:connect(function(message)
  8315. if ModeOfGlitch == 911 then
  8316. if message:sub(1,5) == "play/" then
  8317. OVMID = message:sub(6)
  8318. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8319. elseif message:sub(1,6) == "pitch/" then
  8320. OVMPIT = message:sub(7)
  8321. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8322. elseif message:sub(1,4) == "vol/" then
  8323. OVMVOL = message:sub(5)
  8324. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8325. elseif message:sub(1,7) == "skipto/" then
  8326. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8327. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8328. elseif message:sub(1,9) == "telltime/" then
  8329. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8330. end
  8331. end
  8332. end)
  8333.  
  8334. --[[coroutine.resume(coroutine.create(function()
  8335. while true do
  8336. swait(2)
  8337. if chaosmode == true then
  8338. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8339. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8340. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8341. RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  8342. for i, v in pairs(mw1:GetChildren()) do
  8343. if v:IsA("Part") then
  8344. v.Transparency = 0.75
  8345. v.BrickColor = BrickColor.random()
  8346. v.Material = "Neon"
  8347. end
  8348. end
  8349. for i, v in pairs(m2:GetChildren()) do
  8350. if v:IsA("Part") then
  8351. v.BrickColor = BrickColor.random()
  8352. v.Material = "Neon"
  8353. end
  8354. end
  8355. end
  8356. end
  8357. end))]]--
  8358. Humanoid.Name = "STARGLITCHER"
  8359. Humanoid.MaxHealth = math.huge
  8360. Humanoid.Health = math.huge
  8361. Instance.new("ForceField",char).Visible = false
  8362.  
  8363. local bguis = Instance.new("BillboardGui",tors)
  8364. bguis.Size = UDim2.new(25, 0, 25, 0)
  8365. local bguis2 = Instance.new("BillboardGui",tors)
  8366. bguis2.Size = UDim2.new(25, 0, 25, 0)
  8367. local imgca = Instance.new("ImageLabel",bguis)
  8368. imgca.BackgroundTransparency = 1
  8369. imgca.ImageTransparency = 1
  8370. imgca.Size = UDim2.new(1,0,1,0)
  8371. imgca.Image = "rbxassetid://2076458450" --997291547,521073910,2312119891
  8372. imgca.ImageColor3 = Color3.new(0,0,0)
  8373. local imgca2 = Instance.new("ImageLabel",bguis2)
  8374. imgca2.BackgroundTransparency = 1
  8375. imgca2.ImageTransparency = 1
  8376. imgca2.Size = UDim2.new(1,0,1,0)
  8377. imgca2.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891,2344830904
  8378. imgca2.ImageColor3 = Color3.new(0,0,0)
  8379.  
  8380. idleanim=.4
  8381. while true do
  8382. if mutedtog == false then
  8383. kan.Volume = currentVol
  8384. elseif mutedtog == true then
  8385. kan.Volume = 0
  8386. end
  8387. kan.PlaybackSpeed = currentPitch
  8388. kan.Pitch = currentPitch
  8389. kan.SoundId = currentThemePlaying
  8390. kan.Looped = true
  8391. kan.Parent = char
  8392. kan:Resume()
  8393. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 738 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 88893333388 then
  8394. imgca.ImageTransparency = 1
  8395. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 738 or ModeOfGlitch == 61 or ModeOfGlitch == 88893333388 then
  8396. imgca.ImageColor3 = MAINRUINCOLOR.Color
  8397. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8398. end
  8399. if ModeOfGlitch ~= 11111 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 738 then
  8400. imgca2.ImageTransparency = 1
  8401. elseif ModeOfGlitch == 11111 or ModeOfGlitch == 738 then
  8402. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  8403. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8404. elseif ModeOfGlitch == 676767 or ModeOfGlitch == 55469696922 then
  8405. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  8406. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8407. end
  8408. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  8409. imgca2.Rotation = imgca.Rotation - 5 - kan.PlaybackLoudness/100
  8410. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  8411. coroutine.resume(coroutine.create(function()
  8412.     if chaosmode == true then
  8413. for i, v in pairs(mw1:GetChildren()) do
  8414. if v:IsA("Part") then
  8415. v.Transparency = 0
  8416. v.BrickColor = BrickColor.random()
  8417. v.Material = "Neon"
  8418. end
  8419. end
  8420. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8421. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8422. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8423.     RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  8424.     end
  8425. end))
  8426. if chaosmode == false then
  8427. modet.Position = UDim2.new(0,0,0,0)
  8428. modet.Rotation = -5 * math.cos(sine / 32)
  8429. techc.Rotation = techc.Rotation + 1
  8430. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8431. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8432. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  8433. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  8434. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8435. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8436. else
  8437.     techc.Rotation = techc.Rotation + 1
  8438. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  8439. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  8440. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  8441. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  8442. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  8443. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  8444. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  8445. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  8446. end
  8447. CameraManager()
  8448. swait()
  8449. if ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= -666666 and ModeOfGlitch ~= 666666666 and ModeOfGlitch ~= 112 and glitchermode ~= "universal" and ModeOfGlitch ~= 246758 and ModeOfGlitch ~= 46874 and ModeOfGlitch ~= 738 and ModeOfGlitch ~= 55846 and ModeOfGlitch ~= 74532 and ModeOfGlitch ~= 18273 and ModeOfGlitch ~= 404 and ModeOfGlitch ~= 146536 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 101010 and ModeOfGlitch ~= 124 and ModeOfGlitch ~= 81 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 7888 and ModeOfGlitch ~= 555 and ModeOfGlitch ~= 6868 and ModeOfGlitch ~= 412 and ModeOfGlitch ~= 2335 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 2019 and ModeOfGlitch ~= 841 and ModeOfGlitch ~= 728 and ModeOfGlitch ~= 8799 and ModeOfGlitch ~= 2102 and ModeOfGlitch ~= 906 and ModeOfGlitch ~= 2000 and ModeOfGlitch ~= 2222222 and ModeOfGlitch ~= 911 and ModeOfGlitch ~= -5 and ModeOfGlitch ~= 2304 and ModeOfGlitch ~= 102 and ModeOfGlitch ~= 4434 and ModeOfGlitch ~= -99 and ModeOfGlitch ~= -999 and ModeOfGlitch ~= 78213 and ModeOfGlitch ~= 3141 and ModeOfGlitch ~= 763 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 147 and ModeOfGlitch ~= 888 then
  8450. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8451. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8452. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 12)),math.rad(0),math.rad(12.5 + 8 * math.cos(sine / 12))),.3)
  8453. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 25 * math.cos(sine / 16)),math.rad(0),math.rad(25 + 11.5 * math.cos(sine / 16))),.3)
  8454. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 35 * math.cos(sine / 20)),math.rad(0),math.rad(37.5 + 14 * math.cos(sine / 20))),.3)
  8455. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 12)),math.rad(0),math.rad(-12.5 - 8 * math.cos(sine / 12))),.3)
  8456. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 25 * math.cos(sine / 16)),math.rad(0),math.rad(-25 - 11.5 * math.cos(sine / 16))),.3)
  8457. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 30 * math.cos(sine / 20)),math.rad(0),math.rad(-37.5 - 14 * math.cos(sine / 20))),.3)
  8458.  sine = sine + change
  8459. elseif ModeOfGlitch == 3444 then
  8460. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8461. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8462. 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+math.random(-100,100)) / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  8463. 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+math.random(-100,100)) / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  8464. 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+math.random(-100,100)) / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  8465. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 *  math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(50 + 12.5 *  math.cos(sine / 32))),.3)
  8466. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 *  math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(62.5 + 15 *  math.cos(sine / 32))),.3)
  8467. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 *  math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(75 + 17.5 *  math.cos(sine / 32))),.3)
  8468. 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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  8469. 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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  8470. 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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  8471. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  8472. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  8473. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos((sine+math.random(-100,100)) / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  8474.  sine = sine + change
  8475. elseif ModeOfGlitch == 3 then
  8476. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8477. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8478. 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)
  8479. 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)
  8480. 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)
  8481. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 *  math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 *  math.cos(sine / 32))),.3)
  8482. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 *  math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 *  math.cos(sine / 32))),.3)
  8483. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 *  math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 *  math.cos(sine / 32))),.3)
  8484. 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)
  8485. 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)
  8486. 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)
  8487. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  8488. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  8489. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  8490.  sine = sine + change
  8491.  
  8492. elseif ModeOfGlitch == -666666 then
  8493. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8494. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8495. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
  8496. lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
  8497. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8498. lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
  8499. lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8500. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
  8501. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
  8502. rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
  8503. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8504. rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
  8505. rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8506. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
  8507.  sine = sine + change
  8508.  
  8509. elseif ModeOfGlitch == 112 then
  8510. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8511. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8512. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
  8513. lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
  8514. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8515. lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
  8516. lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8517. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
  8518. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
  8519. rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
  8520. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8521. rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
  8522. rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8523. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
  8524.  sine = sine + change
  8525.  
  8526. elseif ModeOfGlitch == 46874 then
  8527. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8528. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8529. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,math.sin(sine/15)-1,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8530. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,math.sin(sine/15)-2,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8531. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,math.sin(sine/15)-3,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8532. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,math.sin(sine/15)+2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8533. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,math.sin(sine/15)+1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8534. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,math.sin(sine/15)+0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8535.  sine = sine + change
  8536. elseif ModeOfGlitch == 146536 then
  8537. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8538. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8539. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3)
  8540. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3)
  8541. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3)
  8542. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 4),1 + 4),.3)
  8543. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 5),1 + 5),.3)
  8544. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 6),1 + 6),.3)
  8545. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 27),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 7),1 + 7),.3)
  8546. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 28),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 8),1 + 8),.3)
  8547. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 29),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 9),1 + 9),.3)
  8548. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 30),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 10),1 + 10),.3)
  8549. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 31),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 11),1 + 11),.3)
  8550. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 32),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 12),1 + 12),.3)
  8551. sine = sine + change
  8552. elseif ModeOfGlitch == 124 then
  8553. handleweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8554. handlexweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8555. lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8556. lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8557. lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8558. rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8559. rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8560. rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8561. lwing4weld.C1=clerp(lwing4weld.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)
  8562. lwing5weld.C1=clerp(lwing5weld.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)
  8563. lwing6weld.C1=clerp(lwing6weld.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)
  8564. rwing4weld.C1=clerp(rwing4weld.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)
  8565. rwing5weld.C1=clerp(rwing5weld.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)
  8566. rwing6weld.C1=clerp(rwing6weld.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)
  8567. sine = sine + change
  8568. elseif ModeOfGlitch == 7888 then
  8569. lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8570. lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8571. lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8572. rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8573. rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8574. rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8575. lwing4weld.C1=clerp(lwing4weld.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)
  8576. lwing5weld.C1=clerp(lwing5weld.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)
  8577. lwing6weld.C1=clerp(lwing6weld.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)
  8578. rwing4weld.C1=clerp(rwing4weld.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)
  8579. rwing5weld.C1=clerp(rwing5weld.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)
  8580. rwing6weld.C1=clerp(rwing6weld.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)
  8581. sine = sine + change
  8582. elseif ModeOfGlitch == 666666666 then
  8583. lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8584. lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8585. lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8586. rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8587. rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8588. rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8589. lwing4weld.C1=clerp(lwing4weld.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)
  8590. lwing5weld.C1=clerp(lwing5weld.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)
  8591. lwing6weld.C1=clerp(lwing6weld.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)
  8592. rwing4weld.C1=clerp(rwing4weld.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)
  8593. rwing5weld.C1=clerp(rwing5weld.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)
  8594. rwing6weld.C1=clerp(rwing6weld.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)
  8595. sine = sine + change
  8596. elseif ModeOfGlitch == 78213 then
  8597. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8598. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8599. 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)
  8600. 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)
  8601. 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)
  8602. rwing1weld.C1=clerp(rwing1weld.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)
  8603. rwing2weld.C1=clerp(rwing2weld.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)
  8604. rwing3weld.C1=clerp(rwing3weld.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)
  8605. 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)
  8606. 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)
  8607. 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)
  8608. rwing4weld.C1=clerp(rwing4weld.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)
  8609. rwing5weld.C1=clerp(rwing5weld.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)
  8610. rwing6weld.C1=clerp(rwing6weld.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)
  8611. sine =  sine + change
  8612. elseif ModeOfGlitch == -99 then
  8613. 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)
  8614. 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)
  8615. 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)
  8616. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  8617. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  8618. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  8619. 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)
  8620. 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)
  8621. 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)
  8622. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  8623. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  8624. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  8625.  sine = sine + change
  8626. elseif ModeOfGlitch == 102 or ModeOfGlitch == 4434 then
  8627. 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)
  8628. 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 / 16))),.5)
  8629. 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 / 8))),.7)
  8630. lwing4weld.C1=clerp(lwing4weld.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)
  8631. lwing5weld.C1=clerp(lwing5weld.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)
  8632. lwing6weld.C1=clerp(lwing6weld.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)
  8633. 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)
  8634. 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 / 16))),.5)
  8635. 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 / 8))),.7)
  8636. rwing4weld.C1=clerp(rwing4weld.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)
  8637. rwing5weld.C1=clerp(rwing5weld.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)
  8638. rwing6weld.C1=clerp(rwing6weld.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)
  8639.  sine = sine + change
  8640. elseif ModeOfGlitch == 906 or glitchermode == "universal" then
  8641. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8642. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  8643. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  8644. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  8645. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  8646. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  8647. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  8648. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  8649. lwing4weld.C1=clerp(lwing4weld.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)
  8650. lwing5weld.C1=clerp(lwing5weld.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)
  8651. lwing6weld.C1=clerp(lwing6weld.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)
  8652. 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)
  8653. 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)
  8654. 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)
  8655. sine = sine + change
  8656. elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 or ModeOfGlitch == 8889 then
  8657. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8658. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  8659. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  8660. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  8661. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  8662. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  8663. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  8664. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  8665. lwing4weld.C1=clerp(lwing4weld.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)
  8666. lwing5weld.C1=clerp(lwing5weld.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)
  8667. lwing6weld.C1=clerp(lwing6weld.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)
  8668. sine = sine + change
  8669. elseif ModeOfGlitch == 2102 then
  8670. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8671. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8672. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  8673. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  8674. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  8675. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  8676. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  8677. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  8678. 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)
  8679. 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)
  8680. 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)
  8681. 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)
  8682. 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)
  8683. 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)
  8684. sine = sine + change
  8685. elseif ModeOfGlitch == 555 or ModeOfGlitch == 7621 or ModeOfGlitch == 3141 or ModeOfGlitch == 101010 or ModeOfGlitch == 44444 or ModeOfGlitch == 404 or ModeOfGlitch == 55846 then
  8686. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8687. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8688. 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)
  8689. 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)
  8690. 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)
  8691. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  8692. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  8693. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  8694. 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)
  8695. 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)
  8696. 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)
  8697. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  8698. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  8699. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  8700. sine = sine + change
  8701. elseif ModeOfGlitch == 2019 then
  8702. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,-0.4)*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)
  8703. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,-0.4)*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)
  8704. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,-0.4)*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)
  8705. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,-0.4)*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)
  8706. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,-0.4)*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)
  8707. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,-0.3)*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)
  8708. lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3)
  8709. lwing5weld.C1=clerp(lwing5weld.C1,cf(0,0 - 1 * math.cos(sine / 32.5),-0.8)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(360)),.3)
  8710. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3)
  8711. rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3)
  8712. rwing5weld.C1=clerp(rwing5weld.C1,cf(0,-1 + 1 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(180)),.3)
  8713. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3)
  8714.  sine = sine + change
  8715. elseif ModeOfGlitch == 81 then
  8716. handleweld.C0=clerp(handleweld.C0,cf(0,-6.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  8717. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  8718. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  8719. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  8720. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  8721. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  8722. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  8723. 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)
  8724. 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)
  8725. 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)
  8726. 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)
  8727. 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)
  8728. 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)
  8729. sine = sine + change
  8730. elseif ModeOfGlitch == 841 or ModeOfGlitch == 2222222 or ModeOfGlitch == -3 or ModeOfGlitch == -4 then
  8731. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8732. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8733. lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8734. lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8735. lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8736. rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8737. rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8738. rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8739. lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3)
  8740. lwing5weld.C1=clerp(lwing5weld.C1,cf(0,0 - 1 * math.cos(sine / 32.5),-0.8)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(360)),.3)
  8741. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3)
  8742. rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3)
  8743. rwing5weld.C1=clerp(rwing5weld.C1,cf(0,-1 + 1 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(180)),.3)
  8744. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3)
  8745. sine = sine + change
  8746. elseif ModeOfGlitch == 2335 then
  8747. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8748. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8749. 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)
  8750. 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)
  8751. 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)
  8752. 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)
  8753. 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)
  8754. 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)
  8755. 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)
  8756. 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)
  8757. 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)
  8758. 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)
  8759. 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)
  8760. 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)
  8761. sine = sine + change
  8762. elseif ModeOfGlitch == 412 or ModeOfGlitch == 738  then
  8763. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8764. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8765. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3)
  8766. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3)
  8767. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3)
  8768. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*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)
  8769. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*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)
  8770. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*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)
  8771. 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)
  8772. 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)
  8773. 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)
  8774. 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 / 1800))),.3)
  8775. 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 / 1800))),.3)
  8776. 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 / 1800))),.3)
  8777. sine = sine + change
  8778. elseif ModeOfGlitch == 2304 or ModeOfGlitch == 765688533321 then
  8779. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8780. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8781. lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 45),4 + 2.75 * math.cos(sine / 6.25),0)*angles(math.rad(0 + 1 * math.cos(sine / 12.5)),math.rad(0 + 2 * math.cos(sine / 9)),math.rad(90 + 3600 * math.cos(sine / 90))),.3)
  8782. 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)
  8783. 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)
  8784. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  8785. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  8786. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  8787. rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 45),4 + 2.75 * math.cos(sine / 6.25),0)*angles(math.rad(0 + 1 * math.cos(sine / 12.5)),math.rad(0 - 2 * math.cos(sine / 9)),math.rad(-90 + 3600 * math.cos(sine / 90))),.3)
  8788. 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)
  8789. 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)
  8790. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  8791. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  8792. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  8793. sine = sine + change
  8794. else
  8795. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8796. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8797. lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8798. lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8799. lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8800. rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8801. rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8802. rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.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)
  8803. lwing4weld.C1=clerp(lwing4weld.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)
  8804. lwing5weld.C1=clerp(lwing5weld.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)
  8805. lwing6weld.C1=clerp(lwing6weld.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)
  8806. rwing4weld.C1=clerp(rwing4weld.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)
  8807. rwing5weld.C1=clerp(rwing5weld.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)
  8808. rwing6weld.C1=clerp(rwing6weld.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)
  8809. sine = sine + change
  8810. end
  8811. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8812. local velderp=RootPart.Velocity.y
  8813. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8814. if equipped==true or equipped==false then
  8815. if attack==false then
  8816. idle=idle+1
  8817. else
  8818. idle=0
  8819. end
  8820. if idle>=500 then
  8821. if attack==false then
  8822. --Sheath()
  8823. end
  8824. end
  8825. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8826. Anim="Jump"
  8827. if attack==false then
  8828. 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)
  8829. 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)
  8830. 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)
  8831. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8832. 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)
  8833. 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)
  8834. end
  8835. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8836. Anim="Fall"
  8837. if attack==false then
  8838. 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)
  8839. 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)
  8840. 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)
  8841. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  8842. 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)
  8843. 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)
  8844. end
  8845. elseif torvel<1 and hitfloor~=nil then
  8846. Anim="Idle"
  8847. if attack==false then
  8848. if ModeOfGlitch == 1 then
  8849. local snap = math.random(1,10)
  8850. if snap == 1 then
  8851. 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)
  8852. end
  8853. 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)
  8854. 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)
  8855. 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)
  8856. 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)
  8857. 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)
  8858. 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)
  8859. elseif ModeOfGlitch == 2335 then
  8860. 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)
  8861. 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)
  8862. 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)
  8863. 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)
  8864. 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)
  8865. 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)
  8866. elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then
  8867. LH.C0 = clerp(LH.C0,cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  8868. RH.C0 = clerp(RH.C0,cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  8869. RootJoint.C0 = clerp(RootJoint.C0,cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  8870. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  8871. LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  8872. RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  8873. elseif ModeOfGlitch == 5 then
  8874. 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)
  8875. 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)
  8876. 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)
  8877. 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)
  8878. 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)
  8879. 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)
  8880. elseif ModeOfGlitch == 738 then
  8881. 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(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  8882. 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(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  8883. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  8884. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8885. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  8886. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  8887. elseif ModeOfGlitch == 666666666 then
  8888.     local snap = math.random(1,3)
  8889. if snap == 1 then
  8890. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),0.6)
  8891. end
  8892. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  8893. 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)
  8894. 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)
  8895. 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)
  8896. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 13 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  8897. 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)
  8898. elseif ModeOfGlitch == 67966 then
  8899. 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 + 3 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  8900. 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(6),math.rad(0 + 3 * math.cos(sine / 56)),math.rad(3 + 2 * math.cos(sine / 32))),.1)
  8901. 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 - 6 * math.cos(sine / 56))),.1)
  8902. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-3 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0 + 3 * math.cos(sine / 53))),.1)
  8903. 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)
  8904. 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)
  8905. elseif ModeOfGlitch == 11 then
  8906. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  8907. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
  8908. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
  8909. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
  8910. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  8911. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  8912. elseif ModeOfGlitch == 1055 then
  8913. 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(-20 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.2)
  8914. 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(3 + 2 * math.cos(sine / 32))),.2)
  8915. 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(30)),.2)
  8916. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-10 + 2 * math.cos(sine / 58)),math.rad(-30)),.2)
  8917. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.2)
  8918. LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2)
  8919. elseif ModeOfGlitch == -666666 then
  8920. local snap = math.random(1,30)
  8921. if snap == 1 then
  8922. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-45,0)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),1)
  8923. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.4 * math.cos(sine / 30),0 + 0.4 * math.cos(sine / 32),5.2 + 0.4 * math.cos(sine / 26))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(math.random(-5,5))),1)
  8924. RW.C0=clerp(RW.C0,cf(1.35,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(math.random(40,185) + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(math.random(-35,-7) + 1 * math.cos(sine / 45))),1)
  8925. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(math.random(40,187) - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(math.random(9,31) - 3 * math.cos(sine / 45))),1)
  8926. end
  8927. elseif ModeOfGlitch == 420 then
  8928. local snap = math.random(1,5)
  8929. if snap == 1 then
  8930. 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)
  8931. 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)
  8932. 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)
  8933. end
  8934. 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)
  8935. 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)
  8936. 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)
  8937. 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)
  8938. 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)
  8939. 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)
  8940. elseif ModeOfGlitch == 676767 then
  8941. 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)
  8942. 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)
  8943. 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)
  8944. 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)
  8945. 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)
  8946. 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)
  8947. elseif ModeOfGlitch == 11111 then
  8948. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 39))),.2)
  8949. LH.C0=clerp(LH.C0,cf(-1,-1,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(10 + 5 * math.cos(sine / 51))),.2)
  8950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(3 - 3 * math.cos(sine / 32)),math.rad(0),math.rad(22)),.2)
  8951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-22)),.2)
  8952. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(180 + 3 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-5 + 4 * math.cos(sine / 45))),.2)
  8953. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(-12 - 9 * math.cos(sine / 45))),.2)
  8954. elseif ModeOfGlitch == 242424 then
  8955. 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(-5 - 2 * math.cos(sine / 34))),.1)
  8956. 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(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  8958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  8959. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  8960. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  8961. elseif ModeOfGlitch == 3 or ModeOfGlitch == -2 or ModeOfGlitch == 25 or ModeOfGlitch == 3141 or ModeOfGlitch == 146536 then
  8962. local snap = math.random(1,32)
  8963. if snap == 1 then
  8964. 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)
  8965. end
  8966. 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)
  8967. 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)
  8968. 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)
  8969. 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)
  8970. 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)
  8971. 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)
  8972. elseif ModeOfGlitch == 3 then
  8973. local snap = math.random(1,32)
  8974. elseif ModeOfGlitch == 88893333388 then
  8975. 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)
  8976. 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)
  8977. 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)
  8978. 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)
  8979. 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)
  8980. 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)
  8981. elseif ModeOfGlitch == 103 then
  8982. 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)
  8983. 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)
  8984. 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)
  8985. 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)
  8986. 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)
  8987. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(149 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-17 - 4 * math.cos(sine / 45))),.1)
  8988. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
  8989. 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)
  8990. 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)
  8991. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),20 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8992. 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)
  8993. 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)
  8994. elseif ModeOfGlitch == 2 then
  8995. 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)
  8996. 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)
  8997. 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)
  8998. 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)
  8999. 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)
  9000. 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)
  9001. elseif ModeOfGlitch == 3 then
  9002. local snap = math.random(1,32)
  9003. if snap == 1 then
  9004. 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)
  9005. end
  9006. 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)
  9007. 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)
  9008. 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)
  9009. 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)
  9010. 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)
  9011. 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)
  9012. elseif ModeOfGlitch == 453453484635345 then
  9013. 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,BrickColor.new("Institutional white"),BrickColor.new("Dark stone grey").Color)
  9014. 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)
  9015. 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)
  9016. 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)
  9017. 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)
  9018. 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)
  9019. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(90 - 4 * math.cos(sine / 45))),.1)
  9020. elseif ModeOfGlitch == 4 then
  9021. 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)
  9022. 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)
  9023. 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)
  9024. 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)
  9025. 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)
  9026. 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)
  9027. elseif ModeOfGlitch == 765688533321 then
  9028. 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)
  9029. 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)
  9030. 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)
  9031. 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)
  9032. RW.C0=clerp(RW.C0,CFrame.new(1.5,0.55+0.05*math.cos(sine/25)+ -math.sin(sine/25)/40,0)*angles(math.rad(5-2.5*math.cos(sine/25)),math.rad(0),math.rad(10+5*math.cos(sine/25))+ math.sin(sine/25)/20),0.15)
  9033. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.55+0.05*math.cos(sine/25)+ -math.sin(sine/25)/40,0)*angles(math.rad(5-2.5*math.cos(sine/25)),math.rad(0),math.rad(-10-5*math.cos(sine/25))+ -math.sin(sine/25)/20),0.15)
  9034. elseif ModeOfGlitch == 146536 then
  9035. RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  9036. LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  9037. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  9038. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1)
  9039. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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)
  9040. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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)
  9041. elseif ModeOfGlitch == 2339 then
  9042. 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)
  9043. 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)
  9044. 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)
  9045. 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)
  9046. 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)
  9047. 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)
  9048. elseif ModeOfGlitch == 5 then
  9049. 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)
  9050. 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)
  9051. 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)
  9052. 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)
  9053. 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)
  9054. 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)
  9055. elseif ModeOfGlitch == 6 then
  9056. 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)
  9057. 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)
  9058. 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)
  9059. 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)
  9060. 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)
  9061. 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)
  9062. elseif ModeOfGlitch == 8 then
  9063. 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)
  9064. 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)
  9065. 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)
  9066. 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)
  9067. 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)
  9068. 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)
  9069. elseif ModeOfGlitch == 9 then
  9070. 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)
  9071. 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)
  9072. 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)
  9073. 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)
  9074. 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)
  9075. 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)
  9076. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
  9077. 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)
  9078. 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)
  9079. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,20.5 + 0.25 * 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))),.05)
  9080. 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)
  9081. 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)
  9082. 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)
  9083. elseif ModeOfGlitch == 999999999 then
  9084. 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)
  9085. 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)
  9086. 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)
  9087. 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)
  9088. 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)
  9089. LW.C0=clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  9090. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 911  then
  9091. 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)
  9092. 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)
  9093. 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)
  9094. 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)
  9095. 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)
  9096. 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)
  9097. elseif ModeOfGlitch == 1264532489 then
  9098. 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)
  9099. 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)
  9100. 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)
  9101. 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)
  9102. 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)
  9103. 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)
  9104. elseif ModeOfGlitch == 9999999921111 then
  9105. 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(6),math.rad(0),math.rad(25 + 1 * math.cos(sine / 34))),.2)
  9106. 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(3),math.rad(0),math.rad(-35 + 1 * math.cos(sine / 34))),.2)
  9107. 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(27 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  9108. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 - 2.5 * math.cos(sine / 28)),math.rad(10 + 2.5 * math.cos(sine / 75)),math.rad(0)),.2)
  9109. RW.C0=clerp(RW.C0,cf(1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(-1)),.2)
  9110. LW.C0=clerp(LW.C0,cf(-1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(3)),.2)
  9111. elseif ModeOfGlitch == 4367677813 then
  9112. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20)  - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  9113. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  9114. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  9115. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  9116. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1)
  9117. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  9118. elseif ModeOfGlitch == 61 then
  9119. 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)
  9120. 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)
  9121. 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)
  9122. 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)
  9123. 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)
  9124. 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)
  9125. elseif ModeOfGlitch == 55469696922 then
  9126. 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)
  9127. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9128. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(18)),.1)
  9130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(-18)),.1)
  9131. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 7 * math.cos(sine / 34)),math.rad(0 - 6 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1)
  9132. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(-5 - 3 * math.cos(sine / 39))),.1)
  9133. elseif ModeOfGlitch == 999999999556 then
  9134. 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)
  9135. 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)
  9136. 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(17)),.1)
  9137. 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)
  9138. 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)
  9139. 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)
  9140. end
  9141. end
  9142. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9143. Anim="Walk"
  9144. if attack==false then
  9145. if ModeOfGlitch ~= 102 and ModeOfGlitch ~= 2334 then
  9146. 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)
  9147. 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)
  9148. 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)
  9149. 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)
  9150. 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)
  9151. 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)
  9152. if ModeOfGlitch == 71 then
  9153. 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)
  9154. end
  9155. elseif ModeOfGlitch == 2334 then
  9156. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15)
  9157. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  9158. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  9159. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  9160. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1)
  9161. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0),  Rad(-5)), 0.1)
  9162. elseif ModeOfGlitch == 102 then
  9163. 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)
  9164. 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)
  9165. 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)
  9166. 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)
  9167. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  9168. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  9169. end
  9170. end
  9171. elseif torvel>=22 and hitfloor~=nil then
  9172. Anim="Run"
  9173. if attack==false then
  9174. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 43433434 and ModeOfGlitch ~= 8686 and ModeOfGlitch ~= 74532 and ModeOfGlitch ~= -666666 and ModeOfGlitch ~= 45743 and ModeOfGlitch ~= 246758 and ModeOfGlitch ~= 18273 and ModeOfGlitch ~= 116 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 911 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 11 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 7652 and ModeOfGlitch ~= 8008135 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 2019 and ModeOfGlitch ~= 6868 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 1999 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 55846 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 2000 and ModeOfGlitch ~= 906 and ModeOfGlitch ~= 841 and ModeOfGlitch ~= 8799 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 2102 and ModeOfGlitch ~= 2222222 and ModeOfGlitch ~= -3 and ModeOfGlitch ~= -4 and ModeOfGlitch ~= 2304 and ModeOfGlitch ~= 4434 and ModeOfGlitch ~= 78213 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 763 and ModeOfGlitch ~= 7888 and ModeOfGlitch ~= 147 and ModeOfGlitch ~= 888 and ModeOfGlitch ~= 1055 and ModeOfGlitch ~= 81 and ModeOfGlitch ~= 404 then
  9175. 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)
  9176. 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)
  9177. 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)
  9178. 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)
  9179. 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)
  9180. 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)
  9181. if ModeOfGlitch == 9 then
  9182. --
  9183. end
  9184. elseif ModeOfGlitch == -666666 then
  9185. local snap = math.random(1,30)
  9186. if snap == 1 then
  9187. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-45,0)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),1)
  9188. end
  9189. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(-15 - 5 * math.cos(sine / 32)),math.rad(100- 5 * math.cos(sine / 32)),math.rad(0))*angles(math.rad(-3 + math.random(-5,5)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  9190. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-15 - 2.5 * math.cos(sine / 32)),math.rad(-95),math.rad(0))*angles(math.rad(-3 + math.random(-5,5)),math.rad(0 - 1 * math.cos(sine / 56)+ math.random(-5,5)),math.rad(10 + 6 * math.cos(sine / 31) + math.random(-5,5))),.1)
  9191. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.2 * math.cos(sine / 30),0 + 0.2 * math.cos(sine / 34),5.2 + 0.4 * math.cos(sine / 26))*angles(math.rad(50 - 2 * math.cos(sine / 32) + math.random(-5,5)),math.rad(0 + math.random(-5,5)),math.rad(math.random(-5,5))),.1)
  9192. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37) + math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58) + math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53) + math.random(-5,5))),.1)
  9193. RW.C0=clerp(RW.C0,cf(0.9,0.5 + 0.1 * math.cos(sine / 34),-0.5)*angles(math.rad(0 + math.random(-5,5)),math.rad(-20 - 7.5 * math.cos(sine / 26) + math.random(-5,5)),math.rad(-90 - 5 * math.cos(sine / 34) + math.random(-5,5))),.3)
  9194. LW.C0=clerp(LW.C0,cf(-0.9,0.4 + 0.1 * math.cos(sine / 34),-0.5)*angles(math.rad(0 + math.random(-5,5)),math.rad(20 + 7.5 * math.cos(sine / 32) + math.random(-5,5)),math.rad(87.5 + 5 * math.cos(sine / 34) + math.random(-5,5))),.3)
  9195. elseif ModeOfGlitch == 404 or ModeOfGlitch == 246758 then
  9196. 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)
  9197. 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)
  9198. 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)
  9199. 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)
  9200. RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.5, -0.5) * angles(math.rad(90), math.rad(-80), math.rad(-40)),.2)
  9201. LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.2)
  9202.  
  9203. elseif ModeOfGlitch == 8686 then
  9204. 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)
  9205. 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)
  9206. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(math.sin(sine/23),math.cos(sine/31)*0.5,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  9207. 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)
  9208. 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)
  9209. 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)
  9210. elseif ModeOfGlitch == 676767 or ModeOfGlitch == 55846 or ModeOfGlitch == 18273 or ModeOfGlitch == 74532 or ModeOfGlitch == 116 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 147 or ModeOfGlitch == 78213 or ModeOfGlitch == 2102 or ModeOfGlitch == 8799 or ModeOfGlitch == 841 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 61 or ModeOfGlitch == 727 or ModeOfGlitch == 420 or ModeOfGlitch == 906 or ModeOfGlitch == 2000 or ModeOfGlitch == 2222222 or ModeOfGlitch == 2304 or ModeOfGlitch == -3 or ModeOfGlitch == -4 or ModeOfGlitch == 7888 or ModeOfGlitch == 763 or ModeOfGlitch == 888 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 6518594185 then
  9211. 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)
  9212. 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)
  9213. 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)
  9214. 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)
  9215. 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)
  9216. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
  9217. 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)
  9218. 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)
  9219. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,20.5 + 0.25 * 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))),.05)
  9220. 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)
  9221. 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)
  9222. 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)
  9223. elseif ModeOfGlitch == 6 or ModeOfGlitch == 43433434 or ModeOfGlitch == 45743 or ModeOfGlitch == 3444 or ModeOfGlitch == 412 or ModeOfGlitch == 69 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 1055 or ModeOfGlitch == 11 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 7652 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 2019 or ModeOfGlitch == 1999 or ModeOfGlitch == 74 or ModeOfGlitch == 8008135 or ModeOfGlitch == 4434 or ModeOfGlitch == 911 then
  9224. 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)
  9225. 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)
  9226. 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)
  9227. 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)
  9228. 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)
  9229. 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)
  9230. elseif ModeOfGlitch == 2335 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 then
  9231. wait(0.5)
  9232. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  9233. elseif ModeOfGlitch == 5 then
  9234. wait(0.5)
  9235. local rsiz = math.random(1,3)
  9236. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.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,MAINRUINCOLOR,0)
  9237. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  9238. elseif ModeOfGlitch == 999999999556 then
  9239. handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  9240. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  9241. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  9242. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  9243. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  9244. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  9245. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  9246. 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)
  9247. 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)
  9248. 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)
  9249. 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)
  9250. 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)
  9251.  
  9252. end
  9253. end
  9254. end
  9255. end
  9256. end
RAW Paste Data