feigum777

Hopefully this works

May 22nd, 2019
193
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. print('Hi user using this this is a edit by feigum777')
  2. print('Discord mate ;p Lorax#7397
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player = owner
  5. local Mouse,mouse,UserInputService,ContextActionService
  6. do
  7. script.Parent = Player.Character
  8. local CAS = {Actions={}}
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11. Event.Parent = Player.Character
  12. local fakeEvent = function()
  13. local t = {_fakeEvent=true}
  14. t.Connect = function(self,f)self.Function=f end
  15. t.connect = t.Connect
  16. return t
  17. end
  18. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  19. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  20. function CAS:BindAction(name,fun,touch,...)
  21. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  22. end
  23. function CAS:UnbindAction(name)
  24. CAS.Actions[name] = nil
  25. end
  26. local function te(self,ev,...)
  27. local t = m[ev]
  28. if t and t._fakeEvent and t.Function then
  29. t.Function(...)
  30. end
  31. end
  32. m.TrigEvent = te
  33. UIS.TrigEvent = te
  34. Event.OnServerEvent:Connect(function(plr,io)
  35. if plr~=Player then return end
  36. if io.isMouse then
  37. m.Target = io.Target
  38. m.Hit = io.Hit
  39. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  40. if io.UserInputState == Enum.UserInputState.Begin then
  41. m:TrigEvent("Button1Down")
  42. else
  43. m:TrigEvent("Button1Up")
  44. end
  45. else
  46. for n,t in pairs(CAS.Actions) do
  47. for _,k in pairs(t.Keys) do
  48. if k==io.KeyCode then
  49. t.Function(t.Name,io.UserInputState,io)
  50. end
  51. end
  52. end
  53. if io.UserInputState == Enum.UserInputState.Begin then
  54. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputBegan",io,false)
  56. else
  57. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent("InputEnded",io,false)
  59. end
  60. end
  61. end)
  62. NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64.  
  65. local Char = Player.Character
  66. local Event = Char:WaitForChild("UserInput_Event")
  67.  
  68. local UIS = game:GetService("UserInputService")
  69.  
  70. local input = function(io,a)
  71. if a then return end
  72. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  73. Event:FireServer(io)
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77. local Changed = false
  78. local Mouse = Player:GetMouse()
  79. local h,t = Mouse.Hit,Mouse.Target
  80. while wait(1/30) do
  81. if h~=Mouse.Hit or t~=Mouse.Target then
  82. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  83. h,t=Mouse.Hit,Mouse.Target
  84. end
  85. end
  86. ]==],Player.Character)
  87. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  88. end
  89. if game.PlaceId == 843468296 then
  90. error("This script has been banned. You cannot use it here. Please use Place 2.")
  91. end
  92. plr = owner
  93. char = plr.Character
  94. hum = char.Humanoid
  95. local cam = game.Workspace.CurrentCamera
  96. Camera = cam
  97. local CamInterrupt = false
  98. local TwoD = false
  99. local TargetInfo = {nil, nil}
  100. cam.CameraType = "Custom"
  101. t = char.Torso
  102. h = char.Head
  103. ra = char["Right Arm"]
  104. la = char["Left Arm"]
  105. rl = char["Right Leg"]
  106. ll = char["Left Leg"]
  107. tors = char.Torso
  108. lleg = char["Left Leg"]
  109. root = char.HumanoidRootPart
  110. hed = char.Head
  111. rleg = char["Right Leg"]
  112. rarm = char["Right Arm"]
  113. larm = char["Left Arm"]
  114. radian = math.rad
  115. random = math.random
  116. Vec3 = Vector3.new
  117. Inst = Instance.new
  118. cFrame = CFrame.new
  119. Euler = CFrame.fromEulerAnglesXYZ
  120. vt = Vector3.new
  121. bc = BrickColor.new
  122. br = BrickColor.random
  123. it = Instance.new
  124. cf = CFrame.new
  125.  
  126. local Booleans = {
  127. CamFollow = true,
  128. GyroUse = true
  129. }
  130.  
  131. function lerp(object, newCFrame, alpha)
  132. return object:lerp(newCFrame, alpha)
  133. end
  134.  
  135. local Directer = Inst("BodyGyro", root)
  136. Directer.MaxTorque = Vec3(0, 0, 0)
  137. Directer.P = 600000
  138. local CPart = Inst("Part")
  139. CPart.Anchored = true
  140. CPart.CanCollide = false
  141. CPart.Locked = true
  142. CPart.Transparency = 1
  143.  
  144. local rainbowmode = false
  145. local chaosmode = false
  146.  
  147. local kan = Instance.new("Sound",char)
  148. kan.Volume = 1.25
  149. kan.TimePosition = 0
  150. kan.PlaybackSpeed = 1
  151. kan.Pitch = 1
  152. kan.SoundId = "rbxassetid://614032233"
  153. kan.Name = "wrecked"
  154. kan.Looped = true
  155. kan:Play()
  156.  
  157. local currentThemePlaying = kan.SoundId
  158. local currentPitch = kan.Pitch
  159. local currentVol = kan.Volume
  160. function newTheme(ID,timepos,pitch,vol)
  161. local kanz = kan
  162. --kanz:Stop()
  163. kanz.Volume = vol
  164. --kanz.TimePosition = timepos
  165. kanz.PlaybackSpeed = pitch
  166. kanz.Pitch = pitch
  167. kanz.SoundId = ID
  168. kanz.Name = "wrecked"
  169. kanz.Looped = true
  170. currentThemePlaying = kanz.SoundId
  171. currentVol = kanz.Volume
  172. currentPitch = kanz.Pitch
  173. --kanz:Play()
  174. --coroutine.resume(coroutine.create(function()
  175. --wait(0.05)
  176. --end))
  177. end
  178.  
  179.  
  180. function newThemeCust(ID,timepos,pitch,vol)
  181. local kanz = kan
  182. kanz:Stop()
  183. kanz.Volume = vol
  184. kanz.TimePosition = timepos
  185. kanz.PlaybackSpeed = pitch
  186. kanz.Pitch = pitch
  187. kanz.SoundId = ID
  188. kanz.Name = "wrecked"
  189. kanz.Looped = true
  190. currentThemePlaying = kanz.SoundId
  191. currentVol = kanz.Volume
  192. currentPitch = kanz.Pitch
  193. kanz:Play()
  194. coroutine.resume(coroutine.create(function()
  195. wait(0.05)
  196. end))
  197. end
  198.  
  199. local mutedtog = false
  200.  
  201. function IdolsWarn(text,represfont,color,color2)
  202. if disably ~= true then
  203. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  204. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  205. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  206. coroutine.resume(coroutine.create(function()
  207. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  208. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  209. end
  210. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  211. scrg.Name = "Spinny"
  212. local frm = Instance.new("Frame",scrg)
  213. frm.BackgroundTransparency = 0.25
  214. frm.BackgroundColor3 = color
  215. frm.BorderSizePixel = 0
  216. frm.Rotation = 45
  217. frm.Size = UDim2.new(3,0,0,100)
  218. frm.Position = UDim2.new(-4,0,0,0)
  219. local frm2 = frm:Clone()
  220. frm2.Parent = scrg
  221. frm2.BackgroundColor3 = color2
  222. frm2.Position = UDim2.new(-4.05,0,0,0)
  223. local imlb = Instance.new("ImageLabel",scrg)
  224. imlb.BackgroundTransparency = 1
  225. imlb.BackgroundColor3 = color
  226. imlb.Image = "rbxassetid://787198541"
  227. imlb.Size = UDim2.new(0,750,0,750)
  228. imlb.ImageColor3 = color2
  229. imlb.ImageTransparency = 0.25
  230. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  231. local imlb2 = imlb:Clone()
  232. imlb2.Image = "rbxassetid://197468643"
  233. imlb2.Size = UDim2.new(1,0,1,0)
  234. imlb2.ImageTransparency = 0
  235. imlb2.Position = UDim2.new(0,0,0,0)
  236. local imlb3 = imlb:Clone()
  237. imlb3.Image = "rbxassetid://787191999"
  238. imlb3.Size = UDim2.new(1,0,1,0)
  239. imlb3.ImageColor3 = color2
  240. imlb3.ImageTransparency = 0
  241. imlb3.Position = UDim2.new(0,0,0,0)
  242. local imlb4 = imlb:Clone()
  243. imlb4.Image = "rbxassetid://2092248396"
  244. imlb4.Size = UDim2.new(3,0,3,0)
  245. imlb3.ImageColor3 = color
  246. imlb4.ImageTransparency = 0
  247. imlb4.Position = UDim2.new(-1,0,-1,0)
  248. local imlb5 = imlb:Clone()
  249. imlb5.Image = "rbxassetid://2344870656"
  250. imlb5.Size = UDim2.new(10,0,10,0)
  251. imlb5.ImageColor3 = color2
  252. imlb5.ImageTransparency = 0
  253. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  254. imlb2.Parent = imlb
  255. imlb3.Parent = imlb
  256. imlb4.Parent = imlb
  257. imlb5.Parent = imlb
  258. local txtlb2 = Instance.new("TextLabel",imlb)
  259. coroutine.resume(coroutine.create(function()
  260. while true do
  261. swait()
  262. if Error == false then
  263. txtlb2.Text = text
  264. elseif Error == true then
  265. txtlb2.Text = est[math.random(1,17)]
  266. end
  267. end
  268. end))
  269. txtlb2.Font = represfont
  270. txtlb2.TextColor3 = color
  271. txtlb2.TextStrokeTransparency = 0
  272. txtlb2.BackgroundTransparency = 1
  273. txtlb2.TextStrokeColor3 = color2
  274. txtlb2.TextScaled = true
  275. txtlb2.Size = UDim2.new(1,0,1,0)
  276. txtlb2.Position = UDim2.new(0,0,0,0)
  277. local fvalen = 0.55
  278. local fval = -0.49
  279. coroutine.resume(coroutine.create(function()
  280. while true do
  281. swait()
  282. if rainbowmode == true then
  283. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  284. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  285. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  286. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  287. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  288. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  289. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  290. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  291. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  292. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  293. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  294. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  295. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  296. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  297. end
  298. end
  299. end))
  300. coroutine.resume(coroutine.create(function()
  301. while true do
  302. swait()
  303. if Error == true then
  304. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  305. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  306. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  307. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  308. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  309. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  310. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  311. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  312. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  313. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  314. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  315. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  316. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  317. text = est[math.random(1,17)]
  318. end
  319. end
  320. end))
  321. coroutine.resume(coroutine.create(function()
  322. while true do
  323. swait()
  324. if CRAZED == true then
  325. txtlb2.Rotation = math.random(-1,1)
  326. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  327. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  328. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  329. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  330. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  331. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  332. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  333. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  334. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  335. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  336. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  337. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  338. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  339. end
  340. end
  341. end))
  342. coroutine.resume(coroutine.create(function()
  343. while true do
  344. swait()
  345. if chaosmode == true then
  346. txtlb2.Rotation = math.random(-1,1)
  347. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  348. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  349. imlb.ImageColor3 = BrickColor.random().Color
  350. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  351. end
  352. end
  353. end))
  354. coroutine.resume(coroutine.create(function()
  355. while true do
  356. swait()
  357. if scrg.Parent ~= nil then
  358. fvalen = fvalen - 0.0001
  359. elseif scrg.Parent == nil then
  360. break
  361. end
  362. end
  363. end))
  364. local flol = -5
  365. local flil = 1.6
  366. coroutine.resume(coroutine.create(function()
  367. for i = 0, 49 do
  368. swait()
  369. flol = flol + 0.125
  370. flil = flil - 0.1
  371. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  372. frm.Rotation = frm.Rotation - 0.25
  373. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  374. frm2.Rotation = frm.Rotation + 0.325
  375. imlb3.Rotation = imlb3.Rotation - 10
  376. imlb2.Rotation = imlb.Rotation + 7.5
  377. imlb.Rotation = imlb.Rotation + 5
  378. if Error == false then
  379. txtlb2.Rotation = txtlb2.Rotation - 5.125
  380. elseif Error == true then
  381. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  382. end
  383. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  384. end
  385. for i = 0, 99 do
  386. swait()
  387. fval = fval + 0.05
  388. flol = flol + 0.005
  389. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  390. frm.Rotation = frm.Rotation - 0.075
  391. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  392. frm2.Rotation = frm2.Rotation + 0.125
  393. imlb3.Rotation = imlb3.Rotation - 2
  394. imlb2.Rotation = imlb.Rotation + 1.5
  395. imlb.Rotation = imlb.Rotation + 1
  396. if Error == false then
  397. txtlb2.Rotation = txtlb2.Rotation - 1.125
  398. elseif Error == true then
  399. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  400. end
  401. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  402. end
  403. local valinc = 0
  404. local vinc2 = 1
  405. for i = 0, 99 do
  406. swait()
  407. vinc2 = vinc2 + 0.25
  408. valinc = valinc + 0.0001
  409. flol = flol + valinc
  410. flil = flil + valinc
  411. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  412. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  413. imlb.Rotation = imlb.Rotation + 1*vinc2
  414. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  415. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  416. frm.Rotation = frm.Rotation + 0.1*vinc2
  417. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  418. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  419. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  420. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  421. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  422. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  423. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  424. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  425. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  426. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  427. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  428. end
  429. scrg:Destroy()
  430. end))
  431. end))
  432. end
  433. end
  434. end
  435.  
  436. local IDTECC = {"LETS BE SERIOUS"," NEO","TRUE FORM","..."}
  437.  
  438. local OVMID = 1702473314
  439. local OVMPIT = 1
  440. local OVMVOL = 1
  441.  
  442. function warnedpeople(text,represfont,color,color2)
  443. if disably ~= true then
  444. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  445. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  446. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  447. coroutine.resume(coroutine.create(function()
  448. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  449. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  450. end
  451. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  452. scrg.Name = "Spinny"
  453. local frm = Instance.new("Frame",scrg)
  454. frm.BackgroundTransparency = 0.25
  455. frm.BackgroundColor3 = color
  456. frm.BorderSizePixel = 0
  457. frm.Rotation = 45
  458. frm.Size = UDim2.new(3,0,0,100)
  459. frm.Position = UDim2.new(-4,0,0,0)
  460. local frm2 = frm:Clone()
  461. frm2.Parent = scrg
  462. frm2.BackgroundColor3 = color2
  463. frm2.Position = UDim2.new(-4.05,0,0,0)
  464. local imlb = Instance.new("ImageLabel",scrg)
  465. imlb.BackgroundTransparency = 1
  466. imlb.BackgroundColor3 = Color3.new(0,0,0)
  467. imlb.Image = "rbxassetid://2344851144"
  468. imlb.Size = UDim2.new(0,750,0,750)
  469. imlb.ImageColor3 = color2
  470. imlb.ImageTransparency = 0.25
  471. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  472. local imlb2 = imlb:Clone()
  473. imlb2.Image = "rbxassetid://2076458450"
  474. imlb2.Size = UDim2.new(1,0,1,0)
  475. imlb2.ImageColor3 = color
  476. imlb2.ImageTransparency = 0
  477. imlb2.Position = UDim2.new(0,0,0,0)
  478. local imlb3 = imlb:Clone()
  479. imlb3.Image = "rbxassetid://2312119891"
  480. imlb3.Size = UDim2.new(1,0,1,0)
  481. imlb3.ImageColor3 = color2
  482. imlb3.ImageTransparency = 0
  483. imlb3.Position = UDim2.new(0,0,0,0)
  484. local imlb4 = imlb:Clone()
  485. imlb4.Image = "rbxassetid://2092248396"
  486. imlb4.Size = UDim2.new(3,0,3,0)
  487. imlb3.ImageColor3 = color
  488. imlb4.ImageTransparency = 0
  489. imlb4.Position = UDim2.new(-1,0,-1,0)
  490. local imlb5 = imlb:Clone()
  491. imlb5.Image = "rbxassetid://2344870656"
  492. imlb5.Size = UDim2.new(10,0,10,0)
  493. imlb5.ImageColor3 = color2
  494. imlb5.ImageTransparency = 0
  495. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  496. imlb2.Parent = imlb
  497. imlb3.Parent = imlb
  498. imlb4.Parent = imlb
  499. imlb5.Parent = imlb
  500. local txtlb2 = Instance.new("TextLabel",imlb)
  501. txtlb2.Text = text
  502. coroutine.resume(coroutine.create(function()
  503. while true do
  504. swait()
  505. if ASTRA == true then
  506. txtlb2.Text = est[math.random(1,5)]
  507. elseif dragon == true then
  508. txtlb2.Text = nobreak[math.random(1,3)]
  509. end
  510. end
  511. end))
  512. txtlb2.Font = represfont
  513. txtlb2.TextColor3 = color
  514. txtlb2.TextStrokeTransparency = 0
  515. txtlb2.BackgroundTransparency = 1
  516. txtlb2.TextStrokeColor3 = color2
  517. txtlb2.TextScaled = true
  518. txtlb2.Size = UDim2.new(1,0,1,0)
  519. txtlb2.Position = UDim2.new(0,0,0,0)
  520. local fvalen = 0.55
  521. local fval = -0.49
  522.  
  523. coroutine.resume(coroutine.create(function()
  524. while true do
  525. swait()
  526. if rainbowmode == true then
  527. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  528. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  529. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  530. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  531. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  532. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  533. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  534. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  535. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  536. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  537. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  538. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  539. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  540. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  541. end
  542. end
  543. end))
  544. coroutine.resume(coroutine.create(function()
  545. while true do
  546. swait()
  547. if Error == true then
  548. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  549. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  550. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  551. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  552. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  553. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  554. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  555. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  556. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  557. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  558. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  559. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  560. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  561. text = est[math.random(1,17)]
  562. end
  563. end
  564. end))
  565. coroutine.resume(coroutine.create(function()
  566. while true do
  567. swait()
  568. if CRAZED == true then
  569. txtlb2.Rotation = math.random(-1,1)
  570. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  571. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  572. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  573. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  574. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  575. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  576. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  577. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  578. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  579. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  580. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  581. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  582. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  583. end
  584. end
  585. end))
  586. coroutine.resume(coroutine.create(function()
  587. while true do
  588. swait()
  589. if chaosmode == true then
  590. txtlb2.Rotation = math.random(-1,1)
  591. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  592. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  593. imlb.ImageColor3 = BrickColor.random().Color
  594. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  595. end
  596. end
  597. end))
  598. coroutine.resume(coroutine.create(function()
  599. while true do
  600. swait()
  601. if scrg.Parent ~= nil then
  602. fvalen = fvalen - 0.0001
  603. elseif scrg.Parent == nil then
  604. break
  605. end
  606. end
  607. end))
  608. local flol = -5
  609. local flil = 1.6
  610. coroutine.resume(coroutine.create(function()
  611. for i = 0, 49 do
  612. swait()
  613. flol = flol + 0.125
  614. flil = flil - 0.1
  615. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  616. frm.Rotation = frm.Rotation - 0.25
  617. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  618. frm2.Rotation = frm.Rotation + 0.325
  619. imlb3.Rotation = imlb3.Rotation - 10
  620. imlb2.Rotation = imlb.Rotation + 7.5
  621. imlb.Rotation = imlb.Rotation + 5
  622. if Error == false then
  623. txtlb2.Rotation = txtlb2.Rotation - 5.125
  624. elseif Error == true then
  625. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  626. end
  627. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  628. end
  629. for i = 0, 99 do
  630. swait()
  631. fval = fval + 0.05
  632. flol = flol + 0.005
  633. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  634. frm.Rotation = frm.Rotation - 0.075
  635. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  636. frm2.Rotation = frm2.Rotation + 0.125
  637. imlb3.Rotation = imlb3.Rotation - 2
  638. imlb2.Rotation = imlb.Rotation + 1.5
  639. imlb.Rotation = imlb.Rotation + 1
  640. if Error == false then
  641. txtlb2.Rotation = txtlb2.Rotation - 1.125
  642. elseif Error == true then
  643. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  644. end
  645. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  646. end
  647. local valinc = 0
  648. local vinc2 = 1
  649. for i = 0, 99 do
  650. swait()
  651. vinc2 = vinc2 + 0.25
  652. valinc = valinc + 0.0001
  653. flol = flol + valinc
  654. flil = flil + valinc
  655. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  656. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  657. imlb.Rotation = imlb.Rotation + 1*vinc2
  658. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  659. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  660. frm.Rotation = frm.Rotation + 0.1*vinc2
  661. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  662. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  663. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  664. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  665. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  666. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  667. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  668. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  669. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  670. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  671. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  672. end
  673. scrg:Destroy()
  674. end))
  675. end))
  676. end
  677. end
  678. end
  679.  
  680. function warnedpeople2(text,represfont,color,color2)
  681. if disably ~= true then
  682. CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
  683. CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
  684. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  685. coroutine.resume(coroutine.create(function()
  686. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  687. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  688. end
  689. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  690. scrg.Name = "Spinny"
  691. local frm = Instance.new("Frame",scrg)
  692. frm.BackgroundTransparency = 0.25
  693. frm.BackgroundColor3 = color
  694. frm.BorderSizePixel = 0
  695. frm.Rotation = 45
  696. frm.Size = UDim2.new(3,0,0,100)
  697. frm.Position = UDim2.new(-4,0,0,0)
  698. local frm2 = frm:Clone()
  699. frm2.Parent = scrg
  700. frm2.BackgroundColor3 = color2
  701. frm2.Position = UDim2.new(-4.05,0,0,0)
  702. local imlb = Instance.new("ImageLabel",scrg)
  703. imlb.BackgroundTransparency = 1
  704. imlb.BackgroundColor3 = Color3.new(0,0,0)
  705. imlb.Image = "rbxassetid://787198541"
  706. imlb.Size = UDim2.new(0,750,0,750)
  707. imlb.ImageColor3 = color2
  708. imlb.ImageTransparency = 0.25
  709. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  710. local imlb2 = imlb:Clone()
  711. imlb2.Image = "rbxassetid://2076458450"
  712. imlb2.Size = UDim2.new(1,0,1,0)
  713. imlb2.ImageColor3 = color
  714. imlb2.ImageTransparency = 0
  715. imlb2.Position = UDim2.new(0,0,0,0)
  716. local imlb3 = imlb:Clone()
  717. imlb3.Image = "rbxassetid://787191999"
  718. imlb3.Size = UDim2.new(1,0,1,0)
  719. imlb3.ImageColor3 = color2
  720. imlb3.ImageTransparency = 0
  721. imlb3.Position = UDim2.new(0,0,0,0)
  722. local imlb4 = imlb:Clone()
  723. imlb4.Image = "rbxassetid://2092248396"
  724. imlb4.Size = UDim2.new(3,0,3,0)
  725. imlb3.ImageColor3 = color
  726. imlb4.ImageTransparency = 0
  727. imlb4.Position = UDim2.new(-1,0,-1,0)
  728. local imlb5 = imlb:Clone()
  729. imlb5.Image = "rbxassetid://2344870656"
  730. imlb5.Size = UDim2.new(10,0,10,0)
  731. imlb5.ImageColor3 = color2
  732. imlb5.ImageTransparency = 0
  733. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  734. imlb2.Parent = imlb
  735. imlb3.Parent = imlb
  736. imlb4.Parent = imlb
  737. imlb5.Parent = imlb
  738. local txtlb2 = Instance.new("TextLabel",imlb)
  739. txtlb2.Text = text
  740. coroutine.resume(coroutine.create(function()
  741. while true do
  742. swait()
  743. if ASTRA == true then
  744. txtlb2.Text = est[math.random(1,5)]
  745. elseif dragon == true then
  746. txtlb2.Text = nobreak[math.random(1,3)]
  747. end
  748. end
  749. end))
  750. txtlb2.Font = represfont
  751. txtlb2.TextColor3 = color
  752. txtlb2.TextStrokeTransparency = 0
  753. txtlb2.BackgroundTransparency = 1
  754. txtlb2.TextStrokeColor3 = color2
  755. txtlb2.TextScaled = true
  756. txtlb2.Size = UDim2.new(1,0,1,0)
  757. txtlb2.Position = UDim2.new(0,0,0,0)
  758. local fvalen = 0.55
  759. local fval = -0.49
  760.  
  761. coroutine.resume(coroutine.create(function()
  762. while true do
  763. swait()
  764. if rainbowmode == true then
  765. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  766. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  767. txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
  768. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  769. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  770. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  771. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  772. txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
  773. txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
  774. imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
  775. imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
  776. imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
  777. frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  778. frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  779. end
  780. end
  781. end))
  782. coroutine.resume(coroutine.create(function()
  783. while true do
  784. swait()
  785. if Error == true then
  786. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  787. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  788. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  789. txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  790. txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  791. imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  792. imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  793. imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  794. imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  795. imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  796. imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  797. frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  798. frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  799. text = est[math.random(1,17)]
  800. end
  801. end
  802. end))
  803. coroutine.resume(coroutine.create(function()
  804. while true do
  805. swait()
  806. if CRAZED == true then
  807. txtlb2.Rotation = math.random(-1,1)
  808. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  809. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  810. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  811. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  812. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  813. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  814. imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  815. imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  816. imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  817. imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  818. imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  819. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  820. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  821. end
  822. end
  823. end))
  824. coroutine.resume(coroutine.create(function()
  825. while true do
  826. swait()
  827. if chaosmode == true then
  828. txtlb2.Rotation = math.random(-1,1)
  829. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  830. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  831. imlb.ImageColor3 = BrickColor.random().Color
  832. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  833. end
  834. end
  835. end))
  836. coroutine.resume(coroutine.create(function()
  837. while true do
  838. swait()
  839. if scrg.Parent ~= nil then
  840. fvalen = fvalen - 0.0001
  841. elseif scrg.Parent == nil then
  842. break
  843. end
  844. end
  845. end))
  846. local flol = -5
  847. local flil = 1.6
  848. coroutine.resume(coroutine.create(function()
  849. for i = 0, 49 do
  850. swait()
  851. flol = flol + 0.125
  852. flil = flil - 0.1
  853. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  854. frm.Rotation = frm.Rotation - 0.25
  855. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  856. frm2.Rotation = frm.Rotation + 0.325
  857. imlb3.Rotation = imlb3.Rotation - 10
  858. imlb2.Rotation = imlb.Rotation + 7.5
  859. imlb.Rotation = imlb.Rotation + 5
  860. if Error == false then
  861. txtlb2.Rotation = txtlb2.Rotation - 5.125
  862. elseif Error == true then
  863. txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
  864. end
  865. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  866. end
  867. for i = 0, 99 do
  868. swait()
  869. fval = fval + 0.05
  870. flol = flol + 0.005
  871. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  872. frm.Rotation = frm.Rotation - 0.075
  873. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  874. frm2.Rotation = frm2.Rotation + 0.125
  875. imlb3.Rotation = imlb3.Rotation - 2
  876. imlb2.Rotation = imlb.Rotation + 1.5
  877. imlb.Rotation = imlb.Rotation + 1
  878. if Error == false then
  879. txtlb2.Rotation = txtlb2.Rotation - 1.125
  880. elseif Error == true then
  881. txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
  882. end
  883. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  884. end
  885. local valinc = 0
  886. local vinc2 = 1
  887. for i = 0, 99 do
  888. swait()
  889. vinc2 = vinc2 + 0.25
  890. valinc = valinc + 0.0001
  891. flol = flol + valinc
  892. flil = flil + valinc
  893. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  894. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  895. imlb.Rotation = imlb.Rotation + 1*vinc2
  896. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  897. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  898. frm.Rotation = frm.Rotation + 0.1*vinc2
  899. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  900. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  901. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  902. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  903. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  904. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  905. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  906. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  907. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  908. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  909. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  910. end
  911. scrg:Destroy()
  912. end))
  913. end))
  914. end
  915. end
  916. end
  917.  
  918. function CameraEnshaking(Length,Intensity)
  919. coroutine.resume(coroutine.create(function()
  920. local intensity = 1*Intensity
  921. local rotM = 0.01*Intensity
  922. for i = 0, Length, 0.1 do
  923. swait()
  924. intensity = intensity - 0.05*Intensity/Length
  925. rotM = rotM - 0.0005*Intensity/Length
  926. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  927. 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)
  928. end
  929. Humanoid.CameraOffset = Vec3(0, 0, 0)
  930. end))
  931. end
  932. CamShake=function(Part,Distan,Power,Times)
  933. local de=Part.Position
  934. for i,v in pairs(workspace:children()) do
  935. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  936. for _,c in pairs(v:children()) do
  937. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  938. local Noob=v.Humanoid
  939. if Noob~=nil then
  940. coroutine.resume(coroutine.create(function()
  941. FV = Instance.new("BoolValue", Noob)
  942. FV.Name = "CameraShake"
  943. for ShakeNum=1,Times do
  944. swait()
  945. local ef=Power
  946. if ef>=1 then
  947. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  948. else
  949. ef=Power*10
  950. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  951. end
  952. end
  953. Humanoid.CameraOffset = Vector3.new(0,0,0)
  954. FV:Destroy()
  955. end))
  956. CameraShake(Times, Power, Noob)
  957. end
  958. end
  959. end
  960. end
  961. end
  962. end
  963.  
  964. local toggleTag = true
  965. local bilguit = Instance.new("BillboardGui", hed)
  966. bilguit.Adornee = nil
  967. bilguit.Name = "ModeName"
  968. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  969. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  970. local modet = Instance.new("TextLabel", bilguit)
  971. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  972. modet.FontSize = "Size8"
  973. modet.TextScaled = true
  974. modet.TextTransparency = 0
  975. modet.BackgroundTransparency = 1
  976. modet.TextTransparency = 0
  977. modet.TextStrokeTransparency = 0
  978. modet.Font = "Antique"
  979. modet.TextStrokeColor3 = Color3.new(1,0,0)
  980. modet.TextColor3 = Color3.new(0.25,0,0)
  981. modet.Text = "STAR GLITCHER E LOADED "
  982.  
  983.  
  984. function chatfunc(text,color,typet,font,timeex)
  985. local chat = coroutine.wrap(function()
  986. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  987. Character:FindFirstChild("TalkingBillBoard"):destroy()
  988. end
  989. local naeeym2 = Instance.new("BillboardGui",Character)
  990. naeeym2.Size = UDim2.new(0,100,0,40)
  991. naeeym2.StudsOffset = Vector3.new(0,3,0)
  992. naeeym2.Adornee = Character.Head
  993. naeeym2.Name = "TalkingBillBoard"
  994. local tecks2 = Instance.new("TextLabel",naeeym2)
  995. tecks2.BackgroundTransparency = 1
  996. tecks2.BorderSizePixel = 0
  997. tecks2.Text = ""
  998. tecks2.Font = font
  999. tecks2.TextSize = 30
  1000. tecks2.TextStrokeTransparency = 0
  1001. tecks2.TextColor3 = color
  1002. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1003. tecks2.Size = UDim2.new(1,0,0.5,0)
  1004. local tecks3 = Instance.new("TextLabel",naeeym2)
  1005. tecks3.BackgroundTransparency = 1
  1006. tecks3.BorderSizePixel = 0
  1007. tecks3.Text = ""
  1008. tecks3.Font = font
  1009. tecks3.TextSize = 30
  1010. tecks3.TextStrokeTransparency = 0
  1011. if typet == "Inverted" then
  1012. tecks3.TextColor3 = Color3.new(0,0,0)
  1013. tecks3.TextStrokeColor3 = color
  1014. elseif typet == "Normal" then
  1015. tecks3.TextColor3 = color
  1016. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1017. end
  1018. tecks3.Size = UDim2.new(1,0,0.5,0)
  1019. coroutine.resume(coroutine.create(function()
  1020. while true do
  1021. swait(1)
  1022. if chaosmode == true then
  1023. tecks2.TextColor3 = BrickColor.random().Color
  1024. tecks3.TextStrokeColor3 = BrickColor.random().Color
  1025. end
  1026. end
  1027. end))
  1028. modet.TextTransparency = modet.TextTransparency + 1
  1029. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  1030. for i = 0, 74*timeex do
  1031. swait()
  1032. modet.TextTransparency = 1
  1033. modet.TextStrokeTransparency = 1
  1034. tecks2.Text = text
  1035. tecks3.Text = text
  1036. end
  1037. local randomrot = math.random(1,2)
  1038. if randomrot == 1 then
  1039. for i = 1, 50 do
  1040. swait()
  1041. tecks2.Text = text
  1042. tecks3.Text = text
  1043. modet.TextTransparency = modet.TextTransparency - .02
  1044. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1045. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1046. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1047. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1048. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1049. end
  1050. elseif randomrot == 2 then
  1051. for i = 1, 50 do
  1052. swait()
  1053. tecks2.Text = text
  1054. tecks3.Text = text
  1055. modet.TextTransparency = modet.TextTransparency - .02
  1056. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1057. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1058. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1059. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1060. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1061. end
  1062. end
  1063. modet.TextTransparency = 0
  1064. modet.TextStrokeTransparency = 0
  1065. if toggleTag == false then
  1066. modet.TextTransparency = 1
  1067. modet.TextStrokeTransparency = 1
  1068. end
  1069. naeeym2:Destroy()
  1070. end)
  1071. chat()
  1072. end
  1073.  
  1074. function bosschatfunc(text,color,watval)
  1075. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1076. coroutine.resume(coroutine.create(function()
  1077. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1078. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1079. end
  1080. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1081. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  1082. scrg.Name = "Dialog"
  1083. local txtlb = Instance.new("TextLabel",scrg)
  1084. txtlb.Text = ""
  1085. txtlb.Font = "Bodoni"
  1086. txtlb.TextColor3 = Color3.new(0,0,0)
  1087. txtlb.TextStrokeTransparency = 0
  1088. txtlb.BackgroundTransparency = 0.75
  1089. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1090. txtlb.TextStrokeColor3 = color
  1091. txtlb.TextScaled = true
  1092. txtlb.Size = UDim2.new(1,0,0.25,0)
  1093. txtlb.TextXAlignment = "Left"
  1094. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1095. local txtlb2 = Instance.new("TextLabel",scrg)
  1096. txtlb2.Text = "star:"
  1097. txtlb2.Font = "Arcade"
  1098. txtlb2.TextColor3 = Color3.new(0,0,0)
  1099. txtlb2.TextStrokeTransparency = 0
  1100. txtlb2.BackgroundTransparency = 1
  1101. txtlb2.TextStrokeColor3 = color
  1102. txtlb2.TextSize = 40
  1103. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1104. txtlb2.TextXAlignment = "Left"
  1105. txtlb2.Position = UDim2.new(0,0,1,0)
  1106. local fvalen = 0.55
  1107. local fval = -0.49
  1108. coroutine.resume(coroutine.create(function()
  1109. while true do
  1110. swait()
  1111. if chaosmode == true then
  1112. txtlb.Rotation = math.random(-1,1)
  1113. txtlb2.Rotation = math.random(-1,1)
  1114. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1115. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1116. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1117. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1118. end
  1119. end
  1120. end))
  1121. coroutine.resume(coroutine.create(function()
  1122. while true do
  1123. swait()
  1124. if scrg.Parent ~= nil then
  1125. fvalen = fvalen - 0.0001
  1126. elseif scrg.Parent == nil then
  1127. break
  1128. end
  1129. end
  1130. end))
  1131. local flol = 1.75
  1132. local flil = 1.6
  1133. coroutine.resume(coroutine.create(function()
  1134. for i = 0, 9 do
  1135. swait()
  1136. fval = fval + 0.05
  1137. flol = flol - 0.1
  1138. flil = flil - 0.1
  1139. txtlb.Text = ""
  1140. txtlb.Position = UDim2.new(0,0,flol,0)
  1141. txtlb2.Position = UDim2.new(0,0,flil,0)
  1142. end
  1143. txtlb.Text = text
  1144. wait(watval)
  1145. local valinc = 0
  1146. for i = 0, 99 do
  1147. swait()
  1148. valinc = valinc + 0.0001
  1149. flol = flol + valinc
  1150. flil = flil + valinc
  1151. txtlb.Rotation = txtlb.Rotation + valinc*20
  1152. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1153. txtlb.Position = UDim2.new(0,0,flol,0)
  1154. txtlb2.Position = UDim2.new(0,0,flil,0)
  1155. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1156. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1157. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1158. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1159. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1160. end
  1161. scrg:Destroy()
  1162. end))
  1163. end))
  1164. end
  1165. end
  1166.  
  1167. function bosschatfunc2(text,color,watval)
  1168. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1169. coroutine.resume(coroutine.create(function()
  1170. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1171. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1172. end
  1173. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1174. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  1175. scrg.Name = "Dialog"
  1176. local txtlb = Instance.new("TextLabel",scrg)
  1177. txtlb.Text = ""
  1178. txtlb.Font = "Bodoni"
  1179. txtlb.TextColor3 = Color3.new(0,0,0)
  1180. txtlb.TextStrokeTransparency = 0
  1181. txtlb.BackgroundTransparency = 0.75
  1182. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1183. txtlb.TextStrokeColor3 = color
  1184. txtlb.TextScaled = true
  1185. txtlb.Size = UDim2.new(1,0,0.25,0)
  1186. txtlb.TextXAlignment = "Left"
  1187. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1188. local txtlb2 = Instance.new("TextLabel",scrg)
  1189. txtlb2.Text = "User:"
  1190. txtlb2.Font = "Arcade"
  1191. txtlb2.TextColor3 = Color3.new(0,0,0)
  1192. txtlb2.TextStrokeTransparency = 0
  1193. txtlb2.BackgroundTransparency = 1
  1194. txtlb2.TextStrokeColor3 = color
  1195. txtlb2.TextSize = 40
  1196. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1197. txtlb2.TextXAlignment = "Left"
  1198. txtlb2.Position = UDim2.new(0,0,1,0)
  1199. local fvalen = 0.55
  1200. local fval = -0.49
  1201. coroutine.resume(coroutine.create(function()
  1202. while true do
  1203. swait()
  1204. if chaosmode == true then
  1205. txtlb.Rotation = math.random(-1,1)
  1206. txtlb2.Rotation = math.random(-1,1)
  1207. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1208. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1209. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1210. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1211. end
  1212. end
  1213. end))
  1214. coroutine.resume(coroutine.create(function()
  1215. while true do
  1216. swait()
  1217. if scrg.Parent ~= nil then
  1218. fvalen = fvalen - 0.0001
  1219. elseif scrg.Parent == nil then
  1220. break
  1221. end
  1222. end
  1223. end))
  1224. local flol = 1.75
  1225. local flil = 1.6
  1226. coroutine.resume(coroutine.create(function()
  1227. for i = 0, 9 do
  1228. swait()
  1229. fval = fval + 0.05
  1230. flol = flol - 0.1
  1231. flil = flil - 0.1
  1232. txtlb.Text = ""
  1233. txtlb.Position = UDim2.new(0,0,flol,0)
  1234. txtlb2.Position = UDim2.new(0,0,flil,0)
  1235. end
  1236. txtlb.Text = text
  1237. wait(watval)
  1238. local valinc = 0
  1239. for i = 0, 99 do
  1240. swait()
  1241. valinc = valinc + 0.0001
  1242. flol = flol + valinc
  1243. flil = flil + valinc
  1244. txtlb.Rotation = txtlb.Rotation + valinc*20
  1245. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1246. txtlb.Position = UDim2.new(0,0,flol,0)
  1247. txtlb2.Position = UDim2.new(0,0,flil,0)
  1248. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1249. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1250. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1251. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1252. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1253. end
  1254. scrg:Destroy()
  1255. end))
  1256. end))
  1257. end
  1258. end
  1259.  
  1260. local Create = LoadLibrary("RbxUtility").Create
  1261.  
  1262. CFuncs = {
  1263. ["Part"] = {
  1264. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1265. local Part = Create("Part"){
  1266. Parent = Parent,
  1267. Reflectance = Reflectance,
  1268. Transparency = Transparency,
  1269. CanCollide = false,
  1270. Locked = true,
  1271. BrickColor = BrickColor.new(tostring(BColor)),
  1272. Name = Name,
  1273. Size = Size,
  1274. Material = Material,
  1275. }
  1276. RemoveOutlines(Part)
  1277. return Part
  1278. end;
  1279. };
  1280.  
  1281. ["Mesh"] = {
  1282. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1283. local Msh = Create(Mesh){
  1284. Parent = Part,
  1285. Offset = OffSet,
  1286. Scale = Scale,
  1287. }
  1288. if Mesh == "SpecialMesh" then
  1289. Msh.MeshType = MeshType
  1290. Msh.MeshId = MeshId
  1291. end
  1292. return Msh
  1293. end;
  1294. };
  1295.  
  1296. ["Mesh"] = {
  1297. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1298. local Msh = Create(Mesh){
  1299. Parent = Part,
  1300. Offset = OffSet,
  1301. Scale = Scale,
  1302. }
  1303. if Mesh == "SpecialMesh" then
  1304. Msh.MeshType = MeshType
  1305. Msh.MeshId = MeshId
  1306. end
  1307. return Msh
  1308. end;
  1309. };
  1310.  
  1311. ["Weld"] = {
  1312. Create = function(Parent, Part0, Part1, C0, C1)
  1313. local Weld = Create("Weld"){
  1314. Parent = Parent,
  1315. Part0 = Part0,
  1316. Part1 = Part1,
  1317. C0 = C0,
  1318. C1 = C1,
  1319. }
  1320. return Weld
  1321. end;
  1322. };
  1323.  
  1324. ["Sound"] = {
  1325. Create = function(id, par, vol, pit)
  1326. coroutine.resume(coroutine.create(function()
  1327. local S = Create("Sound"){
  1328. Volume = vol,
  1329. Name = "EffectSoundo",
  1330. Pitch = pit or 1,
  1331. SoundId = id,
  1332. Parent = par or workspace,
  1333. }
  1334. wait()
  1335. S:play()
  1336. game:GetService("Debris"):AddItem(S, 10)
  1337. end))
  1338. end;
  1339. };
  1340.  
  1341. ["TimeSound"] = {
  1342. Create = function(id, par, vol, pit, timepos)
  1343. coroutine.resume(coroutine.create(function()
  1344. local S = Create("Sound"){
  1345. Volume = vol,
  1346. Name = "EffectSoundo",
  1347. Pitch = pit or 1,
  1348. SoundId = id,
  1349. TimePosition = timepos,
  1350. Parent = par or workspace,
  1351. }
  1352. wait()
  1353. S:play()
  1354. game:GetService("Debris"):AddItem(S, 10)
  1355. end))
  1356. end;
  1357. };
  1358. ["EchoSound"] = {
  1359. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1360. coroutine.resume(coroutine.create(function()
  1361. local Sas = Create("Sound"){
  1362. Volume = vol,
  1363. Name = "EffectSoundo",
  1364. Pitch = pit or 1,
  1365. SoundId = id,
  1366. TimePosition = timepos,
  1367. Parent = par or workspace,
  1368. }
  1369. local E = Create("EchoSoundEffect"){
  1370. Delay = echodelay,
  1371. Name = "Echo",
  1372. Feedback = fedb,
  1373. DryLevel = dryl,
  1374. Parent = Sas,
  1375. }
  1376. wait()
  1377. Sas:play()
  1378. game:GetService("Debris"):AddItem(Sas, delays)
  1379. end))
  1380. end;
  1381. };
  1382.  
  1383. ["LongSound"] = {
  1384. Create = function(id, par, vol, pit)
  1385. coroutine.resume(coroutine.create(function()
  1386. local S = Create("Sound"){
  1387. Volume = vol,
  1388. Pitch = pit or 1,
  1389. SoundId = id,
  1390. Parent = par or workspace,
  1391. }
  1392. wait()
  1393. S:play()
  1394. game:GetService("Debris"):AddItem(S, 60)
  1395. end))
  1396. end;
  1397. };
  1398.  
  1399. ["ParticleEmitter"] = {
  1400. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1401. local fp = Create("ParticleEmitter"){
  1402. Parent = Parent,
  1403. Color = ColorSequence.new(Color1, Color2),
  1404. LightEmission = LightEmission,
  1405. Size = Size,
  1406. Texture = Texture,
  1407. Transparency = Transparency,
  1408. ZOffset = ZOffset,
  1409. Acceleration = Accel,
  1410. Drag = Drag,
  1411. LockedToPart = LockedToPart,
  1412. VelocityInheritance = VelocityInheritance,
  1413. EmissionDirection = EmissionDirection,
  1414. Enabled = Enabled,
  1415. Lifetime = LifeTime,
  1416. Rate = Rate,
  1417. Rotation = Rotation,
  1418. RotSpeed = RotSpeed,
  1419. Speed = Speed,
  1420. VelocitySpread = VelocitySpread,
  1421. }
  1422. return fp
  1423. end;
  1424. };
  1425.  
  1426. CreateTemplate = {
  1427.  
  1428. };
  1429. }
  1430.  
  1431.  
  1432.  
  1433. New = function(Object, Parent, Name, Data)
  1434. local Object = Instance.new(Object)
  1435. for Index, Value in pairs(Data or {}) do
  1436. Object[Index] = Value
  1437. end
  1438. Object.Parent = Parent
  1439. Object.Name = Name
  1440. return Object
  1441. end
  1442. local halocolor = BrickColor.new("Pastel light blue")
  1443. local halocolor2 = BrickColor.new("Cool yellow")
  1444. local starcolor = BrickColor.new("Bright yellow")
  1445. local lunacolor = BrickColor.new("Navy blue")
  1446. local lunacolor2 = BrickColor.new("Bright blue")
  1447. local wepcolor = BrickColor.new("Really black")
  1448. local maincolor = BrickColor.new("Really black")
  1449. local m = Instance.new("Model",char)
  1450. local m2 = Instance.new("Model",char)
  1451. local m3 = Instance.new("Model",char)
  1452. local mw1 = Instance.new("Model",char)
  1453. local mw2 = Instance.new("Model",char)
  1454.  
  1455.  
  1456. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1457. local gui = it(GuiType)
  1458. gui.Parent = parent
  1459. gui.Text = text
  1460. gui.BackgroundTransparency = backtrans
  1461. gui.BackgroundColor3 = backcol
  1462. gui.SizeConstraint = "RelativeXY"
  1463. gui.TextXAlignment = "Center"
  1464. gui.TextYAlignment = "Center"
  1465. gui.Position = pos
  1466. gui.Size = size
  1467. gui.Font = "SourceSans"
  1468. gui.FontSize = "Size14"
  1469. gui.TextWrapped = false
  1470. gui.TextStrokeTransparency = 0
  1471. gui.TextColor = BrickColor.new("White")
  1472. return gui
  1473. end
  1474. --------------------------- GUI STUFF
  1475. local basgui = it("GuiMain")
  1476. basgui.Parent = plr.PlayerGui
  1477. basgui.Name = "VISgui"
  1478. local fullscreenz = it("Frame")
  1479. fullscreenz.Parent = basgui
  1480. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  1481. fullscreenz.BackgroundTransparency = 1
  1482. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  1483. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  1484. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  1485. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  1486. imgl2.BackgroundTransparency = 1
  1487. imgl2.BorderSizePixel = 0
  1488. imgl2.ImageTransparency = 0.5
  1489. imgl2.Position = UDim2.new(0.70,-200,0.50,-200)
  1490. imgl2.Size = UDim2.new(0,1000,0,1000)
  1491. imgl2.Image = "rbxassetid://2344830904"
  1492. local techc = imgl2:Clone()
  1493. techc.Parent = fullscreenz
  1494. techc.ImageTransparency = 0
  1495. techc.Size = UDim2.new(0,900,0,900)
  1496. techc.Position = UDim2.new(0.70,-150,0.50,-150)
  1497. techc.Image = "rbxassetid://2092248396"
  1498. local circl = imgl2:Clone()
  1499. circl.Parent = fullscreenz
  1500. circl.ImageTransparency = 0
  1501. circl.Size = UDim2.new(0,550,0,550)
  1502. circl.Position = UDim2.new(0.70,25,0.50,25)
  1503. circl.Image = "rbxassetid://2312119891"
  1504. local circl2 = imgl2:Clone()
  1505. circl2.Parent = fullscreenz
  1506. circl2.ImageTransparency = 0
  1507. circl2.Size = UDim2.new(0,700,0,700)
  1508. circl2.Position = UDim2.new(0.70,-50,0.50,-50)
  1509. circl2.Image = "rbxassetid://2312119891"
  1510. local imgl2b = imgl2:Clone()
  1511. imgl2b.Parent = fullscreenz
  1512. imgl2b.ImageTransparency = 0
  1513. imgl2b.Size = UDim2.new(0,800,0,800)
  1514. imgl2b.Position = UDim2.new(0.70,-100,0.50,-100)
  1515. imgl2b.ImageColor3 = Color3.new(0,0,0)
  1516. local ned = Instance.new("TextLabel",fullscreenz)
  1517. ned.ZIndex = 2
  1518. ned.Font = "Bodoni"
  1519. ned.BackgroundTransparency = 1
  1520. ned.BorderSizePixel = 0.65
  1521. ned.Size = UDim2.new(0.6,0,0.6,0)
  1522. ned.Position = UDim2.new(0,0,0,0)
  1523. ned.TextScaled = true
  1524. ned.TextStrokeTransparency = 0
  1525. ned.Text = "Mayhem"
  1526. ned.TextSize = 48
  1527. ned.Rotation = 1
  1528. ned.TextXAlignment = "Left"
  1529. ned.TextYAlignment = "Top"
  1530.  
  1531. local extrawingmod1 = Instance.new("Model",char)
  1532. local extrawingmod2 = Instance.new("Model",char)
  1533.  
  1534. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1535. local p = Instance.new("Part")
  1536. p.TopSurface = 0
  1537. p.BottomSurface = 0
  1538. p.Parent = parent
  1539. p.Size = Vector3.new(0.1,0.1,0.1)
  1540. p.Transparency = transparency
  1541. p.Reflectance = reflectance
  1542. p.CanCollide = false
  1543. p.Locked = true
  1544. p.BrickColor = brickcolor
  1545. p.Material = material
  1546. return p
  1547. end
  1548.  
  1549. function CreateMesh(parent,meshtype,x1,y1,z1)
  1550. local mesh = Instance.new("SpecialMesh",parent)
  1551. mesh.MeshType = meshtype
  1552. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1553. return mesh
  1554. end
  1555.  
  1556. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1557. local mesh = Instance.new("SpecialMesh",parent)
  1558. mesh.MeshType = "FileMesh"
  1559. mesh.MeshId = meshid
  1560. mesh.Scale = Vector3.new(x1,y1,z1)
  1561. return mesh
  1562. end
  1563.  
  1564.  
  1565. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1566. local mesh = Instance.new("SpecialMesh",parent)
  1567. mesh.MeshType = "FileMesh"
  1568. mesh.MeshId = meshid
  1569. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1570. mesh.Scale = Vector3.new(x1,y1,z1)
  1571. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1572. return mesh
  1573. end
  1574.  
  1575. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1576. local weld = Instance.new("Weld")
  1577. weld.Parent = parent
  1578. weld.Part0 = part0
  1579. weld.Part1 = part1
  1580. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1581. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1582. return weld
  1583. end
  1584.  
  1585. --------------
  1586. local secondchar = Instance.new("Model",char)
  1587. local GhostCol = BrickColor.new("Really red")
  1588. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1589. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  1590. 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))
  1591.  
  1592. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1593. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  1594. 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))
  1595.  
  1596. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1597. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  1598. 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))
  1599.  
  1600. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1601. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  1602. 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))
  1603.  
  1604. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1605. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  1606. 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))
  1607.  
  1608. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  1609. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  1610. 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))
  1611. --------------
  1612. 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))
  1613. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1614. 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))
  1615.  
  1616. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1617. CreateMesh(handle,"Brick",0,0,0)
  1618. 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))
  1619. local valuaring = 10
  1620. for i = 0, 49 do
  1621. valuaring = valuaring + 10
  1622. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1623. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1624. 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))
  1625. end
  1626.  
  1627. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1628. CreateMesh(handle,"Brick",0,0,0)
  1629. 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))
  1630. local valuaring = 10
  1631. for i = 0, 49 do
  1632. valuaring = valuaring + 10
  1633. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1634. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  1635. 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))
  1636. end
  1637.  
  1638.  
  1639. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1640. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1641. 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))
  1642.  
  1643. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1644. 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))
  1645. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1646. 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))
  1647.  
  1648. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1649. CreateMesh(handle,"Brick",0,0,0)
  1650. 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))
  1651. local valuaring = 10
  1652. for i = 0, 49 do
  1653. valuaring = valuaring + 10
  1654. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1655. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1656. 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))
  1657. end
  1658.  
  1659. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1660. CreateMesh(handle,"Brick",0,0,0)
  1661. 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))
  1662. local valuaring = 10
  1663. for i = 0, 49 do
  1664. valuaring = valuaring + 10
  1665. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1666. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  1667. 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))
  1668. end
  1669.  
  1670.  
  1671. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1672. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1673. 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))
  1674.  
  1675. --- Left wing.
  1676.  
  1677. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1678. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1679. 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))
  1680.  
  1681. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1682. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1683. 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))
  1684. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1685. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1686. 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))
  1687. A0 = Instance.new('Attachment',wed)
  1688. A0.Position = vt(0,0.25,0.25)
  1689. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1690. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1691. 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))
  1692. A1 = Instance.new('Attachment',wed)
  1693. A1.Position = vt(0,-0.25,-2)
  1694. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1695. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1696. 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))
  1697.  
  1698. tl1 = Instance.new('Trail',wed)
  1699. tl1.Attachment0 = A1
  1700. tl1.Attachment1 = A0
  1701. tl1.Texture = "rbxassetid://2108945559"
  1702. tl1.LightEmission = 1
  1703. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1704. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1705. tl1.Lifetime = 0.6
  1706.  
  1707.  
  1708. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1709. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1710. 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))
  1711.  
  1712. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1713. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1714. 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))
  1715. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1716. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1717. 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))
  1718. A0 = Instance.new('Attachment',wed)
  1719. A0.Position = vt(0,0.25,0.25)
  1720. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1721. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1722. 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))
  1723. A1 = Instance.new('Attachment',wed)
  1724. A1.Position = vt(0,-0.25,-2)
  1725. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1726. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1727. 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))
  1728.  
  1729. tl2 = Instance.new('Trail',wed)
  1730. tl2.Attachment0 = A1
  1731. tl2.Attachment1 = A0
  1732. tl2.Texture = "rbxassetid://2108945559"
  1733. tl2.LightEmission = 1
  1734. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1735. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1736. tl2.Lifetime = 0.6
  1737.  
  1738. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1739. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1740. 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))
  1741.  
  1742. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1743. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1744. 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))
  1745. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1746. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1747. 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))
  1748. A0 = Instance.new('Attachment',wed)
  1749. A0.Position = vt(0,0.25,0.25)
  1750. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1751. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1752. 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))
  1753. A1 = Instance.new('Attachment',wed)
  1754. A1.Position = vt(0,-0.25,-2)
  1755. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1756. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1757. 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))
  1758.  
  1759. tl3 = Instance.new('Trail',wed)
  1760. tl3.Attachment0 = A1
  1761. tl3.Attachment1 = A0
  1762. tl3.Texture = "rbxassetid://2108945559"
  1763. tl3.LightEmission = 1
  1764. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1765. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1766. tl3.Lifetime = 0.6
  1767.  
  1768. tl1.Enabled = false
  1769. tl2.Enabled = false
  1770. tl3.Enabled = false
  1771. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1772. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1773. 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))
  1774.  
  1775. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1776. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1777. 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))
  1778. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1779. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1780. 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))
  1781. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1782. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1783. 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))
  1784. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1785. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1786. 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))
  1787.  
  1788. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1789. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1790. 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))
  1791.  
  1792. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1793. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1794. 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))
  1795. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1796. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1797. 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))
  1798. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1799. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1800. 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))
  1801. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1802. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1803. 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))
  1804.  
  1805. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1806. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1807. 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))
  1808.  
  1809. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1810. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1811. 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))
  1812. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1813. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1814. 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))
  1815. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1816. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1817. 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))
  1818. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1819. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1820. 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))
  1821.  
  1822. -- Right wing.
  1823.  
  1824. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1825. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1826. 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))
  1827.  
  1828. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1829. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1830. 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))
  1831. A0 = Instance.new('Attachment',wed)
  1832. A0.Position = vt(0,0.25,0.25)
  1833. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1834. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1835. 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))
  1836. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1837. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1838. 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))
  1839. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1840. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1841. 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))
  1842. A1 = Instance.new('Attachment',wed)
  1843. A1.Position = vt(0,2,0.25)
  1844.  
  1845. tr1 = Instance.new('Trail',wed)
  1846. tr1.Attachment0 = A1
  1847. tr1.Attachment1 = A0
  1848. tr1.Texture = "rbxassetid://2108945559"
  1849. tr1.LightEmission = 1
  1850. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1851. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1852. tr1.Lifetime = 0.6
  1853.  
  1854. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1855. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1856. 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))
  1857.  
  1858. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1859. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1860. 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))
  1861. A0 = Instance.new('Attachment',wed)
  1862. A0.Position = vt(0,0.25,0.25)
  1863. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1864. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1865. 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))
  1866. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1867. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1868. 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))
  1869. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1870. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1871. 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))
  1872. A1 = Instance.new('Attachment',wed)
  1873. A1.Position = vt(0,2,0.25)
  1874.  
  1875. tr2 = Instance.new('Trail',wed)
  1876. tr2.Attachment0 = A1
  1877. tr2.Attachment1 = A0
  1878. tr2.Texture = "rbxassetid://2108945559"
  1879. tr2.LightEmission = 1
  1880. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1881. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1882. tr2.Lifetime = 0.6
  1883.  
  1884. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1885. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1886. 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))
  1887.  
  1888. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1889. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1890. 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))
  1891. A0 = Instance.new('Attachment',wed)
  1892. A0.Position = vt(0,0.25,0.25)
  1893. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1894. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1895. 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))
  1896. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1897. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1898. 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))
  1899. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1900. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1901. 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))
  1902. A1 = Instance.new('Attachment',wed)
  1903. A1.Position = vt(0,2,0.25)
  1904.  
  1905. tr3 = Instance.new('Trail',wed)
  1906. tr3.Attachment0 = A1
  1907. tr3.Attachment1 = A0
  1908. tr3.Texture = "rbxassetid://2108945559"
  1909. tr3.LightEmission = 1
  1910. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1911. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1912. tr3.Lifetime = 0.6
  1913.  
  1914.  
  1915. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1916. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1917. 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))
  1918.  
  1919. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1920. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1921. 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))
  1922. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1923. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1924. 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))
  1925. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1926. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1927. 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))
  1928. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1929. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1930. 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))
  1931.  
  1932. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1933. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1934. 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))
  1935.  
  1936. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1937. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1938. 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))
  1939. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1940. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1941. 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))
  1942. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1943. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1944. 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))
  1945. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1946. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1947. 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))
  1948.  
  1949. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1950. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1951. 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))
  1952.  
  1953. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1954. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1955. 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))
  1956. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1957. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1958. 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))
  1959. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1960. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1961. 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))
  1962. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1963. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1964. 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))
  1965.  
  1966. ---- HERES THE RING
  1967.  
  1968.  
  1969. ran = CreateParta(m2,0,0,"Glass",wepcolor)
  1970. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1971. 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))
  1972. ran = CreateParta(m,0,0,"Glass",wepcolor)
  1973. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1974. 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))
  1975. ran = CreateParta(m,0,0,"Glass",wepcolor)
  1976. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1977. 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))
  1978.  
  1979.  
  1980. gan = CreateParta(m,0,0,"Glass",wepcolor)
  1981. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1982. 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))
  1983.  
  1984. gan = CreateParta(m,0,0,"Glass",wepcolor)
  1985. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1986. 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))
  1987.  
  1988.  
  1989.  
  1990. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1991. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1992. 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))
  1993.  
  1994. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1995. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1996. 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))
  1997.  
  1998. gane = CreateParta(m3,0,0,"Glass",lunacolor2)
  1999. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2000. 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))
  2001.  
  2002. star = CreateParta(m,0,0,"Glass",wepcolor)
  2003. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2004. 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))
  2005. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  2006. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2007. 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))
  2008. --- second ring
  2009.  
  2010. ran = CreateParta(m2,0,0,"Granite",wepcolor)
  2011. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  2012. 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))
  2013. ran = CreateParta(m,0,0,"Granite",wepcolor)
  2014. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  2015. 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))
  2016. ran = CreateParta(m,0,0,"Granite",wepcolor)
  2017. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  2018. 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))
  2019.  
  2020. gan = CreateParta(m,0,0,"Granite",wepcolor)
  2021. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2022. 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))
  2023.  
  2024. gan = CreateParta(m,0,0,"Granite",wepcolor)
  2025. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2026. 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))
  2027.  
  2028.  
  2029.  
  2030. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2031. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2032. 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))
  2033.  
  2034. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2035. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2036. 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))
  2037.  
  2038. gane = CreateParta(m3,0,0,"Granite",lunacolor2)
  2039. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2040. 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))
  2041.  
  2042. star = CreateParta(m,0,0,"Granite",wepcolor)
  2043. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2044. 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))
  2045. starl = CreateParta(m3,0,0,"Granite",starcolor)
  2046. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2047. 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))
  2048.  
  2049.  
  2050.  
  2051.  
  2052. for i, v in pairs(m:GetChildren()) do
  2053. if v:IsA("Part") then
  2054. v.BrickColor = BrickColor.new("Really black")
  2055. v.Material = "Glass"
  2056. end
  2057. end
  2058. for i, v in pairs(m2:GetChildren()) do
  2059. if v:IsA("Part") then
  2060. v.BrickColor = BrickColor.new("Crimson")
  2061. v.Material = "Granite"
  2062. end
  2063. end
  2064. for i, v in pairs(m3:GetChildren()) do
  2065. if v:IsA("Part") then
  2066. v.BrickColor = BrickColor.new("Really red")
  2067. v.Material = "Neon"
  2068. end
  2069. end
  2070. for i, v in pairs(mw2:GetChildren()) do
  2071. if v:IsA("Part") then
  2072. v.BrickColor = BrickColor.new("Really red")
  2073. v.Material = "Neon"
  2074. end
  2075. end
  2076. for i, v in pairs(mw1:GetChildren()) do
  2077. if v:IsA("Part") then
  2078. v.Transparency = 0
  2079. v.BrickColor = BrickColor.new("Really blue")
  2080. v.Material = "Neon"
  2081. end
  2082. end
  2083. for i, v in pairs(extrawingmod1:GetChildren()) do
  2084. if v:IsA("Part") then
  2085. v.Transparency = 0.8
  2086. v.BrickColor = BrickColor.new("Toothpaste")
  2087. v.Material = "Neon"
  2088. end
  2089. end
  2090. for i, v in pairs(extrawingmod2:GetChildren()) do
  2091. if v:IsA("Part") then
  2092. v.Transparency = 0.8
  2093. v.BrickColor = BrickColor.new("Really blue")
  2094. v.Material = "Neon"
  2095. end
  2096. end
  2097. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  2098.  
  2099. --clothes
  2100. local Hair = Instance.new("Part", char)
  2101. Hair.Name = "Hair"
  2102. Hair.CanCollide = false
  2103. Hair.BrickColor = BrickColor.new("Institutional white")
  2104. Hair.Transparency = 0
  2105. Hair.Material = "Plastic"
  2106. Hair.Size = Vector3.new(1, 1, 2)
  2107. Hair.TopSurface = Enum.SurfaceType.Smooth
  2108. Hair.BottomSurface = Enum.SurfaceType.Smooth
  2109.  
  2110. local Weld = Instance.new("Weld", Hair)
  2111. Weld.Part0 = hed
  2112. Weld.Part1 = Hair
  2113. Weld.C1 = CFrame.new(0, -.6, 0)
  2114. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  2115.  
  2116. local M2 = Instance.new("SpecialMesh")
  2117. M2.Parent = Hair
  2118. M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2119. M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
  2120. M2.Scale = Vector3.new(1, 1, 1)
  2121.  
  2122. for i,v in pairs(char:children()) do
  2123. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  2124. v:Remove()
  2125. end
  2126. end
  2127.  
  2128.  
  2129. function RemoveOutlines(part)
  2130. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2131. end
  2132. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2133. local Part = Create("Part")({
  2134. Parent = Parent,
  2135. Reflectance = Reflectance,
  2136. Transparency = Transparency,
  2137. CanCollide = false,
  2138. Locked = true,
  2139. BrickColor = BrickColor.new(tostring(BColor)),
  2140. Name = Name,
  2141. Size = Size,
  2142. Material = Material
  2143. })
  2144. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2145. RemoveOutlines(Part)
  2146. return Part
  2147. end
  2148. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2149. local Msh = Create(Mesh)({
  2150. Parent = Part,
  2151. Offset = OffSet,
  2152. Scale = Scale
  2153. })
  2154. if Mesh == "SpecialMesh" then
  2155. Msh.MeshType = MeshType
  2156. Msh.MeshId = MeshId
  2157. end
  2158. return Msh
  2159. end
  2160. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2161. local Weld = Create("Weld")({
  2162. Parent = Parent,
  2163. Part0 = Part0,
  2164. Part1 = Part1,
  2165. C0 = C0,
  2166. C1 = C1
  2167. })
  2168. return Weld
  2169. end
  2170.  
  2171. Character=Player.Character
  2172. PlayerGui=Player.PlayerGui
  2173. Backpack=Player.Backpack
  2174. Torso=Character.Torso
  2175. Head=Character.Head
  2176. Humanoid=Character.Humanoid
  2177. m=Instance.new('Model',Character)
  2178. LeftArm=Character["Left Arm"]
  2179. LeftLeg=Character["Left Leg"]
  2180. RightArm=Character["Right Arm"]
  2181. RightLeg=Character["Right Leg"]
  2182. LS=Torso["Left Shoulder"]
  2183. LH=Torso["Left Hip"]
  2184. RS=Torso["Right Shoulder"]
  2185. RH=Torso["Right Hip"]
  2186. Face = Head.face
  2187. Neck=Torso.Neck
  2188. it=Instance.new
  2189. attacktype=1
  2190. vt=Vector3.new
  2191. cf=CFrame.new
  2192. euler=CFrame.fromEulerAnglesXYZ
  2193. angles=CFrame.Angles
  2194. cloaked=false
  2195. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2196. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2197. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2198. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2199. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2200. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2201. RootPart=Character.HumanoidRootPart
  2202. RootJoint=RootPart.RootJoint
  2203. RootCF=euler(-1.57,0,3.14)
  2204. attack = false
  2205. attackdebounce = false
  2206. deb=false
  2207. equipped=true
  2208. hand=false
  2209. combo=0
  2210. mana=0
  2211. trispeed=.2
  2212. attackmode='none'
  2213. local idle=0
  2214. local Anim="Idle"
  2215. local Effects={}
  2216. local gun=false
  2217. local shoot=false
  2218. local sine = 0
  2219. local change = 1
  2220.  
  2221. function RecolorTextAndRename(name,col1,col2,font)
  2222. modet.TextStrokeColor3 = col2
  2223. modet.TextColor3 = col1
  2224. modet.Font = font
  2225. modet.Text = name
  2226. techc.ImageColor3 = col2
  2227. circl.ImageColor3 = col2
  2228. circl2.ImageColor3 = col1
  2229. imgl2.ImageColor3 = col1
  2230. imgl2b.ImageColor3 = col2
  2231. ned.Text = name
  2232. ned.TextColor3 = col1
  2233. ned.TextStrokeColor3 = col2
  2234. end
  2235. --save shoulders
  2236. RSH, LSH=nil, nil
  2237. --welds
  2238. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2239. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2240. LH=Torso["Left Hip"]
  2241. RH=Torso["Right Hip"]
  2242. TorsoColor=Torso.BrickColor
  2243. function NoOutline(Part)
  2244. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2245. end
  2246. ch=Character
  2247. RSH=ch.Torso["Right Shoulder"]
  2248. LSH=ch.Torso["Left Shoulder"]
  2249. --
  2250. RSH.Parent=nil
  2251. LSH.Parent=nil
  2252. --
  2253. RW.Name="Right Shoulder"
  2254. RW.Part0=ch.Torso
  2255. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2256. RW.C1=cf(0, 0.5, 0)
  2257. RW.Part1=ch["Right Arm"]
  2258. RW.Parent=ch.Torso
  2259. --
  2260. LW.Name="Left Shoulder"
  2261. LW.Part0=ch.Torso
  2262. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2263. LW.C1=cf(0, 0.5, 0)
  2264. LW.Part1=ch["Left Arm"]
  2265. LW.Parent=ch.Torso
  2266.  
  2267. local Stats=Instance.new("BoolValue")
  2268. Stats.Name="Stats"
  2269. Stats.Parent=Character
  2270. local Atk=Instance.new("NumberValue")
  2271. Atk.Name="Damage"
  2272. Atk.Parent=Stats
  2273. Atk.Value=1
  2274. local Def=Instance.new("NumberValue")
  2275. Def.Name="Defense"
  2276. Def.Parent=Stats
  2277. Def.Value=1
  2278. local Speed=Instance.new("NumberValue")
  2279. Speed.Name="Speed"
  2280. Speed.Parent=Stats
  2281. Speed.Value=1
  2282. local Mvmt=Instance.new("NumberValue")
  2283. Mvmt.Name="Movement"
  2284. Mvmt.Parent=Stats
  2285. Mvmt.Value=1
  2286.  
  2287. local donum=0
  2288.  
  2289.  
  2290. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2291. local fp=it("Part")
  2292. fp.formFactor=formfactor
  2293. fp.Parent=parent
  2294. fp.Reflectance=reflectance
  2295. fp.Transparency=transparency
  2296. fp.CanCollide=false
  2297. fp.Locked=true
  2298. fp.BrickColor=brickcolor
  2299. fp.Name=name
  2300. fp.Size=size
  2301. fp.Position=Torso.Position
  2302. NoOutline(fp)
  2303. fp.Material="SmoothPlastic"
  2304. fp:BreakJoints()
  2305. return fp
  2306. end
  2307.  
  2308. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2309. local mesh=it(Mesh)
  2310. mesh.Parent=part
  2311. if Mesh=="SpecialMesh" then
  2312. mesh.MeshType=meshtype
  2313. if meshid~="nil" then
  2314. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2315. end
  2316. end
  2317. mesh.Offset=offset
  2318. mesh.Scale=scale
  2319. return mesh
  2320. end
  2321.  
  2322. function weld(parent,part0,part1,c0)
  2323. local weld=it("Weld")
  2324. weld.Parent=parent
  2325. weld.Part0=part0
  2326. weld.Part1=part1
  2327. weld.C0=c0
  2328. return weld
  2329. end
  2330.  
  2331. local Color1=Torso.BrickColor
  2332.  
  2333. local bodvel=Instance.new("BodyVelocity")
  2334. local bg=Instance.new("BodyGyro")
  2335.  
  2336. --------- SazEreno's Artificial HB --------------
  2337. ArtificialHB = Instance.new("BindableEvent", script)
  2338. ArtificialHB.Name = "ArtificialHB"
  2339.  
  2340. script:WaitForChild("ArtificialHB")
  2341. Frame_Speed = 1 / 60
  2342. frame = Frame_Speed
  2343. tf = 0
  2344. allowframeloss = false
  2345. tossremainder = false
  2346. lastframe = tick()
  2347. script.ArtificialHB:Fire()
  2348.  
  2349. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2350. tf = tf + s
  2351. if tf >= frame then
  2352. if allowframeloss then
  2353. script.ArtificialHB:Fire()
  2354. lastframe = tick()
  2355. else
  2356. for i = 1, math.floor(tf / frame) do
  2357. script.ArtificialHB:Fire()
  2358. end
  2359. lastframe = tick()
  2360. end
  2361. if tossremainder then
  2362. tf = 0
  2363. else
  2364. tf = tf - frame * math.floor(tf / frame)
  2365. end
  2366. end
  2367. end)
  2368.  
  2369. ------------------
  2370. function swait(num)
  2371. function swait(num)
  2372. if num==0 or num==nil then
  2373. game:service'RunService'.Stepped:wait(0)
  2374. else
  2375. for i=0,num do
  2376. game:service'RunService'.Stepped:wait(0)
  2377. end
  2378. end
  2379. end
  2380. end
  2381.  
  2382. -------- RAINBOW LEAVE IT TO ME
  2383. local r = 255
  2384. local g = 0
  2385. local b = 0
  2386. coroutine.resume(coroutine.create(function()
  2387. while wait() do
  2388. for i = 0, 254/5 do
  2389. swait()
  2390. g = g + 5
  2391. end
  2392. for i = 0, 254/5 do
  2393. swait()
  2394. r = r - 5
  2395. end
  2396. for i = 0, 254/5 do
  2397. swait()
  2398. b = b + 5
  2399. end
  2400. for i = 0, 254/5 do
  2401. swait()
  2402. g = g - 5
  2403. end
  2404. for i = 0, 254/5 do
  2405. swait()
  2406. r = r + 5
  2407. end
  2408. for i = 0, 254/5 do
  2409. swait()
  2410. b = b - 5
  2411. end
  2412. end
  2413. end))
  2414.  
  2415.  
  2416. so = function(id,par,vol,pit)
  2417. coroutine.resume(coroutine.create(function()
  2418. local sou = Instance.new("Sound",par or workspace)
  2419. sou.Volume=vol
  2420. sou.Pitch=pit or 1
  2421. sou.SoundId=id
  2422. swait()
  2423. sou:play()
  2424. game:GetService("Debris"):AddItem(sou,6)
  2425. end))
  2426. end
  2427.  
  2428. function clerp(a,b,t)
  2429. local qa = {QuaternionFromCFrame(a)}
  2430. local qb = {QuaternionFromCFrame(b)}
  2431. local ax, ay, az = a.x, a.y, a.z
  2432. local bx, by, bz = b.x, b.y, b.z
  2433. local _t = 1-t
  2434. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2435. end
  2436.  
  2437. function QuaternionFromCFrame(cf)
  2438. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2439. local trace = m00 + m11 + m22
  2440. if trace > 0 then
  2441. local s = math.sqrt(1 + trace)
  2442. local recip = 0.5/s
  2443. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2444. else
  2445. local i = 0
  2446. if m11 > m00 then
  2447. i = 1
  2448. end
  2449. if m22 > (i == 0 and m00 or m11) then
  2450. i = 2
  2451. end
  2452. if i == 0 then
  2453. local s = math.sqrt(m00-m11-m22+1)
  2454. local recip = 0.5/s
  2455. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2456. elseif i == 1 then
  2457. local s = math.sqrt(m11-m22-m00+1)
  2458. local recip = 0.5/s
  2459. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2460. elseif i == 2 then
  2461. local s = math.sqrt(m22-m00-m11+1)
  2462. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2463. end
  2464. end
  2465. end
  2466.  
  2467. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2468. local xs, ys, zs = x + x, y + y, z + z
  2469. local wx, wy, wz = w*xs, w*ys, w*zs
  2470. local xx = x*xs
  2471. local xy = x*ys
  2472. local xz = x*zs
  2473. local yy = y*ys
  2474. local yz = y*zs
  2475. local zz = z*zs
  2476. 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))
  2477. end
  2478.  
  2479. function QuaternionSlerp(a, b, t)
  2480. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2481. local startInterp, finishInterp;
  2482. if cosTheta >= 0.0001 then
  2483. if (1 - cosTheta) > 0.0001 then
  2484. local theta = math.acos(cosTheta)
  2485. local invSinTheta = 1/math.sin(theta)
  2486. startInterp = math.sin((1-t)*theta)*invSinTheta
  2487. finishInterp = math.sin(t*theta)*invSinTheta
  2488. else
  2489. startInterp = 1-t
  2490. finishInterp = t
  2491. end
  2492. else
  2493. if (1+cosTheta) > 0.0001 then
  2494. local theta = math.acos(-cosTheta)
  2495. local invSinTheta = 1/math.sin(theta)
  2496. startInterp = math.sin((t-1)*theta)*invSinTheta
  2497. finishInterp = math.sin(t*theta)*invSinTheta
  2498. else
  2499. startInterp = t-1
  2500. finishInterp = t
  2501. end
  2502. end
  2503. 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
  2504. end
  2505.  
  2506. local function CFrameFromTopBack(at, top, back)
  2507. local right = top:Cross(back)
  2508. return CFrame.new(at.x, at.y, at.z,
  2509. right.x, top.x, back.x,
  2510. right.y, top.y, back.y,
  2511. right.z, top.z, back.z)
  2512. end
  2513.  
  2514. function Triangle(a, b, c)
  2515. local edg1 = (c-a):Dot((b-a).unit)
  2516. local edg2 = (a-b):Dot((c-b).unit)
  2517. local edg3 = (b-c):Dot((a-c).unit)
  2518. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2519. a, b, c = a, b, c
  2520. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2521. a, b, c = b, c, a
  2522. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2523. a, b, c = c, a, b
  2524. else
  2525. assert(false, "unreachable")
  2526. end
  2527.  
  2528. local len1 = (c-a):Dot((b-a).unit)
  2529. local len2 = (b-a).magnitude - len1
  2530. local width = (a + (b-a).unit*len1 - c).magnitude
  2531.  
  2532. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2533.  
  2534. local list = {}
  2535.  
  2536. if len1 > 0.01 then
  2537. local w1 = Instance.new('WedgePart', m)
  2538. game:GetService("Debris"):AddItem(w1,5)
  2539. w1.Material = "SmoothPlastic"
  2540. w1.FormFactor = 'Custom'
  2541. w1.BrickColor = BrickColor.new("Really red")
  2542. w1.Transparency = 0
  2543. w1.Reflectance = 0
  2544. w1.Material = "SmoothPlastic"
  2545. w1.CanCollide = false
  2546. local l1 = Instance.new("PointLight",w1)
  2547. l1.Color = Color3.new(170,0,0)
  2548. NoOutline(w1)
  2549. local sz = Vector3.new(0.2, width, len1)
  2550. w1.Size = sz
  2551. local sp = Instance.new("SpecialMesh",w1)
  2552. sp.MeshType = "Wedge"
  2553. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2554. w1:BreakJoints()
  2555. w1.Anchored = true
  2556. w1.Parent = workspace
  2557. w1.Transparency = 0.7
  2558. table.insert(Effects,{w1,"Disappear",.01})
  2559. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2560. table.insert(list,w1)
  2561. end
  2562.  
  2563. if len2 > 0.01 then
  2564. local w2 = Instance.new('WedgePart', m)
  2565. game:GetService("Debris"):AddItem(w2,5)
  2566. w2.Material = "SmoothPlastic"
  2567. w2.FormFactor = 'Custom'
  2568. w2.BrickColor = BrickColor.new("Really red")
  2569. w2.Transparency = 0
  2570. w2.Reflectance = 0
  2571. w2.Material = "SmoothPlastic"
  2572. w2.CanCollide = false
  2573. local l2 = Instance.new("PointLight",w2)
  2574. l2.Color = Color3.new(170,0,0)
  2575. NoOutline(w2)
  2576. local sz = Vector3.new(0.2, width, len2)
  2577. w2.Size = sz
  2578. local sp = Instance.new("SpecialMesh",w2)
  2579. sp.MeshType = "Wedge"
  2580. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2581. w2:BreakJoints()
  2582. w2.Anchored = true
  2583. w2.Parent = workspace
  2584. w2.Transparency = 0.7
  2585. table.insert(Effects,{w2,"Disappear",.01})
  2586. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2587. table.insert(list,w2)
  2588. end
  2589. return unpack(list)
  2590. end
  2591.  
  2592.  
  2593. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2594. if hit.Parent == nil then
  2595. return
  2596. end
  2597. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2598. for _, v in pairs(hit.Parent:children()) do
  2599. if v:IsA("Humanoid") then
  2600. h = v
  2601. end
  2602. end
  2603. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2604. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2605. return
  2606. end
  2607. local c = Create("ObjectValue")({
  2608. Name = "creator",
  2609. Value = game:GetService("Players").LocalPlayer,
  2610. Parent = h
  2611. })
  2612. game:GetService("Debris"):AddItem(c, 0.5)
  2613. if HitSound ~= nil and HitPitch ~= nil then
  2614. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2615. end
  2616. local Damage = math.random(minim, maxim)
  2617. local blocked = false
  2618. local block = hit.Parent:findFirstChild("Block")
  2619. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2620. blocked = true
  2621. block.Value = block.Value - 1
  2622. print(block.Value)
  2623. end
  2624. if blocked == false then
  2625. HitHealth = h.Health
  2626. h.MaxHealth = 100
  2627. h.Health = h.Health - Damage
  2628. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2629. print("gained kill")
  2630. dmg(h.Parent)
  2631. end
  2632. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2633. else
  2634. h.Health = h.Health - Damage / 2
  2635. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2636. end
  2637. if Type == "Knockdown" then
  2638. local hum = hit.Parent.Humanoid
  2639. hum.PlatformStand = true
  2640. coroutine.resume(coroutine.create(function(HHumanoid)
  2641. swait(1)
  2642. HHumanoid.PlatformStand = false
  2643. end), hum)
  2644. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2645. local bodvol = Create("BodyVelocity")({
  2646. velocity = angle * knockback,
  2647. P = 5000,
  2648. maxForce = Vector3.new(8000, 8000, 8000),
  2649. Parent = hit
  2650. })
  2651. local rl = Create("BodyAngularVelocity")({
  2652. P = 3000,
  2653. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2654. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2655. Parent = hit
  2656. })
  2657. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2658. game:GetService("Debris"):AddItem(rl, 0.5)
  2659. elseif Type == "Normal" then
  2660. local vp = Create("BodyVelocity")({
  2661. P = 500,
  2662. maxForce = Vector3.new(math.huge, 0, math.huge),
  2663. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2664. })
  2665. if knockback > 0 then
  2666. vp.Parent = hit.Parent.Head
  2667. end
  2668. game:GetService("Debris"):AddItem(vp, 0.5)
  2669. elseif Type == "Up" then
  2670. local bodyVelocity = Create("BodyVelocity")({
  2671. velocity = Vector3.new(0, 20, 0),
  2672. P = 5000,
  2673. maxForce = Vector3.new(8000, 8000, 8000),
  2674. Parent = hit
  2675. })
  2676. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2677. local bodyVelocity = Create("BodyVelocity")({
  2678. velocity = Vector3.new(0, 20, 0),
  2679. P = 5000,
  2680. maxForce = Vector3.new(8000, 8000, 8000),
  2681. Parent = hit
  2682. })
  2683. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2684. elseif Type == "Leech" then
  2685. local hum = hit.Parent.Humanoid
  2686. if hum ~= nil then
  2687. for i = 0, 2 do
  2688. 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)
  2689. end
  2690. Humanoid.Health = Humanoid.Health + 10
  2691. end
  2692. elseif Type == "UpKnock" then
  2693. local hum = hit.Parent.Humanoid
  2694. hum.PlatformStand = true
  2695. if hum ~= nil then
  2696. hitr = true
  2697. end
  2698. coroutine.resume(coroutine.create(function(HHumanoid)
  2699. swait(5)
  2700. HHumanoid.PlatformStand = false
  2701. hitr = false
  2702. end), hum)
  2703. local bodyVelocity = Create("BodyVelocity")({
  2704. velocity = Vector3.new(0, 20, 0),
  2705. P = 5000,
  2706. maxForce = Vector3.new(8000, 8000, 8000),
  2707. Parent = hit
  2708. })
  2709. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2710. local bodyVelocity = Create("BodyVelocity")({
  2711. velocity = Vector3.new(0, 20, 0),
  2712. P = 5000,
  2713. maxForce = Vector3.new(8000, 8000, 8000),
  2714. Parent = hit
  2715. })
  2716. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2717. elseif Type == "Snare" then
  2718. local bp = Create("BodyPosition")({
  2719. P = 2000,
  2720. D = 100,
  2721. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2722. position = hit.Parent.Torso.Position,
  2723. Parent = hit.Parent.Torso
  2724. })
  2725. game:GetService("Debris"):AddItem(bp, 1)
  2726. elseif Type == "Slashnare" then
  2727. 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)
  2728. for i = 1, math.random(4, 5) do
  2729. 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)
  2730. end
  2731. local bp = Create("BodyPosition")({
  2732. P = 2000,
  2733. D = 100,
  2734. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2735. position = hit.Parent.Torso.Position,
  2736. Parent = hit.Parent.Torso
  2737. })
  2738. game:GetService("Debris"):AddItem(bp, 1)
  2739. elseif Type == "Spike" then
  2740. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2741. local bp = Create("BodyPosition")({
  2742. P = 2000,
  2743. D = 100,
  2744. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2745. position = hit.Parent.Torso.Position,
  2746. Parent = hit.Parent.Torso
  2747. })
  2748. game:GetService("Debris"):AddItem(bp, 1)
  2749. elseif Type == "Freeze" then
  2750. local BodPos = Create("BodyPosition")({
  2751. P = 50000,
  2752. D = 1000,
  2753. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2754. position = hit.Parent.Torso.Position,
  2755. Parent = hit.Parent.Torso
  2756. })
  2757. local BodGy = Create("BodyGyro")({
  2758. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2759. P = 20000,
  2760. Parent = hit.Parent.Torso,
  2761. cframe = hit.Parent.Torso.CFrame
  2762. })
  2763. hit.Parent.Torso.Anchored = true
  2764. coroutine.resume(coroutine.create(function(Part)
  2765. swait(1.5)
  2766. Part.Anchored = false
  2767. end), hit.Parent.Torso)
  2768. game:GetService("Debris"):AddItem(BodPos, 3)
  2769. game:GetService("Debris"):AddItem(BodGy, 3)
  2770. end
  2771. local debounce = Create("BoolValue")({
  2772. Name = "DebounceHit",
  2773. Parent = hit.Parent,
  2774. Value = true
  2775. })
  2776. game:GetService("Debris"):AddItem(debounce, Delay)
  2777. c = Instance.new("ObjectValue")
  2778. c.Name = "creator"
  2779. c.Value = Player
  2780. c.Parent = h
  2781. game:GetService("Debris"):AddItem(c, 0.5)
  2782. end
  2783. end
  2784. function ShowDamage(Pos, Text, Time, Color)
  2785. local Rate = 0.03333333333333333
  2786. local Pos = Pos or Vector3.new(0, 0, 0)
  2787. local Text = Text or ""
  2788. local Time = Time or 2
  2789. local Color = Color or Color3.new(1, 0, 1)
  2790. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2791. EffectPart.Anchored = true
  2792. local BillboardGui = Create("BillboardGui")({
  2793. Size = UDim2.new(3, 0, 3, 0),
  2794. Adornee = EffectPart,
  2795. Parent = EffectPart
  2796. })
  2797. local TextLabel = Create("TextLabel")({
  2798. BackgroundTransparency = 1,
  2799. Size = UDim2.new(1, 0, 1, 0),
  2800. Text = Text,
  2801. TextColor3 = Color,
  2802. TextScaled = true,
  2803. Font = Enum.Font.ArialBold,
  2804. Parent = BillboardGui
  2805. })
  2806. game.Debris:AddItem(EffectPart, Time + 0.1)
  2807. EffectPart.Parent = game:GetService("Workspace")
  2808. delay(0, function()
  2809. local Frames = Time / Rate
  2810. for Frame = 1, Frames do
  2811. wait(Rate)
  2812. local Percent = Frame / Frames
  2813. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2814. TextLabel.TextTransparency = Percent
  2815. end
  2816. if EffectPart and EffectPart.Parent then
  2817. EffectPart:Destroy()
  2818. end
  2819. end)
  2820. end
  2821. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2822. for _, c in pairs(workspace:children()) do
  2823. local hum = c:findFirstChildOfClass("Humanoid")
  2824. if hum ~= nil then
  2825. local head = c:findFirstChild("Head")
  2826. if head ~= nil then
  2827. local targ = head.Position - Part.Position
  2828. local mag = targ.magnitude
  2829. if magni >= mag and c.Name ~= Player.Name then
  2830. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2831. end
  2832. end
  2833. end
  2834. end
  2835. end
  2836.  
  2837. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2838. for _, c in pairs(workspace:children()) do
  2839. local hum = c:findFirstChild("Humanoid")
  2840. if hum ~= nil then
  2841. local head = c:findFirstChild("Torso")
  2842. if head ~= nil then
  2843. local targ = head.Position - Part.Position
  2844. local mag = targ.magnitude
  2845. if magni >= mag and c.Name ~= Player.Name then
  2846. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2847. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2848. end
  2849. end
  2850. end
  2851. end
  2852. end
  2853.  
  2854. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2855. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2856. end
  2857.  
  2858. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2859. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2860. prt.Anchored=true
  2861. prt.CFrame=cframe
  2862. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2863. --http://www.roblox.com/asset/?id=4770560
  2864. game:GetService("Debris"):AddItem(prt,2)
  2865. CF=prt.CFrame
  2866. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2867. for i=0,1,0.2 do
  2868. wait()
  2869. Part.CFrame=CF*cf(0,0,-0.4)
  2870. end
  2871. for i=0,1,delay do
  2872. wait()
  2873. --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)
  2874. Mesh.Scale=Mesh.Scale
  2875. end
  2876. for i=0,1,0.1 do
  2877. wait()
  2878. Part.Transparency=i
  2879. end
  2880. Part.Parent=nil
  2881. end),prt,msh,CF)
  2882. end
  2883.  
  2884. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2885. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2886. prt.Anchored=true
  2887. prt.Material = "Neon"
  2888. prt.CFrame=cframe
  2889. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2890. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2891. game:GetService("Debris"):AddItem(prt,5)
  2892. coroutine.resume(coroutine.create(function(Part,Mesh)
  2893. for i=0,1,delay do
  2894. swait()
  2895. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2896. Part.Transparency=i
  2897. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2898. end
  2899. Part.Parent=nil
  2900. end),prt,msh)
  2901. end
  2902.  
  2903. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2904. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2905. prt.Anchored=true
  2906. prt.Material = "Neon"
  2907. prt.CFrame=cframe
  2908. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2909. game:GetService("Debris"):AddItem(prt,5)
  2910. coroutine.resume(coroutine.create(function(Part,Mesh)
  2911. local rtype = rottype
  2912. for i=0,1,delay do
  2913. swait()
  2914. if rtype == 1 then
  2915. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2916. elseif rtype == 2 then
  2917. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2918. end
  2919. Part.Transparency=i
  2920. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2921. end
  2922. Part.Parent=nil
  2923. end),prt,msh)
  2924. end
  2925.  
  2926. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2927. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2928. prt.Anchored=true
  2929. prt.CFrame=cframe
  2930. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2931. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2932. game:GetService("Debris"):AddItem(prt,5)
  2933. coroutine.resume(coroutine.create(function(Part,Mesh)
  2934. for i=0,1,delay do
  2935. wait()
  2936. Part.Transparency=i
  2937. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2938. end
  2939. Part.Parent=nil
  2940. end),prt,msh)
  2941. end
  2942.  
  2943. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2944. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2945. prt.Anchored=true
  2946. prt.Material = "Neon"
  2947. prt.CFrame=cframe
  2948. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2949. game:GetService("Debris"):AddItem(prt,5)
  2950. coroutine.resume(coroutine.create(function(Part,Mesh)
  2951. local rtype = rottype
  2952. for i=0,1,delay do
  2953. swait()
  2954. if rtype == 1 then
  2955. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2956. elseif rtype == 2 then
  2957. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2958. end
  2959. Part.Transparency=i
  2960. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2961. end
  2962. Part.Parent=nil
  2963. end),prt,msh)
  2964. end
  2965. local refec = Instance.new("ParticleEmitter",handlex)
  2966. refec.Texture = "rbxassetid://249270319"
  2967. refec.LightEmission = 0.95
  2968. refec.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  2969. refec.Rate = 50
  2970. refec.Lifetime = NumberRange.new(0.5)
  2971. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  2972. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  2973. refec.Speed = NumberRange.new(0,2)
  2974. refec.Drag = 5
  2975. refec.LockedToPart = true
  2976. refec.Rotation = NumberRange.new(-500,500)
  2977. refec.VelocitySpread = 9000
  2978. refec.RotSpeed = NumberRange.new(-500,500)
  2979.  
  2980. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2981. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2982. prt.Anchored=true
  2983. prt.Material = "Neon"
  2984. prt.CFrame=cframe
  2985. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2986. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2987. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2988. game:GetService("Debris"):AddItem(prt,5)
  2989. coroutine.resume(coroutine.create(function(Part,Mesh)
  2990. local rtype = rottype
  2991. for i=0,1,delay do
  2992. swait()
  2993. if rtype == 1 then
  2994. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2995. elseif rtype == 2 then
  2996. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2997. end
  2998. dec.Transparency=i
  2999. dec2.Transparency=i
  3000. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3001. end
  3002. Part.Parent=nil
  3003. end),prt,msh)
  3004. end
  3005.  
  3006. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  3007. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3008. prt.Anchored=true
  3009. prt.Material = "Neon"
  3010. prt.CFrame=cframe
  3011. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3012. game:GetService("Debris"):AddItem(prt,5)
  3013. coroutine.resume(coroutine.create(function(Part,Mesh)
  3014. local rtype = rottype
  3015. for i=0,1,delay do
  3016. swait()
  3017. if rtype == 1 then
  3018. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3019. elseif rtype == 2 then
  3020. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3021. end
  3022. prt.Transparency=i
  3023. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3024. end
  3025. Part.Parent=nil
  3026. end),prt,msh)
  3027. end
  3028.  
  3029. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  3030. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3031. prt.Anchored=true
  3032. prt.Material = "Neon"
  3033. prt.CFrame=cframe
  3034. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  3035. game:GetService("Debris"):AddItem(prt,5)
  3036. coroutine.resume(coroutine.create(function(Part,Mesh)
  3037. local rtype = rottype
  3038. for i=0,1,delay do
  3039. swait()
  3040. if rtype == 1 then
  3041. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  3042. elseif rtype == 2 then
  3043. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  3044. end
  3045. prt.Transparency=i
  3046. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  3047. end
  3048. Part.Parent=nil
  3049. end),prt,msh)
  3050. end
  3051.  
  3052. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  3053. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3054. prt.Anchored=true
  3055. prt.Material = "Neon"
  3056. prt.CFrame=cframe
  3057. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3058. game:GetService("Debris"):AddItem(prt,5)
  3059. coroutine.resume(coroutine.create(function(Part,Mesh)
  3060. local rtype = rottype
  3061. for i=0,1,delay do
  3062. swait()
  3063. if rtype == 1 then
  3064. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3065. elseif rtype == 2 then
  3066. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3067. end
  3068. prt.Transparency=i
  3069. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3070. end
  3071. Part.Parent=nil
  3072. end),prt,msh)
  3073. end
  3074.  
  3075. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3076. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3077. prt.Anchored=true
  3078. prt.Material = "Neon"
  3079. prt.CFrame=cframe
  3080. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3081. game:GetService("Debris"):AddItem(prt,5)
  3082. coroutine.resume(coroutine.create(function(Part,Mesh)
  3083. local rtype = rottype
  3084. for i=0,1,delay do
  3085. swait()
  3086. if rtype == 1 then
  3087. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3088. elseif rtype == 2 then
  3089. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3090. end
  3091. prt.Transparency=i
  3092. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3093. end
  3094. Part.Parent=nil
  3095. end),prt,msh)
  3096. end
  3097.  
  3098. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3099. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3100. prt.Anchored=false
  3101. prt.CFrame=cframe
  3102. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3103. local wld=weld(prt,prt,Parent,cframe)
  3104. game:GetService("Debris"):AddItem(prt,5)
  3105. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3106. for i=0,1,delay do
  3107. wait()
  3108. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3109. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3110. Part.Transparency=i
  3111. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3112. end
  3113. Part.Parent=nil
  3114. end),prt,msh,wld)
  3115. end
  3116.  
  3117. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3118. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3119. prt.Anchored=false
  3120. prt.CFrame=cframe
  3121. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3122. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3123. game:GetService("Debris"):AddItem(prt,5)
  3124. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3125. for i=0,1,delay do
  3126. wait()
  3127. Weld.C0=euler(i*20,0,0)
  3128. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3129. Part.Transparency=i
  3130. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3131. end
  3132. Part.Parent=nil
  3133. end),prt,msh,wld)
  3134. end
  3135.  
  3136. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3137. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3138. prt.Anchored=true
  3139. prt.CFrame=cframe
  3140. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3141. game:GetService("Debris"):AddItem(prt,2)
  3142. coroutine.resume(coroutine.create(function(Part,Mesh)
  3143. for i=0,1,delay do
  3144. wait()
  3145. Part.CFrame=Part.CFrame
  3146. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3147. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3148. prt2.Anchored=true
  3149. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3150. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3151. game:GetService("Debris"):AddItem(prt2,2)
  3152. coroutine.resume(coroutine.create(function(Part,Mesh)
  3153. for i=0,1,0.1 do
  3154. wait()
  3155. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3156. end
  3157. Part.Parent=nil
  3158. end),prt2,msh2)
  3159. end
  3160. for i=0,1,delay*2 do
  3161. wait()
  3162. Part.CFrame=Part.CFrame
  3163. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3164. end
  3165. Part.Parent=nil
  3166. end),prt,msh)
  3167. end
  3168.  
  3169. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3170. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3171. prt.Anchored=true
  3172. prt.CFrame=cframe
  3173. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3174. game:GetService("Debris"):AddItem(prt,2)
  3175. coroutine.resume(coroutine.create(function(Part,Mesh)
  3176. for i=0,1,delay do
  3177. wait()
  3178. Part.CFrame=Part.CFrame
  3179. Part.Transparency=i
  3180. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3181. end
  3182. Part.Parent=nil
  3183. end),prt,msh)
  3184. end
  3185.  
  3186. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3187. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3188. prt.Anchored=true
  3189. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3190. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3191. game:GetService("Debris"):AddItem(prt,2)
  3192. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3193. CF=Part.CFrame
  3194. Numbb=0
  3195. randnumb=math.random()/10
  3196. rand1=math.random()/10
  3197. for i=0,1,rand1 do
  3198. wait()
  3199. CF=CF*cf(0,math.random()/2,0)
  3200. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3201. Part.CFrame=CF*euler(Numbb,0,0)
  3202. Part.Transparency=i
  3203. Numbb=Numbb+randnumb
  3204. end
  3205. Part.Parent=nil
  3206. end),prt,CF,Numbb,randnumb)
  3207. end
  3208.  
  3209. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3210. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3211. prt.Anchored=true
  3212. prt.CFrame=cframe
  3213. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3214. game:GetService("Debris"):AddItem(prt,5)
  3215. coroutine.resume(coroutine.create(function(Part,Mesh)
  3216. for i=0,1,delay do
  3217. wait()
  3218. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3219. Part.Transparency=i
  3220. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3221. end
  3222. Part.Parent=nil
  3223. end),prt,msh)
  3224. end
  3225.  
  3226. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3227. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3228. prt.Anchored=true
  3229. prt.CFrame=cframe
  3230. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3231. game:GetService("Debris"):AddItem(prt,2)
  3232. coroutine.resume(coroutine.create(function(Part,Mesh)
  3233. for i=0,1,delay do
  3234. wait()
  3235. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3236. Part.Transparency=i
  3237. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3238. end
  3239. Part.Parent=nil
  3240. end),prt,msh)
  3241. end
  3242.  
  3243. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3244. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3245. prt.Anchored=true
  3246. prt.CFrame=cframe*cf(x,y,z)
  3247. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3248. game:GetService("Debris"):AddItem(prt,5)
  3249. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3250. local num=math.random()
  3251. local num2=math.random(-3,2)+math.random()
  3252. local numm=0
  3253. for i=0,1,delay*2 do
  3254. swait()
  3255. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3256. Part.Transparency=i
  3257. numm=numm+0.01
  3258. end
  3259. Part.Parent=nil
  3260. Mesh.Parent=nil
  3261. end),prt,msh,x,y,z)
  3262. end
  3263.  
  3264. function dmgstart(dmg,what)
  3265. hitcon = what.Touched:connect(function(hit)
  3266. local hum = hit.Parent:FindFirstChild("Humanoid")
  3267. if hum and not hum:IsDescendantOf(Character) then
  3268. hum:TakeDamage(dmg)
  3269. end
  3270. end)
  3271. end
  3272.  
  3273. function dmgstop()
  3274. hitcon:disconnect()
  3275. end
  3276.  
  3277. function Cloak()
  3278. Face.Parent=nil
  3279. cloaked=true
  3280. for _,v in pairs(Torso.Parent:children()) do
  3281. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3282. coroutine.resume(coroutine.create(function()
  3283. for i=0,1,0.2 do
  3284. wait()
  3285. v.Transparency=i
  3286. end
  3287. v.Transparency=1
  3288. end))
  3289. end
  3290. if v.className=="Hat" then
  3291. hatp=v.Handle
  3292. coroutine.resume(coroutine.create(function(derp)
  3293. for i=0,1,0.2 do
  3294. wait()
  3295. derp.Transparency=i
  3296. end
  3297. derp.Transparency=1
  3298. end),hatp)
  3299. end
  3300. end
  3301. for _,v in pairs(m:children()) do
  3302. if v.className=="Part" then
  3303. coroutine.resume(coroutine.create(function()
  3304. for i=0,1,0.2 do
  3305. wait()
  3306. v.Transparency=i
  3307. end
  3308. v.Transparency=1
  3309. end))
  3310. end
  3311. end
  3312. end
  3313.  
  3314. function UnCloak()
  3315. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  3316. Face.Parent=Head
  3317. cloaked=false
  3318. for _,v in pairs(Torso.Parent:children()) do
  3319. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3320. coroutine.resume(coroutine.create(function()
  3321. for i=0,1,0.1 do
  3322. wait()
  3323. v.Transparency=v.Transparency-0.1
  3324. end
  3325. v.Transparency=0
  3326. end))
  3327. end
  3328. if v.className=="Hat" then
  3329. hatp=v.Handle
  3330. coroutine.resume(coroutine.create(function(derp)
  3331. for i=0,1,0.1 do
  3332. wait()
  3333. derp.Transparency=derp.Transparency-0.1
  3334. end
  3335. derp.Transparency=0
  3336. end),hatp)
  3337. end
  3338. end
  3339. for _,v in pairs(m:children()) do
  3340. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  3341. coroutine.resume(coroutine.create(function()
  3342. for i=0,1,0.1 do
  3343. wait()
  3344. v.Transparency=v.Transparency-0.1
  3345. end
  3346. v.Transparency=0
  3347. end))
  3348. v.Transparency=0
  3349. end
  3350. end
  3351. end
  3352.  
  3353. local origcolor = BrickColor.new("Pastel light blue")
  3354. ---- This section of explosions.
  3355.  
  3356. ----
  3357.  
  3358.  
  3359. function ring(type,pos,scale,value)
  3360. local type = type
  3361. local rng = Instance.new("Part", char)
  3362. rng.Anchored = true
  3363. rng.BrickColor = origcolor
  3364. rng.CanCollide = false
  3365. rng.FormFactor = 3
  3366. rng.Name = "Ring"
  3367. rng.Size = Vector3.new(1, 1, 1)
  3368. rng.Transparency = 0
  3369. rng.TopSurface = 0
  3370. rng.BottomSurface = 0
  3371. rng.CFrame = pos
  3372. local rngm = Instance.new("SpecialMesh", rng)
  3373. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3374. rngm.Scale = scale
  3375. local scaler2 = 1
  3376. if type == "Add" then
  3377. scaler2 = 1*value
  3378. elseif type == "Divide" then
  3379. scaler2 = 1/value
  3380. end
  3381. coroutine.resume(coroutine.create(function()
  3382. for i = 0,10,0.1 do
  3383. swait()
  3384. if type == "Add" then
  3385. scaler2 = scaler2 - 0.01*value
  3386. elseif type == "Divide" then
  3387. scaler2 = scaler2 - 0.01/value
  3388. end
  3389. rng.Transparency = rng.Transparency + 0.01
  3390. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3391. end
  3392. rng:Destroy()
  3393. end))
  3394. end
  3395.  
  3396.  
  3397. function wave(type,pos,scale,value)
  3398. local type = type
  3399. local rng = Instance.new("Part", char)
  3400. rng.Anchored = true
  3401. rng.BrickColor = origcolor
  3402. rng.CanCollide = false
  3403. rng.FormFactor = 3
  3404. rng.Name = "Ring"
  3405. rng.Size = Vector3.new(1, 1, 1)
  3406. rng.Transparency = 0
  3407. rng.TopSurface = 0
  3408. rng.BottomSurface = 0
  3409. rng.CFrame = pos
  3410. local rngm = Instance.new("SpecialMesh", rng)
  3411. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3412. rngm.Scale = scale
  3413. local scaler2 = 1
  3414. if type == "Add" then
  3415. scaler2 = 1*value
  3416. elseif type == "Divide" then
  3417. scaler2 = 1/value
  3418. end
  3419. coroutine.resume(coroutine.create(function()
  3420. for i = 0,10,0.1 do
  3421. swait()
  3422. if type == "Add" then
  3423. scaler2 = scaler2 - 0.01*value
  3424. elseif type == "Divide" then
  3425. scaler2 = scaler2 - 0.01/value
  3426. end
  3427. rng.Transparency = rng.Transparency + 0.01
  3428. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3429. end
  3430. rng:Destroy()
  3431. end))
  3432. end
  3433.  
  3434. function wind(type,pos,scale,value,speed)
  3435. local type = type
  3436. local rng = Instance.new("Part", char)
  3437. rng.Anchored = true
  3438. rng.BrickColor = origcolor
  3439. rng.CanCollide = false
  3440. rng.FormFactor = 3
  3441. rng.Name = "Ring"
  3442. rng.Size = Vector3.new(1, 1, 1)
  3443. rng.Transparency = 0
  3444. rng.TopSurface = 0
  3445. rng.BottomSurface = 0
  3446. rng.CFrame = pos
  3447. local rngm = Instance.new("SpecialMesh", rng)
  3448. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3449. rngm.Scale = scale
  3450. local scaler2 = 1
  3451. if type == "Add" then
  3452. scaler2 = 1*value
  3453. elseif type == "Divide" then
  3454. scaler2 = 1/value
  3455. end
  3456. coroutine.resume(coroutine.create(function()
  3457. for i = 0,10,0.1 do
  3458. swait()
  3459. if type == "Add" then
  3460. scaler2 = scaler2 - 0.01*value
  3461. elseif type == "Divide" then
  3462. scaler2 = scaler2 - 0.01/value
  3463. end
  3464. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3465. rng.Transparency = rng.Transparency + 0.01
  3466. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3467. end
  3468. rng:Destroy()
  3469. end))
  3470. end
  3471.  
  3472. function groundwind(type,pos,scale,value,speed)
  3473. local type = type
  3474. local rng = Instance.new("Part", char)
  3475. rng.Anchored = true
  3476. rng.BrickColor = origcolor
  3477. rng.CanCollide = false
  3478. rng.FormFactor = 3
  3479. rng.Name = "Ring"
  3480. rng.Size = Vector3.new(1, 1, 1)
  3481. rng.Transparency = 0
  3482. rng.TopSurface = 0
  3483. rng.BottomSurface = 0
  3484. rng.CFrame = pos
  3485. local rngm = Instance.new("SpecialMesh", rng)
  3486. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3487. rngm.Scale = scale
  3488. local scaler2 = 1
  3489. if type == "Add" then
  3490. scaler2 = 1*value
  3491. elseif type == "Divide" then
  3492. scaler2 = 1/value
  3493. end
  3494. coroutine.resume(coroutine.create(function()
  3495. for i = 0,10,0.1 do
  3496. swait()
  3497. if type == "Add" then
  3498. scaler2 = scaler2 - 0.01*value
  3499. elseif type == "Divide" then
  3500. scaler2 = scaler2 - 0.01/value
  3501. end
  3502. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3503. rng.Transparency = rng.Transparency + 0.01
  3504. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3505. end
  3506. rng:Destroy()
  3507. end))
  3508. end
  3509.  
  3510. function CameraManager()
  3511. if TwoD and not CamInterrupt then
  3512. if Humanoid.Health > 0 then
  3513. Camera.CameraSubject = Humanoid
  3514. Camera.CameraType = "Scriptable"
  3515. Humanoid.AutoRotate = false
  3516. if Booleans.GyroUse then
  3517. Directer.MaxTorque = Vec3(0, huge, 0)
  3518. else
  3519. Directer.MaxTorque = Vec3(0, 0, 0)
  3520. end
  3521. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3522. if Booleans.CamFollow then
  3523. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3524. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3525. else
  3526. CPart.Position = RootPart.Position
  3527. end
  3528. else
  3529. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3530. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3531. end
  3532. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3533. else
  3534. Camera.CameraSubject = Humanoid
  3535. Camera.CameraType = "Custom"
  3536. Controller.Disabled = false
  3537. end
  3538. end
  3539. end
  3540.  
  3541. function ring(type,pos,scale,value)
  3542. local type = type
  3543. local rng = Instance.new("Part", char)
  3544. rng.Anchored = true
  3545. rng.BrickColor = origcolor
  3546. rng.CanCollide = false
  3547. rng.FormFactor = 3
  3548. rng.Name = "Ring"
  3549. rng.Size = Vector3.new(1, 1, 1)
  3550. rng.Transparency = 0
  3551. rng.TopSurface = 0
  3552. rng.BottomSurface = 0
  3553. rng.CFrame = pos
  3554. local rngm = Instance.new("SpecialMesh", rng)
  3555. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3556. rngm.Scale = scale
  3557. local scaler2 = 1
  3558. if type == "Add" then
  3559. scaler2 = 1*value
  3560. elseif type == "Divide" then
  3561. scaler2 = 1/value
  3562. end
  3563. coroutine.resume(coroutine.create(function()
  3564. for i = 0,10,0.1 do
  3565. swait()
  3566. if type == "Add" then
  3567. scaler2 = scaler2 - 0.01*value
  3568. elseif type == "Divide" then
  3569. scaler2 = scaler2 - 0.01/value
  3570. end
  3571. rng.Transparency = rng.Transparency + 0.01
  3572. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3573. end
  3574. rng:Destroy()
  3575. end))
  3576. end
  3577.  
  3578.  
  3579. function wave(type,pos,scale,value)
  3580. local type = type
  3581. local rng = Instance.new("Part", char)
  3582. rng.Anchored = true
  3583. rng.BrickColor = origcolor
  3584. rng.CanCollide = false
  3585. rng.FormFactor = 3
  3586. rng.Name = "Ring"
  3587. rng.Size = Vector3.new(1, 1, 1)
  3588. rng.Transparency = 0
  3589. rng.TopSurface = 0
  3590. rng.BottomSurface = 0
  3591. rng.CFrame = pos
  3592. local rngm = Instance.new("SpecialMesh", rng)
  3593. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3594. rngm.Scale = scale
  3595. local scaler2 = 1
  3596. if type == "Add" then
  3597. scaler2 = 1*value
  3598. elseif type == "Divide" then
  3599. scaler2 = 1/value
  3600. end
  3601. coroutine.resume(coroutine.create(function()
  3602. for i = 0,10,0.1 do
  3603. swait()
  3604. if type == "Add" then
  3605. scaler2 = scaler2 - 0.01*value
  3606. elseif type == "Divide" then
  3607. scaler2 = scaler2 - 0.01/value
  3608. end
  3609. rng.Transparency = rng.Transparency + 0.01
  3610. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3611. end
  3612. rng:Destroy()
  3613. end))
  3614. end
  3615.  
  3616. function sphere(bonuspeed,type,pos,scale,value,color)
  3617. local type = type
  3618. local rng = Instance.new("Part", char)
  3619. rng.Anchored = true
  3620. if ModeOfGlitch ~= 9 then
  3621. rng.BrickColor = color
  3622. elseif ModeOfGlitch == 9 then
  3623. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3624. end
  3625. rng.CanCollide = false
  3626. rng.FormFactor = 3
  3627. rng.Name = "Ring"
  3628. rng.Material = "Neon"
  3629. rng.Size = Vector3.new(1, 1, 1)
  3630. rng.Transparency = 0
  3631. rng.TopSurface = 0
  3632. rng.BottomSurface = 0
  3633. rng.CFrame = pos
  3634. local rngm = Instance.new("SpecialMesh", rng)
  3635. rngm.MeshType = "Sphere"
  3636. rngm.Scale = scale
  3637. if rainbowmode == true then
  3638. rng.Color = Color3.new(r/255,g/255,b/255)
  3639. end
  3640. if ModeOfGlitch == 9 then
  3641. coroutine.resume(coroutine.create(function()
  3642. while true do
  3643. swait()
  3644. if rng.Parent ~= nil then
  3645. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3646. else
  3647. break
  3648. end
  3649. end
  3650. end))
  3651. end
  3652. local scaler2 = 1
  3653. if type == "Add" then
  3654. scaler2 = 1*value
  3655. elseif type == "Divide" then
  3656. scaler2 = 1/value
  3657. end
  3658. coroutine.resume(coroutine.create(function()
  3659. for i = 0,10/bonuspeed,0.1 do
  3660. swait()
  3661. if rainbowmode == true then
  3662. rng.Color = Color3.new(r/255,g/255,b/255)
  3663. end
  3664. if type == "Add" then
  3665. scaler2 = scaler2 - 0.01*value/bonuspeed
  3666. elseif type == "Divide" then
  3667. scaler2 = scaler2 - 0.01/value*bonuspeed
  3668. end
  3669. if chaosmode == true then
  3670. rng.BrickColor = BrickColor.random()
  3671. end
  3672. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3673. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3674. end
  3675. rng:Destroy()
  3676. end))
  3677. end
  3678.  
  3679. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3680. local type = type
  3681. local rng = Instance.new("Part", char)
  3682. rng.Anchored = true
  3683. if ModeOfGlitch ~= 9 then
  3684. rng.BrickColor = color
  3685. elseif ModeOfGlitch == 9 then
  3686. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3687. end
  3688. rng.CanCollide = false
  3689. rng.FormFactor = 3
  3690. rng.Name = "Ring"
  3691. rng.Material = "Neon"
  3692. rng.Size = Vector3.new(1, 1, 1)
  3693. rng.Transparency = 0
  3694. rng.TopSurface = 0
  3695. rng.BottomSurface = 0
  3696. rng.CFrame = pos
  3697. local rngm = Instance.new("SpecialMesh", rng)
  3698. rngm.MeshType = "Sphere"
  3699. rngm.Scale = scale
  3700. local scaler2 = 1
  3701. local scaler2b = 1
  3702. local scaler2c = 1
  3703. if type == "Add" then
  3704. scaler2 = 1*value
  3705. scaler2b = 1*value2
  3706. scaler2c = 1*value3
  3707. elseif type == "Divide" then
  3708. scaler2 = 1/value
  3709. scaler2b = 1/value2
  3710. scaler2c = 1/value3
  3711. end
  3712. if ModeOfGlitch == 9 then
  3713. coroutine.resume(coroutine.create(function()
  3714. while true do
  3715. swait()
  3716. if rng.Parent ~= nil then
  3717. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3718. else
  3719. break
  3720. end
  3721. end
  3722. end))
  3723. end
  3724. coroutine.resume(coroutine.create(function()
  3725. for i = 0,10/bonuspeed,0.1 do
  3726. swait()
  3727. if type == "Add" then
  3728. scaler2 = scaler2 - 0.01*value/bonuspeed
  3729. scaler2b = scaler2b - 0.01*value/bonuspeed
  3730. scaler2c = scaler2c - 0.01*value/bonuspeed
  3731. elseif type == "Divide" then
  3732. scaler2 = scaler2 - 0.01/value*bonuspeed
  3733. scaler2b = scaler2b - 0.01/value*bonuspeed
  3734. scaler2c = scaler2c - 0.01/value*bonuspeed
  3735. end
  3736. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3737. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3738. end
  3739. rng:Destroy()
  3740. end))
  3741. end
  3742.  
  3743. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3744. local type = type
  3745. local rotenable = rotatingop
  3746. local rng = Instance.new("Part", char)
  3747. rng.Anchored = true
  3748. rng.BrickColor = color
  3749. rng.CanCollide = false
  3750. rng.FormFactor = 3
  3751. rng.Name = "Ring"
  3752. rng.Material = "Neon"
  3753. rng.Size = Vector3.new(1, 1, 1)
  3754. rng.Transparency = 0
  3755. if typeoftrans == "In" then
  3756. rng.Transparency = 1
  3757. end
  3758. rng.TopSurface = 0
  3759. rng.BottomSurface = 0
  3760. rng.CFrame = pos
  3761. local rngm = Instance.new("SpecialMesh", rng)
  3762. rngm.MeshType = "FileMesh"
  3763. if typeofshape == "Normal" then
  3764. rngm.MeshId = "rbxassetid://662586858"
  3765. elseif typeofshape == "Round" then
  3766. rngm.MeshId = "rbxassetid://662585058"
  3767. end
  3768. rngm.Scale = scale
  3769. local scaler2 = 1/10
  3770. if type == "Add" then
  3771. scaler2 = 1*value/10
  3772. elseif type == "Divide" then
  3773. scaler2 = 1/value/10
  3774. end
  3775. local randomrot = math.random(1,2)
  3776. coroutine.resume(coroutine.create(function()
  3777. for i = 0,10/bonuspeed,0.1 do
  3778. swait()
  3779. if type == "Add" then
  3780. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3781. elseif type == "Divide" then
  3782. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3783. end
  3784. if rotenable == true then
  3785. if randomrot == 1 then
  3786. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3787. elseif randomrot == 2 then
  3788. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3789. end
  3790. end
  3791. if typeoftrans == "Out" then
  3792. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3793. elseif typeoftrans == "In" then
  3794. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3795. end
  3796. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3797. end
  3798. rng:Destroy()
  3799. end))
  3800. end
  3801.  
  3802. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3803. local type = type
  3804. local rng = Instance.new("Part", char)
  3805. rng.Anchored = true
  3806. rng.BrickColor = color
  3807. rng.CanCollide = false
  3808. rng.FormFactor = 3
  3809. rng.Name = "Ring"
  3810. rng.Material = "Neon"
  3811. rng.Size = Vector3.new(1, 1, 1)
  3812. rng.Transparency = 0
  3813. rng.TopSurface = 0
  3814. rng.BottomSurface = 0
  3815. rng.CFrame = pos
  3816. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3817. local rngm = Instance.new("SpecialMesh", rng)
  3818. rngm.MeshType = "Brick"
  3819. rngm.Scale = vt(x1,y1,z1)
  3820. if rainbowmode == true then
  3821. rng.Color = Color3.new(r/255,g/255,b/255)
  3822. end
  3823. local scaler2 = 1
  3824. local speeder = FastSpeed/10
  3825. if type == "Add" then
  3826. scaler2 = 1*value
  3827. elseif type == "Divide" then
  3828. scaler2 = 1/value
  3829. end
  3830. coroutine.resume(coroutine.create(function()
  3831. for i = 0,10/bonuspeed,0.1 do
  3832. swait()
  3833. if rainbowmode == true then
  3834. rng.Color = Color3.new(r/255,g/255,b/255)
  3835. end
  3836. if type == "Add" then
  3837. scaler2 = scaler2 - 0.01*value/bonuspeed
  3838. elseif type == "Divide" then
  3839. scaler2 = scaler2 - 0.01/value*bonuspeed
  3840. end
  3841. if chaosmode == true then
  3842. rng.BrickColor = BrickColor.random()
  3843. end
  3844. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3845. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3846. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3847. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3848. end
  3849. rng:Destroy()
  3850. end))
  3851. end
  3852.  
  3853. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3854. local type = type
  3855. local rng = Instance.new("Part", char)
  3856. rng.Anchored = true
  3857. rng.BrickColor = color
  3858. rng.CanCollide = false
  3859. rng.FormFactor = 3
  3860. rng.Name = "Ring"
  3861. rng.Material = "Neon"
  3862. rng.Size = Vector3.new(1, 1, 1)
  3863. rng.Transparency = 0
  3864. rng.TopSurface = 0
  3865. rng.BottomSurface = 0
  3866. rng.CFrame = pos
  3867. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3868. local rngm = Instance.new("SpecialMesh", rng)
  3869. rngm.MeshType = "Brick"
  3870. rngm.Scale = vt(x1,y1,z1)
  3871. if rainbowmode == true then
  3872. rng.Color = Color3.new(r/255,g/255,b/255)
  3873. end
  3874. local scaler2 = 1
  3875. local speeder = FastSpeed/10
  3876. if type == "Add" then
  3877. scaler2 = 1*value
  3878. elseif type == "Divide" then
  3879. scaler2 = 1/value
  3880. end
  3881. coroutine.resume(coroutine.create(function()
  3882. for i = 0,10/bonuspeed,0.1 do
  3883. swait()
  3884. if rainbowmode == true then
  3885. rng.Color = Color3.new(r/255,g/255,b/255)
  3886. end
  3887. if type == "Add" then
  3888. scaler2 = scaler2 - 0.01*value/bonuspeed
  3889. elseif type == "Divide" then
  3890. scaler2 = scaler2 - 0.01/value*bonuspeed
  3891. end
  3892. if chaosmode == true then
  3893. rng.BrickColor = BrickColor.random()
  3894. end
  3895. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3896. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3897. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3898. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3899. end
  3900. rng:Destroy()
  3901. end))
  3902. end
  3903.  
  3904. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3905. local type = type
  3906. local rng = Instance.new("Part", char)
  3907. rng.Anchored = true
  3908. rng.BrickColor = color
  3909. rng.CanCollide = false
  3910. rng.FormFactor = 3
  3911. rng.Name = "Ring"
  3912. rng.Material = "Neon"
  3913. rng.Size = Vector3.new(1, 1, 1)
  3914. rng.Transparency = 0
  3915. rng.TopSurface = 0
  3916. rng.BottomSurface = 0
  3917. rng.CFrame = pos
  3918. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3919. local rngm = Instance.new("SpecialMesh", rng)
  3920. rngm.MeshType = "Brick"
  3921. rngm.Scale = vt(x1,y1,z1)
  3922. if rainbowmode == true then
  3923. rng.Color = Color3.new(r/255,g/255,b/255)
  3924. end
  3925. local scaler2 = 0
  3926. local speeder = FastSpeed/10
  3927. if type == "Add" then
  3928. scaler2 = 1*value
  3929. elseif type == "Divide" then
  3930. scaler2 = 1/value
  3931. end
  3932. coroutine.resume(coroutine.create(function()
  3933. for i = 0,10/bonuspeed,0.1 do
  3934. swait()
  3935. if rainbowmode == true then
  3936. rng.Color = Color3.new(r/255,g/255,b/255)
  3937. end
  3938. if type == "Add" then
  3939. scaler2 = scaler2 - 0.01*value/bonuspeed
  3940. elseif type == "Divide" then
  3941. scaler2 = scaler2 - 0.01/value*bonuspeed
  3942. end
  3943. if chaosmode == true then
  3944. rng.BrickColor = BrickColor.random()
  3945. end
  3946. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3947. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3948. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3949. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3950. end
  3951. rng:Destroy()
  3952. end))
  3953. end
  3954.  
  3955. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3956. local type = type
  3957. local rng = Instance.new("Part", char)
  3958. rng.Anchored = true
  3959. rng.BrickColor = color
  3960. rng.Color = color3
  3961. rng.CanCollide = false
  3962. rng.FormFactor = 3
  3963. rng.Name = "Ring"
  3964. rng.Material = "Neon"
  3965. rng.Size = Vector3.new(1, 1, 1)
  3966. rng.Transparency = 0
  3967. rng.TopSurface = 0
  3968. rng.BottomSurface = 0
  3969. rng.CFrame = pos
  3970. local rngm = Instance.new("SpecialMesh", rng)
  3971. rngm.MeshType = "Brick"
  3972. rngm.Scale = scale
  3973. local scaler2 = 1
  3974. local scaler2b = 1
  3975. local scaler2c = 1
  3976. if type == "Add" then
  3977. scaler2 = 1*value
  3978. scaler2b = 1*value2
  3979. scaler2c = 1*value3
  3980. elseif type == "Divide" then
  3981. scaler2 = 1/value
  3982. scaler2b = 1/value2
  3983. scaler2c = 1/value3
  3984. end
  3985. coroutine.resume(coroutine.create(function()
  3986. for i = 0,10/bonuspeed,0.1 do
  3987. swait()
  3988. if type == "Add" then
  3989. scaler2 = scaler2 - 0.01*value/bonuspeed
  3990. scaler2b = scaler2b - 0.01*value/bonuspeed
  3991. scaler2c = scaler2c - 0.01*value/bonuspeed
  3992. elseif type == "Divide" then
  3993. scaler2 = scaler2 - 0.01/value*bonuspeed
  3994. scaler2b = scaler2b - 0.01/value*bonuspeed
  3995. scaler2c = scaler2c - 0.01/value*bonuspeed
  3996. end
  3997. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3998. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3999. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  4000. end
  4001. rng:Destroy()
  4002. end))
  4003. end
  4004.  
  4005. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4006. local type = type
  4007. local rng = Instance.new("Part", char)
  4008. rng.Anchored = true
  4009. if ModeOfGlitch ~= 9 then
  4010. rng.BrickColor = color
  4011. elseif ModeOfGlitch == 9 then
  4012. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4013. end
  4014. rng.CanCollide = false
  4015. rng.FormFactor = 3
  4016. rng.Name = "Ring"
  4017. rng.Material = "Neon"
  4018. rng.Size = Vector3.new(1, 1, 1)
  4019. rng.Transparency = 0
  4020. rng.TopSurface = 0
  4021. rng.BottomSurface = 0
  4022. rng.CFrame = pos
  4023. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4024. local rngm = Instance.new("SpecialMesh", rng)
  4025. rngm.MeshType = "Sphere"
  4026. rngm.Scale = vt(x1,y1,z1)
  4027. if rainbowmode == true then
  4028. rng.Color = Color3.new(r/255,g/255,b/255)
  4029. end
  4030. if ModeOfGlitch == 9 then
  4031. coroutine.resume(coroutine.create(function()
  4032. while true do
  4033. swait()
  4034. if rng.Parent ~= nil then
  4035. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4036. else
  4037. break
  4038. end
  4039. end
  4040. end))
  4041. end
  4042. local scaler2 = 1
  4043. local speeder = FastSpeed
  4044. if type == "Add" then
  4045. scaler2 = 1*value
  4046. elseif type == "Divide" then
  4047. scaler2 = 1/value
  4048. end
  4049. coroutine.resume(coroutine.create(function()
  4050. for i = 0,10/bonuspeed,0.1 do
  4051. swait()
  4052. if rainbowmode == true then
  4053. rng.Color = Color3.new(r/255,g/255,b/255)
  4054. end
  4055. if type == "Add" then
  4056. scaler2 = scaler2 - 0.01*value/bonuspeed
  4057. elseif type == "Divide" then
  4058. scaler2 = scaler2 - 0.01/value*bonuspeed
  4059. end
  4060. if chaosmode == true then
  4061. rng.BrickColor = BrickColor.random()
  4062. end
  4063. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4064. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4065. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4066. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4067. end
  4068. rng:Destroy()
  4069. end))
  4070. end
  4071.  
  4072.  
  4073. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4074. local type = type
  4075. local rng = Instance.new("Part", char)
  4076. rng.Anchored = true
  4077. if ModeOfGlitch ~= 9 then
  4078. rng.BrickColor = color
  4079. elseif ModeOfGlitch == 9 then
  4080. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4081. end
  4082. rng.CanCollide = false
  4083. rng.FormFactor = 3
  4084. rng.Name = "Ring"
  4085. rng.Material = "Neon"
  4086. rng.Size = Vector3.new(1, 1, 1)
  4087. rng.Transparency = 1
  4088. rng.TopSurface = 0
  4089. rng.BottomSurface = 0
  4090. rng.CFrame = pos
  4091. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4092. local rngm = Instance.new("SpecialMesh", rng)
  4093. rngm.MeshType = "Sphere"
  4094. rngm.Scale = vt(x1,y1,z1)
  4095. if rainbowmode == true then
  4096. rng.Color = Color3.new(r/255,g/255,b/255)
  4097. end
  4098. if ModeOfGlitch == 9 then
  4099. coroutine.resume(coroutine.create(function()
  4100. while true do
  4101. swait()
  4102. if rng.Parent ~= nil then
  4103. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4104. else
  4105. break
  4106. end
  4107. end
  4108. end))
  4109. end
  4110. local scaler2 = 1
  4111. local speeder = FastSpeed
  4112. if type == "Add" then
  4113. scaler2 = 1*value
  4114. elseif type == "Divide" then
  4115. scaler2 = 1/value
  4116. end
  4117. coroutine.resume(coroutine.create(function()
  4118. for i = 0,10/bonuspeed,0.1 do
  4119. swait()
  4120. if rainbowmode == true then
  4121. rng.Color = Color3.new(r/255,g/255,b/255)
  4122. end
  4123. if type == "Add" then
  4124. scaler2 = scaler2 - 0.01*value/bonuspeed
  4125. elseif type == "Divide" then
  4126. scaler2 = scaler2 - 0.01/value*bonuspeed
  4127. end
  4128. if chaosmode == true then
  4129. rng.BrickColor = BrickColor.random()
  4130. end
  4131. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4132. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4133. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4134. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4135. end
  4136. rng:Destroy()
  4137. end))
  4138. end
  4139.  
  4140. function dmg(dude)
  4141. if dude.Name ~= Character then
  4142. local keptcolor = MAINRUINCOLOR
  4143. local bgf = Instance.new("BodyGyro",dude.Head)
  4144. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  4145. --[[local val = Instance.new("BoolValue",dude)
  4146. val.Name = "IsHit"]]--
  4147. local ds = coroutine.wrap(function()
  4148. dude:WaitForChild("Head"):BreakJoints()
  4149. for i, v in pairs(dude:GetChildren()) do
  4150. if v:IsA("Part") or v:IsA("MeshPart") then
  4151. v.Name = "DEMINISHED"
  4152. end
  4153. end
  4154. wait(0.5)
  4155. targetted = nil
  4156. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  4157. coroutine.resume(coroutine.create(function()
  4158. for i, v in pairs(dude:GetChildren()) do
  4159. if v:IsA("Accessory") then
  4160. v:Destroy()
  4161. end
  4162. if v:IsA("Humanoid") then
  4163. v:Destroy()
  4164. end
  4165. if v:IsA("CharacterMesh") then
  4166. v:Destroy()
  4167. end
  4168. if v:IsA("Model") then
  4169. v:Destroy()
  4170. end
  4171. if v:IsA("Part") or v:IsA("MeshPart") then
  4172. for x, o in pairs(v:GetChildren()) do
  4173. if o:IsA("Decal") then
  4174. o:Destroy()
  4175. end
  4176. end
  4177. coroutine.resume(coroutine.create(function()
  4178. v.Material = "Neon"
  4179. v.CanCollide = false
  4180. v.Anchored = false
  4181. local bld = Instance.new("ParticleEmitter",v)
  4182. bld.LightEmission = 0.75
  4183. bld.Texture = "rbxassetid://363275192" ---284205403
  4184. bld.Color = ColorSequence.new(keptcolor.Color)
  4185. bld.Rate = 500
  4186. bld.Lifetime = NumberRange.new(1)
  4187. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  4188. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4189. bld.Speed = NumberRange.new(2,5)
  4190. bld.VelocitySpread = 50000
  4191. bld.Rotation = NumberRange.new(-500,500)
  4192. bld.RotSpeed = NumberRange.new(-500,500)
  4193. local sbs = Instance.new("BodyPosition", v)
  4194. sbs.P = 3000
  4195. sbs.D = 1000
  4196. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4197. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  4198. v.Color = keptcolor.Color
  4199. coroutine.resume(coroutine.create(function()
  4200. for i = 0, 49 do
  4201. swait(1)
  4202. v:BreakJoints()
  4203. v.Transparency = v.Transparency + 0.02
  4204. end
  4205. v:BreakJoints()
  4206. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  4207. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  4208. bld.Speed = NumberRange.new(10,25)
  4209. bld.Drag = 5
  4210. bld.Acceleration = vt(0,2,0)
  4211. wait(0.5)
  4212. bld.Enabled = false
  4213. wait(8)
  4214. v:Destroy()
  4215. dude:Destroy()
  4216. end))
  4217. end))
  4218. end
  4219. end
  4220. end))
  4221. end)
  4222. ds()
  4223. end
  4224. end
  4225.  
  4226.  
  4227. function FindNearestHead(Position, Distance, SinglePlayer)
  4228. if SinglePlayer then
  4229. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  4230. end
  4231. local List = {}
  4232. for i, v in pairs(workspace:GetChildren()) do
  4233. if v:IsA("Model") then
  4234. if v:findFirstChild("Head") then
  4235. if v ~= Character then
  4236. if (v.Head.Position - Position).magnitude <= Distance then
  4237. table.insert(List, v)
  4238. end
  4239. end
  4240. end
  4241. end
  4242. end
  4243. return List
  4244. end
  4245.  
  4246. function FaceMouse()
  4247. Cam = workspace.CurrentCamera
  4248. return {
  4249. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4250. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4251. }
  4252. end
  4253.  
  4254. function FaceMouse2()
  4255. Cam = workspace.CurrentCamera
  4256. return {
  4257. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4258. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4259. }
  4260. end
  4261.  
  4262. local ModeOfGlitch = 1
  4263. -- Functions are ready.
  4264. local storehumanoidWS = 16
  4265.  
  4266. function BinaryBLINK()
  4267. for i = 0, 9 do
  4268. 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)
  4269. end
  4270. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4271. coroutine.resume(coroutine.create(function()
  4272. local eff = Instance.new("ParticleEmitter",root)
  4273. eff.Texture = "rbxassetid://1175838406"
  4274. eff.LightEmission = 0.95
  4275. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4276. eff.Rate = 10000
  4277. eff.Lifetime = NumberRange.new(1)
  4278. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  4279. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4280. eff.Speed = NumberRange.new(30,160)
  4281. eff.Drag = 5
  4282. eff.Rotation = NumberRange.new(-500,500)
  4283. eff.VelocitySpread = 100000
  4284. wait(0.25)
  4285. eff.Enabled = false
  4286. wait(4)
  4287. eff:Destroy()
  4288. end))
  4289. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  4290. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  4291. CameraEnshaking(2,11)
  4292. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  4293. if v:FindFirstChild('Head') then
  4294. dmg(v)
  4295. end
  4296. end
  4297. for i = 0, 9 do
  4298. 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)
  4299. end
  4300. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4301. end
  4302.  
  4303. function Fireball()
  4304. attack = true
  4305. hum.WalkSpeed = 0
  4306. local keptcolor = MAINRUINCOLOR
  4307. for i = 0,2,0.1 do
  4308. swait()
  4309. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  4310. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  4311. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  4312. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  4313. 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)
  4314. 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)
  4315. end
  4316. local orb = Instance.new("Part", char)
  4317. orb.BrickColor = keptcolor
  4318. orb.CanCollide = false
  4319. orb.FormFactor = 3
  4320. orb.Name = "Ring"
  4321. orb.Material = "Neon"
  4322. orb.Size = Vector3.new(1, 1, 1)
  4323. orb.Transparency = 0
  4324. orb.TopSurface = 0
  4325. orb.BottomSurface = 0
  4326. local orbm = Instance.new("SpecialMesh", orb)
  4327. orbm.MeshType = "Sphere"
  4328. orbm.Name = "SizeMesh"
  4329. orbm.Scale = vt(4,4,4)
  4330. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  4331. local eff = Instance.new("ParticleEmitter",orb)
  4332. eff.Texture = "rbxassetid://296874871"
  4333. eff.LightEmission = 0.95
  4334. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  4335. eff.Rate = 10000
  4336. eff.Lifetime = NumberRange.new(1.5)
  4337. 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)})
  4338. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4339. eff.Speed = NumberRange.new(25)
  4340. eff.Drag = 5
  4341. eff.Rotation = NumberRange.new(-500,500)
  4342. eff.VelocitySpread = 9000
  4343. eff.RotSpeed = NumberRange.new(-500,500)
  4344. local a = Instance.new("Part",workspace)
  4345. a.Name = "Direction"
  4346. a.Anchored = true
  4347. a.BrickColor = bc("Bright red")
  4348. a.Material = "Neon"
  4349. a.Transparency = 1
  4350. a.CanCollide = false
  4351. local ray = Ray.new(
  4352. orb.CFrame.p, -- origin
  4353. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4354. )
  4355. local ignore = orb
  4356. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4357. a.BottomSurface = 10
  4358. a.TopSurface = 10
  4359. local distance = (orb.CFrame.p - position).magnitude
  4360. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4361. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4362. orb.CFrame = a.CFrame
  4363. a:Destroy()
  4364. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  4365. local bv = Instance.new("BodyVelocity")
  4366. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4367. bv.velocity = orb.CFrame.lookVector*75
  4368. bv.Parent = orb
  4369. game:GetService("Debris"):AddItem(orb, 10)
  4370. local hitted = false
  4371. coroutine.resume(coroutine.create(function()
  4372. while true do
  4373. swait()
  4374. if orb.Parent ~= nil and hitted == false then
  4375. 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)
  4376. elseif orb.Parent == nil and hitted == true then
  4377. break
  4378. end
  4379. end
  4380. end))
  4381. local hit =orb.Touched:connect(function(hit)
  4382. if hitted == false and hit.Parent ~= char then
  4383. hitted = true
  4384. eff.Enabled = false
  4385. CameraEnshaking(2,11)
  4386. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  4387. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  4388. MagniDamage(orb, 25, 20,30, 0, "Normal")
  4389. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  4390. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  4391. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  4392. for i = 0, 9 do
  4393. 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)
  4394. end
  4395. for i = 0, 49 do
  4396. local rsiz = math.random(10,30)
  4397. 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)
  4398. end
  4399. local eff = Instance.new("ParticleEmitter",orb)
  4400. eff.Texture = "rbxassetid://296874871"
  4401. eff.LightEmission = 0.95
  4402. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  4403. eff.Rate = 10000
  4404. eff.Lifetime = NumberRange.new(1.5)
  4405. 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)})
  4406. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4407. eff.Speed = NumberRange.new(150)
  4408. eff.Drag = 5
  4409. eff.Rotation = NumberRange.new(-500,500)
  4410. eff.VelocitySpread = 9000
  4411. eff.RotSpeed = NumberRange.new(-500,500)
  4412. coroutine.resume(coroutine.create(function()
  4413. wait(0.25)
  4414. eff.Enabled = false
  4415. end))
  4416. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  4417. orb.Anchored = true
  4418. orb.Transparency = 1
  4419. coroutine.resume(coroutine.create(function()
  4420. if hfr ~= nil then
  4421. orb.Size = vt(50,1,50)
  4422. orb.Orientation = vt(0,0,0)
  4423. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  4424. orbm:Destroy()
  4425. local firef = eff:Clone()
  4426. firef.Parent = orb
  4427. firef.VelocitySpread = 50
  4428. firef.Rate = 500
  4429. firef.Drag = 3
  4430. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4431. 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)})
  4432. firef.Speed = NumberRange.new(10,30)
  4433. for i = 0, 24 do
  4434. wait(0.25)
  4435. MagniDamage(orb, 25, 3,6, 0, "Normal")
  4436. end
  4437. firef.Enabled = false
  4438. end
  4439. end))
  4440. wait(10)
  4441. orb:Destroy()
  4442. end
  4443. end)
  4444. for i = 0,1,0.1 do
  4445. swait()
  4446. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  4447. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  4448. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  4449. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  4450. 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)
  4451. 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)
  4452. end
  4453. hum.WalkSpeed = storehumanoidWS
  4454. attack = false
  4455. end
  4456.  
  4457. function smiter()
  4458. local targetted = nil
  4459. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4460. targetted = mouse.Target.Parent
  4461. end
  4462. if targetted ~= nil then
  4463. RootPart.CFrame = FaceMouse()[1]
  4464. attack = true
  4465. hum.WalkSpeed = 0
  4466. coroutine.resume(coroutine.create(function()
  4467. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  4468. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  4469. local vel = Instance.new("BodyPosition", targetted.Head)
  4470. vel.P = 12500
  4471. vel.D = 1000
  4472. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4473. vel.position = targetted.Head.CFrame.p
  4474. end))
  4475. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  4476. for i = 0,4,0.1 do
  4477. swait()
  4478. 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)
  4479. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  4480. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  4481. 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)
  4482. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  4483. 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)
  4484. 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)
  4485. end
  4486. coroutine.resume(coroutine.create(function()
  4487. CameraEnshaking(6,5)
  4488. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  4489. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  4490. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  4491. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  4492. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  4493. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  4494. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  4495. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  4496. coroutine.resume(coroutine.create(function()
  4497. local eff = Instance.new("ParticleEmitter",targetted.Head)
  4498. eff.Texture = "rbxassetid://363275192"
  4499. eff.LightEmission = 0.95
  4500. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4501. eff.Rate = 10000
  4502. eff.Lifetime = NumberRange.new(1.5)
  4503. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  4504. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4505. eff.Speed = NumberRange.new(25,150)
  4506. eff.Drag = 5
  4507. eff.Rotation = NumberRange.new(-500,500)
  4508. eff.VelocitySpread = 9000
  4509. eff.RotSpeed = NumberRange.new(-50,50)
  4510. local eff2 = eff:Clone()
  4511. eff2.Parent = targetted.Head
  4512. eff2.Texture = "rbxassetid://284205403"
  4513. eff2.Rate = 10000
  4514. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4515. eff2.Drag = 5
  4516. eff2.Rotation = NumberRange.new(-500,500)
  4517. eff2.VelocitySpread = 9000
  4518. wait(0.5)
  4519. eff2.Enabled = false
  4520. eff.Enabled = false
  4521. end))
  4522. for i = 0, 9 do
  4523. 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)
  4524. end
  4525. for i = 0, 49 do
  4526. local rsiz = math.random(10,50)
  4527. 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)
  4528. end
  4529. game:GetService("Debris"):AddItem(vel,1)
  4530. dmg(targetted)
  4531. end))
  4532. for i = 0,1,0.1 do
  4533. swait()
  4534. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  4535. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  4536. 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)
  4537. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  4538. 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)
  4539. 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)
  4540. end
  4541. attack = false
  4542. hum.WalkSpeed = storehumanoidWS
  4543. end
  4544. end
  4545.  
  4546. function BinaryE()
  4547. local posit = -2
  4548. attack = true
  4549. hum.WalkSpeed = 5
  4550. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  4551. for i = 0,2,0.1 do
  4552. swait()
  4553. 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)
  4554. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  4555. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  4556. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  4557. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  4558. 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)
  4559. 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)
  4560. end
  4561. for i = 0, 2 do
  4562. CameraEnshaking(2,11)
  4563. local hite = Instance.new("Part", char)
  4564. hite.Anchored = true
  4565. hite.CanCollide = false
  4566. hite.FormFactor = 3
  4567. hite.Name = "Ring"
  4568. hite.Material = "Neon"
  4569. hite.Size = Vector3.new(1, 1, 1)
  4570. hite.Transparency = 1
  4571. hite.TopSurface = 0
  4572. hite.BottomSurface = 0
  4573. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  4574. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  4575. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  4576. coroutine.resume(coroutine.create(function()
  4577. local eff = Instance.new("ParticleEmitter",hite)
  4578. eff.Texture = "rbxassetid://1175838406"
  4579. eff.LightEmission = 0.95
  4580. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4581. eff.Rate = 1000
  4582. eff.Lifetime = NumberRange.new(1)
  4583. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4584. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4585. eff.Speed = NumberRange.new(10,50)
  4586. eff.Drag = 5
  4587. eff.Rotation = NumberRange.new(-500,500)
  4588. eff.VelocitySpread = 100000
  4589. wait(0.25)
  4590. eff.Enabled = false
  4591. end))
  4592. coroutine.resume(coroutine.create(function()
  4593. for i = 0, 1 do
  4594. swait()
  4595. 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)
  4596. 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)
  4597. end
  4598. end))
  4599. 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)
  4600. MagniDamage(hite, 3, 30,40, 0, "Normal")
  4601. game:GetService("Debris"):AddItem(hite, 5)
  4602. posit = posit + 2
  4603. end
  4604. for i = 0,1,0.1 do
  4605. swait()
  4606. 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)
  4607. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  4608. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  4609. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  4610. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  4611. 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)
  4612. 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)
  4613. end
  4614. for i = 0,1,0.1 do
  4615. swait()
  4616. 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)
  4617. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  4618. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  4619. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  4620. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  4621. 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)
  4622. 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)
  4623. end
  4624. posit = -6
  4625. for i = 0, 6 do
  4626. CameraEnshaking(2,11)
  4627. local hite = Instance.new("Part", char)
  4628. hite.Anchored = true
  4629. hite.CanCollide = false
  4630. hite.FormFactor = 3
  4631. hite.Name = "Ring"
  4632. hite.Material = "Neon"
  4633. hite.Size = Vector3.new(1, 1, 1)
  4634. hite.Transparency = 1
  4635. hite.TopSurface = 0
  4636. hite.BottomSurface = 0
  4637. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  4638. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  4639. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  4640. 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)
  4641. coroutine.resume(coroutine.create(function()
  4642. local eff = Instance.new("ParticleEmitter",hite)
  4643. eff.Texture = "rbxassetid://1175838406"
  4644. eff.LightEmission = 0.95
  4645. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4646. eff.Rate = 1000
  4647. eff.Lifetime = NumberRange.new(1)
  4648. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4649. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4650. eff.Speed = NumberRange.new(20,70)
  4651. eff.Drag = 5
  4652. eff.Rotation = NumberRange.new(-500,500)
  4653. eff.VelocitySpread = 100000
  4654. wait(0.25)
  4655. eff.Enabled = false
  4656. end))
  4657. coroutine.resume(coroutine.create(function()
  4658. for i = 0, 2 do
  4659. swait()
  4660. 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)
  4661. 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)
  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(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  4663. end
  4664. end))
  4665. MagniDamage(hite, 5, 40,70, 0, "Normal")
  4666. game:GetService("Debris"):AddItem(hite, 5)
  4667. posit = posit + 2
  4668. end
  4669. for i = 0,1,0.1 do
  4670. swait()
  4671. 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)
  4672. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  4673. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  4674. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  4675. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  4676. 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)
  4677. 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)
  4678. end
  4679. hum.WalkSpeed = storehumanoidWS
  4680. attack = false
  4681. end
  4682.  
  4683. function CorruptBlink()
  4684. for i = 0, 14 do
  4685. 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)
  4686. end
  4687. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4688. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  4689. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  4690. CameraEnshaking(2,10)
  4691. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  4692. if v:FindFirstChild('Head') then
  4693. dmg(v)
  4694. end
  4695. end
  4696. for i = 0, 14 do
  4697. 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)
  4698. end
  4699. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4700. end
  4701. function PureBomb()
  4702. attack = true
  4703. hum.WalkSpeed = 0
  4704. local orb = Instance.new("Part", char)
  4705. orb.Anchored = true
  4706. orb.BrickColor = BrickColor.new("Toothpaste")
  4707. orb.CanCollide = false
  4708. orb.FormFactor = 3
  4709. orb.Name = "Ring"
  4710. orb.Material = "Neon"
  4711. orb.Size = Vector3.new(1, 1, 1)
  4712. orb.Transparency = 0
  4713. orb.TopSurface = 0
  4714. orb.BottomSurface = 0
  4715. local orbm = Instance.new("SpecialMesh", orb)
  4716. orbm.MeshType = "Sphere"
  4717. orbm.Name = "SizeMesh"
  4718. orbm.Scale = vt(0,0,0)
  4719. local scaled = 0.1
  4720. local posid = 0
  4721. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  4722. for i = 0, 5, 0.1 do
  4723. swait()
  4724. scaled = scaled - 0.001
  4725. posid = posid - scaled
  4726. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4727. local scaled = 0.1
  4728. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4729. 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)
  4730. 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)
  4731. 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)
  4732. 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)
  4733. 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)
  4734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4735. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  4736. 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)
  4737. end
  4738. for i = 0, 2, 0.1 do
  4739. swait()
  4740. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4741. 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)
  4742. 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)
  4743. 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)
  4744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  4745. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  4746. 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)
  4747. end
  4748. coroutine.resume(coroutine.create(function()
  4749. orb.Anchored = false
  4750. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  4751. local a = Instance.new("Part",workspace)
  4752. a.Name = "Direction"
  4753. a.Anchored = true
  4754. a.BrickColor = bc("Bright red")
  4755. a.Material = "Neon"
  4756. a.Transparency = 1
  4757. a.CanCollide = false
  4758. local ray = Ray.new(
  4759. orb.CFrame.p, -- origin
  4760. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4761. )
  4762. local ignore = orb
  4763. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4764. a.BottomSurface = 10
  4765. a.TopSurface = 10
  4766. local distance = (orb.CFrame.p - position).magnitude
  4767. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4768. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4769. orb.CFrame = a.CFrame
  4770. a:Destroy()
  4771. local bv = Instance.new("BodyVelocity")
  4772. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4773. bv.velocity = orb.CFrame.lookVector*125
  4774. bv.Parent = orb
  4775. local hitted = false
  4776. game:GetService("Debris"):AddItem(orb, 15)
  4777. wait()
  4778. local hit =orb.Touched:connect(function(hit)
  4779. if hitted == false then
  4780. hitted = true
  4781. CameraEnshaking(10,2.5)
  4782. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  4783. MagniDamage(orb, 65, 65,90, 0, "Normal")
  4784. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  4785. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  4786. for i = 0, 49 do
  4787. 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)
  4788. end
  4789. for i = 0, 9 do
  4790. 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)
  4791. 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)
  4792. end
  4793. orb.Anchored = true
  4794. orb.Transparency = 1
  4795. wait(8)
  4796. orb:Destroy()
  4797. end
  4798. end)
  4799. end))
  4800. for i = 0, 1, 0.1 do
  4801. swait()
  4802. 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)
  4803. 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)
  4804. 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)
  4805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  4806. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  4807. 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)
  4808. end
  4809. hum.WalkSpeed = storehumanoidWS
  4810. attack = false
  4811. end
  4812.  
  4813. function BanishingOrb()
  4814. attack = true
  4815. hum.WalkSpeed = 0
  4816. local orb = Instance.new("Part", char)
  4817. orb.Anchored = true
  4818. orb.BrickColor = BrickColor.new("Black")
  4819. orb.CanCollide = false
  4820. orb.FormFactor = 3
  4821. orb.Name = "Ring"
  4822. orb.Material = "Neon"
  4823. orb.Size = Vector3.new(1, 1, 1)
  4824. orb.Transparency = 0
  4825. orb.TopSurface = 0
  4826. orb.BottomSurface = 0
  4827. local orbm = Instance.new("SpecialMesh", orb)
  4828. orbm.MeshType = "Sphere"
  4829. orbm.Name = "SizeMesh"
  4830. orbm.Scale = vt(0,0,0)
  4831. local scaled = 0.1
  4832. local posid = 0
  4833. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  4834. for i = 0, 5, 0.1 do
  4835. swait()
  4836. scaled = scaled - 0.001
  4837. posid = posid - scaled
  4838. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4839. local scaled = 0.1
  4840. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4841. 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)
  4842. 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)
  4843. 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)
  4844. 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)
  4845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4846. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  4847. 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)
  4848. end
  4849. for i = 0, 2, 0.1 do
  4850. swait()
  4851. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4852. 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)
  4853. 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)
  4854. 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)
  4855. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  4856. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  4857. 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)
  4858. end
  4859. coroutine.resume(coroutine.create(function()
  4860. orb.Anchored = false
  4861. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  4862. local a = Instance.new("Part",workspace)
  4863. a.Name = "Direction"
  4864. a.Anchored = true
  4865. a.BrickColor = bc("Bright red")
  4866. a.Material = "Neon"
  4867. a.Transparency = 1
  4868. a.CanCollide = false
  4869. local ray = Ray.new(
  4870. orb.CFrame.p, -- origin
  4871. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4872. )
  4873. local ignore = orb
  4874. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4875. a.BottomSurface = 10
  4876. a.TopSurface = 10
  4877. local distance = (orb.CFrame.p - position).magnitude
  4878. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4879. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4880. orb.CFrame = a.CFrame
  4881. a:Destroy()
  4882. local bv = Instance.new("BodyVelocity")
  4883. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4884. bv.velocity = orb.CFrame.lookVector*0
  4885. bv.Parent = orb
  4886. local hitted = false
  4887. local rate = 0
  4888. coroutine.resume(coroutine.create(function()
  4889. for i = 0, 24 do
  4890. wait(0.1)
  4891. rate = rate + 0.25
  4892. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  4893. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  4894. if v:FindFirstChild('Head') then
  4895. dmg(v)
  4896. end
  4897. end
  4898. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  4899. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4900. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  4901. end
  4902. orb.Anchored = true
  4903. orb.Transparency = 1
  4904. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  4905. if v:FindFirstChild('Head') then
  4906. dmg(v)
  4907. end
  4908. end
  4909. local eff = Instance.new("ParticleEmitter",orb)
  4910. eff.Texture = "rbxassetid://296874871"
  4911. eff.LightEmission = 0.95
  4912. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4913. eff.Rate = 1000000000
  4914. eff.Lifetime = NumberRange.new(3)
  4915. 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)})
  4916. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4917. eff.Speed = NumberRange.new(30)
  4918. eff.Acceleration = vt(0,-15,0)
  4919. eff.Rotation = NumberRange.new(-500,500)
  4920. eff.VelocitySpread = 100000
  4921. eff.RotSpeed = NumberRange.new(-500,500)
  4922. coroutine.resume(coroutine.create(function()
  4923. wait(0.6)
  4924. eff.Enabled = false
  4925. end))
  4926. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  4927. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  4928. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  4929. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4930. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  4931. game:GetService("Debris"):AddItem(orb, 15)
  4932. end))
  4933. end))
  4934. for i = 0, 1, 0.1 do
  4935. swait()
  4936. 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)
  4937. 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)
  4938. 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)
  4939. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  4940. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  4941. 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)
  4942. end
  4943. hum.WalkSpeed = storehumanoidWS
  4944. attack = false
  4945. end
  4946.  
  4947.  
  4948. function ChaosGroundStrike()
  4949. attack = true
  4950. for i = 0, 2, 0.1 do
  4951. swait()
  4952. 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)
  4953. 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)
  4954. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4955. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4956. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4957. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4958. end
  4959. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4960. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4961. CameraEnshaking(100,100)
  4962. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4963. if v:FindFirstChild('Head') then
  4964. dmg(v)
  4965. end
  4966. end
  4967. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  4968. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  4969. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  4970. for i = 0, 2, 0.1 do
  4971. swait()
  4972. 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)
  4973. 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)
  4974. 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)
  4975. 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)
  4976. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4977. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4978. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4979. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4980. end
  4981. attack = false
  4982. end
  4983.  
  4984.  
  4985.  
  4986. function Starfall()
  4987. attack = true
  4988. hum.WalkSpeed = 0
  4989. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  4990. for i = 0, 5, 0.1 do
  4991. swait()
  4992. 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)
  4993. 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)
  4994. 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)
  4995. 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)
  4996. 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)
  4997. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4998. 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)
  4999. 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)
  5000. end
  5001. local Overed = false
  5002. CameraEnshaking(2,20)
  5003. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5004. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5005. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5006. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  5007. local orb = Instance.new("Part", char)
  5008. orb.Anchored = true
  5009. orb.BrickColor = BrickColor.new("Toothpaste")
  5010. orb.CanCollide = false
  5011. orb.FormFactor = 3
  5012. orb.Name = "Remenant"
  5013. orb.Material = "Neon"
  5014. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  5015. orb.Size = Vector3.new(1, 1, 1)
  5016. orb.Transparency = 1
  5017. orb.TopSurface = 0
  5018. orb.BottomSurface = 0
  5019. hum.WalkSpeed = storehumanoidWS
  5020. coroutine.resume(coroutine.create(function()
  5021. for i = 0, 9 do
  5022. swait(10)
  5023. local lb = Instance.new("Part")
  5024. lb.Color = MAINRUINCOLOR.Color
  5025. lb.CanCollide = false
  5026. lb.Material = "Neon"
  5027. lb.Anchored = true
  5028. lb.TopSurface = 0
  5029. lb.BottomSurface = 0
  5030. lb.Transparency = 0
  5031. lb.Size = vt(1,1,1)
  5032. 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)))
  5033. lb.Anchored = false
  5034. lb.Parent = char
  5035. local thingery = Instance.new("SpecialMesh",lb)
  5036. thingery.MeshType = "Sphere"
  5037. thingery.Scale = vt(20,20,20)
  5038. game:GetService("Debris"):AddItem(lb, 10)
  5039. local bv = Instance.new("BodyVelocity")
  5040. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5041. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  5042. bv.Parent = lb
  5043. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  5044. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  5045. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  5046. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  5047. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  5048. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  5049. local hitted = false
  5050. coroutine.resume(coroutine.create(function()
  5051. while true do
  5052. swait(1)
  5053. if lb.Parent ~= nil and hitted == false then
  5054. 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)
  5055. elseif lb.Parent == nil then
  5056. break
  5057. end
  5058. end
  5059. end))
  5060.  
  5061. game:GetService("Debris"):AddItem(a, 0.1)
  5062.  
  5063. coroutine.resume(coroutine.create(function()
  5064. swait(1)
  5065. lb.Touched:connect(function(hit)
  5066. if hitted == false then
  5067. hitted = true
  5068. lb.Transparency = 1
  5069. lb.Anchored = true
  5070. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  5071. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  5072. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  5073. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  5074. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  5075. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  5076. MagniDamage(lb, 45, 45,85, 0, "Normal")
  5077. CameraEnshaking(1,5)
  5078. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  5079. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  5080. for i = 0, 9 do
  5081. 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)
  5082. end
  5083. for i = 0, 49 do
  5084. swait()
  5085. MagniDamage(lb, 30, 2,4, 0, "Normal")
  5086. 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)
  5087. end
  5088. end
  5089. end)
  5090. end))
  5091. end
  5092. Overed = true
  5093. orb:Destroy()
  5094. end))
  5095.  
  5096. attack = false
  5097. end
  5098.  
  5099. function StarfallEX()
  5100. attack = true
  5101. hum.WalkSpeed = 0
  5102. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  5103. for i = 0, 10, 0.1 do
  5104. swait()
  5105. 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)
  5106. 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)
  5107. 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)
  5108. 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)
  5109. 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)
  5110. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5111. 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)
  5112. 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)
  5113. end
  5114. local Overed = false
  5115. CameraEnshaking(2,20)
  5116. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5117. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5118. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5119. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  5120. local orb = Instance.new("Part", char)
  5121. orb.Anchored = true
  5122. orb.BrickColor = BrickColor.new("Toothpaste")
  5123. orb.CanCollide = false
  5124. orb.FormFactor = 3
  5125. orb.Name = "Remenant"
  5126. orb.Material = "Neon"
  5127. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  5128. orb.Size = Vector3.new(1, 1, 1)
  5129. orb.Transparency = 1
  5130. orb.TopSurface = 0
  5131. orb.BottomSurface = 0
  5132. hum.WalkSpeed = storehumanoidWS
  5133. coroutine.resume(coroutine.create(function()
  5134. for i = 0, 4 do
  5135. swait(15)
  5136. local lb = Instance.new("Part")
  5137. lb.Color = MAINRUINCOLOR.Color
  5138. lb.CanCollide = false
  5139. lb.Material = "Neon"
  5140. lb.Anchored = true
  5141. lb.TopSurface = 0
  5142. lb.BottomSurface = 0
  5143. lb.Transparency = 0
  5144. lb.Size = vt(1,1,1)
  5145. 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)))
  5146. lb.Anchored = false
  5147. lb.Parent = char
  5148. local thingery = Instance.new("SpecialMesh",lb)
  5149. thingery.MeshType = "Sphere"
  5150. thingery.Scale = vt(50,50,50)
  5151. game:GetService("Debris"):AddItem(lb, 10)
  5152. local bv = Instance.new("BodyVelocity")
  5153. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5154. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  5155. bv.Parent = lb
  5156. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  5157. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  5158. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  5159. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  5160. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  5161. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  5162. local hitted = false
  5163. coroutine.resume(coroutine.create(function()
  5164. while true do
  5165. swait(1)
  5166. if lb.Parent ~= nil and hitted == false then
  5167. 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)
  5168. elseif lb.Parent == nil then
  5169. break
  5170. end
  5171. end
  5172. end))
  5173.  
  5174. game:GetService("Debris"):AddItem(a, 0.1)
  5175.  
  5176. coroutine.resume(coroutine.create(function()
  5177. swait(1)
  5178. lb.Touched:connect(function(hit)
  5179. if hitted == false then
  5180. hitted = true
  5181. lb.Transparency = 1
  5182. lb.Anchored = true
  5183. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  5184. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  5185. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  5186. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  5187. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  5188. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  5189. MagniDamage(lb, 50, 60,99, 0, "Normal")
  5190. CameraEnshaking(1,5)
  5191. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  5192. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  5193. for i = 0, 9 do
  5194. 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)
  5195. end
  5196. for i = 0, 99 do
  5197. swait()
  5198. MagniDamage(lb, 30, 6,18, 0, "Normal")
  5199. 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)
  5200. end
  5201. end
  5202. end)
  5203. end))
  5204. end
  5205. Overed = true
  5206. orb:Destroy()
  5207. end))
  5208.  
  5209. attack = false
  5210. end
  5211.  
  5212. function DivineBlast()
  5213. attack = true
  5214. hum.WalkSpeed = 0
  5215. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  5216. elocacenter.Anchored = true
  5217. elocacenter.CFrame = sorb.CFrame
  5218. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5219. eloca1.Anchored = true
  5220. eloca1.CFrame = elocacenter.CFrame
  5221. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5222. eloca2.Anchored = true
  5223. eloca2.CFrame = elocacenter.CFrame
  5224. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5225. eloca3.Anchored = true
  5226. eloca3.CFrame = elocacenter.CFrame
  5227. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5228. eloca4.Anchored = true
  5229. eloca4.CFrame = elocacenter.CFrame
  5230. local lookavec = 0
  5231. local speeds = 0
  5232. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  5233. for i = 0, 3, 0.1 do
  5234. swait()
  5235. ---
  5236. lookavec = lookavec + 0.1
  5237. speeds = speeds + 10
  5238. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5239. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5240. 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)
  5241.  
  5242. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5243. 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)
  5244.  
  5245. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5246. 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)
  5247.  
  5248. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5249. 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)
  5250. ---
  5251. root.CFrame = FaceMouse()[1]
  5252. 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)
  5253. 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)
  5254. 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)
  5255. 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)
  5256. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  5257. 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)
  5258. end
  5259. for i = 0, 3, 0.1 do
  5260. swait()
  5261. ---
  5262. speeds = speeds + 10
  5263. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5264. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5265. 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)
  5266.  
  5267. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5268. 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)
  5269.  
  5270. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5271. 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)
  5272.  
  5273. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5274. 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)
  5275. ---
  5276. root.CFrame = FaceMouse()[1]
  5277. 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)
  5278. 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)
  5279. 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)
  5280. 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)
  5281. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  5282. 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)
  5283. end
  5284. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  5285. for i = 0, 3, 0.1 do
  5286. swait()
  5287. ---
  5288. speeds = speeds + 10
  5289. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5290. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5291. 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)
  5292.  
  5293. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5294. 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)
  5295.  
  5296. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5297. 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)
  5298.  
  5299. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5300. 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)
  5301. ---
  5302. root.CFrame = FaceMouse()[1]
  5303. 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)
  5304. 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)
  5305. 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)
  5306. 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)
  5307. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  5308. 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)
  5309. end
  5310. coroutine.resume(coroutine.create(function()
  5311. local a = Instance.new("Part",Character)
  5312. a.Name = "Direction"
  5313. a.Anchored = true
  5314. a.BrickColor = bc("White")
  5315. a.Material = "Neon"
  5316. a.Transparency = 0
  5317. a.Shape = "Cylinder"
  5318. a.CanCollide = false
  5319. local a2 = Instance.new("Part",Character)
  5320. a2.Name = "Direction"
  5321. a2.Anchored = true
  5322. a2.BrickColor = bc("Bright yellow")
  5323. a2.Material = "Neon"
  5324. a2.Transparency = 0
  5325. a2.Shape = "Cylinder"
  5326. a2.CanCollide = false
  5327. local b = Instance.new("Part",Character)
  5328. b.Name = "HitDirect"
  5329. b.Anchored = true
  5330. b.BrickColor = bc("Cool yellow")
  5331. b.Material = "Neon"
  5332. b.Transparency = 1
  5333. b.CanCollide = false
  5334. local ray = Ray.new(
  5335. elocacenter.CFrame.p, -- origin
  5336. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  5337. )
  5338. local ignore = Character
  5339. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5340. a.BottomSurface = 10
  5341. a.TopSurface = 10
  5342. a2.BottomSurface = 10
  5343. a2.TopSurface = 10
  5344. local distance = (elocacenter.CFrame.p - position).magnitude
  5345. a.Size = Vector3.new(distance, 1, 1)
  5346. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5347. a2.Size = Vector3.new(distance, 1, 1)
  5348. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5349. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5350. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5351. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5352. game:GetService("Debris"):AddItem(a, 10)
  5353. game:GetService("Debris"):AddItem(a2, 10)
  5354. game:GetService("Debris"):AddItem(b, 10)
  5355. local msh = Instance.new("SpecialMesh",a)
  5356. msh.MeshType = "Cylinder"
  5357. msh.Scale = vt(1,2,2)
  5358. local msh2 = Instance.new("SpecialMesh",a2)
  5359. msh2.MeshType = "Cylinder"
  5360. msh2.Scale = vt(1,2.5,2.5)
  5361. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  5362. coroutine.resume(coroutine.create(function()
  5363. for i = 0,10,0.1 do
  5364. swait()
  5365. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  5366. a.Transparency = a.Transparency + 0.025
  5367. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  5368. a2.Transparency = a2.Transparency + 0.05
  5369. end
  5370. a:Destroy()
  5371. a2:Destroy()
  5372. end))
  5373. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  5374. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  5375. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  5376. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  5377. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  5378. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  5379. MagniDamage(b, 25, 40,65, 0, "Normal")
  5380. for i = 0, 49 do
  5381. 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)
  5382. 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)
  5383. end
  5384. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  5385. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  5386. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5387. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5388. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5389. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5390. end))
  5391. game:GetService("Debris"):AddItem(elocacenter, 5)
  5392. hum.WalkSpeed = storehumanoidWS
  5393. attack = false
  5394. end
  5395.  
  5396. function StarDivision()
  5397. attack = true
  5398. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5399. for i = 0, 2, 0.1 do
  5400. swait()
  5401. 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)
  5402. 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)
  5403. 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)
  5404. 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)
  5405. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  5406. 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)
  5407. end
  5408. local orb = Instance.new("Part", char)
  5409. orb.BrickColor = MAINRUINCOLOR
  5410. orb.CanCollide = false
  5411. orb.FormFactor = 3
  5412. orb.Name = "Ring"
  5413. orb.Material = "Neon"
  5414. orb.Size = Vector3.new(1, 1, 1)
  5415. orb.Transparency = 0
  5416. orb.TopSurface = 0
  5417. orb.BottomSurface = 0
  5418. local orbm = Instance.new("SpecialMesh", orb)
  5419. orbm.MeshType = "Sphere"
  5420. orbm.Name = "SizeMesh"
  5421. orbm.Scale = vt(2,2,2)
  5422. local a = Instance.new("Part",workspace)
  5423. a.Name = "Direction"
  5424. a.Anchored = true
  5425. a.BrickColor = bc("Bright red")
  5426. a.Material = "Neon"
  5427. a.Transparency = 1
  5428. a.CanCollide = false
  5429. local ray = Ray.new(
  5430. sorb.CFrame.p, -- origin
  5431. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  5432. )
  5433. local ignore = sorb
  5434. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5435. a.BottomSurface = 10
  5436. a.TopSurface = 10
  5437. local distance = (sorb.CFrame.p - position).magnitude
  5438. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5439. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5440. orb.CFrame = a.CFrame
  5441. a:Destroy()
  5442. local bv = Instance.new("BodyVelocity")
  5443. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5444. bv.velocity = orb.CFrame.lookVector*100
  5445. bv.Parent = orb
  5446. local hitted = false
  5447. game:GetService("Debris"):AddItem(orb, 10)
  5448. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  5449. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  5450. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  5451. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  5452. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  5453. coroutine.resume(coroutine.create(function()
  5454. while true do
  5455. swait(1)
  5456. if orb.Parent ~= nil and hitted == false then
  5457. 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)
  5458. elseif orb.Parent == nil then
  5459. break
  5460. end
  5461. end
  5462. end))
  5463. coroutine.resume(coroutine.create(function()
  5464. swait(1)
  5465. orb.Touched:connect(function(hit)
  5466. if hitted == false then
  5467. hitted = true
  5468. game:GetService("Debris"):AddItem(orb, 5)
  5469. orb.Transparency = 1
  5470. orb.Anchored = true
  5471. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5472. elocacenter.Anchored = true
  5473. elocacenter.CFrame = orb.CFrame
  5474. elocacenter.Orientation = vt(0,0,0)
  5475. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5476. eloca1.Anchored = true
  5477. eloca1.CFrame = elocacenter.CFrame
  5478. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5479. eloca2.Anchored = true
  5480. eloca2.CFrame = elocacenter.CFrame
  5481. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5482. eloca3.Anchored = true
  5483. eloca3.CFrame = elocacenter.CFrame
  5484. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5485. eloca4.Anchored = true
  5486. eloca4.CFrame = elocacenter.CFrame
  5487. local lookavec = 0
  5488. local speeds = 0
  5489. CameraEnshaking(1,1)
  5490. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  5491. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5492. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5493. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5494. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5495. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5496. for i = 0, 99 do
  5497. swait()
  5498. lookavec = lookavec + 1
  5499. speeds = speeds + 0.1
  5500. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5501. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5502. 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)
  5503.  
  5504. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5505. 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)
  5506.  
  5507. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5508. 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)
  5509.  
  5510. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5511. 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)
  5512. end
  5513.  
  5514. for i = 0, 149 do
  5515. swait()
  5516. speeds = speeds + 0.1
  5517. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5518. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5519. 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)
  5520.  
  5521. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5522. 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)
  5523.  
  5524. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5525. 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)
  5526.  
  5527. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5528. 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)
  5529. end
  5530. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  5531. if v:FindFirstChild('Head') then
  5532. dmg(v)
  5533. end
  5534. end
  5535. CameraEnshaking(7,30)
  5536. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  5537. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  5538. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  5539. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  5540. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  5541. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  5542. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  5543. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5544. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5545. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5546. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5547. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5548. for i = 0, 24 do
  5549. 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)
  5550. 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)
  5551. 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)
  5552. 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)
  5553. end
  5554. coroutine.resume(coroutine.create(function()
  5555. for i = 0, 499 do
  5556. swait(1)
  5557. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  5558. 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)
  5559. end
  5560. elocacenter:Destroy()
  5561. eloca1:Destroy()
  5562. eloca2:Destroy()
  5563. eloca3:Destroy()
  5564. eloca4:Destroy()
  5565. end))
  5566. end
  5567. end)
  5568. end))
  5569. attack = false
  5570. end
  5571.  
  5572.  
  5573. function THE_TRUE_POWER_OF_VIOLENCE()
  5574. attack = true
  5575. hum.WalkSpeed = 0
  5576. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  5577. for i = 0, 10, 0.1 do
  5578. swait()
  5579. 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)
  5580. 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)
  5581. 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)
  5582. 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)
  5583. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  5584. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5585. 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)
  5586. end
  5587. local orb = Instance.new("Part", char)
  5588. orb.BrickColor = MAINRUINCOLOR
  5589. orb.CanCollide = false
  5590. orb.FormFactor = 3
  5591. orb.Name = "Ring"
  5592. orb.Material = "Neon"
  5593. orb.Size = Vector3.new(1, 1, 1)
  5594. orb.Transparency = 0
  5595. orb.TopSurface = 0
  5596. orb.BottomSurface = 0
  5597. orb.CFrame = sorb.CFrame
  5598. local orbm = Instance.new("SpecialMesh", orb)
  5599. orbm.MeshType = "Sphere"
  5600. orbm.Name = "SizeMesh"
  5601. orbm.Scale = vt(0,0,0)
  5602. local sbs = Instance.new("BodyPosition", orb)
  5603. sbs.P = 3000
  5604. sbs.D = 1000
  5605. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5606. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  5607. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  5608. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5609. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5610. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5611. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5612. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5613. for i = 0, 10, 0.1 do
  5614. swait()
  5615. 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)
  5616. 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)
  5617. 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)
  5618. 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)
  5619. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  5620. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5621. 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)
  5622. end
  5623. orb.Anchored = true
  5624. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5625. elocacenter.Anchored = true
  5626. elocacenter.CFrame = orb.CFrame
  5627. elocacenter.Orientation = vt(0,0,0)
  5628. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5629. eloca1.Anchored = true
  5630. eloca1.CFrame = elocacenter.CFrame
  5631. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5632. eloca2.Anchored = true
  5633. eloca2.CFrame = elocacenter.CFrame
  5634. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5635. eloca3.Anchored = true
  5636. eloca3.CFrame = elocacenter.CFrame
  5637. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5638. eloca4.Anchored = true
  5639. eloca4.CFrame = elocacenter.CFrame
  5640. local lookavec = 0
  5641. local speeds = 0
  5642. CameraEnshaking(1,1)
  5643. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  5644. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  5645. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  5646. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  5647. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5648. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5649. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5650. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5651. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5652. for i = 0, 99 do
  5653. swait()
  5654. lookavec = lookavec + 2.5
  5655. speeds = speeds + 0.25
  5656. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5657. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5658. 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)
  5659.  
  5660. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5661. 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)
  5662.  
  5663. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5664. 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)
  5665.  
  5666. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5667. 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)
  5668. end
  5669.  
  5670. for i = 0, 149 do
  5671. swait()
  5672. speeds = speeds + 0.25
  5673. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5674. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5675. 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)
  5676.  
  5677. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5678. 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)
  5679.  
  5680. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5681. 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)
  5682.  
  5683. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5684. 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)
  5685. end
  5686. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  5687. for i = 0, 99 do
  5688. swait()
  5689. lookavec = lookavec - 2.5
  5690. speeds = speeds + 0.25
  5691. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5692. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5693. 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)
  5694.  
  5695. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5696. 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)
  5697.  
  5698. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5699. 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)
  5700.  
  5701. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5702. 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)
  5703. end
  5704. local scaled = 0.1*75
  5705. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  5706. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  5707. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  5708. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  5709. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  5710. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  5711. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5712. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5713. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5714. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5715. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5716. for i = 0, 10, 0.1 do
  5717. swait()
  5718. scaled = scaled - 0.001*75
  5719. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5720. 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)
  5721. 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)
  5722. 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)
  5723. 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)
  5724. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  5725. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5726. 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)
  5727. end
  5728. for x = 0, 4 do
  5729. for i = 0, 9 do
  5730. 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)
  5731. end
  5732. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  5733. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  5734. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5735. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5736. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5737. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5738. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5739. for i = 0, 5, 0.1 do
  5740. swait()
  5741. 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)
  5742. 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)
  5743. 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)
  5744. 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)
  5745. 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)
  5746. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  5747. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  5748. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  5749. end
  5750. end
  5751. local speedearn = 0
  5752. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  5753. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  5754. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  5755. for i = 0, 30, 0.1 do
  5756. swait()
  5757. scaled = scaled - 0.001*75/10
  5758. speedearn = speedearn + 0.5
  5759. for i = 0, 4 do
  5760. 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)
  5761. end
  5762. 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)
  5763. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5764. 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)
  5765. 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)
  5766. 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)
  5767. 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)
  5768. 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)
  5769. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  5770. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  5771. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  5772. end
  5773. orb.Transparency = 1
  5774. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  5775. if v:FindFirstChild('Head') then
  5776. dmg(v)
  5777. end
  5778. end
  5779. CameraEnshaking(7,30)
  5780. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  5781. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  5782. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  5783. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  5784. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  5785. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  5786. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  5787. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  5788. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  5789. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  5790. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  5791. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  5792. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  5793. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  5794. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5795. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5796. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5797. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5798. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5799. for i = 0, 99 do
  5800. 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)
  5801. 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)
  5802. end
  5803. for i = 0, 24 do
  5804. 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)
  5805. 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)
  5806. 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)
  5807. 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)
  5808. 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)
  5809. end
  5810. game:GetService("Debris"):AddItem(orb, 10)
  5811. hum.WalkSpeed = storehumanoidWS
  5812. attack = false
  5813. end
  5814.  
  5815.  
  5816. function ViolentRing()
  5817. attack = true
  5818. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  5819. for i = 0, 2, 0.1 do
  5820. swait()
  5821. local snap = math.random(1,10)
  5822. if snap == 1 then
  5823. 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)
  5824. end
  5825. 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)
  5826. 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)
  5827. 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)
  5828. 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)
  5829. 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)
  5830. 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)
  5831. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  5832. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  5833. 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)
  5834. RootPart.CFrame = FaceMouse()[1]
  5835. end
  5836. local orb = Instance.new("Part", char)
  5837. orb.BrickColor = MAINRUINCOLOR
  5838. orb.CanCollide = false
  5839. orb.FormFactor = 3
  5840. orb.Name = "Ring"
  5841. orb.Material = "Neon"
  5842. orb.Size = Vector3.new(1, 1, 1)
  5843. orb.Transparency = 0
  5844. orb.TopSurface = 0
  5845. orb.BottomSurface = 0
  5846. local orbm = Instance.new("SpecialMesh", orb)
  5847. orbm.MeshType = "Sphere"
  5848. orbm.Name = "SizeMesh"
  5849. orbm.Scale = vt(2,2,2)
  5850. orb.CFrame = mouse.Hit
  5851. local bv = Instance.new("BodyVelocity")
  5852. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5853. bv.velocity = orb.CFrame.lookVector*100
  5854. bv.Parent = orb
  5855. local hitted = false
  5856. coroutine.resume(coroutine.create(function()
  5857. game:GetService("Debris"):AddItem(orb, 5)
  5858. orb.Transparency = 1
  5859. orb.Anchored = true
  5860. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5861. elocacenter.Anchored = true
  5862. elocacenter.CFrame = orb.CFrame
  5863. elocacenter.Orientation = vt(0,0,0)
  5864. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5865. eloca1.Anchored = true
  5866. eloca1.CFrame = elocacenter.CFrame
  5867. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5868. eloca2.Anchored = true
  5869. eloca2.CFrame = elocacenter.CFrame
  5870. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5871. eloca3.Anchored = true
  5872. eloca3.CFrame = elocacenter.CFrame
  5873. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5874. eloca4.Anchored = true
  5875. eloca4.CFrame = elocacenter.CFrame
  5876. local lookavec = 0
  5877. local speeds = 0
  5878. CameraEnshaking(1,1)
  5879. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  5880. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5881. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5882. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5883. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5884. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5885. for i = 0, 24 do
  5886. swait()
  5887. lookavec = lookavec + 3.5
  5888. speeds = speeds + 1
  5889. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5890. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5891. 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)
  5892.  
  5893. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5894. 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)
  5895.  
  5896. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5897. 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)
  5898.  
  5899. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5900. 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)
  5901. end
  5902.  
  5903. local risen = 0
  5904. for i = 0, 49 do
  5905. swait()
  5906. risen = risen + 0.05
  5907. speeds = speeds + 0.1
  5908. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5909. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5910. 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)
  5911.  
  5912. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5913. 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)
  5914.  
  5915. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5916. 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)
  5917.  
  5918. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5919. 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)
  5920. end
  5921. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  5922. if v:FindFirstChild('Head') then
  5923. dmg(v)
  5924. end
  5925. end
  5926. CameraEnshaking(4,10)
  5927. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  5928. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  5929. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  5930. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  5931. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  5932. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  5933. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  5934. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  5935. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5936. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5937. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5938. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5939. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5940. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  5941. for i = 0, 24 do
  5942. 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)
  5943. 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)
  5944. 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)
  5945. 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)
  5946. end
  5947. coroutine.resume(coroutine.create(function()
  5948. wait(10)
  5949. elocacenter:Destroy()
  5950. eloca1:Destroy()
  5951. eloca2:Destroy()
  5952. eloca3:Destroy()
  5953. eloca4:Destroy()
  5954. end))
  5955. end))
  5956. attack = false
  5957. end
  5958.  
  5959. function UniversalCollapse()
  5960. attack = true
  5961. local speedearn = 0
  5962. hum.WalkSpeed = 0
  5963. local sbs = Instance.new("BodyPosition", root)
  5964. sbs.P = 3000
  5965. sbs.D = 1000
  5966. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5967. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  5968. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  5969. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  5970. for i = 0, 110, 0.1 do
  5971. swait()
  5972. speedearn = speedearn + 0.1
  5973. 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)
  5974. 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)
  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. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  5979. 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)
  5980. 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)
  5981. 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)
  5982. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5983. 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)
  5984. 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)
  5985. end
  5986. CameraEnshaking(5,50)
  5987. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  5988. for i = 0, 2 do
  5989. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  5990. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  5991. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  5992. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  5993. end
  5994. for i = 0, 49 do
  5995. 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)
  5996. 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)
  5997. 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)
  5998. 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)
  5999. end
  6000. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6001. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6002. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6003. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6004. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6005. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6006. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6007. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6008. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6009. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6010. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6011. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6012. for i = 0, 99 do
  6013. 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)
  6014. 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)
  6015. end
  6016. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  6017. if v:FindFirstChild('Head') then
  6018. dmg(v)
  6019. end
  6020. end
  6021. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  6022. sbs:Destroy()
  6023. hum.WalkSpeed = storehumanoidWS
  6024. attack = false
  6025. end
  6026.  
  6027. function th1rt3en_trans()
  6028. storehumanoidWS = 275
  6029. hum.WalkSpeed = 0
  6030. attack=true
  6031. newThemeCust("rbxassetid://723652641",0,1,1.25)
  6032.  
  6033. repeat
  6034. swait()
  6035. local snap = math.random(1,10)
  6036. if snap == 1 then
  6037. 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)
  6038. end
  6039. 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)
  6040. 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)
  6041. 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)
  6042. 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)
  6043. 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)
  6044. 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)
  6045.  
  6046. until kan.TimePosition > 2.4
  6047. for i = 0, 5, .1 do
  6048. swait()
  6049. 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)
  6050. 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)
  6051. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6052. 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)
  6053. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6054. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6055. modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6056. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
  6057. fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6058. end
  6059.  
  6060. repeat
  6061. swait()
  6062. modet.Position = UDim2.new(0,0,0,0)
  6063. fullscreenz.Position = UDim2.new(0,0,0,0)
  6064. modet.Rotation = -5 * math.cos(sine / 32)
  6065. 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)
  6066. 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)
  6067. 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)
  6068. 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)
  6069. 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)
  6070. 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)
  6071. until kan.TimePosition > 6.5
  6072. for i = 0, 5, .1 do
  6073. swait()
  6074. 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)
  6075. 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)
  6076. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6077. 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)
  6078. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6079. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6080. modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6081. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
  6082. fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
  6083. end
  6084. bosschatfunc("Look at my hands..",MAINRUINCOLOR.Color,2)
  6085. for i = 0, 10, .1 do
  6086. modet.Position = UDim2.new(0,0,0,0)
  6087. modet.Rotation = -5 * math.cos(sine / 32)
  6088. fullscreenz.Position = UDim2.new(0,0,0,0)
  6089. swait()
  6090. 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)
  6091. 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)
  6092. 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)
  6093. 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)
  6094. 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)
  6095. 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)
  6096. end
  6097. bosschatfunc("They're shaking..",MAINRUINCOLOR.Color,2)
  6098. for i = 0, 6, .1 do
  6099. swait()
  6100. 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)
  6101. 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)
  6102. 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)
  6103. 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)
  6104. 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)
  6105. 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)
  6106. end
  6107. bosschatfunc("All my body is shaking..",MAINRUINCOLOR.Color,2)
  6108. for i = 0, 24, .1 do
  6109. swait()
  6110. 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)
  6111. 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)
  6112. 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)
  6113. 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)
  6114. 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)
  6115. 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)
  6116. end
  6117. bosschatfunc("He was there!",MAINRUINCOLOR.Color,2)
  6118. for i = 0, 5, .1 do
  6119. swait()
  6120. 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)
  6121. 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)
  6122. 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)
  6123. 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)
  6124. 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)
  6125. 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)
  6126. end
  6127. for i = 0, 6, .1 do
  6128. swait()
  6129. 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)
  6130. 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)
  6131. 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)
  6132. 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)
  6133. 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)
  6134. 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)
  6135. end
  6136. bosschatfunc("But I was watching him, through the mirror..",MAINRUINCOLOR.Color,2)
  6137. for i = 0, 9, .1 do
  6138. swait()
  6139. 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)
  6140. 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)
  6141. 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)
  6142. 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)
  6143. 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)
  6144. 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)
  6145. end
  6146. bosschatfunc("I knew he was looking at me..",MAINRUINCOLOR.Color,2)
  6147. for i = 0, 11, .1 do
  6148. swait()
  6149. 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)
  6150. 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)
  6151. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6152. 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)
  6153. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6154. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6155. end
  6156. bosschatfunc("Two invisible eyes..",MAINRUINCOLOR.Color,2)
  6157. for i = 0, 10, .1 do
  6158. swait()
  6159. 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)
  6160. 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)
  6161. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6162. 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)
  6163. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6164. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6165. end
  6166. local inc = 0
  6167. bosschatfunc("Two invisible--",MAINRUINCOLOR.Color,2)
  6168. for i = 0, 6, .1 do
  6169. swait()
  6170. inc=inc+1
  6171. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6172. 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)
  6173. 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)
  6174. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4)
  6175. 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)
  6176. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
  6177. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
  6178. end
  6179. CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25)
  6180. for i = 0, 3, .1 do
  6181. swait()
  6182. inc=inc+1
  6183. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6184. 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)
  6185. 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)
  6186. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6187. 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)
  6188. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
  6189. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4)
  6190. end
  6191. CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1)
  6192. for i = 0, 3, .1 do
  6193. swait()
  6194. inc=inc+1
  6195. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6196. 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)
  6197. 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)
  6198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6199. 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)
  6200. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4)
  6201. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
  6202. end
  6203. for i = 0, 6, .1 do
  6204. swait()
  6205. inc=inc+5
  6206. fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
  6207. 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)
  6208. 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)
  6209. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6210. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4)
  6211. RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6212. LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
  6213. end
  6214. fullscreenz.Position = UDim2.new(0,0,0,0)
  6215. attack=false
  6216. MAINRUINCOLOR = BrickColor.new("Really black")
  6217. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6218. for i = 0, 49 do
  6219. 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)
  6220. end
  6221. for i = 0, 24 do
  6222. 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)
  6223. 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"))
  6224. end
  6225. for i = 0,3,0.1 do
  6226. 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)
  6227. end
  6228. currentVol=5
  6229. Humanoid.WalkSpeed = storehumanoidWS
  6230. ModeOfGlitch = 738
  6231. rainbowmode = false
  6232. chaosmode = false
  6233. RecolorTextAndRename("INFINITE",Color3.new(0.1,.1,.1),BrickColor.new("Really black").Color,"Antique")
  6234.  
  6235. MAINRUINCOLOR = BrickColor.new("Really black")
  6236. warnedpeople("DEPTHS OF HELL!!!","Antique",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color)
  6237. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.9,BrickColor.new("Dark stone grey"),0,BrickColor.new("Black"),true)
  6238. end
  6239.  
  6240. function hugg()
  6241. attack = true
  6242. hum.WalkSpeed = 5
  6243. local rsiz = math.random(5,15)
  6244. for i = 0, 2, 0.1 do
  6245. swait()
  6246. 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)
  6247. 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)
  6248. 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)
  6249. 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)
  6250. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  6251. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  6252. end
  6253. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  6254. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6255. hb.Anchored = true
  6256. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  6257. local huggedperson = nil
  6258. local act = false
  6259. local alreadydid = false
  6260. for i = 0, 3, 0.1 do
  6261. swait()
  6262. if act == false then
  6263. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  6264. if v:FindFirstChild('Head') then
  6265. if alreadydid == false then
  6266. huggedperson = v
  6267. hum.WalkSpeed = 0
  6268. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  6269. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  6270. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  6271. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  6272. local radm = math.random(1,3)
  6273. if radm == 1 then
  6274. bosschatfunc2("I'm sorry if i did anything bad :(",MAINRUINCOLOR.Color,1)
  6275. elseif radm == 2 then
  6276. bosschatfunc2("I..I I'm intrested in you",MAINRUINCOLOR.Color,1)
  6277. elseif radm == 3 then
  6278. bosschatfunc2("Don't worry.. your with me",MAINRUINCOLOR.Color,1)
  6279. end
  6280. root.Anchored = true
  6281. coroutine.resume(coroutine.create(function()
  6282. huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
  6283. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  6284. end))
  6285. chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  6286. alreadydid = true
  6287. act = true
  6288. print(huggedperson.Name)
  6289. end
  6290. end
  6291. end
  6292. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  6293. 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)
  6294. elseif act == true then
  6295. coroutine.resume(coroutine.create(function()
  6296. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  6297. end))
  6298. 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)
  6299. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  6300. end
  6301. 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)
  6302. 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)
  6303. 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)
  6304. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  6305. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  6306. end
  6307. hb:Destroy()
  6308. if act == true then
  6309. for x = 0, 2 do
  6310. for i = 0, 2, 0.1 do
  6311. swait()
  6312. coroutine.resume(coroutine.create(function()
  6313. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  6314. end))
  6315. rsiz = math.random(5,15)
  6316. 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)
  6317. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  6318. 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)
  6319. 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)
  6320. 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)
  6321. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  6322. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  6323. end
  6324. for i = 0, 2, 0.1 do
  6325. swait()
  6326. coroutine.resume(coroutine.create(function()
  6327. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  6328. end))
  6329. 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)
  6330. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  6331. 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)
  6332. 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)
  6333. 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)
  6334. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  6335. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  6336. end
  6337. end
  6338. end
  6339. hum.WalkSpeed = storehumanoidWS
  6340. root.Anchored = false
  6341. if act == true then
  6342. coroutine.resume(coroutine.create(function()
  6343. huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
  6344. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  6345. end))
  6346. end
  6347. hum.WalkSpeed = storehumanoidWS
  6348. attack = false
  6349. end
  6350.  
  6351. function lovesqueal()
  6352. attack = true
  6353. hum.WalkSpeed = 0
  6354. CFuncs["Sound"].Create("rbxassetid://2500548008", root, 1, 1)
  6355. local blush = Instance.new("Decal",hed)
  6356. blush.Texture = "rbxassetid://898404027"
  6357. blush.Face = "Front"
  6358. for i = 0, 11, 0.1 do
  6359. swait()
  6360. 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)
  6361. 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)
  6362. 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)
  6363. 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)
  6364. 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)
  6365. 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)
  6366. end
  6367. for x = 0, 1 do
  6368. for i = 0, 1, 0.2 do
  6369. swait()
  6370. 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)
  6371. 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)
  6372. 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)
  6373. 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)
  6374. 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)
  6375. 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)
  6376. end
  6377. for i = 0, 1, 0.2 do
  6378. swait()
  6379. 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)
  6380. 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)
  6381. 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)
  6382. 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)
  6383. 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)
  6384. 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)
  6385. end
  6386. end
  6387. coroutine.resume(coroutine.create(function()
  6388. for i = 0, 49 do
  6389. swait()
  6390. blush.Transparency = blush.Transparency + 0.02
  6391. end
  6392. blush:Destroy()
  6393. end))
  6394. attack = false
  6395. hum.WalkSpeed = storehumanoidWS
  6396. end
  6397.  
  6398. function cutesigh()
  6399. attack = true
  6400. hum.WalkSpeed = 0
  6401. hum.JumpPower = 0
  6402. bosschatfunc2("sigh~~",MAINRUINCOLOR.Color,1)
  6403. local blush = Instance.new("Decal",hed)
  6404. blush.Texture = "rbxassetid://898404027"
  6405. blush.Face = "Front"
  6406. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  6407. for i = 0, 9, 0.1 do
  6408. swait()
  6409. 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)
  6410. 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)
  6411. 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)
  6412. 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)
  6413. 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)
  6414. 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)
  6415. end
  6416. coroutine.resume(coroutine.create(function()
  6417. for i = 0, 49 do
  6418. swait()
  6419. blush.Transparency = blush.Transparency + 0.02
  6420. end
  6421. blush:Destroy()
  6422. end))
  6423. hum.WalkSpeed = storehumanoidWS
  6424. hum.JumpPower = 50
  6425. attack = false
  6426. end
  6427.  
  6428.  
  6429.  
  6430. function ChaosEND()
  6431. attack = true
  6432. local speedearn = 0
  6433. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  6434. for i = 0, 15, 0.1 do
  6435. swait()
  6436. speedearn = speedearn + 0.25
  6437. 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)
  6438. 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)
  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. 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)
  6443. 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)
  6444. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  6447. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  6448. end
  6449. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  6450. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  6451. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  6452. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  6453. CameraEnshaking(5,25)
  6454. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6455. if v:FindFirstChild('Head') then
  6456. dmg(v)
  6457. end
  6458. end
  6459. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  6460. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  6461. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  6462. for i = 0, 3, 0.1 do
  6463. swait()
  6464. 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)
  6465. 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)
  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. 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)
  6469. 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)
  6470. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6471. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6472. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  6473. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  6474. end
  6475. attack = false
  6476. end
  6477.  
  6478. function createBGCircle(size,parent,color)
  6479. local bgui = Instance.new("BillboardGui",parent)
  6480. bgui.Size = UDim2.new(size, 0, size, 0)
  6481. local imgc = Instance.new("ImageLabel",bgui)
  6482. imgc.BackgroundTransparency = 1
  6483. imgc.ImageTransparency = 0
  6484. imgc.Size = UDim2.new(1,0,1,0)
  6485. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  6486. imgc.ImageColor3 = color
  6487. return bgui,imgc
  6488. end
  6489.  
  6490.  
  6491. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  6492. local bgui,imgc = createBGCircle(size,guipar,color)
  6493. bgui.AlwaysOnTop = true
  6494. imgc.Image = "rbxassetid://" ..img
  6495. local rrot = math.random(1,2)
  6496. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  6497. coroutine.resume(coroutine.create(function()
  6498. for i = 0, 24*delay do
  6499. swait()
  6500. if rotationenabled == true then
  6501. if rrot == 1 then
  6502. imgc.Rotation = imgc.Rotation + rotsp
  6503. elseif rrot == 2 then
  6504. imgc.Rotation = imgc.Rotation - rotsp
  6505. end
  6506. end
  6507. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  6508. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  6509. end
  6510. bgui:Destroy()
  6511. end))
  6512. end
  6513. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  6514. for i, v in pairs(mw2:GetChildren()) do
  6515. if v:IsA("Part") then
  6516. v.BrickColor = one
  6517. v.Material = "Neon"
  6518. end
  6519. end
  6520. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  6521. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  6522. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  6523. tr1.Color = ColorSequence.new(one.Color)
  6524. tr2.Color = ColorSequence.new(one.Color)
  6525. tr3.Color = ColorSequence.new(one.Color)
  6526. for i, v in pairs(mw1:GetChildren()) do
  6527. if v:IsA("Part") then
  6528. if secondaryenabled == false then
  6529. v.Transparency = 1
  6530. elseif secondaryenabled == true then
  6531. v.Transparency = 0
  6532. end
  6533. v.BrickColor = two
  6534. v.Material = "Neon"
  6535. end
  6536. end
  6537. if secondaryenabled == false then
  6538. tl1.Enabled = false
  6539. tl2.Enabled = false
  6540. tl3.Enabled = false
  6541. elseif secondaryenabled == true then
  6542. tl1.Enabled = true
  6543. tl2.Enabled = true
  6544. tl3.Enabled = true
  6545. end
  6546. tl1.Color = ColorSequence.new(two.Color)
  6547. tl2.Color = ColorSequence.new(two.Color)
  6548. tl3.Color = ColorSequence.new(two.Color)
  6549. for i, v in pairs(m:GetChildren()) do
  6550. if v:IsA("Part") then
  6551. v.BrickColor = three
  6552. v.Material = "Ice"
  6553. end
  6554. end
  6555. for i, v in pairs(m2:GetChildren()) do
  6556. if v:IsA("Part") then
  6557. v.BrickColor = four
  6558. v.Material = "Ice"
  6559. end
  6560. end
  6561. for i, v in pairs(m3:GetChildren()) do
  6562. if v:IsA("Part") then
  6563. v.BrickColor = five
  6564. v.Material = "Neon"
  6565. end
  6566. end
  6567. for i, v in pairs(extrawingmod1:GetChildren()) do
  6568. if v:IsA("Part") then
  6569. v.Transparency = exonetran
  6570. v.BrickColor = exone
  6571. v.Material = "Neon"
  6572. end
  6573. end
  6574. for i, v in pairs(extrawingmod2:GetChildren()) do
  6575. if v:IsA("Part") then
  6576. v.Transparency = extwotran
  6577. v.BrickColor = extwo
  6578. v.Material = "Neon"
  6579. end
  6580. end
  6581. end
  6582.  
  6583.  
  6584. function normalmog()
  6585. attack = true
  6586. hum.WalkSpeed = 0
  6587. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  6588. for i = 0,6,0.1 do
  6589. swait()
  6590. 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)
  6591. 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)
  6592. 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)
  6593. 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)
  6594. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  6595. 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)
  6596. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6597. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6598. end
  6599. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  6600. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  6601. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  6602. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  6603. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  6604. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  6605. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  6606. rainbowmode = false
  6607. chaosmode = false
  6608. ModeOfGlitch = 1
  6609. storehumanoidWS = 16
  6610. newTheme("rbxassetid://614032233",48.6,1,1.25)
  6611. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6612. CameraEnshaking(5,2.5)
  6613. MAINRUINCOLOR = BrickColor.new("Really red")
  6614. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6615. for i = 0, 49 do
  6616. 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)
  6617. end
  6618. for i = 0, 24 do
  6619. 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)
  6620. 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"))
  6621. end
  6622. for i = 0,3,0.1 do
  6623. 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)
  6624. end
  6625. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  6626. for i = 0,2,0.1 do
  6627. swait()
  6628. 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)
  6629. 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)
  6630. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  6631. 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)
  6632. 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)
  6633. 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)
  6634. end
  6635. hum.WalkSpeed = storehumanoidWS
  6636. attack = false
  6637. end
  6638.  
  6639. function attackone()
  6640. attack = true
  6641. for i = 0,1,0.1 do
  6642. swait()
  6643. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  6644. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  6645. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6646. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6647. 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)
  6648. 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)
  6649. end
  6650. CFuncs["Sound"].Create("rbxassetid://1448033299", root, 1, 1)
  6651.  
  6652. local hitb = Instance.new("Part", char)
  6653. hitb.Anchored = true
  6654. hitb.CanCollide = false
  6655. hitb.FormFactor = 3
  6656. hitb.Name = "Ring"
  6657. hitb.Material = "Neon"
  6658. hitb.Size = Vector3.new(1, 1, 1)
  6659. hitb.Transparency = 1
  6660. hitb.TopSurface = 0
  6661. hitb.BottomSurface = 0
  6662. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  6663. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  6664. hitb:Destroy()
  6665. for i = 0,1,0.1 do
  6666. swait()
  6667. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  6668. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  6669. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  6670. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  6671. 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)
  6672. 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)
  6673. end
  6674.  
  6675. attack = false
  6676. end
  6677.  
  6678. function attacktwo()
  6679. attack = true
  6680. for i = 0,1,0.1 do
  6681. swait()
  6682. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  6683. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  6684. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  6685. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  6686. 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)
  6687. 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)
  6688. end
  6689. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  6690. local hitb = Instance.new("Part", char)
  6691. hitb.Anchored = true
  6692. hitb.CanCollide = false
  6693. hitb.FormFactor = 3
  6694. hitb.Name = "Ring"
  6695. hitb.Material = "Neon"
  6696. hitb.Size = Vector3.new(1, 1, 1)
  6697. hitb.Transparency = 1
  6698. hitb.TopSurface = 0
  6699. hitb.BottomSurface = 0
  6700. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  6701. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  6702. hitb:Destroy()
  6703. for i = 0,1,0.1 do
  6704. swait()
  6705. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  6706. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  6707. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  6708. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  6709. 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)
  6710. 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)
  6711. end
  6712. attack = false
  6713. end
  6714.  
  6715. function attackthree()
  6716. attack = true
  6717. for i = 0,1,0.1 do
  6718. swait()
  6719. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  6720. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  6721. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6722. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  6723. 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)
  6724. 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)
  6725. end
  6726. CFuncs["Sound"].Create("rbxassetid://1690476035", root, 1, 1)
  6727.  
  6728. local hitb = Instance.new("Part", char)
  6729. hitb.Anchored = true
  6730. hitb.CanCollide = false
  6731. hitb.FormFactor = 3
  6732. hitb.Name = "Ring"
  6733. hitb.Material = "Neon"
  6734. hitb.Size = Vector3.new(1, 1, 1)
  6735. hitb.Transparency = 1
  6736. hitb.TopSurface = 0
  6737. hitb.BottomSurface = 0
  6738. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  6739. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  6740. hitb:Destroy()
  6741. for i = 0,1,0.1 do
  6742. swait()
  6743. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  6744. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  6745. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  6746. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  6747. 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)
  6748. 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)
  6749. end
  6750. attack = false
  6751. end
  6752. ----------------------------------- Abilities
  6753. function ExtinctiveHeartbreak()
  6754. local targetted = nil
  6755. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6756. targetted = mouse.Target.Parent
  6757. end
  6758. if targetted ~= nil then
  6759. attack = true
  6760. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6761. for i = 0, 9 do
  6762. --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)
  6763. end
  6764. for i = 0, 24 do
  6765. --
  6766. end
  6767. --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6768. local originalpos = root.CFrame
  6769. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  6770. for i = 0, 9 do
  6771. --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)
  6772. end
  6773. for i = 0, 24 do
  6774. end
  6775. hum.WalkSpeed = 0
  6776. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6777. local radm = math.random(1,3)
  6778. if radm == 1 then
  6779. bosschatfunc("๐Ÿ‘Žโ–ก โ“โ–กโ—† โงซโ™’โ™“โ– & โ“โ–กโ—† โ™โ™‹โ–  โ™โฌงโ™โ™‹โ—ปโ™โœ",MAINRUINCOLOR.Color,2)
  6780. elseif radm == 2 then
  6781. bosschatfunc("GOTCHA!",MAINRUINCOLOR.Color,2)
  6782. elseif radm == 3 then
  6783. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  6784. end
  6785. for i = 0,2,0.1 do
  6786. swait()
  6787. 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)
  6788. 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)
  6789. 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)
  6790. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  6791. 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)
  6792. 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)
  6793. end
  6794. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  6795. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  6796. for i = 0,2,0.1 do
  6797. swait()
  6798. coroutine.resume(coroutine.create(function()
  6799. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6800. for i,v in pairs(targetted:GetChildren()) do
  6801. if v:IsA("Part") or v:IsA("MeshPart") then
  6802. v.Velocity = vt(0,0,0)
  6803. end
  6804. end
  6805. end))
  6806. 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)
  6807. 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)
  6808. 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)
  6809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  6810. 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)
  6811. 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)
  6812. end
  6813. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  6814. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  6815. for i = 0, 1 do
  6816. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  6817. end
  6818. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  6819. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  6820. for i = 0,4,0.1 do
  6821. swait()
  6822. coroutine.resume(coroutine.create(function()
  6823. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6824. 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)))
  6825. local at1 = Instance.new("Attachment",dis)
  6826. at1.Position = vt(-25000,0,0)
  6827. local at2 = Instance.new("Attachment",dis)
  6828. at2.Position = vt(25000,0,0)
  6829. local trl = Instance.new('Trail',dis)
  6830. trl.Attachment0 = at1
  6831. trl.FaceCamera = true
  6832. trl.Attachment1 = at2
  6833. trl.Texture = "rbxassetid://1049219073"
  6834. trl.LightEmission = 1
  6835. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6836. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  6837. trl.Lifetime = 5
  6838. local bv = Instance.new("BodyVelocity")
  6839. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6840. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6841. bv.Parent = dis
  6842. game:GetService("Debris"):AddItem(dis, 5)
  6843. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6844. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  6845. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  6846. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  6847. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  6848. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  6849. 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)
  6850. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  6851. for i = 0, 2 do
  6852. --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"))
  6853. end
  6854. 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)
  6855. for i,v in pairs(targetted:GetChildren()) do
  6856. if v:IsA("Part") or v:IsA("MeshPart") then
  6857. v.Velocity = vt(0,0,0)
  6858. end
  6859. end
  6860. end))
  6861. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6862. 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)
  6863. 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)
  6864. 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)
  6865. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  6866. 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)
  6867. 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)
  6868. end
  6869. hum.CameraOffset = vt(0,0,0)
  6870. for i = 0, 49 do
  6871. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6872. 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)))
  6873. local at1 = Instance.new("Attachment",dis)
  6874. at1.Position = vt(-50000,0,0)
  6875. local at2 = Instance.new("Attachment",dis)
  6876. at2.Position = vt(50000,0,0)
  6877. local trl = Instance.new('Trail',dis)
  6878. trl.Attachment0 = at1
  6879. trl.FaceCamera = true
  6880. trl.Attachment1 = at2
  6881. trl.Texture = "rbxassetid://1049219073"
  6882. trl.LightEmission = 1
  6883. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6884. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  6885. trl.Lifetime = 5
  6886. local bv = Instance.new("BodyVelocity")
  6887. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6888. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6889. bv.Parent = dis
  6890. game:GetService("Debris"):AddItem(dis, 5)
  6891. end
  6892. for i = 0, 49 do
  6893. 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)
  6894. --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"))
  6895. end
  6896. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  6897. for i = 0, 1 do
  6898. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  6899. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  6900. end
  6901. for i = 0, 4 do
  6902. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  6903. end
  6904. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  6905. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  6906. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  6907. dmg(targetted)
  6908. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6909. for i = 0, 9 do
  6910. --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)
  6911. end
  6912. for i = 0, 24 do
  6913. end
  6914. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6915. root.CFrame = originalpos
  6916. for i = 0, 9 do
  6917. --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)
  6918. end
  6919. for i = 0, 24 do
  6920. end
  6921. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6922. attack = false
  6923. hum.WalkSpeed = storehumanoidWS
  6924. end
  6925. end
  6926.  
  6927.  
  6928. function CorruptionEvent()
  6929. attack = true
  6930. hum.WalkSpeed = 0
  6931. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6932. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6933. local keptcolor = MAINRUINCOLOR
  6934. for i = 0,4,0.1 do
  6935. swait()
  6936. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6937. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6938. 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)
  6939. 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)
  6940. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  6941. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  6942. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  6943. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6944. end
  6945. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6946. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  6947. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  6948. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6949. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6950. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6951. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  6952. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  6953. hum.CameraOffset = vt(0,0,0)
  6954. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6955. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6956. for i = 0, 24 do
  6957. --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"))
  6958. end
  6959. local rrot = 0
  6960. coroutine.resume(coroutine.create(function()
  6961. for i = 0, 4 do
  6962. rrot = rrot + 45
  6963. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6964. xa.Anchored = true
  6965. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6966. xb.Anchored = true
  6967. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6968. xc.Anchored = true
  6969. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6970. xd.Anchored = true
  6971. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  6972. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  6973. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  6974. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  6975. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  6976. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  6977. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  6978. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  6979. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  6980. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  6981. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  6982. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  6983. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  6984. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  6985. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  6986. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  6987. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6988. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6989. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6990. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  6991. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6992. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6993. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6994. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  6995. 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)
  6996. 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)
  6997. 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)
  6998. 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)
  6999. 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))
  7000. 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))
  7001. 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))
  7002. 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))
  7003. game:GetService("Debris"):AddItem(xa, 5)
  7004. game:GetService("Debris"):AddItem(xb, 5)
  7005. game:GetService("Debris"):AddItem(xc, 5)
  7006. game:GetService("Debris"):AddItem(xd, 5)
  7007. coroutine.resume(coroutine.create(function()
  7008. for i = 0, 19 do
  7009. swait()
  7010. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7011. end
  7012. hum.CameraOffset = vt(0,0,0)
  7013. end))
  7014. swait(9)
  7015. end
  7016. end))
  7017. for i = 0,2,0.1 do
  7018. swait()
  7019. 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)
  7020. 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)
  7021. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  7022. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  7023. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  7024. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  7025. end
  7026. attack = false
  7027. hum.WalkSpeed = storehumanoidWS
  7028. end
  7029.  
  7030. function EndGROUND()
  7031. attack = true
  7032. hum.WalkSpeed = 0
  7033. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  7034. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  7035. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  7036. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  7037. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  7038. local keptcolor = MAINRUINCOLOR
  7039. for i = 0,4,0.1 do
  7040. swait()
  7041. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7042. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7043. --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"))
  7044. 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)
  7045. 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)
  7046. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  7047. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  7048. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  7049. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  7050. end
  7051. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  7052. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  7053. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  7054. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  7055. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  7056. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  7057. coroutine.resume(coroutine.create(function()
  7058. local shval = 10
  7059. for i = 0, 99 do
  7060. swait()
  7061. shval = shval - 0.1
  7062. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  7063. end
  7064. hum.CameraOffset = vt(0,0,0)
  7065. end))
  7066. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7067. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7068. for i = 0, 24 do
  7069. --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"))
  7070. end
  7071. local rrot = 0
  7072. local xam = 1
  7073. coroutine.resume(coroutine.create(function()
  7074. for i = 0, 14 do
  7075. --swait()
  7076. rrot = rrot + 40*xam
  7077. xam = xam + 0.25
  7078. local bonus = xam
  7079. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  7080. xa.Anchored = true
  7081. xa.Color = Color3.new(0,0,0)
  7082. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  7083. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  7084. local xc = 0
  7085. coroutine.resume(coroutine.create(function()
  7086. for i = 0, 99 do
  7087. swait()
  7088. xc = xc + 0.01
  7089. xa.Color = Color3.new(xc,0,0)
  7090. end
  7091. xa.Transparency = 1
  7092. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  7093. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  7094. for i = 0, 9 do
  7095. --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"))
  7096. end
  7097. 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)
  7098. 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)
  7099. 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))
  7100. game:GetService("Debris"):AddItem(xa, 5)
  7101. coroutine.resume(coroutine.create(function()
  7102. for i = 0, 19 do
  7103. swait()
  7104. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7105. end
  7106. hum.CameraOffset = vt(0,0,0)
  7107. end))
  7108. end))
  7109. end
  7110. end))
  7111. for i = 0,2,0.1 do
  7112. swait()
  7113. 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)
  7114. 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)
  7115. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  7116. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  7117. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  7118. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  7119. end
  7120. attack = false
  7121. hum.WalkSpeed = storehumanoidWS
  7122. end
  7123.  
  7124. function HeavenlyDisk()
  7125. attack = true
  7126. hum.WalkSpeed = 2
  7127. local keptcolor = MAINRUINCOLOR
  7128. local radm = math.random(1,3)
  7129. if radm == 1 then
  7130. bosschatfunc("DONT COME TO ME CLOSER!",MAINRUINCOLOR.Color,1)
  7131. elseif radm == 2 then
  7132. bosschatfunc("LEAVE ME ALONE!",MAINRUINCOLOR.Color,1)
  7133. elseif radm == 3 then
  7134. bosschatfunc("WHY YOU REDUSE?!",MAINRUINCOLOR.Color,1)
  7135. end
  7136. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  7137. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  7138. for i = 0, 14 do
  7139. --
  7140. end
  7141. for i = 0,2,0.1 do
  7142. swait()
  7143. 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)
  7144. 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)
  7145. 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)
  7146. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  7147. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  7148. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  7149. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  7150. end
  7151. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  7152. for i = 0,1,0.6 do
  7153. swait()
  7154. 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)
  7155. --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"))
  7156. 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)
  7157. 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)
  7158. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  7159. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7160. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7161. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7162. end
  7163. for i = 0,1,0.6 do
  7164. swait()
  7165. 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)
  7166. --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"))
  7167. 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)
  7168. 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)
  7169. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  7170. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7171. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7172. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7173. end
  7174. for i = 0,1,0.6 do
  7175. swait()
  7176. 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)
  7177. --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"))
  7178. 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)
  7179. 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)
  7180. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  7181. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7182. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7183. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7184. end
  7185. for i = 0,1,0.6 do
  7186. swait()
  7187. 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)
  7188. --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"))
  7189. 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)
  7190. 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)
  7191. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  7192. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7193. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7194. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7195. end
  7196. local rot = 15
  7197. for i = 0, 2 do
  7198. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Really black"))
  7199. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  7200. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  7201. CreateMesh(dis,"Sphere",10,1,10)
  7202. local at1 = Instance.new("Attachment",dis)
  7203. at1.Position = vt(-5,0,0)
  7204. local at2 = Instance.new("Attachment",dis)
  7205. at2.Position = vt(5,0,0)
  7206. local trl = Instance.new('Trail',wed)
  7207. trl.Attachment0 = at1
  7208. trl.Attachment1 = at2
  7209. trl.Texture = "rbxassetid://1049219073"
  7210. trl.LightEmission = 1
  7211. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7212. trl.Color = ColorSequence.new(dis.Color)
  7213. trl.Lifetime = 0.6
  7214. local a = Instance.new("Part",workspace)
  7215. a.Name = "Direction"
  7216. a.Anchored = true
  7217. a.BrickColor = bc("Bright red")
  7218. a.Material = "Neon"
  7219. a.Transparency = 1
  7220. a.CanCollide = false
  7221. local ray = Ray.new(
  7222. dis.CFrame.p, -- origin
  7223. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  7224. )
  7225. local ignore = dis
  7226. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7227. a.BottomSurface = 10
  7228. a.TopSurface = 10
  7229. local distance = (dis.CFrame.p - position).magnitude
  7230. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7231. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  7232. dis.CFrame = a.CFrame
  7233. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  7234. a:Destroy()
  7235. local bv = Instance.new("BodyVelocity")
  7236. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7237. bv.velocity = dis.CFrame.lookVector*250
  7238. bv.Parent = dis
  7239. game:GetService("Debris"):AddItem(dis, 5)
  7240. local hitted = false
  7241. coroutine.resume(coroutine.create(function()
  7242. dis.Touched:connect(function(hit)
  7243. if hitted == false and hit.Parent ~= char then
  7244. hitted = true
  7245. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  7246. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  7247. --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  7248. --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  7249. --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  7250. coroutine.resume(coroutine.create(function()
  7251. for i = 0, 9 do
  7252. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7253. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7254. local at1 = Instance.new("Attachment",disr)
  7255. at1.Position = vt(-2,0,0)
  7256. local at2 = Instance.new("Attachment",disr)
  7257. at2.Position = vt(2,0,0)
  7258. local trl = Instance.new('Trail',disr)
  7259. trl.Attachment0 = at1
  7260. trl.FaceCamera = true
  7261. trl.Attachment1 = at2
  7262. trl.Texture = "rbxassetid://2342682798"
  7263. trl.LightEmission = 1
  7264. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7265. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7266. trl.Lifetime = 0.5
  7267. local bv = Instance.new("BodyVelocity")
  7268. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7269. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  7270. bv.Parent = disr
  7271. local val = 0
  7272. coroutine.resume(coroutine.create(function()
  7273. swait(30)
  7274. for i = 0, 9 do
  7275. swait()
  7276. val = val + 0.1
  7277. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7278. end
  7279. game:GetService("Debris"):AddItem(disr, 3)
  7280. end))
  7281. end
  7282. local eff = Instance.new("ParticleEmitter",dis)
  7283. eff.Texture = "rbxassetid://2273224484"
  7284. eff.LightEmission = 1
  7285. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7286. eff.Rate = 500000
  7287. eff.Lifetime = NumberRange.new(0.5,2)
  7288. 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)})
  7289. 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)})
  7290. eff.Speed = NumberRange.new(20,250)
  7291. eff.Drag = 5
  7292. eff.Rotation = NumberRange.new(-500,500)
  7293. eff.VelocitySpread = 9000
  7294. eff.RotSpeed = NumberRange.new(-50,50)
  7295. wait(0.25)
  7296. eff.Enabled = false
  7297. end))
  7298. for i = 0, 9 do
  7299. --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"))
  7300. end
  7301. for i = 0, 19 do
  7302. --
  7303. end
  7304. coroutine.resume(coroutine.create(function()
  7305. for i = 0, 19 do
  7306. swait()
  7307. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  7308. end
  7309. hum.CameraOffset = vt(0,0,0)
  7310. end))
  7311. dis.Anchored = true
  7312. dis.Transparency = 1
  7313. wait(8)
  7314. dis:Destroy()
  7315. end
  7316. end)
  7317. end))
  7318. rot = rot - 15
  7319. end
  7320. for i = 0,2,0.1 do
  7321. swait()
  7322. 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)
  7323. 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)
  7324. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  7325. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  7326. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  7327. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  7328. end
  7329. attack = false
  7330. hum.WalkSpeed = storehumanoidWS
  7331. end
  7332.  
  7333. function RapidBurst()
  7334. attack = true
  7335. hum.WalkSpeed = 0
  7336. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  7337. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  7338. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  7339. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  7340. local keptcolor = MAINRUINCOLOR
  7341. for i = 0,8,0.1 do
  7342. swait()
  7343. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7344. --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())
  7345. 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)
  7346. 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)
  7347. 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)
  7348. 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)
  7349. 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)
  7350. 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)
  7351. 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)
  7352. end
  7353. for i = 0, 99 do
  7354. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7355. 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)))
  7356. local at1 = Instance.new("Attachment",dis)
  7357. at1.Position = vt(-25000,0,0)
  7358. local at2 = Instance.new("Attachment",dis)
  7359. at2.Position = vt(25000,0,0)
  7360. local trl = Instance.new('Trail',dis)
  7361. trl.Attachment0 = at1
  7362. trl.FaceCamera = true
  7363. trl.Attachment1 = at2
  7364. trl.Texture = "rbxassetid://1049219073"
  7365. trl.LightEmission = 1
  7366. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7367. trl.Color = ColorSequence.new(BrickColor.random().Color)
  7368. trl.Lifetime = 5
  7369. local bv = Instance.new("BodyVelocity")
  7370. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7371. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7372. bv.Parent = dis
  7373. game:GetService("Debris"):AddItem(dis, 5)
  7374. end
  7375. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  7376. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  7377. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  7378. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  7379. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  7380. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  7381. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  7382. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  7383. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  7384. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  7385. hum.CameraOffset = vt(0,0,0)
  7386. for i = 0, 24 do
  7387. --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())
  7388. end
  7389. local distam = 0
  7390. coroutine.resume(coroutine.create(function()
  7391. for i = 0, 99 do
  7392. wait()
  7393. distam = distam + 1
  7394. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7395. xa.Anchored = true
  7396. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  7397. game:GetService("Debris"):AddItem(xa, 5)
  7398. for i = 0, 4 do
  7399. --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())
  7400. end
  7401. coroutine.resume(coroutine.create(function()
  7402. local eff = Instance.new("ParticleEmitter",xa)
  7403. eff.Texture = "rbxassetid://2273224484"
  7404. eff.LightEmission = 1
  7405. eff.Color = ColorSequence.new(BrickColor.random().Color)
  7406. eff.Rate = 500000
  7407. eff.Lifetime = NumberRange.new(1,3)
  7408. 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)})
  7409. 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)})
  7410. eff.Speed = NumberRange.new(50,500)
  7411. eff.Drag = 5
  7412. eff.Rotation = NumberRange.new(-500,500)
  7413. eff.VelocitySpread = 9000
  7414. eff.RotSpeed = NumberRange.new(-50,50)
  7415. wait(0.25)
  7416. eff.Enabled = false
  7417. end))
  7418. coroutine.resume(coroutine.create(function()
  7419. for i = 0, 19 do
  7420. swait()
  7421. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  7422. end
  7423. hum.CameraOffset = vt(0,0,0)
  7424. end))
  7425. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  7426. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  7427. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  7428. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  7429. end
  7430. end))
  7431. attack = false
  7432. hum.WalkSpeed = storehumanoidWS
  7433. end
  7434.  
  7435. function FallenOrbs()
  7436. attack = true
  7437. hum.WalkSpeed = 2
  7438. local keptcolor = MAINRUINCOLOR
  7439. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  7440. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  7441. local radm = math.random(1,3)
  7442. if radm == 1 then
  7443. bosschatfunc("SWARM!",MAINRUINCOLOR.Color,1)
  7444. elseif radm == 2 then
  7445. bosschatfunc("Weakling!",MAINRUINCOLOR.Color,1)
  7446. elseif radm == 3 then
  7447. bosschatfunc("RAAAAAGGGGGGHHHHHH!!!!!",MAINRUINCOLOR.Color,1)
  7448. end
  7449. coroutine.resume(coroutine.create(function()
  7450. for i = 0, 29 do
  7451. swait(2)
  7452. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  7453. dis.Anchored = true
  7454. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  7455. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  7456. CreateMesh(dis,"Sphere",2,2,2)
  7457. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  7458. --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"))
  7459. coroutine.resume(coroutine.create(function()
  7460. wait(0.5)
  7461. dis.Anchored = false
  7462. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  7463. local at1 = Instance.new("Attachment",dis)
  7464. at1.Position = vt(-1,0,0)
  7465. local at2 = Instance.new("Attachment",dis)
  7466. at2.Position = vt(1,0,0)
  7467. local trl = Instance.new('Trail',dis)
  7468. trl.Attachment0 = at1
  7469. trl.FaceCamera = true
  7470. trl.Attachment1 = at2
  7471. trl.Texture = "rbxassetid://1049219073"
  7472. trl.LightEmission = 1
  7473. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7474. trl.Color = ColorSequence.new(dis.Color)
  7475. trl.Lifetime = 0.6
  7476. local a = Instance.new("Part",workspace)
  7477. a.Name = "Direction"
  7478. a.Anchored = true
  7479. a.BrickColor = bc("Bright red")
  7480. a.Material = "Neon"
  7481. a.Transparency = 1
  7482. a.CanCollide = false
  7483. local ray = Ray.new(
  7484. dis.CFrame.p, -- origin
  7485. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  7486. )
  7487. local ignore = dis
  7488. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7489. a.BottomSurface = 10
  7490. a.TopSurface = 10
  7491. local distance = (dis.CFrame.p - position).magnitude
  7492. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7493. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  7494. dis.CFrame = a.CFrame
  7495. a:Destroy()
  7496. local bv = Instance.new("BodyVelocity")
  7497. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7498. bv.velocity = dis.CFrame.lookVector*500
  7499. bv.Parent = dis
  7500. game:GetService("Debris"):AddItem(dis, 5)
  7501. local hitted = false
  7502. coroutine.resume(coroutine.create(function()
  7503. dis.Touched:connect(function(hit)
  7504. if hitted == false and hit.Parent ~= char then
  7505. hitted = true
  7506. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  7507. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  7508. --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  7509. --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  7510. coroutine.resume(coroutine.create(function()
  7511. for i = 0, 4 do
  7512. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7513. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7514. local at1 = Instance.new("Attachment",disr)
  7515. at1.Position = vt(-10,0,0)
  7516. local at2 = Instance.new("Attachment",disr)
  7517. at2.Position = vt(10,0,0)
  7518. local trl = Instance.new('Trail',disr)
  7519. trl.Attachment0 = at1
  7520. trl.FaceCamera = true
  7521. trl.Attachment1 = at2
  7522. trl.Texture = "rbxassetid://2342682798"
  7523. trl.LightEmission = 1
  7524. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7525. trl.Color = ColorSequence.new(disr.Color)
  7526. trl.Lifetime = 0.5
  7527. local bv = Instance.new("BodyVelocity")
  7528. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7529. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  7530. bv.Parent = disr
  7531. local val = 0
  7532. coroutine.resume(coroutine.create(function()
  7533. swait(30)
  7534. for i = 0, 9 do
  7535. swait()
  7536. val = val + 0.1
  7537. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7538. end
  7539. game:GetService("Debris"):AddItem(disr, 3)
  7540. end))
  7541. end
  7542. local eff = Instance.new("ParticleEmitter",dis)
  7543. eff.Texture = "rbxassetid://2273224484"
  7544. eff.LightEmission = 1
  7545. eff.Color = ColorSequence.new(dis.Color)
  7546. eff.Rate = 500000
  7547. eff.Lifetime = NumberRange.new(0.5,2)
  7548. 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)})
  7549. 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)})
  7550. eff.Speed = NumberRange.new(20,250)
  7551. eff.Drag = 5
  7552. eff.Rotation = NumberRange.new(-500,500)
  7553. eff.VelocitySpread = 9000
  7554. eff.RotSpeed = NumberRange.new(-50,50)
  7555. wait(0.5)
  7556. eff.Enabled = false
  7557. end))
  7558. for i = 0, 4 do
  7559. --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"))
  7560. end
  7561. coroutine.resume(coroutine.create(function()
  7562. for i = 0, 19 do
  7563. swait()
  7564. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  7565. end
  7566. hum.CameraOffset = vt(0,0,0)
  7567. end))
  7568. dis.Anchored = true
  7569. dis.Transparency = 1
  7570. wait(8)
  7571. dis:Destroy()
  7572. end
  7573. end)
  7574. end))
  7575. end))
  7576. end
  7577. end))
  7578. for i = 0,9,0.1 do
  7579. swait()
  7580. 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)
  7581. 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)
  7582. 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)
  7583. 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)
  7584. 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)
  7585. 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)
  7586. 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)
  7587. end
  7588. attack = false
  7589. hum.WalkSpeed = storehumanoidWS
  7590. end
  7591.  
  7592. function EquinoxOrbs()
  7593. hum.WalkSpeed = 0
  7594. attack = true
  7595. for i = 0,1,0.1 do
  7596. swait()
  7597. 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)
  7598. 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)
  7599. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7600. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7601. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  7602. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  7603. end
  7604. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  7605. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  7606. for i = 0, 24 do
  7607. --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"))
  7608. end
  7609. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  7610. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  7611. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  7612. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  7613. for i = 0,4,0.1 do
  7614. swait()
  7615. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  7616. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  7617. CreateMesh(dis,"Sphere",1,1,1)
  7618. dis.Anchored = true
  7619. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  7620. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  7621. CreateMesh(dis2,"Sphere",1,1,1)
  7622. dis2.Anchored = true
  7623. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  7624. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  7625. --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  7626. coroutine.resume(coroutine.create(function()
  7627. swait(60)
  7628. dis.Transparency = 1
  7629. dis2.Transparency = 1
  7630. coroutine.resume(coroutine.create(function()
  7631. for i = 0, 19 do
  7632. swait()
  7633. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  7634. end
  7635. hum.CameraOffset = vt(0,0,0)
  7636. end))
  7637. coroutine.resume(coroutine.create(function()
  7638. local eff = Instance.new("ParticleEmitter",dis)
  7639. eff.Texture = "rbxassetid://2273224484"
  7640. eff.LightEmission = 1
  7641. eff.Color = ColorSequence.new(dis.Color)
  7642. eff.Rate = 500000
  7643. eff.Lifetime = NumberRange.new(0.5,2)
  7644. 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)})
  7645. 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)})
  7646. eff.Speed = NumberRange.new(50,450)
  7647. eff.Drag = 5
  7648. eff.Rotation = NumberRange.new(-500,500)
  7649. eff.VelocitySpread = 9000
  7650. eff.RotSpeed = NumberRange.new(-50,50)
  7651. local eff2 = eff:Clone()
  7652. eff2.Parent = dis2
  7653. eff2.LightEmission = 0
  7654. eff2.Color = ColorSequence.new(dis2.Color)
  7655. wait(0.25)
  7656. eff.Enabled = false
  7657. eff2.Enabled = false
  7658. end))
  7659. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  7660. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  7661. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  7662. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  7663. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  7664. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  7665. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  7666. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  7667. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  7668. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  7669. end))
  7670. game:GetService("Debris"):AddItem(dis, 5)
  7671. game:GetService("Debris"):AddItem(dis2, 5)
  7672. 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)
  7673. 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)
  7674. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7675. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7676. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  7677. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  7678. end
  7679. attack = false
  7680. hum.WalkSpeed = storehumanoidWS
  7681. end
  7682. function FallenDEMISE()
  7683. attack = true
  7684. hum.WalkSpeed = 0
  7685. local keptcolor = MAINRUINCOLOR
  7686. --bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!!!",MAINRUINCOLOR.Color,3)
  7687. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  7688. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  7689. for i = 0, 15, 0.1 do
  7690. swait()
  7691. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7692. 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)))
  7693. local at1 = Instance.new("Attachment",dis)
  7694. at1.Position = vt(-25000,0,0)
  7695. local at2 = Instance.new("Attachment",dis)
  7696. at2.Position = vt(25000,0,0)
  7697. local trl = Instance.new('Trail',dis)
  7698. trl.Attachment0 = at1
  7699. trl.FaceCamera = true
  7700. trl.Attachment1 = at2
  7701. trl.Texture = "rbxassetid://1049219073"
  7702. trl.LightEmission = 1
  7703. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7704. trl.Color = ColorSequence.new(dis.Color)
  7705. trl.Lifetime = 5
  7706. local bv = Instance.new("BodyVelocity")
  7707. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7708. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7709. bv.Parent = dis
  7710. game:GetService("Debris"):AddItem(dis, 1)
  7711. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  7712. --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"))
  7713. --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"))
  7714. 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)
  7715. 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)
  7716. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7717. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7718. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7719. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7720. end
  7721. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  7722. for i = 0, 30, 0.1 do
  7723. swait()
  7724. coroutine.resume(coroutine.create(function()
  7725. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  7726. if v:FindFirstChild('Head') then
  7727. dmg(v)
  7728. end
  7729. end
  7730. end))
  7731. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7732. 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)))
  7733. local at1 = Instance.new("Attachment",dis)
  7734. at1.Position = vt(-50000,0,0)
  7735. local at2 = Instance.new("Attachment",dis)
  7736. at2.Position = vt(50000,0,0)
  7737. local trl = Instance.new('Trail',dis)
  7738. trl.Attachment0 = at1
  7739. trl.FaceCamera = true
  7740. trl.Attachment1 = at2
  7741. trl.Texture = "rbxassetid://1049219073"
  7742. trl.LightEmission = 1
  7743. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7744. trl.Color = ColorSequence.new(dis.Color)
  7745. trl.Lifetime = 10
  7746. local bv = Instance.new("BodyVelocity")
  7747. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7748. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  7749. bv.Parent = dis
  7750. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  7751. --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  7752. --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  7753. --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"))
  7754. --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"))
  7755. --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"))
  7756. --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"))
  7757. for i = 0, 2 do
  7758. --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)
  7759. end
  7760. 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)
  7761. 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)
  7762. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7763. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7764. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7765. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7766. end
  7767. attack = false
  7768. hum.WalkSpeed = storehumanoidWS
  7769. end
  7770. -------------------------------------
  7771.  
  7772. Humanoid.Animator.Parent = nil
  7773.  
  7774. -------------------------------------
  7775.  
  7776. local attacktype = 1
  7777. mouse.Button1Down:connect(function()
  7778. if attack == false and attacktype == 1 then
  7779. attacktype = 2
  7780. attackone()
  7781. elseif attack == false and attacktype == 2 then
  7782. attacktype = 3
  7783. attacktwo()
  7784. elseif attack == false and attacktype == 3 then
  7785. attacktype = 1
  7786. attackthree()
  7787. elseif attack == false and attacktype == 4 then
  7788. attacktype = 1
  7789. --attackfour()
  7790. end
  7791. end)
  7792. mouse.KeyDown:connect(function(k)
  7793. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  7794. --normalmog() ---Disabled due to crashing... only in VSB
  7795. ModeOfGlitch = 1
  7796. storehumanoidWS = 16
  7797. hum.WalkSpeed = 16
  7798. rainbowmode = false
  7799. chaosmode = false
  7800. newTheme("rbxassetid://614032233",0,1,1)
  7801. RecolorTextAndRename("Mayhem E",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  7802. MAINRUINCOLOR = BrickColor.new("Really red")
  7803. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  7804. end
  7805. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  7806. ModeOfGlitch = 2
  7807. storehumanoidWS = 16
  7808. hum.WalkSpeed = 16
  7809. rainbowmode = false
  7810. chaosmode = false
  7811. RecolorTextAndRename("Purity E",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  7812. newTheme("rbxassetid://1539245059",0,1,1.25)
  7813. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7814. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7815. end
  7816. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 11111 then
  7817. ModeOfGlitch = 11111
  7818. storehumanoidWS = 16
  7819. hum.WalkSpeed = 16
  7820. rainbowmode = false
  7821. chaosmode = false
  7822. RecolorTextAndRename("Clear Crystal",Color3.new(0,0,0.50),Color3.new(0,0,5),"Code")
  7823. newTheme("rbxassetid://1861780345",0,1,1)
  7824. MAINRUINCOLOR = BrickColor.new("Pastel light blue")
  7825. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7826. end
  7827. if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 242424 then
  7828. ModeOfGlitch = 242424
  7829. storehumanoidWS = 16
  7830. hum.WalkSpeed = 16
  7831. rainbowmode = false
  7832. chaosmode = false
  7833. RecolorTextAndRename("Clarity E",Color3.new(0,0,0.65),Color3.new(0,0,2),"Code")
  7834. newTheme("rbxassetid://2650791818",0,0.97,0.97)
  7835. MAINRUINCOLOR = BrickColor.new("Really blue")
  7836. RecolorThing(MAINRUINCOLOR,BrickColor.new("Baby blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  7837. end
  7838. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  7839. ModeOfGlitch = 3
  7840. storehumanoidWS = 16
  7841. hum.WalkSpeed = 16
  7842. rainbowmode = false
  7843. chaosmode = false
  7844. RecolorTextAndRename("Corruption E",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  7845. newTheme("rbxassetid://303570180",0.6,0.6,0.6)
  7846. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7847. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7848. end
  7849. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  7850. ModeOfGlitch = 4
  7851. storehumanoidWS = 50
  7852. hum.WalkSpeed = 50
  7853. rainbowmode = false
  7854. chaosmode = false
  7855. RecolorTextAndRename("Solitude Ex",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
  7856. newTheme("rbxassetid://723652641",0,1,1.5)
  7857. MAINRUINCOLOR = BrickColor.new("Really black")
  7858. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7859. end
  7860. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  7861. ModeOfGlitch = 5
  7862. storehumanoidWS = 16
  7863. hum.WalkSpeed = 16
  7864. rainbowmode = false
  7865. chaosmode = false
  7866. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  7867. newTheme("rbxassetid://661079869",0,1,1)
  7868. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7869. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7870. end
  7871. if k == "k" and attack == false and ModeOfGlitch ~= 2335 then
  7872. ModeOfGlitch = 2335
  7873. storehumanoidWS = 250
  7874. hum.WalkSpeed = 250
  7875. rainbowmode = true
  7876. chaosmode = false
  7877. RecolorTextAndRename("Ullimited Colors",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
  7878. newTheme("rbxassetid://1747430851",0,1,1.15)
  7879. MAINRUINCOLOR = BrickColor.new("Pastel green")
  7880. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
  7881. end
  7882. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  7883. ModeOfGlitch = 6
  7884. storehumanoidWS = 100
  7885. hum.WalkSpeed = 100
  7886. rainbowmode = false
  7887. chaosmode = false
  7888. RecolorTextAndRename("Equinox E",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  7889. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  7890. MAINRUINCOLOR = BrickColor.new("White")
  7891. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7892. end
  7893. if k == "m" and attack == false and ModeOfGlitch == 6 then
  7894. attack = true
  7895. newTheme("rbxassetid://1369263130",0,1,1.25)
  7896.  
  7897. attack = false
  7898. ModeOfGlitch = 420
  7899. storehumanoidWS = 12
  7900. hum.WalkSpeed = 12
  7901. rainbowmode = false
  7902. chaosmode = false
  7903. Error = false
  7904. RecolorTextAndRename("UnStAbLe",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  7905. disably = true
  7906. warnedpeople("AAAAAAGH!","Arcade",BrickColor.new("Red").Color,MAINRUINCOLOR.Color)
  7907. disably = false
  7908. MAINRUINCOLOR = BrickColor.new("Really black")
  7909. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true)
  7910. end
  7911.  
  7912. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  7913. ModeOfGlitch = 8
  7914. storehumanoidWS = 140
  7915. hum.WalkSpeed = 140
  7916. rainbowmode = false
  7917. chaosmode = false
  7918. RecolorTextAndRename("Destiny E",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  7919. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  7920. MAINRUINCOLOR = BrickColor.new("Alder")
  7921. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7922. end
  7923.  
  7924. if k == "j" and attack == false and ModeOfGlitch ~= 67966 then
  7925. ModeOfGlitch = 67966
  7926. storehumanoidWS = 16
  7927. hum.WalkSpeed = 16
  7928. rainbowmode = false
  7929. chaosmode = false
  7930. RecolorTextAndRename("Love",Color3.new(1,0,1),Color3.new(1,0.5,1),"Highway")
  7931. newTheme("rbxassetid://736003449",0,1,1.75)
  7932. MAINRUINCOLOR = BrickColor.new("Hot pink")
  7933. disably = false
  7934. warnedpeople("Love <3","Antique",BrickColor.new("White").Color,BrickColor.new("Pink").Color)
  7935. disably = true
  7936. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  7937. end
  7938. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 1055 then
  7939. ModeOfGlitch = 1055
  7940. storehumanoidWS = 50
  7941. hum.WalkSpeed = 50
  7942. rainbowmode = false
  7943. chaosmode = false
  7944. insanitymode = false
  7945. glitching = false
  7946. RecolorTextAndRename("Pandora's Pet",BrickColor.new("White").Color,BrickColor.new("Lavender").Color,"Code")
  7947. newTheme("rbxassetid://1382488262",0,1,1.25)
  7948. MAINRUINCOLOR = BrickColor.new("Lavender")
  7949. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  7950. end
  7951. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  7952. ModeOfGlitch = 9
  7953. storehumanoidWS = 150
  7954. hum.WalkSpeed = 150
  7955. rainbowmode = false
  7956. chaosmode = false
  7957. RecolorTextAndRename("Your A Infest To Me",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  7958. newTheme("rbxassetid://2573921783",0,1.01,1.25)
  7959. MAINRUINCOLOR = BrickColor.new("Lime green")
  7960. RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7961. end
  7962.  
  7963. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  7964. ModeOfGlitch = 8889
  7965. storehumanoidWS = 180
  7966. hum.WalkSpeed = 180
  7967. rainbowmode = false
  7968. chaosmode = false
  7969. RecolorTextAndRename("Clemmy",BrickColor.new("Alder").Color,BrickColor.new("Reddish brown").Color,"Antique")
  7970. newTheme("rbxassetid://1359036559",0,1.01,1.25)
  7971. MAINRUINCOLOR = BrickColor.new("Cool yellow")
  7972. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7973. end
  7974. if k == "n" and attack == false and ModeOfGlitch == 8889 then
  7975. ModeOfGlitch = 88893333388
  7976. bosschatfunc("Catastrophic acsend!",MAINRUINCOLOR.Color,1)
  7977. wait(1)
  7978. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  7979. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  7980. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  7981. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
  7982. wait(0.2)
  7983. storehumanoidWS = 200
  7984. hum.WalkSpeed = 200
  7985. rainbowmode = false
  7986. chaosmode = false
  7987. CRAZED = false
  7988. RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  7989. newTheme("rbxassetid://1504604335",0,1,1.5)
  7990. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7991. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Lilac"),0,BrickColor.new("Really blue"),0,BrickColor.new("Navy blue"),true,true)
  7992. end
  7993. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 808080808080808080808080 then
  7994. ModeOfGlitch = 808080808080808080808080
  7995. storehumanoidWS = 250
  7996. hum.WalkSpeed = 250
  7997. rainbowmode = false
  7998. chaosmode = false
  7999. CRAZED = true
  8000. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  8001. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  8002. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  8003. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
  8004. RecolorTextAndRename("True Galaxy",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  8005. newTheme("rbxassetid://250408242",0,1,10)
  8006. MAINRUINCOLOR = BrickColor.new("Really blue")
  8007. bosschatfunc("I'M BACK!!!",MAINRUINCOLOR.Color,1)
  8008. disably = false
  8009. warnedpeople("GALAXY?!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
  8010. disably = false
  8011. RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.,BrickColor.new("Deep orange"),0,BrickColor.new("Pastel light blue"),true,true)
  8012. end
  8013. if k == "m" and attack == false and ModeOfGlitch == 3 then
  8014. attack = true
  8015. ModeOfGlitch = 3
  8016. hum.WalkSpeed = 0
  8017. newTheme("rbxassetid://2368327428",9,1,1.25)
  8018. wait(2)
  8019. for i = 0, 15, 0.1 do
  8020. swait()
  8021. 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)
  8022. 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)
  8023. 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)
  8024. 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)
  8025. 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)
  8026. 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)
  8027. end
  8028. sphere(2,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  8029. sphere(3,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  8030. sphere(1,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  8031. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  8032. sphere(3,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  8033. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  8034. ModeOfGlitch = 146536
  8035. storehumanoidWS = 12
  8036. hum.WalkSpeed = 12
  8037. rainbowmode = false
  8038. chaosmode = false
  8039. CRAZED = false
  8040. RecolorTextAndRename("Matter E",Color3.new(0.15,0.15,0.15),Color3.new(0.35,0,1),"Fantasy")
  8041. MAINRUINCOLOR = BrickColor.new("Gold")
  8042. RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8043. attack = false
  8044. end
  8045. if k == "b" and attack == false and ModeOfGlitch == 67966 then
  8046. ModeOfGlitch = -5
  8047. storehumanoidWS = 16
  8048. hum.WalkSpeed = 16
  8049. rainbowmode = false
  8050. chaosmode = false
  8051. Error = false
  8052. CRAZED = false
  8053. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new("Pink").Color,"Antique")
  8054. newTheme("rbxassetid://685323634",0,1,1.25)
  8055. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8056. end
  8057. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 676767 then
  8058. ModeOfGlitch = 676767
  8059. storehumanoidWS = 200
  8060. hum.WalkSpeed = 200
  8061. rainbowmode = false
  8062. chaosmode = false
  8063. ASTRA = false
  8064. dragon = true
  8065. vis = false
  8066. RecolorTextAndRename("Mega-Zzzz",Color3.new(1,1,1),Color3.new(0,0,1),"Fantasy")
  8067. newTheme("rbxassetid://643309199",0,1,1.25)
  8068. MAINRUINCOLOR = BrickColor.new("Really black")
  8069. RecolorThing(BrickColor.new("Bright bluish green"),BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("White"),0,BrickColor.new("White"),true,false)
  8070. end
  8071. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 61 then
  8072. ModeOfGlitch = 61
  8073. storehumanoidWS = 16
  8074. hum.WalkSpeed = 16
  8075. rainbowmode = false
  8076. chaosmode = false
  8077. RecolorTextAndRename("Lunar Fx",Color3.new(0,0,1),Color3.new(1,1,1),"Bodoni")
  8078. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8079. newTheme("rbxassetid://561833161",0,1,1.25)
  8080. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true)
  8081. end
  8082. if k == "m" and attack == false and ModeOfGlitch == 2335 and ModeOfGlitch ~= 911 then
  8083. ModeOfGlitch = 911
  8084. storehumanoidWS = 250
  8085. hum.WalkSpeed = 250
  8086. rainbowmode = true
  8087. chaosmode = false
  8088. disably = false
  8089. warnedpeople("Let's relax..","Highway",Color3.new(1,1,1),Color3.new(1,1,1))
  8090. disably = true
  8091. RecolorTextAndRename("Aesthetic",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
  8092. newTheme("rbxassetid://1099730877",0,1,1.15)
  8093. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8094. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
  8095. end
  8096. if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 55469696922 then
  8097. ModeOfGlitch = 55469696922
  8098. storehumanoidWS = 12
  8099. hum.WalkSpeed = 12
  8100. rainbowmode = false
  8101. chaosmode = false
  8102. RecolorTextAndRename("PLAGUES",Color3.new(0,0.3,0),BrickColor.new("Lime green").Color,"Code")
  8103. newTheme("rbxassetid://577543579",0,1.005,1.25)
  8104. MAINRUINCOLOR = BrickColor.new("Lime green")
  8105. chatfunc("The plague is already inside..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.7)
  8106. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8107. end
  8108. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8109. ModeOfGlitch = 4367677813
  8110. storehumanoidWS = 225
  8111. hum.WalkSpeed = 225
  8112. rainbowmode = false
  8113. chaosmode = false
  8114. RecolorTextAndRename("S-H-D-E",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8115. newTheme("rbxassetid://363284685",0,1.01,1.25)
  8116. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8117. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8118. end
  8119. if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 103 then
  8120. ModeOfGlitch = 103
  8121. storehumanoidWS = 200
  8122. hum.WalkSpeed = 200
  8123. rainbowmode = false
  8124. chaosmode = false
  8125. CRAZED = false
  8126. RecolorTextAndRename("Ancient Times",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi")
  8127. newTheme("rbxassetid://256251217",0,1.02,1.2)
  8128. MAINRUINCOLOR = BrickColor.new("Gold")
  8129. disably = false
  8130. warnedpeople("PAST PRESENT AND FUTURE","Arcade",BrickColor.new("White").Color,BrickColor.new("New Yeller").Color)
  8131. disably = true
  8132. RecolorThing(MAINRUINCOLOR,BrickColor.new("New Yeller"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("White"),0,BrickColor.new("Black"),true,true)
  8133. end
  8134. if k == "b" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 453453484635345 then
  8135. ModeOfGlitch = 453453484635345
  8136. storehumanoidWS = 25
  8137. hum.WalkSpeed = 25
  8138. rainbowmode = false
  8139. chaosmode = false
  8140. CRAZED = false
  8141. RecolorTextAndRename("Death",Color3.new(0.2,0.2,0.2),Color3.new(0,0,0),"Bodoni")
  8142. newTheme("rbxassetid://318062766",0,1.01,0.85)
  8143. MAINRUINCOLOR = BrickColor.new("Really black")
  8144. chatfunc("Death is not a-",MAINRUINCOLOR.Color,"Inverted","Arcade",1.2)
  8145. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark stone grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8146. end
  8147. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8148. ModeOfGlitch = 999999999556
  8149.  
  8150. storehumanoidWS = 500
  8151. hum.WalkSpeed = 500
  8152. rainbowmode = false
  8153. chaosmode = false
  8154. RecolorTextAndRename("The Big Black",BrickColor.new("Really black").Color,BrickColor.new("Dark stone grey").Color,"Code")
  8155. newTheme("rbxassetid://1681272944",0,1.02,1.25)
  8156. MAINRUINCOLOR = BrickColor.new("Really black")
  8157. warnedpeople("BIG BLACK","Arcade",BrickColor.new("White").Color,BrickColor.new("Really black").Color)
  8158. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Dark stone grey"),0.5,BrickColor.new("Dark stone grey"),true,true)
  8159. end
  8160. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8161. ModeOfGlitch = 1264532489
  8162. storehumanoidWS = 250
  8163. hum.WalkSpeed = 250
  8164. rainbowmode = false
  8165. chaosmode = false
  8166. RecolorTextAndRename("Fallen Ways",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8167. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  8168. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8169. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Deep orange"),0.5,BrickColor.new("Gold"),true,true)
  8170. end
  8171. if rainbowmode == true then
  8172. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(1,1,1),"Highway")
  8173. if ModeOfGlitch == 911 then
  8174. RecolorTextAndRename("AESTHETIC",Color3.new(r/255,g/255,b/255),Color3.new(r/255,g/255,b/255),"Fantasy")
  8175. end
  8176. MAINRUINCOLOR = BrickColor.new(r/255,g/255,b/255)
  8177. modet.TextColor3 = Color3.new(r/255,g/255,b/255)
  8178. refec.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8179. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8180. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8181. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8182. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8183. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8184. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8185. for i, v in pairs(m:GetChildren()) do
  8186. if v:IsA("Part") then
  8187. v.Color = Color3.new(r/255,g/255,b/255)
  8188. end
  8189. end
  8190. for i, v in pairs(m2:GetChildren()) do
  8191. if v:IsA("Part") then
  8192. v.Color = Color3.new(r/255,g/255,b/255)
  8193. end
  8194. end
  8195. for i, v in pairs(m3:GetChildren()) do
  8196. if v:IsA("Part") then
  8197. v.Color = Color3.new(r/255,g/255,b/255)
  8198. end
  8199. end
  8200. for i, v in pairs(mw1:GetChildren()) do
  8201. if v:IsA("Part") then
  8202. v.Color = Color3.new(r/255,g/255,b/255)
  8203. v.Material = "Neon"
  8204. end
  8205. end
  8206. for i, v in pairs(mw2:GetChildren()) do
  8207. if v:IsA("Part") then
  8208. v.Color = Color3.new(r/255,g/255,b/255)
  8209. v.Material = "Neon"
  8210. end
  8211. end
  8212. end
  8213. if k == "l" and mutedtog == false then
  8214. mutedtog = true
  8215. kan.Volume = 0
  8216. elseif k == "l" and mutedtog == true then
  8217. mutedtog = false
  8218. kan.Volume = 1.25
  8219. end
  8220. if k == "p" and toggleTag == false then
  8221. toggleTag = true
  8222. modet.TextTransparency = 0
  8223. modet.TextStrokeTransparency = 0
  8224. elseif k == "p" and toggleTag == true then
  8225. toggleTag = false
  8226. modet.TextTransparency = 1
  8227. modet.TextStrokeTransparency = 1
  8228. end
  8229. function RainbowBeam()
  8230. attack = true
  8231. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.7)
  8232. local rngb = Instance.new("Part", char)
  8233. rngb.Anchored = true
  8234. rngb.BrickColor = origcolor
  8235. rngb.CanCollide = false
  8236. rngb.FormFactor = 3
  8237. rngb.Name = "Ring"
  8238. rngb.Material = "Neon"
  8239. rngb.Size = Vector3.new(1, 0.05, 1)
  8240. rngb.Transparency = 1
  8241. rngb.TopSurface = 0
  8242. rngb.BottomSurface = 0
  8243. local rngmb = Instance.new("SpecialMesh", rngb)
  8244. rngmb.MeshType = "Brick"
  8245. rngmb.Name = "SizeMesh"
  8246. rngmb.Scale = vt(0,1,0)
  8247. local obj1 = script.chring2:Clone()
  8248. obj1.Parent = char
  8249. obj1.Transparency = 1
  8250. obj1.Size = vt(1,1,1)
  8251. obj1.Color = BrickColor.new("White").Color
  8252. if rainbowmode == true then
  8253. obj1.Color = Color3.new(r/255,g/255,b/255)
  8254. end
  8255. local orb = rngb:Clone()
  8256. orb.Parent = char
  8257. orb.Transparency = 0
  8258. orb.BrickColor = BrickColor.new("White")
  8259. orb.Size = vt(1,1,1)
  8260. local orbmish = orb.SizeMesh
  8261. orbmish.Scale = vt(0,0,0)
  8262. orbmish.MeshType = "Sphere"
  8263.  
  8264. local orbe = rngb:Clone()
  8265. orbe.Parent = char
  8266. orbe.Transparency = 0.5
  8267. orbe.BrickColor = BrickColor.new("New Yeller")
  8268. orbe.Size = vt(1,1,1)
  8269. local orbmish2 = orbe.SizeMesh
  8270. orbmish2.Scale = vt(0,0,0)
  8271. orbmish2.MeshType = "Sphere"
  8272. orbe.Color = Color3.new(r/255,g/255,b/255)
  8273.  
  8274. rngb:Destroy()
  8275. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  8276. local rval = 0
  8277. local eval = 1
  8278. coroutine.resume(coroutine.create(function()
  8279. for i = 0,7,0.1 do
  8280. swait()
  8281. rval = rval + math.random(30,40)
  8282. eval = eval + 0.45
  8283. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  8284. end
  8285. end))
  8286. RootPart.CFrame = FaceMouse()[1]
  8287. for i = 0,5,0.1 do
  8288. swait()
  8289. if rainbowmode == true then
  8290. orbe.Color = Color3.new(r/255,g/255,b/255)
  8291. end
  8292. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  8293. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  8294. rval = rval + math.random(30,40)
  8295. eval = eval + 0.45
  8296. obj1.Transparency = obj1.Transparency - 0.005
  8297. obj1.Size = obj1.Size + vt(0.7,0.7,0.1)
  8298. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  8299.  
  8300. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  8301. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  8302. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  8303. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  8304. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  8305. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  8306.  
  8307. end
  8308. coroutine.resume(coroutine.create(function()
  8309. local eff = Instance.new("ParticleEmitter",obj1)
  8310. eff.Texture = "rbxassetid://2273224484"
  8311. eff.LightEmission = 1
  8312. coroutine.resume(coroutine.create(function()
  8313. while true do
  8314. swait()
  8315. eff.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8316. end
  8317. end))
  8318. eff.Rate = 27500
  8319. eff.Lifetime = NumberRange.new(1,2)
  8320. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)})
  8321. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8322. eff.Speed = NumberRange.new(100,650)
  8323. eff.Drag = 5
  8324. eff.Rotation = NumberRange.new(-500,500)
  8325. eff.VelocitySpread = 9000
  8326. eff.RotSpeed = NumberRange.new(-50,50)
  8327. wait(0.35)
  8328. eff.Enabled = false
  8329. end))
  8330. orbe.Transparency = 1
  8331. orb.Transparency = 1
  8332. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  8333. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  8334. local a = Instance.new("Part",Character)
  8335. a.Name = "Direction"
  8336. a.Anchored = true
  8337. a.BrickColor = bc("White")
  8338. a.Material = "Neon"
  8339. a.Transparency = 0
  8340. a.Shape = "Cylinder"
  8341. a.CanCollide = false
  8342. local a2 = Instance.new("Part",Character)
  8343. a2.Name = "Direction"
  8344. a2.Anchored = true
  8345. a2.BrickColor = bc("New Yeller")
  8346. a2.Color = Color3.new(r/255,g/255,b/255)
  8347. a2.Material = "Neon"
  8348. a2.Transparency = 0.5
  8349. a2.Shape = "Cylinder"
  8350. a2.CanCollide = false
  8351. local ba = Instance.new("Part",Character)
  8352. ba.Name = "HitDirect"
  8353. ba.Anchored = true
  8354. ba.BrickColor = bc("Cool yellow")
  8355. ba.Material = "Neon"
  8356. ba.Transparency = 1
  8357. ba.CanCollide = false
  8358. local ray = Ray.new(
  8359. orb.CFrame.p, -- origin
  8360. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8361. )
  8362. local ignore = Character
  8363. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8364. a.BottomSurface = 10
  8365. a.TopSurface = 10
  8366. a2.BottomSurface = 10
  8367. a2.TopSurface = 10
  8368. local distance = (orb.CFrame.p - position).magnitude
  8369. a.Size = Vector3.new(distance, 1, 1)
  8370. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8371. a2.Size = Vector3.new(distance, 1, 1)
  8372. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8373. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8374. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8375. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8376. game:GetService("Debris"):AddItem(a, 20)
  8377. game:GetService("Debris"):AddItem(a2, 20)
  8378. game:GetService("Debris"):AddItem(ba, 20)
  8379. local msh = Instance.new("SpecialMesh",a)
  8380. msh.MeshType = "Cylinder"
  8381. msh.Scale = vt(1,5*5,5*5)
  8382. local msh2 = Instance.new("SpecialMesh",a2)
  8383. msh2.MeshType = "Cylinder"
  8384. msh2.Scale = vt(1,6*5,6*5)
  8385. coroutine.resume(coroutine.create(function()
  8386. for i = 0,10,0.1 do
  8387. swait()
  8388. shakes(0.2,0.8)
  8389. rval = rval + math.random(30,40)
  8390. eval = eval + 0.45
  8391. obj1.Transparency = obj1.Transparency - 0.005
  8392. obj1.Size = obj1.Size + vt(0,0,0.075)
  8393. obj1.Size = obj1.Size - vt(0.125,0.125,0)
  8394. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  8395. a2.Color = Color3.new(r/255,g/255,b/255)
  8396. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8397. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  8398. ray = Ray.new(
  8399. orb.CFrame.p, -- origin
  8400. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8401. )
  8402. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8403. distance = (orb.CFrame.p - position).magnitude
  8404. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  8405. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  8406. a.Size = Vector3.new(distance, 1, 1)
  8407. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8408. a2.Size = Vector3.new(distance, 1, 1)
  8409. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8410. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8411. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8412. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8413. msh.Scale = msh.Scale - vt(0,0.025*5,0.025*5)
  8414. msh2.Scale = msh2.Scale - vt(0,0.03*5,0.03*5)
  8415. coroutine.resume(coroutine.create(function()
  8416. local eff = Instance.new("ParticleEmitter",ba)
  8417. eff.Texture = "rbxassetid://2273224484"
  8418. eff.LightEmission = 1
  8419. eff.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  8420. eff.Rate = 50
  8421. eff.Lifetime = NumberRange.new(0.5,2)
  8422. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)})
  8423. 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)})
  8424. eff.Speed = NumberRange.new(50,450)
  8425. eff.Drag = 5
  8426. eff.Rotation = NumberRange.new(-500,500)
  8427. eff.VelocitySpread = 9000
  8428. eff.RotSpeed = NumberRange.new(-50,50)
  8429. wait(0.25)
  8430. eff.Enabled = false
  8431. end))
  8432. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15*2,15*2,25*2,-0.15,MAINRUINCOLOR,0)
  8433. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15*2,15*2,25*2,-0.15,MAINRUINCOLOR,0)
  8434. MagniDamage(ba, 30*2, 10,20, 0, "Normal")
  8435. end
  8436. attack = false
  8437. for i = 0,49 do
  8438. swait()
  8439. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  8440. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  8441. orbe.Transparency = obj1.Transparency + 0.02
  8442. orb.Transparency = obj1.Transparency + 0.02
  8443. obj1.Transparency = obj1.Transparency + 0.02
  8444. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  8445. end
  8446. a:Destroy()
  8447. a2:Destroy()
  8448. orb:Destroy()
  8449. orbe:Destroy()
  8450. wait(3)
  8451. obj1:Destroy()
  8452. ba:Destroy()
  8453. end))
  8454. end
  8455. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8456. ExtinctiveHeartbreak()
  8457. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8458. HeavenlyDisk()
  8459. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  8460. Fireball()
  8461. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8462. CorruptionEvent()
  8463. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  8464. CorruptBlink()
  8465. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8466. RapidBurst()
  8467. elseif k == "z" and attack == false and ModeOfGlitch == 146536 then
  8468. HeavenlyDisk()
  8469. elseif k == "x" and attack == false and ModeOfGlitch == 146536 then
  8470. CorruptBlink()
  8471. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8472. --DivineLights()
  8473. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8474. EquinoxOrbs()
  8475. elseif k == "z" and attack == false and ModeOfGlitch == 67966 then
  8476. cutesigh()
  8477. elseif k == "z" and attack == false and ModeOfGlitch == 420 then
  8478. EquinoxOrbs()
  8479. elseif k == "z" and attack == false and ModeOfGlitch == 738 then
  8480. EquinoxOrbs()
  8481. elseif k == "x" and attack == false and ModeOfGlitch == 67966 then
  8482. hugg()
  8483. elseif k == "c" and attack == false and ModeOfGlitch == 67966 then
  8484. lovesqueal()
  8485. elseif k == "x" and attack == false and ModeOfGlitch == 420 then
  8486. FallenOrbs()
  8487. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  8488. FallenOrbs()
  8489. end
  8490. if k == "z" and attack == false and ModeOfGlitch == 103 then
  8491. smiter()
  8492. end
  8493. if k == "c" and attack == false and ModeOfGlitch == 420 then
  8494. smiter()
  8495. end
  8496. if k == "x" and attack == false and ModeOfGlitch == 242424 then
  8497. BinaryE()
  8498. end
  8499. if k == "z" and attack == false and ModeOfGlitch == 242424 then
  8500. BinaryBLINK()
  8501. end
  8502. if k == "z" and attack == false and ModeOfGlitch == 2335 then
  8503. RainbowBeam()
  8504. end
  8505. if k == "c" and attack == false and ModeOfGlitch == 738 then
  8506. BinaryE()
  8507. end
  8508. if k == "v" and attack == false and ModeOfGlitch == 1 then
  8509. HolyBarrier()
  8510. end
  8511. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  8512. FallenDEMISE()
  8513. end
  8514. if k == "v" and attack == false and ModeOfGlitch == 738 then
  8515. FallenDEMISE()
  8516. end
  8517. if k == "x" and attack == false and ModeOfGlitch == 4 then
  8518. ChaosGroundStrike()
  8519. end
  8520. if k == "b" and attack == false and ModeOfGlitch == 420 then
  8521. ChaosEND()
  8522. end
  8523. if k == "c" and attack == false and ModeOfGlitch == 4 then
  8524. ChaosEND()
  8525. end
  8526. if k == "v" and attack == false and ModeOfGlitch == 4 then
  8527. th1rt3en_trans()
  8528. end
  8529. if k == "v" and attack == false and ModeOfGlitch == 420 then
  8530. EndGROUND()
  8531. end
  8532. if k == "x" and attack == false and ModeOfGlitch == 1 then
  8533. EndGROUND()
  8534. end
  8535. if k == "x" and attack == false and ModeOfGlitch == 738 then
  8536. EndGROUND()
  8537. end
  8538. end)
  8539.  
  8540. plr.Chatted:connect(function(message)
  8541. if ModeOfGlitch == 911 then
  8542. if message:sub(1,5) == "play/" then
  8543. OVMID = message:sub(6)
  8544. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8545. elseif message:sub(1,6) == "pitch/" then
  8546. OVMPIT = message:sub(7)
  8547. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8548. elseif message:sub(1,4) == "vol/" then
  8549. OVMVOL = message:sub(5)
  8550. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8551. elseif message:sub(1,7) == "skipto/" then
  8552. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8553. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8554. elseif message:sub(1,9) == "telltime/" then
  8555. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  8556. end
  8557. end
  8558. end)
  8559.  
  8560. --[[coroutine.resume(coroutine.create(function()
  8561. while true do
  8562. swait(2)
  8563. if chaosmode == true then
  8564. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8565. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8566. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8567. RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  8568. for i, v in pairs(mw1:GetChildren()) do
  8569. if v:IsA("Part") then
  8570. v.Transparency = 0.75
  8571. v.BrickColor = BrickColor.random()
  8572. v.Material = "Neon"
  8573. end
  8574. end
  8575. for i, v in pairs(m2:GetChildren()) do
  8576. if v:IsA("Part") then
  8577. v.BrickColor = BrickColor.random()
  8578. v.Material = "Neon"
  8579. end
  8580. end
  8581. end
  8582. end
  8583. end))]]--
  8584. Humanoid.Name = "STARGLITCHER"
  8585. Humanoid.MaxHealth = math.huge
  8586. Humanoid.Health = math.huge
  8587. Instance.new("ForceField",char).Visible = false
  8588.  
  8589. local bguis = Instance.new("BillboardGui",tors)
  8590. bguis.Size = UDim2.new(25, 0, 25, 0)
  8591. local imgca = Instance.new("ImageLabel",bguis)
  8592. imgca.BackgroundTransparency = 1
  8593. imgca.ImageTransparency = 1
  8594. imgca.Size = UDim2.new(1,0,1,0)
  8595. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  8596. imgca.ImageColor3 = Color3.new(0,0,0)
  8597.  
  8598. idleanim=.4
  8599. while true do
  8600. if mutedtog == false then
  8601. kan.Volume = currentVol
  8602. elseif mutedtog == true then
  8603. kan.Volume = 0
  8604. end
  8605. kan.PlaybackSpeed = currentPitch
  8606. kan.Pitch = currentPitch
  8607. kan.SoundId = currentThemePlaying
  8608. kan.Looped = true
  8609. kan.Parent = char
  8610. kan:Resume()
  8611. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  8612. imgca.ImageTransparency = 1
  8613. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  8614. imgca.ImageColor3 = MAINRUINCOLOR.Color
  8615. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8616. end
  8617. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  8618. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  8619. coroutine.resume(coroutine.create(function()
  8620. if chaosmode == true then
  8621. for i, v in pairs(mw1:GetChildren()) do
  8622. if v:IsA("Part") then
  8623. v.Transparency = 0
  8624. v.BrickColor = BrickColor.random()
  8625. v.Material = "Neon"
  8626. end
  8627. end
  8628. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8629. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8630. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8631. RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  8632. end
  8633. end))
  8634. if chaosmode == false then
  8635. modet.Position = UDim2.new(0,0,0,0)
  8636. modet.Rotation = -5 * math.cos(sine / 32)
  8637. techc.Rotation = techc.Rotation + 1
  8638. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8639. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8640. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  8641. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  8642. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8643. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8644. else
  8645. techc.Rotation = techc.Rotation + 1
  8646. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  8647. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  8648. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  8649. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  8650. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  8651. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  8652. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  8653. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  8654. end
  8655. CameraManager()
  8656. swait()
  8657. 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
  8658. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8659. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8660. 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)
  8661. 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)
  8662. 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)
  8663. 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)
  8664. 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)
  8665. 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)
  8666. 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)
  8667. 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)
  8668. 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)
  8669. 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)
  8670. 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)
  8671. 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)
  8672. sine = sine + change
  8673. elseif ModeOfGlitch == 3444 then
  8674. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8675. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8676. 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)
  8677. 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)
  8678. 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)
  8679. 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)
  8680. 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)
  8681. 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)
  8682. 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)
  8683. 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)
  8684. 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)
  8685. 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)
  8686. 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)
  8687. 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)
  8688. sine = sine + change
  8689. elseif ModeOfGlitch == 3 then
  8690. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8691. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8692. 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)
  8693. 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)
  8694. 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)
  8695. 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)
  8696. 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)
  8697. 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)
  8698. 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)
  8699. 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)
  8700. 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)
  8701. 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)
  8702. 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)
  8703. 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)
  8704. sine = sine + change
  8705.  
  8706. elseif ModeOfGlitch == -666666 then
  8707. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8708. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8709. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
  8710. lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
  8711. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8712. lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
  8713. lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8714. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
  8715. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
  8716. rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
  8717. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8718. rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
  8719. rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8720. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
  8721. sine = sine + change
  8722.  
  8723. elseif ModeOfGlitch == 112 then
  8724. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8725. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8726. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
  8727. lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
  8728. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8729. lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
  8730. lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  8731. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
  8732. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
  8733. rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
  8734. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8735. rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
  8736. rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  8737. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
  8738. sine = sine + change
  8739.  
  8740. elseif ModeOfGlitch == 46874 then
  8741. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8742. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8743. 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)
  8744. 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)
  8745. 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)
  8746. 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)
  8747. 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)
  8748. 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)
  8749. sine = sine + change
  8750. elseif ModeOfGlitch == 146536 then
  8751. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8752. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8753. 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)
  8754. 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)
  8755. 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)
  8756. 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)
  8757. 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)
  8758. 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)
  8759. 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)
  8760. 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)
  8761. 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)
  8762. 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)
  8763. 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)
  8764. 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)
  8765. sine = sine + change
  8766. elseif ModeOfGlitch == 124 then
  8767. handleweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8768. handlexweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8769. 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)
  8770. 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)
  8771. 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)
  8772. 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)
  8773. 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)
  8774. 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)
  8775. 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)
  8776. 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)
  8777. 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)
  8778. 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)
  8779. 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)
  8780. 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)
  8781. sine = sine + change
  8782. elseif ModeOfGlitch == 7888 then
  8783. 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)
  8784. 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)
  8785. 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)
  8786. 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)
  8787. 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)
  8788. 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)
  8789. 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)
  8790. 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)
  8791. 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)
  8792. 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)
  8793. 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)
  8794. 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)
  8795. sine = sine + change
  8796. elseif ModeOfGlitch == 666666666 then
  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),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)
  8804. 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)
  8805. 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)
  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. elseif ModeOfGlitch == 78213 then
  8811. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8812. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8813. 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)
  8814. 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)
  8815. 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)
  8816. 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)
  8817. 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)
  8818. 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)
  8819. 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)
  8820. 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)
  8821. 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)
  8822. 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)
  8823. 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)
  8824. 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)
  8825. sine = sine + change
  8826. elseif ModeOfGlitch == -99 then
  8827. 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)
  8828. 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)
  8829. 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)
  8830. 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)
  8831. 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)
  8832. 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)
  8833. 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)
  8834. 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)
  8835. 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)
  8836. 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)
  8837. 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)
  8838. 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)
  8839. sine = sine + change
  8840. elseif ModeOfGlitch == 102 or ModeOfGlitch == 4434 then
  8841. 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)
  8842. 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)
  8843. 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)
  8844. 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)
  8845. 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)
  8846. 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)
  8847. 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)
  8848. 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)
  8849. 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)
  8850. 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)
  8851. 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)
  8852. 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)
  8853. sine = sine + change
  8854. elseif ModeOfGlitch == 906 or glitchermode == "universal" then
  8855. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8856. 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)
  8857. 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)
  8858. 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)
  8859. 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)
  8860. 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)
  8861. 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)
  8862. 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)
  8863. 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)
  8864. 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)
  8865. 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)
  8866. 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)
  8867. 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)
  8868. 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)
  8869. sine = sine + change
  8870. elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then
  8871. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8872. 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)
  8873. 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)
  8874. 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)
  8875. 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)
  8876. 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)
  8877. 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)
  8878. 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)
  8879. 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)
  8880. 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)
  8881. 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)
  8882. sine = sine + change
  8883. elseif ModeOfGlitch == 2102 then
  8884. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8885. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8886. 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)
  8887. 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)
  8888. 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)
  8889. 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)
  8890. 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)
  8891. 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)
  8892. 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)
  8893. 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)
  8894. 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)
  8895. 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)
  8896. 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)
  8897. 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)
  8898. sine = sine + change
  8899. elseif ModeOfGlitch == 555 or ModeOfGlitch == 7621 or ModeOfGlitch == 3141 or ModeOfGlitch == 101010 or ModeOfGlitch == 44444 or ModeOfGlitch == 404 or ModeOfGlitch == 55846 then
  8900. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8901. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8902. 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)
  8903. 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)
  8904. 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)
  8905. 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)
  8906. 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)
  8907. 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)
  8908. 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)
  8909. 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)
  8910. 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)
  8911. 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)
  8912. 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)
  8913. 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)
  8914. sine = sine + change
  8915. elseif ModeOfGlitch == 2019 then
  8916. 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)
  8917. 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)
  8918. 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)
  8919. 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)
  8920. 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)
  8921. 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)
  8922. 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)
  8923. 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)
  8924. 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)
  8925. 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)
  8926. 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)
  8927. 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)
  8928. sine = sine + change
  8929. elseif ModeOfGlitch == 81 then
  8930. handleweld.C0=clerp(handleweld.C0,cf(0,-6.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  8931. 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)
  8932. 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)
  8933. 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)
  8934. 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)
  8935. 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)
  8936. 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)
  8937. 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)
  8938. 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)
  8939. 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)
  8940. 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)
  8941. 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)
  8942. 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)
  8943. sine = sine + change
  8944. elseif ModeOfGlitch == 841 or ModeOfGlitch == 2222222 or ModeOfGlitch == -3 or ModeOfGlitch == -4 then
  8945. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8946. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8947. 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)
  8948. 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)
  8949. 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)
  8950. 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)
  8951. 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)
  8952. 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)
  8953. 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)
  8954. 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)
  8955. 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)
  8956. 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)
  8957. 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)
  8958. 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)
  8959. sine = sine + change
  8960. elseif ModeOfGlitch == 2335 then
  8961. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8962. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8963. 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)
  8964. 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)
  8965. 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)
  8966. 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)
  8967. 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)
  8968. 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)
  8969. 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)
  8970. 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)
  8971. 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)
  8972. 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)
  8973. 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)
  8974. 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)
  8975. sine = sine + change
  8976. elseif ModeOfGlitch == 412 or ModeOfGlitch == 738 then
  8977. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8978. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8979. 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)
  8980. 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)
  8981. 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)
  8982. 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)
  8983. 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)
  8984. 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)
  8985. 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)
  8986. 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)
  8987. 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)
  8988. 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)
  8989. 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)
  8990. 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)
  8991. sine = sine + change
  8992. elseif ModeOfGlitch == 2304 or ModeOfGlitch == 765688533321 then
  8993. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8994. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8995. 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)
  8996. 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)
  8997. 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)
  8998. 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)
  8999. 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)
  9000. 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)
  9001. 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)
  9002. 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)
  9003. 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)
  9004. 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)
  9005. 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)
  9006. 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)
  9007. sine = sine + change
  9008. else
  9009. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9010. handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  9011. 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)
  9012. 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)
  9013. 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)
  9014. 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)
  9015. 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)
  9016. 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)
  9017. 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)
  9018. 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)
  9019. 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)
  9020. 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)
  9021. 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)
  9022. 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)
  9023. sine = sine + change
  9024. end
  9025. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9026. local velderp=RootPart.Velocity.y
  9027. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9028. if equipped==true or equipped==false then
  9029. if attack==false then
  9030. idle=idle+1
  9031. else
  9032. idle=0
  9033. end
  9034. if idle>=500 then
  9035. if attack==false then
  9036. --Sheath()
  9037. end
  9038. end
  9039. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9040. Anim="Jump"
  9041. if attack==false then
  9042. 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)
  9043. 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)
  9044. 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)
  9045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9046. 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)
  9047. 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)
  9048. end
  9049. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9050. Anim="Fall"
  9051. if attack==false then
  9052. 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)
  9053. 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)
  9054. 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)
  9055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9056. 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)
  9057. 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)
  9058. end
  9059. elseif torvel<1 and hitfloor~=nil then
  9060. Anim="Idle"
  9061. if attack==false then
  9062. if ModeOfGlitch == 1 then
  9063. local snap = math.random(1,32)
  9064. if snap == 1 then
  9065. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(32 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  9066. end
  9067. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-4 - 7 * math.cos(sine / 39))),.1)
  9068. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 8 * math.cos(sine / 31))),.1)
  9069. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9070. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  9071. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(14 + 1 * math.cos(sine / 45))),.1)
  9072. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(-9 - 3 * math.cos(sine / 45))),.1)
  9073. elseif ModeOfGlitch == 2335 then
  9074. 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)
  9075. 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)
  9076. 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)
  9077. 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)
  9078. 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)
  9079. 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)
  9080. elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then
  9081. 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)
  9082. 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)
  9083. RootJoint.C0 = clerp(RootJoint.C0,cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  9084. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  9085. LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  9086. RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  9087. elseif ModeOfGlitch == 5 or ModeOfGlitch == 738 then
  9088. 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)
  9089. 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)
  9090. 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)
  9091. 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)
  9092. 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)
  9093. 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)
  9094. elseif ModeOfGlitch == 666666666 then
  9095. local snap = math.random(1,3)
  9096. if snap == 1 then
  9097. 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)
  9098. end
  9099. 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)
  9100. 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)
  9101. 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)
  9102. 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)
  9103. 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)
  9104. 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)
  9105. elseif ModeOfGlitch == 67966 then
  9106. 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)
  9107. 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)
  9108. 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)
  9109. 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)
  9110. 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)
  9111. 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)
  9112. elseif ModeOfGlitch == 11 then
  9113. 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)
  9114. 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)
  9115. 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)
  9116. 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)
  9117. 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)
  9118. 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)
  9119. elseif ModeOfGlitch == 1055 then
  9120. 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)
  9121. 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)
  9122. 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)
  9123. 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)
  9124. 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)
  9125. 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)
  9126. elseif ModeOfGlitch == -666666 then
  9127. local snap = math.random(1,30)
  9128. if snap == 1 then
  9129. 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)
  9130. 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)
  9131. 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)
  9132. 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)
  9133. end
  9134. elseif ModeOfGlitch == 420 then
  9135. local snap = math.random(1,5)
  9136. if snap == 1 then
  9137. 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)
  9138. 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)
  9139. 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)
  9140. end
  9141. 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)
  9142. 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)
  9143. 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)
  9144. 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)
  9145. 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)
  9146. 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)
  9147. elseif ModeOfGlitch == 676767 then
  9148. 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)
  9149. 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)
  9150. 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)
  9151. 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)
  9152. 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)
  9153. 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)
  9154. elseif ModeOfGlitch == 11111 then
  9155. 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)
  9156. 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)
  9157. 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)
  9158. 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)
  9159. 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)
  9160. 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)
  9161. elseif ModeOfGlitch == 242424 then
  9162. 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)
  9163. 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)
  9164. 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)
  9165. 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)
  9166. 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)
  9167. 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)
  9168. elseif ModeOfGlitch == 3 or ModeOfGlitch == -2 or ModeOfGlitch == 25 or ModeOfGlitch == 3141 or ModeOfGlitch == 146536 then
  9169. local snap = math.random(1,32)
  9170. if snap == 1 then
  9171. 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)
  9172. end
  9173. 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)
  9174. 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)
  9175. 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)
  9176. 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)
  9177. 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)
  9178. 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)
  9179. elseif ModeOfGlitch == 3 then
  9180. local snap = math.random(1,32)
  9181. elseif ModeOfGlitch == 88893333388 then
  9182. 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)
  9183. 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)
  9184. 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)
  9185. 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)
  9186. 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)
  9187. 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)
  9188. elseif ModeOfGlitch == 103 then
  9189. 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)
  9190. 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)
  9191. 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)
  9192. 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)
  9193. 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)
  9194. 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)
  9195. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
  9196. 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)
  9197. 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)
  9198. 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)
  9199. 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)
  9200. 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)
  9201. elseif ModeOfGlitch == 2 then
  9202. 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)
  9203. 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)
  9204. 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)
  9205. 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)
  9206. 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)
  9207. 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)
  9208. elseif ModeOfGlitch == 3 then
  9209. local snap = math.random(1,32)
  9210. if snap == 1 then
  9211. 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)
  9212. end
  9213. 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)
  9214. 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)
  9215. 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)
  9216. 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)
  9217. 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)
  9218. 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)
  9219. elseif ModeOfGlitch == 453453484635345 then
  9220. 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)
  9221. 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)
  9222. 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)
  9223. 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)
  9224. 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)
  9225. 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)
  9226. 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)
  9227. elseif ModeOfGlitch == 4 then
  9228. 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)
  9229. 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)
  9230. 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)
  9231. 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)
  9232. 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)
  9233. 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)
  9234. elseif ModeOfGlitch == 765688533321 then
  9235. 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)
  9236. 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)
  9237. 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)
  9238. 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)
  9239. 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)
  9240. 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)
  9241. elseif ModeOfGlitch == 146536 then
  9242. 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)
  9243. 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)
  9244. 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)
  9245. 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)
  9246. 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)
  9247. 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)
  9248. elseif ModeOfGlitch == 2339 then
  9249. 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)
  9250. 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)
  9251. 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)
  9252. 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)
  9253. 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)
  9254. 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)
  9255. elseif ModeOfGlitch == 5 then
  9256. 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)
  9257. 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)
  9258. 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)
  9259. 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)
  9260. 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)
  9261. 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)
  9262. elseif ModeOfGlitch == 6 then
  9263. 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)
  9264. 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)
  9265. 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)
  9266. 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)
  9267. 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)
  9268. 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)
  9269. elseif ModeOfGlitch == 8 then
  9270. 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)
  9271. 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)
  9272. 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)
  9273. 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)
  9274. 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)
  9275. 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)
  9276. elseif ModeOfGlitch == 9 then
  9277. 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)
  9278. 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)
  9279. 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)
  9280. 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)
  9281. 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)
  9282. 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)
  9283. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
  9284. 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)
  9285. 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)
  9286. 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)
  9287. 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)
  9288. 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)
  9289. 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)
  9290. elseif ModeOfGlitch == 999999999 then
  9291. 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)
  9292. 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)
  9293. 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)
  9294. 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)
  9295. 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)
  9296. 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)
  9297. elseif ModeOfGlitch == 8889 then
  9298. 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)
  9299. 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)
  9300. 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)
  9301. 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)
  9302. 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)
  9303. 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)
  9304. elseif ModeOfGlitch == 1264532489 then
  9305. 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)
  9306. 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)
  9307. 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)
  9308. 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)
  9309. 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)
  9310. 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)
  9311. elseif ModeOfGlitch == 9999999921111 then
  9312. 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)
  9313. 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)
  9314. 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)
  9315. 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)
  9316. 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)
  9317. 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)
  9318. elseif ModeOfGlitch == 4367677813 then
  9319. 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)
  9320. 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)
  9321. 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)
  9322. 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)
  9323. 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)
  9324. 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)
  9325. elseif ModeOfGlitch == 61 then
  9326. 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)
  9327. 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)
  9328. 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)
  9329. 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)
  9330. 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)
  9331. 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)
  9332. elseif ModeOfGlitch == 911 then
  9333. 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)
  9334. 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)
  9335. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(-90 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9336. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 1 * math.cos(sine / 0.5265)),math.rad(0 - 1 * math.cos(sine / 0.25)),math.rad(0 - 1 * math.cos(sine / 0.465))),.1)
  9337. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-147 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  9338. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-157 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  9339. elseif ModeOfGlitch == 55469696922 then
  9340. 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)
  9341. 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)
  9342. 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)
  9343. 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)
  9344. 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)
  9345. 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)
  9346. 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)
  9347. elseif ModeOfGlitch == 999999999556 then
  9348. 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)
  9349. 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)
  9350. 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)
  9351. 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)
  9352. 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)
  9353. 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)
  9354. end
  9355. end
  9356. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9357. Anim="Walk"
  9358. if attack==false then
  9359. if ModeOfGlitch ~= 102 and ModeOfGlitch ~= 2334 then
  9360. 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)
  9361. 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)
  9362. 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)
  9363. 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)
  9364. 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)
  9365. 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)
  9366. if ModeOfGlitch == 71 then
  9367. 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)
  9368. end
  9369. elseif ModeOfGlitch == 2334 then
  9370. 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)
  9371. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  9372. 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)
  9373. 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)
  9374. 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)
  9375. 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)
  9376. elseif ModeOfGlitch == 102 then
  9377. 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)
  9378. 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)
  9379. 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)
  9380. 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)
  9381. 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)
  9382. 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)
  9383. end
  9384. end
  9385. elseif torvel>=22 and hitfloor~=nil then
  9386. Anim="Run"
  9387. if attack==false then
  9388. 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
  9389. 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)
  9390. 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)
  9391. 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)
  9392. 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)
  9393. 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)
  9394. 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)
  9395. if ModeOfGlitch == 9 then
  9396. --
  9397. end
  9398. elseif ModeOfGlitch == -666666 then
  9399. local snap = math.random(1,30)
  9400. if snap == 1 then
  9401. 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)
  9402. end
  9403. 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)
  9404. 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)
  9405. 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)
  9406. 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)
  9407. 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)
  9408. 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)
  9409. elseif ModeOfGlitch == 404 or ModeOfGlitch == 246758 then
  9410. 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)
  9411. 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)
  9412. 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)
  9413. 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)
  9414. RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.5, -0.5) * angles(math.rad(90), math.rad(-80), math.rad(-40)),.2)
  9415. LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.2)
  9416. elseif ModeOfGlitch == 911 then
  9417. 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)
  9418. 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)
  9419. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(-90 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9420. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 1 * math.cos(sine / 0.5265)),math.rad(0 - 1 * math.cos(sine / 0.25)),math.rad(0 - 1 * math.cos(sine / 0.465))),.1)
  9421. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-147 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  9422. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-157 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  9423. elseif ModeOfGlitch == 8686 then
  9424. 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)
  9425. 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)
  9426. 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)
  9427. 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)
  9428. 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)
  9429. 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)
  9430. 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
  9431. 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)
  9432. 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)
  9433. 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)
  9434. 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)
  9435. 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)
  9436. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
  9437. 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)
  9438. 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)
  9439. 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)
  9440. 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)
  9441. 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)
  9442. 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)
  9443. 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 == 8889 or ModeOfGlitch == 74 or ModeOfGlitch == 8008135 or ModeOfGlitch == 4434 then
  9444. 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)
  9445. 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)
  9446. 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)
  9447. 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)
  9448. 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)
  9449. 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)
  9450. end
  9451. end
  9452. end
  9453. end
  9454. end
RAW Paste Data