Advertisement
Basykung7845

V2

May 2nd, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 478.63 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Basykung7845")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. wait(1)
  85.  
  86. warn([[SG AWAKEN Loaded.
  87. The super switcher.
  88. Velnorum is one of the first wielders.
  89.  
  90. Created by Basykung7845
  91. ]])
  92.  
  93.  
  94. ------------- ORIGINAL WIELDER OC: Velnorum
  95.  
  96. warn([[V ? Update Log:
  97. Its a Reborn, So there is no update.
  98. --- its obs smooth af do not touch
  99. ---- Sources and functions might be taken from others]])
  100. plr = owner
  101. char = plr.Character
  102. hum = char.Humanoid
  103. local cam = game.Workspace.CurrentCamera
  104. Camera = cam
  105. local CamInterrupt = false
  106. local TwoD = false
  107. local TargetInfo = {nil, nil}
  108. cam.CameraType = "Custom"
  109. t = char.Torso
  110. h = char.Head
  111. ra = char["Right Arm"]
  112. la = char["Left Arm"]
  113. rl = char["Right Leg"]
  114. ll = char["Left Leg"]
  115. tors = char.Torso
  116. lleg = char["Left Leg"]
  117. root = char.HumanoidRootPart
  118. hed = char.Head
  119. rleg = char["Right Leg"]
  120. rarm = char["Right Arm"]
  121. larm = char["Left Arm"]
  122. radian = math.rad
  123. random = math.random
  124. Vec3 = Vector3.new
  125. Inst = Instance.new
  126. cFrame = CFrame.new
  127. Euler = CFrame.fromEulerAnglesXYZ
  128. vt = Vector3.new
  129. bc = BrickColor.new
  130. br = BrickColor.random
  131. it = Instance.new
  132. cf = CFrame.new
  133.  
  134. local Booleans = {
  135. CamFollow = true,
  136. GyroUse = true
  137. }
  138. local createstuff = function()
  139. local stuff = Instance.new("Model")
  140. local collar = Instance.new("Part")
  141. local mesh = Instance.new("FileMesh")
  142. local part = Instance.new("Part")
  143. local mesh_2 = Instance.new("CylinderMesh")
  144. local weld = Instance.new("ManualWeld")
  145. local eye = Instance.new("Part")
  146. local mesh_3 = Instance.new("SpecialMesh")
  147. local decal = Instance.new("Decal")
  148. local hood = Instance.new("Part")
  149. local mesh_4 = Instance.new("FileMesh")
  150. local pillar = Instance.new("Part")
  151. local rock = Instance.new("Part")
  152. local core = Instance.new("Attachment")
  153. local emit = Instance.new("ParticleEmitter")
  154. local mesh_5 = Instance.new("FileMesh")
  155. local rockspike = Instance.new("Part")
  156. local mesh_6 = Instance.new("SpecialMesh")
  157. local shield = Instance.new("Part")
  158. local core_2 = Instance.new("Attachment")
  159. local spinepart = Instance.new("Part")
  160. local mesh_7 = Instance.new("FileMesh")
  161. local pants = Instance.new("Pants")
  162. local shirt = Instance.new("Shirt")
  163. local emit_2 = Instance.new("ParticleEmitter")
  164. local vortex = Instance.new("ParticleEmitter")
  165. local wave = Instance.new("ParticleEmitter")
  166.  
  167. stuff.Name = "Stuff"
  168. stuff.Parent = workspace
  169. collar.Size = Vector3.new(2.06, 0.2, 2.06)
  170. collar.Name = "Collar"
  171. collar.Material = Enum.Material.Metal
  172. collar.TopSurface = Enum.SurfaceType.Smooth
  173. collar.BottomSurface = Enum.SurfaceType.Smooth
  174. collar.Parent = stuff
  175. collar.CFrame = CFrame.new(5.8, 46.2, -39.9)
  176. mesh.MeshId = "rbxassetid://1861264141"
  177. mesh.Parent = collar
  178. part.Size = Vector3.new(1.3, 0.2, 1.3)
  179. part.BrickColor = BrickColor.new("Really black")
  180. part.Color = Color3.new(0.109804, 0.0823529, 0.117647)
  181. part.Material = Enum.Material.Metal
  182. part.TopSurface = Enum.SurfaceType.Smooth
  183. part.BottomSurface = Enum.SurfaceType.Smooth
  184. part.Parent = collar
  185. part.CFrame = CFrame.new(5.8, 46.2, -39.9)
  186. mesh_2.Scale = Vector3.new(1.1, 1.1, 1.1)
  187. mesh_2.Parent = part
  188. weld.Part0 = collar
  189. weld.Name = "Weld"
  190. weld.Part1 = part
  191. weld.Parent = collar
  192. eye.Anchored = true
  193. eye.Size = Vector3.new(2, 2, 2)
  194. eye.BottomSurface = Enum.SurfaceType.Smooth
  195. eye.Material = Enum.Material.SmoothPlastic
  196. eye.Color = Color3.new(0.972549, 0.972549, 0.972549)
  197. eye.Name = "Eye"
  198. eye.TopSurface = Enum.SurfaceType.Smooth
  199. eye.BrickColor = BrickColor.new("Institutional white")
  200. eye.Parent = stuff
  201. eye.CFrame = CFrame.new(9.8, 45.845, -47.125) * CFrame.Angles(0, 0, 0)
  202. mesh_3.MeshType = Enum.MeshType.Sphere
  203. mesh_3.Parent = eye
  204. decal.Texture = "http://www.roblox.com/asset/?id=743271416"
  205. decal.Parent = eye
  206. hood.Size = Vector3.new(2.919, 2.394, 2.891)
  207. hood.BottomSurface = Enum.SurfaceType.Smooth
  208. hood.Material = Enum.Material.SmoothPlastic
  209. hood.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  210. hood.BrickColor = BrickColor.new("Really black")
  211. hood.TopSurface = Enum.SurfaceType.Smooth
  212. hood.Name = "Hood"
  213. hood.Parent = stuff
  214. hood.CFrame = CFrame.new(9.8, 44.1, -48.7)
  215. mesh_4.Scale = Vector3.new(1.55, 1.44, 1.4)
  216. mesh_4.MeshId = "rbxassetid://16952952"
  217. mesh_4.Parent = hood
  218. pillar.Size = Vector3.new(1, 1, 1)
  219. pillar.Name = "Pillar"
  220. pillar.Material = Enum.Material.Metal
  221. pillar.TopSurface = Enum.SurfaceType.Smooth
  222. pillar.BottomSurface = Enum.SurfaceType.Smooth
  223. pillar.Parent = stuff
  224. pillar.CFrame = CFrame.new(-26.77, 0.5, -37.02)
  225. rock.Size = Vector3.new(2.03, 1.978, 2.057)
  226. rock.BottomSurface = Enum.SurfaceType.Smooth
  227. rock.Name = "Rock"
  228. rock.TopSurface = Enum.SurfaceType.Smooth
  229. rock.Parent = stuff
  230. rock.CFrame = CFrame.new(-0.43, 45.908, -52.56)
  231. core.Name = "Core"
  232. core.Parent = rock
  233. emit.Enabled = false
  234. emit.Lifetime = NumberRange.new(1, 4)
  235. emit.Name = "Emit"
  236. emit.Speed = NumberRange.new(0, 35)
  237. emit.Rotation = NumberRange.new(0, 360)
  238. emit.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.037, 0.754), NumberSequenceKeypoint.new(0.067, 0), NumberSequenceKeypoint.new(1, 0)})
  239. emit.VelocitySpread = 360
  240. emit.Texture = "rbxassetid://281633012"
  241. emit.Acceleration = Vector3.new(0, -15, 0)
  242. emit.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118), Color3.new(0.423529, 0.345098, 0.294118))
  243. emit.RotSpeed = NumberRange.new(-25, 25)
  244. emit.SpreadAngle = Vector2.new(360, 360)
  245. emit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(0.255, 3.06), NumberSequenceKeypoint.new(0.649, 2.131), NumberSequenceKeypoint.new(1, 0)})
  246. emit.Parent = core
  247. mesh_5.MeshId = "rbxassetid://1861108040"
  248. mesh_5.Parent = rock
  249. rockspike.Anchored = true
  250. rockspike.Size = Vector3.new(3.364, 20, 3.364)
  251. rockspike.BottomSurface = Enum.SurfaceType.Smooth
  252. rockspike.Material = Enum.Material.Grass
  253. rockspike.Color = Color3.new(0.423529, 0.345098, 0.294118)
  254. rockspike.Name = "RockSpike"
  255. rockspike.TopSurface = Enum.SurfaceType.Smooth
  256. rockspike.BrickColor = BrickColor.new("Pine Cone")
  257. rockspike.Parent = stuff
  258. rockspike.CFrame = CFrame.new(-0.43, 46.208, -29.96)
  259. mesh_6.TextureId = "rbxassetid://136560096"
  260. mesh_6.MeshType = Enum.MeshType.FileMesh
  261. mesh_6.MeshId = "rbxassetid://1861231635"
  262. mesh_6.Parent = rockspike
  263. shield.Size = Vector3.new(1, 1, 1)
  264. shield.Name = "Shield"
  265. shield.Material = Enum.Material.Metal
  266. shield.TopSurface = Enum.SurfaceType.Smooth
  267. shield.BottomSurface = Enum.SurfaceType.Smooth
  268. shield.Parent = stuff
  269. shield.CFrame = CFrame.new(-26.77, 0.5, -37.02)
  270. core_2.Name = "Core"
  271. core_2.Parent = shield
  272. spinepart.CanCollide = false
  273. spinepart.Size = Vector3.new(0.3, 0.3, 0.6)
  274. spinepart.BrickColor = BrickColor.new("Institutional white")
  275. spinepart.BottomSurface = Enum.SurfaceType.Smooth
  276. spinepart.Color = Color3.new(0.972549, 0.972549, 0.972549)
  277. spinepart.Name = "SpinePart"
  278. spinepart.TopSurface = Enum.SurfaceType.Smooth
  279. spinepart.Parent = stuff
  280. spinepart.CFrame = CFrame.new(-24.33, 46.208, -52.56)
  281. mesh_7.MeshId = "rbxassetid://1861166416"
  282. mesh_7.Parent = spinepart
  283. pants.Name = "Pants"
  284. pants.PantsTemplate = "http://www.roblox.com/asset/?id=1614573917"
  285. pants.Parent = stuff
  286. shirt.Name = "Shirt"
  287. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1604092628"
  288. shirt.Parent = stuff
  289. emit_2.Enabled = false
  290. emit_2.Lifetime = NumberRange.new(1, 4)
  291. emit_2.Name = "Emit"
  292. emit_2.Speed = NumberRange.new(0, 35)
  293. emit_2.Rotation = NumberRange.new(0, 360)
  294. emit_2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.037, 0.754), NumberSequenceKeypoint.new(0.067, 0), NumberSequenceKeypoint.new(1, 0)})
  295. emit_2.VelocitySpread = 360
  296. emit_2.Texture = "rbxassetid://281633012"
  297. emit_2.Acceleration = Vector3.new(0, -15, 0)
  298. emit_2.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118), Color3.new(0.423529, 0.345098, 0.294118))
  299. emit_2.RotSpeed = NumberRange.new(-25, 25)
  300. emit_2.SpreadAngle = Vector2.new(360, 360)
  301. emit_2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0.5), NumberSequenceKeypoint.new(1, 0)})
  302. emit_2.Parent = stuff
  303. vortex.Enabled = false
  304. vortex.Name = "Vortex"
  305. vortex.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.3, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
  306. vortex.Lifetime = NumberRange.new(1)
  307. vortex.Rate = 0
  308. vortex.Speed = NumberRange.new(0)
  309. vortex.Color = ColorSequence.new(Color3.new(0.423529, 0.345098, 0.294118), Color3.new(0.423529, 0.345098, 0.294118))
  310. vortex.Rotation = NumberRange.new(0, 360)
  311. vortex.ZOffset = -2
  312. vortex.RotSpeed = NumberRange.new(360)
  313. vortex.LightEmission = 1
  314. vortex.Texture = "rbxassetid://1084969997"
  315. vortex.LockedToPart = true
  316. vortex.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0)})
  317. vortex.Parent = stuff
  318. wave.Enabled = false
  319. wave.Lifetime = NumberRange.new(0.3)
  320. wave.Name = "Wave"
  321. wave.Speed = NumberRange.new(0)
  322. wave.LightEmission = 1
  323. wave.Rate = 1
  324. wave.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.17, 0.393), NumberSequenceKeypoint.new(0.334, 0.661), NumberSequenceKeypoint.new(0.535, 0.836), NumberSequenceKeypoint.new(1, 1)})
  325. wave.Texture = "rbxassetid://1084991215"
  326. wave.Rotation = NumberRange.new(-180, 180)
  327. wave.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 0)})
  328. wave.ZOffset = 1
  329. wave.Parent = stuff
  330. for i,v in pairs(stuff:GetChildren()) do
  331. v.Parent = script
  332. end
  333. end
  334. function lerp(object, newCFrame, alpha)
  335. return object:lerp(newCFrame, alpha)
  336. end
  337.  
  338. local Directer = Inst("BodyGyro", root)
  339. Directer.MaxTorque = Vec3(0, 0, 0)
  340. Directer.P = 600000
  341. local CPart = Inst("Part")
  342. CPart.Anchored = true
  343. CPart.CanCollide = false
  344. CPart.Locked = true
  345. CPart.Transparency = 1
  346.  
  347. local rainbowmode = false
  348. local chaosmode = false
  349.  
  350.  
  351. local kan = Instance.new("Sound",char)
  352. kan.Volume = 2
  353. kan.TimePosition = 0
  354. kan.PlaybackSpeed = 1
  355. kan.Pitch = 1
  356. kan.SoundId = "rbxassetid://188400306"
  357. kan.Name = "wrecked"
  358. kan.Looped = true
  359. kan:Play()
  360.  
  361. local currentThemePlaying = kan.SoundId
  362. local currentPitch = kan.Pitch
  363. local currentVol = kan.Volume
  364. function newTheme(ID,timepos,pitch,vol)
  365. local kanz = kan
  366. --kanz:Stop()
  367. kanz.Volume = vol
  368. --kanz.TimePosition = timepos
  369. kanz.PlaybackSpeed = pitch
  370. kanz.Pitch = pitch
  371. kanz.SoundId = ID
  372. kanz.Name = "wrecked"
  373. kanz.Looped = true
  374. currentThemePlaying = kanz.SoundId
  375. currentVol = kanz.Volume
  376. currentPitch = kanz.Pitch
  377. --kanz:Play()
  378. --coroutine.resume(coroutine.create(function()
  379. --wait(0.05)
  380. --end))
  381. end
  382.  
  383.  
  384. function newThemeCust(ID,timepos,pitch,vol)
  385. local kanz = kan
  386. kanz:Stop()
  387. kanz.Volume = vol
  388. kanz.TimePosition = timepos
  389. kanz.PlaybackSpeed = pitch
  390. kanz.Pitch = pitch
  391. kanz.SoundId = ID
  392. kanz.Name = "wrecked"
  393. kanz.Looped = true
  394. currentThemePlaying = kanz.SoundId
  395. currentVol = kanz.Volume
  396. currentPitch = kanz.Pitch
  397. kanz:Play()
  398. coroutine.resume(coroutine.create(function()
  399. wait(0.05)
  400. end))
  401. end
  402.  
  403. local mutedtog = false
  404.  
  405. function CameraEnshaking(Length,Intensity)
  406. coroutine.resume(coroutine.create(function()
  407. local intensity = 1*Intensity
  408. local rotM = 0.01*Intensity
  409. for i = 0, Length, 0.1 do
  410. swait()
  411. intensity = intensity - 0.05*Intensity/Length
  412. rotM = rotM - 0.0005*Intensity/Length
  413. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  414. 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)
  415. end
  416. Humanoid.CameraOffset = Vec3(0, 0, 0)
  417. end))
  418. end
  419. CamShake=function(Part,Distan,Power,Times)
  420. local de=Part.Position
  421. for i,v in pairs(workspace:children()) do
  422. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  423. for _,c in pairs(v:children()) do
  424. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  425. local Noob=v.Humanoid
  426. if Noob~=nil then
  427. coroutine.resume(coroutine.create(function()
  428. FV = Instance.new("BoolValue", Noob)
  429. FV.Name = "CameraShake"
  430. for ShakeNum=1,Times do
  431. swait()
  432. local ef=Power
  433. if ef>=1 then
  434. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  435. else
  436. ef=Power*10
  437. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  438. end
  439. end
  440. Humanoid.CameraOffset = Vector3.new(0,0,0)
  441. FV:Destroy()
  442. end))
  443. CameraShake(Times, Power, Noob)
  444. end
  445. end
  446. end
  447. end
  448. end
  449. end
  450.  
  451. local toThe lastleTag = true
  452. local bilguit = Instance.new("BillboardGui", hed)
  453. bilguit.Adornee = nil
  454. bilguit.Name = "ModeName"
  455. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  456. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  457. local modet = Instance.new("TextLabel", bilguit)
  458. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  459. modet.FontSize = "Size8"
  460. modet.TextScaled = true
  461. modet.TextTransparency = 0
  462. modet.BackgroundTransparency = 1
  463. modet.TextTransparency = 0
  464. modet.TextStrokeTransparency = 0
  465. modet.Font = "SciFi"
  466. modet.TextStrokeColor3 = Color3.new(0,222,222)
  467. modet.TextColor3 = Color3.new(222,222,222)
  468. modet.Text = "asd162430"
  469.  
  470.  
  471.  
  472. function chatfunc(text,color,typet,font,timeex)
  473. local chat = coroutine.wrap(function()
  474. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  475. Character:FindFirstChild("TalkingBillBoard"):destroy()
  476. end
  477. local naeeym2 = Instance.new("BillboardGui",Character)
  478. naeeym2.Size = UDim2.new(0,100,0,40)
  479. naeeym2.StudsOffset = Vector3.new(0,3,0)
  480. naeeym2.Adornee = Character.Head
  481. naeeym2.Name = "TalkingBillBoard"
  482. local tecks2 = Instance.new("TextLabel",naeeym2)
  483. tecks2.BackgroundTransparency = 1
  484. tecks2.BorderSizePixel = 0
  485. tecks2.Text = ""
  486. tecks2.Font = font
  487. tecks2.TextSize = 30
  488. tecks2.TextStrokeTransparency = 0
  489. tecks2.TextColor3 = color
  490. tecks2.TextStrokeColor3 = Color3.new(0,222,222)
  491. tecks2.Size = UDim2.new(1,0,0.5,0)
  492. local tecks3 = Instance.new("TextLabel",naeeym2)
  493. tecks3.BackgroundTransparency = 1
  494. tecks3.BorderSizePixel = 0
  495. tecks3.Text = ""
  496. tecks3.Font = font
  497. tecks3.TextSize = 30
  498. tecks3.TextStrokeTransparency = 0
  499. if typet == "Inverted" then
  500. tecks3.TextColor3 = Color3.new(0,222,222)
  501. tecks3.TextStrokeColor3 = color
  502. elseif typet == "Normal" then
  503. tecks3.TextColor3 = color
  504. tecks3.TextStrokeColor3 = Color3.new(222,222,222)
  505. end
  506. tecks3.Size = UDim2.new(1,0,0.5,0)
  507. coroutine.resume(coroutine.create(function()
  508. while true do
  509. swait(4)
  510. if chaosmode == true then
  511. tecks2.TextColor3 = BrickColor.random().Color
  512. tecks3.TextStrokeColor3 = BrickColor.random().Color
  513. end
  514. end
  515. end))
  516. modet.TextTransparency = modet.TextTransparency + 1
  517. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  518. for i = 0, 74*timeex do
  519. swait(4)
  520. modet.TextTransparency = 1
  521. modet.TextStrokeTransparency = 1
  522. tecks2.Text = text
  523. tecks3.Text = text
  524. end
  525. local randomrot = math.random(1,2)
  526. if randomrot == 1 then
  527. for i = 1, 50 do
  528. swait()
  529. tecks2.Text = text
  530. tecks3.Text = text
  531. modet.TextTransparency = modet.TextTransparency - .02
  532. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  533. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  534. tecks2.TextTransparency = tecks2.TextTransparency + .04
  535. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  536. tecks3.TextTransparency = tecks2.TextTransparency + .04
  537. end
  538. elseif randomrot == 2 then
  539. for i = 1, 50 do
  540. swait()
  541. tecks2.Text = text
  542. tecks3.Text = text
  543. modet.TextTransparency = modet.TextTransparency - .02
  544. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  545. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  546. tecks2.TextTransparency = tecks2.TextTransparency + .04
  547. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  548. tecks3.TextTransparency = tecks2.TextTransparency + .04
  549. end
  550. end
  551. modet.TextTransparency = 0
  552. modet.TextStrokeTransparency = 0
  553. if toggleTag == false then
  554. modet.TextTransparency = 1
  555. modet.TextStrokeTransparency = 1
  556. end
  557. naeeym2:Destroy()
  558. end)
  559. chat()
  560. end
  561.  
  562. function bosschatfunc(text,color,watval)
  563. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  564. coroutine.resume(coroutine.create(function()
  565. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  566. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  567. end
  568.  
  569. coroutine.resume(coroutine.create(function()
  570. while true do
  571. swait(1)
  572. if chaosmode == false then
  573. end
  574. end
  575. end))
  576. coroutine.resume(coroutine.create(function()
  577. while true do
  578. swait()
  579. if chaosmode == true then
  580. txtlb.Rotation = math.random(-1,1)
  581. txtlb2.Rotation = math.random(-1,1)
  582. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  583. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  584. txtlb.TextStrokeColor3 = BrickColor.random().Color
  585. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  586. end
  587. end
  588. end))
  589. local flol = 1.75
  590. local flil = 1.6
  591. coroutine.resume(coroutine.create(function()
  592. for i = 0, 9 do
  593. swait()
  594. fval = fval + 0.05
  595. flol = flol - 0.1
  596. flil = flil - 0.1
  597. txtlb.Text = ""
  598. txtlb.Position = UDim2.new(0,0,flol,0)
  599. txtlb2.Position = UDim2.new(0,0,flil,0)
  600. end
  601. txtlb.Text = text
  602. wait(watval)
  603. local valinc = 0
  604. for i = 0, 99 do
  605. swait()
  606. valinc = valinc + 0.0001
  607. flol = flol + valinc
  608. flil = flil + valinc
  609. txtlb.Rotation = txtlb.Rotation + valinc*180
  610. txtlb2.Rotation = txtlb2.Rotation - valinc*180
  611. txtlb.Position = UDim2.new(5,5,flol,5)
  612. txtlb2.Position = UDim2.new(0,0,flil,0)
  613. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  614. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  615. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  616. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  617. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.01
  618. end
  619. scrg:Destroy()
  620. end))
  621. end))
  622. end
  623. end
  624.  
  625.  
  626.  
  627.  
  628. local Create = LoadLibrary("RbxUtility").Create
  629.  
  630. CFuncs = {
  631. ["Part"] = {
  632. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  633. local Part = Create("Part"){
  634. Parent = Parent,
  635. Reflectance = Reflectance,
  636. Transparency = Transparency,
  637. CanCollide = false,
  638. Locked = true,
  639. BrickColor = BrickColor.new(tostring(BColor)),
  640. Name = Name,
  641. Size = Size,
  642. Material = Material,
  643. }
  644. RemoveOutlines(Part)
  645. return Part
  646. end;
  647. };
  648.  
  649. ["Mesh"] = {
  650. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  651. local Msh = Create(Mesh){
  652. Parent = Part,
  653. Offset = OffSet,
  654. Scale = Scale,
  655. }
  656. if Mesh == "SpecialMesh" then
  657. Msh.MeshType = MeshType
  658. Msh.MeshId = MeshId
  659. end
  660. return Msh
  661. end;
  662. };
  663.  
  664. ["Mesh"] = {
  665. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  666. local Msh = Create(Mesh){
  667. Parent = Part,
  668. Offset = OffSet,
  669. Scale = Scale,
  670. }
  671. if Mesh == "SpecialMesh" then
  672. Msh.MeshType = MeshType
  673. Msh.MeshId = MeshId
  674. end
  675. return Msh
  676. end;
  677. };
  678.  
  679. ["Weld"] = {
  680. Create = function(Parent, Part0, Part1, C0, C1)
  681. local Weld = Create("Weld"){
  682. Parent = Parent,
  683. Part0 = Part0,
  684. Part1 = Part1,
  685. C0 = C0,
  686. C1 = C1,
  687. }
  688. return Weld
  689. end;
  690. };
  691.  
  692. ["Sound"] = {
  693. Create = function(id, par, vol, pit)
  694. coroutine.resume(coroutine.create(function()
  695. local S = Create("Sound"){
  696. Volume = vol,
  697. Name = "EffectSoundo",
  698. Pitch = pit or 1,
  699. SoundId = id,
  700. Parent = par or workspace,
  701. }
  702. wait()
  703. S:play()
  704. game:GetService("Debris"):AddItem(S, 10)
  705. end))
  706. end;
  707. };
  708.  
  709. ["TimeSound"] = {
  710. Create = function(id, par, vol, pit, timepos)
  711. coroutine.resume(coroutine.create(function()
  712. local S = Create("Sound"){
  713. Volume = vol,
  714. Name = "EffectSoundo",
  715. Pitch = pit or 1,
  716. SoundId = id,
  717. TimePosition = timepos,
  718. Parent = par or workspace,
  719. }
  720. wait()
  721. S:play()
  722. game:GetService("Debris"):AddItem(S, 10)
  723. end))
  724. end;
  725. };
  726. ["EchoSound"] = {
  727. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  728. coroutine.resume(coroutine.create(function()
  729. local Sas = Create("Sound"){
  730. Volume = vol,
  731. Name = "EffectSoundo",
  732. Pitch = pit or 1,
  733. SoundId = id,
  734. TimePosition = timepos,
  735. Parent = par or workspace,
  736. }
  737. local E = Create("EchoSoundEffect"){
  738. Delay = echodelay,
  739. Name = "Echo",
  740. Feedback = fedb,
  741. DryLevel = dryl,
  742. Parent = Sas,
  743. }
  744. wait()
  745. Sas:play()
  746. game:GetService("Debris"):AddItem(Sas, delays)
  747. end))
  748. end;
  749. };
  750.  
  751. ["LongSound"] = {
  752. Create = function(id, par, vol, pit)
  753. coroutine.resume(coroutine.create(function()
  754. local S = Create("Sound"){
  755. Volume = vol,
  756. Pitch = pit or 1,
  757. SoundId = id,
  758. Parent = par or workspace,
  759. }
  760. wait()
  761. S:play()
  762. game:GetService("Debris"):AddItem(S, 60)
  763. end))
  764. end;
  765. };
  766.  
  767. ["ParticleEmitter"] = {
  768. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  769. local fp = Create("ParticleEmitter"){
  770. Parent = Parent,
  771. Color = ColorSequence.new(Color1, Color2),
  772. LightEmission = LightEmission,
  773. Size = Size,
  774. Texture = Texture,
  775. Transparency = Transparency,
  776. ZOffset = ZOffset,
  777. Acceleration = Accel,
  778. Drag = Drag,
  779. LockedToPart = LockedToPart,
  780. VelocityInheritance = VelocityInheritance,
  781. EmissionDirection = EmissionDirection,
  782. Enabled = Enabled,
  783. Lifetime = LifeTime,
  784. Rate = Rate,
  785. Rotation = Rotation,
  786. RotSpeed = RotSpeed,
  787. Speed = Speed,
  788. VelocitySpread = VelocitySpread,
  789. }
  790. return fp
  791. end;
  792. };
  793.  
  794. CreateTemplate = {
  795.  
  796. };
  797. }
  798.  
  799.  
  800.  
  801. New = function(Object, Parent, Name, Data)
  802. local Object = Instance.new(Object)
  803. for Index, Value in pairs(Data or {}) do
  804. Object[Index] = Value
  805. end
  806. Object.Parent = Parent
  807. Object.Name = Name
  808. return Object
  809. end
  810. local halocolor = BrickColor.new("Pastel light blue")
  811. local halocolor2 = BrickColor.new("Cool yellow")
  812. local starcolor = BrickColor.new("Bright yellow")
  813. local lunacolor = BrickColor.new("Navy blue")
  814. local lunacolor2 = BrickColor.new("Bright blue")
  815. local wepcolor = BrickColor.new("Really black")
  816. local maincolor = BrickColor.new("Really black")
  817. local m = Instance.new("Model",char)
  818. local m2 = Instance.new("Model",char)
  819. local m3 = Instance.new("Model",char)
  820. local mw1 = Instance.new("Model",char)
  821. local mw2 = Instance.new("Model",char)
  822.  
  823.  
  824. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  825. local gui = it(GuiType)
  826. gui.Parent = parent
  827. gui.Text = text
  828. gui.BackgroundTransparency = backtrans
  829. gui.BackgroundColor3 = backcol
  830. gui.SizeConstraint = "RelativeXY"
  831. gui.TextXAlignment = "Center"
  832. gui.TextYAlignment = "Center"
  833. gui.Position = pos
  834. gui.Size = size
  835. gui.Font = "SourceSans"
  836. gui.FontSize = "Size14"
  837. gui.TextWrapped = false
  838. gui.TextStrokeTransparency = 0
  839. gui.TextColor = BrickColor.new("White")
  840. return gui
  841. end
  842. --------------------------- GUI STUFF
  843. local basgui = it("GuiMain")
  844. basgui.Parent = plr.PlayerGui
  845. basgui.Name = "VISgui"
  846. local fullscreenz = it("Frame")
  847. fullscreenz.Parent = basgui
  848. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  849. fullscreenz.BackgroundTransparency = 1
  850. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  851. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  852. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  853. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  854. imgl2.BackgroundTransparency = 1
  855. imgl2.BorderSizePixel = 0
  856. imgl2.ImageTransparency = 0.5
  857. imgl2.ImageColor3 = Color3.new(0,1,1)
  858. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  859. imgl2.Size = UDim2.new(0,1000,0,1000)
  860. imgl2.Image = "rbxassetid://2325939897"
  861. local techc = imgl2:Clone()
  862. techc.Parent = fullscreenz
  863. techc.ImageTransparency = 0
  864. techc.Size = UDim2.new(0,900,0,900)
  865. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  866. techc.ImageColor3 = Color3.new(0,1,1)
  867. techc.Image = "rbxassetid://2273224484"
  868. local circl = imgl2:Clone()
  869. circl.Parent = fullscreenz
  870. circl.ImageTransparency = 0
  871. circl.Size = UDim2.new(0,550,0,550)
  872. circl.Position = UDim2.new(0.75,25,0.55,25)
  873. circl.ImageColor3 = Color3.new(0,1,1)
  874. circl.Image = "rbxassetid://2312119891"
  875. local circl2 = imgl2:Clone()
  876. circl2.Parent = fullscreenz
  877. circl2.ImageTransparency = 0
  878. circl2.Size = UDim2.new(0,700,0,700)
  879. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  880. circl2.ImageColor3 = Color3.new(0,222,222)
  881. circl2.Image = "rbxassetid://2312119891"
  882. local imgl2b = imgl2:Clone()
  883. imgl2b.Parent = fullscreenz
  884. imgl2b.ImageTransparency = 0
  885. imgl2b.Size = UDim2.new(0,800,0,800)
  886. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  887. imgl2b.ImageColor3 = Color3.new(222,222,222)
  888. local ned = Instance.new("TextLabel",fullscreenz)
  889. local ned1 = Instance.new("ImageLabel",fullscreenz)
  890. ned.ZIndex = 2
  891. ned.Font = "Arcade"
  892. ned.BackgroundTransparency = 1
  893. ned.BorderSizePixel = 0.65
  894. ned.Size = UDim2.new(0.3,0,0.2,0)
  895. ned.Position = UDim2.new(0.7,0,3,0)
  896. ned.TextColor3 = BrickColor.new("Bright blue").Color
  897. ned.TextStrokeColor3 = BrickColor.new("Dark blue").Color
  898. ned.TextScaled = true
  899. ned.TextStrokeTransparency = 0
  900. ned1.Image = "rbxassetid://2325939897"
  901. ned.Text = "asd162430"
  902. ned.TextSize = 24
  903. ned.Rotation = 1
  904. ned.TextXAlignment = "Right"
  905. ned.TextYAlignment = "Bottom"
  906.  
  907. local extrawingmod1 = Instance.new("Model",char)
  908. local extrawingmod2 = Instance.new("Model",char)
  909.  
  910. local basgui = it("GuiMain")
  911. basgui.Parent = plr.PlayerGui
  912. basgui.Name = "VISgui"
  913. local fullscreenz = it("Frame")
  914. fullscreenz.Parent = basgui
  915. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  916. fullscreenz.BackgroundTransparency = 1
  917. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  918. fullscreenz.Size = UDim2.new(1,0,-0.3,3)
  919. fullscreenz.Position = UDim2.new(0,0,0.75,-40,0)
  920. local block1 = Instance.new("TextLabel",fullscreenz)
  921. block1.Text = "Earthy Glitcher!"
  922. block1.Font = "Arcade"
  923. block1.TextColor3 = Color3.new(0,0,0)
  924. block1.TextStrokeTransparency = 0
  925. block1.BackgroundTransparency = 0.75
  926. block1.BackgroundColor3 = Color3.new(0,0,0)
  927. block1.TextStrokeColor3 = Color3.new (0,0,0)
  928. block1.TextScaled = true
  929. block1.Size = UDim2.new(1,0,0.25,0)
  930. block1.TextXAlignment = "Center"
  931. block1.Position = UDim2.new(0,0,0.75 + 1,0)
  932.  
  933. local basgui = it("GuiMain")
  934. basgui.Parent = plr.PlayerGui
  935. basgui.Name = "VISgui"
  936. local fullscreenz = it("Frame")
  937. fullscreenz.Parent = basgui
  938. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  939. fullscreenz.BackgroundTransparency = 1
  940. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  941. fullscreenz.Size = UDim2.new(1,0,-0.3,3)
  942. fullscreenz.Position = UDim2.new(0,0,0.75,-40,0)
  943. local block2 = Instance.new("TextLabel",fullscreenz)
  944. block2.Text = "R E B O R N !"
  945. block2.Font = "Arcade"
  946. block2.TextColor3 = Color3.new(0,0,0)
  947. block2.TextStrokeTransparency = 0
  948. block2.BackgroundTransparency = 0.75
  949. block2.BackgroundColor3 = Color3.new(0,0,0)
  950. block2.TextStrokeColor3 = Color3.new (0,0,0)
  951. block2.TextScaled = true
  952. block2.Size = UDim2.new(1,0,0.25,0)
  953. block2.TextXAlignment = "Center"
  954. block2.Position = UDim2.new(0,0,0.75 + 1,0)
  955.  
  956. local basgui = it("GuiMain")
  957. basgui.Parent = plr.PlayerGui
  958. basgui.Name = "VISgui"
  959. local fullscreenz = it("Frame")
  960. fullscreenz.Parent = basgui
  961. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  962. fullscreenz.BackgroundTransparency = 1
  963. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  964. fullscreenz.Size = UDim2.new(1,0,-0.3,3)
  965. fullscreenz.Position = UDim2.new(0,10,0.40,-40,0)
  966. local Special = Instance.new("TextLabel",fullscreenz)
  967. Special.Text = "Special: None"
  968. Special.Font = "Arcade"
  969. Special.TextColor3 = Color3.new(0,0,0)
  970. Special.TextStrokeTransparency = 0
  971. Special.BackgroundTransparency = 1
  972. Special.BackgroundColor3 = Color3.new(0,0,0)
  973. Special.TextStrokeColor3 = Color3.new (0,0,0)
  974. Special.TextScaled = true
  975. Special.Size = UDim2.new(1,0,0.25,0)
  976. Special.TextXAlignment = "Left"
  977. Special.Position = UDim2.new(0,0,0.75 + 1,0)
  978.  
  979. local basgui = it("GuiMain")
  980. basgui.Parent = plr.PlayerGui
  981. basgui.Name = "VISgui"
  982. local fullscreenz = it("Frame")
  983. fullscreenz.Parent = basgui
  984. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  985. fullscreenz.BackgroundTransparency = 1
  986. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  987. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  988. fullscreenz.Position = UDim2.new(-0.76, 10, -0.2, 0)
  989. local img666 = Instance.new("ImageLabel",fullscreenz)
  990. img666.BackgroundTransparency = 1
  991. img666.BorderSizePixel = 0
  992. img666.ImageTransparency = 0
  993. img666.ImageColor3 = Color3.new(1,1,1)
  994. img666.Position = UDim2.new(-100,-100,-100,-100)
  995. img666.Size = UDim2.new(0,300,0,300)
  996. img666.Image = "rbxassetid://2799035953"
  997.  
  998. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  999. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  1000. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  1001. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1002. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  1003. local R3 = {N=Region3.new}
  1004. local De = S.Debris
  1005. local WS = workspace
  1006. local Lght = S.Lighting
  1007. local RepS = S.ReplicatedStorage
  1008. local IN = Instance.new
  1009. local Plrs = S.Players
  1010. local FXFolder = script:FindFirstChild'Effects'
  1011. FXFolder.Parent = nil
  1012. local Alpha = .3
  1013.  
  1014. function CamShakeAll(times,intense,origin)
  1015. for _,v in next, Plrs:players() do
  1016. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  1017. end
  1018. end
  1019.  
  1020.  
  1021. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1022. local p = Instance.new("Part")
  1023. p.TopSurface = 0
  1024. p.BottomSurface = 0
  1025. p.Parent = parent
  1026. p.Size = Vector3.new(0.1,0.1,0.1)
  1027. p.Transparency = transparency
  1028. p.Reflectance = reflectance
  1029. p.CanCollide = false
  1030. p.Locked = true
  1031. p.BrickColor = brickcolor
  1032. p.Material = material
  1033. return p
  1034. end
  1035.  
  1036. function CreateMesh(parent,meshtype,x1,y1,z1)
  1037. local mesh = Instance.new("SpecialMesh",parent)
  1038. mesh.MeshType = meshtype
  1039. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1040. return mesh
  1041. end
  1042.  
  1043. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1044. local mesh = Instance.new("SpecialMesh",parent)
  1045. mesh.MeshType = "FileMesh"
  1046. mesh.MeshId = meshid
  1047. mesh.Scale = Vector3.new(x1,y1,z1)
  1048. return mesh
  1049. end
  1050.  
  1051.  
  1052. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1053. local mesh = Instance.new("SpecialMesh",parent)
  1054. mesh.MeshType = "FileMesh"
  1055. mesh.MeshId = meshid
  1056. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1057. mesh.Scale = Vector3.new(x1,y1,z1)
  1058. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1059. return mesh
  1060. end
  1061.  
  1062. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1063. local weld = Instance.new("Weld")
  1064. weld.Parent = parent
  1065. weld.Part0 = part0
  1066. weld.Part1 = part1
  1067. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1068. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1069. return weld
  1070. end
  1071.  
  1072.  
  1073. --------------
  1074. -------------- ground effect
  1075. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1076. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1077. local effar = Instance.new("ParticleEmitter",cen)
  1078. effar.Texture = "rbxassetid://2344870656"
  1079. effar.LightEmission = 1
  1080. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  1081. effar.Rate = 50
  1082. effar.Enabled = false
  1083. effar.EmissionDirection = "Front"
  1084. effar.Lifetime = NumberRange.new(1)
  1085. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  1086. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1087. effar.Speed = NumberRange.new(80,90)
  1088. effar.Acceleration = Vector3.new(0,10,0)
  1089. effar.Drag = 5
  1090. effar.Rotation = NumberRange.new(-500,500)
  1091. effar.SpreadAngle = Vector2.new(0,900)
  1092. effar.RotSpeed = NumberRange.new(-500,500)
  1093.  
  1094. ----
  1095. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1096. 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))
  1097. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1098. 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))
  1099.  
  1100. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1101. CreateMesh(handle,"Brick",0,0,0)
  1102. 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))
  1103. local valuaring = 10
  1104. for i = 0, 49 do
  1105. valuaw = valuaring + 10
  1106. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1107. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1108. 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))
  1109. end
  1110.  
  1111. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1112. CreateMesh(handle,"Brick",0,0,0)
  1113. CreateWeld(handlex,tors,handlex,0,-1.5,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114. local valuaring = 10
  1115. for i = 0, 49 do
  1116. valuaring = valuaring + 10
  1117. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1118. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  1119. 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))
  1120. end
  1121.  
  1122.  
  1123. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1124. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1125. 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))
  1126.  
  1127. --- Left wing.
  1128.  
  1129. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1130. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1131. 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))
  1132.  
  1133.  
  1134.  
  1135. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1136. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1137. 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))
  1138.  
  1139.  
  1140. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1141. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1142. 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))
  1143.  
  1144.  
  1145. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1146. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1147. 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))
  1148.  
  1149.  
  1150. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1151. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1152. 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))
  1153.  
  1154.  
  1155. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1156. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1157. 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))
  1158.  
  1159.  
  1160. -- Right wing.
  1161.  
  1162. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1163. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1164. 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))
  1165.  
  1166.  
  1167.  
  1168. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1169. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1170. 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))
  1171.  
  1172.  
  1173.  
  1174. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1175. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1176. 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))
  1177.  
  1178.  
  1179.  
  1180.  
  1181. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1182. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1183. 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))
  1184.  
  1185.  
  1186.  
  1187. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1188. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1189. 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))
  1190.  
  1191.  
  1192.  
  1193. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1194. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1195. 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))
  1196.  
  1197.  
  1198. ---- HERES THE RING
  1199.  
  1200. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1201. CreateMesh(gan,"Brick",0.2,0.25,0.7)
  1202. CreateWeld(gan,larm,gan,0.5,1,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1203.  
  1204. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1205. CreateMesh(gan,"Brick",1.075,0.25,0.2)
  1206. CreateWeld(gan,larm,gan,0,1,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1207.  
  1208. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1209. CreateMesh(gan,"Brick",2.2,0.2,0.2)
  1210. CreateWeld(gan,larm,gan,1.5,1,0.1,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1211.  
  1212. gan = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1213. CreateMesh(gan,"Brick",2,0.1,0.2)
  1214. CreateWeld(gan,larm,gan,1.5,1,-0.1,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1215.  
  1216. gan = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1217. CreateMesh(gan,"Brick",0.4,0.1,0.2)
  1218. CreateWeld(gan,larm,gan,1.8,1,-1.8,math.rad(0),math.rad(-45),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1219.  
  1220. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1221. CreateMesh(gan,"Brick",0.2,0.25,0.5)
  1222. CreateWeld(gan,larm,gan,-0.5,1,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1223. --- second ring
  1224.  
  1225. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1226. CreateMesh(gan,"Brick",0.2,0.25,0.7)
  1227. CreateWeld(gan,rarm,gan,0.5,1,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1228.  
  1229. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1230. CreateMesh(gan,"Brick",1.075,0.25,0.2)
  1231. CreateWeld(gan,rarm,gan,0,1,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1232.  
  1233. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1234. CreateMesh(gan,"Brick",2.2,0.2,0.2)
  1235. CreateWeld(gan,rarm,gan,1.5,1,0.1,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1236.  
  1237. gan = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1238. CreateMesh(gan,"Brick",2,0.1,0.2)
  1239. CreateWeld(gan,rarm,gan,1.5,1,-0.1,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1240.  
  1241. gan = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1242. CreateMesh(gan,"Brick",0.4,0.1,0.2)
  1243. CreateWeld(gan,rarm,gan,1.8,1,-1.8,math.rad(0),math.rad(-45),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1244.  
  1245. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1246. CreateMesh(gan,"Brick",0.2,0.25,0.5)
  1247. CreateWeld(gan,rarm,gan,-0.5,1,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1248.  
  1249.  
  1250.  
  1251. for i, v in pairs(m:GetChildren()) do
  1252. if v:IsA("Part") then
  1253. v.BrickColor = BrickColor.new("Really black")
  1254. v.Material = "Glass"
  1255. end
  1256. end
  1257. for i, v in pairs(m2:GetChildren()) do
  1258. if v:IsA("Part") then
  1259. v.BrickColor = BrickColor.new("Cyan")
  1260. v.Material = "Granite"
  1261. end
  1262. end
  1263. for i, v in pairs(m3:GetChildren()) do
  1264. if v:IsA("Part") then
  1265. v.BrickColor = BrickColor.new("Cyan")
  1266. v.Material = "Neon"
  1267. end
  1268. end
  1269. for i, v in pairs(mw2:GetChildren()) do
  1270. if v:IsA("Part") then
  1271. v.BrickColor = BrickColor.new("Cyan")
  1272. v.Material = "Neon"
  1273. end
  1274. end
  1275. for i, v in pairs(mw1:GetChildren()) do
  1276. if v:IsA("Part") then
  1277. v.Transparency = 1
  1278. v.BrickColor = BrickColor.new("Cyan")
  1279. v.Material = "Neon"
  1280. end
  1281. end
  1282. for i, v in pairs(extrawingmod1:GetChildren()) do
  1283. if v:IsA("Part") then
  1284. v.Transparency = 1
  1285. v.BrickColor = BrickColor.new("White")
  1286. v.Material = "Neon"
  1287. end
  1288. end
  1289. for i, v in pairs(extrawingmod2:GetChildren()) do
  1290. if v:IsA("Part") then
  1291. v.Transparency = 1
  1292. v.BrickColor = BrickColor.new("White")
  1293. v.Material = "Neon"
  1294. end
  1295. end
  1296. local MAINRUINCOLOR = BrickColor.new("Cyan")
  1297. ------
  1298.  
  1299.  
  1300. function RemoveOutlines(part)
  1301. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1302. end
  1303. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1304. local Part = Create("Part")({
  1305. Parent = Parent,
  1306. Reflectance = Reflectance,
  1307. Transparency = Transparency,
  1308. CanCollide = false,
  1309. Locked = true,
  1310. BrickColor = BrickColor.new(tostring(BColor)),
  1311. Name = Name,
  1312. Size = Size,
  1313. Material = Material
  1314. })
  1315. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1316. RemoveOutlines(Part)
  1317. return Part
  1318. end
  1319. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1320. local Msh = Create(Mesh)({
  1321. Parent = Part,
  1322. Offset = OffSet,
  1323. Scale = Scale
  1324. })
  1325. if Mesh == "SpecialMesh" then
  1326. Msh.MeshType = MeshType
  1327. Msh.MeshId = MeshId
  1328. end
  1329. return Msh
  1330. end
  1331. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1332. local Weld = Create("Weld")({
  1333. Parent = Parent,
  1334. Part0 = Part0,
  1335. Part1 = Part1,
  1336. C0 = C0,
  1337. C1 = C1
  1338. })
  1339. return Weld
  1340. end
  1341.  
  1342. Character=Player.Character
  1343. PlayerGui=Player.PlayerGui
  1344. Backpack=Player.Backpack
  1345. Torso=Character.Torso
  1346. Head=Character.Head
  1347. Humanoid=Character.Humanoid
  1348. m=Instance.new('Model',Character)
  1349. LeftArm=Character["Left Arm"]
  1350. LeftLeg=Character["Left Leg"]
  1351. RightArm=Character["Right Arm"]
  1352. RightLeg=Character["Right Leg"]
  1353. LS=Torso["Left Shoulder"]
  1354. LH=Torso["Left Hip"]
  1355. RS=Torso["Right Shoulder"]
  1356. RH=Torso["Right Hip"]
  1357. Face = Head.face
  1358. Neck=Torso.Neck
  1359. it=Instance.new
  1360. attacktype=1
  1361. vt=Vector3.new
  1362. cf=CFrame.new
  1363. euler=CFrame.fromEulerAnglesXYZ
  1364. angles=CFrame.Angles
  1365. cloaked=false
  1366. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1367. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1368. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1369. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1370. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1371. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1372. RootPart=Character.HumanoidRootPart
  1373. RootJoint=RootPart.RootJoint
  1374. RootCF=euler(-1.57,0,3.14)
  1375. attack = false
  1376. attackdebounce = false
  1377. deb=false
  1378. equipped=true
  1379. hand=false
  1380. MMouse=nil
  1381. combo=0
  1382. mana=0
  1383. trispeed=.2
  1384. attackmode='none'
  1385. local idle=0
  1386. local Anim="Idle"
  1387. local Effects={}
  1388. local gun=true
  1389. local shoot=true
  1390. local sine = 0
  1391. local change = 1
  1392.  
  1393. function RecolorTextAndRename(name,col1,col2,font)
  1394. modet.TextStrokeColor3 = col2
  1395. modet.TextColor3 = col1
  1396. modet.Font = font
  1397. modet.Text = name
  1398. techc.ImageColor3 = col2
  1399. circl.ImageColor3 = col2
  1400. circl2.ImageColor3 = col1
  1401. imgl2.ImageColor3 = col1
  1402. imgl2b.ImageColor3 = col2
  1403. block1.TextColor3 = col1
  1404. block2.TextColor3 = col2
  1405. Special.TextStrokeColor3 = col1
  1406. Special.TextColor3 = col2
  1407. ned.Text = name
  1408. ned.TextColor3 = col1
  1409. ned.TextStrokeColor3 = col2
  1410. end
  1411.  
  1412. local disably = false
  1413.  
  1414. function warnedpeopleULT(text,represfont,color,color2)
  1415. if disably ~= true then
  1416. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1417. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1418. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1419. coroutine.resume(coroutine.create(function()
  1420. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1421. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1422. end
  1423. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1424. scrg.Name = "Spinny"
  1425. local frm = Instance.new("Frame",scrg)
  1426. frm.BackgroundTransparency = 0.25
  1427. frm.BackgroundColor3 = color
  1428. frm.BorderSizePixel = 0
  1429. frm.Rotation = 45
  1430. frm.Size = UDim2.new(3,0,0,100)
  1431. frm.Position = UDim2.new(-4,0,0,0)
  1432. local frm2 = frm:Clone()
  1433. frm2.Parent = scrg
  1434. frm2.BackgroundColor3 = color2
  1435. frm2.Position = UDim2.new(-4.05,0,0,0)
  1436. local imlb = Instance.new("ImageLabel",scrg)
  1437. imlb.BackgroundTransparency = 1
  1438. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1439. imlb.Image = "rbxassetid://2344851144"
  1440. imlb.Size = UDim2.new(0,750,0,750)
  1441. imlb.ImageColor3 = color2
  1442. imlb.ImageTransparency = 0.25
  1443. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1444. local imlb2 = imlb:Clone()
  1445. imlb2.Image = "rbxassetid://99824771"
  1446. imlb2.Size = UDim2.new(1,0,1,0)
  1447. imlb2.ImageColor3 = color
  1448. imlb2.ImageTransparency = 0
  1449. imlb2.Position = UDim2.new(0,0,0,0)
  1450. local imlb3 = imlb:Clone()
  1451. imlb3.Image = "rbxassetid://2344830904"
  1452. imlb3.Size = UDim2.new(1,0,1,0)
  1453. imlb3.ImageColor3 = color2
  1454. imlb3.ImageTransparency = 0
  1455. imlb3.Position = UDim2.new(0,0,0,0)
  1456. local imlb4 = imlb:Clone()
  1457. imlb4.Image = "rbxassetid://2344870656"
  1458. imlb4.Size = UDim2.new(3,0,3,0)
  1459. imlb4.ImageColor3 = Color3.new(1,1,1)
  1460. imlb4.ImageTransparency = 0
  1461. imlb4.Position = UDim2.new(-1,0,-1,0)
  1462. local imlb5 = imlb:Clone()
  1463. imlb5.Image = "rbxassetid://2344870656"
  1464. imlb5.Size = UDim2.new(10,0,10,0)
  1465. imlb5.ImageColor3 = color2
  1466. imlb5.ImageTransparency = 0
  1467. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1468. imlb2.Parent = imlb
  1469. imlb3.Parent = imlb
  1470. imlb4.Parent = imlb
  1471. imlb5.Parent = imlb
  1472. local txtlb2 = Instance.new("TextLabel",imlb)
  1473. txtlb2.Text = text
  1474. txtlb2.Font = represfont
  1475. txtlb2.TextColor3 = color
  1476. txtlb2.TextStrokeTransparency = 0
  1477. txtlb2.BackgroundTransparency = 1
  1478. txtlb2.TextStrokeColor3 = color2
  1479. txtlb2.TextScaled = true
  1480. txtlb2.Size = UDim2.new(1,0,1,0)
  1481. txtlb2.Position = UDim2.new(0,0,0,0)
  1482. local fvalen = 0.55
  1483. local fval = -0.49
  1484. coroutine.resume(coroutine.create(function()
  1485. while true do
  1486. swait()
  1487. if chaosmode == true then
  1488. txtlb2.Rotation = math.random(-1,1)
  1489. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1490. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1491. imlb.ImageColor3 = BrickColor.random().Color
  1492. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1493. end
  1494. end
  1495. end))
  1496. coroutine.resume(coroutine.create(function()
  1497. while true do
  1498. swait()
  1499. if scrg.Parent ~= nil then
  1500. fvalen = fvalen - 0.0001
  1501. elseif scrg.Parent == nil then
  1502. break
  1503. end
  1504. end
  1505. end))
  1506. local flol = -5
  1507. local flil = 1.6
  1508. coroutine.resume(coroutine.create(function()
  1509. for i = 0, 49 do
  1510. swait()
  1511. flol = flol + 0.125
  1512. flil = flil - 0.1
  1513. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1514. frm.Rotation = frm.Rotation - 0.25
  1515. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1516. frm2.Rotation = frm.Rotation + 0.325
  1517. imlb3.Rotation = imlb3.Rotation - 10
  1518. imlb2.Rotation = imlb.Rotation + 7.5
  1519. imlb.Rotation = imlb.Rotation + 5
  1520. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1521. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1522. end
  1523. for i = 0, 99 do
  1524. swait()
  1525. fval = fval + 0.05
  1526. flol = flol + 0.005
  1527. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1528. frm.Rotation = frm.Rotation - 0.075
  1529. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1530. frm2.Rotation = frm2.Rotation + 0.125
  1531. imlb3.Rotation = imlb3.Rotation - 2
  1532. imlb2.Rotation = imlb.Rotation + 1.5
  1533. imlb.Rotation = imlb.Rotation + 1
  1534. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1535. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1536. end
  1537. local valinc = 0
  1538. local vinc2 = 1
  1539. for i = 0, 99 do
  1540. swait()
  1541. vinc2 = vinc2 + 0.25
  1542. valinc = valinc + 0.0001
  1543. flol = flol + valinc
  1544. flil = flil + valinc
  1545. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1546. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1547. imlb.Rotation = imlb.Rotation + 1*vinc2
  1548. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1549. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1550. frm.Rotation = frm.Rotation + 0.1*vinc2
  1551. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1552. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1553. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1554. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1555. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1556. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1557. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1558. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1559. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1560. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1561. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1562. end
  1563. scrg:Destroy()
  1564. end))
  1565. end))
  1566. end
  1567. end
  1568. end
  1569.  
  1570. function warnedpeopleError(text,represfont,color,color2)
  1571. if disably ~= true then
  1572. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1573. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1574. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1575. coroutine.resume(coroutine.create(function()
  1576. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1577. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1578. end
  1579. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1580. scrg.Name = "Spinny"
  1581. local frm = Instance.new("Frame",scrg)
  1582. frm.BackgroundTransparency = 0.25
  1583. frm.BackgroundColor3 = color
  1584. frm.BorderSizePixel = 0
  1585. frm.Rotation = 45
  1586. frm.Size = UDim2.new(3,0,0,100)
  1587. frm.Position = UDim2.new(-4,0,0,0)
  1588. local frm2 = frm:Clone()
  1589. frm2.Parent = scrg
  1590. frm2.BackgroundColor3 = color2
  1591. frm2.Position = UDim2.new(-4.05,0,0,0)
  1592. local imlb = Instance.new("ImageLabel",scrg)
  1593. imlb.BackgroundTransparency = 1
  1594. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1595. imlb.Image = "rbxassetid://303872831"
  1596. imlb.Size = UDim2.new(0,750,0,750)
  1597. imlb.ImageColor3 = color2
  1598. imlb.ImageTransparency = 0.25
  1599. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1600. local imlb2 = imlb:Clone()
  1601. imlb2.Image = "rbxassetid://303872831"
  1602. imlb2.Size = UDim2.new(1,0,1,0)
  1603. imlb2.ImageColor3 = color
  1604. imlb2.ImageTransparency = 0
  1605. imlb2.Position = UDim2.new(0,0,0,0)
  1606. local imlb3 = imlb:Clone()
  1607. imlb3.Image = "rbxassetid://303872831"
  1608. imlb3.Size = UDim2.new(1,0,1,0)
  1609. imlb3.ImageColor3 = color2
  1610. imlb3.ImageTransparency = 0
  1611. imlb3.Position = UDim2.new(0,0,0,0)
  1612. local imlb4 = imlb:Clone()
  1613. imlb4.Image = "rbxassetid://303872831"
  1614. imlb4.Size = UDim2.new(3,0,3,0)
  1615. imlb4.ImageColor3 = Color3.new(1,1,1)
  1616. imlb4.ImageTransparency = 0
  1617. imlb4.Position = UDim2.new(-1,0,-1,0)
  1618. local imlb5 = imlb:Clone()
  1619. imlb5.Image = "rbxassetid://303872831"
  1620. imlb5.Size = UDim2.new(10,0,10,0)
  1621. imlb5.ImageColor3 = color2
  1622. imlb5.ImageTransparency = 0
  1623. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1624. imlb2.Parent = imlb
  1625. imlb3.Parent = imlb
  1626. imlb4.Parent = imlb
  1627. imlb5.Parent = imlb
  1628. local txtlb2 = Instance.new("TextLabel",imlb)
  1629. txtlb2.Text = text
  1630. txtlb2.Font = represfont
  1631. txtlb2.TextColor3 = color
  1632. txtlb2.TextStrokeTransparency = 0
  1633. txtlb2.BackgroundTransparency = 1
  1634. txtlb2.TextStrokeColor3 = color2
  1635. txtlb2.TextScaled = true
  1636. txtlb2.Size = UDim2.new(1,0,1,0)
  1637. txtlb2.Position = UDim2.new(0,0,0,0)
  1638. local fvalen = 0.55
  1639. local fval = -0.49
  1640. coroutine.resume(coroutine.create(function()
  1641. while true do
  1642. swait()
  1643. if chaosmode == true then
  1644. txtlb2.Rotation = math.random(-1,1)
  1645. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1646. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1647. imlb.ImageColor3 = BrickColor.random().Color
  1648. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1649. end
  1650. end
  1651. end))
  1652. coroutine.resume(coroutine.create(function()
  1653. while true do
  1654. swait()
  1655. if scrg.Parent ~= nil then
  1656. fvalen = fvalen - 0.0001
  1657. elseif scrg.Parent == nil then
  1658. break
  1659. end
  1660. end
  1661. end))
  1662. local flol = -5
  1663. local flil = 1.6
  1664. coroutine.resume(coroutine.create(function()
  1665. for i = 0, 49 do
  1666. swait()
  1667. flol = flol + 0.125
  1668. flil = flil - 0.1
  1669. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1670. frm.Rotation = frm.Rotation - 0.25
  1671. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1672. frm2.Rotation = frm.Rotation + 0.325
  1673. imlb3.Rotation = imlb3.Rotation - 10
  1674. imlb2.Rotation = imlb.Rotation + 7.5
  1675. imlb.Rotation = imlb.Rotation + 5
  1676. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1677. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1678. end
  1679. for i = 0, 99 do
  1680. swait()
  1681. fval = fval + 0.05
  1682. flol = flol + 0.005
  1683. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1684. frm.Rotation = frm.Rotation - 0.075
  1685. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1686. frm2.Rotation = frm2.Rotation + 0.125
  1687. imlb3.Rotation = imlb3.Rotation - 2
  1688. imlb2.Rotation = imlb.Rotation + 1.5
  1689. imlb.Rotation = imlb.Rotation + 1
  1690. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1691. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1692. end
  1693. local valinc = 0
  1694. local vinc2 = 1
  1695. for i = 0, 99 do
  1696. swait()
  1697. vinc2 = vinc2 + 0.25
  1698. valinc = valinc + 0.0001
  1699. flol = flol + valinc
  1700. flil = flil + valinc
  1701. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1702. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1703. imlb.Rotation = imlb.Rotation + 1*vinc2
  1704. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1705. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1706. frm.Rotation = frm.Rotation + 0.1*vinc2
  1707. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1708. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1709. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1710. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1711. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1712. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1713. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1714. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1715. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1716. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1717. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1718. end
  1719. scrg:Destroy()
  1720. end))
  1721. end))
  1722. end
  1723. end
  1724. end
  1725.  
  1726.  
  1727. function warnedpeople(text,represfont,color,color2)
  1728. if disably ~= true then
  1729. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1730. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1731. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1732. coroutine.resume(coroutine.create(function()
  1733. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1734. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1735. end
  1736. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1737. scrg.Name = "Spinny"
  1738. local frm = Instance.new("TextLabel",scrg)
  1739. frm.BackgroundTransparency = 0.25
  1740. frm.BackgroundColor3 = color2
  1741. frm.BorderSizePixel = 0
  1742. frm.Rotation = 0
  1743. frm.Size = UDim2.new(4,0,0,75)
  1744. frm.Position = UDim2.new(-4,0,0,0)
  1745. frm.Text = text
  1746. frm.Font = represfont
  1747. frm.TextColor3 = color
  1748. frm.TextStrokeColor3 = color
  1749. frm.TextScaled = true
  1750. local frm2 = frm:Clone()
  1751. frm2.Parent = scrg
  1752. frm2.BackgroundColor3 = color2
  1753. frm2.Position = UDim2.new(-4.05,0,22222222,0)
  1754. local txtlb2 = Instance.new("TextLabel",imlb)
  1755. txtlb2.Text = text
  1756. txtlb2.Font = represfont
  1757. txtlb2.TextColor3 = color
  1758. txtlb2.TextStrokeTransparency = 0
  1759. txtlb2.BackgroundTransparency = 1
  1760. txtlb2.TextStrokeColor3 = color2
  1761. txtlb2.TextScaled = true
  1762. txtlb2.Size = UDim2.new(1,0,1,0)
  1763. txtlb2.Position = UDim2.new(0,0,0,0)
  1764. local fvalen = 0.55
  1765. local fval = -0.49
  1766. coroutine.resume(coroutine.create(function()
  1767. while true do
  1768. swait()
  1769. if chaosmode == true then
  1770. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1771. end
  1772. end
  1773. end))
  1774. coroutine.resume(coroutine.create(function()
  1775. while true do
  1776. swait()
  1777. if scrg.Parent ~= nil then
  1778. fvalen = fvalen - 0.0001
  1779. elseif scrg.Parent == nil then
  1780. break
  1781. end
  1782. end
  1783. end))
  1784. local flol = -5
  1785. local flil = 1.6
  1786. coroutine.resume(coroutine.create(function()
  1787. for i = 0, 49 do
  1788. swait()
  1789. flol = flol + 0.125
  1790. flil = flil - 0.1
  1791. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1792. frm.Rotation = frm.Rotation - 0
  1793. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1794. frm2.Rotation = frm.Rotation + 0.325
  1795. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1796. end
  1797. for i = 0, 99 do
  1798. swait()
  1799. fval = fval + 0.05
  1800. flol = flol + 0.005
  1801. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1802. frm.Rotation = frm.Rotation - 0
  1803. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1804. frm2.Rotation = frm2.Rotation + 0.125
  1805. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1806. end
  1807. local valinc = 0
  1808. local vinc2 = 1
  1809. for i = 0, 99 do
  1810. swait()
  1811. vinc2 = vinc2 + 0.25
  1812. valinc = valinc + 0.0001
  1813. flol = flol + valinc
  1814. flil = flil + valinc
  1815. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1816. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1817. frm.Rotation = frm.Rotation + 0*vinc2
  1818. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1819. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1820. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1821. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1822. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1823. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1824. end
  1825. scrg:Destroy()
  1826. end))
  1827. end))
  1828. end
  1829. end
  1830. end
  1831.  
  1832. function warnedpeopleULTRA(text,represfont,color,color2)
  1833. if disably ~= true then
  1834. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1835. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1836. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1837. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1838. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1839. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1840. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1841. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1842. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1843. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1844. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1845. coroutine.resume(coroutine.create(function()
  1846. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1847. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1848. end
  1849. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1850. scrg.Name = "Spinny"
  1851. local frm = Instance.new("Frame",scrg)
  1852. frm.BackgroundTransparency = 0
  1853. frm.BackgroundColor3 = color
  1854. frm.BorderSizePixel = 0
  1855. frm.Rotation = 45
  1856. frm.Size = UDim2.new(1000,0,0,1000)
  1857. frm.Position = UDim2.new(-4,0,0,0)
  1858. local frm2 = frm:Clone()
  1859. frm2.Parent = scrg
  1860. frm2.BackgroundColor3 = color2
  1861. frm2.Position = UDim2.new(-4.05,0,0,0)
  1862. local imlb = Instance.new("ImageLabel",scrg)
  1863. imlb.BackgroundTransparency = 1
  1864. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1865. imlb.Image = "rbxassetid://2344851144"
  1866. imlb.Size = UDim2.new(0,750,0,750)
  1867. imlb.ImageColor3 = color2
  1868. imlb.ImageTransparency = 0.25
  1869. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1870. local imlb2 = imlb:Clone()
  1871. imlb2.Image = "rbxassetid://2325939897"
  1872. imlb2.Size = UDim2.new(1,0,1,0)
  1873. imlb2.ImageColor3 = color
  1874. imlb2.ImageTransparency = 0
  1875. imlb2.Position = UDim2.new(0,0,0,0)
  1876. local imlb3 = imlb:Clone()
  1877. imlb3.Image = "rbxassetid://2344830904"
  1878. imlb3.Size = UDim2.new(1,0,1,0)
  1879. imlb3.ImageColor3 = color2
  1880. imlb3.ImageTransparency = 0
  1881. imlb3.Position = UDim2.new(0,0,0,0)
  1882. local imlb4 = imlb:Clone()
  1883. imlb4.Image = "rbxassetid://2344870656"
  1884. imlb4.Size = UDim2.new(3,0,3,0)
  1885. imlb4.ImageColor3 = Color3.new(1,1,1)
  1886. imlb4.ImageTransparency = 0
  1887. imlb4.Position = UDim2.new(-1,0,-1,0)
  1888. local imlb5 = imlb:Clone()
  1889. imlb5.Image = "rbxassetid://2344870656"
  1890. imlb5.Size = UDim2.new(10,0,10,0)
  1891. imlb5.ImageColor3 = color2
  1892. imlb5.ImageTransparency = 0
  1893. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1894. imlb2.Parent = imlb
  1895. imlb3.Parent = imlb
  1896. imlb4.Parent = imlb
  1897. imlb5.Parent = imlb
  1898. local txtlb2 = Instance.new("TextLabel",imlb)
  1899. txtlb2.Text = text
  1900. txtlb2.Font = represfont
  1901. txtlb2.TextColor3 = color
  1902. txtlb2.TextStrokeTransparency = 0
  1903. txtlb2.BackgroundTransparency = 1
  1904. txtlb2.TextStrokeColor3 = color2
  1905. txtlb2.TextScaled = true
  1906. txtlb2.Size = UDim2.new(1,0,1,0)
  1907. txtlb2.Position = UDim2.new(0,0,0,0)
  1908. local fvalen = 0.55
  1909. local fval = -0.49
  1910. coroutine.resume(coroutine.create(function()
  1911. while true do
  1912. swait()
  1913. if chaosmode == true then
  1914. txtlb2.Rotation = math.random(-1,1)
  1915. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1916. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1917. imlb.ImageColor3 = BrickColor.random().Color
  1918. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1919. end
  1920. end
  1921. end))
  1922. coroutine.resume(coroutine.create(function()
  1923. while true do
  1924. swait()
  1925. if scrg.Parent ~= nil then
  1926. fvalen = fvalen - 0.0001
  1927. elseif scrg.Parent == nil then
  1928. break
  1929. end
  1930. end
  1931. end))
  1932. local flol = -5
  1933. local flil = 1.6
  1934. coroutine.resume(coroutine.create(function()
  1935. for i = 0, 49 do
  1936. swait()
  1937. flol = flol + 0.125
  1938. flil = flil - 0.1
  1939. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1940. frm.Rotation = frm.Rotation - 0.25
  1941. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1942. frm2.Rotation = frm.Rotation + 0.325
  1943. imlb3.Rotation = imlb3.Rotation - 10
  1944. imlb2.Rotation = imlb.Rotation + 7.5
  1945. imlb.Rotation = imlb.Rotation + 5
  1946. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1947. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1948. end
  1949. for i = 0, 99 do
  1950. swait()
  1951. fval = fval + 0.05
  1952. flol = flol + 0.005
  1953. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1954. frm.Rotation = frm.Rotation - 0.075
  1955. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1956. frm2.Rotation = frm2.Rotation + 0.125
  1957. imlb3.Rotation = imlb3.Rotation - 2
  1958. imlb2.Rotation = imlb.Rotation + 1.5
  1959. imlb.Rotation = imlb.Rotation + 1
  1960. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1961. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1962. end
  1963. local valinc = 0
  1964. local vinc2 = 1
  1965. for i = 0, 99 do
  1966. swait()
  1967. vinc2 = vinc2 + 0.25
  1968. valinc = valinc + 0.0001
  1969. flol = flol + valinc
  1970. flil = flil + valinc
  1971. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1972. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1973. imlb.Rotation = imlb.Rotation + 1*vinc2
  1974. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1975. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1976. frm.Rotation = frm.Rotation + 0.1*vinc2
  1977. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1978. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1979. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1980. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1981. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1982. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1983. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1984. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1985. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1986. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1987. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1988. end
  1989. scrg:Destroy()
  1990. end))
  1991. end))
  1992. end
  1993. end
  1994. end
  1995.  
  1996. function warnedpeopleOOF(text,represfont,color,color2)
  1997. if disably ~= true then
  1998. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1999. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,222)
  2000. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2001. coroutine.resume(coroutine.create(function()
  2002. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  2003. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  2004. end
  2005. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  2006. scrg.Name = "Spinny"
  2007. local frm = Instance.new("Frame",scrg)
  2008. frm.BackgroundTransparency = 0.25
  2009. frm.BackgroundColor3 = color
  2010. frm.BorderSizePixel = 0
  2011. frm.Rotation = 45
  2012. frm.Size = UDim2.new(3,0,0,100)
  2013. frm.Position = UDim2.new(-4,0,0,0)
  2014. local frm2 = frm:Clone()
  2015. frm2.Parent = scrg
  2016. frm2.BackgroundColor3 = color2
  2017. frm2.Position = UDim2.new(-4.05,0,0,0)
  2018. local imlb = Instance.new("ImageLabel",scrg)
  2019. imlb.BackgroundTransparency = 1
  2020. imlb.BackgroundColor3 = Color3.new(0,0,0)
  2021. imlb.Image = "rbxassetid://2344851144"
  2022. imlb.Size = UDim2.new(0,750,0,750)
  2023. imlb.ImageColor3 = color2
  2024. imlb.ImageTransparency = 0.25
  2025. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  2026. local imlb2 = imlb:Clone()
  2027. imlb2.Image = "rbxassetid://2325939897"
  2028. imlb2.Size = UDim2.new(1,0,1,0)
  2029. imlb2.ImageColor3 = color
  2030. imlb2.ImageTransparency = 0
  2031. imlb2.Position = UDim2.new(0,0,0,0)
  2032. local imlb3 = imlb:Clone()
  2033. imlb3.Image = "rbxassetid://2344830904"
  2034. imlb3.Size = UDim2.new(1,0,1,0)
  2035. imlb3.ImageColor3 = color2
  2036. imlb3.ImageTransparency = 0
  2037. imlb3.Position = UDim2.new(0,0,0,0)
  2038. local imlb4 = imlb:Clone()
  2039. imlb4.Image = "rbxassetid://2344870656"
  2040. imlb4.Size = UDim2.new(3,0,3,0)
  2041. imlb4.ImageColor3 = Color3.new(1,1,1)
  2042. imlb4.ImageTransparency = 0
  2043. imlb4.Position = UDim2.new(-1,0,-1,0)
  2044. local imlb5 = imlb:Clone()
  2045. imlb5.Image = "rbxassetid://2344870656"
  2046. imlb5.Size = UDim2.new(10,0,10,0)
  2047. imlb5.ImageColor3 = color2
  2048. imlb5.ImageTransparency = 0
  2049. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  2050. imlb2.Parent = imlb
  2051. imlb3.Parent = imlb
  2052. imlb4.Parent = imlb
  2053. imlb5.Parent = imlb
  2054. local txtlb2 = Instance.new("TextLabel",imlb)
  2055. txtlb2.Text = text
  2056. txtlb2.Font = represfont
  2057. txtlb2.TextColor3 = color
  2058. txtlb2.TextStrokeTransparency = 0
  2059. txtlb2.BackgroundTransparency = 1
  2060. txtlb2.TextStrokeColor3 = color2
  2061. txtlb2.TextScaled = true
  2062. txtlb2.Size = UDim2.new(1,0,1,0)
  2063. txtlb2.Position = UDim2.new(0,0,0,0)
  2064. local fvalen = 0.55
  2065. local fval = -0.49
  2066. coroutine.resume(coroutine.create(function()
  2067. while true do
  2068. swait()
  2069. if chaosmode == true then
  2070. lolwut = {"DIED","DEATh","INsANITY","ChAOS","hAhAhAhAhAhAhA!!!","USELESS","WORThLESS","COMMIT",}
  2071. Sanicz = lolwut[math.random(1,#lolwut)]
  2072. RecolorTextAndRename(Sanicz,BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  2073. end
  2074. end
  2075. end))
  2076. coroutine.resume(coroutine.create(function()
  2077. while true do
  2078. swait()
  2079. if chaosmode == true then
  2080. txtlb2.Rotation = math.random(-1,1)
  2081. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2082. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2083. imlb.ImageColor3 = BrickColor.random().Color
  2084. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  2085. end
  2086. end
  2087. end))
  2088. coroutine.resume(coroutine.create(function()
  2089. while true do
  2090. swait()
  2091. if scrg.Parent ~= nil then
  2092. fvalen = fvalen - 0.0001
  2093. elseif scrg.Parent == nil then
  2094. break
  2095. end
  2096. end
  2097. end))
  2098. local flol = -5
  2099. local flil = 1.6
  2100. coroutine.resume(coroutine.create(function()
  2101. for i = 0, 49 do
  2102. swait()
  2103. flol = flol + 0.125
  2104. flil = flil - 0.1
  2105. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  2106. frm.Rotation = frm.Rotation - 0.25
  2107. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  2108. frm2.Rotation = frm.Rotation + 0.325
  2109. imlb3.Rotation = imlb3.Rotation - 10
  2110. imlb2.Rotation = imlb.Rotation + 7.5
  2111. imlb.Rotation = imlb.Rotation + 5
  2112. txtlb2.Rotation = txtlb2.Rotation - 5.125
  2113. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  2114. end
  2115. for i = 0, 99 do
  2116. swait()
  2117. fval = fval + 0.05
  2118. flol = flol + 0.005
  2119. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  2120. frm.Rotation = frm.Rotation - 0.075
  2121. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  2122. frm2.Rotation = frm2.Rotation + 0.125
  2123. imlb3.Rotation = imlb3.Rotation - 2
  2124. imlb2.Rotation = imlb.Rotation + 1.5
  2125. imlb.Rotation = imlb.Rotation + 1
  2126. txtlb2.Rotation = txtlb2.Rotation - 1.125
  2127. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  2128. end
  2129. local valinc = 0
  2130. local vinc2 = 1
  2131. for i = 0, 99 do
  2132. swait()
  2133. vinc2 = vinc2 + 0.25
  2134. valinc = valinc + 0.0001
  2135. flol = flol + valinc
  2136. flil = flil + valinc
  2137. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  2138. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  2139. imlb.Rotation = imlb.Rotation + 1*vinc2
  2140. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  2141. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  2142. frm.Rotation = frm.Rotation + 0.1*vinc2
  2143. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  2144. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  2145. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  2146. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  2147. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  2148. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  2149. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  2150. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  2151. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  2152. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  2153. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  2154. end
  2155. scrg:Destroy()
  2156. end))
  2157. end))
  2158. end
  2159. end
  2160. end
  2161.  
  2162. --save shoulders
  2163. RSH, LSH=nil, nil
  2164. --welds
  2165. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2166. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2167. LH=Torso["Left Hip"]
  2168. RH=Torso["Right Hip"]
  2169. TorsoColor=Torso.BrickColor
  2170. function NoOutline(Part)
  2171. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2172. end
  2173. ch=Character
  2174. RSH=ch.Torso["Right Shoulder"]
  2175. LSH=ch.Torso["Left Shoulder"]
  2176. --
  2177. RSH.Parent=nil
  2178. LSH.Parent=nil
  2179. --
  2180. RW.Name="Right Shoulder"
  2181. RW.Part0=ch.Torso
  2182. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2183. RW.C1=cf(0, 0.5, 0)
  2184. RW.Part1=ch["Right Arm"]
  2185. RW.Parent=ch.Torso
  2186. --
  2187. LW.Name="Left Shoulder"
  2188. LW.Part0=ch.Torso
  2189. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2190. LW.C1=cf(0, 0.5, 0)
  2191. LW.Part1=ch["Left Arm"]
  2192. LW.Parent=ch.Torso
  2193.  
  2194. local Stats=Instance.new("BoolValue")
  2195. Stats.Name="Stats"
  2196. Stats.Parent=Character
  2197. local Atk=Instance.new("NumberValue")
  2198. Atk.Name="Damage"
  2199. Atk.Parent=Stats
  2200. Atk.Value=1
  2201. local Def=Instance.new("NumberValue")
  2202. Def.Name="Defense"
  2203. Def.Parent=Stats
  2204. Def.Value=1
  2205. local Speed=Instance.new("NumberValue")
  2206. Speed.Name="Speed"
  2207. Speed.Parent=Stats
  2208. Speed.Value=1
  2209. local Mvmt=Instance.new("NumberValue")
  2210. Mvmt.Name="Movement"
  2211. Mvmt.Parent=Stats
  2212. Mvmt.Value=1
  2213.  
  2214. local donum=0
  2215.  
  2216.  
  2217. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2218. local fp=it("Part")
  2219. fp.formFactor=formfactor
  2220. fp.Parent=parent
  2221. fp.Reflectance=reflectance
  2222. fp.Transparency=transparency
  2223. fp.CanCollide=false
  2224. fp.Locked=true
  2225. fp.BrickColor=brickcolor
  2226. fp.Name=name
  2227. fp.Size=size
  2228. fp.Position=Torso.Position
  2229. NoOutline(fp)
  2230. fp.Material="SmoothPlastic"
  2231. fp:BreakJoints()
  2232. return fp
  2233. end
  2234.  
  2235. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2236. local mesh=it(Mesh)
  2237. mesh.Parent=part
  2238. if Mesh=="SpecialMesh" then
  2239. mesh.MeshType=meshtype
  2240. if meshid~="nil" then
  2241. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2242. end
  2243. end
  2244. mesh.Offset=offset
  2245. mesh.Scale=scale
  2246. return mesh
  2247. end
  2248.  
  2249. function weld(parent,part0,part1,c0)
  2250. local weld=it("Weld")
  2251. weld.Parent=parent
  2252. weld.Part0=part0
  2253. weld.Part1=part1
  2254. weld.C0=c0
  2255. return weld
  2256. end
  2257.  
  2258. local Color1=Torso.BrickColor
  2259.  
  2260. local bodvel=Instance.new("BodyVelocity")
  2261. local bg=Instance.new("BodyGyro")
  2262.  
  2263. --------- SazEreno's Artificial HB --------------
  2264. ArtificialHB = Instance.new("BindableEvent", script)
  2265. ArtificialHB.Name = "ArtificialHB"
  2266.  
  2267. script:WaitForChild("ArtificialHB")
  2268. Frame_Speed = 1 / 60
  2269. frame = Frame_Speed
  2270. tf = 0
  2271. allowframeloss = false
  2272. tossremainder = false
  2273. lastframe = tick()
  2274. script.ArtificialHB:Fire()
  2275.  
  2276. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2277. tf = tf + s
  2278. if tf >= frame then
  2279. if allowframeloss then
  2280. script.ArtificialHB:Fire()
  2281. lastframe = tick()
  2282. else
  2283. for i = 1, math.floor(tf / frame) do
  2284. script.ArtificialHB:Fire()
  2285. end
  2286. lastframe = tick()
  2287. end
  2288. if tossremainder then
  2289. tf = 0
  2290. else
  2291. tf = tf - frame * math.floor(tf / frame)
  2292. end
  2293. end
  2294. end)
  2295.  
  2296. ------------------
  2297. function swait(num)
  2298. if num == 0 or num == nil then
  2299. ArtificialHB.Event:wait()
  2300. else
  2301. for i = 1, num do
  2302. ArtificialHB.Event:wait()
  2303. end
  2304. end
  2305. end
  2306. -------- RAINBOW LEAVE IT TO ME
  2307. local r = 255
  2308. local g = 0
  2309. local b = 0
  2310. coroutine.resume(coroutine.create(function()
  2311. while wait() do
  2312. for i = 0, 254/5 do
  2313. swait()
  2314. g = g + 5
  2315. end
  2316. for i = 0, 254/5 do
  2317. swait()
  2318. r = r - 5
  2319. end
  2320. for i = 0, 254/5 do
  2321. swait()
  2322. b = b + 5
  2323. end
  2324. for i = 0, 254/5 do
  2325. swait()
  2326. g = g - 5
  2327. end
  2328. for i = 0, 254/5 do
  2329. swait()
  2330. r = r + 5
  2331. end
  2332. for i = 0, 254/5 do
  2333. swait()
  2334. b = b - 5
  2335. end
  2336. end
  2337. end))
  2338.  
  2339.  
  2340. so = function(id,par,vol,pit)
  2341. coroutine.resume(coroutine.create(function()
  2342. local sou = Instance.new("Sound",par or workspace)
  2343. sou.Volume=vol
  2344. sou.Pitch=pit or 1
  2345. sou.SoundId=id
  2346. swait()
  2347. sou:play()
  2348. game:GetService("Debris"):AddItem(sou,6)
  2349. end))
  2350. end
  2351.  
  2352. function clerp(a,b,t)
  2353. local qa = {QuaternionFromCFrame(a)}
  2354. local qb = {QuaternionFromCFrame(b)}
  2355. local ax, ay, az = a.x, a.y, a.z
  2356. local bx, by, bz = b.x, b.y, b.z
  2357. local _t = 1-t
  2358. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2359. end
  2360.  
  2361. function QuaternionFromCFrame(cf)
  2362. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2363. local trace = m00 + m11 + m22
  2364. if trace > 0 then
  2365. local s = math.sqrt(1 + trace)
  2366. local recip = 0.5/s
  2367. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2368. else
  2369. local i = 0
  2370. if m11 > m00 then
  2371. i = 1
  2372. end
  2373. if m22 > (i == 0 and m00 or m11) then
  2374. i = 2
  2375. end
  2376. if i == 0 then
  2377. local s = math.sqrt(m00-m11-m22+1)
  2378. local recip = 0.5/s
  2379. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2380. elseif i == 1 then
  2381. local s = math.sqrt(m11-m22-m00+1)
  2382. local recip = 0.5/s
  2383. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2384. elseif i == 2 then
  2385. local s = math.sqrt(m22-m00-m11+1)
  2386. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2387. end
  2388. end
  2389. end
  2390.  
  2391. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2392. local xs, ys, zs = x + x, y + y, z + z
  2393. local wx, wy, wz = w*xs, w*ys, w*zs
  2394. local xx = x*xs
  2395. local xy = x*ys
  2396. local xz = x*zs
  2397. local yy = y*ys
  2398. local yz = y*zs
  2399. local zz = z*zs
  2400. 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))
  2401. end
  2402.  
  2403. function attackfour()
  2404. for i = 0, 9 do
  2405. 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)
  2406. end
  2407. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  2408. coroutine.resume(coroutine.create(function()
  2409. local eff = Instance.new("ParticleEmitter",root)
  2410. eff.Texture = "rbxassetid://1175838406"
  2411. eff.LightEmission = 0.95
  2412. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2413. eff.Rate = 10000
  2414. eff.Lifetime = NumberRange.new(1)
  2415. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  2416. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2417. eff.Speed = NumberRange.new(30,160)
  2418. eff.Drag = 5
  2419. eff.Rotation = NumberRange.new(-500,500)
  2420. eff.VelocitySpread = 100000
  2421. wait(0.25)
  2422. eff.Enabled = false
  2423. wait(4)
  2424. eff:Destroy()
  2425. end))
  2426. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  2427. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  2428. CameraEnshaking(2,10)
  2429. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  2430. if v:FindFirstChild('Head') then
  2431. dmg(v)
  2432. end
  2433. end
  2434. for i = 0, 9 do
  2435. 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)
  2436. end
  2437. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  2438. end
  2439.  
  2440. function QuaternionSlerp(a, b, t)
  2441. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2442. local startInterp, finishInterp;
  2443. if cosTheta >= 0.0001 then
  2444. if (1 - cosTheta) > 0.0001 then
  2445. local theta = math.acos(cosTheta)
  2446. local invSinTheta = 1/math.sin(theta)
  2447. startInterp = math.sin((1-t)*theta)*invSinTheta
  2448. finishInterp = math.sin(t*theta)*invSinTheta
  2449. else
  2450. startInterp = 1-t
  2451. finishInterp = t
  2452. end
  2453. else
  2454. if (1+cosTheta) > 0.0001 then
  2455. local theta = math.acos(-cosTheta)
  2456. local invSinTheta = 1/math.sin(theta)
  2457. startInterp = math.sin((t-1)*theta)*invSinTheta
  2458. finishInterp = math.sin(t*theta)*invSinTheta
  2459. else
  2460. startInterp = t-1
  2461. finishInterp = t
  2462. end
  2463. end
  2464. 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
  2465. end
  2466.  
  2467. local function CFrameFromTopBack(at, top, back)
  2468. local right = top:Cross(back)
  2469. return CFrame.new(at.x, at.y, at.z,
  2470. right.x, top.x, back.x,
  2471. right.y, top.y, back.y,
  2472. right.z, top.z, back.z)
  2473. end
  2474.  
  2475. function Triangle(a, b, c)
  2476. local edg1 = (c-a):Dot((b-a).unit)
  2477. local edg2 = (a-b):Dot((c-b).unit)
  2478. local edg3 = (b-c):Dot((a-c).unit)
  2479. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2480. a, b, c = a, b, c
  2481. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2482. a, b, c = b, c, a
  2483. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2484. a, b, c = c, a, b
  2485. else
  2486. assert(false, "unreachable")
  2487. end
  2488.  
  2489. local len1 = (c-a):Dot((b-a).unit)
  2490. local len2 = (b-a).magnitude - len1
  2491. local width = (a + (b-a).unit*len1 - c).magnitude
  2492.  
  2493. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2494.  
  2495. local list = {}
  2496.  
  2497. if len1 > 0.01 then
  2498. local w1 = Instance.new('WedgePart', m)
  2499. game:GetService("Debris"):AddItem(w1,5)
  2500. w1.Material = "SmoothPlastic"
  2501. w1.FormFactor = 'Custom'
  2502. w1.BrickColor = BrickColor.new("Cyan")
  2503. w1.Transparency = 0
  2504. w1.Reflectance = 0
  2505. w1.Material = "SmoothPlastic"
  2506. w1.CanCollide = false
  2507. local l1 = Instance.new("PointLight",w1)
  2508. l1.Color = Color3.new(170,0,0)
  2509. NoOutline(w1)
  2510. local sz = Vector3.new(0.2, width, len1)
  2511. w1.Size = sz
  2512. local sp = Instance.new("SpecialMesh",w1)
  2513. sp.MeshType = "Wedge"
  2514. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2515. w1:BreakJoints()
  2516. w1.Anchored = true
  2517. w1.Parent = workspace
  2518. w1.Transparency = 0.7
  2519. table.insert(Effects,{w1,"Disappear",.01})
  2520. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2521. table.insert(list,w1)
  2522. end
  2523.  
  2524. if len2 > 0.01 then
  2525. local w2 = Instance.new('WedgePart', m)
  2526. game:GetService("Debris"):AddItem(w2,5)
  2527. w2.Material = "SmoothPlastic"
  2528. w2.FormFactor = 'Custom'
  2529. w2.BrickColor = BrickColor.new("Cyan")
  2530. w2.Transparency = 0
  2531. w2.Reflectance = 0
  2532. w2.Material = "SmoothPlastic"
  2533. w2.CanCollide = false
  2534. local l2 = Instance.new("PointLight",w2)
  2535. l2.Color = Color3.new(170,0,0)
  2536. NoOutline(w2)
  2537. local sz = Vector3.new(0.2, width, len2)
  2538. w2.Size = sz
  2539. local sp = Instance.new("SpecialMesh",w2)
  2540. sp.MeshType = "Wedge"
  2541. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2542. w2:BreakJoints()
  2543. w2.Anchored = true
  2544. w2.Parent = workspace
  2545. w2.Transparency = 0.7
  2546. table.insert(Effects,{w2,"Disappear",.01})
  2547. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2548. table.insert(list,w2)
  2549. end
  2550. return unpack(list)
  2551. end
  2552.  
  2553. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  2554. local type = type
  2555. local rng = Instance.new("Part", char)
  2556. rng.Anchored = true
  2557. rng.BrickColor = color
  2558. rng.CanCollide = false
  2559. rng.FormFactor = 3
  2560. rng.Name = "Ring"
  2561. rng.Material = "Neon"
  2562. rng.Size = Vector3.new(1, 1, 1)
  2563. rng.Transparency = 0
  2564. if typeoftrans == "In" then
  2565. rng.Transparency = 1
  2566. end
  2567. rng.TopSurface = 0
  2568. rng.BottomSurface = 0
  2569. rng.CFrame = pos
  2570. local rngm = Instance.new("SpecialMesh", rng)
  2571. rngm.MeshType = "FileMesh"
  2572. rngm.MeshId = "rbxassetid://20329976"
  2573. rngm.Scale = scale
  2574. local scaler2 = 1
  2575. local scaler2b = 1
  2576. if type == "Add" then
  2577. scaler2 = 1*value
  2578. scaler2b = 1*value2
  2579. elseif type == "Divide" then
  2580. scaler2 = 1/value
  2581. scaler2b = 1/value2
  2582. end
  2583. local randomrot = math.random(1,2)
  2584. coroutine.resume(coroutine.create(function()
  2585. for i = 0,10/bonuspeed,0.1 do
  2586. swait()
  2587. if type == "Add" then
  2588. scaler2 = scaler2 - 0.01*value/bonuspeed
  2589. scaler2b = scaler2b - 0.01*value/bonuspeed
  2590. elseif type == "Divide" then
  2591. scaler2 = scaler2 - 0.01/value*bonuspeed
  2592. scaler2b = scaler2b - 0.01/value*bonuspeed
  2593. end
  2594. if randomrot == 1 then
  2595. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  2596. elseif randomrot == 2 then
  2597. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  2598. end
  2599. if typeoftrans == "Out" then
  2600. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2601. elseif typeoftrans == "In" then
  2602. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2603. end
  2604. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  2605. end
  2606. rng:Destroy()
  2607. end))
  2608. end
  2609.  
  2610.  
  2611. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2612. if hit.Parent == nil then
  2613. return
  2614. end
  2615. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2616. for _, v in pairs(hit.Parent:children()) do
  2617. if v:IsA("Humanoid") then
  2618. h = v
  2619. end
  2620. end
  2621. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2622. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2623. return
  2624. end
  2625. local c = Create("ObjectValue")({
  2626. Name = "creator",
  2627. Value = owner,
  2628. Parent = h
  2629. })
  2630. game:GetService("Debris"):AddItem(c, 0.5)
  2631. if HitSound ~= nil and HitPitch ~= nil then
  2632. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2633. end
  2634. local Damage = math.random(minim, maxim)
  2635. local blocked = false
  2636. local block = hit.Parent:findFirstChild("Block")
  2637. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2638. blocked = true
  2639. block.Value = block.Value - 1
  2640. print(block.Value)
  2641. end
  2642. if blocked == false then
  2643. HitHealth = h.Health
  2644. h.MaxHealth = 100
  2645. h.Health = h.Health - Damage
  2646. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2647. print("gained kill")
  2648. dmg(h.Parent)
  2649. end
  2650. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2651. else
  2652. h.Health = h.Health - Damage / 2
  2653. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2654. end
  2655. if Type == "Knockdown" then
  2656. local hum = hit.Parent.Humanoid
  2657. hum.PlatformStand = true
  2658. coroutine.resume(coroutine.create(function(HHumanoid)
  2659. swait(1)
  2660. HHumanoid.PlatformStand = false
  2661. end), hum)
  2662. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2663. local bodvol = Create("BodyVelocity")({
  2664. velocity = angle * knockback,
  2665. P = 5000,
  2666. maxForce = Vector3.new(8000, 8000, 8000),
  2667. Parent = hit
  2668. })
  2669. local rl = Create("BodyAngularVelocity")({
  2670. P = 3000,
  2671. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2672. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2673. Parent = hit
  2674. })
  2675. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2676. game:GetService("Debris"):AddItem(rl, 0.5)
  2677. elseif Type == "Normal" then
  2678. local vp = Create("BodyVelocity")({
  2679. P = 500,
  2680. maxForce = Vector3.new(math.huge, 0, math.huge),
  2681. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2682. })
  2683. if knockback > 0 then
  2684. vp.Parent = hit.Parent.Head
  2685. end
  2686. game:GetService("Debris"):AddItem(vp, 0.5)
  2687. elseif Type == "Up" then
  2688. local bodyVelocity = Create("BodyVelocity")({
  2689. velocity = Vector3.new(0, 20, 0),
  2690. P = 5000,
  2691. maxForce = Vector3.new(8000, 8000, 8000),
  2692. Parent = hit
  2693. })
  2694. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2695. local bodyVelocity = Create("BodyVelocity")({
  2696. velocity = Vector3.new(0, 20, 0),
  2697. P = 5000,
  2698. maxForce = Vector3.new(8000, 8000, 8000),
  2699. Parent = hit
  2700. })
  2701. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2702. elseif Type == "Leech" then
  2703. local hum = hit.Parent.Humanoid
  2704. if hum ~= nil then
  2705. for i = 0, 2 do
  2706. 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)
  2707. end
  2708. Humanoid.Health = Humanoid.Health + 10
  2709. end
  2710. elseif Type == "UpKnock" then
  2711. local hum = hit.Parent.Humanoid
  2712. hum.PlatformStand = true
  2713. if hum ~= nil then
  2714. hitr = true
  2715. end
  2716. coroutine.resume(coroutine.create(function(HHumanoid)
  2717. swait(5)
  2718. HHumanoid.PlatformStand = false
  2719. hitr = false
  2720. end), hum)
  2721. local bodyVelocity = Create("BodyVelocity")({
  2722. velocity = Vector3.new(0, 20, 0),
  2723. P = 5000,
  2724. maxForce = Vector3.new(8000, 8000, 8000),
  2725. Parent = hit
  2726. })
  2727. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2728. local bodyVelocity = Create("BodyVelocity")({
  2729. velocity = Vector3.new(0, 20, 0),
  2730. P = 5000,
  2731. maxForce = Vector3.new(8000, 8000, 8000),
  2732. Parent = hit
  2733. })
  2734. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2735. elseif Type == "Snare" then
  2736. local bp = Create("BodyPosition")({
  2737. P = 2000,
  2738. D = 100,
  2739. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2740. position = hit.Parent.Torso.Position,
  2741. Parent = hit.Parent.Torso
  2742. })
  2743. game:GetService("Debris"):AddItem(bp, 1)
  2744. elseif Type == "Slashnare" then
  2745. 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)
  2746. for i = 1, math.random(4, 5) do
  2747. 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)
  2748. end
  2749. local bp = Create("BodyPosition")({
  2750. P = 2000,
  2751. D = 100,
  2752. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2753. position = hit.Parent.Torso.Position,
  2754. Parent = hit.Parent.Torso
  2755. })
  2756. game:GetService("Debris"):AddItem(bp, 1)
  2757. elseif Type == "Spike" then
  2758. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2759. local bp = Create("BodyPosition")({
  2760. P = 2000,
  2761. D = 100,
  2762. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2763. position = hit.Parent.Torso.Position,
  2764. Parent = hit.Parent.Torso
  2765. })
  2766. game:GetService("Debris"):AddItem(bp, 1)
  2767. elseif Type == "Freeze" then
  2768. local BodPos = Create("BodyPosition")({
  2769. P = 50000,
  2770. D = 1000,
  2771. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2772. position = hit.Parent.Torso.Position,
  2773. Parent = hit.Parent.Torso
  2774. })
  2775. local BodGy = Create("BodyGyro")({
  2776. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2777. P = 20000,
  2778. Parent = hit.Parent.Torso,
  2779. cframe = hit.Parent.Torso.CFrame
  2780. })
  2781. hit.Parent.Torso.Anchored = true
  2782. coroutine.resume(coroutine.create(function(Part)
  2783. swait(1.5)
  2784. Part.Anchored = false
  2785. end), hit.Parent.Torso)
  2786. game:GetService("Debris"):AddItem(BodPos, 3)
  2787. game:GetService("Debris"):AddItem(BodGy, 3)
  2788. end
  2789. local debounce = Create("BoolValue")({
  2790. Name = "DebounceHit",
  2791. Parent = hit.Parent,
  2792. Value = true
  2793. })
  2794. game:GetService("Debris"):AddItem(debounce, Delay)
  2795. c = Instance.new("ObjectValue")
  2796. c.Name = "creator"
  2797. c.Value = Player
  2798. c.Parent = h
  2799. game:GetService("Debris"):AddItem(c, 0.5)
  2800. end
  2801. end
  2802. function ShowDamage(Pos, Text, Time, Color)
  2803. local Rate = 0.03333333333333333
  2804. local Pos = Pos or Vector3.new(0, 0, 0)
  2805. local Text = Text or ""
  2806. local Time = Time or 2
  2807. local Color = Color or Color3.new(1, 0, 1)
  2808. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2809. EffectPart.Anchored = true
  2810. local BillboardGui = Create("BillboardGui")({
  2811. Size = UDim2.new(3, 0, 3, 0),
  2812. Adornee = EffectPart,
  2813. Parent = EffectPart
  2814. })
  2815. local TextLabel = Create("TextLabel")({
  2816. BackgroundTransparency = 1,
  2817. Size = UDim2.new(1, 0, 1, 0),
  2818. Text = Text,
  2819. TextColor3 = Color,
  2820. TextScaled = true,
  2821. Font = Enum.Font.ArialBold,
  2822. Parent = BillboardGui
  2823. })
  2824. game.Debris:AddItem(EffectPart, Time + 0.1)
  2825. EffectPart.Parent = game:GetService("Workspace")
  2826. delay(0, function()
  2827. local Frames = Time / Rate
  2828. for Frame = 1, Frames do
  2829. wait(Rate)
  2830. local Percent = Frame / Frames
  2831. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2832. TextLabel.TextTransparency = Percent
  2833. end
  2834. if EffectPart and EffectPart.Parent then
  2835. EffectPart:Destroy()
  2836. end
  2837. end)
  2838. end
  2839. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2840. for _, c in pairs(workspace:children()) do
  2841. local hum = c:findFirstChildOfClass("Humanoid")
  2842. if hum ~= nil then
  2843. local head = c:findFirstChild("Head")
  2844. if head ~= nil then
  2845. local targ = head.Position - Part.Position
  2846. local mag = targ.magnitude
  2847. if magni >= mag and c.Name ~= Player.Name then
  2848. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2849. end
  2850. end
  2851. end
  2852. end
  2853. end
  2854.  
  2855. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2856. for _, c in pairs(workspace:children()) do
  2857. local hum = c:findFirstChild("Humanoid")
  2858. if hum ~= nil then
  2859. local head = c:findFirstChild("Torso")
  2860. if head ~= nil then
  2861. local targ = head.Position - Part.Position
  2862. local mag = targ.magnitude
  2863. if magni >= mag and c.Name ~= Player.Name then
  2864. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2865. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2866. end
  2867. end
  2868. end
  2869. end
  2870. end
  2871.  
  2872. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2873. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2874. end
  2875.  
  2876. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2877. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2878. prt.Anchored=true
  2879. prt.CFrame=cframe
  2880. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2881. --http://www.roblox.com/asset/?id=4770560
  2882. game:GetService("Debris"):AddItem(prt,2)
  2883. CF=prt.CFrame
  2884. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2885. for i=0,1,0.2 do
  2886. wait()
  2887. Part.CFrame=CF*cf(0,0,-0.4)
  2888. end
  2889. for i=0,1,delay do
  2890. wait()
  2891. --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)
  2892. Mesh.Scale=Mesh.Scale
  2893. end
  2894. for i=0,1,0.1 do
  2895. wait()
  2896. Part.Transparency=i
  2897. end
  2898. Part.Parent=nil
  2899. end),prt,msh,CF)
  2900. end
  2901.  
  2902. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2903. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2904. prt.Anchored=true
  2905. prt.Material = "Neon"
  2906. prt.CFrame=cframe
  2907. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  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. for i=0,1,delay do
  2912. swait()
  2913. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2914. Part.Transparency=i
  2915. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2916. end
  2917. Part.Parent=nil
  2918. end),prt,msh)
  2919. end
  2920.  
  2921. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2922. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2923. prt.Anchored=true
  2924. prt.Material = "Neon"
  2925. prt.CFrame=cframe
  2926. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2927. game:GetService("Debris"):AddItem(prt,5)
  2928. coroutine.resume(coroutine.create(function(Part,Mesh)
  2929. local rtype = rottype
  2930. for i=0,1,delay do
  2931. swait()
  2932. if rtype == 1 then
  2933. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2934. elseif rtype == 2 then
  2935. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2936. end
  2937. Part.Transparency=i
  2938. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2939. end
  2940. Part.Parent=nil
  2941. end),prt,msh)
  2942. end
  2943.  
  2944. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2945. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2946. prt.Anchored=true
  2947. prt.CFrame=cframe
  2948. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2949. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2950. game:GetService("Debris"):AddItem(prt,5)
  2951. coroutine.resume(coroutine.create(function(Part,Mesh)
  2952. for i=0,1,delay do
  2953. wait()
  2954. Part.Transparency=i
  2955. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2956. end
  2957. Part.Parent=nil
  2958. end),prt,msh)
  2959. end
  2960.  
  2961. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2962. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2963. prt.Anchored=true
  2964. prt.Material = "Neon"
  2965. prt.CFrame=cframe
  2966. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2967. game:GetService("Debris"):AddItem(prt,5)
  2968. coroutine.resume(coroutine.create(function(Part,Mesh)
  2969. local rtype = rottype
  2970. for i=0,1,delay do
  2971. swait()
  2972. if rtype == 1 then
  2973. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2974. elseif rtype == 2 then
  2975. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2976. end
  2977. Part.Transparency=i
  2978. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2979. end
  2980. Part.Parent=nil
  2981. end),prt,msh)
  2982. end
  2983.  
  2984. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2985. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2986. prt.Anchored=true
  2987. prt.Material = "Neon"
  2988. prt.CFrame=cframe
  2989. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2990. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2991. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2992. game:GetService("Debris"):AddItem(prt,5)
  2993. coroutine.resume(coroutine.create(function(Part,Mesh)
  2994. local rtype = rottype
  2995. for i=0,1,delay do
  2996. swait()
  2997. if rtype == 1 then
  2998. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2999. elseif rtype == 2 then
  3000. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3001. end
  3002. dec.Transparency=i
  3003. dec2.Transparency=i
  3004. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3005. end
  3006. Part.Parent=nil
  3007. end),prt,msh)
  3008. end
  3009.  
  3010. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  3011. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3012. prt.Anchored=true
  3013. prt.Material = "Neon"
  3014. prt.CFrame=cframe
  3015. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3016. game:GetService("Debris"):AddItem(prt,5)
  3017. coroutine.resume(coroutine.create(function(Part,Mesh)
  3018. local rtype = rottype
  3019. for i=0,1,delay do
  3020. swait()
  3021. if rtype == 1 then
  3022. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3023. elseif rtype == 2 then
  3024. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3025. end
  3026. prt.Transparency=i
  3027. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3028. end
  3029. Part.Parent=nil
  3030. end),prt,msh)
  3031. end
  3032.  
  3033. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  3034. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3035. prt.Anchored=true
  3036. prt.Material = "Neon"
  3037. prt.CFrame=cframe
  3038. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  3039. game:GetService("Debris"):AddItem(prt,5)
  3040. coroutine.resume(coroutine.create(function(Part,Mesh)
  3041. local rtype = rottype
  3042. for i=0,1,delay do
  3043. swait()
  3044. if rtype == 1 then
  3045. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  3046. elseif rtype == 2 then
  3047. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  3048. end
  3049. prt.Transparency=i
  3050. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  3051. end
  3052. Part.Parent=nil
  3053. end),prt,msh)
  3054. end
  3055.  
  3056. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  3057. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3058. prt.Anchored=true
  3059. prt.Material = "Neon"
  3060. prt.CFrame=cframe
  3061. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3062. game:GetService("Debris"):AddItem(prt,5)
  3063. coroutine.resume(coroutine.create(function(Part,Mesh)
  3064. local rtype = rottype
  3065. for i=0,1,delay do
  3066. swait()
  3067. if rtype == 1 then
  3068. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3069. elseif rtype == 2 then
  3070. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3071. end
  3072. prt.Transparency=i
  3073. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3074. end
  3075. Part.Parent=nil
  3076. end),prt,msh)
  3077. end
  3078.  
  3079. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3080. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3081. prt.Anchored=true
  3082. prt.Material = "Neon"
  3083. prt.CFrame=cframe
  3084. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3085. game:GetService("Debris"):AddItem(prt,5)
  3086. coroutine.resume(coroutine.create(function(Part,Mesh)
  3087. local rtype = rottype
  3088. for i=0,1,delay do
  3089. swait()
  3090. if rtype == 1 then
  3091. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3092. elseif rtype == 2 then
  3093. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3094. end
  3095. prt.Transparency=i
  3096. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3097. end
  3098. Part.Parent=nil
  3099. end),prt,msh)
  3100. end
  3101.  
  3102. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3103. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3104. prt.Anchored=false
  3105. prt.CFrame=cframe
  3106. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3107. local wld=weld(prt,prt,Parent,cframe)
  3108. game:GetService("Debris"):AddItem(prt,5)
  3109. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3110. for i=0,1,delay do
  3111. wait()
  3112. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3113. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3114. Part.Transparency=i
  3115. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3116. end
  3117. Part.Parent=nil
  3118. end),prt,msh,wld)
  3119. end
  3120.  
  3121. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3122. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3123. prt.Anchored=false
  3124. prt.CFrame=cframe
  3125. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3126. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3127. game:GetService("Debris"):AddItem(prt,5)
  3128. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3129. for i=0,1,delay do
  3130. wait()
  3131. Weld.C0=euler(i*20,0,0)
  3132. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3133. Part.Transparency=i
  3134. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3135. end
  3136. Part.Parent=nil
  3137. end),prt,msh,wld)
  3138. end
  3139.  
  3140. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3141. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3142. prt.Anchored=true
  3143. prt.CFrame=cframe
  3144. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3145. game:GetService("Debris"):AddItem(prt,2)
  3146. coroutine.resume(coroutine.create(function(Part,Mesh)
  3147. for i=0,1,delay do
  3148. wait()
  3149. Part.CFrame=Part.CFrame
  3150. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3151. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3152. prt2.Anchored=true
  3153. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3154. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3155. game:GetService("Debris"):AddItem(prt2,2)
  3156. coroutine.resume(coroutine.create(function(Part,Mesh)
  3157. for i=0,1,0.1 do
  3158. wait()
  3159. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3160. end
  3161. Part.Parent=nil
  3162. end),prt2,msh2)
  3163. end
  3164. for i=0,1,delay*2 do
  3165. wait()
  3166. Part.CFrame=Part.CFrame
  3167. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3168. end
  3169. Part.Parent=nil
  3170. end),prt,msh)
  3171. end
  3172.  
  3173. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3174. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3175. prt.Anchored=true
  3176. prt.CFrame=cframe
  3177. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3178. game:GetService("Debris"):AddItem(prt,2)
  3179. coroutine.resume(coroutine.create(function(Part,Mesh)
  3180. for i=0,1,delay do
  3181. wait()
  3182. Part.CFrame=Part.CFrame
  3183. Part.Transparency=i
  3184. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3185. end
  3186. Part.Parent=nil
  3187. end),prt,msh)
  3188. end
  3189.  
  3190. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3191. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3192. prt.Anchored=true
  3193. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3194. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3195. game:GetService("Debris"):AddItem(prt,2)
  3196. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3197. CF=Part.CFrame
  3198. Numbb=0
  3199. randnumb=math.random()/10
  3200. rand1=math.random()/10
  3201. for i=0,1,rand1 do
  3202. wait()
  3203. CF=CF*cf(0,math.random()/2,0)
  3204. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3205. Part.CFrame=CF*euler(Numbb,0,0)
  3206. Part.Transparency=i
  3207. Numbb=Numbb+randnumb
  3208. end
  3209. Part.Parent=nil
  3210. end),prt,CF,Numbb,randnumb)
  3211. end
  3212.  
  3213. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3214. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3215. prt.Anchored=true
  3216. prt.CFrame=cframe
  3217. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3218. game:GetService("Debris"):AddItem(prt,5)
  3219. coroutine.resume(coroutine.create(function(Part,Mesh)
  3220. for i=0,1,delay do
  3221. wait()
  3222. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3223. Part.Transparency=i
  3224. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3225. end
  3226. Part.Parent=nil
  3227. end),prt,msh)
  3228. end
  3229.  
  3230. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3231. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3232. prt.Anchored=true
  3233. prt.CFrame=cframe
  3234. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3235. game:GetService("Debris"):AddItem(prt,2)
  3236. coroutine.resume(coroutine.create(function(Part,Mesh)
  3237. for i=0,1,delay do
  3238. wait()
  3239. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3240. Part.Transparency=i
  3241. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3242. end
  3243. Part.Parent=nil
  3244. end),prt,msh)
  3245. end
  3246.  
  3247. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3248. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3249. prt.Anchored=true
  3250. prt.CFrame=cframe*cf(x,y,z)
  3251. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3252. game:GetService("Debris"):AddItem(prt,5)
  3253. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3254. local num=math.random()
  3255. local num2=math.random(-3,2)+math.random()
  3256. local numm=0
  3257. for i=0,1,delay*2 do
  3258. swait()
  3259. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3260. Part.Transparency=i
  3261. numm=numm+0.01
  3262. end
  3263. Part.Parent=nil
  3264. Mesh.Parent=nil
  3265. end),prt,msh,x,y,z)
  3266. end
  3267.  
  3268. function dmgstart(dmg,what)
  3269. hitcon = what.Touched:connect(function(hit)
  3270. local hum = hit.Parent:FindFirstChild("Humanoid")
  3271. if hum and not hum:IsDescendantOf(Character) then
  3272. hum:TakeDamage(dmg)
  3273. end
  3274. end)
  3275. end
  3276.  
  3277. function dmgstop()
  3278. hitcon:disconnect()
  3279. end
  3280.  
  3281. function Cloak()
  3282. Face.Parent=nil
  3283. cloaked=true
  3284. for _,v in pairs(Torso.Parent:children()) do
  3285. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3286. coroutine.resume(coroutine.create(function()
  3287. for i=0,1,0.2 do
  3288. wait()
  3289. v.Transparency=i
  3290. end
  3291. v.Transparency=1
  3292. end))
  3293. end
  3294. if v.className=="Hat" then
  3295. hatp=v.Handle
  3296. coroutine.resume(coroutine.create(function(derp)
  3297. for i=0,1,0.2 do
  3298. wait()
  3299. derp.Transparency=i
  3300. end
  3301. derp.Transparency=1
  3302. end),hatp)
  3303. end
  3304. end
  3305. for _,v in pairs(m:children()) do
  3306. if v.className=="Part" then
  3307. coroutine.resume(coroutine.create(function()
  3308. for i=0,1,0.2 do
  3309. wait()
  3310. v.Transparency=i
  3311. end
  3312. v.Transparency=1
  3313. end))
  3314. end
  3315. end
  3316. end
  3317.  
  3318. function UnCloak()
  3319. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  3320. Face.Parent=Head
  3321. cloaked=false
  3322. for _,v in pairs(Torso.Parent:children()) do
  3323. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3324. coroutine.resume(coroutine.create(function()
  3325. for i=0,1,0.1 do
  3326. wait()
  3327. v.Transparency=v.Transparency-0.1
  3328. end
  3329. v.Transparency=0
  3330. end))
  3331. end
  3332. if v.className=="Hat" then
  3333. hatp=v.Handle
  3334. coroutine.resume(coroutine.create(function(derp)
  3335. for i=0,1,0.1 do
  3336. wait()
  3337. derp.Transparency=derp.Transparency-0.1
  3338. end
  3339. derp.Transparency=0
  3340. end),hatp)
  3341. end
  3342. end
  3343. for _,v in pairs(m:children()) do
  3344. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  3345. coroutine.resume(coroutine.create(function()
  3346. for i=0,1,0.1 do
  3347. wait()
  3348. v.Transparency=v.Transparency-0.1
  3349. end
  3350. v.Transparency=0
  3351. end))
  3352. v.Transparency=0
  3353. end
  3354. end
  3355. end
  3356.  
  3357. local origcolor = BrickColor.new("Pastel light blue")
  3358. ---- This section of explosions.
  3359.  
  3360. ----
  3361.  
  3362.  
  3363. function ring(type,pos,scale,value)
  3364. local type = type
  3365. local rng = Instance.new("Part", char)
  3366. rng.Anchored = true
  3367. rng.BrickColor = origcolor
  3368. rng.CanCollide = false
  3369. rng.FormFactor = 3
  3370. rng.Name = "Ring"
  3371. rng.Size = Vector3.new(1, 1, 1)
  3372. rng.Transparency = 0
  3373. rng.TopSurface = 0
  3374. rng.BottomSurface = 0
  3375. rng.CFrame = pos
  3376. local rngm = Instance.new("SpecialMesh", rng)
  3377. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3378. rngm.Scale = scale
  3379. local scaler2 = 1
  3380. if type == "Add" then
  3381. scaler2 = 1*value
  3382. elseif type == "Divide" then
  3383. scaler2 = 1/value
  3384. end
  3385. coroutine.resume(coroutine.create(function()
  3386. for i = 0,10,0.1 do
  3387. swait()
  3388. if type == "Add" then
  3389. scaler2 = scaler2 - 0.01*value
  3390. elseif type == "Divide" then
  3391. scaler2 = scaler2 - 0.01/value
  3392. end
  3393. rng.Transparency = rng.Transparency + 0.01
  3394. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3395. end
  3396. rng:Destroy()
  3397. end))
  3398. end
  3399.  
  3400.  
  3401. function wave(type,pos,scale,value)
  3402. local type = type
  3403. local rng = Instance.new("Part", char)
  3404. rng.Anchored = true
  3405. rng.BrickColor = origcolor
  3406. rng.CanCollide = false
  3407. rng.FormFactor = 3
  3408. rng.Name = "Ring"
  3409. rng.Size = Vector3.new(1, 1, 1)
  3410. rng.Transparency = 0
  3411. rng.TopSurface = 0
  3412. rng.BottomSurface = 0
  3413. rng.CFrame = pos
  3414. local rngm = Instance.new("SpecialMesh", rng)
  3415. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3416. rngm.Scale = scale
  3417. local scaler2 = 1
  3418. if type == "Add" then
  3419. scaler2 = 1*value
  3420. elseif type == "Divide" then
  3421. scaler2 = 1/value
  3422. end
  3423. coroutine.resume(coroutine.create(function()
  3424. for i = 0,10,0.1 do
  3425. swait()
  3426. if type == "Add" then
  3427. scaler2 = scaler2 - 0.01*value
  3428. elseif type == "Divide" then
  3429. scaler2 = scaler2 - 0.01/value
  3430. end
  3431. rng.Transparency = rng.Transparency + 0.01
  3432. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3433. end
  3434. rng:Destroy()
  3435. end))
  3436. end
  3437.  
  3438. function wind(type,pos,scale,value,speed)
  3439. local type = type
  3440. local rng = Instance.new("Part", char)
  3441. rng.Anchored = true
  3442. rng.BrickColor = origcolor
  3443. rng.CanCollide = false
  3444. rng.FormFactor = 3
  3445. rng.Name = "Ring"
  3446. rng.Size = Vector3.new(1, 1, 1)
  3447. rng.Transparency = 0
  3448. rng.TopSurface = 0
  3449. rng.BottomSurface = 0
  3450. rng.CFrame = pos
  3451. local rngm = Instance.new("SpecialMesh", rng)
  3452. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3453. rngm.Scale = scale
  3454. local scaler2 = 1
  3455. if type == "Add" then
  3456. scaler2 = 1*value
  3457. elseif type == "Divide" then
  3458. scaler2 = 1/value
  3459. end
  3460. coroutine.resume(coroutine.create(function()
  3461. for i = 0,10,0.1 do
  3462. swait()
  3463. if type == "Add" then
  3464. scaler2 = scaler2 - 0.01*value
  3465. elseif type == "Divide" then
  3466. scaler2 = scaler2 - 0.01/value
  3467. end
  3468. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3469. rng.Transparency = rng.Transparency + 0.01
  3470. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3471. end
  3472. rng:Destroy()
  3473. end))
  3474. end
  3475.  
  3476. function groundwind(type,pos,scale,value,speed)
  3477. local type = type
  3478. local rng = Instance.new("Part", char)
  3479. rng.Anchored = true
  3480. rng.BrickColor = origcolor
  3481. rng.CanCollide = false
  3482. rng.FormFactor = 3
  3483. rng.Name = "Ring"
  3484. rng.Size = Vector3.new(1, 1, 1)
  3485. rng.Transparency = 0
  3486. rng.TopSurface = 0
  3487. rng.BottomSurface = 0
  3488. rng.CFrame = pos
  3489. local rngm = Instance.new("SpecialMesh", rng)
  3490. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3491. rngm.Scale = scale
  3492. local scaler2 = 1
  3493. if type == "Add" then
  3494. scaler2 = 1*value
  3495. elseif type == "Divide" then
  3496. scaler2 = 1/value
  3497. end
  3498. coroutine.resume(coroutine.create(function()
  3499. for i = 0,10,0.1 do
  3500. swait()
  3501. if type == "Add" then
  3502. scaler2 = scaler2 - 0.01*value
  3503. elseif type == "Divide" then
  3504. scaler2 = scaler2 - 0.01/value
  3505. end
  3506. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3507. rng.Transparency = rng.Transparency + 0.01
  3508. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3509. end
  3510. rng:Destroy()
  3511. end))
  3512. end
  3513.  
  3514. function CameraManager()
  3515. if TwoD and not CamInterrupt then
  3516. if Humanoid.Health > 0 then
  3517. Camera.CameraSubject = Humanoid
  3518. Camera.CameraType = "Scriptable"
  3519. Humanoid.AutoRotate = false
  3520. if Booleans.GyroUse then
  3521. Directer.MaxTorque = Vec3(0, huge, 0)
  3522. else
  3523. Directer.MaxTorque = Vec3(0, 0, 0)
  3524. end
  3525. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3526. if Booleans.CamFollow then
  3527. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3528. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3529. else
  3530. CPart.Position = RootPart.Position
  3531. end
  3532. else
  3533. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3534. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3535. end
  3536. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3537. else
  3538. Camera.CameraSubject = Humanoid
  3539. Camera.CameraType = "Custom"
  3540. Controller.Disabled = false
  3541. end
  3542. end
  3543. end
  3544.  
  3545. function ring(type,pos,scale,value)
  3546. local type = type
  3547. local rng = Instance.new("Part", char)
  3548. rng.Anchored = true
  3549. rng.BrickColor = origcolor
  3550. rng.CanCollide = false
  3551. rng.FormFactor = 3
  3552. rng.Name = "Ring"
  3553. rng.Size = Vector3.new(1, 1, 1)
  3554. rng.Transparency = 0
  3555. rng.TopSurface = 0
  3556. rng.BottomSurface = 0
  3557. rng.CFrame = pos
  3558. local rngm = Instance.new("SpecialMesh", rng)
  3559. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3560. rngm.Scale = scale
  3561. local scaler2 = 1
  3562. if type == "Add" then
  3563. scaler2 = 1*value
  3564. elseif type == "Divide" then
  3565. scaler2 = 1/value
  3566. end
  3567. coroutine.resume(coroutine.create(function()
  3568. for i = 0,10,0.1 do
  3569. swait()
  3570. if type == "Add" then
  3571. scaler2 = scaler2 - 0.01*value
  3572. elseif type == "Divide" then
  3573. scaler2 = scaler2 - 0.01/value
  3574. end
  3575. rng.Transparency = rng.Transparency + 0.01
  3576. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3577. end
  3578. rng:Destroy()
  3579. end))
  3580. end
  3581.  
  3582.  
  3583. function wave(type,pos,scale,value)
  3584. local type = type
  3585. local rng = Instance.new("Part", char)
  3586. rng.Anchored = true
  3587. rng.BrickColor = origcolor
  3588. rng.CanCollide = false
  3589. rng.FormFactor = 3
  3590. rng.Name = "Ring"
  3591. rng.Size = Vector3.new(1, 1, 1)
  3592. rng.Transparency = 0
  3593. rng.TopSurface = 0
  3594. rng.BottomSurface = 0
  3595. rng.CFrame = pos
  3596. local rngm = Instance.new("SpecialMesh", rng)
  3597. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3598. rngm.Scale = scale
  3599. local scaler2 = 1
  3600. if type == "Add" then
  3601. scaler2 = 1*value
  3602. elseif type == "Divide" then
  3603. scaler2 = 1/value
  3604. end
  3605. coroutine.resume(coroutine.create(function()
  3606. for i = 0,10,0.1 do
  3607. swait()
  3608. if type == "Add" then
  3609. scaler2 = scaler2 - 0.01*value
  3610. elseif type == "Divide" then
  3611. scaler2 = scaler2 - 0.01/value
  3612. end
  3613. rng.Transparency = rng.Transparency + 0.01
  3614. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3615. end
  3616. rng:Destroy()
  3617. end))
  3618. end
  3619.  
  3620.  
  3621. function sphere(bonuspeed,type,pos,scale,value,color)
  3622. local type = type
  3623. local rng = Instance.new("Part", char)
  3624. rng.Anchored = true
  3625. if ModeOfGlitch ~= 9 then
  3626. rng.BrickColor = color
  3627. elseif ModeOfGlitch == 9 then
  3628. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3629. end
  3630. rng.CanCollide = false
  3631. rng.FormFactor = 3
  3632. rng.Name = "Ring"
  3633. rng.Material = "Neon"
  3634. rng.Size = Vector3.new(1, 1, 1)
  3635. rng.Transparency = 0
  3636. rng.TopSurface = 0
  3637. rng.BottomSurface = 0
  3638. rng.CFrame = pos
  3639. local rngm = Instance.new("SpecialMesh", rng)
  3640. rngm.MeshType = "Sphere"
  3641. rngm.Scale = scale
  3642. if rainbowmode == true then
  3643. rng.Color = Color3.new(r/255,g/255,b/255)
  3644. end
  3645. if ModeOfGlitch == 9 then
  3646. coroutine.resume(coroutine.create(function()
  3647. while true do
  3648. swait()
  3649. if rng.Parent ~= nil then
  3650. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3651. else
  3652. break
  3653. end
  3654. end
  3655. end))
  3656. end
  3657. local scaler2 = 1
  3658. if type == "Add" then
  3659. scaler2 = 1*value
  3660. elseif type == "Divide" then
  3661. scaler2 = 1/value
  3662. end
  3663. coroutine.resume(coroutine.create(function()
  3664. for i = 0,10/bonuspeed,0.1 do
  3665. swait()
  3666. if rainbowmode == true then
  3667. rng.Color = Color3.new(r/255,g/255,b/255)
  3668. end
  3669. if type == "Add" then
  3670. scaler2 = scaler2 - 0.01*value/bonuspeed
  3671. elseif type == "Divide" then
  3672. scaler2 = scaler2 - 0.01/value*bonuspeed
  3673. end
  3674. if chaosmode == true then
  3675. rng.BrickColor = BrickColor.random()
  3676. end
  3677. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3678. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3679. end
  3680. rng:Destroy()
  3681. end))
  3682. end
  3683.  
  3684. function sphere3(bonuspeed,type,pos,scale,value,color)
  3685. local type = type
  3686. local rng = Instance.new("Part", char)
  3687. rng.Anchored = true
  3688. if ModeOfGlitch ~= 9 then
  3689. rng.BrickColor = color
  3690. elseif ModeOfGlitch == 9 then
  3691. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3692. end
  3693. rng.CanCollide = true
  3694. rng.FormFactor = 3
  3695. rng.Name = "Ring"
  3696. rng.Material = "Neon"
  3697. rng.Size = Vector3.new(21, 21, 21)
  3698. rng.Transparency = 0
  3699. rng.TopSurface = 0
  3700. rng.BottomSurface = 0
  3701. rng.CFrame = pos
  3702. local rngm = Instance.new("SpecialMesh", rng)
  3703. rngm.MeshType = "Sphere"
  3704. rngm.Scale = scale
  3705. if rainbowmode == true then
  3706. rng.Color = Color3.new(r/255,g/255,b/255)
  3707. end
  3708. if ModeOfGlitch == 9 then
  3709. coroutine.resume(coroutine.create(function()
  3710. while true do
  3711. swait()
  3712. if rng.Parent ~= nil then
  3713. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3714. else
  3715. break
  3716. end
  3717. end
  3718. end))
  3719. end
  3720. local scaler2 = 1
  3721. if type == "Add" then
  3722. scaler2 = 1*value
  3723. elseif type == "Divide" then
  3724. scaler2 = 1/value
  3725. end
  3726. coroutine.resume(coroutine.create(function()
  3727. for i = 0,10/bonuspeed,0.1 do
  3728. swait()
  3729. if rainbowmode == true then
  3730. rng.Color = Color3.new(r/255,g/255,b/255)
  3731. end
  3732. if type == "Add" then
  3733. scaler2 = scaler2 - 0.01*value/bonuspeed
  3734. elseif type == "Divide" then
  3735. scaler2 = scaler2 - 0.01/value*bonuspeed
  3736. end
  3737. if chaosmode == true then
  3738. rng.BrickColor = BrickColor.random()
  3739. end
  3740. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3741. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3742. end
  3743. rng:Destroy()
  3744. end))
  3745. end
  3746.  
  3747. function sphere4(bonuspeed,type,pos,scale,value,color)
  3748. local type = type
  3749. local rng = Instance.new("Part", char)
  3750. rng.Anchored = true
  3751. if ModeOfGlitch ~= 9 then
  3752. rng.BrickColor = color
  3753. elseif ModeOfGlitch == 9 then
  3754. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3755. end
  3756. rng.CanCollide = true
  3757. rng.FormFactor = 3
  3758. rng.Name = "Ring"
  3759. rng.Material = "Neon"
  3760. rng.Size = Vector3.new(300, 300, 300)
  3761. rng.Transparency = 0
  3762. rng.TopSurface = 0
  3763. rng.BottomSurface = 0
  3764. rng.CFrame = pos
  3765. local rngm = Instance.new("SpecialMesh", rng)
  3766. rngm.MeshType = "Sphere"
  3767. rngm.Scale = scale
  3768. if rainbowmode == true then
  3769. rng.Color = Color3.new(r/255,g/255,b/255)
  3770. end
  3771. if ModeOfGlitch == 9 then
  3772. coroutine.resume(coroutine.create(function()
  3773. while true do
  3774. swait()
  3775. if rng.Parent ~= nil then
  3776. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3777. else
  3778. break
  3779. end
  3780. end
  3781. end))
  3782. end
  3783. local scaler2 = 1
  3784. if type == "Add" then
  3785. scaler2 = 1*value
  3786. elseif type == "Divide" then
  3787. scaler2 = 1/value
  3788. end
  3789. coroutine.resume(coroutine.create(function()
  3790. for i = 0,10/bonuspeed,0.1 do
  3791. swait()
  3792. if rainbowmode == true then
  3793. rng.Color = Color3.new(r/255,g/255,b/255)
  3794. end
  3795. if type == "Add" then
  3796. scaler2 = scaler2 - 0.01*value/bonuspeed
  3797. elseif type == "Divide" then
  3798. scaler2 = scaler2 - 0.01/value*bonuspeed
  3799. end
  3800. if chaosmode == true then
  3801. rng.BrickColor = BrickColor.random()
  3802. end
  3803. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3804. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3805. end
  3806. rng:Destroy()
  3807. end))
  3808. end
  3809.  
  3810.  
  3811. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3812. local type = type
  3813. local rng = Instance.new("Part", char)
  3814. rng.Anchored = true
  3815. if ModeOfGlitch ~= 9 then
  3816. rng.BrickColor = color
  3817. elseif ModeOfGlitch == 9 then
  3818. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3819. end
  3820. rng.CanCollide = false
  3821. rng.FormFactor = 3
  3822. rng.Name = "Ring"
  3823. rng.Material = "Neon"
  3824. rng.Size = Vector3.new(1, 1, 1)
  3825. rng.Transparency = 0
  3826. rng.TopSurface = 0
  3827. rng.BottomSurface = 0
  3828. rng.CFrame = pos
  3829. local rngm = Instance.new("SpecialMesh", rng)
  3830. rngm.MeshType = "Sphere"
  3831. rngm.Scale = scale
  3832. local scaler2 = 1
  3833. local scaler2b = 1
  3834. local scaler2c = 1
  3835. if type == "Add" then
  3836. scaler2 = 1*value
  3837. scaler2b = 1*value2
  3838. scaler2c = 1*value3
  3839. elseif type == "Divide" then
  3840. scaler2 = 1/value
  3841. scaler2b = 1/value2
  3842. scaler2c = 1/value3
  3843. end
  3844. if ModeOfGlitch == 9 then
  3845. coroutine.resume(coroutine.create(function()
  3846. while true do
  3847. swait()
  3848. if rng.Parent ~= nil then
  3849. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3850. else
  3851. break
  3852. end
  3853. end
  3854. end))
  3855. end
  3856. coroutine.resume(coroutine.create(function()
  3857. for i = 0,10/bonuspeed,0.1 do
  3858. swait()
  3859. if type == "Add" then
  3860. scaler2 = scaler2 - 0.01*value/bonuspeed
  3861. scaler2b = scaler2b - 0.01*value/bonuspeed
  3862. scaler2c = scaler2c - 0.01*value/bonuspeed
  3863. elseif type == "Divide" then
  3864. scaler2 = scaler2 - 0.01/value*bonuspeed
  3865. scaler2b = scaler2b - 0.01/value*bonuspeed
  3866. scaler2c = scaler2c - 0.01/value*bonuspeed
  3867. end
  3868. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3869. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3870. end
  3871. rng:Destroy()
  3872. end))
  3873. end
  3874.  
  3875. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3876. local type = type
  3877. local rotenable = rotatingop
  3878. local rng = Instance.new("Part", char)
  3879. rng.Anchored = true
  3880. rng.BrickColor = color
  3881. rng.CanCollide = false
  3882. rng.FormFactor = 3
  3883. rng.Name = "Ring"
  3884. rng.Material = "Neon"
  3885. rng.Size = Vector3.new(1, 1, 1)
  3886. rng.Transparency = 0
  3887. if typeoftrans == "In" then
  3888. rng.Transparency = 1
  3889. end
  3890. rng.TopSurface = 0
  3891. rng.BottomSurface = 0
  3892. rng.CFrame = pos
  3893. local rngm = Instance.new("SpecialMesh", rng)
  3894. rngm.MeshType = "FileMesh"
  3895. if typeofshape == "Normal" then
  3896. rngm.MeshId = "rbxassetid://662586858"
  3897. elseif typeofshape == "Round" then
  3898. rngm.MeshId = "rbxassetid://662585058"
  3899. end
  3900. rngm.Scale = scale
  3901. local scaler2 = 1/10
  3902. if type == "Add" then
  3903. scaler2 = 1*value/10
  3904. elseif type == "Divide" then
  3905. scaler2 = 1/value/10
  3906. end
  3907. local randomrot = math.random(1,2)
  3908. coroutine.resume(coroutine.create(function()
  3909. for i = 0,10/bonuspeed,0.1 do
  3910. swait()
  3911. if type == "Add" then
  3912. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3913. elseif type == "Divide" then
  3914. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3915. end
  3916. if rotenable == true then
  3917. if randomrot == 1 then
  3918. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3919. elseif randomrot == 2 then
  3920. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3921. end
  3922. end
  3923. if typeoftrans == "Out" then
  3924. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3925. elseif typeoftrans == "In" then
  3926. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3927. end
  3928. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3929. end
  3930. rng:Destroy()
  3931. end))
  3932. end
  3933.  
  3934. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3935. local type = type
  3936. local rng = Instance.new("Part", char)
  3937. rng.Anchored = true
  3938. rng.BrickColor = color
  3939. rng.CanCollide = false
  3940. rng.FormFactor = 3
  3941. rng.Name = "Ring"
  3942. rng.Material = "Neon"
  3943. rng.Size = Vector3.new(1, 1, 1)
  3944. rng.Transparency = 0
  3945. rng.TopSurface = 0
  3946. rng.BottomSurface = 0
  3947. rng.CFrame = pos
  3948. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3949. local rngm = Instance.new("SpecialMesh", rng)
  3950. rngm.MeshType = "Brick"
  3951. rngm.Scale = vt(x1,y1,z1)
  3952. if rainbowmode == true then
  3953. rng.Color = Color3.new(r/255,g/255,b/255)
  3954. end
  3955. local scaler2 = 1
  3956. local speeder = FastSpeed/10
  3957. if type == "Add" then
  3958. scaler2 = 1*value
  3959. elseif type == "Divide" then
  3960. scaler2 = 1/value
  3961. end
  3962. coroutine.resume(coroutine.create(function()
  3963. for i = 0,10/bonuspeed,0.1 do
  3964. swait()
  3965. if rainbowmode == true then
  3966. rng.Color = Color3.new(r/255,g/255,b/255)
  3967. end
  3968. if type == "Add" then
  3969. scaler2 = scaler2 - 0.01*value/bonuspeed
  3970. elseif type == "Divide" then
  3971. scaler2 = scaler2 - 0.01/value*bonuspeed
  3972. end
  3973. if chaosmode == true then
  3974. rng.BrickColor = BrickColor.random()
  3975. end
  3976. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3977. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3978. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3979. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3980. end
  3981. rng:Destroy()
  3982. end))
  3983. end
  3984.  
  3985. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3986. local type = type
  3987. local rng = Instance.new("Part", char)
  3988. rng.Anchored = true
  3989. rng.BrickColor = color
  3990. rng.CanCollide = false
  3991. rng.FormFactor = 3
  3992. rng.Name = "Ring"
  3993. rng.Material = "Neon"
  3994. rng.Size = Vector3.new(1, 1, 1)
  3995. rng.Transparency = 0
  3996. rng.TopSurface = 0
  3997. rng.BottomSurface = 0
  3998. rng.CFrame = pos
  3999. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4000. local rngm = Instance.new("SpecialMesh", rng)
  4001. rngm.MeshType = "Brick"
  4002. rngm.Scale = vt(x1,y1,z1)
  4003. if rainbowmode == true then
  4004. rng.Color = Color3.new(r/255,g/255,b/255)
  4005. end
  4006. local scaler2 = 1
  4007. local speeder = FastSpeed/10
  4008. if type == "Add" then
  4009. scaler2 = 1*value
  4010. elseif type == "Divide" then
  4011. scaler2 = 1/value
  4012. end
  4013. coroutine.resume(coroutine.create(function()
  4014. for i = 0,10/bonuspeed,0.1 do
  4015. swait()
  4016. if rainbowmode == true then
  4017. rng.Color = Color3.new(r/255,g/255,b/255)
  4018. end
  4019. if type == "Add" then
  4020. scaler2 = scaler2 - 0.01*value/bonuspeed
  4021. elseif type == "Divide" then
  4022. scaler2 = scaler2 - 0.01/value*bonuspeed
  4023. end
  4024. if chaosmode == true then
  4025. rng.BrickColor = BrickColor.random()
  4026. end
  4027. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  4028. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4029. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4030. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4031. end
  4032. rng:Destroy()
  4033. end))
  4034. end
  4035.  
  4036. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4037. local type = type
  4038. local rng = Instance.new("Part", char)
  4039. rng.Anchored = true
  4040. rng.BrickColor = color
  4041. rng.CanCollide = false
  4042. rng.FormFactor = 3
  4043. rng.Name = "Ring"
  4044. rng.Material = "Neon"
  4045. rng.Size = Vector3.new(1, 1, 1)
  4046. rng.Transparency = 0
  4047. rng.TopSurface = 0
  4048. rng.BottomSurface = 0
  4049. rng.CFrame = pos
  4050. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4051. local rngm = Instance.new("SpecialMesh", rng)
  4052. rngm.MeshType = "Brick"
  4053. rngm.Scale = vt(x1,y1,z1)
  4054. if rainbowmode == true then
  4055. rng.Color = Color3.new(r/255,g/255,b/255)
  4056. end
  4057. local scaler2 = 0
  4058. local speeder = FastSpeed/10
  4059. if type == "Add" then
  4060. scaler2 = 1*value
  4061. elseif type == "Divide" then
  4062. scaler2 = 1/value
  4063. end
  4064. coroutine.resume(coroutine.create(function()
  4065. for i = 0,10/bonuspeed,0.1 do
  4066. swait()
  4067. if rainbowmode == true then
  4068. rng.Color = Color3.new(r/255,g/255,b/255)
  4069. end
  4070. if type == "Add" then
  4071. scaler2 = scaler2 - 0.01*value/bonuspeed
  4072. elseif type == "Divide" then
  4073. scaler2 = scaler2 - 0.01/value*bonuspeed
  4074. end
  4075. if chaosmode == true then
  4076. rng.BrickColor = BrickColor.random()
  4077. end
  4078. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  4079. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4080. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4081. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4082. end
  4083. rng:Destroy()
  4084. end))
  4085. end
  4086.  
  4087.  
  4088.  
  4089. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  4090. local type = type
  4091. local rng = Instance.new("Part", char)
  4092. rng.Anchored = true
  4093. rng.BrickColor = color
  4094. rng.Color = color3
  4095. rng.CanCollide = false
  4096. rng.FormFactor = 3
  4097. rng.Name = "Ring"
  4098. rng.Material = "Neon"
  4099. rng.Size = Vector3.new(1, 1, 1)
  4100. rng.Transparency = 0
  4101. rng.TopSurface = 0
  4102. rng.BottomSurface = 0
  4103. rng.CFrame = pos
  4104. local rngm = Instance.new("SpecialMesh", rng)
  4105. rngm.MeshType = "Brick"
  4106. rngm.Scale = scale
  4107. local scaler2 = 1
  4108. local scaler2b = 1
  4109. local scaler2c = 1
  4110. if type == "Add" then
  4111. scaler2 = 1*value
  4112. scaler2b = 1*value2
  4113. scaler2c = 1*value3
  4114. elseif type == "Divide" then
  4115. scaler2 = 1/value
  4116. scaler2b = 1/value2
  4117. scaler2c = 1/value3
  4118. end
  4119. coroutine.resume(coroutine.create(function()
  4120. for i = 0,10/bonuspeed,0.1 do
  4121. swait()
  4122. if type == "Add" then
  4123. scaler2 = scaler2 - 0.01*value/bonuspeed
  4124. scaler2b = scaler2b - 0.01*value/bonuspeed
  4125. scaler2c = scaler2c - 0.01*value/bonuspeed
  4126. elseif type == "Divide" then
  4127. scaler2 = scaler2 - 0.01/value*bonuspeed
  4128. scaler2b = scaler2b - 0.01/value*bonuspeed
  4129. scaler2c = scaler2c - 0.01/value*bonuspeed
  4130. end
  4131. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4132. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4133. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  4134. end
  4135. rng:Destroy()
  4136. end))
  4137. end
  4138.  
  4139. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4140. local type = type
  4141. local rng = Instance.new("Part", char)
  4142. rng.Anchored = true
  4143. if ModeOfGlitch ~= 9 then
  4144. rng.BrickColor = color
  4145. elseif ModeOfGlitch == 9 then
  4146. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4147. end
  4148. rng.CanCollide = false
  4149. rng.FormFactor = 3
  4150. rng.Name = "Ring"
  4151. rng.Material = "Neon"
  4152. rng.Size = Vector3.new(1, 1, 1)
  4153. rng.Transparency = 0
  4154. rng.TopSurface = 0
  4155. rng.BottomSurface = 0
  4156. rng.CFrame = pos
  4157. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4158. local rngm = Instance.new("SpecialMesh", rng)
  4159. rngm.MeshType = "Sphere"
  4160. rngm.Scale = vt(x1,y1,z1)
  4161. if rainbowmode == true then
  4162. rng.Color = Color3.new(r/255,g/255,b/255)
  4163. end
  4164. if ModeOfGlitch == 9 then
  4165. coroutine.resume(coroutine.create(function()
  4166. while true do
  4167. swait()
  4168. if rng.Parent ~= nil then
  4169. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4170. else
  4171. break
  4172. end
  4173. end
  4174. end))
  4175. end
  4176. local scaler2 = 1
  4177. local speeder = FastSpeed
  4178. if type == "Add" then
  4179. scaler2 = 1*value
  4180. elseif type == "Divide" then
  4181. scaler2 = 1/value
  4182. end
  4183. coroutine.resume(coroutine.create(function()
  4184. for i = 0,10/bonuspeed,0.1 do
  4185. swait()
  4186. if rainbowmode == true then
  4187. rng.Color = Color3.new(r/255,g/255,b/255)
  4188. end
  4189. if type == "Add" then
  4190. scaler2 = scaler2 - 0.01*value/bonuspeed
  4191. elseif type == "Divide" then
  4192. scaler2 = scaler2 - 0.01/value*bonuspeed
  4193. end
  4194. if chaosmode == true then
  4195. rng.BrickColor = BrickColor.random()
  4196. end
  4197. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4198. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4199. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4200. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4201. end
  4202. rng:Destroy()
  4203. end))
  4204. end
  4205.  
  4206. function sphereMK2(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4207. local type = type
  4208. local rng = Instance.new("Part", char)
  4209. rng.Anchored = true
  4210. if ModeOfGlitch ~= 9 then
  4211. rng.BrickColor = color
  4212. elseif ModeOfGlitch == 9 then
  4213. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4214. end
  4215. rng.CanCollide = false
  4216. rng.FormFactor = 3
  4217. rng.Name = "Ring"
  4218. rng.Material = "Neon"
  4219. rng.Size = Vector3.new(3, 3, 0)
  4220. rng.Transparency = 0
  4221. rng.TopSurface = 0
  4222. rng.BottomSurface = 0
  4223. rng.CFrame = pos
  4224. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4225. local rngm = Instance.new("SpecialMesh", rng)
  4226. rngm.MeshType = "Sphere"
  4227. rngm.Scale = vt(x1,y1,z1)
  4228. if rainbowmode == true then
  4229. rng.Color = Color3.new(r/255,g/255,b/255)
  4230. end
  4231. if ModeOfGlitch == 9 then
  4232. coroutine.resume(coroutine.create(function()
  4233. while true do
  4234. swait()
  4235. if rng.Parent ~= nil then
  4236. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4237. else
  4238. break
  4239. end
  4240. end
  4241. end))
  4242. end
  4243. local scaler2 = 0
  4244. local speeder = 0
  4245. if type == "Add" then
  4246. scaler2 = -10*value
  4247. elseif type == "Divide" then
  4248. scaler2 = -10/value
  4249. end
  4250. coroutine.resume(coroutine.create(function()
  4251. for i = 0,10/bonuspeed,0.1 do
  4252. swait()
  4253. if rainbowmode == true then
  4254. rng.Color = Color3.new(r/255,g/255,b/255)
  4255. end
  4256. if type == "Add" then
  4257. scaler2 = scaler2 - 0.01*value/bonuspeed
  4258. elseif type == "Divide" then
  4259. scaler2 = scaler2 - 0.01/value*bonuspeed
  4260. end
  4261. if chaosmode == true then
  4262. rng.BrickColor = BrickColor.random()
  4263. end
  4264. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4265. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4266. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4267. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4268. end
  4269. rng:Destroy()
  4270. end))
  4271. end
  4272.  
  4273.  
  4274. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4275. local type = type
  4276. local rng = Instance.new("Part", char)
  4277. rng.Anchored = true
  4278. if ModeOfGlitch ~= 9 then
  4279. rng.BrickColor = color
  4280. elseif ModeOfGlitch == 9 then
  4281. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4282. end
  4283. rng.CanCollide = false
  4284. rng.FormFactor = 3
  4285. rng.Name = "Ring"
  4286. rng.Material = "Neon"
  4287. rng.Size = Vector3.new(1, 1, 1)
  4288. rng.Transparency = 1
  4289. rng.TopSurface = 0
  4290. rng.BottomSurface = 0
  4291. rng.CFrame = pos
  4292. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4293. local rngm = Instance.new("SpecialMesh", rng)
  4294. rngm.MeshType = "Sphere"
  4295. rngm.Scale = vt(x1,y1,z1)
  4296. if rainbowmode == true then
  4297. rng.Color = Color3.new(r/255,g/255,b/255)
  4298. end
  4299. if ModeOfGlitch == 9 then
  4300. coroutine.resume(coroutine.create(function()
  4301. while true do
  4302. swait()
  4303. if rng.Parent ~= nil then
  4304. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4305. else
  4306. break
  4307. end
  4308. end
  4309. end))
  4310. end
  4311. local scaler2 = 1
  4312. local speeder = FastSpeed
  4313. if type == "Add" then
  4314. scaler2 = 1*value
  4315. elseif type == "Divide" then
  4316. scaler2 = 1/value
  4317. end
  4318. coroutine.resume(coroutine.create(function()
  4319. for i = 0,10/bonuspeed,0.1 do
  4320. swait()
  4321. if rainbowmode == true then
  4322. rng.Color = Color3.new(r/255,g/255,b/255)
  4323. end
  4324. if type == "Add" then
  4325. scaler2 = scaler2 - 0.01*value/bonuspeed
  4326. elseif type == "Divide" then
  4327. scaler2 = scaler2 - 0.01/value*bonuspeed
  4328. end
  4329. if chaosmode == true then
  4330. rng.BrickColor = BrickColor.random()
  4331. end
  4332. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4333. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4334. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4335. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4336. end
  4337. rng:Destroy()
  4338. end))
  4339. end
  4340.  
  4341. function dmg(dude)
  4342. if dude.Name ~= Character then
  4343. local keptcolor = MAINRUINCOLOR
  4344. local bgf = Instance.new("BodyGyro",dude.Head)
  4345. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  4346. --[[local val = Instance.new("BoolValue",dude)
  4347. val.Name = "IsHit"]]--
  4348. local ds = coroutine.wrap(function()
  4349. dude:WaitForChild("Head"):BreakJoints()
  4350. for i, v in pairs(dude:GetChildren()) do
  4351. if v:IsA("Part") or v:IsA("MeshPart") then
  4352. v.Name = "DEMINISHED"
  4353. end
  4354. end
  4355. wait(0.5)
  4356. targetted = nil
  4357. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  4358. coroutine.resume(coroutine.create(function()
  4359. for i, v in pairs(dude:GetChildren()) do
  4360. if v:IsA("Accessory") then
  4361. v:Destroy()
  4362. end
  4363. if v:IsA("Humanoid") then
  4364. v:Destroy()
  4365. end
  4366. if v:IsA("CharacterMesh") then
  4367. v:Destroy()
  4368. end
  4369. if v:IsA("Model") then
  4370. v:Destroy()
  4371. end
  4372. if v:IsA("Part") or v:IsA("MeshPart") then
  4373. for x, o in pairs(v:GetChildren()) do
  4374. if o:IsA("Decal") then
  4375. o:Destroy()
  4376. end
  4377. end
  4378. coroutine.resume(coroutine.create(function()
  4379. v.Material = "Neon"
  4380. v.CanCollide = false
  4381. v.Anchored = false
  4382. local bld = Instance.new("ParticleEmitter",v)
  4383. bld.LightEmission = 0.75
  4384. bld.Texture = "rbxassetid://363275192" ---284205403
  4385. bld.Color = ColorSequence.new(keptcolor.Color)
  4386. bld.Rate = 500
  4387. bld.Lifetime = NumberRange.new(1)
  4388. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  4389. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4390. bld.Speed = NumberRange.new(2,5)
  4391. bld.VelocitySpread = 50000
  4392. bld.Rotation = NumberRange.new(-500,500)
  4393. bld.RotSpeed = NumberRange.new(-500,500)
  4394. local sbs = Instance.new("BodyPosition", v)
  4395. sbs.P = 3000
  4396. sbs.D = 1000
  4397. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4398. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  4399. v.Color = keptcolor.Color
  4400. coroutine.resume(coroutine.create(function()
  4401. for i = 0, 49 do
  4402. swait(1)
  4403. v:BreakJoints()
  4404. v.Transparency = v.Transparency + 0.02
  4405. end
  4406. v:BreakJoints()
  4407. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  4408. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  4409. bld.Speed = NumberRange.new(10,25)
  4410. bld.Drag = 5
  4411. bld.Acceleration = vt(0,2,0)
  4412. wait(0.5)
  4413. bld.Enabled = false
  4414. wait(8)
  4415. v:Destroy()
  4416. dude:Destroy()
  4417. end))
  4418. end))
  4419. end
  4420. end
  4421. end))
  4422. end)
  4423. ds()
  4424. end
  4425. end
  4426.  
  4427.  
  4428. function FindNearestHead(Position, Distance, SinglePlayer)
  4429. if SinglePlayer then
  4430. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  4431. end
  4432. local List = {}
  4433. for i, v in pairs(workspace:GetChildren()) do
  4434. if v:IsA("Model") then
  4435. if v:findFirstChild("Head") then
  4436. if v ~= Character then
  4437. if (v.Head.Position - Position).magnitude <= Distance then
  4438. table.insert(List, v)
  4439. end
  4440. end
  4441. end
  4442. end
  4443. end
  4444. return List
  4445. end
  4446.  
  4447. function FaceMouse()
  4448. Cam = workspace.CurrentCamera
  4449. return {
  4450. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4451. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4452. }
  4453. end
  4454.  
  4455. function FaceMouse2()
  4456. Cam = workspace.CurrentCamera
  4457. return {
  4458. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4459. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4460. }
  4461. end
  4462.  
  4463. local ModeOfGlitch = 1
  4464. -- Functions are ready.
  4465. local storehumanoidWS = 16
  4466.  
  4467. function createBGCircle(size,parent,color)
  4468. local bgui = Instance.new("BillboardGui",parent)
  4469. bgui.Size = UDim2.new(size, 0, size, 0)
  4470. local imgc = Instance.new("ImageLabel",bgui)
  4471. imgc.BackgroundTransparency = 1
  4472. imgc.ImageTransparency = 0
  4473. imgc.Size = UDim2.new(1,0,1,0)
  4474. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  4475. imgc.ImageColor3 = color
  4476. return bgui,imgc
  4477. end
  4478.  
  4479. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  4480. local bgui,imgc = createBGCircle(size,guipar,color)
  4481. bgui.AlwaysOnTop = true
  4482. imgc.Image = "rbxassetid://" ..img
  4483. local rrot = math.random(1,2)
  4484. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  4485. coroutine.resume(coroutine.create(function()
  4486. for i = 0, 24*delay do
  4487. swait()
  4488. if rotationenabled == true then
  4489. if rrot == 1 then
  4490. imgc.Rotation = imgc.Rotation + rotsp
  4491. elseif rrot == 2 then
  4492. imgc.Rotation = imgc.Rotation - rotsp
  4493. end
  4494. end
  4495. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  4496. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  4497. end
  4498. bgui:Destroy()
  4499. end))
  4500. end
  4501. function RecolorThing2(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  4502. for i, v in pairs(mw2:GetDescendants()) do
  4503. if v:IsA("Part") or v:IsA("UnionOperation") then
  4504. v.Color = one
  4505. v.Material = "Neon"
  4506. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  4507. v.Color = ColorSequence.new(one)
  4508. end
  4509. end
  4510. burstswitch(one,two)
  4511. for i, v in pairs(mw1:GetDescendants()) do
  4512. if v:IsA("Part") or v:IsA("UnionOperation") then
  4513. v.Color = two
  4514. v.Material = "Neon"
  4515. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  4516. v.Color = ColorSequence.new(two)
  4517. end
  4518. end
  4519. end
  4520.  
  4521. stash = Instance.new("Model",workspace)
  4522. function normalmog()
  4523. attack = true
  4524. hum.WalkSpeed = 0
  4525. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  4526. for i = 0,6,0.1 do
  4527. swait()
  4528. 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)
  4529. 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)
  4530. 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)
  4531. 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)
  4532. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4533. 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)
  4534. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4535. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4536. end
  4537. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  4538. CFuncs["Sound"].Create("rbxassetid://153092315", root, 10,1)
  4539. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  4540. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  4541. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  4542. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  4543. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  4544. rainbowmode = false
  4545. chaosmode = false
  4546. ModeOfGlitch = 1
  4547. storehumanoidWS = 16
  4548. newThemeCust("rbxassetid://188400306",0,1,2)
  4549. img666.Image = "rbxassetid://2799035953"
  4550. Special.Text = "Special: None"
  4551. RecolorTextAndRename("asd162430",Color3.new(50,50,50),Color3.new(0,222,222),"Antique")
  4552. CameraEnshaking(5,2.5)
  4553. img666.Image = "rbxassetid://2799035953"
  4554. Special.Text = "Special: None"
  4555. disably = false
  4556. MAINRUINCOLOR = BrickColor.new("Cyan")
  4557. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4558. for i = 0, 49 do
  4559. 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)
  4560. end
  4561. for i = 0, 24 do
  4562. 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)
  4563. 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"))
  4564. end
  4565. for i = 0,3,0.1 do
  4566. 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)
  4567. end
  4568. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  4569. for i = 0,2,0.1 do
  4570. swait()
  4571. 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)
  4572. 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)
  4573. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4574. 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)
  4575. 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)
  4576. 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)
  4577. end
  4578. hum.WalkSpeed = storehumanoidWS
  4579. attack = false
  4580. end
  4581.  
  4582. function attackone()
  4583. attack = true
  4584. local keptcolor = MAINRUINCOLOR
  4585. for i = 0,1,0.1 do
  4586. swait()
  4587. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  4588. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  4589. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  4590. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4591. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  4592. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  4593. end
  4594. local distlook = 5
  4595. coroutine.resume(coroutine.create(function()
  4596. for i = 0, 4 do
  4597. swait(2)
  4598. CameraEnshaking(2,3)
  4599. local hite = Instance.new("Part", char)
  4600. hite.Anchored = true
  4601. hite.CanCollide = false
  4602. hite.FormFactor = 3
  4603. hite.Name = "Ring"
  4604. hite.Material = "Neon"
  4605. hite.Size = Vector3.new(1, 1, 1)
  4606. hite.Transparency = 1
  4607. hite.TopSurface = 0
  4608. hite.BottomSurface = 0
  4609. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  4610. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  4611. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  4612. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  4613. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  4614. MagniDamage(hite, 9, 10,25, 0, "Normal")
  4615. for i = 0, 14 do
  4616. local rsiz = math.random(5,20)
  4617. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  4618. end
  4619. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  4620. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  4621. game:GetService("Debris"):AddItem(hite, 5)
  4622. distlook = distlook + 10
  4623. end
  4624. end))
  4625. for i = 0,1,0.1 do
  4626. swait()
  4627. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  4628. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  4629. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  4630. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  4631. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
  4632. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
  4633. end
  4634. attack = false
  4635. end
  4636.  
  4637. function attacktwo()
  4638. attack = true
  4639. hum.WalkSpeed = 2
  4640. local keptcolor = MAINRUINCOLOR
  4641. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4642. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  4643. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  4644. for i = 0, 14 do
  4645. PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0)
  4646. end
  4647. for i = 0,1,0.1 do
  4648. swait()
  4649. 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)
  4650. 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)
  4651. 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)
  4652. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4653. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  4654. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4655. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4656. end
  4657. for i = 0, 1 do
  4658. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  4659. for i = 0,1,0.6 do
  4660. swait()
  4661. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4662. 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"))
  4663. 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)
  4664. 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)
  4665. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4666. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4667. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4668. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4669. end
  4670. for i = 0,1,0.6 do
  4671. swait()
  4672. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4673. 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"))
  4674. 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)
  4675. 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)
  4676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  4677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4678. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4679. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4680. end
  4681. for i = 0,1,0.6 do
  4682. swait()
  4683. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4684. 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"))
  4685. 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)
  4686. 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)
  4687. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  4688. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4689. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4690. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4691. end
  4692. for i = 0,1,0.6 do
  4693. swait()
  4694. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4695. 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"))
  4696. 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)
  4697. 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)
  4698. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  4699. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4700. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4701. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4702. end
  4703. local rot = 0
  4704. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  4705. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4706. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4707. CreateMesh(dis,"Sphere",10,1,10)
  4708. local at1 = Instance.new("Attachment",dis)
  4709. at1.Position = vt(-5,0,0)
  4710. local at2 = Instance.new("Attachment",dis)
  4711. at2.Position = vt(5,0,0)
  4712. local trl = Instance.new('Trail',wed)
  4713. trl.Attachment0 = at1
  4714. trl.Attachment1 = at2
  4715. trl.Texture = "rbxassetid://1049219073"
  4716. trl.LightEmission = 1
  4717. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4718. trl.Color = ColorSequence.new(dis.Color)
  4719. trl.Lifetime = 0.6
  4720. local a = Instance.new("Part",workspace)
  4721. a.Name = "Direction"
  4722. a.Anchored = true
  4723. a.BrickColor = bc("Bright red")
  4724. a.Material = "Neon"
  4725. a.Transparency = 1
  4726. a.CanCollide = false
  4727. local ray = Ray.new(
  4728. dis.CFrame.p, -- origin
  4729. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4730. )
  4731. local ignore = dis
  4732. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4733. a.BottomSurface = 10
  4734. a.TopSurface = 10
  4735. local distance = (dis.CFrame.p - position).magnitude
  4736. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4737. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4738. dis.CFrame = a.CFrame
  4739. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4740. a:Destroy()
  4741. local bv = Instance.new("BodyVelocity")
  4742. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4743. bv.velocity = dis.CFrame.lookVector*250
  4744. bv.Parent = dis
  4745. game:GetService("Debris"):AddItem(dis, 5)
  4746. local hitted = false
  4747. coroutine.resume(coroutine.create(function()
  4748. dis.Touched:connect(function(hit)
  4749. if hitted == false and hit.Parent ~= char then
  4750. hitted = true
  4751. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4752. MagniDamage(dis, 30, 33,56, 0, "Normal")
  4753. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4754. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4755. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4756. coroutine.resume(coroutine.create(function()
  4757. local eff = Instance.new("ParticleEmitter",dis)
  4758. eff.Texture = "rbxassetid://2344870656"
  4759. eff.LightEmission = 1
  4760. eff.Color = ColorSequence.new(dis.Color)
  4761. eff.Rate = 10000000
  4762. eff.Enabled = true
  4763. eff.EmissionDirection = "Front"
  4764. eff.Lifetime = NumberRange.new(1)
  4765. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4766. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4767. eff.Speed = NumberRange.new(150)
  4768. eff.Drag = 5
  4769. eff.Rotation = NumberRange.new(-500,500)
  4770. eff.SpreadAngle = Vector2.new(0,900)
  4771. eff.RotSpeed = NumberRange.new(-500,500)
  4772. wait(0.2)
  4773. eff.Enabled = false
  4774. end))
  4775. coroutine.resume(coroutine.create(function()
  4776. for i = 0, 9 do
  4777. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4778. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4779. local at1 = Instance.new("Attachment",disr)
  4780. at1.Position = vt(-5,0,0)
  4781. local at2 = Instance.new("Attachment",disr)
  4782. at2.Position = vt(5,0,0)
  4783. local trl = Instance.new('Trail',disr)
  4784. trl.Attachment0 = at1
  4785. trl.FaceCamera = true
  4786. trl.Attachment1 = at2
  4787. trl.Texture = "rbxassetid://2342682798"
  4788. trl.LightEmission = 1
  4789. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4790. trl.Color = ColorSequence.new(keptcolor.Color)
  4791. trl.Lifetime = 0.5
  4792. local bv = Instance.new("BodyVelocity")
  4793. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4794. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4795. bv.Parent = disr
  4796. local val = 0
  4797. coroutine.resume(coroutine.create(function()
  4798. swait(30)
  4799. for i = 0, 9 do
  4800. swait()
  4801. val = val + 0.1
  4802. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4803. end
  4804. game:GetService("Debris"):AddItem(disr, 3)
  4805. end))
  4806. end
  4807. local eff = Instance.new("ParticleEmitter",dis)
  4808. eff.Texture = "rbxassetid://2273224484"
  4809. eff.LightEmission = 1
  4810. eff.Color = ColorSequence.new(keptcolor.Color)
  4811. eff.Rate = 500000
  4812. eff.Lifetime = NumberRange.new(0.5,2)
  4813. 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)})
  4814. 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)})
  4815. eff.Speed = NumberRange.new(20,250)
  4816. eff.Drag = 5
  4817. eff.Rotation = NumberRange.new(-500,500)
  4818. eff.VelocitySpread = 9000
  4819. eff.RotSpeed = NumberRange.new(-50,50)
  4820. wait(0.25)
  4821. eff.Enabled = false
  4822. end))
  4823. for i = 0, 9 do
  4824. 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"))
  4825. end
  4826. for i = 0, 19 do
  4827. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
  4828. end
  4829. coroutine.resume(coroutine.create(function()
  4830. for i = 0, 19 do
  4831. swait()
  4832. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4833. end
  4834. hum.CameraOffset = vt(0,0,0)
  4835. end))
  4836. dis.Anchored = true
  4837. dis.Transparency = 1
  4838. wait(8)
  4839. dis:Destroy()
  4840. end
  4841. end)
  4842. end))
  4843. rot = rot - 15
  4844. end
  4845. for i = 0,2,0.1 do
  4846. swait()
  4847. 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)
  4848. 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)
  4849. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4850. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4851. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4852. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4853. end
  4854. attack = false
  4855. hum.WalkSpeed = storehumanoidWS
  4856. end
  4857.  
  4858. function attackthree()
  4859. local posit = -2
  4860. attack = true
  4861. hum.WalkSpeed = 5
  4862. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  4863. for i = 0,2,0.1 do
  4864. swait()
  4865. sphere2(1,"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)
  4866. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  4867. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  4868. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  4869. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  4870. 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)
  4871. 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)
  4872. end
  4873. for i = 0, 2 do
  4874. CameraEnshaking(1,2)
  4875. local hite = Instance.new("Part", char)
  4876. hite.Anchored = true
  4877. hite.CanCollide = false
  4878. hite.FormFactor = 3
  4879. hite.Name = "Ring"
  4880. hite.Material = "Neon"
  4881. hite.Size = Vector3.new(1, 1, 1)
  4882. hite.Transparency = 1
  4883. hite.TopSurface = 0
  4884. hite.BottomSurface = 0
  4885. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  4886. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  4887. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  4888. coroutine.resume(coroutine.create(function()
  4889. for i = 0, 1 do
  4890. swait()
  4891. 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)
  4892. 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)
  4893. end
  4894. end))
  4895. 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)
  4896. end
  4897. for i = 0,1,0.1 do
  4898. swait()
  4899. 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)
  4900. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  4901. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  4902. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  4903. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  4904. 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)
  4905. 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)
  4906. end
  4907. for i = 0,1,0.1 do
  4908. swait()
  4909. 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(0,0,0),-0,0,0,MAINRUINCOLOR)
  4910. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  4911. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  4912. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  4913. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  4914. 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)
  4915. 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)
  4916. end
  4917. posit = -6
  4918. for i = 0, 6 do
  4919. CameraEnshaking(1,3)
  4920. local hite = Instance.new("Part", char)
  4921. hite.Anchored = true
  4922. hite.CanCollide = false
  4923. hite.FormFactor = 3
  4924. hite.Name = "Ring"
  4925. hite.Material = "Neon"
  4926. hite.Size = Vector3.new(1, 1, 1)
  4927. hite.Transparency = 1
  4928. hite.TopSurface = 0
  4929. hite.BottomSurface = 0
  4930. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  4931. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  4932. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  4933. 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)
  4934. coroutine.resume(coroutine.create(function()
  4935. for i = 0, 2 do
  4936. swait()
  4937. 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)
  4938. 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)
  4939. 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)
  4940. end
  4941. end))
  4942. MagniDamage(hite, 5, 40,70, 0, "Normal")
  4943. game:GetService("Debris"):AddItem(hite, 5)
  4944. posit = posit + 2
  4945. end
  4946. for i = 0,1,0.1 do
  4947. swait()
  4948. 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)
  4949. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  4950. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  4951. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  4952. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  4953. 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)
  4954. 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)
  4955. end
  4956. hum.WalkSpeed = storehumanoidWS
  4957. attack = false
  4958. end
  4959. ----------------------------------- Abilities
  4960.  
  4961. function ExtinctiveHeartbreak()
  4962. local targetted = nil
  4963. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4964. targetted = mouse.Target.Parent
  4965. end
  4966. if targetted ~= nil then
  4967. attack = true
  4968. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4969. for i = 0, 9 do
  4970. 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)
  4971. end
  4972. for i = 0, 24 do
  4973. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  4974. end
  4975. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  4976. local originalpos = root.CFrame
  4977. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4978. for i = 0, 9 do
  4979. 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("Cyan"),0)
  4980. end
  4981. for i = 0, 24 do
  4982. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  4983. end
  4984. hum.WalkSpeed = 0
  4985. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  4986. local radm = math.random(1,3)
  4987. if radm == 1 then
  4988. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4989. elseif radm == 2 then
  4990. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4991. elseif radm == 3 then
  4992. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4993. end
  4994. for i = 0,2,0.1 do
  4995. swait()
  4996. 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)
  4997. 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)
  4998. 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)
  4999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5000. 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)
  5001. 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)
  5002. end
  5003. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5004. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5005. for i = 0,2,0.1 do
  5006. swait()
  5007. coroutine.resume(coroutine.create(function()
  5008. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5009. for i,v in pairs(targetted:GetChildren()) do
  5010. if v:IsA("Part") or v:IsA("MeshPart") then
  5011. v.Velocity = vt(0,0,0)
  5012. end
  5013. end
  5014. end))
  5015. 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)
  5016. 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)
  5017. 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)
  5018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5019. 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)
  5020. 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)
  5021. end
  5022. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5023. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5024. for i = 0, 1 do
  5025. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5026. end
  5027. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5028. chatfunc("S h i n d e i r u . . .",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5029. for i = 0,4,0.1 do
  5030. swait()
  5031. coroutine.resume(coroutine.create(function()
  5032. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5033. 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)))
  5034. local at1 = Instance.new("Attachment",dis)
  5035. at1.Position = vt(-25000,0,0)
  5036. local at2 = Instance.new("Attachment",dis)
  5037. at2.Position = vt(25000,0,0)
  5038. local trl = Instance.new('Trail',dis)
  5039. trl.Attachment0 = at1
  5040. trl.FaceCamera = true
  5041. trl.Attachment1 = at2
  5042. trl.Texture = "rbxassetid://1049219073"
  5043. trl.LightEmission = 1
  5044. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5045. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5046. trl.Lifetime = 5
  5047. local bv = Instance.new("BodyVelocity")
  5048. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5049. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5050. bv.Parent = dis
  5051. game:GetService("Debris"):AddItem(dis, 5)
  5052. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5053. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5054. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5055. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5056. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5057. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5058. 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)
  5059. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5060. for i = 0, 2 do
  5061. 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"))
  5062. end
  5063. 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)
  5064. for i,v in pairs(targetted:GetChildren()) do
  5065. if v:IsA("Part") or v:IsA("MeshPart") then
  5066. v.Velocity = vt(0,0,0)
  5067. end
  5068. end
  5069. end))
  5070. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5071. 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)
  5072. 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)
  5073. 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)
  5074. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5075. 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)
  5076. 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)
  5077. end
  5078. hum.CameraOffset = vt(0,0,0)
  5079. for i = 0, 49 do
  5080. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5081. 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)))
  5082. local at1 = Instance.new("Attachment",dis)
  5083. at1.Position = vt(-50000,0,0)
  5084. local at2 = Instance.new("Attachment",dis)
  5085. at2.Position = vt(50000,0,0)
  5086. local trl = Instance.new('Trail',dis)
  5087. trl.Attachment0 = at1
  5088. trl.FaceCamera = true
  5089. trl.Attachment1 = at2
  5090. trl.Texture = "rbxassetid://1049219073"
  5091. trl.LightEmission = 1
  5092. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5093. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5094. trl.Lifetime = 5
  5095. local bv = Instance.new("BodyVelocity")
  5096. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5097. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5098. bv.Parent = dis
  5099. game:GetService("Debris"):AddItem(dis, 5)
  5100. end
  5101. for i = 0, 49 do
  5102. 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)
  5103. 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("Cyan"))
  5104. end
  5105. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5106. for i = 0, 1 do
  5107. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5108. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5109. end
  5110. for i = 0, 4 do
  5111. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5112. end
  5113. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5114. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5115. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5116. dmg(targetted)
  5117. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5118. for i = 0, 9 do
  5119. 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("Cyan"),0)
  5120. end
  5121. for i = 0, 24 do
  5122. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  5123. end
  5124. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  5125. root.CFrame = originalpos
  5126. for i = 0, 9 do
  5127. 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("Cyan"),0)
  5128. end
  5129. for i = 0, 24 do
  5130. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  5131. end
  5132. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  5133. attack = false
  5134. hum.WalkSpeed = storehumanoidWS
  5135. end
  5136. end
  5137.  
  5138.  
  5139. function KillEvent()
  5140. for i = 0, 9 do
  5141. 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)
  5142. end
  5143. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5144. coroutine.resume(coroutine.create(function()
  5145. local eff = Instance.new("ParticleEmitter",root)
  5146. eff.Texture = "rbxassetid://1175838406"
  5147. eff.LightEmission = 0.95
  5148. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5149. eff.Rate = 10000
  5150. eff.Lifetime = NumberRange.new(1)
  5151. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  5152. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5153. eff.Speed = NumberRange.new(30,160)
  5154. eff.Drag = 5
  5155. eff.Rotation = NumberRange.new(-500,500)
  5156. eff.VelocitySpread = 100000
  5157. wait(0.25)
  5158. eff.Enabled = false
  5159. wait(4)
  5160. eff:Destroy()
  5161. end))
  5162. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  5163. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  5164. CameraEnshaking(2,10)
  5165. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  5166. if v:FindFirstChild('Head') then
  5167. dmg(v)
  5168. end
  5169. end
  5170. for i = 0, 9 do
  5171. 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)
  5172. end
  5173. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5174. end
  5175. function RipSoul()
  5176. local targetted = nil
  5177. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5178. targetted = mouse.Target.Parent
  5179. end
  5180. if targetted ~= nil then
  5181. attack = true
  5182. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5183. CFuncs["Sound"].Create("rbxassetid://333446256", root, 2,1)
  5184. for i = 0, 9 do
  5185. 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("Cyan"),0)
  5186. end
  5187. for i = 0, 24 do
  5188. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  5189. end
  5190. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  5191. local originalpos = root.CFrame
  5192. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5193. for i = 0, 9 do
  5194. 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("Cyan"),0)
  5195. end
  5196. for i = 0, 24 do
  5197. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  5198. end
  5199. hum.WalkSpeed = 0
  5200. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  5201. local radm = math.random(1,3)
  5202. if radm == 1 then
  5203. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5204. elseif radm == 2 then
  5205. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5206. elseif radm == 3 then
  5207. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5208. end
  5209. for i = 0,2,0.1 do
  5210. 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)
  5211. 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)
  5212. 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)
  5213. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5214. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  5215. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  5216. chatfunc("Your soul will be...MINE!!",Color3.new(0,0,0),"Inverted","Antique",0.75)
  5217. swait(8)
  5218. end
  5219. CFuncs["Sound"].Create("rbxassetid://62339698", root, 5,1)
  5220. CFuncs["EchoSound"].Create("rbxassetid://62339698", root, 10, 1,0,10,0.25,0.5,1)
  5221. for i = 0,2,0.1 do
  5222. swait()
  5223. coroutine.resume(coroutine.create(function()
  5224. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5225. for i,v in pairs(targetted:GetChildren()) do
  5226. if v:IsA("Part") or v:IsA("MeshPart") then
  5227. v.Velocity = vt(0,0,0)
  5228. end
  5229. end
  5230. end))
  5231. 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)
  5232. 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)
  5233. 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)
  5234. 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)
  5235. 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)
  5236. 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)
  5237. end
  5238. CFuncs["EchoSound"].Create("rbxassetid://62339698", char, 1.5, 1,0,10,0.25,0.5,1)
  5239. CFuncs["EchoSound"].Create("rbxassetid://62339698", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5240. for i = 0, 1 do
  5241. CFuncs["EchoSound"].Create("rbxassetid://62339698", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5242. end
  5243. CFuncs["EchoSound"].Create("rbxassetid://62339698", root, 10, 1,0.1,10,0.15,0.5,1)
  5244. chatfunc("Your soul will be...MINE!!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5245. for i = 0,4,0.1 do
  5246. swait()
  5247. coroutine.resume(coroutine.create(function()
  5248. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5249. 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)))
  5250. local at1 = Instance.new("Attachment",dis)
  5251. at1.Position = vt(-25000,0,0)
  5252. local at2 = Instance.new("Attachment",dis)
  5253. at2.Position = vt(25000,0,0)
  5254. local trl = Instance.new('Trail',dis)
  5255. trl.Attachment0 = at1
  5256. trl.FaceCamera = true
  5257. trl.Attachment1 = at2
  5258. trl.Texture = "rbxassetid://1049219073"
  5259. trl.LightEmission = 1
  5260. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5261. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5262. trl.Lifetime = 5
  5263. local bv = Instance.new("BodyVelocity")
  5264. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5265. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5266. bv.Parent = dis
  5267. game:GetService("Debris"):AddItem(dis, 5)
  5268. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5269. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head, 4,1)
  5270. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head, 6, 1)
  5271. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head,6,math.random(75,150)/150)
  5272. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head, 3,math.random(75,150)/150)
  5273. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head, 2.5,0.75)
  5274. 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)
  5275. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5276. for i = 0, 2 do
  5277. 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"))
  5278. end
  5279. 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)
  5280. for i,v in pairs(targetted:GetChildren()) do
  5281. if v:IsA("Part") or v:IsA("MeshPart") then
  5282. v.Velocity = vt(0,0,0)
  5283. end
  5284. end
  5285. end))
  5286. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5287. 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)
  5288. 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)
  5289. 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)
  5290. 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)
  5291. 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)
  5292. 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)
  5293. end
  5294. hum.CameraOffset = vt(0,0,0)
  5295. for i = 0, 49 do
  5296. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5297. 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)))
  5298. local at1 = Instance.new("Attachment",dis)
  5299. at1.Position = vt(-50000,0,0)
  5300. local at2 = Instance.new("Attachment",dis)
  5301. at2.Position = vt(50000,0,0)
  5302. local trl = Instance.new('Trail',dis)
  5303. trl.Attachment0 = at1
  5304. trl.FaceCamera = true
  5305. trl.Attachment1 = at2
  5306. trl.Texture = "rbxassetid://1049219073"
  5307. trl.LightEmission = 1
  5308. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5309. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5310. trl.Lifetime = 5
  5311. local bv = Instance.new("BodyVelocity")
  5312. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5313. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5314. bv.Parent = dis
  5315. game:GetService("Debris"):AddItem(dis, 5)
  5316. end
  5317. for i = 0, 49 do
  5318. 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)
  5319. 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("Cyan"))
  5320. end
  5321. CFuncs["EchoSound"].Create("rbxassetid://62339698", char, 2, 0.9,0,10,0.25,0.5,1)
  5322. for i = 0, 1 do
  5323. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head, 5,0.9)
  5324. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head, 7.5,0.75)
  5325. end
  5326. for i = 0, 4 do
  5327. CFuncs["Sound"].Create("rbxassetid://62339698", targetted.Head, 10, 1)
  5328. end
  5329. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5330. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5331. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5332. dmg(targetted)
  5333. CFuncs["Sound"].Create("rbxassetid://62339698", root, 2.5,1)
  5334. for i = 0, 9 do
  5335. 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("Cyan"),0)
  5336. end
  5337. for i = 0, 24 do
  5338. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  5339. end
  5340. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  5341. root.CFrame = originalpos
  5342. for i = 0, 9 do
  5343. 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("Cyan"),0)
  5344. end
  5345. for i = 0, 24 do
  5346. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Cyan"),0)
  5347. end
  5348. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Cyan"))
  5349. attack = false
  5350. hum.WalkSpeed = storehumanoidWS
  5351. end
  5352. end
  5353.  
  5354.  
  5355. function KillEvent()
  5356. for i = 0, 9 do
  5357. 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)
  5358. end
  5359. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5360. coroutine.resume(coroutine.create(function()
  5361. local eff = Instance.new("ParticleEmitter",root)
  5362. eff.Texture = "rbxassetid://1175838406"
  5363. eff.LightEmission = 0.95
  5364. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5365. eff.Rate = 10000
  5366. eff.Lifetime = NumberRange.new(1)
  5367. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  5368. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5369. eff.Speed = NumberRange.new(30,160)
  5370. eff.Drag = 5
  5371. eff.Rotation = NumberRange.new(-500,500)
  5372. eff.VelocitySpread = 100000
  5373. wait(0.25)
  5374. eff.Enabled = false
  5375. wait(4)
  5376. eff:Destroy()
  5377. end))
  5378. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  5379. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  5380. CameraEnshaking(2,10)
  5381. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  5382. if v:FindFirstChild('Head') then
  5383. dmg(v)
  5384. end
  5385. end
  5386. for i = 0, 9 do
  5387. 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)
  5388. end
  5389. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5390. end
  5391.  
  5392. function DivineBoom()
  5393. attack = true
  5394. hum.WalkSpeed = 0
  5395. local obj1 = script.chring2:Clone()
  5396. obj1.Parent = char
  5397. obj1.Transparency = 1
  5398. obj1.Size = vt(1,1,1)
  5399. obj1.Color = BrickColor.new("Pink").Color
  5400. local obj2 = script.spball:Clone()
  5401. obj2.Parent = char
  5402. obj2.Transparency = 1
  5403. obj2.Size = vt(1,1,1)
  5404. obj2.Color = MAINRUINCOLOR.Color
  5405. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5406. cfor.Anchored = true
  5407. cfor.CFrame = obj2.CFrame
  5408. local cef = Instance.new("ParticleEmitter",cfor)
  5409. cef.Texture = "rbxassetid://2344870656"
  5410. cef.LightEmission = 1
  5411. cef.Color = ColorSequence.new(obj2.Color)
  5412. cef.Rate = 150
  5413. cef.Lifetime = NumberRange.new(0.25)
  5414. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5415. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5416. cef.Speed = NumberRange.new(0)
  5417. local rval = 0
  5418. local eval = 1
  5419. for i = 0,7,0.1 do
  5420. swait()
  5421. rval = rval + math.random(30,40)
  5422. eval = eval + 0.45
  5423. obj1.Transparency = obj1.Transparency - 0.005
  5424. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  5425. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5426. obj2.Transparency = obj2.Transparency - 0.007
  5427. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  5428. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5429. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5430. cfor.CFrame = obj2.CFrame
  5431. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5432. sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5433. 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)
  5434. 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)
  5435. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-50)),.3)
  5436. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  5437. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  5438. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  5439. end
  5440. cef.Enabled = false
  5441. coroutine.resume(coroutine.create(function()
  5442. for i = 0,49 do
  5443. swait()
  5444. rval = rval + 100
  5445. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5446. obj2.Transparency = obj2.Transparency + 0.02
  5447. obj2.Size = obj2.Size + vt(5,5,5)
  5448. obj1.Transparency = obj1.Transparency + 0.02
  5449. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5450. end
  5451. obj1:Destroy()
  5452. obj2:Destroy()
  5453. cfor:Destroy()
  5454. end))
  5455. local keptcolor = MAINRUINCOLOR
  5456. coroutine.resume(coroutine.create(function()
  5457. for i = 0, 0 do
  5458. swait(0)
  5459. local orb = Instance.new("Part", char)
  5460. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  5461. orb.BrickColor = keptcolor
  5462. orb.CanCollide = false
  5463. orb.FormFactor = 3
  5464. orb.Name = "Ring"
  5465. orb.Material = "Neon"
  5466. orb.Size = Vector3.new(0, 0, 0)
  5467. orb.Transparency = 0
  5468. orb.TopSurface = 0
  5469. orb.BottomSurface = 0
  5470. orb.Anchored = true
  5471. local orbm = Instance.new("SpecialMesh", orb)
  5472. orbm.MeshType = "Sphere"
  5473. orbm.Name = "SizeMesh"
  5474. orbm.Scale = vt(1.25,1.25,1.25)
  5475. orb.CFrame = root.CFrame*CFrame.new(math.random(-0,0),math.random(0,0),math.random(-0,0))
  5476. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  5477. coroutine.resume(coroutine.create(function()
  5478. wait(0)
  5479. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  5480. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  5481. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  5482. orb.Transparency = 1
  5483. local a = Instance.new("Part",char)
  5484. a.Name = "Direction"
  5485. a.Anchored = true
  5486. a.BrickColor = keptcolor
  5487. a.Material = "Neon"
  5488. a.Transparency = 0
  5489. a.Shape = "Cylinder"
  5490. local ht = Instance.new("Part",char)
  5491. ht.Name = "DirectionHit"
  5492. ht.Anchored = true
  5493. ht.BrickColor = keptcolor
  5494. ht.CanCollide = false
  5495. ht.Size = vt(10,10,10)
  5496. CFuncs["Sound"].Create("rbxassetid://294188875", ht, 20,1)
  5497. swait(1)
  5498. ht.Transparency = 1
  5499.  
  5500. a.CanCollide = false
  5501. local ray = Ray.new(
  5502. orb.CFrame.p, -- origin
  5503. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5504. )
  5505. local ignore = char
  5506. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5507. a.BottomSurface = 10
  5508. a.TopSurface = 10
  5509. local distance = (orb.CFrame.p - position).magnitude
  5510. a.Size = Vector3.new(distance,1,1)
  5511. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5512. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5513. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  5514. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  5515. MagniDamage(ht, 9, 10,15, 0, "Normal")
  5516. coroutine.resume(coroutine.create(function()
  5517. swait(0)
  5518. local eff = Instance.new("ParticleEmitter",ht)
  5519. eff.Texture = "rbxassetid://284205403"
  5520. eff.LightEmission = 0.95
  5521. eff.Color = ColorSequence.new(keptcolor.Color)
  5522. eff.Rate = 500
  5523. eff.Lifetime = NumberRange.new(0.5)
  5524. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5525. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5526. eff.Speed = NumberRange.new(10,50)
  5527. eff.Drag = 5
  5528. eff.Rotation = NumberRange.new(-500,500)
  5529. eff.VelocitySpread = 9000
  5530. eff.RotSpeed = NumberRange.new(-500,500)
  5531. wait(0)
  5532. eff.Enabled = false
  5533. end))
  5534. for i = 0, 4 do
  5535. sphere2(8,"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,1,1),-0.005,0.125,-0.005,keptcolor)
  5536. sphere2(4,"Add",ht.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.01,0.5,-0.01,keptcolor)
  5537. local rsiz = math.random(1,1)
  5538. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*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)
  5539. end
  5540. CFuncs["Sound"].Create("rbxassetid://294188875", sorb2, 1, 1)
  5541. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5542. local msh = Instance.new("SpecialMesh",a)
  5543. msh.MeshType = "Cylinder"
  5544. msh.Scale = vt(1,40,40)
  5545. for i = 0, 49 do
  5546. swait(2)
  5547. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  5548. a.Transparency = a.Transparency + 0.02
  5549. end
  5550. orb:Destroy()
  5551. a:Destroy()
  5552. ht:Destroy()
  5553. end))
  5554. game:GetService("Debris"):AddItem(orb, 1)
  5555. end
  5556. end))
  5557. for i = 0,1,0.1 do
  5558. swait()
  5559. sphere2(7,"Add",sorb.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,keptcolor)
  5560. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  5561. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  5562. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  5563. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  5564. 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)),.3)
  5565. 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)),.3)
  5566. end
  5567. hum.WalkSpeed = storehumanoidWS
  5568. attack = false
  5569. end
  5570.  
  5571. function MurEvent()
  5572. local posit = -2
  5573. attack = true
  5574. hum.WalkSpeed = 5
  5575. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  5576. for i = 0,2,0.1 do
  5577. swait()
  5578. 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)
  5579. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  5580. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  5581. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  5582. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  5583. 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)
  5584. 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)
  5585. end
  5586. for i = 0, 2 do
  5587. CameraEnshaking(1,2)
  5588. local hite = Instance.new("Part", char)
  5589. hite.Anchored = true
  5590. hite.CanCollide = false
  5591. hite.FormFactor = 3
  5592. hite.Name = "Ring"
  5593. hite.Material = "Neon"
  5594. hite.Size = Vector3.new(1, 1, 1)
  5595. hite.Transparency = 1
  5596. hite.TopSurface = 0
  5597. hite.BottomSurface = 0
  5598. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  5599. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  5600. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  5601. coroutine.resume(coroutine.create(function()
  5602. local eff = Instance.new("ParticleEmitter",hite)
  5603. eff.Texture = "rbxassetid://1175838406"
  5604. eff.LightEmission = 0.95
  5605. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5606. eff.Rate = 1000
  5607. eff.Lifetime = NumberRange.new(1)
  5608. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5609. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5610. eff.Speed = NumberRange.new(10,50)
  5611. eff.Drag = 5
  5612. eff.Rotation = NumberRange.new(-500,500)
  5613. eff.VelocitySpread = 100000
  5614. wait(0.25)
  5615. eff.Enabled = false
  5616. end))
  5617. coroutine.resume(coroutine.create(function()
  5618. for i = 0, 1 do
  5619. swait()
  5620. 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)
  5621. 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)
  5622. end
  5623. end))
  5624. 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)
  5625. MagniDamage(hite, 3, 30,40, 0, "Normal")
  5626. game:GetService("Debris"):AddItem(hite, 5)
  5627. posit = posit + 2
  5628. end
  5629. for i = 0,1,0.1 do
  5630. swait()
  5631. 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)
  5632. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  5633. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  5634. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  5635. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  5636. 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)
  5637. 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)
  5638. end
  5639. for i = 0,1,0.1 do
  5640. swait()
  5641. 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)
  5642. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  5643. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  5644. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  5645. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  5646. 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)
  5647. 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)
  5648. end
  5649. posit = -6
  5650. for i = 0, 6 do
  5651. CameraEnshaking(1,3)
  5652. local hite = Instance.new("Part", char)
  5653. hite.Anchored = true
  5654. hite.CanCollide = false
  5655. hite.FormFactor = 3
  5656. hite.Name = "Ring"
  5657. hite.Material = "Neon"
  5658. hite.Size = Vector3.new(1, 1, 1)
  5659. hite.Transparency = 1
  5660. hite.TopSurface = 0
  5661. hite.BottomSurface = 0
  5662. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  5663. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  5664. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  5665. 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)
  5666. coroutine.resume(coroutine.create(function()
  5667. local eff = Instance.new("ParticleEmitter",hite)
  5668. eff.Texture = "rbxassetid://1175838406"
  5669. eff.LightEmission = 0.95
  5670. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5671. eff.Rate = 1000
  5672. eff.Lifetime = NumberRange.new(1)
  5673. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5674. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5675. eff.Speed = NumberRange.new(20,70)
  5676. eff.Drag = 5
  5677. eff.Rotation = NumberRange.new(-500,500)
  5678. eff.VelocitySpread = 100000
  5679. wait(0.25)
  5680. eff.Enabled = false
  5681. end))
  5682. coroutine.resume(coroutine.create(function()
  5683. for i = 0, 2 do
  5684. swait()
  5685. 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)
  5686. 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)
  5687. 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)
  5688. end
  5689. end))
  5690. MagniDamage(hite, 5, 40,70, 0, "Normal")
  5691. game:GetService("Debris"):AddItem(hite, 5)
  5692. posit = posit + 2
  5693. end
  5694. for i = 0,1,0.1 do
  5695. swait()
  5696. 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)
  5697. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  5698. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  5699. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  5700. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  5701. 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)
  5702. 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)
  5703. end
  5704. hum.WalkSpeed = storehumanoidWS
  5705. attack = false
  5706. end
  5707.  
  5708. function RAAAAAA()
  5709. hum.WalkSpeed = 0
  5710. attack = true
  5711. local keptcolor = MAINRUINCOLOR
  5712. local locat = Instance.new("Part", char)
  5713. locat.CanCollide = false
  5714. locat.FormFactor = 3
  5715. locat.Name = "Ring"
  5716. locat.Material = "Neon"
  5717. locat.Size = Vector3.new(1, 1, 1)
  5718. locat.Transparency = 1
  5719. locat.TopSurface = 0
  5720. locat.BottomSurface = 0
  5721. locat.Anchored = true
  5722. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5723. local poste = 0
  5724. local rotation = 0
  5725. local upperpos = 0
  5726. local rate = 0
  5727. local x = locat
  5728. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  5729. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  5730. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  5731. CameraEnshaking(2,5)
  5732. for i = 0, 49 do
  5733. swait()
  5734. rotation = rotation + 5
  5735. poste = poste + 1
  5736. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5737. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5738. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  5739. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2222),0,0),.1)
  5740. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5741. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5742. end
  5743. for i = 0, 49 do
  5744. swait()
  5745. rotation = rotation + 5
  5746. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5747. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5748. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  5749. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5750. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5751. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5752. end
  5753. ModeOfGlitch = 3124343434343
  5754. storehumanoidWS = 200
  5755. hum.WalkSpeed = 200
  5756. rainbowmode = false
  5757. chaosmode = false
  5758. img666.Image = "rbxassetid://2799035953"
  5759. Special.Text = "Special: None"
  5760. RecolorTextAndRename("C)-(eat co&e @ek",BrickColor.new("Dark blue").Color,BrickColor.new("Cyan").Color,"Antique")
  5761. newThemeCust("rbxassetid://276771856",0,1,5)
  5762. MAINRUINCOLOR = BrickColor.new("Really blue")
  5763. keptcolor = MAINRUINCOLOR
  5764. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5765. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  5766. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  5767. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cadet blue"))
  5768. attack = false
  5769. hum.WalkSpeed = storehumanoidWS
  5770. for i = 0, 49 do
  5771. local rsiz = math.random(150,450)
  5772. end
  5773. coroutine.resume(coroutine.create(function()
  5774. local eff = Instance.new("ParticleEmitter",x)
  5775. eff.Texture = "rbxassetid://2273224484"
  5776. eff.LightEmission = 0.95
  5777. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  5778. eff.Rate = 50000
  5779. eff.Lifetime = NumberRange.new(2.5)
  5780. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5781. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5782. eff.Speed = NumberRange.new(250,1000)
  5783. eff.Drag = 5
  5784. eff.Rotation = NumberRange.new(-500,500)
  5785. eff.VelocitySpread = 9000
  5786. eff.RotSpeed = NumberRange.new(-500,500)
  5787. wait(0.5)
  5788. eff.Enabled = false
  5789. end))
  5790. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  5791. if v:FindFirstChild('Head') then
  5792. dmg(v)
  5793. end
  5794. end
  5795. CameraEnshaking(8,10)
  5796. for i = 0, 99 do
  5797. swait()
  5798. rotation = rotation + 5
  5799. poste = poste + 1
  5800. upperpos = upperpos + rate
  5801. rate = rate + 0.1
  5802. end
  5803. x:Destroy()
  5804. end
  5805.  
  5806. function uWotM1()
  5807. hum.WalkSpeed = 0
  5808. attack = false
  5809. local keptcolor = MAINRUINCOLOR
  5810. local locat = Instance.new("Part", char)
  5811. locat.CanCollide = false
  5812. locat.FormFactor = 3
  5813. locat.Name = "Ring"
  5814. locat.Material = "Neon"
  5815. locat.Size = Vector3.new(1, 1, 1)
  5816. locat.Transparency = 1
  5817. locat.TopSurface = 0
  5818. locat.BottomSurface = 0
  5819. locat.Anchored = true
  5820. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5821. local poste = 0
  5822. local rotation = 0
  5823. local upperpos = 0
  5824. local rate = 0
  5825. newThemeCust("rbxassetid://183142252",0,1,15)
  5826. local x = locat
  5827. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  5828. CameraEnshaking(2,5)
  5829. for i = 0, 49 do
  5830. swait(3)
  5831. chatfunc("Riddle than this....",MAINRUINCOLOR.Color,"Really Black","Arcade",1)
  5832. rotation = rotation + 5
  5833. poste = poste + 1
  5834. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5835. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5836. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5837. 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)
  5838. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(4 - 3 * math.cos(sine / 58)),math.rad(67 + 4 * math.cos(sine / 45))),.1)
  5839. 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)
  5840. end
  5841. for i = 0, 49 do
  5842. swait(2.85)
  5843. chatfunc("Riddle than that....",MAINRUINCOLOR.Color,"Really Black","Arcade",1)
  5844. rotation = rotation + 5
  5845. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5846. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5847. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5848. 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)
  5849. 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)
  5850. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(3 - 2 * math.cos(sine / 59)),math.rad(-87 - 2 * math.cos(sine / 45))),.1)
  5851. end
  5852. for i = 0, 49 do
  5853. swait(3)
  5854. chatfunc("Who afraid of the BIG BLACK?!?!",MAINRUINCOLOR.Color,"Really Black","Arcade",1)
  5855. rotation = rotation + 5
  5856. 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)
  5857. 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)
  5858. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10+.2*math.cos(sine/16)),.1)
  5859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5860. 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)
  5861. 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)
  5862. end
  5863. ModeOfGlitch = 000
  5864. storehumanoidWS = 200
  5865. hum.WalkSpeed = 200
  5866. rainbowmode = false
  5867. chaosmode = false
  5868. img666.Image = "rbxassetid://2805415868"
  5869. Special.Text = "Special: BIG BLACK"
  5870. RecolorTextAndRename("BIG BLACK Earthy",BrickColor.new("Really black").Color,BrickColor.new("Really black").Color,"Arcade")
  5871. MAINRUINCOLOR = BrickColor.new("Really black")
  5872. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5873. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  5874. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  5875. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Really black"))
  5876. attack = false
  5877. hum.WalkSpeed = storehumanoidWS
  5878. for i = 0, 49 do
  5879. local rsiz = math.random(150,450)
  5880. end
  5881. coroutine.resume(coroutine.create(function()
  5882. local eff = Instance.new("ParticleEmitter",x)
  5883. eff.Texture = "rbxassetid://2273224484"
  5884. eff.LightEmission = 0.95
  5885. eff.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  5886. eff.Rate = 50000
  5887. eff.Lifetime = NumberRange.new(2.5)
  5888. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5889. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5890. eff.Speed = NumberRange.new(250,1000)
  5891. eff.Drag = 5
  5892. eff.Rotation = NumberRange.new(-500,500)
  5893. eff.VelocitySpread = 9000
  5894. eff.RotSpeed = NumberRange.new(-500,500)
  5895. wait(0.5)
  5896. eff.Enabled = false
  5897. end))
  5898. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  5899. if v:FindFirstChild('Head') then
  5900. dmg(v)
  5901. end
  5902. end
  5903. CameraEnshaking(8,10)
  5904. for i = 0, 99 do
  5905. swait()
  5906. rotation = rotation + 5
  5907. poste = poste + 1
  5908. upperpos = upperpos + rate
  5909. rate = rate + 0.1
  5910. end
  5911. x:Destroy()
  5912. end
  5913.  
  5914. function uWotM8()
  5915. hum.WalkSpeed = 0
  5916. attack = true
  5917. local keptcolor = MAINRUINCOLOR
  5918. local locat = Instance.new("Part", char)
  5919. locat.CanCollide = false
  5920. locat.FormFactor = 3
  5921. locat.Name = "Ring"
  5922. locat.Material = "Neon"
  5923. locat.Size = Vector3.new(1, 1, 1)
  5924. locat.Transparency = 1
  5925. locat.TopSurface = 0
  5926. locat.BottomSurface = 0
  5927. locat.Anchored = true
  5928. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5929. local poste = 0
  5930. local rotation = 0
  5931. local upperpos = 0
  5932. local rate = 0
  5933. local x = locat
  5934. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  5935. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  5936. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  5937. CameraEnshaking(2,5)
  5938. for i = 0, 49 do
  5939. swait()
  5940. rotation = rotation + 5
  5941. poste = poste + 1
  5942. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5943. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5944. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  5945. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2222),0,0),.1)
  5946. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5947. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5948. end
  5949. for i = 0, 49 do
  5950. swait()
  5951. rotation = rotation + 5
  5952. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5953. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5954. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  5955. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5956. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5957. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5958. end
  5959. ModeOfGlitch = 900
  5960. storehumanoidWS = 200
  5961. hum.WalkSpeed = 200
  5962. rainbowmode = false
  5963. chaosmode = false
  5964. img666.Image = "rbxassetid://2799035953"
  5965. Special.Text = "Special: None"
  5966. RecolorTextAndRename("INFERNO Earthy",BrickColor.new("Neon orange").Color,BrickColor.new("Really red").Color,"Arcade")
  5967. newThemeCust("rbxassetid://291220615",0,1,15)
  5968. MAINRUINCOLOR = BrickColor.new("Neon orange")
  5969. keptcolor = MAINRUINCOLOR
  5970. RecolorThing(MAINRUINCOLOR,BrickColor.new("Neon orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5971. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  5972. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  5973. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Neon orange"))
  5974. attack = false
  5975. hum.WalkSpeed = storehumanoidWS
  5976. for i = 0, 49 do
  5977. local rsiz = math.random(150,450)
  5978. end
  5979. coroutine.resume(coroutine.create(function()
  5980. local eff = Instance.new("ParticleEmitter",x)
  5981. eff.Texture = "rbxassetid://284205403"
  5982. eff.LightEmission = 0.95
  5983. eff.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  5984. eff.Rate = 50000
  5985. eff.Lifetime = NumberRange.new(2.5)
  5986. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5987. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5988. eff.Speed = NumberRange.new(250,1000)
  5989. eff.Drag = 5
  5990. eff.Rotation = NumberRange.new(-500,500)
  5991. eff.VelocitySpread = 9000
  5992. eff.RotSpeed = NumberRange.new(-500,500)
  5993. wait(0.5)
  5994. eff.Enabled = false
  5995. end))
  5996. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  5997. if v:FindFirstChild('Head') then
  5998. dmg(v)
  5999. end
  6000. end
  6001. CameraEnshaking(8,10)
  6002. for i = 0, 99 do
  6003. swait()
  6004. rotation = rotation + 5
  6005. poste = poste + 1
  6006. upperpos = upperpos + rate
  6007. rate = rate + 0.1
  6008. end
  6009. x:Destroy()
  6010. end
  6011.  
  6012. barrier = Instance.new("Part",stash)
  6013.  
  6014. function SOULESSKILL()
  6015. hum.WalkSpeed = 0
  6016. attack = true
  6017. local keptcolor = MAINRUINCOLOR
  6018. local locat = Instance.new("Part", char)
  6019. locat.CanCollide = false
  6020. locat.FormFactor = 3
  6021. locat.Name = "Ring"
  6022. locat.Material = "Neon"
  6023. locat.Size = Vector3.new(1, 1, 1)
  6024. locat.Transparency = 1
  6025. locat.TopSurface = 0
  6026. locat.BottomSurface = 0
  6027. locat.Anchored = true
  6028. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  6029. local poste = 0
  6030. local rotation = 0
  6031. local upperpos = 0
  6032. local rate = 0
  6033. local x = locat
  6034. CFuncs["Sound"].Create("rbxassetid://462606062", char, 15, 0.5)
  6035. CFuncs["EchoSound"].Create("rbxassetid://446961725", char, 15, 0.5)
  6036. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  6037. CameraEnshaking(2,5)
  6038. for i = 0, 49 do
  6039. swait()
  6040. rotation = rotation + 5
  6041. poste = poste + 1
  6042. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6043. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6044. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6045. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2222),0,0),.1)
  6046. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6047. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6048. end
  6049. for i = 0, 49 do
  6050. swait()
  6051. rotation = rotation + 5
  6052. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6053. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6056. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6057. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6058. end
  6059. ModeOfGlitch = 31238
  6060. storehumanoidWS = 200
  6061. hum.WalkSpeed = 200
  6062. rainbowmode = false
  6063. chaosmode = false
  6064. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6065. CFuncs["EchoSound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6066. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6067. CFuncs["EchoSound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6068. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6069. CFuncs["EchoSound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6070. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6071. CFuncs["EchoSound"].Create("rbxassetid://1208650519", char, 10000, 1)
  6072. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Really black"))
  6073. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(15,50000,15),1.5,1,1.5,BrickColor.new("Really black"))
  6074. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(25,50000,25),1.5,1,1.5,BrickColor.new("Really black"))
  6075. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(35,50000,35),1.5,1,1.5,BrickColor.new("Really black"))
  6076. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(45,50000,45),1.5,1,1.5,BrickColor.new("Really black"))
  6077. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(55,50000,55),1.5,1,1.5,BrickColor.new("Really black"))
  6078. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(65,50000,65),1.5,1,1.5,BrickColor.new("Really black"))
  6079. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(75,50000,75),1.5,1,1.5,BrickColor.new("Really black"))
  6080. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(85,50000,75),1.5,1,1.5,BrickColor.new("Really black"))
  6081. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(95,50000,75),1.5,1,1.5,BrickColor.new("Really black"))
  6082. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(315,50000,315),1.5,1,1.5,BrickColor.new("Really black"))
  6083. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(325,50000,325),1.5,1,1.5,BrickColor.new("Really black"))
  6084. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(335,50000,335),1.5,1,1.5,BrickColor.new("Really black"))
  6085. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(345,50000,345),1.5,1,1.5,BrickColor.new("Really black"))
  6086. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(355,50000,355),1.5,1,1.5,BrickColor.new("Really black"))
  6087. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(365,50000,365),1.5,1,1.5,BrickColor.new("Really black"))
  6088. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(375,50000,375),1.5,1,1.5,BrickColor.new("Really black"))
  6089. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(385,50000,375),1.5,1,1.5,BrickColor.new("Really black"))
  6090. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(395,50000,375),1.5,1,1.5,BrickColor.new("Really black"))
  6091. attack = false
  6092. attack = false
  6093. hum.WalkSpeed = storehumanoidWS
  6094. for i = 0, 49 do
  6095. local rsiz = math.random(150,450)
  6096. end
  6097. coroutine.resume(coroutine.create(function()
  6098. local eff = Instance.new("ParticleEmitter",x)
  6099. eff.Texture = "rbxassetid://2273224484"
  6100. eff.LightEmission = 0.95
  6101. eff.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  6102. eff.Rate = 50000
  6103. eff.Lifetime = NumberRange.new(2.5)
  6104. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  6105. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6106. eff.Speed = NumberRange.new(250,1000)
  6107. eff.Drag = 5
  6108. eff.Rotation = NumberRange.new(-500,500)
  6109. eff.VelocitySpread = 9000
  6110. eff.RotSpeed = NumberRange.new(-500,500)
  6111. wait(0.5)
  6112. eff.Enabled = false
  6113. end))
  6114. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  6115. if v:FindFirstChild('Head') then
  6116. dmg(v)
  6117. end
  6118. end
  6119. CameraEnshaking(8,10)
  6120. for i = 0, 99 do
  6121. swait()
  6122. rotation = rotation + 5
  6123. poste = poste + 1
  6124. upperpos = upperpos + rate
  6125. rate = rate + 0.1
  6126. end
  6127. x:Destroy()
  6128. end
  6129.  
  6130. function uWotM2()
  6131. hum.WalkSpeed = 0
  6132. attack = false
  6133. local keptcolor = MAINRUINCOLOR
  6134. local locat = Instance.new("Part", char)
  6135. locat.CanCollide = false
  6136. locat.FormFactor = 3
  6137. locat.Name = "Ring"
  6138. locat.Material = "Neon"
  6139. locat.Size = Vector3.new(1, 1, 1)
  6140. locat.Transparency = 1
  6141. locat.TopSurface = 0
  6142. locat.BottomSurface = 0
  6143. locat.Anchored = true
  6144. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  6145. local poste = 0
  6146. local rotation = 0
  6147. local upperpos = 0
  6148. local rate = 0
  6149. local x = locat
  6150. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  6151. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  6152. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  6153. CameraEnshaking(2,5)
  6154. for i = 0, 49 do
  6155. swait()
  6156. rotation = rotation + 5
  6157. poste = poste + 1
  6158. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6159. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6160. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  6161. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2222),0,0),.1)
  6162. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6163. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6164. end
  6165. for i = 0, 49 do
  6166. swait()
  6167. rotation = rotation + 5
  6168. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6169. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6170. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  6171. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6172. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6173. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6174. end
  6175. ModeOfGlitch = 900
  6176. storehumanoidWS = 200
  6177. hum.WalkSpeed = 200
  6178. rainbowmode = false
  6179. chaosmode = false
  6180. img666.Image = "rbxassetid://2805415868"
  6181. Special.Text = "Special: BIG BLACK XII"
  6182. RecolorTextAndRename("BIG BLACK XII Earthy",BrickColor.new("Really black").Color,BrickColor.new("Really black").Color,"Arcade")
  6183. newThemeCust("rbxassetid://2128137966",120,1,22)
  6184. MAINRUINCOLOR = BrickColor.new("Really black")
  6185. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6186. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  6187. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  6188. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Really black"))
  6189. attack = false
  6190. hum.WalkSpeed = storehumanoidWS
  6191. for i = 0, 49 do
  6192. local rsiz = math.random(150,450)
  6193. end
  6194. coroutine.resume(coroutine.create(function()
  6195. local eff = Instance.new("ParticleEmitter",x)
  6196. eff.Texture = "rbxassetid://2273224484"
  6197. eff.LightEmission = 0.95
  6198. eff.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  6199. eff.Rate = 50000
  6200. eff.Lifetime = NumberRange.new(2.5)
  6201. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  6202. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6203. eff.Speed = NumberRange.new(250,1000)
  6204. eff.Drag = 5
  6205. eff.Rotation = NumberRange.new(-500,500)
  6206. eff.VelocitySpread = 9000
  6207. eff.RotSpeed = NumberRange.new(-500,500)
  6208. wait(0.5)
  6209. eff.Enabled = false
  6210. end))
  6211. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  6212. if v:FindFirstChild('Head') then
  6213. dmg(v)
  6214. end
  6215. end
  6216. CameraEnshaking(8,10)
  6217. for i = 0, 99 do
  6218. swait()
  6219. rotation = rotation + 5
  6220. poste = poste + 1
  6221. upperpos = upperpos + rate
  6222. rate = rate + 0.1
  6223. end
  6224. x:Destroy()
  6225. end
  6226.  
  6227. function Beams()
  6228. hum.WalkSpeed = 0
  6229. attack = true
  6230. local keptcolor = MAINRUINCOLOR
  6231. local locat = Instance.new("Part", char)
  6232. locat.CanCollide = false
  6233. locat.FormFactor = 3
  6234. locat.Name = "Ring"
  6235. locat.Material = "Neon"
  6236. locat.Size = Vector3.new(1, 1, 1)
  6237. locat.Transparency = 1
  6238. locat.TopSurface = 0
  6239. locat.BottomSurface = 0
  6240. locat.Anchored = true
  6241. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  6242. local poste = 0
  6243. local rotation = 0
  6244. local upperpos = 0
  6245. local rate = 0
  6246. local x = locat
  6247. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  6248. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  6249. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  6250. CameraEnshaking(2,5)
  6251. for i = 0, 49 do
  6252. swait()
  6253. rotation = rotation + 5
  6254. poste = poste + 1
  6255. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6256. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6257. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6258. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6259. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6260. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6261. end
  6262. for i = 0, 49 do
  6263. swait()
  6264. rotation = rotation + 5
  6265. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6266. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6267. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  6269. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6270. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6271. end
  6272. ModeOfGlitch = 6969
  6273. storehumanoidWS = 300
  6274. hum.WalkSpeed = 300
  6275. rainbowmode = false
  6276. chaosmode = false
  6277. RecolorTextAndRename("bROkEn",BrickColor.new("Cloudy grey").Color,BrickColor.new("Cloudy grey").Color,"Antique")
  6278. newThemeCust("rbxassetid://919231299",0,1,22)
  6279. MAINRUINCOLOR = BrickColor.new("Really blue")
  6280. keptcolor = MAINRUINCOLOR
  6281. RecolorThing(MAINRUINCOLOR,BrickColor.new("Cloudy grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  6282. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  6283. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  6284. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cloudy grey"))
  6285. attack = false
  6286. hum.WalkSpeed = storehumanoidWS
  6287. for i = 0, 49 do
  6288. local rsiz = math.random(150,450)
  6289. end
  6290. coroutine.resume(coroutine.create(function()
  6291. local eff = Instance.new("ParticleEmitter",x)
  6292. eff.Texture = "rbxassetid://284205403"
  6293. eff.LightEmission = 0.95
  6294. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  6295. eff.Rate = 50000
  6296. eff.Lifetime = NumberRange.new(2.5)
  6297. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  6298. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6299. eff.Speed = NumberRange.new(250,1000)
  6300. eff.Drag = 5
  6301. eff.Rotation = NumberRange.new(-500,500)
  6302. eff.VelocitySpread = 9000
  6303. eff.RotSpeed = NumberRange.new(-500,500)
  6304. wait(0.5)
  6305. eff.Enabled = false
  6306. end))
  6307. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  6308. if v:FindFirstChild('Head') then
  6309. dmg(v)
  6310. end
  6311. end
  6312. CameraEnshaking(8,10)
  6313. for i = 0, 99 do
  6314. swait()
  6315. rotation = rotation + 5
  6316. poste = poste + 1
  6317. upperpos = upperpos + rate
  6318. rate = rate + 0.1
  6319. end
  6320. x:Destroy()
  6321. end
  6322.  
  6323. function iNSaNITY()
  6324. local keptcolor = MAINRUINCOLOR
  6325. local locat = Instance.new("Part", char)
  6326. locat.CanCollide = false
  6327. locat.FormFactor = 3
  6328. locat.Name = "Ring"
  6329. locat.Material = "Neon"
  6330. locat.Size = Vector3.new(1, 1, 1)
  6331. locat.Transparency = 1
  6332. locat.TopSurface = 0
  6333. locat.BottomSurface = 0
  6334. locat.Anchored = true
  6335. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  6336. local poste = 0
  6337. local rotation = 0
  6338. local upperpos = 0
  6339. local rate = 0
  6340. local x = locat
  6341. newThemeCust("rbxassetid://2525700576",0,1,12)
  6342. bosschatfunc("I am tired of getting killed....",MAINRUINCOLOR.Color,2)
  6343. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright yellow"))
  6344. wait(1)
  6345. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Cloudy grey"))
  6346. wait(1)
  6347. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Really black"))
  6348. wait(1)
  6349. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Toothpaste"))
  6350. wait(1)
  6351. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright red"))
  6352. wait(1)
  6353.  
  6354. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright yellow"))
  6355.  
  6356. wait(1)
  6357. bosschatfunc("I am stress of being abused....",MAINRUINCOLOR.Color,2)
  6358.  
  6359. wait(1)
  6360.  
  6361. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Really black"))
  6362. wait(1)
  6363. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Toothpaste"))
  6364. wait(1)
  6365. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright red"))
  6366. wait(1)
  6367. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("White"))
  6368. wait(1)
  6369. bosschatfunc("Now...It time....",MAINRUINCOLOR.Color,2)
  6370. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Dark blue"))
  6371. wait(1)
  6372. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright yellow"))
  6373. wait(1)
  6374. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Cloudy grey"))
  6375. wait(1)
  6376. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Really black"))
  6377.  
  6378. wait(1)
  6379. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Toothpaste"))
  6380. wait(1)
  6381. bosschatfunc("To make this world into MINE...!",MAINRUINCOLOR.Color,2)
  6382. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright red"))
  6383. wait(1)
  6384.  
  6385. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright yellow"))
  6386. wait(1)
  6387.  
  6388. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Cloudy grey"))
  6389. wait(1)
  6390. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Really black"))
  6391. wait(1)
  6392. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Toothpaste"))
  6393. wait(1)
  6394. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Bright red"))
  6395. wait(1)
  6396. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("White"))
  6397. wait(1)
  6398. sphere2(1,"Add",x.CFrame*CFrame.new(0,222,0),vt(50,50,50),1.5,1,1.5,BrickColor.new("Dark blue"))
  6399. wait(0.5)
  6400. for i = 0, 49 do
  6401. swait()
  6402. rotation = rotation + 5
  6403. poste = poste + 1
  6404. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6405. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6406. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  6407. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2222),0,0),.1)
  6408. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6409. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6410. end
  6411. wait(0.5)
  6412. ModeOfGlitch = 4
  6413. storehumanoidWS = 9
  6414. hum.WalkSpeed = 9
  6415. rainbowmode = false
  6416. PartyMode = false
  6417. chaosmode = true
  6418. warnedpeople("RAAAAAAAAAAAAA!","Arcade",BrickColor.new("Black").Color,BrickColor.new("Black").Color)
  6419. RecolorTextAndRename("INSANE",BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  6420. MAINRUINCOLOR = BrickColor.new("Really black")
  6421. RecolorThing(BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Institutional white"))
  6422. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  6423. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  6424. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Cloudy grey"))
  6425. end
  6426.  
  6427. coroutine.resume(coroutine.create(function()
  6428. while true do
  6429. swait()
  6430. if chaosmode == true then
  6431. lolwut = {"DIED","DEATh","INsANITY","ChAOS","hAhAhAhAhAhAhA!!!","USELESS","WORThLESS","COMMIT",}
  6432. Sanicz = lolwut[math.random(1,#lolwut)]
  6433. RecolorTextAndRename(Sanicz,BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  6434. end
  6435. end
  6436. end))
  6437.  
  6438. coroutine.resume(coroutine.create(function()
  6439. while true do
  6440. if math.random(1,10) == 1 and PartyMode == true then
  6441. PartyMode = false
  6442. elseif math.random(1,10) == 10 and PartyMode == true then
  6443. PartyMode = true
  6444. end
  6445.  
  6446.  
  6447. swait()
  6448. if PartyMode == true then
  6449. RecolorThing(BrickColor.new("Dark stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Dark stone grey"))
  6450. wait()
  6451. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Institutional white"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Really black"))
  6452. wait()
  6453. RecolorThing(BrickColor.new("Dark stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),BrickColor.new("Dark stone grey"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Dark stone grey"))
  6454. wait()
  6455. RecolorThing(BrickColor.new("Really black"),BrickColor.new("Really black"),BrickColor.new("Institutional white"),BrickColor.new("Really black"),BrickColor.new("Medium stone grey"),1,MAINRUINCOLOR,1,BrickColor.new("Institutional white"))
  6456. wait()
  6457. end
  6458. end
  6459. for i = 0, 49 do
  6460. local rsiz = math.random(150,450)
  6461. end
  6462. coroutine.resume(coroutine.create(function()
  6463. local eff = Instance.new("ParticleEmitter",x)
  6464. eff.Texture = "rbxassetid://284205403"
  6465. eff.LightEmission = 0.95
  6466. eff.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  6467. eff.Rate = 50000
  6468. eff.Lifetime = NumberRange.new(2.5)
  6469. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  6470. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6471. eff.Speed = NumberRange.new(250,1000)
  6472. eff.Drag = 5
  6473. eff.Rotation = NumberRange.new(-500,500)
  6474. eff.VelocitySpread = 9000
  6475. eff.RotSpeed = NumberRange.new(-500,500)
  6476. wait(0.5)
  6477. eff.Enabled = false
  6478. end))
  6479. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  6480. if v:FindFirstChild('Head') then
  6481. dmg(v)
  6482. end
  6483. end
  6484. CameraEnshaking(8,10)
  6485. for i = 0, 99 do
  6486. swait()
  6487. rotation = rotation + 5
  6488. poste = poste + 1
  6489. upperpos = upperpos + rate
  6490. rate = rate + 0.1
  6491. end
  6492. x:Destroy()
  6493. end))
  6494.  
  6495.  
  6496. function BeamOfDeath()
  6497. attack = true
  6498. hum.WalkSpeed = 0
  6499. local keptcolor = MAINRUINCOLOR
  6500. local orb = Instance.new("Part", char)
  6501. orb.BrickColor = keptcolor
  6502. orb.CanCollide = false
  6503. orb.FormFactor = 3
  6504. orb.Name = "Ring"
  6505. orb.Material = "Neon"
  6506. orb.Size = Vector3.new(1, 1, 1)
  6507. orb.Transparency = 1
  6508. orb.TopSurface = 0
  6509. orb.BottomSurface = 0
  6510. local orbm = Instance.new("SpecialMesh", orb)
  6511. orbm.MeshType = "Sphere"
  6512. orbm.Name = "SizeMesh"
  6513. orbm.Scale = vt(22.5,10000,22.5)
  6514. orb.CFrame = mouse.Hit
  6515. orb.Anchored = true
  6516. orb.Orientation = vt(0,0,0)
  6517. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  6518. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  6519. coroutine.resume(coroutine.create(function()
  6520. coroutine.resume(coroutine.create(function()
  6521. for i = 0, 399 do
  6522. swait()
  6523. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  6524. orb.Transparency = orb.Transparency - 0.0025
  6525. end
  6526. end))
  6527. wait(9)
  6528. coroutine.resume(coroutine.create(function()
  6529. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  6530. if hfr ~= nil then
  6531. for i = 0, 49 do
  6532. local deb = Instance.new("Part", char)
  6533. deb.Anchored = true
  6534. deb.CanCollide = false
  6535. deb.FormFactor = 3
  6536. deb.Name = "Ring"
  6537. deb.Material = hitfloor.Material
  6538. deb.Color = hitfloor.Color
  6539. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  6540. deb.Transparency = 0
  6541. deb.TopSurface = 0
  6542. deb.BottomSurface = 0
  6543. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6544. local deb2 = Instance.new("Part", char)
  6545. deb2.CanCollide = false
  6546. deb2.FormFactor = 3
  6547. deb2.Name = "Ring"
  6548. deb2.Material = hitfloor.Material
  6549. deb2.Color = hitfloor.Color
  6550. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  6551. deb2.Transparency = 0
  6552. deb2.TopSurface = 0
  6553. deb2.BottomSurface = 0
  6554. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  6555. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6556. local eff = Instance.new("ParticleEmitter",deb)
  6557. eff.Texture = "rbxassetid://363275192"
  6558. eff.LightEmission = 0.95
  6559. eff.Color = ColorSequence.new(keptcolor.Color)
  6560. eff.Rate = 100
  6561. eff.Lifetime = NumberRange.new(1)
  6562. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  6563. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6564. eff.Speed = NumberRange.new(0,5)
  6565. eff.Rotation = NumberRange.new(-500,500)
  6566. eff.VelocitySpread = 9000
  6567. eff.RotSpeed = NumberRange.new(-10,10)
  6568. local at1 = Instance.new('Attachment',deb2)
  6569. at1.Position = vt(0,15,0)
  6570. local at2 = Instance.new('Attachment',deb2)
  6571. at2.Position = vt(0,-15,0)
  6572. local tl = Instance.new('Trail',deb2)
  6573. tl.Attachment0 = at1
  6574. tl.Attachment1 = at2
  6575. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6576. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  6577. tl.Lifetime = 1
  6578. game:GetService("Debris"):AddItem(deb,30)
  6579. game:GetService("Debris"):AddItem(deb2,30)
  6580. coroutine.resume(coroutine.create(function()
  6581. wait(15)
  6582. eff.Enabled = false
  6583. for i = 0, 49 do
  6584. swait()
  6585. deb.Transparency = deb.Transparency + 0.02
  6586. end
  6587. wait(1)
  6588. deb:Destroy()
  6589. end))
  6590. end
  6591. end
  6592. end))
  6593. for i = 0, 199 do
  6594. swait(1.5)
  6595. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  6596. if v:FindFirstChild('Head') then
  6597. dmg(v)
  6598. end
  6599. end
  6600. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  6601. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  6602. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  6603. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  6604. end
  6605. orb:Destroy()
  6606. end))
  6607. hum.WalkSpeed = storehumanoidWS
  6608. attack = false
  6609. end
  6610.  
  6611. function ChaosGroundStrike()
  6612. attack = true
  6613. for i = 0, 2, 0.1 do
  6614. swait()
  6615. 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)), 0.2)
  6616. 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)), 0.2)
  6617. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  6618. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  6619. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  6620. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  6621. end
  6622. CFuncs.Sound.Create("rbxassetid://2477578166", root, 2222, 1)
  6623. wait(2)
  6624. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  6625. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  6626. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  6627. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  6628. if v:FindFirstChild("Head") then
  6629. dmg(v)
  6630. end
  6631. end
  6632. 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)
  6633. 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)
  6634. 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)), 0.4)
  6635. 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)), 0.4)
  6636. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  6637. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  6638. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(30)), 0.4)
  6639. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(-30)), 0.4)
  6640. swait()
  6641. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  6642. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  6643. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(50, 5, 50), 0.01, BrickColor.random())
  6644. wait(0.1)
  6645. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 4, 100), 0.01, BrickColor.random())
  6646. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  6647. wait(0.1)
  6648. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(150, 3, 150), 0.01, BrickColor.random())
  6649. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  6650. wait(0.1)
  6651. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  6652. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(200, 2, 200), 0.01, BrickColor.random())
  6653. wait(0.1)
  6654. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  6655. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(300, 1, 300), 0.01, BrickColor.random())
  6656. wait(0.1)
  6657. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  6658. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(400, 0.1, 400), 0.01, BrickColor.random())
  6659. for i = 0, 2, 0.1 do
  6660.  
  6661. end
  6662. attack = false
  6663. end
  6664.  
  6665. function HolyBarrier2()
  6666. bosschatfunc("AAAAAAAAAAAAAAR!",MAINRUINCOLOR.Color,1)
  6667. attack = true
  6668. Torso.Anchored = true
  6669. shielding = true
  6670. CFuncs["Sound"].Create("rbxassetid://1368583274", root, 7.5, 1)
  6671. for i = 0, 2, 0.1 do
  6672. swait()
  6673. slash(math.random(30,100)/10,5,true,"Round","Add","Out",Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-1, 1)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))),vt(0.05,0.01,0.05),math.random(50,60)/250,MAINRUINCOLOR)
  6674. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  6675. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  6676. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  6677. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  6678. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  6679. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  6680. end
  6681. CFuncs["Sound"].Create("rbxassetid://840567549", root, 222, 1)
  6682. CFuncs["Sound"].Create("rbxassetid://840567549", root, 222, 1)
  6683. CFuncs["Sound"].Create("rbxassetid://840567549", root, 222, 1)
  6684.  
  6685. sphere4(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  6686.  
  6687. wait(3)
  6688.  
  6689.  
  6690. stash:Destroy()
  6691. barrier.CanCollide = true
  6692. shielding = false
  6693. hum.WalkSpeed = storehumanoidWS
  6694. attack = false
  6695. wait(0.4)
  6696. Torso.Anchored = false
  6697. end
  6698.  
  6699.  
  6700. function HolyBarrier()
  6701. bosschatfunc("STAY AWAY FROM ME!!",MAINRUINCOLOR.Color,1)
  6702. attack = false
  6703.  
  6704. shielding = false
  6705. CFuncs["Sound"].Create("rbxassetid://840567549", root, 2222, 2)
  6706. CFuncs["Sound"].Create("rbxassetid://840567549", root, 2222, 2)
  6707. CFuncs["Sound"].Create("rbxassetid://840567549", root, 2222, 2)
  6708. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7, 1)
  6709.  
  6710.  
  6711. sphere3(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  6712.  
  6713.  
  6714.  
  6715. shielding = false
  6716. hum.WalkSpeed = storehumanoidWS
  6717.  
  6718. attack = false
  6719. wait(0.05)
  6720. root.CFrame = root.CFrame + root.CFrame.lookVector*80
  6721.  
  6722. end
  6723.  
  6724. function EndGROUND()
  6725. attack = true
  6726. hum.WalkSpeed = 0
  6727. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  6728. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  6729. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  6730. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  6731. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  6732. local keptcolor = MAINRUINCOLOR
  6733. for i = 0,4,0.1 do
  6734. swait()
  6735. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6736. 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"))
  6737. 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)
  6738. 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)
  6739. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  6740. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  6741. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  6742. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  6743. end
  6744. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  6745. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  6746. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  6747. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  6748. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  6749. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  6750. coroutine.resume(coroutine.create(function()
  6751. CamShakeAll(40,100,Character)
  6752. local eff = Instance.new("ParticleEmitter",cen)
  6753. eff.Texture = "rbxassetid://2344870656"
  6754. eff.LightEmission = 1
  6755. eff.Color = ColorSequence.new(keptcolor.Color)
  6756. eff.Rate = 10000000
  6757. eff.Enabled = true
  6758. eff.EmissionDirection = "Front"
  6759. eff.Lifetime = NumberRange.new(2)
  6760. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  6761. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6762. eff.Speed = NumberRange.new(500)
  6763. eff.Drag = 5
  6764. eff.Rotation = NumberRange.new(-500,500)
  6765. eff.SpreadAngle = Vector2.new(0,900)
  6766. eff.RotSpeed = NumberRange.new(-500,500)
  6767. wait(0.2)
  6768. eff.Enabled = false
  6769. wait(5)
  6770. eff:Destroy()
  6771. end))
  6772. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6773. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6774. for i = 0, 24 do
  6775. 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"))
  6776. end
  6777. local rrot = 0
  6778. local xam = 1
  6779. coroutine.resume(coroutine.create(function()
  6780. for i = 0, 14 do
  6781. swait()
  6782. rrot = rrot + 40*xam
  6783. xam = xam + 0.25
  6784. local bonus = xam
  6785. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  6786. xa.Anchored = true
  6787. xa.Color = Color3.new(0,0,0)
  6788. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6789. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6790. local xc = 0
  6791. coroutine.resume(coroutine.create(function()
  6792. for i = 0, 99 do
  6793. swait()
  6794. xc = xc + 0.01
  6795. xa.Color = Color3.new(xc,0,0)
  6796. end
  6797. xa.Transparency = 1
  6798. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6799. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6800. for i = 0, 9 do
  6801. 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"))
  6802. end
  6803. CamShakeAll(20,100,xa)
  6804. 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)
  6805. 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)
  6806. 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))
  6807. game:GetService("Debris"):AddItem(xa, 5)
  6808. end))
  6809. end
  6810. end))
  6811. for i = 0,2,0.1 do
  6812. swait()
  6813. 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)
  6814. 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)
  6815. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6816. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6817. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6818. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6819. end
  6820. attack = false
  6821. hum.WalkSpeed = storehumanoidWS
  6822. end
  6823.  
  6824. function Chaos()
  6825. attack = true
  6826. hum.WalkSpeed = 1
  6827. local keptcolor = MRCL
  6828. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 5, 0.25)
  6829. for i = 0,14,0.1 do
  6830. swait()
  6831. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,6,1)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.2,0.01,0.2),-0.2,BrickColor.random())
  6832. sphere2(3,"Add",root.CFrame*CFrame.new(0,6,0) + root.CFrame.lookVector*1,vt(3,3,3),0.06,0.06,0.06,MRCL)
  6833. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  6834. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.1)
  6835. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(-20)), 0.1)
  6836. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(20)), 0.1)
  6837. 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)),.1)
  6838. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6839. end
  6840. local dis = CreateParta(char,0,1,"Neon",BrickColor.new("Black"))
  6841. for i = 0, 4 do
  6842. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 0.5)
  6843. end
  6844. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6845. CreateMesh(dis,"Sphere",10,10,10)
  6846. local at1 = Instance.new("Attachment",dis)
  6847. at1.Position = vt(-5,0,0)
  6848. local at2 = Instance.new("Attachment",dis)
  6849. at2.Position = vt(5,0,0)
  6850. local trl = Instance.new('Trail',dis)
  6851. trl.Attachment0 = at1
  6852. trl.Attachment1 = at2
  6853. trl.Texture = "rbxassetid://1049219073"
  6854. trl.LightEmission = 1
  6855. trl.FaceCamera = true
  6856. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6857. trl.Color = ColorSequence.new(dis.Color)
  6858. trl.Lifetime = 3
  6859. local efec = Instance.new("ParticleEmitter",dis)
  6860. efec.Texture = "rbxassetid://2109052855"
  6861. efec.LightEmission = 1
  6862. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  6863. efec.Rate = 5
  6864. efec.Lifetime = NumberRange.new(3)
  6865. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,35,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,75,0)})
  6866. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6867. efec.Drag = 5
  6868. efec.LockedToPart = true
  6869. efec.Rotation = NumberRange.new(-500,500)
  6870. efec.VelocitySpread = 9000
  6871. efec.RotSpeed = NumberRange.new(-500,500)
  6872. local a = Instance.new("Part",workspace)
  6873. a.Name = "Direction"
  6874. a.Anchored = true
  6875. a.BrickColor = bc("Bright red")
  6876. a.Material = "Neon"
  6877. a.Transparency = 1
  6878. a.CanCollide = false
  6879. local ray = Ray.new(
  6880. dis.CFrame.p, -- origin
  6881. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6882. )
  6883. local ignore = dis
  6884. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6885. a.BottomSurface = 10
  6886. a.TopSurface = 10
  6887. local distance = (dis.CFrame.p - position).magnitude
  6888. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6889. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6890. dis.CFrame = a.CFrame
  6891. a:Destroy()
  6892. local bv = Instance.new("BodyVelocity")
  6893. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6894. bv.velocity = dis.CFrame.lookVector*100
  6895. bv.Parent = dis
  6896. game:GetService("Debris"):AddItem(dis, 15)
  6897. local hitted = false
  6898. coroutine.resume(coroutine.create(function()
  6899. while true do
  6900. swait()
  6901. if hitted == false and dis.Parent ~= nil then
  6902. PixelBlock(3,math.random(0,2),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,BrickColor.random(),0)
  6903. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  6904. efec.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  6905. coroutine.resume(coroutine.create(function()
  6906. for i, v in pairs(FindNearestHead(dis.CFrame.p, 50)) do
  6907. if v:FindFirstChild('Head') then
  6908. dmg(v)
  6909. end
  6910. end
  6911. end))
  6912. elseif hitted == true and dis.Parent == nil then
  6913. break
  6914. end
  6915. end
  6916. end))
  6917. coroutine.resume(coroutine.create(function()
  6918. dis.Touched:connect(function(hit)
  6919. if hitted == false and hit.Parent ~= char then
  6920. hitted = true
  6921. shakes(1,1)
  6922. efec.Enabled = false
  6923. for i = 0, 3 do
  6924. CFuncs["Sound"].Create("rbxassetid://1368637781", dis, 7.5,1)
  6925. CFuncs["Sound"].Create("rbxassetid://763718160", dis, 10, 1.1)
  6926. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 10, 1)
  6927. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 1)
  6928. end
  6929. MagniDamage(dis, 125, 82000,345700005, 0, "Normal")
  6930. coroutine.resume(coroutine.create(function()
  6931. for i, v in pairs(FindNearestHead(dis.CFrame.p, 100)) do
  6932. if v:FindFirstChild('Head') then
  6933. dmg(v)
  6934. end
  6935. end
  6936. end))
  6937. sphere2(2,"Add",dis.CFrame,vt(1,1,1),3,3,3,keptcolor,keptcolor.Color)
  6938. sphere2(3,"Add",dis.CFrame,vt(1,1,1),3,3,3,BrickColor.random(),keptcolor.Color)
  6939. sphere2(4,"Add",dis.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),keptcolor.Color)
  6940. sphere2(5,"Add",dis.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),keptcolor.Color)
  6941. coroutine.resume(coroutine.create(function()
  6942. local eff = Instance.new("ParticleEmitter",dis)
  6943. eff.Texture = "rbxassetid://2344870656"
  6944. eff.LightEmission = 1
  6945. eff.Color = ColorSequence.new(dis.Color)
  6946. eff.Rate = 10000000
  6947. eff.Enabled = true
  6948. eff.EmissionDirection = "Front"
  6949. eff.Lifetime = NumberRange.new(3)
  6950. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  6951. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6952. eff.Speed = NumberRange.new(350)
  6953. eff.Drag = 5
  6954. eff.Rotation = NumberRange.new(-500,500)
  6955. eff.SpreadAngle = Vector2.new(0,900)
  6956. eff.RotSpeed = NumberRange.new(-500,500)
  6957. wait(0.2)
  6958. eff.Enabled = false
  6959. end))
  6960. coroutine.resume(coroutine.create(function()
  6961. for i = 0, 9 do
  6962. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6963. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6964. local at1 = Instance.new("Attachment",disr)
  6965. at1.Position = vt(-30,0,0)
  6966. local at2 = Instance.new("Attachment",disr)
  6967. at2.Position = vt(30,0,0)
  6968. local trl = Instance.new('Trail',disr)
  6969. trl.Attachment0 = at1
  6970. trl.FaceCamera = true
  6971. trl.Attachment1 = at2
  6972. trl.Texture = "rbxassetid://2342682798"
  6973. trl.LightEmission = 1
  6974. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6975. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  6976. trl.Lifetime = 0.5
  6977. local bv = Instance.new("BodyVelocity")
  6978. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6979. bv.velocity = disr.CFrame.lookVector*math.random(150,350)
  6980. bv.Parent = disr
  6981. local val = 0
  6982. coroutine.resume(coroutine.create(function()
  6983. swait(30)
  6984. for i = 0, 9 do
  6985. swait()
  6986. val = val + 0.1
  6987. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6988. end
  6989. game:GetService("Debris"):AddItem(disr, 3)
  6990. end))
  6991. end
  6992. local eff = Instance.new("ParticleEmitter",dis)
  6993. eff.Texture = "rbxassetid://2273224484"
  6994. eff.LightEmission = 1
  6995. eff.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  6996. eff.Rate = 500000
  6997. eff.Lifetime = NumberRange.new(0.5,2)
  6998. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,4,0),NumberSequenceKeypoint.new(1,0,0)})
  6999. 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)})
  7000. eff.Speed = NumberRange.new(100,400)
  7001. eff.Drag = 5
  7002. eff.Rotation = NumberRange.new(-500,500)
  7003. eff.VelocitySpread = 9000
  7004. eff.RotSpeed = NumberRange.new(-50,50)
  7005. wait(0.25)
  7006. eff.Enabled = false
  7007. end))
  7008. for i = 0, 19 do
  7009. 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(200,800)/250,BrickColor.new("White"))
  7010. end
  7011. for i = 0, 49 do
  7012. PixelBlock(1,math.random(5,40),"Add",dis.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,BrickColor.random(),0)
  7013. end
  7014. coroutine.resume(coroutine.create(function()
  7015. for i = 0, 19 do
  7016. swait()
  7017. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  7018. end
  7019. hum.CameraOffset = vt(0,0,0)
  7020. end))
  7021. dis.Anchored = true
  7022. dis.Transparency = 1
  7023. wait(8)
  7024. dis:Destroy()
  7025. end
  7026. end)
  7027. end))
  7028. for i = 0,2,0.1 do
  7029. swait()
  7030. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.5)* angles(math.rad(30),math.rad(0),math.rad(0)),0.3)
  7031. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  7032. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-10)), 0.3)
  7033. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(10)), 0.3)
  7034. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.05 * math.cos(sine / 25),-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(30)),.3)
  7035. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  7036. end
  7037. attack = false
  7038. hum.WalkSpeed = storehumanoidWS
  7039. end
  7040.  
  7041. function Fireball()
  7042. attack = true
  7043. hum.WalkSpeed = 0
  7044. local keptcolor = MAINRUINCOLOR
  7045. for i = 0,2,0.1 do
  7046. swait()
  7047. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  7048. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  7049. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  7050. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  7051. 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)
  7052. 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)
  7053. end
  7054. local orb = Instance.new("Part", char)
  7055. orb.BrickColor = keptcolor
  7056. orb.CanCollide = false
  7057. orb.FormFactor = 3
  7058. orb.Name = "Ring"
  7059. orb.Material = "Neon"
  7060. orb.Size = Vector3.new(1, 1, 1)
  7061. orb.Transparency = 0
  7062. orb.TopSurface = 0
  7063. orb.BottomSurface = 0
  7064. local orbm = Instance.new("SpecialMesh", orb)
  7065. orbm.MeshType = "Sphere"
  7066. orbm.Name = "SizeMesh"
  7067. orbm.Scale = vt(4,4,4)
  7068. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  7069. local eff = Instance.new("ParticleEmitter",orb)
  7070. eff.Texture = "rbxassetid://296874871"
  7071. eff.LightEmission = 0.95
  7072. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  7073. eff.Rate = 10000
  7074. eff.Lifetime = NumberRange.new(1.5)
  7075. 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)})
  7076. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7077. eff.Speed = NumberRange.new(25)
  7078. eff.Drag = 5
  7079. eff.Rotation = NumberRange.new(-500,500)
  7080. eff.VelocitySpread = 9000
  7081. eff.RotSpeed = NumberRange.new(-500,500)
  7082. local a = Instance.new("Part",workspace)
  7083. a.Name = "Direction"
  7084. a.Anchored = true
  7085. a.BrickColor = bc("Bright red")
  7086. a.Material = "Neon"
  7087. a.Transparency = 1
  7088. a.CanCollide = false
  7089. local ray = Ray.new(
  7090. orb.CFrame.p, -- origin
  7091. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7092. )
  7093. local ignore = orb
  7094. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7095. a.BottomSurface = 10
  7096. a.TopSurface = 10
  7097. local distance = (orb.CFrame.p - position).magnitude
  7098. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7099. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7100. orb.CFrame = a.CFrame
  7101. a:Destroy()
  7102. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  7103. local bv = Instance.new("BodyVelocity")
  7104. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7105. bv.velocity = orb.CFrame.lookVector*75
  7106. bv.Parent = orb
  7107. game:GetService("Debris"):AddItem(orb, 10)
  7108. local hitted = false
  7109. coroutine.resume(coroutine.create(function()
  7110. while true do
  7111. swait()
  7112. if orb.Parent ~= nil and hitted == false then
  7113. 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)
  7114. elseif orb.Parent == nil and hitted == true then
  7115. break
  7116. end
  7117. end
  7118. end))
  7119. local hit =orb.Touched:connect(function(hit)
  7120. if hitted == false and hit.Parent ~= char then
  7121. hitted = true
  7122. eff.Enabled = false
  7123. CameraEnshaking(4,4)
  7124. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  7125. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  7126. MagniDamage(orb, 25, 20,30, 0, "Normal")
  7127. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  7128. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  7129. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  7130. for i = 0, 9 do
  7131. 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)
  7132. end
  7133. for i = 0, 49 do
  7134. local rsiz = math.random(10,30)
  7135. 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)
  7136. end
  7137. local eff = Instance.new("ParticleEmitter",orb)
  7138. eff.Texture = "rbxassetid://296874871"
  7139. eff.LightEmission = 0.95
  7140. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  7141. eff.Rate = 10000
  7142. eff.Lifetime = NumberRange.new(1.5)
  7143. 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)})
  7144. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7145. eff.Speed = NumberRange.new(150)
  7146. eff.Drag = 5
  7147. eff.Rotation = NumberRange.new(-500,500)
  7148. eff.VelocitySpread = 9000
  7149. eff.RotSpeed = NumberRange.new(-500,500)
  7150. coroutine.resume(coroutine.create(function()
  7151. wait(0.25)
  7152. eff.Enabled = false
  7153. end))
  7154. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7155. orb.Anchored = true
  7156. orb.Transparency = 1
  7157. coroutine.resume(coroutine.create(function()
  7158. if hfr ~= nil then
  7159. orb.Size = vt(50,1,50)
  7160. orb.Orientation = vt(0,0,0)
  7161. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  7162. orbm:Destroy()
  7163. local firef = eff:Clone()
  7164. firef.Parent = orb
  7165. firef.VelocitySpread = 50
  7166. firef.Rate = 500
  7167. firef.Drag = 3
  7168. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7169. 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)})
  7170. firef.Speed = NumberRange.new(10,30)
  7171. for i = 0, 24 do
  7172. wait(0.25)
  7173. MagniDamage(orb, 25, 3,6, 0, "Normal")
  7174. end
  7175. firef.Enabled = false
  7176. end
  7177. end))
  7178. wait(10)
  7179. orb:Destroy()
  7180. end
  7181. end)
  7182. for i = 0,1,0.1 do
  7183. swait()
  7184. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  7185. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  7186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  7187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  7188. 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)
  7189. 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)
  7190. end
  7191. hum.WalkSpeed = storehumanoidWS
  7192. attack = false
  7193. end
  7194.  
  7195. function OOOOOOOOFFF()
  7196. attack = true
  7197. for i = 0, 2, 0.1 do
  7198. swait()
  7199. 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)), 0.2)
  7200. 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)), 0.2)
  7201. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  7202. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  7203. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  7204. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  7205. end
  7206. CFuncs.Sound.Create("rbxassetid://176238381", root, 2222, 1)
  7207. wait(2)
  7208. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  7209. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  7210. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  7211. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  7212. if v:FindFirstChild("Head") then
  7213. dmg(v)
  7214. end
  7215. end
  7216. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-100, 100), -5, math.random(-100, 100)) * CFrame.Angles(math.rad(100 + math.rad(math.random(-100, 100))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  7217. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-100, 100), -5, math.random(-100, 100)) * CFrame.Angles(math.rad(100 + math.rad(math.random(-100, 100))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  7218. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-100, 100), -5, math.random(-100, 100)) * CFrame.Angles(math.rad(100 + math.rad(math.random(-100, 100))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  7219. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-100, 100), -5, math.random(-100, 100)) * CFrame.Angles(math.rad(100 + math.rad(math.random(-100, 100))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  7220. 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)), 0.4)
  7221. 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)), 0.4)
  7222. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  7223. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  7224. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(30)), 0.4)
  7225. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(-30)), 0.4)
  7226. swait()
  7227. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  7228. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  7229. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(50, 5, 50), 0.01, BrickColor.random())
  7230.  
  7231. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 4, 100), 0.01, BrickColor.random())
  7232. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  7233. for i = 0, 2, 0.1 do
  7234.  
  7235. end
  7236. attack = false
  7237. end
  7238.  
  7239. function Chaos()
  7240. attack = true
  7241. for i = 0, 2, 0.1 do
  7242. swait()
  7243. 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)), 0.2)
  7244. 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)), 0.2)
  7245. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  7246. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  7247. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  7248. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  7249. end
  7250. CFuncs.Sound.Create("rbxassetid://2477578166", root, 2222, 1)
  7251. wait(2)
  7252. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  7253. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  7254. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  7255. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  7256. if v:FindFirstChild("Head") then
  7257. dmg(v)
  7258. end
  7259. end
  7260. 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)
  7261. 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)
  7262. 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)), 0.4)
  7263. 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)), 0.4)
  7264. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  7265. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  7266. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(30)), 0.4)
  7267. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-180), math.rad(0), math.rad(-30)), 0.4)
  7268. swait()
  7269. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  7270. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  7271. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(2222, 5, 5), 0.01, BrickColor.random())
  7272. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(5, 5, 2222), 0.01, BrickColor.random())
  7273. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(2222, 5, 5), 0.01, BrickColor.random())
  7274. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(5, 5, 2222), 0.01, BrickColor.random())
  7275. CFuncs.Sound.Create("rbxassetid://576124533", root, 2222, 1)
  7276. for i = 0, 2, 0.1 do
  7277.  
  7278. end
  7279. attack = false
  7280. end
  7281.  
  7282. function Fireball()
  7283. bosschatfunc("I have enough of you....",MAINRUINCOLOR.Color,1)
  7284.  
  7285. hum.WalkSpeed = 50
  7286. ModeOfGlitch = 8889
  7287.  
  7288. CFuncs["Sound"].Create("rbxassetid://1368583274", root, 7.5, 1)
  7289. CFuncs["Sound"].Create("rbxassetid://840567549", root, 222, 1)
  7290. CFuncs["Sound"].Create("rbxassetid://840567549", root, 222, 1)
  7291. CFuncs["Sound"].Create("rbxassetid://840567549", root, 222, 1)
  7292.  
  7293. end
  7294.  
  7295. function BeamOfDeath()
  7296. attack = true
  7297. hum.WalkSpeed = 0
  7298. local keptcolor = MAINRUINCOLOR
  7299. local orb = Instance.new("Part", char)
  7300. orb.BrickColor = keptcolor
  7301. orb.CanCollide = false
  7302. orb.FormFactor = 3
  7303. orb.Name = "Ring"
  7304. orb.Material = "Neon"
  7305. orb.Size = Vector3.new(1, 1, 1)
  7306. orb.Transparency = 1
  7307. orb.TopSurface = 0
  7308. orb.BottomSurface = 0
  7309. local orbm = Instance.new("SpecialMesh", orb)
  7310. orbm.MeshType = "Sphere"
  7311. orbm.Name = "SizeMesh"
  7312. orbm.Scale = vt(22.5,10000,22.5)
  7313. orb.CFrame = mouse.Hit
  7314. orb.Anchored = true
  7315. orb.Orientation = vt(0,0,0)
  7316. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7317. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  7318. coroutine.resume(coroutine.create(function()
  7319. coroutine.resume(coroutine.create(function()
  7320. for i = 0, 399 do
  7321. swait()
  7322. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  7323. orb.Transparency = orb.Transparency - 0.0025
  7324. end
  7325. end))
  7326. wait(9)
  7327. coroutine.resume(coroutine.create(function()
  7328. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7329. if hfr ~= nil then
  7330. for i = 0, 49 do
  7331. local deb = Instance.new("Part", char)
  7332. deb.Anchored = true
  7333. deb.CanCollide = false
  7334. deb.FormFactor = 3
  7335. deb.Name = "Ring"
  7336. deb.Material = hitfloor.Material
  7337. deb.Color = hitfloor.Color
  7338. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7339. deb.Transparency = 0
  7340. deb.TopSurface = 0
  7341. deb.BottomSurface = 0
  7342. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7343. local deb2 = Instance.new("Part", char)
  7344. deb2.CanCollide = false
  7345. deb2.FormFactor = 3
  7346. deb2.Name = "Ring"
  7347. deb2.Material = hitfloor.Material
  7348. deb2.Color = hitfloor.Color
  7349. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7350. deb2.Transparency = 0
  7351. deb2.TopSurface = 0
  7352. deb2.BottomSurface = 0
  7353. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7354. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7355. local eff = Instance.new("ParticleEmitter",deb)
  7356. eff.Texture = "rbxassetid://363275192"
  7357. eff.LightEmission = 0.95
  7358. eff.Color = ColorSequence.new(keptcolor.Color)
  7359. eff.Rate = 100
  7360. eff.Lifetime = NumberRange.new(1)
  7361. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7362. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7363. eff.Speed = NumberRange.new(0,5)
  7364. eff.Rotation = NumberRange.new(-500,500)
  7365. eff.VelocitySpread = 9000
  7366. eff.RotSpeed = NumberRange.new(-10,10)
  7367. local at1 = Instance.new('Attachment',deb2)
  7368. at1.Position = vt(0,15,0)
  7369. local at2 = Instance.new('Attachment',deb2)
  7370. at2.Position = vt(0,-15,0)
  7371. local tl = Instance.new('Trail',deb2)
  7372. tl.Attachment0 = at1
  7373. tl.Attachment1 = at2
  7374. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7375. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7376. tl.Lifetime = 1
  7377. game:GetService("Debris"):AddItem(deb,30)
  7378. game:GetService("Debris"):AddItem(deb2,30)
  7379. coroutine.resume(coroutine.create(function()
  7380. wait(15)
  7381. eff.Enabled = false
  7382. for i = 0, 49 do
  7383. swait()
  7384. deb.Transparency = deb.Transparency + 0.02
  7385. end
  7386. wait(1)
  7387. deb:Destroy()
  7388. end))
  7389. end
  7390. end
  7391. end))
  7392. for i = 0, 199 do
  7393. swait(1.5)
  7394. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7395. if v:FindFirstChild('Head') then
  7396. dmg(v)
  7397. end
  7398. end
  7399. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  7400. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  7401. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  7402. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7403. end
  7404. orb:Destroy()
  7405. end))
  7406. hum.WalkSpeed = storehumanoidWS
  7407. attack = false
  7408. end
  7409.  
  7410.  
  7411. function CorruptionSpecial()
  7412. local targetted = nil
  7413. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7414. targetted = mouse.Target.Parent
  7415. end
  7416. if targetted ~= nil then
  7417. RootPart.CFrame = FaceMouse()[1]
  7418. attack = true
  7419. hum.WalkSpeed = 0
  7420. coroutine.resume(coroutine.create(function()
  7421. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7422. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7423. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
  7424. local vel = Instance.new("BodyPosition", targetted.Head)
  7425. vel.P = 12500
  7426. vel.D = 1000
  7427. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7428. vel.position = targetted.Head.CFrame.p
  7429. end))
  7430. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  7431. for i = 0,14,0.1 do
  7432. swait()
  7433. rsiz = math.random(5,15)
  7434. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  7435. 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.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  7436. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7437. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7438. 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)
  7439. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7440. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7441. LH.C0=clerp(LH.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(5 + 1 * math.cos(sine / 34))),.2)
  7442. end
  7443. coroutine.resume(coroutine.create(function()
  7444. CameraEnshaking(6,5)
  7445. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7446. MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
  7447. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
  7448. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
  7449. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
  7450. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7451. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7452. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7453. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7454. coroutine.resume(coroutine.create(function()
  7455. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7456. eff.Texture = "rbxassetid://363275192"
  7457. eff.LightEmission = 0.95
  7458. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7459. eff.Rate = 10000
  7460. eff.Lifetime = NumberRange.new(1.5)
  7461. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7462. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7463. eff.Speed = NumberRange.new(25,150)
  7464. eff.Drag = 5
  7465. eff.Rotation = NumberRange.new(-500,500)
  7466. eff.VelocitySpread = 9000
  7467. eff.RotSpeed = NumberRange.new(-50,50)
  7468. local eff2 = eff:Clone()
  7469. eff2.Parent = targetted.Head
  7470. eff2.Texture = "rbxassetid://284205403"
  7471. eff2.Rate = 10000
  7472. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7473. eff2.Drag = 5
  7474. eff2.Rotation = NumberRange.new(-500,500)
  7475. eff2.VelocitySpread = 9000
  7476. wait(0.5)
  7477. eff2.Enabled = false
  7478. eff.Enabled = false
  7479. end))
  7480. for i = 0, 9 do
  7481. 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)
  7482. end
  7483. for i = 0, 49 do
  7484. local rsiz = math.random(10,50)
  7485. 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)
  7486. end
  7487. wait(0.75)
  7488. CameraEnshaking(6,6)
  7489. MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
  7490. MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
  7491. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
  7492. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
  7493. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
  7494. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  7495. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  7496. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  7497. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  7498. coroutine.resume(coroutine.create(function()
  7499. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7500. eff.Texture = "rbxassetid://363275192"
  7501. eff.LightEmission = 0.95
  7502. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7503. eff.Rate = 10000
  7504. eff.Lifetime = NumberRange.new(1.5)
  7505. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
  7506. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7507. eff.Speed = NumberRange.new(25,250)
  7508. eff.Drag = 5
  7509. eff.Rotation = NumberRange.new(-500,500)
  7510. eff.VelocitySpread = 9000
  7511. eff.RotSpeed = NumberRange.new(-50,50)
  7512. local eff2 = eff:Clone()
  7513. eff2.Parent = targetted.Head
  7514. eff2.Texture = "rbxassetid://284205403"
  7515. eff2.Rate = 10000
  7516. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7517. eff2.Drag = 5
  7518. eff2.Rotation = NumberRange.new(-500,500)
  7519. eff2.VelocitySpread = 9000
  7520. wait(0.5)
  7521. eff2.Enabled = false
  7522. eff.Enabled = false
  7523. end))
  7524. for i = 0, 9 do
  7525. 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,4.5,-0.02,MAINRUINCOLOR)
  7526. end
  7527. for i = 0, 49 do
  7528. local rsiz = math.random(15,55)
  7529. sphereMK(math.random(1,4),1.5,"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)
  7530. end
  7531. wait(0.75)
  7532. CameraEnshaking(6,7)
  7533. MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
  7534. MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
  7535. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
  7536. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
  7537. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
  7538. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  7539. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  7540. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7541. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  7542. coroutine.resume(coroutine.create(function()
  7543. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7544. eff.Texture = "rbxassetid://363275192"
  7545. eff.LightEmission = 0.95
  7546. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7547. eff.Rate = 10000
  7548. eff.Lifetime = NumberRange.new(1.5)
  7549. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  7550. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7551. eff.Speed = NumberRange.new(50,450)
  7552. eff.Drag = 5
  7553. eff.Rotation = NumberRange.new(-500,500)
  7554. eff.VelocitySpread = 9000
  7555. eff.RotSpeed = NumberRange.new(-50,50)
  7556. local eff2 = eff:Clone()
  7557. eff2.Parent = targetted.Head
  7558. eff2.Texture = "rbxassetid://284205403"
  7559. eff2.Rate = 10000
  7560. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7561. eff2.Drag = 5
  7562. eff2.Rotation = NumberRange.new(-500,500)
  7563. eff2.VelocitySpread = 9000
  7564. wait(0.5)
  7565. eff2.Enabled = false
  7566. eff.Enabled = false
  7567. end))
  7568. for i = 0, 9 do
  7569. 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,6,-0.02,MAINRUINCOLOR)
  7570. end
  7571. for i = 0, 49 do
  7572. local rsiz = math.random(20,60)
  7573. sphereMK(math.random(1,4),2,"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)
  7574. end
  7575. dmg(targetted)
  7576. game:GetService("Debris"):AddItem(vel,1)
  7577. end))
  7578. for i = 0,7,0.1 do
  7579. swait()
  7580. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  7581. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  7582. 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)
  7583. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
  7584. 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),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
  7585. LH.C0=clerp(LH.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(5 + 1 * math.cos(sine / 34))),.5)
  7586. end
  7587. attack = false
  7588. hum.WalkSpeed = storehumanoidWS
  7589. end
  7590. end
  7591.  
  7592. function BinaryBLINK()
  7593. for i = 0, 9 do
  7594. 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)
  7595. end
  7596. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  7597. coroutine.resume(coroutine.create(function()
  7598. local eff = Instance.new("ParticleEmitter",root)
  7599. eff.Texture = "rbxassetid://1175838406"
  7600. eff.LightEmission = 0.95
  7601. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7602. eff.Rate = 10000
  7603. eff.Lifetime = NumberRange.new(1)
  7604. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  7605. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7606. eff.Speed = NumberRange.new(30,160)
  7607. eff.Drag = 5
  7608. eff.Rotation = NumberRange.new(-500,500)
  7609. eff.VelocitySpread = 100000
  7610. wait(0.25)
  7611. eff.Enabled = false
  7612. wait(4)
  7613. eff:Destroy()
  7614. end))
  7615. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  7616. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  7617. CameraEnshaking(2,10)
  7618. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  7619. if v:FindFirstChild('Head') then
  7620. dmg(v)
  7621. end
  7622. end
  7623. for i = 0, 9 do
  7624. 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)
  7625. end
  7626. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  7627. end
  7628.  
  7629. function CalamityBomb()
  7630. local targetted = nil
  7631. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7632. targetted = mouse.Target.Parent
  7633. end
  7634. if targetted ~= nil then
  7635. RootPart.CFrame = FaceMouse()[1]
  7636. attack = true
  7637. hum.WalkSpeed = 0
  7638. coroutine.resume(coroutine.create(function()
  7639. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7640. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7641. local vel = Instance.new("BodyPosition", targetted.Head)
  7642. vel.P = 12500
  7643. vel.D = 1000
  7644. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7645. vel.position = targetted.Head.CFrame.p
  7646. end))
  7647. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7648. for i = 0,4,0.1 do
  7649. swait()
  7650. 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)
  7651. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7652. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7653. 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)
  7654. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7655. 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)
  7656. 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)
  7657. end
  7658. coroutine.resume(coroutine.create(function()
  7659. CameraEnshaking(6,5)
  7660. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7661. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7662. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7663. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7664. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7665. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7666. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7667. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7668. coroutine.resume(coroutine.create(function()
  7669. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7670. eff.Texture = "rbxassetid://363275192"
  7671. eff.LightEmission = 0.95
  7672. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7673. eff.Rate = 10000
  7674. eff.Lifetime = NumberRange.new(1.5)
  7675. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7676. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7677. eff.Speed = NumberRange.new(25,150)
  7678. eff.Drag = 5
  7679. eff.Rotation = NumberRange.new(-500,500)
  7680. eff.VelocitySpread = 9000
  7681. eff.RotSpeed = NumberRange.new(-50,50)
  7682. local eff2 = eff:Clone()
  7683. eff2.Parent = targetted.Head
  7684. eff2.Texture = "rbxassetid://284205403"
  7685. eff2.Rate = 10000
  7686. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7687. eff2.Drag = 5
  7688. eff2.Rotation = NumberRange.new(-500,500)
  7689. eff2.VelocitySpread = 9000
  7690. wait(0.5)
  7691. eff2.Enabled = false
  7692. eff.Enabled = false
  7693. end))
  7694. for i = 0, 9 do
  7695. 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)
  7696. end
  7697. for i = 0, 49 do
  7698. local rsiz = math.random(10,50)
  7699. 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)
  7700. end
  7701. game:GetService("Debris"):AddItem(vel,1)
  7702. dmg(targetted)
  7703. end))
  7704. for i = 0,1,0.1 do
  7705. swait()
  7706. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7707. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7708. 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)
  7709. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  7710. 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)
  7711. 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)
  7712. end
  7713. attack = false
  7714. hum.WalkSpeed = storehumanoidWS
  7715. end
  7716. end
  7717.  
  7718. function MeteorStrike()
  7719. attack = true
  7720. hum.WalkSpeed = 0
  7721. local orb = Instance.new("Part", char)
  7722. orb.Anchored = true
  7723. orb.BrickColor = MAINRUINCOLOR
  7724. orb.CanCollide = false
  7725. orb.FormFactor = 3
  7726. orb.Name = "Ring"
  7727. orb.Material = "Neon"
  7728. orb.Size = Vector3.new(1, 1, 1)
  7729. orb.Transparency = 0
  7730. orb.TopSurface = 0
  7731. orb.BottomSurface = 0
  7732. local orbm = Instance.new("SpecialMesh", orb)
  7733. orbm.MeshType = "Sphere"
  7734. orbm.Name = "SizeMesh"
  7735. orbm.Scale = vt(0,0,0)
  7736. local scaled = 0.1
  7737. local posid = 0
  7738. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  7739. for i = 0, 5, 0.1 do
  7740. swait()
  7741. scaled = scaled - 0.001
  7742. posid = posid - scaled
  7743. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7744. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7745. 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,MAINRUINCOLOR,10)
  7746. 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,MAINRUINCOLOR,0)
  7747. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7748. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7749. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7750. 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)
  7751. end
  7752. swait(60)
  7753. for i =1,3 do
  7754. swait(30)
  7755. CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
  7756. Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
  7757. end
  7758. swait(30)
  7759. for i = 0, 2, 0.1 do
  7760. swait()
  7761. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7762. 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)
  7763. 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)
  7764. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  7765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7766. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7767. 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)
  7768. end
  7769. swait(60)
  7770. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  7771. CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
  7772. Sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
  7773. Sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
  7774. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  7775. if v:FindFirstChild('Head') then
  7776. dmg(v)
  7777. end
  7778. end
  7779. for i = 1,20 do
  7780. 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,MAINRUINCOLOR,0)
  7781. for i = 0, 10 do
  7782. 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,MAINRUINCOLOR,0)
  7783. end
  7784. end
  7785. orb:Remove()
  7786. attack = false
  7787. hum.WalkSpeed = storehumanoidWS
  7788. end
  7789. mouse.KeyUp:connect(function(k)
  7790. if k == "f" and ModeOfGlitch == 5 then
  7791. shielding = false
  7792. end
  7793. if k == "z" and ModeOfGlitch == 5 then
  7794. judgement = false
  7795. end
  7796. end)
  7797. function KABOOM()
  7798. attack = true
  7799. judgement = true
  7800. hum.WalkSpeed = 0
  7801. local p = Instance.new("Part",root)
  7802. p.Anchored = true
  7803. p.CanCollide = true
  7804. p.BrickColor = MAINRUINCOLOR
  7805. p.Material = Enum.Material.Neon
  7806. p.Size = Vector3.new(1,1,1)
  7807. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  7808. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  7809. local m = Instance.new("SpecialMesh",p)
  7810. m.MeshType = "Cylinder"
  7811. m.Scale = Vector3.new(2000,100,100)
  7812. local targ = Instance.new("Part",root)
  7813. targ.Anchored = true
  7814. targ.Transparency = 1
  7815. targ.CanCollide = true
  7816. targ.Size = Vector3.new(1,1,1)
  7817. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7818. local s = Instance.new("Sound",targ)
  7819. s.SoundId = "https://roblox.com/asset/?id=115327352"
  7820. s.Looped = true
  7821. s.Pitch = 1.2
  7822. s.Volume = 3
  7823. spawn(function()
  7824. swait(15)
  7825. s:Play()
  7826. end)
  7827. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  7828. for i = 1,15 do
  7829. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7830. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  7831. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  7832. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  7833. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  7834. 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(-20)),.2)
  7835. 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(20)),.2)
  7836. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  7837. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  7838. m.Scale = m.Scale+Vector3.new(0,1,1)
  7839. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  7840. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  7841. swait()
  7842. end
  7843. sphereMK(3, 0.2, "Add", targ.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, MAINRUINCOLOR, 0)
  7844. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  7845. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  7846. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  7847. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  7848. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  7849. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  7850. swait()
  7851. judgement = false
  7852. for i =1,15 do
  7853. m.Scale = m.Scale-Vector3.new(1,1,1)
  7854. p.Transparency = i / 15
  7855. s.Pitch = s.Pitch - 0.4
  7856. swait()
  7857. end
  7858. p:Destroy()
  7859. hum.WalkSpeed = storehumanoidWS
  7860. attack = false
  7861. end
  7862.  
  7863. function CorruptionEvent()
  7864. attack = true
  7865. hum.WalkSpeed = 0
  7866. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  7867. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  7868. local keptcolor = MAINRUINCOLOR
  7869. for i = 0,4,0.1 do
  7870. swait()
  7871. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7872. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7873. 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)
  7874. 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)
  7875. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  7876. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  7877. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  7878. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  7879. end
  7880. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  7881. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  7882. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  7883. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  7884. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  7885. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  7886. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  7887. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  7888. coroutine.resume(coroutine.create(function()
  7889. local eff = Instance.new("ParticleEmitter",cen)
  7890. eff.Texture = "rbxassetid://2344870656"
  7891. eff.LightEmission = 1
  7892. eff.Color = ColorSequence.new(keptcolor.Color)
  7893. eff.Rate = 10000000
  7894. eff.Enabled = true
  7895. eff.EmissionDirection = "Front"
  7896. eff.Lifetime = NumberRange.new(2)
  7897. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  7898. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7899. eff.Speed = NumberRange.new(500)
  7900. eff.Drag = 5
  7901. eff.Rotation = NumberRange.new(-500,500)
  7902. eff.SpreadAngle = Vector2.new(0,900)
  7903. eff.RotSpeed = NumberRange.new(-500,500)
  7904. wait(0.2)
  7905. eff.Enabled = false
  7906. wait(5)
  7907. eff:Destroy()
  7908. end))
  7909. hum.CameraOffset = vt(0,0,0)
  7910. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7911. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7912. for i = 0, 24 do
  7913. 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"))
  7914. end
  7915. local rrot = 0
  7916. coroutine.resume(coroutine.create(function()
  7917. for i = 0, 4 do
  7918. rrot = rrot + 45
  7919. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7920. xa.Anchored = true
  7921. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7922. xb.Anchored = true
  7923. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7924. xc.Anchored = true
  7925. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7926. xd.Anchored = true
  7927. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  7928. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  7929. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  7930. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  7931. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  7932. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  7933. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  7934. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  7935. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  7936. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  7937. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  7938. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  7939. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  7940. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  7941. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  7942. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  7943. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7944. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7945. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7946. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7947. for i = 0, 9 do
  7948. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  7949. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  7950. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  7951. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  7952. end
  7953. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7954. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7955. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7956. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7957. 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)
  7958. 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)
  7959. 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)
  7960. 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)
  7961. 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))
  7962. 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))
  7963. 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))
  7964. 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))
  7965. game:GetService("Debris"):AddItem(xa, 5)
  7966. game:GetService("Debris"):AddItem(xb, 5)
  7967. game:GetService("Debris"):AddItem(xc, 5)
  7968. game:GetService("Debris"):AddItem(xd, 5)
  7969. coroutine.resume(coroutine.create(function()
  7970. for i = 0, 19 do
  7971. swait()
  7972. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7973. end
  7974. hum.CameraOffset = vt(0,0,0)
  7975. end))
  7976. swait(9)
  7977. end
  7978. end))
  7979. for i = 0,2,0.1 do
  7980. swait()
  7981. 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)
  7982. 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)
  7983. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  7984. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  7985. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  7986. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  7987. end
  7988. attack = false
  7989. hum.WalkSpeed = storehumanoidWS
  7990. end
  7991.  
  7992. function EndGROUND()
  7993. attack = true
  7994. hum.WalkSpeed = 0
  7995. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  7996. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  7997. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  7998. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  7999. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  8000. local keptcolor = MAINRUINCOLOR
  8001. for i = 0,4,0.1 do
  8002. swait()
  8003. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  8004. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  8005. 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"))
  8006. 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)
  8007. 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)
  8008. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  8009. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  8010. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  8011. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  8012. end
  8013. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  8014. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  8015. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  8016. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  8017. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  8018. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  8019. coroutine.resume(coroutine.create(function()
  8020. local eff = Instance.new("ParticleEmitter",cen)
  8021. eff.Texture = "rbxassetid://2344870656"
  8022. eff.LightEmission = 1
  8023. eff.Color = ColorSequence.new(keptcolor.Color)
  8024. eff.Rate = 10000000
  8025. eff.Enabled = true
  8026. eff.EmissionDirection = "Front"
  8027. eff.Lifetime = NumberRange.new(2)
  8028. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  8029. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8030. eff.Speed = NumberRange.new(500)
  8031. eff.Drag = 5
  8032. eff.Rotation = NumberRange.new(-500,500)
  8033. eff.SpreadAngle = Vector2.new(0,900)
  8034. eff.RotSpeed = NumberRange.new(-500,500)
  8035. wait(0.2)
  8036. eff.Enabled = false
  8037. wait(5)
  8038. eff:Destroy()
  8039. end))
  8040. coroutine.resume(coroutine.create(function()
  8041. local shval = 10
  8042. for i = 0, 99 do
  8043. swait()
  8044. shval = shval - 0.1
  8045. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  8046. end
  8047. hum.CameraOffset = vt(0,0,0)
  8048. end))
  8049. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  8050. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  8051. for i = 0, 24 do
  8052. 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"))
  8053. end
  8054. local rrot = 0
  8055. local xam = 1
  8056. coroutine.resume(coroutine.create(function()
  8057. for i = 0, 14 do
  8058. --swait()
  8059. rrot = rrot + 40*xam
  8060. xam = xam + 0.25
  8061. local bonus = xam
  8062. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  8063. xa.Anchored = true
  8064. xa.Color = Color3.new(0,0,0)
  8065. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  8066. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  8067. local xc = 0
  8068. coroutine.resume(coroutine.create(function()
  8069. for i = 0, 99 do
  8070. swait()
  8071. xc = xc + 0.01
  8072. xa.Color = Color3.new(xc,0,0)
  8073. end
  8074. xa.Transparency = 1
  8075. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  8076. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  8077. for i = 0, 9 do
  8078. 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"))
  8079. end
  8080. 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)
  8081. 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)
  8082. 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))
  8083. game:GetService("Debris"):AddItem(xa, 5)
  8084. coroutine.resume(coroutine.create(function()
  8085. for i = 0, 19 do
  8086. swait()
  8087. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  8088. end
  8089. hum.CameraOffset = vt(0,0,0)
  8090. end))
  8091. end))
  8092. end
  8093. end))
  8094. for i = 0,2,0.1 do
  8095. swait()
  8096. 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)
  8097. 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)
  8098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  8099. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  8100. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  8101. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  8102. end
  8103. attack = false
  8104. hum.WalkSpeed = storehumanoidWS
  8105. end
  8106.  
  8107. function HeavenlyDisk()
  8108. attack = true
  8109. hum.WalkSpeed = 2
  8110. local keptcolor = MAINRUINCOLOR
  8111. local radm = math.random(1,3)
  8112. if radm == 1 then
  8113. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  8114. elseif radm == 2 then
  8115. bosschatfunc("Heavenly Disk!",MAINRUINCOLOR.Color,1)
  8116. elseif radm == 3 then
  8117. bosschatfunc("RA!!",MAINRUINCOLOR.Color,1)
  8118. end
  8119. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  8120. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  8121. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  8122. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  8123. for i = 0, 14 do
  8124. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  8125. end
  8126. for i = 0,2,0.1 do
  8127. swait()
  8128. 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)
  8129. 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)
  8130. 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)
  8131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  8132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  8133. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  8134. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  8135. end
  8136. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  8137. for i = 0,1,0.6 do
  8138. swait()
  8139. 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)
  8140. 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"))
  8141. 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)
  8142. 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)
  8143. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  8144. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  8145. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  8146. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  8147. end
  8148. for i = 0,1,0.6 do
  8149. swait()
  8150. 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)
  8151. 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"))
  8152. 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)
  8153. 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)
  8154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  8155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  8156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  8157. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  8158. end
  8159. for i = 0,1,0.6 do
  8160. swait()
  8161. 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)
  8162. 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"))
  8163. 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)
  8164. 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)
  8165. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  8166. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  8167. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  8168. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  8169. end
  8170. for i = 0,1,0.6 do
  8171. swait()
  8172. 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)
  8173. 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"))
  8174. 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)
  8175. 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)
  8176. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  8177. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  8178. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  8179. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  8180. end
  8181. local rot = 15
  8182. for i = 0, 2 do
  8183. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  8184. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  8185. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  8186. CreateMesh(dis,"Sphere",10,1,10)
  8187. local at1 = Instance.new("Attachment",dis)
  8188. at1.Position = vt(-5,0,0)
  8189. local at2 = Instance.new("Attachment",dis)
  8190. at2.Position = vt(5,0,0)
  8191. local trl = Instance.new('Trail',wed)
  8192. trl.Attachment0 = at1
  8193. trl.Attachment1 = at2
  8194. trl.Texture = "rbxassetid://1049219073"
  8195. trl.LightEmission = 1
  8196. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8197. trl.Color = ColorSequence.new(dis.Color)
  8198. trl.Lifetime = 0.6
  8199. local a = Instance.new("Part",workspace)
  8200. a.Name = "Direction"
  8201. a.Anchored = true
  8202. a.BrickColor = bc("Bright red")
  8203. a.Material = "Neon"
  8204. a.Transparency = 1
  8205. a.CanCollide = false
  8206. local ray = Ray.new(
  8207. dis.CFrame.p, -- origin
  8208. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  8209. )
  8210. local ignore = dis
  8211. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8212. a.BottomSurface = 10
  8213. a.TopSurface = 10
  8214. local distance = (dis.CFrame.p - position).magnitude
  8215. a.Size = Vector3.new(0.1, 0.1, 0.1)
  8216. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  8217. dis.CFrame = a.CFrame
  8218. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  8219. a:Destroy()
  8220. local bv = Instance.new("BodyVelocity")
  8221. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8222. bv.velocity = dis.CFrame.lookVector*250
  8223. bv.Parent = dis
  8224. game:GetService("Debris"):AddItem(dis, 5)
  8225. local hitted = false
  8226. coroutine.resume(coroutine.create(function()
  8227. dis.Touched:connect(function(hit)
  8228. if hitted == false and hit.Parent ~= char then
  8229. hitted = true
  8230. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  8231. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  8232. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  8233. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  8234. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  8235. coroutine.resume(coroutine.create(function()
  8236. local eff = Instance.new("ParticleEmitter",dis)
  8237. eff.Texture = "rbxassetid://2344870656"
  8238. eff.LightEmission = 1
  8239. eff.Color = ColorSequence.new(dis.Color)
  8240. eff.Rate = 10000000
  8241. eff.Enabled = true
  8242. eff.EmissionDirection = "Front"
  8243. eff.Lifetime = NumberRange.new(1)
  8244. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  8245. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8246. eff.Speed = NumberRange.new(150)
  8247. eff.Drag = 5
  8248. eff.Rotation = NumberRange.new(-500,500)
  8249. eff.SpreadAngle = Vector2.new(0,900)
  8250. eff.RotSpeed = NumberRange.new(-500,500)
  8251. wait(0.2)
  8252. eff.Enabled = false
  8253. end))
  8254. coroutine.resume(coroutine.create(function()
  8255. for i = 0, 9 do
  8256. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  8257. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8258. local at1 = Instance.new("Attachment",disr)
  8259. at1.Position = vt(-2,0,0)
  8260. local at2 = Instance.new("Attachment",disr)
  8261. at2.Position = vt(2,0,0)
  8262. local trl = Instance.new('Trail',disr)
  8263. trl.Attachment0 = at1
  8264. trl.FaceCamera = true
  8265. trl.Attachment1 = at2
  8266. trl.Texture = "rbxassetid://2342682798"
  8267. trl.LightEmission = 1
  8268. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8269. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  8270. trl.Lifetime = 0.5
  8271. local bv = Instance.new("BodyVelocity")
  8272. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8273. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  8274. bv.Parent = disr
  8275. local val = 0
  8276. coroutine.resume(coroutine.create(function()
  8277. swait(30)
  8278. for i = 0, 9 do
  8279. swait()
  8280. val = val + 0.1
  8281. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  8282. end
  8283. game:GetService("Debris"):AddItem(disr, 3)
  8284. end))
  8285. end
  8286. local eff = Instance.new("ParticleEmitter",dis)
  8287. eff.Texture = "rbxassetid://2273224484"
  8288. eff.LightEmission = 1
  8289. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  8290. eff.Rate = 500000
  8291. eff.Lifetime = NumberRange.new(0.5,2)
  8292. 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)})
  8293. 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)})
  8294. eff.Speed = NumberRange.new(20,250)
  8295. eff.Drag = 5
  8296. eff.Rotation = NumberRange.new(-500,500)
  8297. eff.VelocitySpread = 9000
  8298. eff.RotSpeed = NumberRange.new(-50,50)
  8299. wait(0.25)
  8300. eff.Enabled = false
  8301. end))
  8302. for i = 0, 9 do
  8303. 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"))
  8304. end
  8305. for i = 0, 19 do
  8306. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  8307. end
  8308. coroutine.resume(coroutine.create(function()
  8309. for i = 0, 19 do
  8310. swait()
  8311. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  8312. end
  8313. hum.CameraOffset = vt(0,0,0)
  8314. end))
  8315. dis.Anchored = true
  8316. dis.Transparency = 1
  8317. wait(8)
  8318. dis:Destroy()
  8319. end
  8320. end)
  8321. end))
  8322. rot = rot - 15
  8323. end
  8324. for i = 0,2,0.1 do
  8325. swait()
  8326. 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)
  8327. 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)
  8328. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  8329. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  8330. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  8331. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  8332. end
  8333. attack = false
  8334. hum.WalkSpeed = storehumanoidWS
  8335. end
  8336. function METEOR()
  8337. bosschatfunc("STAY AWAY FROM ME!!",MAINRUINCOLOR.Color,1)
  8338. attack = false
  8339.  
  8340. CFuncs["Sound"].Create("rbxassetid://840567549", root, 2222, 2)
  8341. CFuncs["Sound"].Create("rbxassetid://840567549", root, 2222, 2)
  8342. CFuncs["Sound"].Create("rbxassetid://840567549", root, 2222, 2)
  8343. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7, 1)
  8344.  
  8345.  
  8346. root.CFrame = root.CFrame + root.CFrame.lookVector*30
  8347. attack = false
  8348. wait(0.05)
  8349.  
  8350.  
  8351. hum.WalkSpeed = storehumanoidWS
  8352.  
  8353. sphere2(1,"Add",root.CFrame*CFrame.new(0,0,0),vt(30,140,30),1.5,1,1.5,BrickColor.new("Cyan"))
  8354. MagniDamage(root, 55, 89,219788936, 0, "Normal")
  8355. wait(0.05)
  8356. hum.WalkSpeed = 8
  8357. storehumanoidWS = 8
  8358. ModeOfGlitch = 1
  8359. end
  8360.  
  8361. function RapidBurst()
  8362. attack = true
  8363. hum.WalkSpeed = 0
  8364. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  8365. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  8366. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  8367. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  8368. local keptcolor = MAINRUINCOLOR
  8369. for i = 0,8,0.1 do
  8370. swait()
  8371. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  8372. 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())
  8373. 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)
  8374. 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)
  8375. 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)
  8376. 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)
  8377. 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)
  8378. 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)
  8379. 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)
  8380. end
  8381. for i = 0, 99 do
  8382. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8383. 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)))
  8384. local at1 = Instance.new("Attachment",dis)
  8385. at1.Position = vt(-25000,0,0)
  8386. local at2 = Instance.new("Attachment",dis)
  8387. at2.Position = vt(25000,0,0)
  8388. local trl = Instance.new('Trail',dis)
  8389. trl.Attachment0 = at1
  8390. trl.FaceCamera = true
  8391. trl.Attachment1 = at2
  8392. trl.Texture = "rbxassetid://1049219073"
  8393. trl.LightEmission = 1
  8394. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8395. trl.Color = ColorSequence.new(BrickColor.random().Color)
  8396. trl.Lifetime = 5
  8397. local bv = Instance.new("BodyVelocity")
  8398. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8399. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  8400. bv.Parent = dis
  8401. game:GetService("Debris"):AddItem(dis, 5)
  8402. end
  8403. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  8404. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  8405. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  8406. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  8407. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  8408. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  8409. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  8410. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  8411. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  8412. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  8413. hum.CameraOffset = vt(0,0,0)
  8414. for i = 0, 24 do
  8415. 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())
  8416. end
  8417. local distam = 0
  8418. coroutine.resume(coroutine.create(function()
  8419. for i = 0, 99 do
  8420. wait()
  8421. distam = distam + 1
  8422. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8423. xa.Anchored = true
  8424. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8425. game:GetService("Debris"):AddItem(xa, 5)
  8426. for i = 0, 4 do
  8427. 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())
  8428. end
  8429. coroutine.resume(coroutine.create(function()
  8430. local eff = Instance.new("ParticleEmitter",xa)
  8431. eff.Texture = "rbxassetid://2344870656"
  8432. eff.LightEmission = 1
  8433. eff.Color = ColorSequence.new(xa.Color)
  8434. eff.Rate = 10000000
  8435. eff.Enabled = true
  8436. eff.Lifetime = NumberRange.new(2.5)
  8437. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  8438. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8439. eff.Speed = NumberRange.new(200)
  8440. eff.Drag = 5
  8441. eff.Rotation = NumberRange.new(-500,500)
  8442. eff.SpreadAngle = Vector2.new(0,900)
  8443. eff.RotSpeed = NumberRange.new(-500,500)
  8444. wait(0.2)
  8445. eff.Enabled = false
  8446. end))
  8447. coroutine.resume(coroutine.create(function()
  8448. local eff = Instance.new("ParticleEmitter",xa)
  8449. eff.Texture = "rbxassetid://2273224484"
  8450. eff.LightEmission = 1
  8451. eff.Color = ColorSequence.new(BrickColor.random().Color)
  8452. eff.Rate = 500000
  8453. eff.Lifetime = NumberRange.new(1,3)
  8454. 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)})
  8455. 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)})
  8456. eff.Speed = NumberRange.new(50,500)
  8457. eff.Drag = 5
  8458. eff.Rotation = NumberRange.new(-500,500)
  8459. eff.VelocitySpread = 9000
  8460. eff.RotSpeed = NumberRange.new(-50,50)
  8461. wait(0.25)
  8462. eff.Enabled = false
  8463. end))
  8464. coroutine.resume(coroutine.create(function()
  8465. for i = 0, 19 do
  8466. swait()
  8467. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  8468. end
  8469. hum.CameraOffset = vt(0,0,0)
  8470. end))
  8471. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  8472. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  8473. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  8474. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  8475. end
  8476. end))
  8477. attack = false
  8478. hum.WalkSpeed = storehumanoidWS
  8479. end
  8480.  
  8481.  
  8482. function FallenOrbs()
  8483. attack = true
  8484. hum.WalkSpeed = 2
  8485. local keptcolor = MAINRUINCOLOR
  8486. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  8487. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  8488. local radm = math.random(1,3)
  8489. if radm == 1 then
  8490. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  8491. elseif radm == 2 then
  8492. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  8493. elseif radm == 3 then
  8494. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  8495. end
  8496. local obj1 = script.chring:Clone()
  8497. obj1.Parent = char
  8498. obj1.Transparency = 1
  8499. obj1.Color = BrickColor.new("Toothpaste").Color
  8500. local obj2 = script.spball:Clone()
  8501. obj2.Parent = char
  8502. obj2.Transparency = 1
  8503. obj2.Color = MAINRUINCOLOR.Color
  8504. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  8505. cfor.Anchored = true
  8506. cfor.CFrame = obj2.CFrame
  8507. local cef = Instance.new("ParticleEmitter",cfor)
  8508. cef.Texture = "rbxassetid://2344870656"
  8509. cef.LightEmission = 1
  8510. cef.Color = ColorSequence.new(obj2.Color)
  8511. cef.Rate = 150
  8512. cef.Lifetime = NumberRange.new(0.25)
  8513. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  8514. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  8515. cef.Speed = NumberRange.new(0)
  8516. local rval = 0
  8517. local eval = 1
  8518. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  8519. for i = 0,10,0.1 do
  8520. swait()
  8521. rval = rval + math.random(30,40)
  8522. eval = eval + 1.5
  8523. obj1.Transparency = obj1.Transparency - 0.003
  8524. obj1.Size = obj1.Size + vt(0,1,1)
  8525. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  8526. obj2.Transparency = obj2.Transparency - 0.005
  8527. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  8528. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  8529. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  8530. cfor.CFrame = obj2.CFrame
  8531. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Deep orange"))
  8532. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Toothpaste"))
  8533. 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)
  8534. 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)
  8535. 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)
  8536. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(-20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(70)),.3)
  8537. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 2 * math.cos(sine / 37)),math.rad(5 + 1 * math.cos(sine / 58)),math.rad(-70 + 2 * math.cos(sine / 53))),.3)
  8538. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 45))),.3)
  8539. 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)
  8540. end
  8541. cef.Enabled = false
  8542. coroutine.resume(coroutine.create(function()
  8543. for i = 0,49 do
  8544. swait()
  8545. rval = rval + 100
  8546. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  8547. obj2.Transparency = obj2.Transparency + 0.02
  8548. obj2.Size = obj2.Size + vt(5,5,5)
  8549. obj1.Transparency = obj1.Transparency + 0.02
  8550. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  8551. end
  8552. obj1:Destroy()
  8553. obj2:Destroy()
  8554. cfor:Destroy()
  8555. end))
  8556. for i = 0, 9 do
  8557. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Deep orange"))
  8558. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Toothpaste"))
  8559. end
  8560. sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,1,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  8561. sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),2,2,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  8562. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  8563. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  8564. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  8565. coroutine.resume(coroutine.create(function()
  8566. for i = 0, 19 do
  8567. swait()
  8568. local custcol = math.random(1,3)
  8569. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  8570. if custcol == 1 then
  8571. dis.BrickColor = MAINRUINCOLOR
  8572. elseif custcol == 2 then
  8573. dis.BrickColor = BrickColor.new("Toothpaste")
  8574. elseif custcol == 3 then
  8575. dis.BrickColor = BrickColor.new("Deep orange")
  8576. end
  8577. dis.Anchored = true
  8578. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  8579. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  8580. CreateMesh(dis,"Sphere",2,2,2)
  8581. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  8582. 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"))
  8583. coroutine.resume(coroutine.create(function()
  8584. wait(0.5)
  8585. dis.Anchored = false
  8586. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  8587. local at1 = Instance.new("Attachment",dis)
  8588. at1.Position = vt(-1,0,0)
  8589. local at2 = Instance.new("Attachment",dis)
  8590. at2.Position = vt(1,0,0)
  8591. local trl = Instance.new('Trail',dis)
  8592. trl.Attachment0 = at1
  8593. trl.FaceCamera = true
  8594. trl.Attachment1 = at2
  8595. trl.Texture = "rbxassetid://1049219073"
  8596. trl.LightEmission = 1
  8597. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8598. trl.Color = ColorSequence.new(dis.Color)
  8599. trl.Lifetime = 0.6
  8600. local a = Instance.new("Part",workspace)
  8601. a.Name = "Direction"
  8602. a.Anchored = true
  8603. a.BrickColor = bc("Bright red")
  8604. a.Material = "Neon"
  8605. a.Transparency = 1
  8606. a.CanCollide = false
  8607. local ray = Ray.new(
  8608. dis.CFrame.p, -- origin
  8609. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  8610. )
  8611. local ignore = dis
  8612. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8613. a.BottomSurface = 10
  8614. a.TopSurface = 10
  8615. local distance = (dis.CFrame.p - position).magnitude
  8616. a.Size = Vector3.new(0.1, 0.1, 0.1)
  8617. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  8618. dis.CFrame = a.CFrame
  8619. a:Destroy()
  8620. local bv = Instance.new("BodyVelocity")
  8621. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8622. bv.velocity = dis.CFrame.lookVector*500
  8623. bv.Parent = dis
  8624. game:GetService("Debris"):AddItem(dis, 5)
  8625. local hitted = false
  8626. coroutine.resume(coroutine.create(function()
  8627. dis.Touched:connect(function(hit)
  8628. if hitted == false and hit.Parent ~= char then
  8629. hitted = true
  8630. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  8631. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  8632. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  8633. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  8634. coroutine.resume(coroutine.create(function()
  8635. local eff = Instance.new("ParticleEmitter",dis)
  8636. eff.Texture = "rbxassetid://2344870656"
  8637. eff.LightEmission = 1
  8638. eff.Color = ColorSequence.new(dis.Color)
  8639. eff.Rate = 10000000
  8640. eff.Enabled = true
  8641. --eff.EmissionDirection = "Front"
  8642. eff.Lifetime = NumberRange.new(3)
  8643. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  8644. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  8645. eff.Speed = NumberRange.new(250)
  8646. eff.Drag = 5
  8647. eff.Rotation = NumberRange.new(-500,500)
  8648. eff.SpreadAngle = Vector2.new(0,900)
  8649. eff.RotSpeed = NumberRange.new(-500,500)
  8650. wait(0.2)
  8651. eff.Enabled = false
  8652. end))
  8653. coroutine.resume(coroutine.create(function()
  8654. for i = 0, 4 do
  8655. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  8656. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  8657. local at1 = Instance.new("Attachment",disr)
  8658. at1.Position = vt(-10,0,0)
  8659. local at2 = Instance.new("Attachment",disr)
  8660. at2.Position = vt(10,0,0)
  8661. local trl = Instance.new('Trail',disr)
  8662. trl.Attachment0 = at1
  8663. trl.FaceCamera = true
  8664. trl.Attachment1 = at2
  8665. trl.Texture = "rbxassetid://2342682798"
  8666. trl.LightEmission = 1
  8667. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  8668. trl.Color = ColorSequence.new(disr.Color)
  8669. trl.Lifetime = 0.5
  8670. local bv = Instance.new("BodyVelocity")
  8671. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  8672. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  8673. bv.Parent = disr
  8674. local val = 0
  8675. coroutine.resume(coroutine.create(function()
  8676. swait(30)
  8677. for i = 0, 9 do
  8678. swait()
  8679. val = val + 0.1
  8680. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  8681. end
  8682. game:GetService("Debris"):AddItem(disr, 3)
  8683. end))
  8684. end
  8685. local eff = Instance.new("ParticleEmitter",dis)
  8686. eff.Texture = "rbxassetid://2273224484"
  8687. eff.LightEmission = 1
  8688. eff.Color = ColorSequence.new(dis.Color)
  8689. eff.Rate = 500000
  8690. eff.Lifetime = NumberRange.new(0.5,2)
  8691. 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)})
  8692. 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)})
  8693. eff.Speed = NumberRange.new(20,250)
  8694. eff.Drag = 5
  8695. eff.Rotation = NumberRange.new(-500,500)
  8696. eff.VelocitySpread = 9000
  8697. eff.RotSpeed = NumberRange.new(-50,50)
  8698. wait(0.5)
  8699. eff.Enabled = false
  8700. end))
  8701. for i = 0, 4 do
  8702. 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"))
  8703. end
  8704. coroutine.resume(coroutine.create(function()
  8705. for i = 0, 19 do
  8706. swait()
  8707. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  8708. end
  8709. hum.CameraOffset = vt(0,0,0)
  8710. end))
  8711. dis.Anchored = true
  8712. dis.Transparency = 1
  8713. wait(8)
  8714. dis:Destroy()
  8715. end
  8716. end)
  8717. end))
  8718. end))
  8719. end
  8720. end))
  8721. for i = 0,9,0.1 do
  8722. swait()
  8723. 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)
  8724. 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)
  8725. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  8726. 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)
  8727. 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)
  8728. 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)
  8729. end
  8730. attack = false
  8731. hum.WalkSpeed = storehumanoidWS
  8732. end
  8733.  
  8734. function Remembrance()
  8735. ModeOfGlitch = 309
  8736. storehumanoidWS = 16
  8737. hum.WalkSpeed = 16
  8738. rainbowmode = false
  8739. chaosmode = false
  8740. Special.Text = "Special: None"
  8741. img666.Image = "rbxassetid://2805951110"
  8742. RecolorTextAndRename("Remembrance Earthy",Color3.new(0,0,0),Color3.new(0,0,221),"Antique")
  8743. newThemeCust("rbxassetid://2581163639",58.15,0.98,5)
  8744. bosschatfunc("...",MAINRUINCOLOR.Color,2)
  8745. warnedpeople("Remember This?","Arcade",BrickColor.new("Dark blue").Color,BrickColor.new("Cyan").Color)
  8746. disably = false
  8747. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8748. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8749. end
  8750.  
  8751. function EquinoxOrbs()
  8752. hum.WalkSpeed = 0
  8753. attack = true
  8754. for i = 0,1,0.1 do
  8755. swait()
  8756. 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)
  8757. 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)
  8758. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  8759. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  8760. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  8761. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  8762. end
  8763. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  8764. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  8765. for i = 0, 24 do
  8766. 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"))
  8767. end
  8768. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  8769. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  8770. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  8771. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  8772. for i = 0,4,0.1 do
  8773. swait()
  8774. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  8775. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  8776. CreateMesh(dis,"Sphere",1,1,1)
  8777. dis.Anchored = true
  8778. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  8779. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  8780. CreateMesh(dis2,"Sphere",1,1,1)
  8781. dis2.Anchored = true
  8782. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  8783. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  8784. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  8785. coroutine.resume(coroutine.create(function()
  8786. swait(60)
  8787. dis.Transparency = 1
  8788. dis2.Transparency = 1
  8789. coroutine.resume(coroutine.create(function()
  8790. for i = 0, 19 do
  8791. swait()
  8792. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  8793. end
  8794. hum.CameraOffset = vt(0,0,0)
  8795. end))
  8796. coroutine.resume(coroutine.create(function()
  8797. local eff = Instance.new("ParticleEmitter",dis)
  8798. eff.Texture = "rbxassetid://2273224484"
  8799. eff.LightEmission = 1
  8800. eff.Color = ColorSequence.new(dis.Color)
  8801. eff.Rate = 500000
  8802. eff.Lifetime = NumberRange.new(0.5,2)
  8803. 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)})
  8804. 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)})
  8805. eff.Speed = NumberRange.new(50,450)
  8806. eff.Drag = 5
  8807. eff.Rotation = NumberRange.new(-500,500)
  8808. eff.VelocitySpread = 9000
  8809. eff.RotSpeed = NumberRange.new(-50,50)
  8810. local eff2 = eff:Clone()
  8811. eff2.Parent = dis2
  8812. eff2.LightEmission = 0
  8813. eff2.Color = ColorSequence.new(dis2.Color)
  8814. wait(0.25)
  8815. eff.Enabled = false
  8816. eff2.Enabled = false
  8817. end))
  8818. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  8819. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  8820. for i = 0, 2 do
  8821. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  8822. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  8823. end
  8824. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  8825. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  8826. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  8827. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  8828. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  8829. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  8830. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  8831. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  8832. end))
  8833. game:GetService("Debris"):AddItem(dis, 5)
  8834. game:GetService("Debris"):AddItem(dis2, 5)
  8835. 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)
  8836. 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)
  8837. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  8838. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  8839. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  8840. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  8841. end
  8842. attack = false
  8843. hum.WalkSpeed = storehumanoidWS
  8844. end
  8845. function DivineLights()
  8846. attack = true
  8847. local keptcolor = MAINRUINCOLOR
  8848. coroutine.resume(coroutine.create(function()
  8849. for i = 0, 0 do
  8850. swait(10)
  8851. local orb = Instance.new("Part", char)
  8852. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  8853. orb.BrickColor = keptcolor
  8854. orb.CanCollide = false
  8855. orb.FormFactor = 3
  8856. orb.Name = "Ring"
  8857. orb.Material = "Neon"
  8858. orb.Size = Vector3.new(1, 1, 1)
  8859. orb.Transparency = 1
  8860. orb.TopSurface = 0
  8861. orb.BottomSurface = 0
  8862. orb.Anchored = true
  8863. local orbm = Instance.new("SpecialMesh", orb)
  8864. orbm.MeshType = "Sphere"
  8865. orbm.Name = "SizeMesh"
  8866. orbm.Scale = vt(1.25,1.25,1.25)
  8867. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  8868. coroutine.resume(coroutine.create(function()
  8869. orb.Transparency = 1
  8870. local a = Instance.new("Part",char)
  8871. a.Name = "Direction"
  8872. a.Anchored = true
  8873. a.BrickColor = keptcolor
  8874. a.Material = "Neon"
  8875. a.Transparency = 1
  8876. a.Shape = "Cylinder"
  8877. local x = Instance.new("Part",char)
  8878. x.Name = "Direction"
  8879. x.Anchored = true
  8880. x.BrickColor = keptcolor
  8881. x.Material = "Neon"
  8882. x.Transparency = 1
  8883. x.Shape = "Cylinder"
  8884. local ht = Instance.new("Part",char)
  8885. ht.Name = "DirectionHit"
  8886. ht.Anchored = true
  8887. ht.BrickColor = keptcolor
  8888. ht.CanCollide = false
  8889. ht.Transparency = 1
  8890. ht.Size = vt(0.1,0.1,0.1)
  8891. a.CanCollide = false
  8892. local ray = Ray.new(
  8893. orb.CFrame.p, -- origin
  8894. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  8895. )
  8896. local ignore = char
  8897. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8898. a.BottomSurface = 10
  8899. a.TopSurface = 10
  8900. local distance = (orb.CFrame.p - position).magnitude
  8901. a.Size = Vector3.new(distance,1,1)
  8902. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8903. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8904. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  8905. local poste = 0
  8906. local rotation = 0
  8907. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  8908. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  8909. CameraEnshaking(2,2)
  8910. for i = 0, 49 do
  8911. swait()
  8912. rotation = rotation + 5
  8913. poste = poste + 1
  8914. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8915. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8916. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8917. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8918. end
  8919. local A1 = Instance.new("Attachment",x)
  8920. local A2 = Instance.new("Attachment",ht)
  8921. local Beem = Instance.new("Beam",ht)
  8922. Beem.Attachment0 = A1
  8923. Beem.Attachment1 = A2
  8924. Beem.LightEmission = 1
  8925. Beem.FaceCamera = true
  8926. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  8927. Beem.Width0 = 125
  8928. Beem.Width1 = 125
  8929. Beem.Texture = "rbxassetid://1134824633"
  8930. Beem.TextureMode = "Wrap"
  8931. Beem.TextureLength = 200
  8932. Beem.TextureSpeed = 1.5
  8933. Beem.Color = ColorSequence.new(keptcolor.Color)
  8934. CameraEnshaking(3,6)
  8935. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  8936. a.Transparency = 0.25
  8937. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  8938. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  8939. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  8940. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  8941. local eff = Instance.new("ParticleEmitter",ht)
  8942. eff.Texture = "rbxassetid://284205403"
  8943. eff.LightEmission = 0.95
  8944. eff.Color = ColorSequence.new(keptcolor.Color)
  8945. eff.Rate = 500
  8946. eff.Lifetime = NumberRange.new(1)
  8947. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  8948. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  8949. eff.Speed = NumberRange.new(80,500)
  8950. eff.Drag = 5
  8951. eff.Rotation = NumberRange.new(-500,500)
  8952. eff.VelocitySpread = 9000
  8953. eff.RotSpeed = NumberRange.new(-500,500)
  8954. for i = 0, 24 do
  8955. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  8956. local rsiz = math.random(10,50)
  8957. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*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)
  8958. end
  8959. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8960. local msh = Instance.new("SpecialMesh",a)
  8961. msh.MeshType = "Cylinder"
  8962. msh.Scale = vt(1,15,15)
  8963. for i = 0, 49 do
  8964. swait()
  8965. CameraEnshaking(1,4)
  8966. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  8967. rotation = rotation + 5
  8968. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  8969. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  8970. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  8971. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  8972. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  8973. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  8974. for i = 0, 2 do
  8975. local rsiz = math.random(50,250)
  8976. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*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)
  8977. end
  8978. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  8979. end
  8980. eff.Enabled = false
  8981. local visibility = 0
  8982. for i = 0, 49 do
  8983. swait()
  8984. visibility = visibility + 0.02
  8985. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  8986. rotation = rotation + 5
  8987. poste = poste - 1
  8988. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8989. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8990. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  8991. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  8992. a.Transparency = a.Transparency + 0.02
  8993. end
  8994. wait(1)
  8995. orb:Destroy()
  8996. a:Destroy()
  8997. ht:Destroy()
  8998. end))
  8999. game:GetService("Debris"):AddItem(orb, 10)
  9000. end
  9001. end))
  9002. hum.WalkSpeed = storehumanoidWS
  9003. attack = false
  9004. end
  9005. function WarpedDash()
  9006. attack = true
  9007. hum.WalkSpeed = 0
  9008. hum.JumpPower = 0
  9009. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  9010. local poste = 3
  9011. local rotation = 0
  9012. local rate = 0
  9013. for i = 0, 124 do
  9014. swait()
  9015. rotation = rotation + rate
  9016. poste = poste + 0.1
  9017. rate = rate + 1
  9018. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  9019. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  9020. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  9021. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  9022. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  9023. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  9024. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  9025. 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)),.5)
  9026. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  9027. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  9028. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  9029. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  9030. end
  9031. CameraEnshaking(3,7)
  9032. local loc = Instance.new("Part", char)
  9033. loc.BrickColor = MAINRUINCOLOR
  9034. loc.CanCollide = false
  9035. loc.FormFactor = 3
  9036. loc.Name = "Ring"
  9037. loc.Material = "Neon"
  9038. loc.Size = Vector3.new(1, 1, 1)
  9039. loc.Transparency = 1
  9040. loc.TopSurface = 0
  9041. loc.BottomSurface = 0
  9042. loc.Anchored = true
  9043. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  9044. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  9045. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  9046. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  9047. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  9048. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  9049. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  9050. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  9051. coroutine.resume(coroutine.create(function()
  9052. local eff = Instance.new("ParticleEmitter",loc)
  9053. eff.Texture = "rbxassetid://363275192"
  9054. eff.LightEmission = 0.95
  9055. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9056. eff.Rate = 10000
  9057. eff.Lifetime = NumberRange.new(1)
  9058. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  9059. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  9060. eff.Speed = NumberRange.new(100,500)
  9061. eff.Drag = 5
  9062. eff.Rotation = NumberRange.new(-500,500)
  9063. eff.VelocitySpread = 9000
  9064. eff.RotSpeed = NumberRange.new(-50,50)
  9065. wait(0.5)
  9066. eff.Enabled = false
  9067. end))
  9068. for i = 0, 49 do
  9069. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  9070. end
  9071. for i = 0, 9 do
  9072. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  9073. end
  9074. game:GetService("Debris"):AddItem(loc, 5)
  9075. root.CFrame = root.CFrame + root.CFrame.lookVector*0
  9076. hum.WalkSpeed = storehumanoidWS
  9077. hum.JumpPower = 50
  9078. attack = false
  9079. end
  9080.  
  9081. function LocoSoulKill()
  9082. attack = true
  9083. hum.WalkSpeed = 0
  9084. local rd = math.random(1,5)
  9085. if rd == 1 then
  9086. chatfunc("Do you wanna play hide and seek?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9087. elseif rd == 2 then
  9088. chatfunc("Wanna Die?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9089. elseif rd == 3 then
  9090. chatfunc("=)",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9091. elseif rd == 4 then
  9092. chatfunc("hehehehehehe....",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9093. elseif rd == 5 then
  9094. chatfunc("I will kill you...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9095. end
  9096. for i = 0, 8, 0.1 do
  9097. swait()
  9098. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  9099. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  9100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  9101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  9102. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  9103. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  9104. end
  9105. attack = false
  9106. end
  9107.  
  9108. function BallRamp()
  9109. attack = true
  9110. for i = 0,1,0.1 do
  9111. swait()
  9112. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  9113. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  9114. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  9115. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  9116. 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(10)),.3)
  9117. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3)
  9118. end
  9119. CameraEnshaking(3,4)
  9120. MagniDamage(root, 12, 15,30, 0, "Normal")
  9121. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  9122. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  9123. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  9124. coroutine.resume(coroutine.create(function()
  9125. local eff = Instance.new("ParticleEmitter",root)
  9126. eff.Texture = "rbxassetid://363275192"
  9127. eff.LightEmission = 0.95
  9128. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  9129. eff.Rate = 10000
  9130. eff.Lifetime = NumberRange.new(1)
  9131. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  9132. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  9133. eff.Speed = NumberRange.new(10,125)
  9134. eff.Drag = 5
  9135. eff.Rotation = NumberRange.new(-500,500)
  9136. eff.VelocitySpread = 9000
  9137. eff.RotSpeed = NumberRange.new(-50,50)
  9138. local eff2 = eff:Clone()
  9139. eff2.Parent = root
  9140. eff2.Texture = "rbxassetid://284205403"
  9141. eff2.Rate = 10000
  9142. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  9143. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  9144. eff2.Drag = 5
  9145. eff2.Speed = NumberRange.new(10,50)
  9146. eff2.Rotation = NumberRange.new(-500,500)
  9147. eff2.VelocitySpread = 9000
  9148. wait(0.25)
  9149. eff2.Enabled = false
  9150. eff.Enabled = false
  9151. wait(3)
  9152. eff2:Destroy()
  9153. eff:Destroy()
  9154. end))
  9155. for i = 0, 9 do
  9156. sphere2(7.5,"Add",root.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.0025,1,-0.0025,MAINRUINCOLOR)
  9157. end
  9158. for i = 0, 24 do
  9159. local rsiz = math.random(5,20)
  9160. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  9161. end
  9162. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  9163. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  9164. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  9165. for i = 0,2,0.1 do
  9166. swait()
  9167. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9168. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9169. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9170. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9171. 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(-10)),.3)
  9172. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  9173. end
  9174. attack = false
  9175. end
  9176.  
  9177. function CORE()
  9178. attack = true
  9179. local keptcolor = MAINRUINCOLOR
  9180. for i = 0,1,0.01 do
  9181. swait()
  9182. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  9183. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  9184. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  9185. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  9186. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  9187. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  9188. end
  9189. local distlook = 5
  9190. coroutine.resume(coroutine.create(function()
  9191. for i = 0, 5 do
  9192. swait(2)
  9193. CameraEnshaking(2,3)
  9194. local hite = Instance.new("Part", char)
  9195. hite.Anchored = true
  9196. hite.CanCollide = false
  9197. hite.FormFactor = 3
  9198. hite.Name = "Ring"
  9199. hite.Material = "Neon"
  9200. hite.Size = Vector3.new(1, 1, 1)
  9201. hite.Transparency = 1
  9202. hite.TopSurface = 0
  9203. hite.BottomSurface = 0
  9204. hite.CFrame = root.CFrame*CFrame.new(0,0,-distlook)
  9205. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(50,1,200),0.2,0.001,0.2,keptcolor)
  9206. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(50,200,200),-0.045,0.15,-0.045,keptcolor)
  9207. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(50,200,200),-0.025,0.25,-0.025,keptcolor)
  9208. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(50,200,200),-0.015,0.35,-0.015,keptcolor)
  9209. MagniDamage(hite, 1000, 1000,1000, 1000, "Normal")
  9210. for i = 0, 1 do
  9211. local rsiz = math.random(2,2)
  9212. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  9213. end
  9214. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  9215. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  9216. game:GetService("Debris"):AddItem(hite, 5)
  9217. distlook = distlook + 9
  9218. end
  9219. end))
  9220. for i = 0,1,0.1 do
  9221. swait()
  9222. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  9223. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  9224. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  9225. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  9226. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
  9227. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
  9228. end
  9229. attack = false
  9230. end
  9231.  
  9232. function ExplosionRamp()
  9233. attack = true
  9234. local keptcolor = MAINRUINCOLOR
  9235. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  9236. for i = 0,1,0.1 do
  9237. swait()
  9238. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  9239. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  9240. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  9241. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  9242. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  9243. 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)),.5)
  9244. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  9245. end
  9246. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  9247. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  9248. local angle = -25
  9249. coroutine.resume(coroutine.create(function()
  9250. for i = 0, 2 do
  9251. local orb = Instance.new("Part", char)
  9252. orb.BrickColor = MAINRUINCOLOR
  9253. orb.CanCollide = false
  9254. orb.FormFactor = 3
  9255. orb.Name = "Ring"
  9256. orb.Material = "Neon"
  9257. orb.Size = Vector3.new(1, 1, 1)
  9258. orb.Transparency = 0.5
  9259. orb.TopSurface = 0
  9260. orb.BottomSurface = 0
  9261. local orbm = Instance.new("SpecialMesh", orb)
  9262. orbm.MeshType = "Sphere"
  9263. orbm.Name = "SizeMesh"
  9264. orbm.Scale = vt(3,3,3)
  9265. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  9266. local bv = Instance.new("BodyVelocity")
  9267. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9268. bv.velocity = orb.CFrame.lookVector*100
  9269. bv.Parent = orb
  9270. game:GetService("Debris"):AddItem(orb, 10)
  9271. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  9272. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  9273. coroutine.resume(coroutine.create(function()
  9274. MagniDamage(orb, 6, 8,15, 0, "Normal")
  9275. for i = 0, 7 do
  9276. swait(2.5)
  9277. CameraEnshaking(1,2)
  9278. MagniDamage(orb, 6, 8,15, 0, "Normal")
  9279. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  9280. for i = 0, 4 do
  9281. local rsiz = math.random(5,10)
  9282. 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(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  9283. sphereMK(math.random(2,6),0.15,"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)
  9284. end
  9285. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  9286. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  9287. end
  9288. orb.Transparency = 1
  9289. orb.Anchored = false
  9290. wait(10)
  9291. orb:Destroy()
  9292. end))
  9293. angle = angle + 25
  9294. end
  9295. end))
  9296. for i = 0,1,0.1 do
  9297. swait()
  9298. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9299. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  9300. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  9301. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  9302. 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(-10)),.3)
  9303. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  9304. end
  9305. attack = false
  9306. end
  9307.  
  9308.  
  9309. function SHDTwist()
  9310. attack = true
  9311. hum.WalkSpeed = 2
  9312. local radm = math.random(1,3)
  9313. if radm == 1 then
  9314. bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1)
  9315. elseif radm == 2 then
  9316. bosschatfunc("How cute.",MAINRUINCOLOR.Color,1)
  9317. elseif radm == 3 then
  9318. bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1)
  9319. end
  9320. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  9321. local obj1 = script.chring2:Clone()
  9322. obj1.Parent = char
  9323. obj1.Transparency = 1
  9324. obj1.Size = vt(1,1,1)
  9325. obj1.Color = BrickColor.new("Pink").Color
  9326. local obj2 = script.spball:Clone()
  9327. obj2.Parent = char
  9328. obj2.Transparency = 1
  9329. obj2.Size = vt(1,1,1)
  9330. obj2.Color = MAINRUINCOLOR.Color
  9331. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  9332. cfor.Anchored = true
  9333. cfor.CFrame = obj2.CFrame
  9334. local cef = Instance.new("ParticleEmitter",cfor)
  9335. cef.Texture = "rbxassetid://2344870656"
  9336. cef.LightEmission = 1
  9337. cef.Color = ColorSequence.new(obj2.Color)
  9338. cef.Rate = 150
  9339. cef.Lifetime = NumberRange.new(0.25)
  9340. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  9341. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  9342. cef.Speed = NumberRange.new(0)
  9343. local rval = 0
  9344. local eval = 1
  9345. for i = 0,7,0.1 do
  9346. swait()
  9347. rval = rval + math.random(30,40)
  9348. eval = eval + 0.45
  9349. obj1.Transparency = obj1.Transparency - 0.005
  9350. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  9351. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  9352. obj2.Transparency = obj2.Transparency - 0.007
  9353. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  9354. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  9355. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  9356. cfor.CFrame = obj2.CFrame
  9357. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  9358. sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  9359. 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)
  9360. 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)
  9361. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-50)),.3)
  9362. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  9363. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  9364. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  9365. end
  9366. cef.Enabled = false
  9367. coroutine.resume(coroutine.create(function()
  9368. for i = 0,49 do
  9369. swait()
  9370. rval = rval + 100
  9371. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  9372. obj2.Transparency = obj2.Transparency + 0.02
  9373. obj2.Size = obj2.Size + vt(5,5,5)
  9374. obj1.Transparency = obj1.Transparency + 0.02
  9375. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  9376. end
  9377. obj1:Destroy()
  9378. obj2:Destroy()
  9379. cfor:Destroy()
  9380. end))
  9381. local lva = 1
  9382. local ica = 0
  9383. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  9384. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  9385. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  9386. sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  9387. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  9388.  
  9389. local a = Instance.new("Part",workspace)
  9390. a.Name = "Direction"
  9391. a.Anchored = true
  9392. a.BrickColor = bc("Bright red")
  9393. a.Material = "Neon"
  9394. a.Transparency = 1
  9395. a.CanCollide = false
  9396. local ray = Ray.new(
  9397. cent.CFrame.p, -- origin
  9398. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  9399. )
  9400. local ignore = cent
  9401. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  9402. a.BottomSurface = 10
  9403. a.TopSurface = 10
  9404. local distance = (cent.CFrame.p - position).magnitude
  9405. a.Size = Vector3.new(0.1, 0.1, 0.1)
  9406. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  9407. cent.CFrame = a.CFrame
  9408. a:Destroy()
  9409. local bv = Instance.new("BodyVelocity")
  9410. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  9411. bv.velocity = cent.CFrame.lookVector*0
  9412. bv.Parent = cent
  9413. game:GetService("Debris"):AddItem(cent, 20)
  9414. local hitted = false
  9415. coroutine.resume(coroutine.create(function()
  9416. while true do
  9417. swait(1)
  9418. if hitted == false and cent.Parent ~= nil then
  9419. ica = ica + 4*lva
  9420. lva = lva + 0.1
  9421. bv.velocity = cent.CFrame.lookVector*ica
  9422. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  9423. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
  9424. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
  9425. elseif hitted == true or cent.Parent == nil then
  9426. break
  9427. end
  9428. end
  9429. end))
  9430. coroutine.resume(coroutine.create(function()
  9431. cent.Touched:connect(function(hit)
  9432. if hitted == false and hit.Parent ~= char then
  9433. hitted = true
  9434. cent.Anchored = true
  9435. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  9436. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  9437. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  9438. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  9439. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  9440. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  9441. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  9442. for i = 0, 19 do
  9443. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,400)/250,BrickColor.new("Pink"))
  9444. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,300)/250,BrickColor.new("Pastel light blue"))
  9445. end
  9446. coroutine.resume(coroutine.create(function()
  9447. local eff = Instance.new("ParticleEmitter",cent)
  9448. eff.Texture = "rbxassetid://2344870656"
  9449. eff.LightEmission = 1
  9450. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  9451. eff.Rate = 10000000
  9452. eff.Enabled = true
  9453. --eff.EmissionDirection = "Front"
  9454. eff.Lifetime = NumberRange.new(5)
  9455. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
  9456. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  9457. eff.Speed = NumberRange.new(350)
  9458. eff.Drag = 5
  9459. eff.Rotation = NumberRange.new(-500,500)
  9460. eff.SpreadAngle = Vector2.new(0,900)
  9461. eff.RotSpeed = NumberRange.new(-500,500)
  9462. local eff2 = eff:Clone()
  9463. eff2.Parent = cent
  9464. eff2.Speed = NumberRange.new(250)
  9465. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  9466. wait(0.2)
  9467. eff.Enabled = false
  9468. eff2.Enabled = false
  9469. end))
  9470. end
  9471. end)
  9472. end))
  9473. attack = false
  9474. hum.WalkSpeed = storehumanoidWS
  9475. end
  9476. -------------------------------------
  9477.  
  9478. Humanoid.Animator.Parent = nil
  9479.  
  9480. -------------------------------------
  9481.  
  9482. function burstswitch(col1,col2)
  9483. local effx = Instance.new("ParticleEmitter",root)
  9484. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  9485. effx.LightEmission = 1
  9486. effx.Color = ColorSequence.new(col1)
  9487. effx.Rate = 500000
  9488. effx.Lifetime = NumberRange.new(0.25,0.75)
  9489. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  9490. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.8,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  9491. effx.Speed = NumberRange.new(0,10)
  9492. effx.Drag = 5
  9493. effx.Rotation = NumberRange.new(-500,500)
  9494. effx.VelocitySpread = 9000
  9495. effx.RotSpeed = NumberRange.new(-50,50)
  9496. local effx2 = effx:Clone()
  9497. effx2.Parent = root
  9498. effx2.Color = ColorSequence.new(col2)
  9499. effx2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,150,0)})
  9500. --CFuncs["Sound"].Create("rbxassetid://2095993595", root, 10, 1)
  9501. for i = 0, 1 do
  9502. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 5, 1)
  9503. CFuncs["Sound"].Create("rbxassetid://1042693018", root, 5, 0.8)
  9504. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 4,0.75)
  9505. CFuncs["Sound"].Create("rbxassetid://1664711478", root, 4,1)
  9506. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 0.75)
  9507. CFuncs["Sound"].Create("rbxassetid://782353443", root, 8, 0.9)
  9508. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 0.8)
  9509. CFuncs["Sound"].Create("rbxassetid://782353443", root, 4, 0.7)
  9510. end
  9511. spherec(1,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),1,1,1,col2)
  9512. spherec(2,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),1.5,1.5,1.5,col1)
  9513. spherec(3,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),2,2,2,col2)
  9514. spherec(4,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),2.5,2.5,2.5,col1)
  9515. symbolizeBlink(root,0,144580273,col1,25,0,0,0,root,true,-5,2)
  9516. symbolizeBlink(root,0,144580273,col2,20,0,0,0,root,true,-5,1)
  9517. symbolizeBlink(root,0,144580273,col2,22.5,0,0,0,root,true,-5,1.5)
  9518. symbolizeBlink(root,0,348103573,col2,22.5,0,0,0,root,true,-5,1.5)
  9519. symbolizeBlink(root,0,348103573,col2,30,0,0,0,root,true,-25,1)
  9520. symbolizeBlink(root,0,348103573,col1,40,0,0,0,root,true,-25,1)
  9521. coroutine.resume(coroutine.create(function()
  9522. wait(0.05)
  9523. effx.Enabled = false
  9524. effx2.Enabled = false
  9525. wait(2)
  9526. effx:Destroy()
  9527. effx2:Destroy()
  9528. end))
  9529. end
  9530. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  9531. for i, v in pairs(mw2:GetChildren()) do
  9532. if v:IsA("Part") then
  9533. v.BrickColor = one
  9534. v.Material = "Neon"
  9535. end
  9536. end
  9537. for i, v in pairs(mw1:GetChildren()) do
  9538. if v:IsA("Part") then
  9539. if secondaryenabled == false then
  9540. v.Transparency = 1
  9541. elseif secondaryenabled == true then
  9542. v.Transparency = 0
  9543. end
  9544. v.BrickColor = two
  9545. v.Material = "Neon"
  9546. end
  9547. end
  9548. if secondaryenabled == false then
  9549. elseif secondaryenabled == true then
  9550.  
  9551. end
  9552. for i, v in pairs(m:GetChildren()) do
  9553. if v:IsA("Part") then
  9554. v.BrickColor = three
  9555. v.Material = "Ice"
  9556. end
  9557. end
  9558. for i, v in pairs(m2:GetChildren()) do
  9559. if v:IsA("Part") then
  9560. v.BrickColor = four
  9561. v.Material = "Ice"
  9562. end
  9563. end
  9564. for i, v in pairs(m3:GetChildren()) do
  9565. if v:IsA("Part") then
  9566. v.BrickColor = five
  9567. v.Material = "Neon"
  9568. end
  9569. end
  9570. for i, v in pairs(extrawingmod1:GetChildren()) do
  9571. if v:IsA("Part") then
  9572. v.Transparency = exonetran
  9573. v.BrickColor = exone
  9574. v.Material = "Neon"
  9575. end
  9576. end
  9577. if sectrailenabled == true then
  9578. elseif sectrailenabled == false then
  9579. end
  9580. for i, v in pairs(extrawingmod2:GetChildren()) do
  9581. if v:IsA("Part") then
  9582. v.Transparency = extwotran
  9583. v.BrickColor = extwo
  9584. v.Material = "Neon"
  9585. end
  9586. end
  9587. end
  9588.  
  9589.  
  9590. local attacktype = 1
  9591. mouse.Button1Down:connect(function()
  9592. if attack == false and attacktype == 1 then
  9593. attacktype = 2
  9594. attackone()
  9595. elseif attack == false and attacktype == 2 then
  9596. attacktype = 3
  9597. attacktwo()
  9598. elseif attack == false and attacktype == 3 then
  9599. attacktype = 4
  9600. attackthree()
  9601. elseif attack == false and attacktype == 4 then
  9602. attacktype = 1
  9603. attackfour()
  9604. end
  9605. end)
  9606. mouse.KeyDown:connect(function(k)
  9607. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 1 then
  9608. --normalmog() ---Disabled due to crashing... only in VSB
  9609. ModeOfGlitch = 1
  9610. storehumanoidWS = 16
  9611. hum.WalkSpeed = 16
  9612. hum.JumpPower = 50
  9613. newTheme("rbxassetid://188400306",0,1,1)
  9614. RecolorTextAndRename("asd162430",Color3.new(222,222,222),Color3.new(0,50,50),"SciFi")
  9615. MAINRUINCOLOR = BrickColor.new("Cyan")
  9616. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  9617. end
  9618. if k == "q" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 4 then
  9619. hum.WalkSpeed = 0
  9620. attack = true
  9621. CFuncs["Sound"].Create("rbxassetid://1448033299", char, 23, 1)
  9622. hum.WalkSpeed = 0
  9623. local rd = math.random(1,5)
  9624. if rd == 1 then
  9625. chatfunc("How do you like this!?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9626. elseif rd == 2 then
  9627. chatfunc("How do you like this!?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9628. elseif rd == 3 then
  9629. chatfunc("How do you like this!?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9630. elseif rd == 4 then
  9631. chatfunc("How do you like this!?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9632. elseif rd == 5 then
  9633. chatfunc("How do you like this!?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  9634. end
  9635. for i = 0, 1.5, 0.1 do
  9636. swait()
  9637. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  9638. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  9639. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  9640. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  9641. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  9642. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  9643. end
  9644. attack = false
  9645.  
  9646. for i = 0, 9, 0.1 do
  9647. swait(0.5)
  9648. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(20)),.1)
  9649. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-20)),.1)
  9650. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  9651. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.1)
  9652. RW.C0=clerp(RW.C0,cf(1.05,0.5 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(140 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(-42 + 3 * math.cos(sine / 15))),.1)
  9653. LW.C0=clerp(LW.C0,cf(-1.05,0.5 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(130 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(42 - 3 * math.cos(sine / 15))),.1)
  9654. end
  9655. for i = 0, 1.5, 0.1 do
  9656. swait(1)
  9657. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(0)),.1)
  9658. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(0)),.1)
  9659. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  9660. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
  9661. RW.C0=clerp(RW.C0,cf(1.05,0.65 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(180 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(-42 + 3 * math.cos(sine / 15))),.1)
  9662. LW.C0=clerp(LW.C0,cf(-1.05,0.65 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(170 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(42 - 3 * math.cos(sine / 15))),.1)
  9663. end
  9664. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 5)
  9665. CFuncs["Sound"].Create("rbxassetid://0", char, 3, 0.9)
  9666. CFuncs["Sound"].Create("rbxassetid://0", char, 3, 1.1)
  9667. CFuncs["Sound"].Create("rbxassetid://0", char, 2,0.75)
  9668. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2,1)
  9669. CFuncs["Sound"].Create("rbxassetid://0", char, 2, 0.75)
  9670. for i = 0, 21, 0.1 do
  9671. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-30)),.5)
  9672. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(30)),.5)
  9673. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  9674. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-32),math.rad(0),math.rad(0 + 35 * math.cos(sine / 0.2))),.5)
  9675. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(50 + 3 * math.cos(sine / 15))),.5)
  9676. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(-50 - 3 * math.cos(sine / 15))),.5)
  9677. end
  9678. --e:Destroy()
  9679. attack = false
  9680. sphere2(1,"Add",root.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Dark blue"))
  9681.  
  9682. hum.WalkSpeed = storehumanoidWS
  9683. RecolorThing(BrickColor.new("Dark blue"),BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Dark blue"),true,true)
  9684. MAINRUINCOLOR = BrickColor.new("Dark blue")
  9685. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  9686.  
  9687. ModeOfGlitch = 4
  9688. storehumanoidWS = 0
  9689. RecolorTextAndRename("asd162430..? (COMBAT)",Color3.new(0,0,0),Color3.new(0,0,222),"Antique")
  9690.  
  9691. newThemeCust("rbxassetid://1873219898",0,1,1.2)
  9692. wait(0.5)
  9693. hum.WalkSpeed = 500
  9694.  
  9695. end
  9696.  
  9697. if k == "l" and mutedtog == false then
  9698. mutedtog = true
  9699. kan.Volume = 0
  9700. elseif k == "l" and mutedtog == true then
  9701. mutedtog = false
  9702. kan.Volume = 1.25
  9703. end
  9704. if k == "p" and toggleTag == false then
  9705. toggleTag = true
  9706. modet.TextTransparency = 0
  9707. modet.TextStrokeTransparency = 0
  9708. elseif k == "p" and toggleTag == true then
  9709. toggleTag = false
  9710. modet.TextTransparency = 1
  9711. modet.TextStrokeTransparency = 1
  9712. end
  9713. if k == "m" and attack == false and ModeOfGlitch == 1 then
  9714. --[[ExtinctiveHeartbreak()]]--
  9715. elseif k == "f" and attack == false and ModeOfGlitch == 1 then
  9716. HolyBarrier()
  9717. elseif k == "y" and attack == false and ModeOfGlitch == 1 then
  9718. HolyBarrier2()
  9719. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9720. HeavenlyDisk()
  9721. elseif k == "z" and attack == false and ModeOfGlitch == 6969 then
  9722. ChaosGroundStrike()
  9723. elseif k == "x" and attack == false and ModeOfGlitch == 9 then
  9724. Chaos()
  9725. --elseif k == "t" and attack == false and ModeOfGlitch ~= 123 then
  9726. -- ModeOfGlitch = 123
  9727. --iNSaNITY()
  9728. elseif k == "p" and attack == false and ModeOfGlitch ~= 91 then
  9729. ModeOfGlitch = 91
  9730. Remembrance()
  9731. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9732. CorruptionEvent()
  9733. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9734. METEOR()
  9735. elseif k == "z" and attack == false and ModeOfGlitch == 900 then
  9736. OOOOOOOOFFF()
  9737. elseif k == "v" and attack == false and ModeOfGlitch == 1 then
  9738. Fireball()
  9739. elseif k == "x" and attack == false and ModeOfGlitch == 8 then
  9740. CorruptionSpecial()
  9741. elseif k == "z" and attack == false and ModeOfGlitch == 88893333388 then
  9742. KABOOM()
  9743. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9744. BeamOfDeath()
  9745. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9746. Beams()
  9747. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  9748. RAAAAAA()
  9749. elseif k == "x" and attack == false and ModeOfGlitch == 1 then
  9750. ExplosionRamp()
  9751. elseif k == "z" and attack == false and ModeOfGlitch == 1 then
  9752. BallRamp()
  9753. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9754. uWotM8()
  9755. elseif k == "m" and attack == false and ModeOfGlitch == 3 then
  9756. uWotM1()
  9757. elseif k == "m" and attack == false and ModeOfGlitch == 000 then
  9758. uWotM2()
  9759. elseif k == "z" and attack == false and ModeOfGlitch == 664663666 then
  9760. MurEvent()
  9761. elseif k == "x" and attack == false and ModeOfGlitch == 664663666 then
  9762. KillEvent()
  9763. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9764. RapidBurst()
  9765. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9766. DivineLights()
  9767. elseif k == "z" and attack == false and ModeOfGlitch == 091 then
  9768. CORE()
  9769. elseif k == "x" and attack == false and ModeOfGlitch == 9 then
  9770. DivineBoom()
  9771. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9772. EquinoxOrbs()
  9773. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9774. FallenOrbs()
  9775. elseif k == "z" and attack == false and ModeOfGlitch == 666 then
  9776. LocoSoulKill()
  9777. elseif k == "x" and attack == false and ModeOfGlitch == 666 then
  9778. RipSoul()
  9779. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9780. SHDTwist()
  9781. elseif k == "c" and attack == false and ModeOfGlitch == 1 then
  9782. WarpedDash()
  9783. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9784. SOULESSKILL()
  9785. end
  9786. if k == "b" and attack == false and ModeOfGlitch == 1264532489 then
  9787. FallenDEMISE()
  9788. end
  9789. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9790. --[[EndGROUND()]]--
  9791. end
  9792. end)
  9793.  
  9794. coroutine.resume(coroutine.create(function()
  9795. while true do
  9796. swait()
  9797. if ModeOfGlitch == 4 then
  9798. if hitfloor ~= nil then
  9799. sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Dark blue"),Color3.new(0,1,0))
  9800. end
  9801. end
  9802. if ModeOfGlitch == 1 or ModeOfGlitch == 6 or ModeOfGlitch == 21238 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 3124343434343 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  9803. elseif ModeOfGlitch == 21238 then
  9804. sphereMK(7.5,math.random(1,10)/45,"Add",root.CFrame*CFrame.new(math.random(-0,0),0,math.random(-0,0))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,50,-0.0075,BrickColor.new("Black"),0)
  9805. elseif ModeOfGlitch == 31238 then --312381
  9806. sphereMK(8,math.random(1,10)/30,"Add",root.CFrame*CFrame.new(math.random(-30,30),-0,math.random(-30,30))*CFrame.Angles(math.rad(90 + math.random(-0,0)),math.rad(math.random(-0,0)),math.rad(math.random(-0,0))),0.75,0.75,30000,-0.0075,MAINRUINCOLOR,0)
  9807. sphereMK(8,math.random(1,10)/30,"Add",root.CFrame*CFrame.new(math.random(-30,30),-0,math.random(-30,30))*CFrame.Angles(math.rad(90 + math.random(-0,0)),math.rad(math.random(-0,0)),math.rad(math.random(-0,0))),0.75,0.75,30000,-0.0075,MAINRUINCOLOR,0)
  9808. sphereMK2(8,math.random(1,10)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(90 + math.random(-0,0)),math.rad(math.random(-0,0)),math.rad(math.random(-0,0))),10,10,0.01,-0.0075,MAINRUINCOLOR,0)
  9809. elseif ModeOfGlitch == 55 then --312381
  9810. sphereMK(8,math.random(1,10)/30,"Add",root.CFrame*CFrame.new(math.random(-500,500),-0,math.random(-500,500))*CFrame.Angles(math.rad(90 + math.random(-60,60)),math.rad(math.random(-60,60)),math.rad(math.random(-0,0))),60,60,30000,-0.0075,MAINRUINCOLOR,0)
  9811. sphereMK(8,math.random(1,10)/30,"Add",root.CFrame*CFrame.new(math.random(-500,500),-0,math.random(-500,500))*CFrame.Angles(math.rad(90 + math.random(-60,60)),math.rad(math.random(-60,60)),math.rad(math.random(-0,0))),60,60,30000,-0.0075,MAINRUINCOLOR,0)
  9812. sphereMK2(8,math.random(1,10)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(90 + math.random(-0,0)),math.rad(math.random(-0,0)),math.rad(math.random(-0,0))),10,10,0.01,-0.0075,MAINRUINCOLOR,0)
  9813. elseif ModeOfGlitch == 901238 then
  9814. slash(math.random(15,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(-0,0))),vt(0.05,0.01,0.05),math.random(360,360)/360,BrickColor.new("White"))
  9815. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),5,5,10,-0.0075,MAINRUINCOLOR,0)
  9816. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),5,5,10,-0.0075,MAINRUINCOLOR,0)
  9817. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),5,5,10,-0.0075,MAINRUINCOLOR,0)
  9818. elseif ModeOfGlitch == 091 then
  9819. sphereMK(8,math.random(1,50)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-1.5,math.random(-0,0))*CFrame.Angles(math.rad(0 + math.random(-0,0)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),10,2,15,-0.0075,MAINRUINCOLOR,0)
  9820. sphereMK(8,math.random(1,50)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-1.5,math.random(-0,0))*CFrame.Angles(math.rad(0 + math.random(-0,0)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),10,2,15,-0.0075,MAINRUINCOLOR,0)
  9821. sphereMK2(8,math.random(0,10)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(90 + math.random(-0,0)),math.rad(math.random(-0,0)),math.rad(math.random(-0,0))),5,5,0.01,-0.0075,MAINRUINCOLOR,0)
  9822. elseif ModeOfGlitch == 312381 then
  9823. slash(math.random(1,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(math.random(-0,0),222,math.random(-0,0))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(360,360)/360,BrickColor.new("Electric blue"))
  9824. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),222,math.random(-0,0))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),5,5,10,-0.0075,MAINRUINCOLOR,0)
  9825. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),222,math.random(-0,0))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),5,5,10,-0.0075,MAINRUINCOLOR,0)
  9826. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),222,math.random(-0,0))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),5,5,10,-0.0075,MAINRUINCOLOR,0)
  9827. elseif ModeOfGlitch == 8889 then
  9828. sphereMK(8,math.random(1,100)/0,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-30,-30))*CFrame.Angles(math.rad(0 + math.random(90,90)),math.rad(math.random(-0,0)),math.rad(math.random(-0,0))),40,40,0.01,-0.0075,MAINRUINCOLOR,0)
  9829. elseif ModeOfGlitch == 64 then
  9830. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-10000,10000),-0,math.random(-1000,1000))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-380,380))),10,10,10000,-0.0075,MAINRUINCOLOR,0)
  9831. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-10000,10000),-0,math.random(-1000,1000))*CFrame.Angles(math.rad(380 + math.random(-380,380)),math.rad(math.random(-380,380)),math.rad(math.random(-380,380))),10,10,10000,-0.0075,MAINRUINCOLOR,0)
  9832. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(0 + math.random(-0,0)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),8,0.01,10,-0.0075,MAINRUINCOLOR,0)
  9833. sphereMK(8,math.random(1,10)/30,"Add",root.CFrame*CFrame.new(math.random(-9,9),-0,math.random(-9,9))*CFrame.Angles(math.rad(90 + math.random(-0,0)),math.rad(math.random(-0,0)),math.rad(math.random(-0,0))),0.75,0.75,3,-0.0075,MAINRUINCOLOR,0)
  9834. sphereMK(8,math.random(1,100)/30,"Add",root.CFrame*CFrame.new(math.random(-0,0),-0,math.random(-0,0))*CFrame.Angles(math.rad(0 + math.random(-0,0)),math.rad(math.random(-380,380)),math.rad(math.random(-0,0))),8,0.01,10,-0.0075,MAINRUINCOLOR,0)
  9835. if ModeOfGlitch == 765688533321 then
  9836. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Cyan"),0)
  9837. elseif ModeOfGlitch == 88893333388 then
  9838. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really blue"),0)
  9839. elseif ModeOfGlitch == 88893333388 then
  9840. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really blue"),0)
  9841. elseif ModeOfGlitch == 808080808080808080808080 then
  9842. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Alder"),0)
  9843. end
  9844. end
  9845. end
  9846. end))
  9847. --[[coroutine.resume(coroutine.create(function()
  9848. while true do
  9849. swait(2)
  9850. if chaosmode == true then
  9851. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9852. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9853. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9854. RecolorTextAndRename("Psycho Earthy",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  9855. for i, v in pairs(mw1:GetChildren()) do
  9856. if v:IsA("Part") then
  9857. v.Transparency = 0.75
  9858. v.BrickColor = BrickColor.random()
  9859. v.Material = "Neon"
  9860. end
  9861. end
  9862. for i, v in pairs(m2:GetChildren()) do
  9863. if v:IsA("Part") then
  9864. v.BrickColor = BrickColor.random()
  9865. v.Material = "Neon"
  9866. end
  9867. end
  9868. end
  9869. end
  9870. end))]]--
  9871. Humanoid.Name = "STARGLITCHER"
  9872. Humanoid.MaxHealth = math.huge
  9873. Humanoid.Health = math.huge
  9874. Instance.new("ForceField",char).Visible = false
  9875.  
  9876. local bguis = Instance.new("BillboardGui",tors)
  9877. bguis.Size = UDim2.new(25, 0, 25, 0)
  9878. local imgca = Instance.new("ImageLabel",bguis)
  9879. imgca.BackgroundTransparency = 1
  9880. imgca.ImageTransparency = 1
  9881. imgca.Size = UDim2.new(1,0,1,0)
  9882. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  9883. imgca.ImageColor3 = Color3.new(0,0,0)
  9884.  
  9885. idleanim=.4
  9886. while true do
  9887. if mutedtog == false then
  9888. kan.Volume = currentVol
  9889. elseif mutedtog == true then
  9890. kan.Volume = 0
  9891. end
  9892. kan.PlaybackSpeed = currentPitch
  9893. kan.Pitch = currentPitch
  9894. kan.SoundId = currentThemePlaying
  9895. kan.Looped = true
  9896. kan.Parent = char
  9897. kan:Resume()
  9898. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  9899. imgca.ImageTransparency = 1
  9900. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  9901. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9902. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9903. end
  9904. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9905. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  9906. coroutine.resume(coroutine.create(function()
  9907. if chaosmode == true then
  9908. for i, v in pairs(mw1:GetChildren()) do
  9909. if v:IsA("Part") then
  9910. v.Transparency = 0
  9911. v.BrickColor = BrickColor.random()
  9912. v.Material = "Neon"
  9913. end
  9914. end
  9915. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9916. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9917. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9918.  
  9919. end
  9920. end))
  9921. if chaosmode == false then
  9922. modet.Position = UDim2.new(0,0 - 0 * math.cos(sine / 32),0,0 - 0 * math.cos(sine / 45))
  9923. techc.Rotation = techc.Rotation + 1
  9924. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  9925. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  9926. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  9927. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  9928. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9929. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9930. Special.Rotation = 0 - 2 * math.cos(sine / 24)
  9931. Special.Position = UDim2.new(0.01,0 - 10 * math.cos(sine / 32),1.7,0 - 10 * math.cos(sine / 45))
  9932. img666.Rotation = 0 - 2 * math.cos(sine / 24)
  9933. img666.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9934. block2.Rotation = 0 - 2 * math.cos(sine / -24)
  9935. block2.Position = UDim2.new(0,0 - 10 * math.cos(sine / 32),1.5,0 - 10 * math.cos(sine / 45))
  9936. block1.Rotation = 0 - 2 * math.cos(sine / 24)
  9937. block1.Position = UDim2.new(0,0 - 10 * math.cos(sine / 32),1,0 - 10 * math.cos(sine / 45))
  9938. else
  9939. techc.Rotation = techc.Rotation + 1
  9940. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9941. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9942. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9943. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9944.  
  9945. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9946. block1.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9947. block1.Position = UDim2.new(0,0 - 10 + math.random(-3,3),1,0 + math.random(-3,3))
  9948. block2.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9949. block2.Position = UDim2.new(0,0 - 10 + math.random(-3,3),1.5,0 + math.random(-3,3))
  9950. img666.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9951. img666.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9952. Special.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9953. Special.Position = UDim2.new(0.01,0 + math.random(-3,3),1.7,0 + math.random(-3,3))
  9954. modet.Position = UDim2.new(2,math.random(-2,2),2,math.random(-2,2))
  9955.  
  9956. img666.Image = "rbxassetid://2799181040"
  9957. Special.Text = "Special: ErRor"
  9958. end
  9959. CameraManager()
  9960.  
  9961. swait()
  9962. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  9963. 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)
  9964. 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)
  9965. 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)
  9966. 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)
  9967. 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)
  9968. 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)
  9969. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 then
  9970. 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)
  9971. 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)
  9972. 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)
  9973. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  9974. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  9975. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  9976. elseif ModeOfGlitch == 664663666 or ModeOfGlitch == 664663666 or ModeOfGlitch == 664663666 then
  9977. lwing1weld.C1=clerp(lwing1weld.C1,cf(3 + 0 * math.cos(sine / 999),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(999 + 999 * math.cos(sine / 999)),math.rad(999 - 999 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  9978. lwing2weld.C1=clerp(lwing2weld.C1,cf(3 + 0 * math.cos(sine / 999),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(999 + 999 * math.cos(sine / 999)),math.rad(999 - 999 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  9979. lwing3weld.C1=clerp(lwing3weld.C1,cf(3 + 0 * math.cos(sine / 999),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(999 + 999 * math.cos(sine / 999)),math.rad(999 - 999 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  9980. rwing1weld.C1=clerp(rwing1weld.C1,cf(3 + 0 * math.cos(sine / 999),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(999 + 999 * math.cos(sine / 999)),math.rad(999 - 999 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  9981. rwing2weld.C1=clerp(rwing2weld.C1,cf(3 + 0 * math.cos(sine / 999),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(999 + 999 * math.cos(sine / 999)),math.rad(999 - 999 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  9982. rwing3weld.C1=clerp(rwing3weld.C1,cf(3 + 0 * math.cos(sine / 999),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(999 + 999 * math.cos(sine / 999)),math.rad(999 - 999 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  9983. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 2 then
  9984. 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)
  9985. 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)
  9986. 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)
  9987. 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)
  9988. 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)
  9989. 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)
  9990. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 999999999556 then
  9991. 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)
  9992. 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)
  9993. 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)
  9994. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  9995. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  9996. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  9997. 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)
  9998. 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)
  9999. 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)
  10000. 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)
  10001. 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)
  10002. 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)
  10003. end
  10004. sine = sine + change
  10005. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  10006. local velderp=RootPart.Velocity.y
  10007. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  10008. coroutine.resume(coroutine.create(function()
  10009. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  10010. if hitfloor ~= nil then
  10011. effar.Enabled = true
  10012. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  10013. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
  10014. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  10015. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR)
  10016. end
  10017. if ModeOfGlitch == 808080808080808080808080 then
  10018. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Alder"))
  10019. elseif ModeOfGlitch == 765688533321 then
  10020. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Cyan"))
  10021. elseif ModeOfGlitch == 1264532489 then
  10022. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Deep orange"))
  10023. elseif ModeOfGlitch == 999999999556 then
  10024. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really blue"))
  10025. end
  10026. elseif hitfloor == nil then
  10027. effar.Enabled = false
  10028. end
  10029. elseif ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 808080808080808080808080 then
  10030. effar.Enabled = false
  10031. end
  10032. end))
  10033. if equipped==true or equipped==false then
  10034. if attack==false then
  10035. idle=idle+1
  10036. else
  10037. idle=0
  10038. end
  10039. if idle>=500 then
  10040. if attack==false then
  10041. --Sheath()
  10042. end
  10043. end
  10044. if RootPart.Velocity.y > 1 and hitfloor==nil then
  10045. Anim="Jump"
  10046. if attack==false then
  10047. 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)
  10048. 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)
  10049. 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)
  10050. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  10051. 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)
  10052. 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)
  10053. end
  10054. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  10055. Anim="Fall"
  10056. if attack==false then
  10057. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  10058. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  10059. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
  10060. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1)
  10061. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  10062. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(80 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  10063. end
  10064. elseif torvel<1 and hitfloor~=nil then
  10065. Anim="Idle"
  10066. if attack==false then
  10067. if ModeOfGlitch == 1 then
  10068. local snap = math.random(1,10)
  10069. if snap == 1 then
  10070. end
  10071. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  10072. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  10073. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
  10074. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1)
  10075. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  10076. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(80 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  10077. elseif ModeOfGlitch == 900 then
  10078. 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)
  10079. 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)
  10080. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  10081. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10082. 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(4 - 3 * math.cos(sine / 58)),math.rad(67 + 4 * math.cos(sine / 45))),.1)
  10083. 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(3 - 2 * math.cos(sine / 59)),math.rad(-87 - 2 * math.cos(sine / 45))),.1)
  10084. elseif ModeOfGlitch == 31238 then
  10085. 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)
  10086. 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)
  10087. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  10088. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10089. 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)
  10090. 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)
  10091. elseif ModeOfGlitch == 312381 then
  10092. 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)
  10093. 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)
  10094. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),222 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  10095. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10096. 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)
  10097. 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)
  10098. elseif ModeOfGlitch == 3124343434343 then
  10099. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  10100. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  10101. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  10102. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10103. 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)
  10104. 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)
  10105. elseif ModeOfGlitch == 21238 then
  10106. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  10107. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  10108. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(-80 - 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)
  10109. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10110. 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)
  10111. 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)
  10112. elseif ModeOfGlitch == 2 then
  10113. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  10114. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  10115. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  10116. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 4 * math.cos(sine / 37)),math.rad(0 + 8 * math.cos(sine / 43)),math.rad(0 - 5 * math.cos(sine / 47))),.1)
  10117. 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)
  10118. 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)
  10119. elseif ModeOfGlitch == 6969 then
  10120. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 122),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 0.01 * math.cos(sine / 0.001)),math.rad(0 - 100 * math.cos(sine / 222))),.1)
  10121. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 999),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 0.01 * math.cos(sine / 0.001)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  10122. 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(22 - 22 * math.cos(sine / 0.001)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  10123. 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(22 + 22 * math.cos(sine / 0.001))),.1)
  10124. 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(22 - 22 * math.cos(sine / 0.001)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  10125. 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(22 - 22 * math.cos(sine / 0.001)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  10126. elseif ModeOfGlitch == 309 then
  10127. 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)
  10128. 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)
  10129. 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)
  10130. 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)
  10131. 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)
  10132. 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)
  10133. elseif ModeOfGlitch == 123 then
  10134. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  10135. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  10136. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,222+.2*math.cos(sine/16)),.1)
  10137. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2222),0,0),.1)
  10138. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  10139. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  10140. elseif ModeOfGlitch == 666 then
  10141. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  10142. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  10143. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  10144. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  10145. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  10146. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  10147. elseif ModeOfGlitch == 3 then
  10148. local snap = math.random(1,32)
  10149. if snap == 1 then
  10150. 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)
  10151. end
  10152. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  10153. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  10154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
  10155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1)
  10156. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  10157. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(80 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  10158. elseif ModeOfGlitch == 4 then
  10159. local snap = math.random(1,5)
  10160. if snap == 1 then
  10161. 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)
  10162. 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)
  10163. 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)
  10164. end
  10165. 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)
  10166. 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)
  10167. 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)
  10168. 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)
  10169. 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)
  10170. 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)
  10171. elseif ModeOfGlitch == 5 then
  10172. 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)
  10173. 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)
  10174. 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(-90 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  10175. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10176. 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)
  10177. 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)
  10178. elseif ModeOfGlitch == 6 then
  10179. 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)
  10180. 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)
  10181. 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)
  10182. 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)
  10183. 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)
  10184. 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)
  10185. elseif ModeOfGlitch == 000 then
  10186. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  10187. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  10188. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  10189. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  10190. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  10191. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  10192. elseif ModeOfGlitch == 8 then
  10193. 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)
  10194. 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)
  10195. 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)
  10196. 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)
  10197. 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)
  10198. 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)
  10199. elseif ModeOfGlitch == 9 then
  10200. 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)
  10201. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  10202. 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)
  10203. 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)
  10204. 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)
  10205. 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)
  10206. 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)
  10207. 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)
  10208. elseif ModeOfGlitch == 8889 then
  10209. 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)
  10210. 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)
  10211. 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)
  10212. 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)
  10213. 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)
  10214. 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)
  10215. elseif ModeOfGlitch == 55 then
  10216. 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)
  10217. 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)
  10218. 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)
  10219. 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)
  10220. 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)
  10221. 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)
  10222. elseif ModeOfGlitch == 88893333388 then
  10223. 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)
  10224. 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)
  10225. 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)
  10226. 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)
  10227. 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)
  10228. 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)
  10229. elseif ModeOfGlitch == 64 then
  10230. 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)
  10231. 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)
  10232. 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)
  10233. 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)
  10234. 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)
  10235. 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)
  10236. elseif ModeOfGlitch == 808080808080808080808080 then
  10237. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  10238. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Alder"),BrickColor.new("Alder").Color)
  10239. 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)
  10240. 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)
  10241. 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)
  10242. 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)
  10243. 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)
  10244. 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)
  10245. elseif ModeOfGlitch == 091 then
  10246. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Dark blue"),BrickColor.new("Dark blue").Color)
  10247. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  10248. 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)
  10249. 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)
  10250. 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)
  10251. 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)
  10252. 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)
  10253. 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)
  10254. elseif ModeOfGlitch == 1264532489 then
  10255. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Deep orange"),BrickColor.new("Deep orange").Color)
  10256. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Toothpaste"),BrickColor.new("Toothpaste").Color)
  10257. 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)
  10258. 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)
  10259. 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)
  10260. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  10261. 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)
  10262. 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)
  10263. 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)
  10264. elseif ModeOfGlitch == 9999999921111 then
  10265. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  10266. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  10267. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  10268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  10269. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  10270. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  10271. elseif ModeOfGlitch == 4367677813 then
  10272. 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)
  10273. 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)
  10274. 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)
  10275. 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)
  10276. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  10277. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  10278. elseif ModeOfGlitch == 765688533321 then
  10279. local snap = math.random(1,32)
  10280. if snap == 1 then
  10281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  10282. end
  10283. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
  10284. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  10285. 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)
  10286. 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)
  10287. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  10288. 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)
  10289. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(-65 + 1 * math.cos(sine / 45))),.1)
  10290. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(73 - 3 * math.cos(sine / 45))),.1)
  10291. elseif ModeOfGlitch == 142 then
  10292. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  10293. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  10294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  10295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 4 * math.cos(sine / 37)),math.rad(0 + 8 * math.cos(sine / 43)),math.rad(0 - 5 * math.cos(sine / 47))),.1)
  10296. 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)
  10297. 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)
  10298. elseif ModeOfGlitch == 55469696922 then
  10299. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  10300. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  10301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  10302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  10303. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  10304. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  10305. elseif ModeOfGlitch == 664663666 then
  10306. local snap = math.random(1,32)
  10307. if snap == 1 then
  10308. 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)
  10309. end
  10310. 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)
  10311. 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)
  10312. 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)
  10313. 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)
  10314. 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)
  10315. 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)
  10316. elseif ModeOfGlitch == 999999999556 then
  10317. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color)
  10318. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  10319. 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)
  10320. 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)
  10321. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  10322. 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)
  10323. 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)
  10324. 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)
  10325. end
  10326. end
  10327. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  10328. Anim="Walk"
  10329. if attack==false then
  10330. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 18)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  10331. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 18)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  10332. 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)
  10333. 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)
  10334. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  10335. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(80 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  10336. end
  10337. elseif torvel>=22 and hitfloor~=nil then
  10338. Anim="Run"
  10339. if attack==false then
  10340. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 091 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 3124343434343 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 1 then
  10341. 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)
  10342. 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)
  10343. 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)
  10344. 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)
  10345. 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)
  10346. 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)
  10347. if ModeOfGlitch == 9 then
  10348. 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)
  10349. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  10350. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  10351. end
  10352. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 091 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 3124343434343 or ModeOfGlitch == 808080808080808080808080 then
  10353. 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)
  10354. 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)
  10355. 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)
  10356. 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)
  10357. 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)
  10358. 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)
  10359. if ModeOfGlitch == 765688533321 then
  10360. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  10361. end
  10362. end
  10363. end
  10364. end
  10365. end
  10366. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement