Advertisement
memberhero

Guest Glitcher FE Script

Feb 21st, 2019
621
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 338.44 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 = owner
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = RhiBel00351
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. NLS([==[
  61. local Player = game:GetService("Players").LocalPlayer
  62.  
  63. local Char = Player.Character
  64. local Event = Char:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67.  
  68. local input = function(io,a)
  69. if a then return end
  70. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  71. Event:FireServer(io)
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75. local Changed = false
  76. local Mouse = Player:GetMouse()
  77. local h,t = Mouse.Hit,Mouse.Target
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  81. h,t=Mouse.Hit,Mouse.Target
  82. end
  83. end
  84. ]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88.  
  89. wait(0.2)
  90.  
  91. function sandbox(var,func)
  92. local env = getfenv(func)
  93. local newenv = setmetatable({},{
  94. __index = function(self,k)
  95. if k=="script" then
  96. return var
  97. else
  98. return env[k]
  99. end
  100. end,
  101. })
  102. setfenv(func,newenv)
  103. return func
  104. end
  105. cors = {}
  106. mas = Instance.new("Model",game:GetService("Lighting"))
  107. Script0 = Instance.new("Script")
  108. Script0.Name = "EffectScript"
  109. Script0.Parent = mas
  110. table.insert(cors,sandbox(Script0,function()
  111. s = script.Parent
  112.  
  113. -------------------------------------------------------
  114. --Start HeartBeat--
  115. -------------------------------------------------------
  116. ArtificialHB = Instance.new("BindableEvent", script)
  117. ArtificialHB.Name = "Heartbeat"
  118. script:WaitForChild("Heartbeat")
  119.  
  120. frame = 1 / 60
  121. tf = 0
  122. allowframeloss = false
  123. tossremainder = false
  124.  
  125.  
  126. lastframe = tick()
  127. script.Heartbeat:Fire()
  128.  
  129.  
  130. game:GetService("RunService").Heartbeat:connect(function(s, p)
  131. tf = tf + s
  132. if tf >= frame then
  133. if allowframeloss then
  134. script.Heartbeat:Fire()
  135. lastframe = tick()
  136. else
  137. for i = 1, math.floor(tf / frame) do
  138. script.Heartbeat:Fire()
  139. end
  140. lastframe = tick()
  141. end
  142. if tossremainder then
  143. tf = 0
  144. else
  145. tf = tf - frame * math.floor(tf / frame)
  146. end
  147. end
  148. end)
  149. -------------------------------------------------------
  150. --End HeartBeat--
  151. -------------------------------------------------------
  152.  
  153. -------------------------------------------------------
  154. --Start Important Functions--
  155. -------------------------------------------------------
  156. s.Size = Vector3.new(4, 0.05, 4)
  157. function swait(num)
  158. if num == 0 or num == nil then
  159. game:service("RunService").Stepped:wait(0)
  160. else
  161. for i = 0, num do
  162. game:service("RunService").Stepped:wait(0)
  163. end
  164. end
  165. end
  166.  
  167.  
  168. wait(1)
  169. coroutine.resume(coroutine.create(function()
  170. for i = 1,25 do
  171. swait(0)
  172. s.Size = s.Size - Vector3.new(0.04,0,0.04)
  173. end
  174. s:Destroy()
  175. end))
  176. end))
  177. Script0.Disabled = true
  178. for i,v in pairs(mas:GetChildren()) do
  179. v.Parent = script
  180. pcall(function() v:MakeJoints() end)
  181. end
  182. mas:Destroy()
  183. for i,v in pairs(cors) do
  184. spawn(function()
  185. pcall(v)
  186. end)
  187. end
  188.  
  189.  
  190.  
  191.  
  192.  
  193. -------------------------------------------------------------
  194. --Converted with ttyyuu12345's model to script plugin v4
  195. function sandbox(var,func)
  196. local env = getfenv(func)
  197. local newenv = setmetatable({},{
  198. __index = function(self,k)
  199. if k=="script" then
  200. return var
  201. else
  202. return env[k]
  203. end
  204. end,
  205. })
  206. setfenv(func,newenv)
  207. return func
  208. end
  209. cors = {}
  210. mas = Instance.new("Model",game:GetService("Lighting"))
  211. MeshPart0 = Instance.new("MeshPart")
  212. MeshPart1 = Instance.new("MeshPart")
  213. MeshPart2 = Instance.new("MeshPart")
  214. StringValue3 = Instance.new("StringValue")
  215. LocalScript4 = Instance.new("LocalScript")
  216. LocalScript5 = Instance.new("LocalScript")
  217. Model6 = Instance.new("Model")
  218. Part7 = Instance.new("Part")
  219. Part8 = Instance.new("Part")
  220. Motor9 = Instance.new("Motor")
  221. Part10 = Instance.new("Part")
  222. Motor11 = Instance.new("Motor")
  223. Part12 = Instance.new("Part")
  224. Motor13 = Instance.new("Motor")
  225. Part14 = Instance.new("Part")
  226. Motor15 = Instance.new("Motor")
  227. Part16 = Instance.new("Part")
  228. Motor17 = Instance.new("Motor")
  229. Part18 = Instance.new("Part")
  230. Motor19 = Instance.new("Motor")
  231. Part20 = Instance.new("Part")
  232. Motor21 = Instance.new("Motor")
  233. Part22 = Instance.new("Part")
  234. Motor23 = Instance.new("Motor")
  235. Part24 = Instance.new("Part")
  236. Motor25 = Instance.new("Motor")
  237. Part26 = Instance.new("Part")
  238. Motor27 = Instance.new("Motor")
  239. MeshPart0.Name = "chring"
  240. MeshPart0.Parent = mas
  241. MeshPart0.CFrame = CFrame.new(-6.13871098, 1.99998701, -11.4352522, 1.91068547e-15, -4.37113883e-08, 1, -1, -4.37113883e-08, 0, 4.37113883e-08, -1, -4.37113883e-08)
  242. MeshPart0.Orientation = Vector3.new(0, 90, -90)
  243. MeshPart0.Position = Vector3.new(-6.13871098, 1.99998701, -11.4352522)
  244. MeshPart0.Rotation = Vector3.new(-90, 90, 0)
  245. MeshPart0.Transparency = 1
  246. MeshPart0.Size = Vector3.new(3, 15, 15)
  247. MeshPart0.Anchored = true
  248. MeshPart0.CanCollide = false
  249. MeshPart0.Material = Enum.Material.Neon
  250. MeshPart1.Name = "chring2"
  251. MeshPart1.Parent = mas
  252. MeshPart1.CFrame = CFrame.new(-29.67869, 30.7732849, -10.8952656, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  253. MeshPart1.Position = Vector3.new(-29.67869, 30.7732849, -10.8952656)
  254. MeshPart1.Transparency = 1
  255. MeshPart1.Size = Vector3.new(3, 3, 1)
  256. MeshPart1.Anchored = true
  257. MeshPart1.CanCollide = false
  258. MeshPart1.Material = Enum.Material.Neon
  259. MeshPart2.Name = "spball"
  260. MeshPart2.Parent = mas
  261. MeshPart2.CFrame = CFrame.new(-6.13869476, 5, -11.4352684, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  262. MeshPart2.Position = Vector3.new(-6.13869476, 5, -11.4352684)
  263. MeshPart2.Transparency = 1
  264. MeshPart2.Size = Vector3.new(10, 10, 10)
  265. MeshPart2.Anchored = true
  266. MeshPart2.CanCollide = false
  267. MeshPart2.Material = Enum.Material.Neon
  268. StringValue3.Name = "MeshValue"
  269. StringValue3.Parent = mas
  270. StringValue3.Value = "true"
  271. LocalScript4.Name = "Credits"
  272. LocalScript4.Parent = mas
  273. table.insert(cors,sandbox(LocalScript4,function()
  274. warn([[GUEST GLITCHER. Loaded.
  275. The super switcher.
  276.  
  277.  
  278. Created, by EzzyCrafts2
  279. ]])
  280.  
  281.  
  282. ------------- ORIGINAL WIELDER OC: Velnorum
  283. print([[Icons:
  284. ! = New
  285. ? = Spoilers
  286. * = Exclusivity
  287. C = Changes
  288.  
  289. ]])
  290. warn([[V ? Update Log:
  291. ! New Mode!!.]])
  292. end))
  293. LocalScript4.Disabled = true
  294. LocalScript5.Parent = mas
  295. table.insert(cors,sandbox(LocalScript5,function()
  296. local Player = owner
  297.  
  298. local Char = Player.Character
  299. local Event = Char:WaitForChild("UserInput_Event")
  300.  
  301. local UIS = game:GetService("UserInputService")
  302.  
  303. local input = function(io,a)
  304. if a then return end
  305. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  306. Event:FireServer(io)
  307. end
  308. UIS.InputBegan:Connect(input)
  309. UIS.InputEnded:Connect(input)
  310. local Changed = false
  311. local Mouse = Player:GetMouse()
  312. local h,t = Mouse.Hit,Mouse.Target
  313. while wait(1/30) do
  314. if h~=Mouse.Hit or t~=Mouse.Target then
  315. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  316. h,t=Mouse.Hit,Mouse.Target
  317. end
  318. end
  319. end))
  320. Model6.Name = "CoreForTcOnly"
  321. Model6.Parent = mas
  322. Part7.Name = "Weld"
  323. Part7.Parent = Model6
  324. Part7.CFrame = CFrame.new(-8.71868801, 55.5377922, 77.054718, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  325. Part7.Position = Vector3.new(-8.71868801, 55.5377922, 77.054718)
  326. Part7.Transparency = 1
  327. Part7.Size = Vector3.new(2, 2, 1)
  328. Part7.BottomSurface = Enum.SurfaceType.Smooth
  329. Part7.TopSurface = Enum.SurfaceType.Smooth
  330. Part8.Name = "CORE"
  331. Part8.Parent = Model6
  332. Part8.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1)
  333. Part8.Orientation = Vector3.new(0, 0, 20)
  334. Part8.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  335. Part8.Rotation = Vector3.new(0, 0, 20)
  336. Part8.Color = Color3.new(0.835294, 0.45098, 0.239216)
  337. Part8.Size = Vector3.new(0.348689467, 0.348689467, 1.13055646)
  338. Part8.BottomSurface = Enum.SurfaceType.Smooth
  339. Part8.BrickColor = BrickColor.new("Neon orange")
  340. Part8.Material = Enum.Material.Neon
  341. Part8.TopSurface = Enum.SurfaceType.Smooth
  342. Part8.brickColor = BrickColor.new("Neon orange")
  343. Motor9.Name = "mot"
  344. Motor9.Parent = Part8
  345. Motor9.C0 = CFrame.new(0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736, 0, 0, 0, 1)
  346. Motor9.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  347. Motor9.Part0 = Part8
  348. Motor9.Part1 = Part7
  349. Motor9.part1 = Part7
  350. Part10.Parent = Model6
  351. Part10.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  352. Part10.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  353. Part10.Color = Color3.new(0.105882, 0.164706, 0.207843)
  354. Part10.Size = Vector3.new(0.429999828, 0.429999828, 1.11055648)
  355. Part10.BottomSurface = Enum.SurfaceType.Smooth
  356. Part10.BrickColor = BrickColor.new("Black")
  357. Part10.Material = Enum.Material.SmoothPlastic
  358. Part10.TopSurface = Enum.SurfaceType.Smooth
  359. Part10.brickColor = BrickColor.new("Black")
  360. Motor11.Name = "mot"
  361. Motor11.Parent = Part10
  362. Motor11.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  363. Motor11.Part0 = Part10
  364. Motor11.Part1 = Part7
  365. Motor11.part1 = Part7
  366. Part12.Name = "CORE"
  367. Part12.Parent = Model6
  368. Part12.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  369. Part12.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  370. Part12.Color = Color3.new(0.835294, 0.45098, 0.239216)
  371. Part12.Size = Vector3.new(0.348689467, 0.348689467, 1.13055646)
  372. Part12.BottomSurface = Enum.SurfaceType.Smooth
  373. Part12.BrickColor = BrickColor.new("Neon orange")
  374. Part12.Material = Enum.Material.Neon
  375. Part12.TopSurface = Enum.SurfaceType.Smooth
  376. Part12.brickColor = BrickColor.new("Neon orange")
  377. Motor13.Name = "mot"
  378. Motor13.Parent = Part12
  379. Motor13.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  380. Motor13.Part0 = Part12
  381. Motor13.Part1 = Part7
  382. Motor13.part1 = Part7
  383. Part14.Name = "CORE"
  384. Part14.Parent = Model6
  385. Part14.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1)
  386. Part14.Orientation = Vector3.new(0, 0, 10)
  387. Part14.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  388. Part14.Rotation = Vector3.new(0, 0, 10)
  389. Part14.Color = Color3.new(0.835294, 0.45098, 0.239216)
  390. Part14.Size = Vector3.new(0.348689467, 0.348689467, 1.13055646)
  391. Part14.BottomSurface = Enum.SurfaceType.Smooth
  392. Part14.BrickColor = BrickColor.new("Neon orange")
  393. Part14.Material = Enum.Material.Neon
  394. Part14.TopSurface = Enum.SurfaceType.Smooth
  395. Part14.brickColor = BrickColor.new("Neon orange")
  396. Motor15.Name = "mot"
  397. Motor15.Parent = Part14
  398. Motor15.C0 = CFrame.new(0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1)
  399. Motor15.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  400. Motor15.Part0 = Part14
  401. Motor15.Part1 = Part7
  402. Motor15.part1 = Part7
  403. Part16.Parent = Model6
  404. Part16.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1)
  405. Part16.Orientation = Vector3.new(0, 0, 10)
  406. Part16.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  407. Part16.Rotation = Vector3.new(0, 0, 10)
  408. Part16.Color = Color3.new(0.105882, 0.164706, 0.207843)
  409. Part16.Size = Vector3.new(0.429999828, 0.429999828, 1.11055648)
  410. Part16.BottomSurface = Enum.SurfaceType.Smooth
  411. Part16.BrickColor = BrickColor.new("Black")
  412. Part16.Material = Enum.Material.SmoothPlastic
  413. Part16.TopSurface = Enum.SurfaceType.Smooth
  414. Part16.brickColor = BrickColor.new("Black")
  415. Motor17.Name = "mot"
  416. Motor17.Parent = Part16
  417. Motor17.C0 = CFrame.new(0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1)
  418. Motor17.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  419. Motor17.Part0 = Part16
  420. Motor17.Part1 = Part7
  421. Motor17.part1 = Part7
  422. Part18.Name = "CORE"
  423. Part18.Parent = Model6
  424. Part18.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1)
  425. Part18.Orientation = Vector3.new(0, 0, -20)
  426. Part18.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  427. Part18.Rotation = Vector3.new(0, 0, -20)
  428. Part18.Color = Color3.new(0.835294, 0.45098, 0.239216)
  429. Part18.Size = Vector3.new(0.348689467, 0.348689467, 1.13055646)
  430. Part18.BottomSurface = Enum.SurfaceType.Smooth
  431. Part18.BrickColor = BrickColor.new("Neon orange")
  432. Part18.Material = Enum.Material.Neon
  433. Part18.TopSurface = Enum.SurfaceType.Smooth
  434. Part18.brickColor = BrickColor.new("Neon orange")
  435. Motor19.Name = "mot"
  436. Motor19.Parent = Part18
  437. Motor19.C0 = CFrame.new(0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736, 0, 0, 0, 1)
  438. Motor19.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  439. Motor19.Part0 = Part18
  440. Motor19.Part1 = Part7
  441. Motor19.part1 = Part7
  442. Part20.Parent = Model6
  443. Part20.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1)
  444. Part20.Orientation = Vector3.new(0, 0, -20)
  445. Part20.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  446. Part20.Rotation = Vector3.new(0, 0, -20)
  447. Part20.Color = Color3.new(0.105882, 0.164706, 0.207843)
  448. Part20.Size = Vector3.new(0.429999828, 0.429999828, 1.11055648)
  449. Part20.BottomSurface = Enum.SurfaceType.Smooth
  450. Part20.BrickColor = BrickColor.new("Black")
  451. Part20.Material = Enum.Material.SmoothPlastic
  452. Part20.TopSurface = Enum.SurfaceType.Smooth
  453. Part20.brickColor = BrickColor.new("Black")
  454. Motor21.Name = "mot"
  455. Motor21.Parent = Part20
  456. Motor21.C0 = CFrame.new(0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736, 0, 0, 0, 1)
  457. Motor21.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  458. Motor21.Part0 = Part20
  459. Motor21.Part1 = Part7
  460. Motor21.part1 = Part7
  461. Part22.Parent = Model6
  462. Part22.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736, 0, 0, 0, 1)
  463. Part22.Orientation = Vector3.new(0, 0, 20)
  464. Part22.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  465. Part22.Rotation = Vector3.new(0, 0, 20)
  466. Part22.Color = Color3.new(0.105882, 0.164706, 0.207843)
  467. Part22.Size = Vector3.new(0.429999828, 0.429999828, 1.11055648)
  468. Part22.BottomSurface = Enum.SurfaceType.Smooth
  469. Part22.BrickColor = BrickColor.new("Black")
  470. Part22.Material = Enum.Material.SmoothPlastic
  471. Part22.TopSurface = Enum.SurfaceType.Smooth
  472. Part22.brickColor = BrickColor.new("Black")
  473. Motor23.Name = "mot"
  474. Motor23.Parent = Part22
  475. Motor23.C0 = CFrame.new(0, 0, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736, 0, 0, 0, 1)
  476. Motor23.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  477. Motor23.Part0 = Part22
  478. Motor23.Part1 = Part7
  479. Motor23.part1 = Part7
  480. Part24.Parent = Model6
  481. Part24.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1)
  482. Part24.Orientation = Vector3.new(0, 0, -10)
  483. Part24.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  484. Part24.Rotation = Vector3.new(0, 0, -10)
  485. Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
  486. Part24.Size = Vector3.new(0.429999828, 0.429999828, 1.11055648)
  487. Part24.BottomSurface = Enum.SurfaceType.Smooth
  488. Part24.BrickColor = BrickColor.new("Black")
  489. Part24.Material = Enum.Material.SmoothPlastic
  490. Part24.TopSurface = Enum.SurfaceType.Smooth
  491. Part24.brickColor = BrickColor.new("Black")
  492. Motor25.Name = "mot"
  493. Motor25.Parent = Part24
  494. Motor25.C0 = CFrame.new(0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1)
  495. Motor25.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  496. Motor25.Part0 = Part24
  497. Motor25.Part1 = Part7
  498. Motor25.part1 = Part7
  499. Part26.Name = "CORE"
  500. Part26.Parent = Model6
  501. Part26.CFrame = CFrame.new(-8.71868515, 55.9204712, 77.054718, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849, 0, 0, 0, 1)
  502. Part26.Orientation = Vector3.new(0, 0, -10)
  503. Part26.Position = Vector3.new(-8.71868515, 55.9204712, 77.054718)
  504. Part26.Rotation = Vector3.new(0, 0, -10)
  505. Part26.Color = Color3.new(0.835294, 0.45098, 0.239216)
  506. Part26.Size = Vector3.new(0.348689467, 0.348689467, 1.13055646)
  507. Part26.BottomSurface = Enum.SurfaceType.Smooth
  508. Part26.BrickColor = BrickColor.new("Neon orange")
  509. Part26.Material = Enum.Material.Neon
  510. Part26.TopSurface = Enum.SurfaceType.Smooth
  511. Part26.brickColor = BrickColor.new("Neon orange")
  512. Motor27.Name = "mot"
  513. Motor27.Parent = Part26
  514. Motor27.C0 = CFrame.new(0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849, 0, 0, 0, 1)
  515. Motor27.C1 = CFrame.new(3.09944153e-06, 0.382680058, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  516. Motor27.Part0 = Part26
  517. Motor27.Part1 = Part7
  518. Motor27.part1 = Part7
  519. for i,v in pairs(mas:GetChildren()) do
  520. v.Parent = script
  521. pcall(function() v:MakeJoints() end)
  522. end
  523. mas:Destroy()
  524. for i,v in pairs(cors) do
  525. spawn(function()
  526. pcall(v)
  527. end)
  528. end
  529. wait(1)
  530.  
  531. warn([[SpectrumGlitcher v7 Loaded.
  532. The super switcher.
  533.  
  534. Created, Reworked by NoobyGames12
  535. 1st Edit by Tcgc121212 (SpectrumEeveez)
  536. 2nd Edit by wanTH092 (Filano)
  537. 3rd Edit by AlmightyToast
  538. 4th Edit by DerpzDeNugget_YT
  539. ]])
  540.  
  541.  
  542. ------------- ORIGINAL WIELDER OC: Velnorum
  543. print([[Icons:
  544. ! = New
  545. ? = Spoilers
  546. * = Exclusivity
  547. C = Changes
  548.  
  549. ]])
  550. warn([[V ? Update Log:
  551. -- Restarted Spectrum
  552. !? - Just add more Warned to mostly special mode
  553. !?C - Added Alpha mode (N of omega)
  554. - Renamed Infestation to Infection X and renamed Equinox to Equality.
  555. story: Guest was being beaten and almost murdered, Soon sciences found him and experimented with him, They attached
  556. a core to his chest, and by no warning. Guest was powerful, he exploded the lab, killing the sciences, he
  557. the "modes" has feelings. it changes by no warning.
  558. ]])
  559. --- its obs smooth af do not touch
  560. ---- Sources and functions might be taken from others
  561. plr = owner
  562. Player = plr
  563. char = plr.Character
  564. hum = char.Humanoid
  565. local cam = game.Workspace.CurrentCamera
  566. Camera = cam
  567. local CamInterrupt = false
  568. local TwoD = false
  569. local TargetInfo = {nil, nil}
  570. cam.CameraType = "Custom"
  571. t = char.Torso
  572. h = char.Head
  573. ra = char["Right Arm"]
  574. la = char["Left Arm"]
  575. rl = char["Right Leg"]
  576. ll = char["Left Leg"]
  577. tors = char.Torso
  578. lleg = char["Left Leg"]
  579. root = char.HumanoidRootPart
  580. hed = char.Head
  581. rleg = char["Right Leg"]
  582. rarm = char["Right Arm"]
  583. larm = char["Left Arm"]
  584. radian = math.rad
  585. random = math.random
  586. Vec3 = Vector3.new
  587. Inst = Instance.new
  588. cFrame = CFrame.new
  589. Euler = CFrame.fromEulerAnglesXYZ
  590. vt = Vector3.new
  591. bc = BrickColor.new
  592. br = BrickColor.random
  593. it = Instance.new
  594. cf = CFrame.new
  595.  
  596. local Booleans = {
  597. CamFollow = true,
  598. GyroUse = true
  599. }
  600.  
  601. function lerp(object, newCFrame, alpha)
  602. return object:lerp(newCFrame, alpha)
  603. end
  604.  
  605. local Directer = Inst("BodyGyro", root)
  606. Directer.MaxTorque = Vec3(0, 0, 0)
  607. Directer.P = 600000
  608. local CPart = Inst("Part")
  609. CPart.Anchored = true
  610. CPart.CanCollide = false
  611. CPart.Locked = true
  612. CPart.Transparency = 1
  613.  
  614. local rainbowmode = false
  615. local chaosmode = false
  616.  
  617. local kan = Instance.new("Sound",char)
  618. kan.Volume = 1.25
  619. kan.TimePosition = 0
  620. kan.PlaybackSpeed = 1
  621. kan.Pitch = 1
  622. kan.SoundId = "rbxassetid://614032233"
  623. kan.Name = "wrecked"
  624. kan.Looped = true
  625. kan:Play()
  626.  
  627. local currentThemePlaying = kan.SoundId
  628. local currentPitch = kan.Pitch
  629. local currentVol = kan.Volume
  630. function newTheme(ID,timepos,pitch,vol)
  631. local kanz = kan
  632. --kanz:Stop()
  633. kanz.Volume = vol
  634. --kanz.TimePosition = timepos
  635. kanz.PlaybackSpeed = pitch
  636. kanz.Pitch = pitch
  637. kanz.SoundId = ID
  638. kanz.Name = "wrecked"
  639. kanz.Looped = true
  640. currentThemePlaying = kanz.SoundId
  641. currentVol = kanz.Volume
  642. currentPitch = kanz.Pitch
  643. --kanz:Play()
  644. --coroutine.resume(coroutine.create(function()
  645. --wait(0.05)
  646. --end))
  647. end
  648.  
  649.  
  650. function newThemeCust(ID,timepos,pitch,vol)
  651. local kanz = kan
  652. kanz:Stop()
  653. kanz.Volume = vol
  654. kanz.TimePosition = timepos
  655. kanz.PlaybackSpeed = pitch
  656. kanz.Pitch = pitch
  657. kanz.SoundId = ID
  658. kanz.Name = "wrecked"
  659. kanz.Looped = true
  660. currentThemePlaying = kanz.SoundId
  661. currentVol = kanz.Volume
  662. currentPitch = kanz.Pitch
  663. kanz:Play()
  664. coroutine.resume(coroutine.create(function()
  665. wait(0.05)
  666. end))
  667. end
  668.  
  669. local mutedtog = false
  670.  
  671. function CameraEnshaking(Length,Intensity)
  672. coroutine.resume(coroutine.create(function()
  673. local intensity = 1*Intensity
  674. local rotM = 0.01*Intensity
  675. for i = 0, Length, 0.1 do
  676. swait()
  677. intensity = intensity - 0.05*Intensity/Length
  678. rotM = rotM - 0.0005*Intensity/Length
  679. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  680. 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)
  681. end
  682. Humanoid.CameraOffset = Vec3(0, 0, 0)
  683. end))
  684. end
  685. CamShake=function(Part,Distan,Power,Times)
  686. local de=Part.Position
  687. for i,v in pairs(workspace:children()) do
  688. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  689. for _,c in pairs(v:children()) do
  690. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  691. local Noob=v.Humanoid
  692. if Noob~=nil then
  693. coroutine.resume(coroutine.create(function()
  694. FV = Instance.new("BoolValue", Noob)
  695. FV.Name = "CameraShake"
  696. for ShakeNum=1,Times do
  697. swait()
  698. local ef=Power
  699. if ef>=1 then
  700. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  701. else
  702. ef=Power*10
  703. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  704. end
  705. end
  706. Humanoid.CameraOffset = Vector3.new(0,0,0)
  707. FV:Destroy()
  708. end))
  709. CameraShake(Times, Power, Noob)
  710. end
  711. end
  712. end
  713. end
  714. end
  715. end
  716.  
  717. local toggleTag = true
  718. local bilguit = Instance.new("BillboardGui", hed)
  719. bilguit.Adornee = nil
  720. bilguit.Name = "ModeName"
  721. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  722. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  723. local modet = Instance.new("TextLabel", bilguit)
  724. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  725. modet.FontSize = "Size8"
  726. modet.TextScaled = true
  727. modet.TextTransparency = 0
  728. modet.BackgroundTransparency = 1
  729. modet.TextTransparency = 0
  730. modet.TextStrokeTransparency = 0
  731. modet.Font = "Antique"
  732. modet.TextStrokeColor3 = Color3.new(1,0,0)
  733. modet.TextColor3 = Color3.new(0.25,0,0)
  734. modet.Text = "Hopeless Guest"
  735.  
  736.  
  737. function chatfunc(text,color,typet,font,timeex)
  738. local chat = coroutine.wrap(function()
  739. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  740. Character:FindFirstChild("TalkingBillBoard"):destroy()
  741. end
  742. local naeeym2 = Instance.new("BillboardGui",Character)
  743. naeeym2.Size = UDim2.new(0,100,0,40)
  744. naeeym2.StudsOffset = Vector3.new(0,3,0)
  745. naeeym2.Adornee = Character.Head
  746. naeeym2.Name = "TalkingBillBoard"
  747. local tecks2 = Instance.new("TextLabel",naeeym2)
  748. tecks2.BackgroundTransparency = 1
  749. tecks2.BorderSizePixel = 0
  750. tecks2.Text = ""
  751. tecks2.Font = font
  752. tecks2.TextSize = 30
  753. tecks2.TextStrokeTransparency = 0
  754. tecks2.TextColor3 = color
  755. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  756. tecks2.Size = UDim2.new(1,0,0.5,0)
  757. local tecks3 = Instance.new("TextLabel",naeeym2)
  758. tecks3.BackgroundTransparency = 1
  759. tecks3.BorderSizePixel = 0
  760. tecks3.Text = ""
  761. tecks3.Font = font
  762. tecks3.TextSize = 30
  763. tecks3.TextStrokeTransparency = 0
  764. if typet == "Inverted" then
  765. tecks3.TextColor3 = Color3.new(0,0,0)
  766. tecks3.TextStrokeColor3 = color
  767. elseif typet == "Normal" then
  768. tecks3.TextColor3 = color
  769. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  770. end
  771. tecks3.Size = UDim2.new(1,0,0.5,0)
  772. coroutine.resume(coroutine.create(function()
  773. while true do
  774. swait(1)
  775. if chaosmode == true then
  776. tecks2.TextColor3 = BrickColor.random().Color
  777. tecks3.TextStrokeColor3 = BrickColor.random().Color
  778. end
  779. end
  780. end))
  781. modet.TextTransparency = modet.TextTransparency + 1
  782. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  783. for i = 0, 74*timeex do
  784. swait()
  785. modet.TextTransparency = 1
  786. modet.TextStrokeTransparency = 1
  787. tecks2.Text = text
  788. tecks3.Text = text
  789. end
  790. local randomrot = math.random(1,2)
  791. if randomrot == 1 then
  792. for i = 1, 50 do
  793. swait()
  794. tecks2.Text = text
  795. tecks3.Text = text
  796. modet.TextTransparency = modet.TextTransparency - .02
  797. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  798. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  799. tecks2.TextTransparency = tecks2.TextTransparency + .04
  800. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  801. tecks3.TextTransparency = tecks2.TextTransparency + .04
  802. end
  803. elseif randomrot == 2 then
  804. for i = 1, 50 do
  805. swait()
  806. tecks2.Text = text
  807. tecks3.Text = text
  808. modet.TextTransparency = modet.TextTransparency - .02
  809. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  810. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  811. tecks2.TextTransparency = tecks2.TextTransparency + .04
  812. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  813. tecks3.TextTransparency = tecks2.TextTransparency + .04
  814. end
  815. end
  816. modet.TextTransparency = 0
  817. modet.TextStrokeTransparency = 0
  818. if toggleTag == false then
  819. modet.TextTransparency = 1
  820. modet.TextStrokeTransparency = 1
  821. end
  822. naeeym2:Destroy()
  823. end)
  824. chat()
  825. end
  826.  
  827. function bosschatfunc(text,color,watval)
  828. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  829. coroutine.resume(coroutine.create(function()
  830. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  831. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  832. end
  833. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  834. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  835. scrg.Name = "Dialog"
  836. local txtlb = Instance.new("TextLabel",scrg)
  837. txtlb.Text = ""
  838. txtlb.Font = "Bodoni"
  839. txtlb.TextColor3 = Color3.new(0,0,0)
  840. txtlb.TextStrokeTransparency = 0
  841. txtlb.BackgroundTransparency = 0.75
  842. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  843. txtlb.TextStrokeColor3 = color
  844. txtlb.TextScaled = true
  845. txtlb.Size = UDim2.new(1,0,0.25,0)
  846. txtlb.TextXAlignment = "Left"
  847. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  848. local txtlb2 = Instance.new("TextLabel",scrg)
  849. txtlb2.Text = "???:"
  850. txtlb2.Font = "Arcade"
  851. txtlb2.TextColor3 = Color3.new(0,0,0)
  852. txtlb2.TextStrokeTransparency = 0
  853. txtlb2.BackgroundTransparency = 1
  854. txtlb2.TextStrokeColor3 = color
  855. txtlb2.TextSize = 40
  856. txtlb2.Size = UDim2.new(1,0,0.25,0)
  857. txtlb2.TextXAlignment = "Left"
  858. txtlb2.Position = UDim2.new(0,0,1,0)
  859. local fvalen = 0.55
  860. local fval = -0.49
  861. coroutine.resume(coroutine.create(function()
  862. while true do
  863. swait()
  864. if chaosmode == true then
  865. txtlb.Rotation = math.random(-1,1)
  866. txtlb2.Rotation = math.random(-1,1)
  867. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  868. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  869. txtlb.TextStrokeColor3 = BrickColor.random().Color
  870. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  871. end
  872. end
  873. end))
  874. coroutine.resume(coroutine.create(function()
  875. while true do
  876. swait()
  877. if scrg.Parent ~= nil then
  878. fvalen = fvalen - 0.0001
  879. elseif scrg.Parent == nil then
  880. break
  881. end
  882. end
  883. end))
  884. local flol = 1.75
  885. local flil = 1.6
  886. coroutine.resume(coroutine.create(function()
  887. for i = 0, 9 do
  888. swait()
  889. fval = fval + 0.05
  890. flol = flol - 0.1
  891. flil = flil - 0.1
  892. txtlb.Text = ""
  893. txtlb.Position = UDim2.new(0,0,flol,0)
  894. txtlb2.Position = UDim2.new(0,0,flil,0)
  895. end
  896. txtlb.Text = text
  897. wait(watval)
  898. local valinc = 0
  899. for i = 0, 99 do
  900. swait()
  901. valinc = valinc + 0.0001
  902. flol = flol + valinc
  903. flil = flil + valinc
  904. txtlb.Rotation = txtlb.Rotation + valinc*20
  905. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  906. txtlb.Position = UDim2.new(0,0,flol,0)
  907. txtlb2.Position = UDim2.new(0,0,flil,0)
  908. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  909. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  910. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  911. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  912. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  913. end
  914. scrg:Destroy()
  915. end))
  916. end))
  917. end
  918. end
  919.  
  920.  
  921. local Create = LoadLibrary("RbxUtility").Create
  922.  
  923. CFuncs = {
  924. ["Part"] = {
  925. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  926. local Part = Create("Part"){
  927. Parent = Parent,
  928. Reflectance = Reflectance,
  929. Transparency = Transparency,
  930. CanCollide = false,
  931. Locked = true,
  932. BrickColor = BrickColor.new(tostring(BColor)),
  933. Name = Name,
  934. Size = Size,
  935. Material = Material,
  936. }
  937. RemoveOutlines(Part)
  938. return Part
  939. end;
  940. };
  941.  
  942. ["Mesh"] = {
  943. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  944. local Msh = Create(Mesh){
  945. Parent = Part,
  946. Offset = OffSet,
  947. Scale = Scale,
  948. }
  949. if Mesh == "SpecialMesh" then
  950. Msh.MeshType = MeshType
  951. Msh.MeshId = MeshId
  952. end
  953. return Msh
  954. end;
  955. };
  956.  
  957. ["Mesh"] = {
  958. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  959. local Msh = Create(Mesh){
  960. Parent = Part,
  961. Offset = OffSet,
  962. Scale = Scale,
  963. }
  964. if Mesh == "SpecialMesh" then
  965. Msh.MeshType = MeshType
  966. Msh.MeshId = MeshId
  967. end
  968. return Msh
  969. end;
  970. };
  971.  
  972. ["Weld"] = {
  973. Create = function(Parent, Part0, Part1, C0, C1)
  974. local Weld = Create("Weld"){
  975. Parent = Parent,
  976. Part0 = Part0,
  977. Part1 = Part1,
  978. C0 = C0,
  979. C1 = C1,
  980. }
  981. return Weld
  982. end;
  983. };
  984.  
  985. ["Sound"] = {
  986. Create = function(id, par, vol, pit)
  987. coroutine.resume(coroutine.create(function()
  988. local S = Create("Sound"){
  989. Volume = vol,
  990. Name = "EffectSoundo",
  991. Pitch = pit or 1,
  992. SoundId = id,
  993. Parent = par or workspace,
  994. }
  995. wait()
  996. S:play()
  997. game:GetService("Debris"):AddItem(S, 10)
  998. end))
  999. end;
  1000. };
  1001.  
  1002. ["TimeSound"] = {
  1003. Create = function(id, par, vol, pit, timepos)
  1004. coroutine.resume(coroutine.create(function()
  1005. local S = Create("Sound"){
  1006. Volume = vol,
  1007. Name = "EffectSoundo",
  1008. Pitch = pit or 1,
  1009. SoundId = id,
  1010. TimePosition = timepos,
  1011. Parent = par or workspace,
  1012. }
  1013. wait()
  1014. S:play()
  1015. game:GetService("Debris"):AddItem(S, 10)
  1016. end))
  1017. end;
  1018. };
  1019. ["EchoSound"] = {
  1020. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1021. coroutine.resume(coroutine.create(function()
  1022. local Sas = Create("Sound"){
  1023. Volume = vol,
  1024. Name = "EffectSoundo",
  1025. Pitch = pit or 1,
  1026. SoundId = id,
  1027. TimePosition = timepos,
  1028. Parent = par or workspace,
  1029. }
  1030. local E = Create("EchoSoundEffect"){
  1031. Delay = echodelay,
  1032. Name = "Echo",
  1033. Feedback = fedb,
  1034. DryLevel = dryl,
  1035. Parent = Sas,
  1036. }
  1037. wait()
  1038. Sas:play()
  1039. game:GetService("Debris"):AddItem(Sas, delays)
  1040. end))
  1041. end;
  1042. };
  1043.  
  1044. ["LongSound"] = {
  1045. Create = function(id, par, vol, pit)
  1046. coroutine.resume(coroutine.create(function()
  1047. local S = Create("Sound"){
  1048. Volume = vol,
  1049. Pitch = pit or 1,
  1050. SoundId = id,
  1051. Parent = par or workspace,
  1052. }
  1053. wait()
  1054. S:play()
  1055. game:GetService("Debris"):AddItem(S, 60)
  1056. end))
  1057. end;
  1058. };
  1059.  
  1060. ["ParticleEmitter"] = {
  1061. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1062. local fp = Create("ParticleEmitter"){
  1063. Parent = Parent,
  1064. Color = ColorSequence.new(Color1, Color2),
  1065. LightEmission = LightEmission,
  1066. Size = Size,
  1067. Texture = Texture,
  1068. Transparency = Transparency,
  1069. ZOffset = ZOffset,
  1070. Acceleration = Accel,
  1071. Drag = Drag,
  1072. LockedToPart = LockedToPart,
  1073. VelocityInheritance = VelocityInheritance,
  1074. EmissionDirection = EmissionDirection,
  1075. Enabled = Enabled,
  1076. Lifetime = LifeTime,
  1077. Rate = Rate,
  1078. Rotation = Rotation,
  1079. RotSpeed = RotSpeed,
  1080. Speed = Speed,
  1081. VelocitySpread = VelocitySpread,
  1082. }
  1083. return fp
  1084. end;
  1085. };
  1086.  
  1087. CreateTemplate = {
  1088.  
  1089. };
  1090. }
  1091.  
  1092.  
  1093.  
  1094. New = function(Object, Parent, Name, Data)
  1095. local Object = Instance.new(Object)
  1096. for Index, Value in pairs(Data or {}) do
  1097. Object[Index] = Value
  1098. end
  1099. Object.Parent = Parent
  1100. Object.Name = Name
  1101. return Object
  1102. end
  1103. local halocolor = BrickColor.new("Pastel light blue")
  1104. local halocolor2 = BrickColor.new("Cool yellow")
  1105. local starcolor = BrickColor.new("Bright yellow")
  1106. local lunacolor = BrickColor.new("Navy blue")
  1107. local lunacolor2 = BrickColor.new("Bright blue")
  1108. local wepcolor = BrickColor.new("Really black")
  1109. local maincolor = BrickColor.new("Really black")
  1110. local m = Instance.new("Model",char)
  1111. local m2 = Instance.new("Model",char)
  1112. local m3 = Instance.new("Model",char)
  1113. local mw1 = Instance.new("Model",char)
  1114. local mw2 = Instance.new("Model",char)
  1115.  
  1116.  
  1117. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1118. local gui = it(GuiType)
  1119. gui.Parent = parent
  1120. gui.Text = text
  1121. gui.BackgroundTransparency = backtrans
  1122. gui.BackgroundColor3 = backcol
  1123. gui.SizeConstraint = "RelativeXY"
  1124. gui.TextXAlignment = "Center"
  1125. gui.TextYAlignment = "Center"
  1126. gui.Position = pos
  1127. gui.Size = size
  1128. gui.Font = "SourceSans"
  1129. gui.FontSize = "Size14"
  1130. gui.TextWrapped = false
  1131. gui.TextStrokeTransparency = 0
  1132. gui.TextColor = BrickColor.new("White")
  1133. return gui
  1134. end
  1135. --------------------------- GUI STUFF
  1136. local basgui = it("GuiMain")
  1137. basgui.Parent = plr.PlayerGui
  1138. basgui.Name = "VISgui"
  1139. local fullscreenz = it("Frame")
  1140. fullscreenz.Parent = basgui
  1141. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  1142. fullscreenz.BackgroundTransparency = 1
  1143. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  1144. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  1145. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  1146. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  1147. imgl2.BackgroundTransparency = 1
  1148. imgl2.BorderSizePixel = 0
  1149. imgl2.ImageTransparency = 0.5
  1150. imgl2.ImageColor3 = Color3.new(1,0,0)
  1151. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  1152. imgl2.Size = UDim2.new(0,1000,0,1000)
  1153. imgl2.Image = "rbxassetid://2325939897"
  1154. local techc = imgl2:Clone()
  1155. techc.Parent = fullscreenz
  1156. techc.ImageTransparency = 0
  1157. techc.Size = UDim2.new(0,900,0,900)
  1158. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  1159. techc.ImageColor3 = Color3.new(1,0,0)
  1160. techc.Image = "rbxassetid://2273224484"
  1161. local circl = imgl2:Clone()
  1162. circl.Parent = fullscreenz
  1163. circl.ImageTransparency = 0
  1164. circl.Size = UDim2.new(0,550,0,550)
  1165. circl.Position = UDim2.new(0.75,25,0.55,25)
  1166. circl.ImageColor3 = Color3.new(0,0,0)
  1167. circl.Image = "rbxassetid://2312119891"
  1168. local circl2 = imgl2:Clone()
  1169. circl2.Parent = fullscreenz
  1170. circl2.ImageTransparency = 0
  1171. circl2.Size = UDim2.new(0,700,0,700)
  1172. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  1173. circl2.ImageColor3 = Color3.new(1,0,0)
  1174. circl2.Image = "rbxassetid://2312119891"
  1175. local imgl2b = imgl2:Clone()
  1176. imgl2b.Parent = fullscreenz
  1177. imgl2b.ImageTransparency = 0
  1178. imgl2b.Size = UDim2.new(0,800,0,800)
  1179. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  1180. imgl2b.ImageColor3 = Color3.new(0,0,0)
  1181. local ned = Instance.new("TextLabel",fullscreenz)
  1182. ned.ZIndex = 2
  1183. ned.Font = "Arcade"
  1184. ned.BackgroundTransparency = 1
  1185. ned.BorderSizePixel = 0.65
  1186. ned.Size = UDim2.new(0.3,0,0.2,0)
  1187. ned.Position = UDim2.new(0.7,0,0.8,0)
  1188. ned.TextColor3 = BrickColor.new("Really red").Color
  1189. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  1190. ned.TextScaled = true
  1191. ned.TextStrokeTransparency = 0
  1192. ned.Text = "Hopeless Guest"
  1193. ned.TextSize = 24
  1194. ned.Rotation = 1
  1195. ned.TextXAlignment = "Right"
  1196. ned.TextYAlignment = "Bottom"
  1197.  
  1198. local extrawingmod1 = Instance.new("Model",char)
  1199. local extrawingmod2 = Instance.new("Model",char)
  1200.  
  1201. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1202. local p = Instance.new("Part")
  1203. p.TopSurface = 0
  1204. p.BottomSurface = 0
  1205. p.Parent = parent
  1206. p.Size = Vector3.new(0.1,0.1,0.1)
  1207. p.Transparency = transparency
  1208. p.Reflectance = reflectance
  1209. p.CanCollide = false
  1210. p.Locked = true
  1211. p.BrickColor = brickcolor
  1212. p.Material = material
  1213. return p
  1214. end
  1215.  
  1216. function CreateMesh(parent,meshtype,x1,y1,z1)
  1217. local mesh = Instance.new("SpecialMesh",parent)
  1218. mesh.MeshType = meshtype
  1219. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1220. return mesh
  1221. end
  1222.  
  1223. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  1224. local mesh = Instance.new("SpecialMesh",parent)
  1225. mesh.MeshType = "FileMesh"
  1226. mesh.MeshId = meshid
  1227. mesh.Scale = Vector3.new(x1,y1,z1)
  1228. return mesh
  1229. end
  1230.  
  1231.  
  1232. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  1233. local mesh = Instance.new("SpecialMesh",parent)
  1234. mesh.MeshType = "FileMesh"
  1235. mesh.MeshId = meshid
  1236. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  1237. mesh.Scale = Vector3.new(x1,y1,z1)
  1238. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  1239. return mesh
  1240. end
  1241.  
  1242. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  1243. local weld = Instance.new("Weld")
  1244. weld.Parent = parent
  1245. weld.Part0 = part0
  1246. weld.Part1 = part1
  1247. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  1248. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  1249. return weld
  1250. end
  1251.  
  1252.  
  1253. --------------
  1254. -------------- ground effect
  1255. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1256. 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))
  1257. local effar = Instance.new("ParticleEmitter",cen)
  1258. effar.Texture = "rbxassetid://2344870656"
  1259. effar.LightEmission = 1
  1260. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  1261. effar.Rate = 50
  1262. effar.Enabled = false
  1263. effar.EmissionDirection = "Front"
  1264. effar.Lifetime = NumberRange.new(1)
  1265. 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)})
  1266. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1267. effar.Speed = NumberRange.new(80,90)
  1268. effar.Acceleration = Vector3.new(0,10,0)
  1269. effar.Drag = 5
  1270. effar.Rotation = NumberRange.new(-500,500)
  1271. effar.SpreadAngle = Vector2.new(0,900)
  1272. effar.RotSpeed = NumberRange.new(-500,500)
  1273.  
  1274. ----
  1275. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1276. 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))
  1277. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  1278. 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))
  1279.  
  1280. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1281. CreateMesh(handle,"Brick",0,0,0)
  1282. 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))
  1283. local valuaring = 10
  1284. for i = 0, 49 do
  1285. valuaring = valuaring + 10
  1286. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  1287. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  1288. 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))
  1289. end
  1290.  
  1291. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  1292. CreateMesh(handle,"Brick",0,0,0)
  1293. 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))
  1294. local valuaring = 10
  1295. for i = 0, 49 do
  1296. valuaring = valuaring + 10
  1297. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1298. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  1299. 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))
  1300. end
  1301.  
  1302.  
  1303. local handle = CreateParta(m,1,1,"Neon",maincolor)
  1304. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1305. 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))
  1306.  
  1307. --- Left wing.
  1308.  
  1309. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1310. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1311. 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))
  1312.  
  1313. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1314. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1315. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1316. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1317. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1318. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1319. A0 = Instance.new('Attachment',wed)
  1320. A0.Position = vt(0,0.25,0.25)
  1321. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1322. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1323. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1324. A1 = Instance.new('Attachment',wed)
  1325. A1.Position = vt(0,-0.25,-2)
  1326. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1327. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1328. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1329.  
  1330. tl1 = Instance.new('Trail',wed)
  1331. tl1.Attachment0 = A1
  1332. tl1.Attachment1 = A0
  1333. tl1.Texture = "rbxassetid://2108945559"
  1334. tl1.LightEmission = 1
  1335. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1336. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1337. tl1.Lifetime = 0.6
  1338.  
  1339.  
  1340. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1341. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1342. 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))
  1343.  
  1344. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1345. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1346. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1347. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1348. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1349. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1350. A0 = Instance.new('Attachment',wed)
  1351. A0.Position = vt(0,0.25,0.25)
  1352. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1353. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1354. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1355. A1 = Instance.new('Attachment',wed)
  1356. A1.Position = vt(0,-0.25,-2)
  1357. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1358. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1359. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1360.  
  1361. tl2 = Instance.new('Trail',wed)
  1362. tl2.Attachment0 = A1
  1363. tl2.Attachment1 = A0
  1364. tl2.Texture = "rbxassetid://2108945559"
  1365. tl2.LightEmission = 1
  1366. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1367. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1368. tl2.Lifetime = 0.6
  1369.  
  1370. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1371. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1372. 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))
  1373.  
  1374. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1375. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1376. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1377. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1378. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1379. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1380. A0 = Instance.new('Attachment',wed)
  1381. A0.Position = vt(0,0.25,0.25)
  1382. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1383. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1384. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1385. A1 = Instance.new('Attachment',wed)
  1386. A1.Position = vt(0,-0.25,-2)
  1387. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1388. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1389. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1390.  
  1391. tl3 = Instance.new('Trail',wed)
  1392. tl3.Attachment0 = A1
  1393. tl3.Attachment1 = A0
  1394. tl3.Texture = "rbxassetid://2108945559"
  1395. tl3.LightEmission = 1
  1396. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1397. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1398. tl3.Lifetime = 0.6
  1399. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1400. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1401. 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))
  1402.  
  1403. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1404. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1405. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1406. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1407. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1408. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1409. A0 = Instance.new('Attachment',wed)
  1410. A0.Position = vt(0,0.25*2,0.25*2)
  1411. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1412. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1413. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1414. A1 = Instance.new('Attachment',wed)
  1415. A1.Position = vt(0,-0.25*2,-2*2)
  1416. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1417. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1418. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1419.  
  1420. tl4 = Instance.new('Trail',wed)
  1421. tl4.Attachment0 = A1
  1422. tl4.Attachment1 = A0
  1423. tl4.Texture = "rbxassetid://2108945559"
  1424. tl4.LightEmission = 1
  1425. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1426. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1427. tl4.Lifetime = 0.6
  1428. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1429. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1430. 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))
  1431.  
  1432. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1433. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1434. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1435. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1436. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1437. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1438. A0 = Instance.new('Attachment',wed)
  1439. A0.Position = vt(0,0.25*2,0.25*2)
  1440. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1441. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1442. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1443. A1 = Instance.new('Attachment',wed)
  1444. A1.Position = vt(0,-0.25*2,-2*2)
  1445. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1446. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1447. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1448.  
  1449. tl5 = Instance.new('Trail',wed)
  1450. tl5.Attachment0 = A1
  1451. tl5.Attachment1 = A0
  1452. tl5.Texture = "rbxassetid://2108945559"
  1453. tl5.LightEmission = 1
  1454. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1455. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1456. tl5.Lifetime = 0.6
  1457. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1458. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1459. 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))
  1460.  
  1461. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1462. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1463. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1464. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1465. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1466. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1467. A0 = Instance.new('Attachment',wed)
  1468. A0.Position = vt(0,0.25*2,0.25*2)
  1469. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1470. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1471. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1472. A1 = Instance.new('Attachment',wed)
  1473. A1.Position = vt(0,-0.25*2,-2*2)
  1474. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1475. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1476. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1477. tl6 = Instance.new('Trail',wed)
  1478. tl6.Attachment0 = A1
  1479. tl6.Attachment1 = A0
  1480. tl6.Texture = "rbxassetid://2108945559"
  1481. tl6.LightEmission = 1
  1482. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1483. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1484. tl6.Lifetime = 0.6
  1485.  
  1486. tl1.Enabled = false
  1487. tl2.Enabled = false
  1488. tl3.Enabled = false
  1489. tl4.Enabled = false
  1490. tl5.Enabled = false
  1491. tl6.Enabled = false
  1492. -- Right wing.
  1493.  
  1494. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1495. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1496. 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))
  1497.  
  1498. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1499. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1500. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1501. A0 = Instance.new('Attachment',wed)
  1502. A0.Position = vt(0,0.25,0.25)
  1503. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1504. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1505. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1506. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1507. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1508. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1509. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1510. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1511. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1512. A1 = Instance.new('Attachment',wed)
  1513. A1.Position = vt(0,2,0.25)
  1514.  
  1515. tr1 = Instance.new('Trail',wed)
  1516. tr1.Attachment0 = A1
  1517. tr1.Attachment1 = A0
  1518. tr1.Texture = "rbxassetid://2108945559"
  1519. tr1.LightEmission = 1
  1520. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1521. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1522. tr1.Lifetime = 0.6
  1523.  
  1524. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1525. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1526. 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))
  1527.  
  1528. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1529. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1530. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1531. A0 = Instance.new('Attachment',wed)
  1532. A0.Position = vt(0,0.25,0.25)
  1533. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1534. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1535. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1536. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1537. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1538. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1539. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1540. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1541. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1542. A1 = Instance.new('Attachment',wed)
  1543. A1.Position = vt(0,2,0.25)
  1544.  
  1545. tr2 = Instance.new('Trail',wed)
  1546. tr2.Attachment0 = A1
  1547. tr2.Attachment1 = A0
  1548. tr2.Texture = "rbxassetid://2108945559"
  1549. tr2.LightEmission = 1
  1550. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1551. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1552. tr2.Lifetime = 0.6
  1553.  
  1554. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1555. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1556. 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))
  1557.  
  1558. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1559. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1560. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1561. A0 = Instance.new('Attachment',wed)
  1562. A0.Position = vt(0,0.25,0.25)
  1563. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1564. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1565. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1566. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1567. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1568. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1569. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1570. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1571. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1572. A1 = Instance.new('Attachment',wed)
  1573. A1.Position = vt(0,2,0.25)
  1574.  
  1575. tr3 = Instance.new('Trail',wed)
  1576. tr3.Attachment0 = A1
  1577. tr3.Attachment1 = A0
  1578. tr3.Texture = "rbxassetid://2108945559"
  1579. tr3.LightEmission = 1
  1580. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1581. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1582. tr3.Lifetime = 0.6
  1583.  
  1584.  
  1585. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1586. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1587. 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))
  1588.  
  1589. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1590. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1591. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1592. A0 = Instance.new('Attachment',wed)
  1593. A0.Position = vt(0,0.25*2,0.25*2)
  1594. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1595. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1596. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1597. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1598. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1599. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1600. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1601. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1602. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1603. A1 = Instance.new('Attachment',wed)
  1604. A1.Position = vt(0,2,0.25)
  1605.  
  1606. tr4 = Instance.new('Trail',wed)
  1607. tr4.Attachment0 = A1
  1608. tr4.Attachment1 = A0
  1609. tr4.Texture = "rbxassetid://2108945559"
  1610. tr4.LightEmission = 1
  1611. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1612. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1613. tr4.Lifetime = 0.6
  1614.  
  1615. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1616. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1617. 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))
  1618.  
  1619. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1620. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1621. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1622. A0 = Instance.new('Attachment',wed)
  1623. A0.Position = vt(0,0.25*2,0.25*2)
  1624. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1625. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1626. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1627. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1628. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1629. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1630. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1631. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1632. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1633. A1 = Instance.new('Attachment',wed)
  1634. A1.Position = vt(0,2,0.25)
  1635.  
  1636. tr5 = Instance.new('Trail',wed)
  1637. tr5.Attachment0 = A1
  1638. tr5.Attachment1 = A0
  1639. tr5.Texture = "rbxassetid://2108945559"
  1640. tr5.LightEmission = 1
  1641. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1642. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1643. tr5.Lifetime = 0.6
  1644.  
  1645. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1646. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1647. 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))
  1648.  
  1649. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1650. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1651. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1652. A0 = Instance.new('Attachment',wed)
  1653. A0.Position = vt(0,0.25*2,0.25*2)
  1654. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1655. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1656. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1657. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1658. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1659. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1660. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1661. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1662. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1663. A1 = Instance.new('Attachment',wed)
  1664. A1.Position = vt(0,2,0.25)
  1665.  
  1666. tr6 = Instance.new('Trail',wed)
  1667. tr6.Attachment0 = A1
  1668. tr6.Attachment1 = A0
  1669. tr6.Texture = "rbxassetid://2108945559"
  1670. tr6.LightEmission = 1
  1671. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1672. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1673. tr6.Lifetime = 0.6
  1674.  
  1675. tr4.Enabled = false
  1676. tr5.Enabled = false
  1677. tr6.Enabled = false
  1678. ---- HERES THE RING
  1679.  
  1680.  
  1681. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1682. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1683. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1684. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1685. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1686. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1687. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1688. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1689. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1690.  
  1691.  
  1692. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1693. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1694. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1695.  
  1696. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1697. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1698. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1699.  
  1700.  
  1701.  
  1702. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1703. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1704. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1705.  
  1706. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1707. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1708. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1709.  
  1710. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1711. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1712. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1713.  
  1714. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1715. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1716. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1717. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1718. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1719. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1720.  
  1721. --- second ring
  1722.  
  1723. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1724. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1725. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1726. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1727. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1728. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1729. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1730. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1731. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1732.  
  1733. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1734. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1735. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1736.  
  1737. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1738. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1739. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1740.  
  1741.  
  1742.  
  1743. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1744. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1745. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1746.  
  1747. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1748. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1749. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1750.  
  1751. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1752. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1753. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1754.  
  1755. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1756. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1757. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1758. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1759. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1760. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1761.  
  1762.  
  1763.  
  1764. for i, v in pairs(m:GetChildren()) do
  1765. if v:IsA("Part") then
  1766. v.BrickColor = BrickColor.new("Really black")
  1767. v.Material = "Glass"
  1768. end
  1769. end
  1770. for i, v in pairs(m2:GetChildren()) do
  1771. if v:IsA("Part") then
  1772. v.BrickColor = BrickColor.new("Crimson")
  1773. v.Material = "Granite"
  1774. end
  1775. end
  1776. for i, v in pairs(m3:GetChildren()) do
  1777. if v:IsA("Part") then
  1778. v.BrickColor = BrickColor.new("Really red")
  1779. v.Material = "Neon"
  1780. end
  1781. end
  1782. for i, v in pairs(mw2:GetChildren()) do
  1783. if v:IsA("Part") then
  1784. v.BrickColor = BrickColor.new("Really red")
  1785. v.Material = "Neon"
  1786. end
  1787. end
  1788. for i, v in pairs(mw1:GetChildren()) do
  1789. if v:IsA("Part") then
  1790. v.Transparency = 1
  1791. v.BrickColor = BrickColor.new("Really red")
  1792. v.Material = "Neon"
  1793. end
  1794. end
  1795. for i, v in pairs(extrawingmod1:GetChildren()) do
  1796. if v:IsA("Part") then
  1797. v.Transparency = 1
  1798. v.BrickColor = BrickColor.new("White")
  1799. v.Material = "Neon"
  1800. end
  1801. end
  1802. for i, v in pairs(extrawingmod2:GetChildren()) do
  1803. if v:IsA("Part") then
  1804. v.Transparency = 1
  1805. v.BrickColor = BrickColor.new("White")
  1806. v.Material = "Neon"
  1807. end
  1808. end
  1809. local MAINRUINCOLOR = BrickColor.new("Really red")
  1810. ------
  1811.  
  1812.  
  1813. function RemoveOutlines(part)
  1814. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1815. end
  1816. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1817. local Part = Create("Part")({
  1818. Parent = Parent,
  1819. Reflectance = Reflectance,
  1820. Transparency = Transparency,
  1821. CanCollide = false,
  1822. Locked = true,
  1823. BrickColor = BrickColor.new(tostring(BColor)),
  1824. Name = Name,
  1825. Size = Size,
  1826. Material = Material
  1827. })
  1828. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1829. RemoveOutlines(Part)
  1830. return Part
  1831. end
  1832. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1833. local Msh = Create(Mesh)({
  1834. Parent = Part,
  1835. Offset = OffSet,
  1836. Scale = Scale
  1837. })
  1838. if Mesh == "SpecialMesh" then
  1839. Msh.MeshType = MeshType
  1840. Msh.MeshId = MeshId
  1841. end
  1842. return Msh
  1843. end
  1844. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1845. local Weld = Create("Weld")({
  1846. Parent = Parent,
  1847. Part0 = Part0,
  1848. Part1 = Part1,
  1849. C0 = C0,
  1850. C1 = C1
  1851. })
  1852. return Weld
  1853. end
  1854.  
  1855. Character=Player.Character
  1856. PlayerGui=Player.PlayerGui
  1857. Backpack=Player.Backpack
  1858. Torso=Character.Torso
  1859. Head=Character.Head
  1860. Humanoid=Character.Humanoid
  1861. m=Instance.new('Model',Character)
  1862. LeftArm=Character["Left Arm"]
  1863. LeftLeg=Character["Left Leg"]
  1864. RightArm=Character["Right Arm"]
  1865. RightLeg=Character["Right Leg"]
  1866. LS=Torso["Left Shoulder"]
  1867. LH=Torso["Left Hip"]
  1868. RS=Torso["Right Shoulder"]
  1869. RH=Torso["Right Hip"]
  1870. Face = Head.face
  1871. Neck=Torso.Neck
  1872. it=Instance.new
  1873. attacktype=1
  1874. vt=Vector3.new
  1875. cf=CFrame.new
  1876. euler=CFrame.fromEulerAnglesXYZ
  1877. angles=CFrame.Angles
  1878. cloaked=false
  1879. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1880. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1881. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1882. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1883. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1884. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1885. RootPart=Character.HumanoidRootPart
  1886. RootJoint=RootPart.RootJoint
  1887. RootCF=euler(-1.57,0,3.14)
  1888. attack = false
  1889. attackdebounce = false
  1890. deb=false
  1891. equipped=true
  1892. hand=false
  1893. MMouse=nil
  1894. combo=0
  1895. mana=0
  1896. trispeed=.2
  1897. attackmode='none'
  1898. local idle=0
  1899. local Anim="Idle"
  1900. local Effects={}
  1901. local gun=false
  1902. local shoot=false
  1903. local sine = 0
  1904. local change = 1
  1905. local CRAZED = false
  1906.  
  1907.  
  1908. function RecolorTextAndRename(name,col1,col2,font)
  1909. modet.TextStrokeColor3 = col2
  1910. modet.TextColor3 = col1
  1911. modet.Font = font
  1912. modet.Text = name
  1913. techc.ImageColor3 = col2
  1914. circl.ImageColor3 = col2
  1915. circl2.ImageColor3 = col1
  1916. imgl2.ImageColor3 = col1
  1917. imgl2b.ImageColor3 = col2
  1918. ned.Text = name
  1919. ned.TextColor3 = col1
  1920. ned.TextStrokeColor3 = col2
  1921. end
  1922.  
  1923. local disably = false
  1924.  
  1925. function warnedpeople(text,represfont,color,color2)
  1926. if disably ~= true then
  1927. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1928. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1929. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1930. coroutine.resume(coroutine.create(function()
  1931. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1932. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1933. end
  1934. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1935. scrg.Name = "Spinny"
  1936. local frm = Instance.new("Frame",scrg)
  1937. frm.BackgroundTransparency = 0.25
  1938. frm.BackgroundColor3 = color
  1939. frm.BorderSizePixel = 0
  1940. frm.Rotation = 45
  1941. frm.Size = UDim2.new(3,0,0,100)
  1942. frm.Position = UDim2.new(-4,0,0,0)
  1943. local frm2 = frm:Clone()
  1944. frm2.Parent = scrg
  1945. frm2.BackgroundColor3 = color2
  1946. frm2.Position = UDim2.new(-4.05,0,0,0)
  1947. local imlb = Instance.new("ImageLabel",scrg)
  1948. imlb.BackgroundTransparency = 1
  1949. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1950. imlb.Image = "rbxassetid://2344851144"
  1951. imlb.Size = UDim2.new(0,750,0,750)
  1952. imlb.ImageColor3 = color2
  1953. imlb.ImageTransparency = 0.25
  1954. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1955. local imlb2 = imlb:Clone()
  1956. imlb2.Image = "rbxassetid://2325939897"
  1957. imlb2.Size = UDim2.new(1,0,1,0)
  1958. imlb2.ImageColor3 = color
  1959. imlb2.ImageTransparency = 0
  1960. imlb2.Position = UDim2.new(0,0,0,0)
  1961. local imlb3 = imlb:Clone()
  1962. imlb3.Image = "rbxassetid://2344830904"
  1963. imlb3.Size = UDim2.new(1,0,1,0)
  1964. imlb3.ImageColor3 = color2
  1965. imlb3.ImageTransparency = 0
  1966. imlb3.Position = UDim2.new(0,0,0,0)
  1967. local imlb4 = imlb:Clone()
  1968. imlb4.Image = "rbxassetid://2344870656"
  1969. imlb4.Size = UDim2.new(3,0,3,0)
  1970. imlb4.ImageColor3 = Color3.new(1,1,1)
  1971. imlb4.ImageTransparency = 0
  1972. imlb4.Position = UDim2.new(-1,0,-1,0)
  1973. local imlb5 = imlb:Clone()
  1974. imlb5.Image = "rbxassetid://2344870656"
  1975. imlb5.Size = UDim2.new(10,0,10,0)
  1976. imlb5.ImageColor3 = color2
  1977. imlb5.ImageTransparency = 0
  1978. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1979. imlb2.Parent = imlb
  1980. imlb3.Parent = imlb
  1981. imlb4.Parent = imlb
  1982. imlb5.Parent = imlb
  1983. local txtlb2 = Instance.new("TextLabel",imlb)
  1984. txtlb2.Text = text
  1985. txtlb2.Font = represfont
  1986. txtlb2.TextColor3 = color
  1987. txtlb2.TextStrokeTransparency = 0
  1988. txtlb2.BackgroundTransparency = 1
  1989. txtlb2.TextStrokeColor3 = color2
  1990. txtlb2.TextScaled = true
  1991. txtlb2.Size = UDim2.new(1,0,1,0)
  1992. txtlb2.Position = UDim2.new(0,0,0,0)
  1993. local fvalen = 0.55
  1994. local fval = -0.49
  1995. coroutine.resume(coroutine.create(function()
  1996. while true do
  1997. swait()
  1998. if CRAZED == true then
  1999. txtlb2.Rotation = math.random(-1,1)
  2000. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2001. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2002. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  2003. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  2004. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  2005. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2006. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  2007. end
  2008. end
  2009. end))
  2010. coroutine.resume(coroutine.create(function()
  2011. while true do
  2012. swait()
  2013. if chaosmode == true then
  2014. txtlb2.Rotation = math.random(-1,1)
  2015. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2016. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  2017. imlb.ImageColor3 = BrickColor.random().Color
  2018. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  2019. end
  2020. end
  2021. end))
  2022. coroutine.resume(coroutine.create(function()
  2023. while true do
  2024. swait()
  2025. if scrg.Parent ~= nil then
  2026. fvalen = fvalen - 0.0001
  2027. elseif scrg.Parent == nil then
  2028. break
  2029. end
  2030. end
  2031. end))
  2032. local flol = -5
  2033. local flil = 1.6
  2034. coroutine.resume(coroutine.create(function()
  2035. for i = 0, 49 do
  2036. swait()
  2037. flol = flol + 0.125
  2038. flil = flil - 0.1
  2039. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  2040. frm.Rotation = frm.Rotation - 0.25
  2041. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  2042. frm2.Rotation = frm.Rotation + 0.325
  2043. imlb3.Rotation = imlb3.Rotation - 10
  2044. imlb2.Rotation = imlb.Rotation + 7.5
  2045. imlb.Rotation = imlb.Rotation + 5
  2046. txtlb2.Rotation = txtlb2.Rotation - 5.125
  2047. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  2048. end
  2049. for i = 0, 99 do
  2050. swait()
  2051. fval = fval + 0.05
  2052. flol = flol + 0.005
  2053. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  2054. frm.Rotation = frm.Rotation - 0.075
  2055. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  2056. frm2.Rotation = frm2.Rotation + 0.125
  2057. imlb3.Rotation = imlb3.Rotation - 2
  2058. imlb2.Rotation = imlb.Rotation + 1.5
  2059. imlb.Rotation = imlb.Rotation + 1
  2060. txtlb2.Rotation = txtlb2.Rotation - 1.125
  2061. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  2062. end
  2063. local valinc = 0
  2064. local vinc2 = 1
  2065. for i = 0, 99 do
  2066. swait()
  2067. vinc2 = vinc2 + 0.25
  2068. valinc = valinc + 0.0001
  2069. flol = flol + valinc
  2070. flil = flil + valinc
  2071. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  2072. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  2073. imlb.Rotation = imlb.Rotation + 1*vinc2
  2074. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  2075. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  2076. frm.Rotation = frm.Rotation + 0.1*vinc2
  2077. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  2078. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  2079. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  2080. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  2081. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  2082. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  2083. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  2084. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  2085. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  2086. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  2087. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  2088. end
  2089. scrg:Destroy()
  2090. end))
  2091. end))
  2092. end
  2093. end
  2094. end
  2095.  
  2096.  
  2097. --save shoulders
  2098. RSH, LSH=nil, nil
  2099. --welds
  2100. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2101. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2102. LH=Torso["Left Hip"]
  2103. RH=Torso["Right Hip"]
  2104. TorsoColor=Torso.BrickColor
  2105. function NoOutline(Part)
  2106. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2107. end
  2108. ch=Character
  2109. RSH=ch.Torso["Right Shoulder"]
  2110. LSH=ch.Torso["Left Shoulder"]
  2111. --
  2112. RSH.Parent=nil
  2113. LSH.Parent=nil
  2114. --
  2115. RW.Name="Right Shoulder"
  2116. RW.Part0=ch.Torso
  2117. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2118. RW.C1=cf(0, 0.5, 0)
  2119. RW.Part1=ch["Right Arm"]
  2120. RW.Parent=ch.Torso
  2121. --
  2122. LW.Name="Left Shoulder"
  2123. LW.Part0=ch.Torso
  2124. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2125. LW.C1=cf(0, 0.5, 0)
  2126. LW.Part1=ch["Left Arm"]
  2127. LW.Parent=ch.Torso
  2128.  
  2129. local Stats=Instance.new("BoolValue")
  2130. Stats.Name="Stats"
  2131. Stats.Parent=Character
  2132. local Atk=Instance.new("NumberValue")
  2133. Atk.Name="Damage"
  2134. Atk.Parent=Stats
  2135. Atk.Value=1
  2136. local Def=Instance.new("NumberValue")
  2137. Def.Name="Defense"
  2138. Def.Parent=Stats
  2139. Def.Value=1
  2140. local Speed=Instance.new("NumberValue")
  2141. Speed.Name="Speed"
  2142. Speed.Parent=Stats
  2143. Speed.Value=1
  2144. local Mvmt=Instance.new("NumberValue")
  2145. Mvmt.Name="Movement"
  2146. Mvmt.Parent=Stats
  2147. Mvmt.Value=1
  2148.  
  2149. local donum=0
  2150.  
  2151.  
  2152. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2153. local fp=it("Part")
  2154. fp.formFactor=formfactor
  2155. fp.Parent=parent
  2156. fp.Reflectance=reflectance
  2157. fp.Transparency=transparency
  2158. fp.CanCollide=false
  2159. fp.Locked=true
  2160. fp.BrickColor=brickcolor
  2161. fp.Name=name
  2162. fp.Size=size
  2163. fp.Position=Torso.Position
  2164. NoOutline(fp)
  2165. fp.Material="SmoothPlastic"
  2166. fp:BreakJoints()
  2167. return fp
  2168. end
  2169.  
  2170. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2171. local mesh=it(Mesh)
  2172. mesh.Parent=part
  2173. if Mesh=="SpecialMesh" then
  2174. mesh.MeshType=meshtype
  2175. if meshid~="nil" then
  2176. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2177. end
  2178. end
  2179. mesh.Offset=offset
  2180. mesh.Scale=scale
  2181. return mesh
  2182. end
  2183.  
  2184. function weld(parent,part0,part1,c0)
  2185. local weld=it("Weld")
  2186. weld.Parent=parent
  2187. weld.Part0=part0
  2188. weld.Part1=part1
  2189. weld.C0=c0
  2190. return weld
  2191. end
  2192.  
  2193. local Color1=Torso.BrickColor
  2194.  
  2195. local bodvel=Instance.new("BodyVelocity")
  2196. local bg=Instance.new("BodyGyro")
  2197.  
  2198. --------- SazEreno's Artificial HB --------------
  2199. ArtificialHB = Instance.new("BindableEvent", script)
  2200. ArtificialHB.Name = "ArtificialHB"
  2201.  
  2202. script:WaitForChild("ArtificialHB")
  2203. Frame_Speed = 1 / 60
  2204. frame = Frame_Speed
  2205. tf = 0
  2206. allowframeloss = false
  2207. tossremainder = false
  2208. lastframe = tick()
  2209. script.ArtificialHB:Fire()
  2210.  
  2211. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2212. tf = tf + s
  2213. if tf >= frame then
  2214. if allowframeloss then
  2215. script.ArtificialHB:Fire()
  2216. lastframe = tick()
  2217. else
  2218. for i = 1, math.floor(tf / frame) do
  2219. script.ArtificialHB:Fire()
  2220. end
  2221. lastframe = tick()
  2222. end
  2223. if tossremainder then
  2224. tf = 0
  2225. else
  2226. tf = tf - frame * math.floor(tf / frame)
  2227. end
  2228. end
  2229. end)
  2230.  
  2231. ------------------
  2232. function swait(num)
  2233. if num == 0 or num == nil then
  2234. ArtificialHB.Event:wait()
  2235. else
  2236. for i = 1, num do
  2237. ArtificialHB.Event:wait()
  2238. end
  2239. end
  2240. end
  2241. -------- RAINBOW LEAVE IT TO ME
  2242. local r = 255
  2243. local g = 0
  2244. local b = 0
  2245. coroutine.resume(coroutine.create(function()
  2246. while wait() do
  2247. for i = 0, 254/5 do
  2248. swait()
  2249. g = g + 5
  2250. end
  2251. for i = 0, 254/5 do
  2252. swait()
  2253. r = r - 5
  2254. end
  2255. for i = 0, 254/5 do
  2256. swait()
  2257. b = b + 5
  2258. end
  2259. for i = 0, 254/5 do
  2260. swait()
  2261. g = g - 5
  2262. end
  2263. for i = 0, 254/5 do
  2264. swait()
  2265. r = r + 5
  2266. end
  2267. for i = 0, 254/5 do
  2268. swait()
  2269. b = b - 5
  2270. end
  2271. end
  2272. end))
  2273.  
  2274.  
  2275. so = function(id,par,vol,pit)
  2276. coroutine.resume(coroutine.create(function()
  2277. local sou = Instance.new("Sound",par or workspace)
  2278. sou.Volume=vol
  2279. sou.Pitch=pit or 1
  2280. sou.SoundId=id
  2281. swait()
  2282. sou:play()
  2283. game:GetService("Debris"):AddItem(sou,6)
  2284. end))
  2285. end
  2286.  
  2287. function clerp(a,b,t)
  2288. local qa = {QuaternionFromCFrame(a)}
  2289. local qb = {QuaternionFromCFrame(b)}
  2290. local ax, ay, az = a.x, a.y, a.z
  2291. local bx, by, bz = b.x, b.y, b.z
  2292. local _t = 1-t
  2293. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2294. end
  2295.  
  2296. function QuaternionFromCFrame(cf)
  2297. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2298. local trace = m00 + m11 + m22
  2299. if trace > 0 then
  2300. local s = math.sqrt(1 + trace)
  2301. local recip = 0.5/s
  2302. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2303. else
  2304. local i = 0
  2305. if m11 > m00 then
  2306. i = 1
  2307. end
  2308. if m22 > (i == 0 and m00 or m11) then
  2309. i = 2
  2310. end
  2311. if i == 0 then
  2312. local s = math.sqrt(m00-m11-m22+1)
  2313. local recip = 0.5/s
  2314. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2315. elseif i == 1 then
  2316. local s = math.sqrt(m11-m22-m00+1)
  2317. local recip = 0.5/s
  2318. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2319. elseif i == 2 then
  2320. local s = math.sqrt(m22-m00-m11+1)
  2321. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2322. end
  2323. end
  2324. end
  2325.  
  2326. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2327. local xs, ys, zs = x + x, y + y, z + z
  2328. local wx, wy, wz = w*xs, w*ys, w*zs
  2329. local xx = x*xs
  2330. local xy = x*ys
  2331. local xz = x*zs
  2332. local yy = y*ys
  2333. local yz = y*zs
  2334. local zz = z*zs
  2335. 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))
  2336. end
  2337.  
  2338. function QuaternionSlerp(a, b, t)
  2339. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2340. local startInterp, finishInterp;
  2341. if cosTheta >= 0.0001 then
  2342. if (1 - cosTheta) > 0.0001 then
  2343. local theta = math.acos(cosTheta)
  2344. local invSinTheta = 1/math.sin(theta)
  2345. startInterp = math.sin((1-t)*theta)*invSinTheta
  2346. finishInterp = math.sin(t*theta)*invSinTheta
  2347. else
  2348. startInterp = 1-t
  2349. finishInterp = t
  2350. end
  2351. else
  2352. if (1+cosTheta) > 0.0001 then
  2353. local theta = math.acos(-cosTheta)
  2354. local invSinTheta = 1/math.sin(theta)
  2355. startInterp = math.sin((t-1)*theta)*invSinTheta
  2356. finishInterp = math.sin(t*theta)*invSinTheta
  2357. else
  2358. startInterp = t-1
  2359. finishInterp = t
  2360. end
  2361. end
  2362. 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
  2363. end
  2364.  
  2365. local function CFrameFromTopBack(at, top, back)
  2366. local right = top:Cross(back)
  2367. return CFrame.new(at.x, at.y, at.z,
  2368. right.x, top.x, back.x,
  2369. right.y, top.y, back.y,
  2370. right.z, top.z, back.z)
  2371. end
  2372.  
  2373. function Triangle(a, b, c)
  2374. local edg1 = (c-a):Dot((b-a).unit)
  2375. local edg2 = (a-b):Dot((c-b).unit)
  2376. local edg3 = (b-c):Dot((a-c).unit)
  2377. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2378. a, b, c = a, b, c
  2379. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2380. a, b, c = b, c, a
  2381. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2382. a, b, c = c, a, b
  2383. else
  2384. assert(false, "unreachable")
  2385. end
  2386.  
  2387. local len1 = (c-a):Dot((b-a).unit)
  2388. local len2 = (b-a).magnitude - len1
  2389. local width = (a + (b-a).unit*len1 - c).magnitude
  2390.  
  2391. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2392.  
  2393. local list = {}
  2394.  
  2395. if len1 > 0.01 then
  2396. local w1 = Instance.new('WedgePart', m)
  2397. game:GetService("Debris"):AddItem(w1,5)
  2398. w1.Material = "SmoothPlastic"
  2399. w1.FormFactor = 'Custom'
  2400. w1.BrickColor = BrickColor.new("Really red")
  2401. w1.Transparency = 0
  2402. w1.Reflectance = 0
  2403. w1.Material = "SmoothPlastic"
  2404. w1.CanCollide = false
  2405. local l1 = Instance.new("PointLight",w1)
  2406. l1.Color = Color3.new(170,0,0)
  2407. NoOutline(w1)
  2408. local sz = Vector3.new(0.2, width, len1)
  2409. w1.Size = sz
  2410. local sp = Instance.new("SpecialMesh",w1)
  2411. sp.MeshType = "Wedge"
  2412. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2413. w1:BreakJoints()
  2414. w1.Anchored = true
  2415. w1.Parent = workspace
  2416. w1.Transparency = 0.7
  2417. table.insert(Effects,{w1,"Disappear",.01})
  2418. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2419. table.insert(list,w1)
  2420. end
  2421.  
  2422. if len2 > 0.01 then
  2423. local w2 = Instance.new('WedgePart', m)
  2424. game:GetService("Debris"):AddItem(w2,5)
  2425. w2.Material = "SmoothPlastic"
  2426. w2.FormFactor = 'Custom'
  2427. w2.BrickColor = BrickColor.new("Really red")
  2428. w2.Transparency = 0
  2429. w2.Reflectance = 0
  2430. w2.Material = "SmoothPlastic"
  2431. w2.CanCollide = false
  2432. local l2 = Instance.new("PointLight",w2)
  2433. l2.Color = Color3.new(170,0,0)
  2434. NoOutline(w2)
  2435. local sz = Vector3.new(0.2, width, len2)
  2436. w2.Size = sz
  2437. local sp = Instance.new("SpecialMesh",w2)
  2438. sp.MeshType = "Wedge"
  2439. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2440. w2:BreakJoints()
  2441. w2.Anchored = true
  2442. w2.Parent = workspace
  2443. w2.Transparency = 0.7
  2444. table.insert(Effects,{w2,"Disappear",.01})
  2445. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2446. table.insert(list,w2)
  2447. end
  2448. return unpack(list)
  2449. end
  2450.  
  2451.  
  2452. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2453. if hit.Parent == nil then
  2454. return
  2455. end
  2456. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2457. for _, v in pairs(hit.Parent:children()) do
  2458. if v:IsA("Humanoid") then
  2459. h = v
  2460. end
  2461. end
  2462. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2463. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2464. return
  2465. end
  2466. local c = Create("ObjectValue")({
  2467. Name = "creator",
  2468. Value = owner,
  2469. Parent = h
  2470. })
  2471. game:GetService("Debris"):AddItem(c, 0.5)
  2472. if HitSound ~= nil and HitPitch ~= nil then
  2473. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2474. end
  2475. local Damage = math.random(minim, maxim)
  2476. local blocked = false
  2477. local block = hit.Parent:findFirstChild("Block")
  2478. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2479. blocked = true
  2480. block.Value = block.Value - 1
  2481. print(block.Value)
  2482. end
  2483. if blocked == false then
  2484. HitHealth = h.Health
  2485. h.MaxHealth = 100
  2486. h.Health = h.Health - Damage
  2487. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2488. print("gained kill")
  2489. dmg(h.Parent)
  2490. end
  2491. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2492. else
  2493. h.Health = h.Health - Damage / 2
  2494. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2495. end
  2496. if Type == "Knockdown" then
  2497. local hum = hit.Parent.Humanoid
  2498. hum.PlatformStand = true
  2499. coroutine.resume(coroutine.create(function(HHumanoid)
  2500. swait(1)
  2501. HHumanoid.PlatformStand = false
  2502. end), hum)
  2503. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2504. local bodvol = Create("BodyVelocity")({
  2505. velocity = angle * knockback,
  2506. P = 5000,
  2507. maxForce = Vector3.new(8000, 8000, 8000),
  2508. Parent = hit
  2509. })
  2510. local rl = Create("BodyAngularVelocity")({
  2511. P = 3000,
  2512. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2513. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2514. Parent = hit
  2515. })
  2516. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2517. game:GetService("Debris"):AddItem(rl, 0.5)
  2518. elseif Type == "Normal" then
  2519. local vp = Create("BodyVelocity")({
  2520. P = 500,
  2521. maxForce = Vector3.new(math.huge, 0, math.huge),
  2522. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2523. })
  2524. if knockback > 0 then
  2525. vp.Parent = hit.Parent.Head
  2526. end
  2527. game:GetService("Debris"):AddItem(vp, 0.5)
  2528. elseif Type == "Up" then
  2529. local bodyVelocity = Create("BodyVelocity")({
  2530. velocity = Vector3.new(0, 20, 0),
  2531. P = 5000,
  2532. maxForce = Vector3.new(8000, 8000, 8000),
  2533. Parent = hit
  2534. })
  2535. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2536. local bodyVelocity = Create("BodyVelocity")({
  2537. velocity = Vector3.new(0, 20, 0),
  2538. P = 5000,
  2539. maxForce = Vector3.new(8000, 8000, 8000),
  2540. Parent = hit
  2541. })
  2542. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2543. elseif Type == "Leech" then
  2544. local hum = hit.Parent.Humanoid
  2545. if hum ~= nil then
  2546. for i = 0, 2 do
  2547. 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)
  2548. end
  2549. Humanoid.Health = Humanoid.Health + 10
  2550. end
  2551. elseif Type == "UpKnock" then
  2552. local hum = hit.Parent.Humanoid
  2553. hum.PlatformStand = true
  2554. if hum ~= nil then
  2555. hitr = true
  2556. end
  2557. coroutine.resume(coroutine.create(function(HHumanoid)
  2558. swait(5)
  2559. HHumanoid.PlatformStand = false
  2560. hitr = false
  2561. end), hum)
  2562. local bodyVelocity = Create("BodyVelocity")({
  2563. velocity = Vector3.new(0, 20, 0),
  2564. P = 5000,
  2565. maxForce = Vector3.new(8000, 8000, 8000),
  2566. Parent = hit
  2567. })
  2568. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2569. local bodyVelocity = Create("BodyVelocity")({
  2570. velocity = Vector3.new(0, 20, 0),
  2571. P = 5000,
  2572. maxForce = Vector3.new(8000, 8000, 8000),
  2573. Parent = hit
  2574. })
  2575. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2576. elseif Type == "Snare" then
  2577. local bp = Create("BodyPosition")({
  2578. P = 2000,
  2579. D = 100,
  2580. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2581. position = hit.Parent.Torso.Position,
  2582. Parent = hit.Parent.Torso
  2583. })
  2584. game:GetService("Debris"):AddItem(bp, 1)
  2585. elseif Type == "Slashnare" then
  2586. 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)
  2587. for i = 1, math.random(4, 5) do
  2588. 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)
  2589. end
  2590. local bp = Create("BodyPosition")({
  2591. P = 2000,
  2592. D = 100,
  2593. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2594. position = hit.Parent.Torso.Position,
  2595. Parent = hit.Parent.Torso
  2596. })
  2597. game:GetService("Debris"):AddItem(bp, 1)
  2598. elseif Type == "Spike" then
  2599. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2600. local bp = Create("BodyPosition")({
  2601. P = 2000,
  2602. D = 100,
  2603. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2604. position = hit.Parent.Torso.Position,
  2605. Parent = hit.Parent.Torso
  2606. })
  2607. game:GetService("Debris"):AddItem(bp, 1)
  2608. elseif Type == "Freeze" then
  2609. local BodPos = Create("BodyPosition")({
  2610. P = 50000,
  2611. D = 1000,
  2612. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2613. position = hit.Parent.Torso.Position,
  2614. Parent = hit.Parent.Torso
  2615. })
  2616. local BodGy = Create("BodyGyro")({
  2617. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2618. P = 20000,
  2619. Parent = hit.Parent.Torso,
  2620. cframe = hit.Parent.Torso.CFrame
  2621. })
  2622. hit.Parent.Torso.Anchored = true
  2623. coroutine.resume(coroutine.create(function(Part)
  2624. swait(1.5)
  2625. Part.Anchored = false
  2626. end), hit.Parent.Torso)
  2627. game:GetService("Debris"):AddItem(BodPos, 3)
  2628. game:GetService("Debris"):AddItem(BodGy, 3)
  2629. end
  2630. local debounce = Create("BoolValue")({
  2631. Name = "DebounceHit",
  2632. Parent = hit.Parent,
  2633. Value = true
  2634. })
  2635. game:GetService("Debris"):AddItem(debounce, Delay)
  2636. c = Instance.new("ObjectValue")
  2637. c.Name = "creator"
  2638. c.Value = Player
  2639. c.Parent = h
  2640. game:GetService("Debris"):AddItem(c, 0.5)
  2641. end
  2642. end
  2643. function ShowDamage(Pos, Text, Time, Color)
  2644. local Rate = 0.03333333333333333
  2645. local Pos = Pos or Vector3.new(0, 0, 0)
  2646. local Text = Text or ""
  2647. local Time = Time or 2
  2648. local Color = Color or Color3.new(1, 0, 1)
  2649. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2650. EffectPart.Anchored = true
  2651. local BillboardGui = Create("BillboardGui")({
  2652. Size = UDim2.new(3, 0, 3, 0),
  2653. Adornee = EffectPart,
  2654. Parent = EffectPart
  2655. })
  2656. local TextLabel = Create("TextLabel")({
  2657. BackgroundTransparency = 1,
  2658. Size = UDim2.new(1, 0, 1, 0),
  2659. Text = Text,
  2660. TextColor3 = Color,
  2661. TextScaled = true,
  2662. Font = Enum.Font.ArialBold,
  2663. Parent = BillboardGui
  2664. })
  2665. game.Debris:AddItem(EffectPart, Time + 0.1)
  2666. EffectPart.Parent = game:GetService("Workspace")
  2667. delay(0, function()
  2668. local Frames = Time / Rate
  2669. for Frame = 1, Frames do
  2670. wait(Rate)
  2671. local Percent = Frame / Frames
  2672. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2673. TextLabel.TextTransparency = Percent
  2674. end
  2675. if EffectPart and EffectPart.Parent then
  2676. EffectPart:Destroy()
  2677. end
  2678. end)
  2679. end
  2680. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2681. for _, c in pairs(workspace:children()) do
  2682. local hum = c:findFirstChildOfClass("Humanoid")
  2683. if hum ~= nil then
  2684. local head = c:findFirstChild("Head")
  2685. if head ~= nil then
  2686. local targ = head.Position - Part.Position
  2687. local mag = targ.magnitude
  2688. if magni >= mag and c.Name ~= Player.Name then
  2689. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2690. end
  2691. end
  2692. end
  2693. end
  2694. end
  2695.  
  2696. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2697. for _, c in pairs(workspace:children()) do
  2698. local hum = c:findFirstChild("Humanoid")
  2699. if hum ~= nil then
  2700. local head = c:findFirstChild("Torso")
  2701. if head ~= nil then
  2702. local targ = head.Position - Part.Position
  2703. local mag = targ.magnitude
  2704. if magni >= mag and c.Name ~= Player.Name then
  2705. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2706. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2707. end
  2708. end
  2709. end
  2710. end
  2711. end
  2712.  
  2713. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2714. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2715. end
  2716.  
  2717. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2718. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2719. prt.Anchored=true
  2720. prt.CFrame=cframe
  2721. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2722. --http://www.roblox.com/asset/?id=4770560
  2723. game:GetService("Debris"):AddItem(prt,2)
  2724. CF=prt.CFrame
  2725. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2726. for i=0,1,0.2 do
  2727. wait()
  2728. Part.CFrame=CF*cf(0,0,-0.4)
  2729. end
  2730. for i=0,1,delay do
  2731. wait()
  2732. --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)
  2733. Mesh.Scale=Mesh.Scale
  2734. end
  2735. for i=0,1,0.1 do
  2736. wait()
  2737. Part.Transparency=i
  2738. end
  2739. Part.Parent=nil
  2740. end),prt,msh,CF)
  2741. end
  2742.  
  2743. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2744. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2745. prt.Anchored=true
  2746. prt.Material = "Neon"
  2747. prt.CFrame=cframe
  2748. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2749. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2750. game:GetService("Debris"):AddItem(prt,5)
  2751. coroutine.resume(coroutine.create(function(Part,Mesh)
  2752. for i=0,1,delay do
  2753. swait()
  2754. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2755. Part.Transparency=i
  2756. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2757. end
  2758. Part.Parent=nil
  2759. end),prt,msh)
  2760. end
  2761.  
  2762. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2763. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2764. prt.Anchored=true
  2765. prt.Material = "Neon"
  2766. prt.CFrame=cframe
  2767. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2768. game:GetService("Debris"):AddItem(prt,5)
  2769. coroutine.resume(coroutine.create(function(Part,Mesh)
  2770. local rtype = rottype
  2771. for i=0,1,delay do
  2772. swait()
  2773. if rtype == 1 then
  2774. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2775. elseif rtype == 2 then
  2776. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2777. end
  2778. Part.Transparency=i
  2779. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2780. end
  2781. Part.Parent=nil
  2782. end),prt,msh)
  2783. end
  2784.  
  2785. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2786. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2787. prt.Anchored=true
  2788. prt.CFrame=cframe
  2789. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2790. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2791. game:GetService("Debris"):AddItem(prt,5)
  2792. coroutine.resume(coroutine.create(function(Part,Mesh)
  2793. for i=0,1,delay do
  2794. wait()
  2795. Part.Transparency=i
  2796. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2797. end
  2798. Part.Parent=nil
  2799. end),prt,msh)
  2800. end
  2801.  
  2802. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2803. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2804. prt.Anchored=true
  2805. prt.Material = "Neon"
  2806. prt.CFrame=cframe
  2807. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2808. game:GetService("Debris"):AddItem(prt,5)
  2809. coroutine.resume(coroutine.create(function(Part,Mesh)
  2810. local rtype = rottype
  2811. for i=0,1,delay do
  2812. swait()
  2813. if rtype == 1 then
  2814. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2815. elseif rtype == 2 then
  2816. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2817. end
  2818. Part.Transparency=i
  2819. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2820. end
  2821. Part.Parent=nil
  2822. end),prt,msh)
  2823. end
  2824.  
  2825. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2826. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2827. prt.Anchored=true
  2828. prt.Material = "Neon"
  2829. prt.CFrame=cframe
  2830. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2831. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2832. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2833. game:GetService("Debris"):AddItem(prt,5)
  2834. coroutine.resume(coroutine.create(function(Part,Mesh)
  2835. local rtype = rottype
  2836. for i=0,1,delay do
  2837. swait()
  2838. if rtype == 1 then
  2839. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2840. elseif rtype == 2 then
  2841. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2842. end
  2843. dec.Transparency=i
  2844. dec2.Transparency=i
  2845. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2846. end
  2847. Part.Parent=nil
  2848. end),prt,msh)
  2849. end
  2850.  
  2851. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2852. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2853. prt.Anchored=true
  2854. prt.Material = "Neon"
  2855. prt.CFrame=cframe
  2856. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2857. game:GetService("Debris"):AddItem(prt,5)
  2858. coroutine.resume(coroutine.create(function(Part,Mesh)
  2859. local rtype = rottype
  2860. for i=0,1,delay do
  2861. swait()
  2862. if rtype == 1 then
  2863. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2864. elseif rtype == 2 then
  2865. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2866. end
  2867. prt.Transparency=i
  2868. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2869. end
  2870. Part.Parent=nil
  2871. end),prt,msh)
  2872. end
  2873.  
  2874. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2875. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2876. prt.Anchored=true
  2877. prt.Material = "Neon"
  2878. prt.CFrame=cframe
  2879. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2880. game:GetService("Debris"):AddItem(prt,5)
  2881. coroutine.resume(coroutine.create(function(Part,Mesh)
  2882. local rtype = rottype
  2883. for i=0,1,delay do
  2884. swait()
  2885. if rtype == 1 then
  2886. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2887. elseif rtype == 2 then
  2888. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2889. end
  2890. prt.Transparency=i
  2891. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2892. end
  2893. Part.Parent=nil
  2894. end),prt,msh)
  2895. end
  2896.  
  2897. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2898. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2899. prt.Anchored=true
  2900. prt.Material = "Neon"
  2901. prt.CFrame=cframe
  2902. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2903. game:GetService("Debris"):AddItem(prt,5)
  2904. coroutine.resume(coroutine.create(function(Part,Mesh)
  2905. local rtype = rottype
  2906. for i=0,1,delay do
  2907. swait()
  2908. if rtype == 1 then
  2909. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2910. elseif rtype == 2 then
  2911. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2912. end
  2913. prt.Transparency=i
  2914. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2915. end
  2916. Part.Parent=nil
  2917. end),prt,msh)
  2918. end
  2919.  
  2920. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2921. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2922. prt.Anchored=true
  2923. prt.Material = "Neon"
  2924. prt.CFrame=cframe
  2925. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2926. game:GetService("Debris"):AddItem(prt,5)
  2927. coroutine.resume(coroutine.create(function(Part,Mesh)
  2928. local rtype = rottype
  2929. for i=0,1,delay do
  2930. swait()
  2931. if rtype == 1 then
  2932. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2933. elseif rtype == 2 then
  2934. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2935. end
  2936. prt.Transparency=i
  2937. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2938. end
  2939. Part.Parent=nil
  2940. end),prt,msh)
  2941. end
  2942.  
  2943. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2944. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2945. prt.Anchored=false
  2946. prt.CFrame=cframe
  2947. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2948. local wld=weld(prt,prt,Parent,cframe)
  2949. game:GetService("Debris"):AddItem(prt,5)
  2950. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2951. for i=0,1,delay do
  2952. wait()
  2953. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2954. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2955. Part.Transparency=i
  2956. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2957. end
  2958. Part.Parent=nil
  2959. end),prt,msh,wld)
  2960. end
  2961.  
  2962. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2963. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2964. prt.Anchored=false
  2965. prt.CFrame=cframe
  2966. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2967. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2968. game:GetService("Debris"):AddItem(prt,5)
  2969. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2970. for i=0,1,delay do
  2971. wait()
  2972. Weld.C0=euler(i*20,0,0)
  2973. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2974. Part.Transparency=i
  2975. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2976. end
  2977. Part.Parent=nil
  2978. end),prt,msh,wld)
  2979. end
  2980.  
  2981. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2982. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2983. prt.Anchored=true
  2984. prt.CFrame=cframe
  2985. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2986. game:GetService("Debris"):AddItem(prt,2)
  2987. coroutine.resume(coroutine.create(function(Part,Mesh)
  2988. for i=0,1,delay do
  2989. wait()
  2990. Part.CFrame=Part.CFrame
  2991. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2992. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2993. prt2.Anchored=true
  2994. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2995. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2996. game:GetService("Debris"):AddItem(prt2,2)
  2997. coroutine.resume(coroutine.create(function(Part,Mesh)
  2998. for i=0,1,0.1 do
  2999. wait()
  3000. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3001. end
  3002. Part.Parent=nil
  3003. end),prt2,msh2)
  3004. end
  3005. for i=0,1,delay*2 do
  3006. wait()
  3007. Part.CFrame=Part.CFrame
  3008. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3009. end
  3010. Part.Parent=nil
  3011. end),prt,msh)
  3012. end
  3013.  
  3014. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3015. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3016. prt.Anchored=true
  3017. prt.CFrame=cframe
  3018. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3019. game:GetService("Debris"):AddItem(prt,2)
  3020. coroutine.resume(coroutine.create(function(Part,Mesh)
  3021. for i=0,1,delay do
  3022. wait()
  3023. Part.CFrame=Part.CFrame
  3024. Part.Transparency=i
  3025. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3026. end
  3027. Part.Parent=nil
  3028. end),prt,msh)
  3029. end
  3030.  
  3031. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3032. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3033. prt.Anchored=true
  3034. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3035. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3036. game:GetService("Debris"):AddItem(prt,2)
  3037. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3038. CF=Part.CFrame
  3039. Numbb=0
  3040. randnumb=math.random()/10
  3041. rand1=math.random()/10
  3042. for i=0,1,rand1 do
  3043. wait()
  3044. CF=CF*cf(0,math.random()/2,0)
  3045. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3046. Part.CFrame=CF*euler(Numbb,0,0)
  3047. Part.Transparency=i
  3048. Numbb=Numbb+randnumb
  3049. end
  3050. Part.Parent=nil
  3051. end),prt,CF,Numbb,randnumb)
  3052. end
  3053.  
  3054. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3055. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3056. prt.Anchored=true
  3057. prt.CFrame=cframe
  3058. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3059. game:GetService("Debris"):AddItem(prt,5)
  3060. coroutine.resume(coroutine.create(function(Part,Mesh)
  3061. for i=0,1,delay do
  3062. wait()
  3063. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3064. Part.Transparency=i
  3065. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3066. end
  3067. Part.Parent=nil
  3068. end),prt,msh)
  3069. end
  3070.  
  3071. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3072. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3073. prt.Anchored=true
  3074. prt.CFrame=cframe
  3075. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3076. game:GetService("Debris"):AddItem(prt,2)
  3077. coroutine.resume(coroutine.create(function(Part,Mesh)
  3078. for i=0,1,delay do
  3079. wait()
  3080. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3081. Part.Transparency=i
  3082. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3083. end
  3084. Part.Parent=nil
  3085. end),prt,msh)
  3086. end
  3087.  
  3088. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3089. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3090. prt.Anchored=true
  3091. prt.CFrame=cframe*cf(x,y,z)
  3092. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3093. game:GetService("Debris"):AddItem(prt,5)
  3094. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3095. local num=math.random()
  3096. local num2=math.random(-3,2)+math.random()
  3097. local numm=0
  3098. for i=0,1,delay*2 do
  3099. swait()
  3100. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3101. Part.Transparency=i
  3102. numm=numm+0.01
  3103. end
  3104. Part.Parent=nil
  3105. Mesh.Parent=nil
  3106. end),prt,msh,x,y,z)
  3107. end
  3108.  
  3109. function dmgstart(dmg,what)
  3110. hitcon = what.Touched:connect(function(hit)
  3111. local hum = hit.Parent:FindFirstChild("Humanoid")
  3112. if hum and not hum:IsDescendantOf(Character) then
  3113. hum:TakeDamage(dmg)
  3114. end
  3115. end)
  3116. end
  3117.  
  3118. function dmgstop()
  3119. hitcon:disconnect()
  3120. end
  3121.  
  3122. function Cloak()
  3123. Face.Parent=nil
  3124. cloaked=true
  3125. for _,v in pairs(Torso.Parent:children()) do
  3126. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3127. coroutine.resume(coroutine.create(function()
  3128. for i=0,1,0.2 do
  3129. wait()
  3130. v.Transparency=i
  3131. end
  3132. v.Transparency=1
  3133. end))
  3134. end
  3135. if v.className=="Hat" then
  3136. hatp=v.Handle
  3137. coroutine.resume(coroutine.create(function(derp)
  3138. for i=0,1,0.2 do
  3139. wait()
  3140. derp.Transparency=i
  3141. end
  3142. derp.Transparency=1
  3143. end),hatp)
  3144. end
  3145. end
  3146. for _,v in pairs(m:children()) do
  3147. if v.className=="Part" then
  3148. coroutine.resume(coroutine.create(function()
  3149. for i=0,1,0.2 do
  3150. wait()
  3151. v.Transparency=i
  3152. end
  3153. v.Transparency=1
  3154. end))
  3155. end
  3156. end
  3157. end
  3158.  
  3159. function UnCloak()
  3160. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  3161. Face.Parent=Head
  3162. cloaked=false
  3163. for _,v in pairs(Torso.Parent:children()) do
  3164. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3165. coroutine.resume(coroutine.create(function()
  3166. for i=0,1,0.1 do
  3167. wait()
  3168. v.Transparency=v.Transparency-0.1
  3169. end
  3170. v.Transparency=0
  3171. end))
  3172. end
  3173. if v.className=="Hat" then
  3174. hatp=v.Handle
  3175. coroutine.resume(coroutine.create(function(derp)
  3176. for i=0,1,0.1 do
  3177. wait()
  3178. derp.Transparency=derp.Transparency-0.1
  3179. end
  3180. derp.Transparency=0
  3181. end),hatp)
  3182. end
  3183. end
  3184. for _,v in pairs(m:children()) do
  3185. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  3186. coroutine.resume(coroutine.create(function()
  3187. for i=0,1,0.1 do
  3188. wait()
  3189. v.Transparency=v.Transparency-0.1
  3190. end
  3191. v.Transparency=0
  3192. end))
  3193. v.Transparency=0
  3194. end
  3195. end
  3196. end
  3197.  
  3198. local origcolor = BrickColor.new("Pastel light blue")
  3199. ---- This section of explosions.
  3200.  
  3201. ----
  3202.  
  3203.  
  3204. function ring(type,pos,scale,value)
  3205. local type = type
  3206. local rng = Instance.new("Part", char)
  3207. rng.Anchored = true
  3208. rng.BrickColor = origcolor
  3209. rng.CanCollide = false
  3210. rng.FormFactor = 3
  3211. rng.Name = "Ring"
  3212. rng.Size = Vector3.new(1, 1, 1)
  3213. rng.Transparency = 0
  3214. rng.TopSurface = 0
  3215. rng.BottomSurface = 0
  3216. rng.CFrame = pos
  3217. local rngm = Instance.new("SpecialMesh", rng)
  3218. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3219. rngm.Scale = scale
  3220. local scaler2 = 1
  3221. if type == "Add" then
  3222. scaler2 = 1*value
  3223. elseif type == "Divide" then
  3224. scaler2 = 1/value
  3225. end
  3226. coroutine.resume(coroutine.create(function()
  3227. for i = 0,10,0.1 do
  3228. swait()
  3229. if type == "Add" then
  3230. scaler2 = scaler2 - 0.01*value
  3231. elseif type == "Divide" then
  3232. scaler2 = scaler2 - 0.01/value
  3233. end
  3234. rng.Transparency = rng.Transparency + 0.01
  3235. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3236. end
  3237. rng:Destroy()
  3238. end))
  3239. end
  3240.  
  3241.  
  3242. function wave(type,pos,scale,value)
  3243. local type = type
  3244. local rng = Instance.new("Part", char)
  3245. rng.Anchored = true
  3246. rng.BrickColor = origcolor
  3247. rng.CanCollide = false
  3248. rng.FormFactor = 3
  3249. rng.Name = "Ring"
  3250. rng.Size = Vector3.new(1, 1, 1)
  3251. rng.Transparency = 0
  3252. rng.TopSurface = 0
  3253. rng.BottomSurface = 0
  3254. rng.CFrame = pos
  3255. local rngm = Instance.new("SpecialMesh", rng)
  3256. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3257. rngm.Scale = scale
  3258. local scaler2 = 1
  3259. if type == "Add" then
  3260. scaler2 = 1*value
  3261. elseif type == "Divide" then
  3262. scaler2 = 1/value
  3263. end
  3264. coroutine.resume(coroutine.create(function()
  3265. for i = 0,10,0.1 do
  3266. swait()
  3267. if type == "Add" then
  3268. scaler2 = scaler2 - 0.01*value
  3269. elseif type == "Divide" then
  3270. scaler2 = scaler2 - 0.01/value
  3271. end
  3272. rng.Transparency = rng.Transparency + 0.01
  3273. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3274. end
  3275. rng:Destroy()
  3276. end))
  3277. end
  3278.  
  3279. function wind(type,pos,scale,value,speed)
  3280. local type = type
  3281. local rng = Instance.new("Part", char)
  3282. rng.Anchored = true
  3283. rng.BrickColor = origcolor
  3284. rng.CanCollide = false
  3285. rng.FormFactor = 3
  3286. rng.Name = "Ring"
  3287. rng.Size = Vector3.new(1, 1, 1)
  3288. rng.Transparency = 0
  3289. rng.TopSurface = 0
  3290. rng.BottomSurface = 0
  3291. rng.CFrame = pos
  3292. local rngm = Instance.new("SpecialMesh", rng)
  3293. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3294. rngm.Scale = scale
  3295. local scaler2 = 1
  3296. if type == "Add" then
  3297. scaler2 = 1*value
  3298. elseif type == "Divide" then
  3299. scaler2 = 1/value
  3300. end
  3301. coroutine.resume(coroutine.create(function()
  3302. for i = 0,10,0.1 do
  3303. swait()
  3304. if type == "Add" then
  3305. scaler2 = scaler2 - 0.01*value
  3306. elseif type == "Divide" then
  3307. scaler2 = scaler2 - 0.01/value
  3308. end
  3309. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3310. rng.Transparency = rng.Transparency + 0.01
  3311. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3312. end
  3313. rng:Destroy()
  3314. end))
  3315. end
  3316.  
  3317. function groundwind(type,pos,scale,value,speed)
  3318. local type = type
  3319. local rng = Instance.new("Part", char)
  3320. rng.Anchored = true
  3321. rng.BrickColor = origcolor
  3322. rng.CanCollide = false
  3323. rng.FormFactor = 3
  3324. rng.Name = "Ring"
  3325. rng.Size = Vector3.new(1, 1, 1)
  3326. rng.Transparency = 0
  3327. rng.TopSurface = 0
  3328. rng.BottomSurface = 0
  3329. rng.CFrame = pos
  3330. local rngm = Instance.new("SpecialMesh", rng)
  3331. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3332. rngm.Scale = scale
  3333. local scaler2 = 1
  3334. if type == "Add" then
  3335. scaler2 = 1*value
  3336. elseif type == "Divide" then
  3337. scaler2 = 1/value
  3338. end
  3339. coroutine.resume(coroutine.create(function()
  3340. for i = 0,10,0.1 do
  3341. swait()
  3342. if type == "Add" then
  3343. scaler2 = scaler2 - 0.01*value
  3344. elseif type == "Divide" then
  3345. scaler2 = scaler2 - 0.01/value
  3346. end
  3347. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3348. rng.Transparency = rng.Transparency + 0.01
  3349. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3350. end
  3351. rng:Destroy()
  3352. end))
  3353. end
  3354.  
  3355. function CameraManager()
  3356. if TwoD and not CamInterrupt then
  3357. if Humanoid.Health > 0 then
  3358. Camera.CameraSubject = Humanoid
  3359. Camera.CameraType = "Scriptable"
  3360. Humanoid.AutoRotate = false
  3361. if Booleans.GyroUse then
  3362. Directer.MaxTorque = Vec3(0, huge, 0)
  3363. else
  3364. Directer.MaxTorque = Vec3(0, 0, 0)
  3365. end
  3366. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3367. if Booleans.CamFollow then
  3368. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3369. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3370. else
  3371. CPart.Position = RootPart.Position
  3372. end
  3373. else
  3374. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3375. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3376. end
  3377. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3378. else
  3379. Camera.CameraSubject = Humanoid
  3380. Camera.CameraType = "Custom"
  3381. Controller.Disabled = false
  3382. end
  3383. end
  3384. end
  3385.  
  3386. function ring(type,pos,scale,value)
  3387. local type = type
  3388. local rng = Instance.new("Part", char)
  3389. rng.Anchored = true
  3390. rng.BrickColor = origcolor
  3391. rng.CanCollide = false
  3392. rng.FormFactor = 3
  3393. rng.Name = "Ring"
  3394. rng.Size = Vector3.new(1, 1, 1)
  3395. rng.Transparency = 0
  3396. rng.TopSurface = 0
  3397. rng.BottomSurface = 0
  3398. rng.CFrame = pos
  3399. local rngm = Instance.new("SpecialMesh", rng)
  3400. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3401. rngm.Scale = scale
  3402. local scaler2 = 1
  3403. if type == "Add" then
  3404. scaler2 = 1*value
  3405. elseif type == "Divide" then
  3406. scaler2 = 1/value
  3407. end
  3408. coroutine.resume(coroutine.create(function()
  3409. for i = 0,10,0.1 do
  3410. swait()
  3411. if type == "Add" then
  3412. scaler2 = scaler2 - 0.01*value
  3413. elseif type == "Divide" then
  3414. scaler2 = scaler2 - 0.01/value
  3415. end
  3416. rng.Transparency = rng.Transparency + 0.01
  3417. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3418. end
  3419. rng:Destroy()
  3420. end))
  3421. end
  3422.  
  3423.  
  3424. function wave(type,pos,scale,value)
  3425. local type = type
  3426. local rng = Instance.new("Part", char)
  3427. rng.Anchored = true
  3428. rng.BrickColor = origcolor
  3429. rng.CanCollide = false
  3430. rng.FormFactor = 3
  3431. rng.Name = "Ring"
  3432. rng.Size = Vector3.new(1, 1, 1)
  3433. rng.Transparency = 0
  3434. rng.TopSurface = 0
  3435. rng.BottomSurface = 0
  3436. rng.CFrame = pos
  3437. local rngm = Instance.new("SpecialMesh", rng)
  3438. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3439. rngm.Scale = scale
  3440. local scaler2 = 1
  3441. if type == "Add" then
  3442. scaler2 = 1*value
  3443. elseif type == "Divide" then
  3444. scaler2 = 1/value
  3445. end
  3446. coroutine.resume(coroutine.create(function()
  3447. for i = 0,10,0.1 do
  3448. swait()
  3449. if type == "Add" then
  3450. scaler2 = scaler2 - 0.01*value
  3451. elseif type == "Divide" then
  3452. scaler2 = scaler2 - 0.01/value
  3453. end
  3454. rng.Transparency = rng.Transparency + 0.01
  3455. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3456. end
  3457. rng:Destroy()
  3458. end))
  3459. end
  3460.  
  3461. function sphere(bonuspeed,type,pos,scale,value,color)
  3462. local type = type
  3463. local rng = Instance.new("Part", char)
  3464. rng.Anchored = true
  3465. if ModeOfGlitch ~= 9 then
  3466. rng.BrickColor = color
  3467. elseif ModeOfGlitch == 9 then
  3468. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3469. end
  3470. rng.CanCollide = false
  3471. rng.FormFactor = 3
  3472. rng.Name = "Ring"
  3473. rng.Material = "Neon"
  3474. rng.Size = Vector3.new(1, 1, 1)
  3475. rng.Transparency = 0
  3476. rng.TopSurface = 0
  3477. rng.BottomSurface = 0
  3478. rng.CFrame = pos
  3479. local rngm = Instance.new("SpecialMesh", rng)
  3480. rngm.MeshType = "Sphere"
  3481. rngm.Scale = scale
  3482. if rainbowmode == true then
  3483. rng.Color = Color3.new(r/255,g/255,b/255)
  3484. end
  3485. if ModeOfGlitch == 9 then
  3486. coroutine.resume(coroutine.create(function()
  3487. while true do
  3488. swait()
  3489. if rng.Parent ~= nil then
  3490. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3491. else
  3492. break
  3493. end
  3494. end
  3495. end))
  3496. end
  3497. local scaler2 = 1
  3498. if type == "Add" then
  3499. scaler2 = 1*value
  3500. elseif type == "Divide" then
  3501. scaler2 = 1/value
  3502. end
  3503. coroutine.resume(coroutine.create(function()
  3504. for i = 0,10/bonuspeed,0.1 do
  3505. swait()
  3506. if rainbowmode == true then
  3507. rng.Color = Color3.new(r/255,g/255,b/255)
  3508. end
  3509. if type == "Add" then
  3510. scaler2 = scaler2 - 0.01*value/bonuspeed
  3511. elseif type == "Divide" then
  3512. scaler2 = scaler2 - 0.01/value*bonuspeed
  3513. end
  3514. if chaosmode == true then
  3515. rng.BrickColor = BrickColor.random()
  3516. end
  3517. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3518. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3519. end
  3520. rng:Destroy()
  3521. end))
  3522. end
  3523.  
  3524. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3525. local type = type
  3526. local rng = Instance.new("Part", char)
  3527. rng.Anchored = true
  3528. if ModeOfGlitch ~= 9 then
  3529. rng.BrickColor = color
  3530. elseif ModeOfGlitch == 9 then
  3531. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3532. end
  3533. rng.CanCollide = false
  3534. rng.FormFactor = 3
  3535. rng.Name = "Ring"
  3536. rng.Material = "Neon"
  3537. rng.Size = Vector3.new(1, 1, 1)
  3538. rng.Transparency = 0
  3539. rng.TopSurface = 0
  3540. rng.BottomSurface = 0
  3541. rng.CFrame = pos
  3542. local rngm = Instance.new("SpecialMesh", rng)
  3543. rngm.MeshType = "Sphere"
  3544. rngm.Scale = scale
  3545. local scaler2 = 1
  3546. local scaler2b = 1
  3547. local scaler2c = 1
  3548. if type == "Add" then
  3549. scaler2 = 1*value
  3550. scaler2b = 1*value2
  3551. scaler2c = 1*value3
  3552. elseif type == "Divide" then
  3553. scaler2 = 1/value
  3554. scaler2b = 1/value2
  3555. scaler2c = 1/value3
  3556. end
  3557. if ModeOfGlitch == 9 then
  3558. coroutine.resume(coroutine.create(function()
  3559. while true do
  3560. swait()
  3561. if rng.Parent ~= nil then
  3562. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3563. else
  3564. break
  3565. end
  3566. end
  3567. end))
  3568. end
  3569. coroutine.resume(coroutine.create(function()
  3570. for i = 0,10/bonuspeed,0.1 do
  3571. swait()
  3572. if type == "Add" then
  3573. scaler2 = scaler2 - 0.01*value/bonuspeed
  3574. scaler2b = scaler2b - 0.01*value/bonuspeed
  3575. scaler2c = scaler2c - 0.01*value/bonuspeed
  3576. elseif type == "Divide" then
  3577. scaler2 = scaler2 - 0.01/value*bonuspeed
  3578. scaler2b = scaler2b - 0.01/value*bonuspeed
  3579. scaler2c = scaler2c - 0.01/value*bonuspeed
  3580. end
  3581. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3582. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3583. end
  3584. rng:Destroy()
  3585. end))
  3586. end
  3587.  
  3588. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3589. local type = type
  3590. local rotenable = rotatingop
  3591. local rng = Instance.new("Part", char)
  3592. rng.Anchored = true
  3593. rng.BrickColor = color
  3594. rng.CanCollide = false
  3595. rng.FormFactor = 3
  3596. rng.Name = "Ring"
  3597. rng.Material = "Neon"
  3598. rng.Size = Vector3.new(1, 1, 1)
  3599. rng.Transparency = 0
  3600. if typeoftrans == "In" then
  3601. rng.Transparency = 1
  3602. end
  3603. rng.TopSurface = 0
  3604. rng.BottomSurface = 0
  3605. rng.CFrame = pos
  3606. local rngm = Instance.new("SpecialMesh", rng)
  3607. rngm.MeshType = "FileMesh"
  3608. if typeofshape == "Normal" then
  3609. rngm.MeshId = "rbxassetid://662586858"
  3610. elseif typeofshape == "Round" then
  3611. rngm.MeshId = "rbxassetid://662585058"
  3612. end
  3613. rngm.Scale = scale
  3614. local scaler2 = 1/10
  3615. if type == "Add" then
  3616. scaler2 = 1*value/10
  3617. elseif type == "Divide" then
  3618. scaler2 = 1/value/10
  3619. end
  3620. local randomrot = math.random(1,2)
  3621. coroutine.resume(coroutine.create(function()
  3622. for i = 0,10/bonuspeed,0.1 do
  3623. swait()
  3624. if type == "Add" then
  3625. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3626. elseif type == "Divide" then
  3627. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3628. end
  3629. if rotenable == true then
  3630. if randomrot == 1 then
  3631. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3632. elseif randomrot == 2 then
  3633. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3634. end
  3635. end
  3636. if typeoftrans == "Out" then
  3637. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3638. elseif typeoftrans == "In" then
  3639. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3640. end
  3641. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3642. end
  3643. rng:Destroy()
  3644. end))
  3645. end
  3646.  
  3647. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3648. local type = type
  3649. local rng = Instance.new("Part", char)
  3650. rng.Anchored = true
  3651. rng.BrickColor = color
  3652. rng.CanCollide = false
  3653. rng.FormFactor = 3
  3654. rng.Name = "Ring"
  3655. rng.Material = "Neon"
  3656. rng.Size = Vector3.new(1, 1, 1)
  3657. rng.Transparency = 0
  3658. rng.TopSurface = 0
  3659. rng.BottomSurface = 0
  3660. rng.CFrame = pos
  3661. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3662. local rngm = Instance.new("SpecialMesh", rng)
  3663. rngm.MeshType = "Brick"
  3664. rngm.Scale = vt(x1,y1,z1)
  3665. if rainbowmode == true then
  3666. rng.Color = Color3.new(r/255,g/255,b/255)
  3667. end
  3668. local scaler2 = 1
  3669. local speeder = FastSpeed/10
  3670. if type == "Add" then
  3671. scaler2 = 1*value
  3672. elseif type == "Divide" then
  3673. scaler2 = 1/value
  3674. end
  3675. coroutine.resume(coroutine.create(function()
  3676. for i = 0,10/bonuspeed,0.1 do
  3677. swait()
  3678. if rainbowmode == true then
  3679. rng.Color = Color3.new(r/255,g/255,b/255)
  3680. end
  3681. if type == "Add" then
  3682. scaler2 = scaler2 - 0.01*value/bonuspeed
  3683. elseif type == "Divide" then
  3684. scaler2 = scaler2 - 0.01/value*bonuspeed
  3685. end
  3686. if chaosmode == true then
  3687. rng.BrickColor = BrickColor.random()
  3688. end
  3689. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3690. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3691. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3692. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3693. end
  3694. rng:Destroy()
  3695. end))
  3696. end
  3697.  
  3698. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3699. local type = type
  3700. local rng = Instance.new("Part", char)
  3701. rng.Anchored = true
  3702. rng.BrickColor = color
  3703. rng.CanCollide = false
  3704. rng.FormFactor = 3
  3705. rng.Name = "Ring"
  3706. rng.Material = "Neon"
  3707. rng.Size = Vector3.new(1, 1, 1)
  3708. rng.Transparency = 0
  3709. rng.TopSurface = 0
  3710. rng.BottomSurface = 0
  3711. rng.CFrame = pos
  3712. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3713. local rngm = Instance.new("SpecialMesh", rng)
  3714. rngm.MeshType = "Brick"
  3715. rngm.Scale = vt(x1,y1,z1)
  3716. if rainbowmode == true then
  3717. rng.Color = Color3.new(r/255,g/255,b/255)
  3718. end
  3719. local scaler2 = 1
  3720. local speeder = FastSpeed/10
  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. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3741. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3742. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3743. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3744. end
  3745. rng:Destroy()
  3746. end))
  3747. end
  3748.  
  3749. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3750. local type = type
  3751. local rng = Instance.new("Part", char)
  3752. rng.Anchored = true
  3753. rng.BrickColor = color
  3754. rng.CanCollide = false
  3755. rng.FormFactor = 3
  3756. rng.Name = "Ring"
  3757. rng.Material = "Neon"
  3758. rng.Size = Vector3.new(1, 1, 1)
  3759. rng.Transparency = 0
  3760. rng.TopSurface = 0
  3761. rng.BottomSurface = 0
  3762. rng.CFrame = pos
  3763. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3764. local rngm = Instance.new("SpecialMesh", rng)
  3765. rngm.MeshType = "Brick"
  3766. rngm.Scale = vt(x1,y1,z1)
  3767. if rainbowmode == true then
  3768. rng.Color = Color3.new(r/255,g/255,b/255)
  3769. end
  3770. local scaler2 = 0
  3771. local speeder = FastSpeed/10
  3772. if type == "Add" then
  3773. scaler2 = 1*value
  3774. elseif type == "Divide" then
  3775. scaler2 = 1/value
  3776. end
  3777. coroutine.resume(coroutine.create(function()
  3778. for i = 0,10/bonuspeed,0.1 do
  3779. swait()
  3780. if rainbowmode == true then
  3781. rng.Color = Color3.new(r/255,g/255,b/255)
  3782. end
  3783. if type == "Add" then
  3784. scaler2 = scaler2 - 0.01*value/bonuspeed
  3785. elseif type == "Divide" then
  3786. scaler2 = scaler2 - 0.01/value*bonuspeed
  3787. end
  3788. if chaosmode == true then
  3789. rng.BrickColor = BrickColor.random()
  3790. end
  3791. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3792. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3793. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3794. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3795. end
  3796. rng:Destroy()
  3797. end))
  3798. end
  3799.  
  3800. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3801. local type = type
  3802. local rng = Instance.new("Part", char)
  3803. rng.Anchored = true
  3804. rng.BrickColor = color
  3805. rng.Color = color3
  3806. rng.CanCollide = false
  3807. rng.FormFactor = 3
  3808. rng.Name = "Ring"
  3809. rng.Material = "Neon"
  3810. rng.Size = Vector3.new(1, 1, 1)
  3811. rng.Transparency = 0
  3812. rng.TopSurface = 0
  3813. rng.BottomSurface = 0
  3814. rng.CFrame = pos
  3815. local rngm = Instance.new("SpecialMesh", rng)
  3816. rngm.MeshType = "Brick"
  3817. rngm.Scale = scale
  3818. local scaler2 = 1
  3819. local scaler2b = 1
  3820. local scaler2c = 1
  3821. if type == "Add" then
  3822. scaler2 = 1*value
  3823. scaler2b = 1*value2
  3824. scaler2c = 1*value3
  3825. elseif type == "Divide" then
  3826. scaler2 = 1/value
  3827. scaler2b = 1/value2
  3828. scaler2c = 1/value3
  3829. end
  3830. coroutine.resume(coroutine.create(function()
  3831. for i = 0,10/bonuspeed,0.1 do
  3832. swait()
  3833. if type == "Add" then
  3834. scaler2 = scaler2 - 0.01*value/bonuspeed
  3835. scaler2b = scaler2b - 0.01*value/bonuspeed
  3836. scaler2c = scaler2c - 0.01*value/bonuspeed
  3837. elseif type == "Divide" then
  3838. scaler2 = scaler2 - 0.01/value*bonuspeed
  3839. scaler2b = scaler2b - 0.01/value*bonuspeed
  3840. scaler2c = scaler2c - 0.01/value*bonuspeed
  3841. end
  3842. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3843. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3844. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3845. end
  3846. rng:Destroy()
  3847. end))
  3848. end
  3849.  
  3850. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3851. local type = type
  3852. local rng = Instance.new("Part", char)
  3853. rng.Anchored = true
  3854. rng.BrickColor = color
  3855. rng.CanCollide = false
  3856. rng.FormFactor = 3
  3857. rng.Name = "Ring"
  3858. rng.Material = "Neon"
  3859. rng.Size = Vector3.new(1, 1, 1)
  3860. rng.Transparency = 0
  3861. rng.TopSurface = 0
  3862. rng.BottomSurface = 0
  3863. rng.CFrame = pos
  3864. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3865. local rngm = Instance.new("SpecialMesh", rng)
  3866. rngm.MeshType = "Brick"
  3867. rngm.Scale = vt(x1,y1,z1)
  3868. if rainbowmode == true then
  3869. rng.Color = Color3.new(r/255,g/255,b/255)
  3870. end
  3871. local scaler2 = 1
  3872. local speeder = FastSpeed/10
  3873. if type == "Add" then
  3874. scaler2 = 1*value
  3875. elseif type == "Divide" then
  3876. scaler2 = 1/value
  3877. end
  3878. coroutine.resume(coroutine.create(function()
  3879. for i = 0,10/bonuspeed,0.1 do
  3880. swait()
  3881. if rainbowmode == true then
  3882. rng.Color = Color3.new(r/255,g/255,b/255)
  3883. end
  3884. if type == "Add" then
  3885. scaler2 = scaler2 - 0.01*value/bonuspeed
  3886. elseif type == "Divide" then
  3887. scaler2 = scaler2 - 0.01/value*bonuspeed
  3888. end
  3889. if chaosmode == true then
  3890. rng.BrickColor = BrickColor.random()
  3891. end
  3892. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3893. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3894. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3895. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3896. end
  3897. rng:Destroy()
  3898. end))
  3899. end
  3900.  
  3901. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3902. local type = type
  3903. local rng = Instance.new("Part", char)
  3904. rng.Anchored = true
  3905. rng.BrickColor = color
  3906. rng.CanCollide = false
  3907. rng.FormFactor = 3
  3908. rng.Name = "Ring"
  3909. rng.Material = "Neon"
  3910. rng.Size = Vector3.new(1, 1, 1)
  3911. rng.Transparency = 0
  3912. rng.TopSurface = 0
  3913. rng.BottomSurface = 0
  3914. rng.CFrame = pos
  3915. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3916. local rngm = Instance.new("SpecialMesh", rng)
  3917. rngm.MeshType = "Brick"
  3918. rngm.Scale = vt(x1,y1,z1)
  3919. if rainbowmode == true then
  3920. rng.Color = Color3.new(r/255,g/255,b/255)
  3921. end
  3922. local scaler2 = 0
  3923. local speeder = FastSpeed/10
  3924. if type == "Add" then
  3925. scaler2 = 1*value
  3926. elseif type == "Divide" then
  3927. scaler2 = 1/value
  3928. end
  3929. coroutine.resume(coroutine.create(function()
  3930. for i = 0,10/bonuspeed,0.1 do
  3931. swait()
  3932. if rainbowmode == true then
  3933. rng.Color = Color3.new(r/255,g/255,b/255)
  3934. end
  3935. if type == "Add" then
  3936. scaler2 = scaler2 - 0.01*value/bonuspeed
  3937. elseif type == "Divide" then
  3938. scaler2 = scaler2 - 0.01/value*bonuspeed
  3939. end
  3940. if chaosmode == true then
  3941. rng.BrickColor = BrickColor.random()
  3942. end
  3943. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3944. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3945. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3946. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3947. end
  3948. rng:Destroy()
  3949. end))
  3950. end
  3951.  
  3952. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3953. local type = type
  3954. local rng = Instance.new("Part", char)
  3955. rng.Anchored = true
  3956. rng.BrickColor = color
  3957. rng.Color = color3
  3958. rng.CanCollide = false
  3959. rng.FormFactor = 3
  3960. rng.Name = "Ring"
  3961. rng.Material = "Neon"
  3962. rng.Size = Vector3.new(1, 1, 1)
  3963. rng.Transparency = 0
  3964. rng.TopSurface = 0
  3965. rng.BottomSurface = 0
  3966. rng.CFrame = pos
  3967. local rngm = Instance.new("SpecialMesh", rng)
  3968. rngm.MeshType = "Brick"
  3969. rngm.Scale = scale
  3970. local scaler2 = 1
  3971. local scaler2b = 1
  3972. local scaler2c = 1
  3973. if type == "Add" then
  3974. scaler2 = 1*value
  3975. scaler2b = 1*value2
  3976. scaler2c = 1*value3
  3977. elseif type == "Divide" then
  3978. scaler2 = 1/value
  3979. scaler2b = 1/value2
  3980. scaler2c = 1/value3
  3981. end
  3982. coroutine.resume(coroutine.create(function()
  3983. for i = 0,10/bonuspeed,0.1 do
  3984. swait()
  3985. if type == "Add" then
  3986. scaler2 = scaler2 - 0.01*value/bonuspeed
  3987. scaler2b = scaler2b - 0.01*value/bonuspeed
  3988. scaler2c = scaler2c - 0.01*value/bonuspeed
  3989. elseif type == "Divide" then
  3990. scaler2 = scaler2 - 0.01/value*bonuspeed
  3991. scaler2b = scaler2b - 0.01/value*bonuspeed
  3992. scaler2c = scaler2c - 0.01/value*bonuspeed
  3993. end
  3994. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3995. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3996. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3997. end
  3998. rng:Destroy()
  3999. end))
  4000. end
  4001.  
  4002.  
  4003. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4004. local type = type
  4005. local rng = Instance.new("Part", char)
  4006. rng.Anchored = true
  4007. if ModeOfGlitch ~= 9 then
  4008. rng.BrickColor = color
  4009. elseif ModeOfGlitch == 9 then
  4010. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4011. end
  4012. rng.CanCollide = false
  4013. rng.FormFactor = 3
  4014. rng.Name = "Ring"
  4015. rng.Material = "Neon"
  4016. rng.Size = Vector3.new(1, 1, 1)
  4017. rng.Transparency = 0
  4018. rng.TopSurface = 0
  4019. rng.BottomSurface = 0
  4020. rng.CFrame = pos
  4021. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4022. local rngm = Instance.new("SpecialMesh", rng)
  4023. rngm.MeshType = "Sphere"
  4024. rngm.Scale = vt(x1,y1,z1)
  4025. if rainbowmode == true then
  4026. rng.Color = Color3.new(r/255,g/255,b/255)
  4027. end
  4028. if ModeOfGlitch == 9 then
  4029. coroutine.resume(coroutine.create(function()
  4030. while true do
  4031. swait()
  4032. if rng.Parent ~= nil then
  4033. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4034. else
  4035. break
  4036. end
  4037. end
  4038. end))
  4039. end
  4040. local scaler2 = 1
  4041. local speeder = FastSpeed
  4042. if type == "Add" then
  4043. scaler2 = 1*value
  4044. elseif type == "Divide" then
  4045. scaler2 = 1/value
  4046. end
  4047. coroutine.resume(coroutine.create(function()
  4048. for i = 0,10/bonuspeed,0.1 do
  4049. swait()
  4050. if rainbowmode == true then
  4051. rng.Color = Color3.new(r/255,g/255,b/255)
  4052. end
  4053. if type == "Add" then
  4054. scaler2 = scaler2 - 0.01*value/bonuspeed
  4055. elseif type == "Divide" then
  4056. scaler2 = scaler2 - 0.01/value*bonuspeed
  4057. end
  4058. if chaosmode == true then
  4059. rng.BrickColor = BrickColor.random()
  4060. end
  4061. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4062. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4063. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4064. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4065. end
  4066. rng:Destroy()
  4067. end))
  4068. end
  4069.  
  4070.  
  4071. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4072. local type = type
  4073. local rng = Instance.new("Part", char)
  4074. rng.Anchored = true
  4075. if ModeOfGlitch ~= 9 then
  4076. rng.BrickColor = color
  4077. elseif ModeOfGlitch == 9 then
  4078. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4079. end
  4080. rng.CanCollide = false
  4081. rng.FormFactor = 3
  4082. rng.Name = "Ring"
  4083. rng.Material = "Neon"
  4084. rng.Size = Vector3.new(1, 1, 1)
  4085. rng.Transparency = 1
  4086. rng.TopSurface = 0
  4087. rng.BottomSurface = 0
  4088. rng.CFrame = pos
  4089. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4090. local rngm = Instance.new("SpecialMesh", rng)
  4091. rngm.MeshType = "Sphere"
  4092. rngm.Scale = vt(x1,y1,z1)
  4093. if rainbowmode == true then
  4094. rng.Color = Color3.new(r/255,g/255,b/255)
  4095. end
  4096. if ModeOfGlitch == 9 then
  4097. coroutine.resume(coroutine.create(function()
  4098. while true do
  4099. swait()
  4100. if rng.Parent ~= nil then
  4101. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4102. else
  4103. break
  4104. end
  4105. end
  4106. end))
  4107. end
  4108. local scaler2 = 1
  4109. local speeder = FastSpeed
  4110. if type == "Add" then
  4111. scaler2 = 1*value
  4112. elseif type == "Divide" then
  4113. scaler2 = 1/value
  4114. end
  4115. coroutine.resume(coroutine.create(function()
  4116. for i = 0,10/bonuspeed,0.1 do
  4117. swait()
  4118. if rainbowmode == true then
  4119. rng.Color = Color3.new(r/255,g/255,b/255)
  4120. end
  4121. if type == "Add" then
  4122. scaler2 = scaler2 - 0.01*value/bonuspeed
  4123. elseif type == "Divide" then
  4124. scaler2 = scaler2 - 0.01/value*bonuspeed
  4125. end
  4126. if chaosmode == true then
  4127. rng.BrickColor = BrickColor.random()
  4128. end
  4129. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4130. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4131. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4132. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4133. end
  4134. rng:Destroy()
  4135. end))
  4136. end
  4137.  
  4138. function dmg(dude)
  4139. if dude.Name ~= Character then
  4140. local keptcolor = MAINRUINCOLOR
  4141. local bgf = Instance.new("BodyGyro",dude.Head)
  4142. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  4143. --[[local val = Instance.new("BoolValue",dude)
  4144. val.Name = "IsHit"]]--
  4145. local ds = coroutine.wrap(function()
  4146. dude:WaitForChild("Head"):BreakJoints()
  4147. for i, v in pairs(dude:GetChildren()) do
  4148. if v:IsA("Part") or v:IsA("MeshPart") then
  4149. v.Name = "DEMINISHED"
  4150. end
  4151. end
  4152. wait(0.5)
  4153. targetted = nil
  4154. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  4155. coroutine.resume(coroutine.create(function()
  4156. for i, v in pairs(dude:GetChildren()) do
  4157. if v:IsA("Accessory") then
  4158. v:Destroy()
  4159. end
  4160. if v:IsA("Humanoid") then
  4161. v:Destroy()
  4162. end
  4163. if v:IsA("CharacterMesh") then
  4164. v:Destroy()
  4165. end
  4166. if v:IsA("Model") then
  4167. v:Destroy()
  4168. end
  4169. if v:IsA("Part") or v:IsA("MeshPart") then
  4170. for x, o in pairs(v:GetChildren()) do
  4171. if o:IsA("Decal") then
  4172. o:Destroy()
  4173. end
  4174. end
  4175. coroutine.resume(coroutine.create(function()
  4176. v.Material = "Neon"
  4177. v.CanCollide = false
  4178. v.Anchored = false
  4179. local bld = Instance.new("ParticleEmitter",v)
  4180. bld.LightEmission = 0.75
  4181. bld.Texture = "rbxassetid://363275192" ---284205403
  4182. bld.Color = ColorSequence.new(keptcolor.Color)
  4183. bld.Rate = 500
  4184. bld.Lifetime = NumberRange.new(1)
  4185. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  4186. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4187. bld.Speed = NumberRange.new(2,5)
  4188. bld.VelocitySpread = 50000
  4189. bld.Rotation = NumberRange.new(-500,500)
  4190. bld.RotSpeed = NumberRange.new(-500,500)
  4191. local sbs = Instance.new("BodyPosition", v)
  4192. sbs.P = 3000
  4193. sbs.D = 1000
  4194. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4195. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  4196. v.Color = keptcolor.Color
  4197. coroutine.resume(coroutine.create(function()
  4198. for i = 0, 49 do
  4199. swait(1)
  4200. v:BreakJoints()
  4201. v.Transparency = v.Transparency + 0.02
  4202. end
  4203. v:BreakJoints()
  4204. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  4205. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  4206. bld.Speed = NumberRange.new(10,25)
  4207. bld.Drag = 5
  4208. bld.Acceleration = vt(0,2,0)
  4209. wait(0.5)
  4210. bld.Enabled = false
  4211. wait(8)
  4212. v:Destroy()
  4213. dude:Destroy()
  4214. end))
  4215. end))
  4216. end
  4217. end
  4218. end))
  4219. end)
  4220. ds()
  4221. end
  4222. end
  4223.  
  4224.  
  4225. function FindNearestHead(Position, Distance, SinglePlayer)
  4226. if SinglePlayer then
  4227. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  4228. end
  4229. local List = {}
  4230. for i, v in pairs(workspace:GetChildren()) do
  4231. if v:IsA("Model") and v:FindFirstChild("Head") then
  4232.  
  4233. if v ~= Character then
  4234. if (Head.Position - Position).magnitude <= Distance then
  4235. table.insert(List, v)
  4236. end
  4237. end
  4238. end
  4239. end
  4240.  
  4241. return List
  4242. end
  4243.  
  4244. function FaceMouse()
  4245. Cam = workspace.CurrentCamera
  4246. return {
  4247. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4248. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4249. }
  4250. end
  4251.  
  4252. function FaceMouse2()
  4253. Cam = workspace.CurrentCamera
  4254. return {
  4255. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4256. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4257. }
  4258. end
  4259.  
  4260. local ModeOfGlitch = 1
  4261. -- Functions are ready.
  4262. local storehumanoidWS = 16
  4263.  
  4264. function createBGCircle(size,parent,color)
  4265. local bgui = Instance.new("BillboardGui",parent)
  4266. bgui.Size = UDim2.new(size, 0, size, 0)
  4267. local imgc = Instance.new("ImageLabel",bgui)
  4268. imgc.BackgroundTransparency = 1
  4269. imgc.ImageTransparency = 0
  4270. imgc.Size = UDim2.new(1,0,1,0)
  4271. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  4272. imgc.ImageColor3 = color
  4273. return bgui,imgc
  4274. end
  4275.  
  4276. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  4277. local bgui,imgc = createBGCircle(size,guipar,color)
  4278. bgui.AlwaysOnTop = true
  4279. imgc.Image = "rbxassetid://" ..img
  4280. local rrot = math.random(1,2)
  4281. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  4282. coroutine.resume(coroutine.create(function()
  4283. for i = 0, 24*delay do
  4284. swait()
  4285. if rotationenabled == true then
  4286. if rrot == 1 then
  4287. imgc.Rotation = imgc.Rotation + rotsp
  4288. elseif rrot == 2 then
  4289. imgc.Rotation = imgc.Rotation - rotsp
  4290. end
  4291. end
  4292. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  4293. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  4294. end
  4295. bgui:Destroy()
  4296. end))
  4297. end
  4298. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  4299. for i, v in pairs(mw2:GetChildren()) do
  4300. if v:IsA("Part") then
  4301. v.BrickColor = one
  4302. v.Material = "Neon"
  4303. end
  4304. end
  4305. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  4306. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  4307. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  4308. tr1.Color = ColorSequence.new(one.Color)
  4309. tr2.Color = ColorSequence.new(one.Color)
  4310. tr3.Color = ColorSequence.new(one.Color)
  4311. for i, v in pairs(mw1:GetChildren()) do
  4312. if v:IsA("Part") then
  4313. if secondaryenabled == false then
  4314. v.Transparency = 1
  4315. elseif secondaryenabled == true then
  4316. v.Transparency = 0
  4317. end
  4318. v.BrickColor = two
  4319. v.Material = "Neon"
  4320. end
  4321. end
  4322. if secondaryenabled == false then
  4323. tl1.Enabled = false
  4324. tl2.Enabled = false
  4325. tl3.Enabled = false
  4326. elseif secondaryenabled == true then
  4327. tl1.Enabled = true
  4328. tl2.Enabled = true
  4329. tl3.Enabled = true
  4330. end
  4331. tl1.Color = ColorSequence.new(two.Color)
  4332. tl2.Color = ColorSequence.new(two.Color)
  4333. tl3.Color = ColorSequence.new(two.Color)
  4334. for i, v in pairs(m:GetChildren()) do
  4335. if v:IsA("Part") then
  4336. v.BrickColor = three
  4337. v.Material = "Ice"
  4338. end
  4339. end
  4340. for i, v in pairs(m2:GetChildren()) do
  4341. if v:IsA("Part") then
  4342. v.BrickColor = four
  4343. v.Material = "Ice"
  4344. end
  4345. end
  4346. for i, v in pairs(m3:GetChildren()) do
  4347. if v:IsA("Part") then
  4348. v.BrickColor = five
  4349. v.Material = "Neon"
  4350. end
  4351. end
  4352. for i, v in pairs(extrawingmod1:GetChildren()) do
  4353. if v:IsA("Part") then
  4354. v.Transparency = exonetran
  4355. v.BrickColor = exone
  4356. v.Material = "Neon"
  4357. end
  4358. end
  4359. if sectrailenabled == true then
  4360. tl4.Enabled = true
  4361. tl5.Enabled = true
  4362. tl6.Enabled = true
  4363. tr4.Enabled = true
  4364. tr5.Enabled = true
  4365. tr6.Enabled = true
  4366. tl4.Color = ColorSequence.new(exone.Color)
  4367. tl5.Color = ColorSequence.new(exone.Color)
  4368. tl6.Color = ColorSequence.new(exone.Color)
  4369. tr4.Color = ColorSequence.new(extwo.Color)
  4370. tr5.Color = ColorSequence.new(extwo.Color)
  4371. tr6.Color = ColorSequence.new(extwo.Color)
  4372. elseif sectrailenabled == false then
  4373. tl4.Enabled = false
  4374. tl5.Enabled = false
  4375. tl6.Enabled = false
  4376. tr4.Enabled = false
  4377. tr5.Enabled = false
  4378. tr6.Enabled = false
  4379. end
  4380. for i, v in pairs(extrawingmod2:GetChildren()) do
  4381. if v:IsA("Part") then
  4382. v.Transparency = extwotran
  4383. v.BrickColor = extwo
  4384. v.Material = "Neon"
  4385. end
  4386. end
  4387. end
  4388.  
  4389.  
  4390. function normalmog()
  4391. attack = true
  4392. hum.WalkSpeed = 0
  4393. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  4394. for i = 0,6,0.1 do
  4395. swait()
  4396. 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)
  4397. 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)
  4398. 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)
  4399. 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)
  4400. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  4401. 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)
  4402. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  4403. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  4404. end
  4405. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  4406. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  4407. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  4408. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  4409. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  4410. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  4411. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  4412. rainbowmode = false
  4413. chaosmode = false
  4414. ModeOfGlitch = 1
  4415. storehumanoidWS = 16
  4416. newTheme("rbxassetid://614032233",48.6,1,1.25)
  4417. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  4418. CameraEnshaking(5,2.5)
  4419. MAINRUINCOLOR = BrickColor.new("Really red")
  4420. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4421. for i = 0, 49 do
  4422. 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)
  4423. end
  4424. for i = 0, 24 do
  4425. 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)
  4426. 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"))
  4427. end
  4428. for i = 0,3,0.1 do
  4429. 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)
  4430. end
  4431. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  4432. for i = 0,2,0.1 do
  4433. swait()
  4434. 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)
  4435. 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)
  4436. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4437. 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)
  4438. 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)
  4439. 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)
  4440. end
  4441. hum.WalkSpeed = storehumanoidWS
  4442. attack = false
  4443. end
  4444.  
  4445. function attackone()
  4446. attack = true
  4447. local keptcolor = MAINRUINCOLOR
  4448. for i = 0,1,0.1 do
  4449. swait()
  4450. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  4451. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  4452. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  4453. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4454. 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)
  4455. 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)
  4456. end
  4457. local distlook = 5
  4458. coroutine.resume(coroutine.create(function()
  4459. for i = 0, 4 do
  4460. swait(2)
  4461. CameraEnshaking(2,3)
  4462. local hite = Instance.new("Part", char)
  4463. hite.Anchored = true
  4464. hite.CanCollide = false
  4465. hite.FormFactor = 3
  4466. hite.Name = "Ring"
  4467. hite.Material = "Neon"
  4468. hite.Size = Vector3.new(1, 1, 1)
  4469. hite.Transparency = 1
  4470. hite.TopSurface = 0
  4471. hite.BottomSurface = 0
  4472. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  4473. 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)
  4474. 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)
  4475. 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)
  4476. 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)
  4477. MagniDamage(hite, 9, 10,25, 0, "Normal")
  4478. for i = 0, 14 do
  4479. local rsiz = math.random(5,20)
  4480. 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)
  4481. end
  4482. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  4483. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  4484. game:GetService("Debris"):AddItem(hite, 5)
  4485. distlook = distlook + 10
  4486. end
  4487. end))
  4488. for i = 0,1,0.1 do
  4489. swait()
  4490. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  4491. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  4492. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  4493. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  4494. 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)
  4495. 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)
  4496. end
  4497. attack = false
  4498. end
  4499.  
  4500. function attacktwo()
  4501. attack = true
  4502. hum.WalkSpeed = 2
  4503. local keptcolor = MAINRUINCOLOR
  4504. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4505. 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)
  4506. 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)
  4507. for i = 0, 14 do
  4508. 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)
  4509. end
  4510. for i = 0,1,0.1 do
  4511. swait()
  4512. 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)
  4513. 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)
  4514. 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)
  4515. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4516. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  4517. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4518. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4519. end
  4520. for i = 0, 1 do
  4521. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  4522. for i = 0,1,0.6 do
  4523. swait()
  4524. 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)
  4525. 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"))
  4526. 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)
  4527. 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)
  4528. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4529. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4530. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4531. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4532. end
  4533. for i = 0,1,0.6 do
  4534. swait()
  4535. 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)
  4536. 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"))
  4537. 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)
  4538. 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)
  4539. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  4540. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4541. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4542. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4543. end
  4544. for i = 0,1,0.6 do
  4545. swait()
  4546. 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)
  4547. 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"))
  4548. 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)
  4549. 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)
  4550. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  4551. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4552. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4553. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4554. end
  4555. for i = 0,1,0.6 do
  4556. swait()
  4557. 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)
  4558. 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"))
  4559. 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)
  4560. 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)
  4561. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  4562. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4563. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4564. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4565. end
  4566. local rot = 0
  4567. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  4568. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4569. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4570. CreateMesh(dis,"Sphere",10,1,10)
  4571. local at1 = Instance.new("Attachment",dis)
  4572. at1.Position = vt(-5,0,0)
  4573. local at2 = Instance.new("Attachment",dis)
  4574. at2.Position = vt(5,0,0)
  4575. local trl = Instance.new('Trail',wed)
  4576. trl.Attachment0 = at1
  4577. trl.Attachment1 = at2
  4578. trl.Texture = "rbxassetid://1049219073"
  4579. trl.LightEmission = 1
  4580. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4581. trl.Color = ColorSequence.new(dis.Color)
  4582. trl.Lifetime = 0.6
  4583. local a = Instance.new("Part",workspace)
  4584. a.Name = "Direction"
  4585. a.Anchored = true
  4586. a.BrickColor = bc("Bright red")
  4587. a.Material = "Neon"
  4588. a.Transparency = 1
  4589. a.CanCollide = false
  4590. local ray = Ray.new(
  4591. dis.CFrame.p, -- origin
  4592. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4593. )
  4594. local ignore = dis
  4595. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4596. a.BottomSurface = 10
  4597. a.TopSurface = 10
  4598. local distance = (dis.CFrame.p - position).magnitude
  4599. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4600. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4601. dis.CFrame = a.CFrame
  4602. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4603. a:Destroy()
  4604. local bv = Instance.new("BodyVelocity")
  4605. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4606. bv.velocity = dis.CFrame.lookVector*250
  4607. bv.Parent = dis
  4608. game:GetService("Debris"):AddItem(dis, 5)
  4609. local hitted = false
  4610. coroutine.resume(coroutine.create(function()
  4611. dis.Touched:connect(function(hit)
  4612. if hitted == false and hit.Parent ~= char then
  4613. hitted = true
  4614. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4615. MagniDamage(dis, 30, 33,56, 0, "Normal")
  4616. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4617. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4618. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4619. coroutine.resume(coroutine.create(function()
  4620. local eff = Instance.new("ParticleEmitter",dis)
  4621. eff.Texture = "rbxassetid://2344870656"
  4622. eff.LightEmission = 1
  4623. eff.Color = ColorSequence.new(dis.Color)
  4624. eff.Rate = 10000000
  4625. eff.Enabled = true
  4626. eff.EmissionDirection = "Front"
  4627. eff.Lifetime = NumberRange.new(1)
  4628. 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)})
  4629. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4630. eff.Speed = NumberRange.new(150)
  4631. eff.Drag = 5
  4632. eff.Rotation = NumberRange.new(-500,500)
  4633. eff.SpreadAngle = Vector2.new(0,900)
  4634. eff.RotSpeed = NumberRange.new(-500,500)
  4635. wait(0.2)
  4636. eff.Enabled = false
  4637. end))
  4638. coroutine.resume(coroutine.create(function()
  4639. for i = 0, 9 do
  4640. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4641. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4642. local at1 = Instance.new("Attachment",disr)
  4643. at1.Position = vt(-5,0,0)
  4644. local at2 = Instance.new("Attachment",disr)
  4645. at2.Position = vt(5,0,0)
  4646. local trl = Instance.new('Trail',disr)
  4647. trl.Attachment0 = at1
  4648. trl.FaceCamera = true
  4649. trl.Attachment1 = at2
  4650. trl.Texture = "rbxassetid://2342682798"
  4651. trl.LightEmission = 1
  4652. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4653. trl.Color = ColorSequence.new(keptcolor.Color)
  4654. trl.Lifetime = 0.5
  4655. local bv = Instance.new("BodyVelocity")
  4656. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4657. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4658. bv.Parent = disr
  4659. local val = 0
  4660. coroutine.resume(coroutine.create(function()
  4661. swait(30)
  4662. for i = 0, 9 do
  4663. swait()
  4664. val = val + 0.1
  4665. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4666. end
  4667. game:GetService("Debris"):AddItem(disr, 3)
  4668. end))
  4669. end
  4670. local eff = Instance.new("ParticleEmitter",dis)
  4671. eff.Texture = "rbxassetid://2273224484"
  4672. eff.LightEmission = 1
  4673. eff.Color = ColorSequence.new(keptcolor.Color)
  4674. eff.Rate = 500000
  4675. eff.Lifetime = NumberRange.new(0.5,2)
  4676. 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)})
  4677. 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)})
  4678. eff.Speed = NumberRange.new(20,250)
  4679. eff.Drag = 5
  4680. eff.Rotation = NumberRange.new(-500,500)
  4681. eff.VelocitySpread = 9000
  4682. eff.RotSpeed = NumberRange.new(-50,50)
  4683. wait(0.25)
  4684. eff.Enabled = false
  4685. end))
  4686. for i = 0, 9 do
  4687. 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"))
  4688. end
  4689. for i = 0, 19 do
  4690. 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)
  4691. end
  4692. coroutine.resume(coroutine.create(function()
  4693. for i = 0, 19 do
  4694. swait()
  4695. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4696. end
  4697. hum.CameraOffset = vt(0,0,0)
  4698. end))
  4699. dis.Anchored = true
  4700. dis.Transparency = 1
  4701. wait(8)
  4702. dis:Destroy()
  4703. end
  4704. end)
  4705. end))
  4706. rot = rot - 15
  4707. end
  4708. for i = 0,2,0.1 do
  4709. swait()
  4710. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  4711. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  4712. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4713. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4714. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4715. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4716. end
  4717. attack = false
  4718. hum.WalkSpeed = storehumanoidWS
  4719. end
  4720.  
  4721. function attackthree()
  4722. attack = true
  4723. local keptcolor = MAINRUINCOLOR
  4724. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4725. for i = 0,2,0.1 do
  4726. swait()
  4727. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4728. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  4729. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  4730. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  4731. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  4732. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3)
  4733. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(40)),.3)
  4734. end
  4735. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  4736. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  4737. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  4738. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  4739. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  4740. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  4741. for i = 0, 24 do
  4742. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
  4743. end
  4744. for i = 0,4,0.1 do
  4745. swait()
  4746. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  4747. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4748. CreateMesh(dis,"Sphere",1,1,1)
  4749. dis.Anchored = true
  4750. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  4751. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4752. coroutine.resume(coroutine.create(function()
  4753. swait(30)
  4754. dis.Transparency = 1
  4755. coroutine.resume(coroutine.create(function()
  4756. for i = 0, 19 do
  4757. swait()
  4758. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  4759. end
  4760. hum.CameraOffset = vt(0,0,0)
  4761. end))
  4762. coroutine.resume(coroutine.create(function()
  4763. local eff = Instance.new("ParticleEmitter",dis)
  4764. eff.Texture = "rbxassetid://2273224484"
  4765. eff.LightEmission = 1
  4766. eff.Color = ColorSequence.new(dis.Color)
  4767. eff.Rate = 500000
  4768. eff.Lifetime = NumberRange.new(0.5,2)
  4769. 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)})
  4770. 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)})
  4771. eff.Speed = NumberRange.new(50,450)
  4772. eff.Drag = 5
  4773. eff.Rotation = NumberRange.new(-500,500)
  4774. eff.VelocitySpread = 9000
  4775. eff.RotSpeed = NumberRange.new(-50,50)
  4776. wait(0.125)
  4777. eff.Enabled = false
  4778. end))
  4779. MagniDamage(dis, 30, 45,50, 0, "Normal")
  4780. for i = 0, 2 do
  4781. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
  4782. end
  4783. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  4784. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  4785. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  4786. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  4787. end))
  4788. game:GetService("Debris"):AddItem(dis, 5)
  4789. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  4790. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  4791. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  4792. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  4793. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  4794. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  4795. end
  4796. attack = false
  4797. end
  4798.  
  4799.  
  4800. local blush = Instance.new("Decal",hed)
  4801. blush.Texture = "rbxassetid://898404027"
  4802. blush.Face = "Front"
  4803. blush.Parent = nil
  4804. blush.Transparency = 1
  4805. ----------------------------------- Abilities
  4806.  
  4807. function ExtinctiveHeartbreak()
  4808. local targetted = nil
  4809. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4810. targetted = mouse.Target.Parent
  4811. end
  4812. if targetted ~= nil then
  4813. attack = true
  4814. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4815. for i = 0, 9 do
  4816. 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)
  4817. end
  4818. for i = 0, 24 do
  4819. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4820. end
  4821. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4822. local originalpos = root.CFrame
  4823. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4824. for i = 0, 9 do
  4825. 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)
  4826. end
  4827. for i = 0, 24 do
  4828. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4829. end
  4830. hum.WalkSpeed = 0
  4831. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4832. local radm = math.random(1,3)
  4833. if radm == 1 then
  4834. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4835. elseif radm == 2 then
  4836. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4837. elseif radm == 3 then
  4838. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4839. end
  4840. for i = 0,2,0.1 do
  4841. swait()
  4842. 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)
  4843. 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)
  4844. 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)
  4845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4846. 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)
  4847. 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)
  4848. end
  4849. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  4850. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  4851. for i = 0,2,0.1 do
  4852. swait()
  4853. coroutine.resume(coroutine.create(function()
  4854. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4855. for i,v in pairs(targetted:GetChildren()) do
  4856. if v:IsA("Part") or v:IsA("MeshPart") then
  4857. v.Velocity = vt(0,0,0)
  4858. end
  4859. end
  4860. end))
  4861. 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)
  4862. 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)
  4863. 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)
  4864. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4865. 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)
  4866. 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)
  4867. end
  4868. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  4869. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  4870. for i = 0, 1 do
  4871. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  4872. end
  4873. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  4874. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4875. for i = 0,4,0.1 do
  4876. swait()
  4877. coroutine.resume(coroutine.create(function()
  4878. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4879. 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)))
  4880. local at1 = Instance.new("Attachment",dis)
  4881. at1.Position = vt(-25000,0,0)
  4882. local at2 = Instance.new("Attachment",dis)
  4883. at2.Position = vt(25000,0,0)
  4884. local trl = Instance.new('Trail',dis)
  4885. trl.Attachment0 = at1
  4886. trl.FaceCamera = true
  4887. trl.Attachment1 = at2
  4888. trl.Texture = "rbxassetid://1049219073"
  4889. trl.LightEmission = 1
  4890. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4891. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  4892. trl.Lifetime = 5
  4893. local bv = Instance.new("BodyVelocity")
  4894. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4895. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4896. bv.Parent = dis
  4897. game:GetService("Debris"):AddItem(dis, 5)
  4898. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4899. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4900. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4901. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4902. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4903. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4904. 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)
  4905. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4906. for i = 0, 2 do
  4907. 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"))
  4908. end
  4909. 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)
  4910. for i,v in pairs(targetted:GetChildren()) do
  4911. if v:IsA("Part") or v:IsA("MeshPart") then
  4912. v.Velocity = vt(0,0,0)
  4913. end
  4914. end
  4915. end))
  4916. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  4917. 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)
  4918. 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)
  4919. 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)
  4920. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4921. 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)
  4922. 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)
  4923. end
  4924. hum.CameraOffset = vt(0,0,0)
  4925. for i = 0, 49 do
  4926. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4927. 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)))
  4928. local at1 = Instance.new("Attachment",dis)
  4929. at1.Position = vt(-50000,0,0)
  4930. local at2 = Instance.new("Attachment",dis)
  4931. at2.Position = vt(50000,0,0)
  4932. local trl = Instance.new('Trail',dis)
  4933. trl.Attachment0 = at1
  4934. trl.FaceCamera = true
  4935. trl.Attachment1 = at2
  4936. trl.Texture = "rbxassetid://1049219073"
  4937. trl.LightEmission = 1
  4938. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4939. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  4940. trl.Lifetime = 5
  4941. local bv = Instance.new("BodyVelocity")
  4942. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4943. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4944. bv.Parent = dis
  4945. game:GetService("Debris"):AddItem(dis, 5)
  4946. end
  4947. for i = 0, 49 do
  4948. 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)
  4949. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  4950. end
  4951. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  4952. for i = 0, 1 do
  4953. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4954. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4955. end
  4956. for i = 0, 4 do
  4957. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4958. end
  4959. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  4960. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  4961. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  4962. dmg(targetted)
  4963. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4964. for i = 0, 9 do
  4965. 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)
  4966. end
  4967. for i = 0, 24 do
  4968. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4969. end
  4970. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4971. root.CFrame = originalpos
  4972. for i = 0, 9 do
  4973. 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)
  4974. end
  4975. for i = 0, 24 do
  4976. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  4977. end
  4978. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4979. attack = false
  4980. hum.WalkSpeed = storehumanoidWS
  4981. end
  4982. end
  4983.  
  4984. function CorruptionEvent()
  4985. attack = true
  4986. hum.WalkSpeed = 0
  4987. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4988. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4989. local keptcolor = MAINRUINCOLOR
  4990. for i = 0,4,0.1 do
  4991. swait()
  4992. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4993. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4994. 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)
  4995. 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)
  4996. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  4997. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  4998. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  4999. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5000. end
  5001. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5002. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5003. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5004. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5005. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5006. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5007. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5008. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5009. coroutine.resume(coroutine.create(function()
  5010. local eff = Instance.new("ParticleEmitter",cen)
  5011. eff.Texture = "rbxassetid://2344870656"
  5012. eff.LightEmission = 1
  5013. eff.Color = ColorSequence.new(keptcolor.Color)
  5014. eff.Rate = 10000000
  5015. eff.Enabled = true
  5016. eff.EmissionDirection = "Front"
  5017. eff.Lifetime = NumberRange.new(2)
  5018. 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)})
  5019. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5020. eff.Speed = NumberRange.new(500)
  5021. eff.Drag = 5
  5022. eff.Rotation = NumberRange.new(-500,500)
  5023. eff.SpreadAngle = Vector2.new(0,900)
  5024. eff.RotSpeed = NumberRange.new(-500,500)
  5025. wait(0.2)
  5026. eff.Enabled = false
  5027. wait(5)
  5028. eff:Destroy()
  5029. end))
  5030. hum.CameraOffset = vt(0,0,0)
  5031. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5032. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5033. for i = 0, 24 do
  5034. 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"))
  5035. end
  5036. local rrot = 0
  5037. coroutine.resume(coroutine.create(function()
  5038. for i = 0, 4 do
  5039. rrot = rrot + 45
  5040. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5041. xa.Anchored = true
  5042. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5043. xb.Anchored = true
  5044. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5045. xc.Anchored = true
  5046. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5047. xd.Anchored = true
  5048. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5049. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5050. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5051. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5052. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5053. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5054. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5055. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5056. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5057. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5058. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5059. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5060. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5061. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5062. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5063. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5064. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5065. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5066. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5067. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5068. for i = 0, 9 do
  5069. 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"))
  5070. 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"))
  5071. 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"))
  5072. 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"))
  5073. end
  5074. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5075. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5076. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5077. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5078. 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)
  5079. 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)
  5080. 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)
  5081. 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)
  5082. 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))
  5083. 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))
  5084. 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))
  5085. 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))
  5086. game:GetService("Debris"):AddItem(xa, 5)
  5087. game:GetService("Debris"):AddItem(xb, 5)
  5088. game:GetService("Debris"):AddItem(xc, 5)
  5089. game:GetService("Debris"):AddItem(xd, 5)
  5090. coroutine.resume(coroutine.create(function()
  5091. for i = 0, 19 do
  5092. swait()
  5093. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5094. end
  5095. hum.CameraOffset = vt(0,0,0)
  5096. end))
  5097. swait(9)
  5098. end
  5099. end))
  5100. for i = 0,2,0.1 do
  5101. swait()
  5102. 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)
  5103. 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)
  5104. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5105. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5106. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5107. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5108. end
  5109. attack = false
  5110. hum.WalkSpeed = storehumanoidWS
  5111. end
  5112.  
  5113. function EndGROUND()
  5114. attack = true
  5115. hum.WalkSpeed = 0
  5116. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5117. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5118. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5119. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5120. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5121. local keptcolor = MAINRUINCOLOR
  5122. for i = 0,4,0.1 do
  5123. swait()
  5124. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5125. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5126. 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"))
  5127. 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)
  5128. 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)
  5129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5130. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5131. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5132. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5133. end
  5134. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5135. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5136. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5137. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5138. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5139. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5140. coroutine.resume(coroutine.create(function()
  5141. local eff = Instance.new("ParticleEmitter",cen)
  5142. eff.Texture = "rbxassetid://2344870656"
  5143. eff.LightEmission = 1
  5144. eff.Color = ColorSequence.new(keptcolor.Color)
  5145. eff.Rate = 10000000
  5146. eff.Enabled = true
  5147. eff.EmissionDirection = "Front"
  5148. eff.Lifetime = NumberRange.new(2)
  5149. 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)})
  5150. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5151. eff.Speed = NumberRange.new(500)
  5152. eff.Drag = 5
  5153. eff.Rotation = NumberRange.new(-500,500)
  5154. eff.SpreadAngle = Vector2.new(0,900)
  5155. eff.RotSpeed = NumberRange.new(-500,500)
  5156. wait(0.2)
  5157. eff.Enabled = false
  5158. wait(5)
  5159. eff:Destroy()
  5160. end))
  5161. coroutine.resume(coroutine.create(function()
  5162. local shval = 10
  5163. for i = 0, 99 do
  5164. swait()
  5165. shval = shval - 0.1
  5166. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5167. end
  5168. hum.CameraOffset = vt(0,0,0)
  5169. end))
  5170. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5171. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5172. for i = 0, 24 do
  5173. 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"))
  5174. end
  5175. local rrot = 0
  5176. local xam = 1
  5177. coroutine.resume(coroutine.create(function()
  5178. for i = 0, 14 do
  5179. --swait()
  5180. rrot = rrot + 40*xam
  5181. xam = xam + 0.25
  5182. local bonus = xam
  5183. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5184. xa.Anchored = true
  5185. xa.Color = Color3.new(0,0,0)
  5186. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5187. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5188. local xc = 0
  5189. coroutine.resume(coroutine.create(function()
  5190. for i = 0, 99 do
  5191. swait()
  5192. xc = xc + 0.01
  5193. xa.Color = Color3.new(xc,0,0)
  5194. end
  5195. xa.Transparency = 1
  5196. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5197. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5198. for i = 0, 9 do
  5199. 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"))
  5200. end
  5201. 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)
  5202. 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)
  5203. 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))
  5204. game:GetService("Debris"):AddItem(xa, 5)
  5205. coroutine.resume(coroutine.create(function()
  5206. for i = 0, 19 do
  5207. swait()
  5208. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5209. end
  5210. hum.CameraOffset = vt(0,0,0)
  5211. end))
  5212. end))
  5213. end
  5214. end))
  5215. for i = 0,2,0.1 do
  5216. swait()
  5217. 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)
  5218. 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)
  5219. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5220. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5221. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5222. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5223. end
  5224. attack = false
  5225. hum.WalkSpeed = storehumanoidWS
  5226. end
  5227.  
  5228. function HeavenlyDisk()
  5229. attack = true
  5230. hum.WalkSpeed = 2
  5231. local keptcolor = MAINRUINCOLOR
  5232. local radm = math.random(1,3)
  5233. if radm == 1 then
  5234. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5235. elseif radm == 2 then
  5236. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5237. elseif radm == 3 then
  5238. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5239. end
  5240. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5241. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  5242. 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)
  5243. 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)
  5244. for i = 0, 14 do
  5245. 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)
  5246. end
  5247. for i = 0,2,0.1 do
  5248. swait()
  5249. 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)
  5250. 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)
  5251. 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)
  5252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5254. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5255. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5256. end
  5257. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5258. for i = 0,1,0.6 do
  5259. swait()
  5260. 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)
  5261. 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"))
  5262. 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)
  5263. 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)
  5264. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5265. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5266. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5267. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5268. end
  5269. for i = 0,1,0.6 do
  5270. swait()
  5271. 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)
  5272. 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"))
  5273. 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)
  5274. 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)
  5275. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5276. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5277. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5278. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5279. end
  5280. for i = 0,1,0.6 do
  5281. swait()
  5282. 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)
  5283. 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"))
  5284. 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)
  5285. 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)
  5286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5288. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5289. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5290. end
  5291. for i = 0,1,0.6 do
  5292. swait()
  5293. 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)
  5294. 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"))
  5295. 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)
  5296. 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)
  5297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5299. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5300. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5301. end
  5302. local rot = 15
  5303. for i = 0, 2 do
  5304. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5305. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5306. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5307. CreateMesh(dis,"Sphere",10,1,10)
  5308. local at1 = Instance.new("Attachment",dis)
  5309. at1.Position = vt(-5,0,0)
  5310. local at2 = Instance.new("Attachment",dis)
  5311. at2.Position = vt(5,0,0)
  5312. local trl = Instance.new('Trail',wed)
  5313. trl.Attachment0 = at1
  5314. trl.Attachment1 = at2
  5315. trl.Texture = "rbxassetid://1049219073"
  5316. trl.LightEmission = 1
  5317. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5318. trl.Color = ColorSequence.new(dis.Color)
  5319. trl.Lifetime = 0.6
  5320. local a = Instance.new("Part",workspace)
  5321. a.Name = "Direction"
  5322. a.Anchored = true
  5323. a.BrickColor = bc("Bright red")
  5324. a.Material = "Neon"
  5325. a.Transparency = 1
  5326. a.CanCollide = false
  5327. local ray = Ray.new(
  5328. dis.CFrame.p, -- origin
  5329. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5330. )
  5331. local ignore = dis
  5332. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5333. a.BottomSurface = 10
  5334. a.TopSurface = 10
  5335. local distance = (dis.CFrame.p - position).magnitude
  5336. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5337. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5338. dis.CFrame = a.CFrame
  5339. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5340. a:Destroy()
  5341. local bv = Instance.new("BodyVelocity")
  5342. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5343. bv.velocity = dis.CFrame.lookVector*250
  5344. bv.Parent = dis
  5345. game:GetService("Debris"):AddItem(dis, 5)
  5346. local hitted = false
  5347. coroutine.resume(coroutine.create(function()
  5348. dis.Touched:connect(function(hit)
  5349. if hitted == false and hit.Parent ~= char then
  5350. hitted = true
  5351. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5352. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  5353. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5354. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5355. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  5356. coroutine.resume(coroutine.create(function()
  5357. local eff = Instance.new("ParticleEmitter",dis)
  5358. eff.Texture = "rbxassetid://2344870656"
  5359. eff.LightEmission = 1
  5360. eff.Color = ColorSequence.new(dis.Color)
  5361. eff.Rate = 10000000
  5362. eff.Enabled = true
  5363. eff.EmissionDirection = "Front"
  5364. eff.Lifetime = NumberRange.new(1)
  5365. 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)})
  5366. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5367. eff.Speed = NumberRange.new(150)
  5368. eff.Drag = 5
  5369. eff.Rotation = NumberRange.new(-500,500)
  5370. eff.SpreadAngle = Vector2.new(0,900)
  5371. eff.RotSpeed = NumberRange.new(-500,500)
  5372. wait(0.2)
  5373. eff.Enabled = false
  5374. end))
  5375. coroutine.resume(coroutine.create(function()
  5376. for i = 0, 9 do
  5377. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5378. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5379. local at1 = Instance.new("Attachment",disr)
  5380. at1.Position = vt(-2,0,0)
  5381. local at2 = Instance.new("Attachment",disr)
  5382. at2.Position = vt(2,0,0)
  5383. local trl = Instance.new('Trail',disr)
  5384. trl.Attachment0 = at1
  5385. trl.FaceCamera = true
  5386. trl.Attachment1 = at2
  5387. trl.Texture = "rbxassetid://2342682798"
  5388. trl.LightEmission = 1
  5389. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5390. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  5391. trl.Lifetime = 0.5
  5392. local bv = Instance.new("BodyVelocity")
  5393. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5394. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5395. bv.Parent = disr
  5396. local val = 0
  5397. coroutine.resume(coroutine.create(function()
  5398. swait(30)
  5399. for i = 0, 9 do
  5400. swait()
  5401. val = val + 0.1
  5402. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5403. end
  5404. game:GetService("Debris"):AddItem(disr, 3)
  5405. end))
  5406. end
  5407. local eff = Instance.new("ParticleEmitter",dis)
  5408. eff.Texture = "rbxassetid://2273224484"
  5409. eff.LightEmission = 1
  5410. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  5411. eff.Rate = 500000
  5412. eff.Lifetime = NumberRange.new(0.5,2)
  5413. 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)})
  5414. 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)})
  5415. eff.Speed = NumberRange.new(20,250)
  5416. eff.Drag = 5
  5417. eff.Rotation = NumberRange.new(-500,500)
  5418. eff.VelocitySpread = 9000
  5419. eff.RotSpeed = NumberRange.new(-50,50)
  5420. wait(0.25)
  5421. eff.Enabled = false
  5422. end))
  5423. for i = 0, 9 do
  5424. 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"))
  5425. end
  5426. for i = 0, 19 do
  5427. 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)
  5428. end
  5429. coroutine.resume(coroutine.create(function()
  5430. for i = 0, 19 do
  5431. swait()
  5432. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5433. end
  5434. hum.CameraOffset = vt(0,0,0)
  5435. end))
  5436. dis.Anchored = true
  5437. dis.Transparency = 1
  5438. wait(8)
  5439. dis:Destroy()
  5440. end
  5441. end)
  5442. end))
  5443. rot = rot - 15
  5444. end
  5445. for i = 0,2,0.1 do
  5446. swait()
  5447. 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)
  5448. 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)
  5449. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5450. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  5451. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5452. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5453. end
  5454. attack = false
  5455. hum.WalkSpeed = storehumanoidWS
  5456. end
  5457.  
  5458. function RapidBurst()
  5459. attack = true
  5460. hum.WalkSpeed = 0
  5461. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  5462. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  5463. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  5464. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  5465. local keptcolor = MAINRUINCOLOR
  5466. for i = 0,8,0.1 do
  5467. swait()
  5468. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5469. 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())
  5470. 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)
  5471. 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)
  5472. 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)
  5473. 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)
  5474. 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)
  5475. 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)
  5476. 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)
  5477. end
  5478. for i = 0, 99 do
  5479. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5480. 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)))
  5481. local at1 = Instance.new("Attachment",dis)
  5482. at1.Position = vt(-25000,0,0)
  5483. local at2 = Instance.new("Attachment",dis)
  5484. at2.Position = vt(25000,0,0)
  5485. local trl = Instance.new('Trail',dis)
  5486. trl.Attachment0 = at1
  5487. trl.FaceCamera = true
  5488. trl.Attachment1 = at2
  5489. trl.Texture = "rbxassetid://1049219073"
  5490. trl.LightEmission = 1
  5491. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5492. trl.Color = ColorSequence.new(BrickColor.random().Color)
  5493. trl.Lifetime = 5
  5494. local bv = Instance.new("BodyVelocity")
  5495. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5496. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5497. bv.Parent = dis
  5498. game:GetService("Debris"):AddItem(dis, 5)
  5499. end
  5500. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  5501. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  5502. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  5503. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  5504. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  5505. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  5506. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  5507. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  5508. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  5509. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  5510. hum.CameraOffset = vt(0,0,0)
  5511. for i = 0, 24 do
  5512. 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())
  5513. end
  5514. local distam = 0
  5515. coroutine.resume(coroutine.create(function()
  5516. for i = 0, 99 do
  5517. wait()
  5518. distam = distam + 1
  5519. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5520. xa.Anchored = true
  5521. 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)))
  5522. game:GetService("Debris"):AddItem(xa, 5)
  5523. for i = 0, 4 do
  5524. 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())
  5525. end
  5526. coroutine.resume(coroutine.create(function()
  5527. local eff = Instance.new("ParticleEmitter",xa)
  5528. eff.Texture = "rbxassetid://2344870656"
  5529. eff.LightEmission = 1
  5530. eff.Color = ColorSequence.new(xa.Color)
  5531. eff.Rate = 10000000
  5532. eff.Enabled = true
  5533. eff.Lifetime = NumberRange.new(2.5)
  5534. 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)})
  5535. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5536. eff.Speed = NumberRange.new(200)
  5537. eff.Drag = 5
  5538. eff.Rotation = NumberRange.new(-500,500)
  5539. eff.SpreadAngle = Vector2.new(0,900)
  5540. eff.RotSpeed = NumberRange.new(-500,500)
  5541. wait(0.2)
  5542. eff.Enabled = false
  5543. end))
  5544. coroutine.resume(coroutine.create(function()
  5545. local eff = Instance.new("ParticleEmitter",xa)
  5546. eff.Texture = "rbxassetid://2273224484"
  5547. eff.LightEmission = 1
  5548. eff.Color = ColorSequence.new(BrickColor.random().Color)
  5549. eff.Rate = 500000
  5550. eff.Lifetime = NumberRange.new(1,3)
  5551. 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)})
  5552. 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)})
  5553. eff.Speed = NumberRange.new(50,500)
  5554. eff.Drag = 5
  5555. eff.Rotation = NumberRange.new(-500,500)
  5556. eff.VelocitySpread = 9000
  5557. eff.RotSpeed = NumberRange.new(-50,50)
  5558. wait(0.25)
  5559. eff.Enabled = false
  5560. end))
  5561. coroutine.resume(coroutine.create(function()
  5562. for i = 0, 19 do
  5563. swait()
  5564. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  5565. end
  5566. hum.CameraOffset = vt(0,0,0)
  5567. end))
  5568. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  5569. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  5570. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  5571. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  5572. end
  5573. end))
  5574. attack = false
  5575. hum.WalkSpeed = storehumanoidWS
  5576. end
  5577.  
  5578.  
  5579. function FallenOrbs()
  5580. attack = true
  5581. hum.WalkSpeed = 2
  5582. local keptcolor = MAINRUINCOLOR
  5583. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  5584. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  5585. local radm = math.random(1,3)
  5586. if radm == 1 then
  5587. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  5588. elseif radm == 2 then
  5589. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  5590. elseif radm == 3 then
  5591. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  5592. end
  5593. local obj1 = script.chring:Clone()
  5594. obj1.Parent = char
  5595. obj1.Transparency = 1
  5596. obj1.Color = BrickColor.new("Toothpaste").Color
  5597. local obj2 = script.spball:Clone()
  5598. obj2.Parent = char
  5599. obj2.Transparency = 1
  5600. obj2.Color = MAINRUINCOLOR.Color
  5601. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5602. cfor.Anchored = true
  5603. cfor.CFrame = obj2.CFrame
  5604. local cef = Instance.new("ParticleEmitter",cfor)
  5605. cef.Texture = "rbxassetid://2344870656"
  5606. cef.LightEmission = 1
  5607. cef.Color = ColorSequence.new(obj2.Color)
  5608. cef.Rate = 150
  5609. cef.Lifetime = NumberRange.new(0.25)
  5610. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5611. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5612. cef.Speed = NumberRange.new(0)
  5613. local rval = 0
  5614. local eval = 1
  5615. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  5616. for i = 0,10,0.1 do
  5617. swait()
  5618. rval = rval + math.random(30,40)
  5619. eval = eval + 1.5
  5620. obj1.Transparency = obj1.Transparency - 0.003
  5621. obj1.Size = obj1.Size + vt(0,1,1)
  5622. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  5623. obj2.Transparency = obj2.Transparency - 0.005
  5624. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  5625. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5626. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5627. cfor.CFrame = obj2.CFrame
  5628. 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"))
  5629. 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"))
  5630. 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)
  5631. 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)
  5632. 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)
  5633. 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)
  5634. 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)
  5635. 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)
  5636. 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)
  5637. end
  5638. cef.Enabled = false
  5639. coroutine.resume(coroutine.create(function()
  5640. for i = 0,49 do
  5641. swait()
  5642. rval = rval + 100
  5643. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5644. obj2.Transparency = obj2.Transparency + 0.02
  5645. obj2.Size = obj2.Size + vt(5,5,5)
  5646. obj1.Transparency = obj1.Transparency + 0.02
  5647. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5648. end
  5649. obj1:Destroy()
  5650. obj2:Destroy()
  5651. cfor:Destroy()
  5652. end))
  5653. for i = 0, 9 do
  5654. 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"))
  5655. 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"))
  5656. end
  5657. 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)
  5658. 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)
  5659. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  5660. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  5661. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  5662. coroutine.resume(coroutine.create(function()
  5663. for i = 0, 19 do
  5664. swait()
  5665. local custcol = math.random(1,3)
  5666. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  5667. if custcol == 1 then
  5668. dis.BrickColor = MAINRUINCOLOR
  5669. elseif custcol == 2 then
  5670. dis.BrickColor = BrickColor.new("Toothpaste")
  5671. elseif custcol == 3 then
  5672. dis.BrickColor = BrickColor.new("Deep orange")
  5673. end
  5674. dis.Anchored = true
  5675. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  5676. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  5677. CreateMesh(dis,"Sphere",2,2,2)
  5678. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5679. 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"))
  5680. coroutine.resume(coroutine.create(function()
  5681. wait(0.5)
  5682. dis.Anchored = false
  5683. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  5684. local at1 = Instance.new("Attachment",dis)
  5685. at1.Position = vt(-1,0,0)
  5686. local at2 = Instance.new("Attachment",dis)
  5687. at2.Position = vt(1,0,0)
  5688. local trl = Instance.new('Trail',dis)
  5689. trl.Attachment0 = at1
  5690. trl.FaceCamera = true
  5691. trl.Attachment1 = at2
  5692. trl.Texture = "rbxassetid://1049219073"
  5693. trl.LightEmission = 1
  5694. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5695. trl.Color = ColorSequence.new(dis.Color)
  5696. trl.Lifetime = 0.6
  5697. local a = Instance.new("Part",workspace)
  5698. a.Name = "Direction"
  5699. a.Anchored = true
  5700. a.BrickColor = bc("Bright red")
  5701. a.Material = "Neon"
  5702. a.Transparency = 1
  5703. a.CanCollide = false
  5704. local ray = Ray.new(
  5705. dis.CFrame.p, -- origin
  5706. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5707. )
  5708. local ignore = dis
  5709. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5710. a.BottomSurface = 10
  5711. a.TopSurface = 10
  5712. local distance = (dis.CFrame.p - position).magnitude
  5713. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5714. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5715. dis.CFrame = a.CFrame
  5716. a:Destroy()
  5717. local bv = Instance.new("BodyVelocity")
  5718. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5719. bv.velocity = dis.CFrame.lookVector*500
  5720. bv.Parent = dis
  5721. game:GetService("Debris"):AddItem(dis, 5)
  5722. local hitted = false
  5723. coroutine.resume(coroutine.create(function()
  5724. dis.Touched:connect(function(hit)
  5725. if hitted == false and hit.Parent ~= char then
  5726. hitted = true
  5727. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  5728. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  5729. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  5730. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  5731. coroutine.resume(coroutine.create(function()
  5732. local eff = Instance.new("ParticleEmitter",dis)
  5733. eff.Texture = "rbxassetid://2344870656"
  5734. eff.LightEmission = 1
  5735. eff.Color = ColorSequence.new(dis.Color)
  5736. eff.Rate = 10000000
  5737. eff.Enabled = true
  5738. --eff.EmissionDirection = "Front"
  5739. eff.Lifetime = NumberRange.new(3)
  5740. 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)})
  5741. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5742. eff.Speed = NumberRange.new(250)
  5743. eff.Drag = 5
  5744. eff.Rotation = NumberRange.new(-500,500)
  5745. eff.SpreadAngle = Vector2.new(0,900)
  5746. eff.RotSpeed = NumberRange.new(-500,500)
  5747. wait(0.2)
  5748. eff.Enabled = false
  5749. end))
  5750. coroutine.resume(coroutine.create(function()
  5751. for i = 0, 4 do
  5752. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  5753. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5754. local at1 = Instance.new("Attachment",disr)
  5755. at1.Position = vt(-10,0,0)
  5756. local at2 = Instance.new("Attachment",disr)
  5757. at2.Position = vt(10,0,0)
  5758. local trl = Instance.new('Trail',disr)
  5759. trl.Attachment0 = at1
  5760. trl.FaceCamera = true
  5761. trl.Attachment1 = at2
  5762. trl.Texture = "rbxassetid://2342682798"
  5763. trl.LightEmission = 1
  5764. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5765. trl.Color = ColorSequence.new(disr.Color)
  5766. trl.Lifetime = 0.5
  5767. local bv = Instance.new("BodyVelocity")
  5768. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5769. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  5770. bv.Parent = disr
  5771. local val = 0
  5772. coroutine.resume(coroutine.create(function()
  5773. swait(30)
  5774. for i = 0, 9 do
  5775. swait()
  5776. val = val + 0.1
  5777. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5778. end
  5779. game:GetService("Debris"):AddItem(disr, 3)
  5780. end))
  5781. end
  5782. local eff = Instance.new("ParticleEmitter",dis)
  5783. eff.Texture = "rbxassetid://2273224484"
  5784. eff.LightEmission = 1
  5785. eff.Color = ColorSequence.new(dis.Color)
  5786. eff.Rate = 500000
  5787. eff.Lifetime = NumberRange.new(0.5,2)
  5788. 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)})
  5789. 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)})
  5790. eff.Speed = NumberRange.new(20,250)
  5791. eff.Drag = 5
  5792. eff.Rotation = NumberRange.new(-500,500)
  5793. eff.VelocitySpread = 9000
  5794. eff.RotSpeed = NumberRange.new(-50,50)
  5795. wait(0.5)
  5796. eff.Enabled = false
  5797. end))
  5798. for i = 0, 4 do
  5799. 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"))
  5800. end
  5801. coroutine.resume(coroutine.create(function()
  5802. for i = 0, 19 do
  5803. swait()
  5804. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5805. end
  5806. hum.CameraOffset = vt(0,0,0)
  5807. end))
  5808. dis.Anchored = true
  5809. dis.Transparency = 1
  5810. wait(8)
  5811. dis:Destroy()
  5812. end
  5813. end)
  5814. end))
  5815. end))
  5816. end
  5817. end))
  5818. for i = 0,9,0.1 do
  5819. swait()
  5820. 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)
  5821. 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)
  5822. 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)
  5823. 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)
  5824. 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)
  5825. 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)
  5826. end
  5827. attack = false
  5828. hum.WalkSpeed = storehumanoidWS
  5829. end
  5830.  
  5831. function EquinoxOrbs()
  5832. hum.WalkSpeed = 0
  5833. attack = true
  5834. for i = 0,1,0.1 do
  5835. swait()
  5836. 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)
  5837. 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)
  5838. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5839. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5840. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  5841. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  5842. end
  5843. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  5844. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5845. for i = 0, 24 do
  5846. 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"))
  5847. end
  5848. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  5849. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  5850. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  5851. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  5852. for i = 0,4,0.1 do
  5853. swait()
  5854. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  5855. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5856. CreateMesh(dis,"Sphere",1,1,1)
  5857. dis.Anchored = true
  5858. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5859. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("White"))
  5860. CreateMesh(dis2,"Sphere",1,1,1)
  5861. dis2.Anchored = true
  5862. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  5863. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5864. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  5865. coroutine.resume(coroutine.create(function()
  5866. swait(60)
  5867. dis.Transparency = 1
  5868. dis2.Transparency = 1
  5869. coroutine.resume(coroutine.create(function()
  5870. for i = 0, 19 do
  5871. swait()
  5872. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5873. end
  5874. hum.CameraOffset = vt(0,0,0)
  5875. end))
  5876. coroutine.resume(coroutine.create(function()
  5877. local eff = Instance.new("ParticleEmitter",dis)
  5878. eff.Texture = "rbxassetid://2273224484"
  5879. eff.LightEmission = 1
  5880. eff.Color = ColorSequence.new(dis.Color)
  5881. eff.Rate = 500000
  5882. eff.Lifetime = NumberRange.new(0.5,2)
  5883. 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)})
  5884. 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)})
  5885. eff.Speed = NumberRange.new(50,450)
  5886. eff.Drag = 5
  5887. eff.Rotation = NumberRange.new(-500,500)
  5888. eff.VelocitySpread = 9000
  5889. eff.RotSpeed = NumberRange.new(-50,50)
  5890. local eff2 = eff:Clone()
  5891. eff2.Parent = dis2
  5892. eff2.LightEmission = 0
  5893. eff2.Color = ColorSequence.new(dis2.Color)
  5894. wait(0.25)
  5895. eff.Enabled = false
  5896. eff2.Enabled = false
  5897. end))
  5898. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  5899. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  5900. for i = 0, 2 do
  5901. 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)
  5902. 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)
  5903. end
  5904. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  5905. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  5906. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  5907. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  5908. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  5909. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  5910. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  5911. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  5912. end))
  5913. game:GetService("Debris"):AddItem(dis, 5)
  5914. game:GetService("Debris"):AddItem(dis2, 5)
  5915. 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)
  5916. 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)
  5917. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5918. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5919. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  5920. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  5921. end
  5922. attack = false
  5923. hum.WalkSpeed = storehumanoidWS
  5924. end
  5925. function FallenDEMISE()
  5926. attack = true
  5927. hum.WalkSpeed = 0
  5928. local keptcolor = MAINRUINCOLOR
  5929. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  5930. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  5931. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  5932. for i = 0, 15, 0.1 do
  5933. swait()
  5934. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5935. 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)))
  5936. local at1 = Instance.new("Attachment",dis)
  5937. at1.Position = vt(-25000,0,0)
  5938. local at2 = Instance.new("Attachment",dis)
  5939. at2.Position = vt(25000,0,0)
  5940. local trl = Instance.new('Trail',dis)
  5941. trl.Attachment0 = at1
  5942. trl.FaceCamera = true
  5943. trl.Attachment1 = at2
  5944. trl.Texture = "rbxassetid://1049219073"
  5945. trl.LightEmission = 1
  5946. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5947. trl.Color = ColorSequence.new(dis.Color)
  5948. trl.Lifetime = 5
  5949. local bv = Instance.new("BodyVelocity")
  5950. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5951. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5952. bv.Parent = dis
  5953. game:GetService("Debris"):AddItem(dis, 1)
  5954. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  5955. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
  5956. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
  5957. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  5958. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  5959. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5961. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5962. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5963. end
  5964. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  5965. for i = 0, 30, 0.1 do
  5966. swait()
  5967. coroutine.resume(coroutine.create(function()
  5968. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  5969. if v:FindFirstChild('Head') then
  5970. dmg(v)
  5971. end
  5972. end
  5973. end))
  5974. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5975. 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)))
  5976. local at1 = Instance.new("Attachment",dis)
  5977. at1.Position = vt(-50000,0,0)
  5978. local at2 = Instance.new("Attachment",dis)
  5979. at2.Position = vt(50000,0,0)
  5980. local trl = Instance.new('Trail',dis)
  5981. trl.Attachment0 = at1
  5982. trl.FaceCamera = true
  5983. trl.Attachment1 = at2
  5984. trl.Texture = "rbxassetid://1049219073"
  5985. trl.LightEmission = 1
  5986. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5987. trl.Color = ColorSequence.new(dis.Color)
  5988. trl.Lifetime = 10
  5989. local bv = Instance.new("BodyVelocity")
  5990. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5991. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  5992. bv.Parent = dis
  5993. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  5994. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  5995. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  5996. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  5997. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  5998. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  5999. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  6000. for i = 0, 2 do
  6001. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
  6002. end
  6003. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  6004. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  6005. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6006. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6007. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6008. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6009. end
  6010. attack = false
  6011. hum.WalkSpeed = storehumanoidWS
  6012. end
  6013.  
  6014. function SHDTwist()
  6015. attack = true
  6016. hum.WalkSpeed = 2
  6017. local radm = math.random(1,3)
  6018. if radm == 1 then
  6019. bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1)
  6020. elseif radm == 2 then
  6021. bosschatfunc("How cute.",MAINRUINCOLOR.Color,1)
  6022. elseif radm == 3 then
  6023. bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1)
  6024. end
  6025. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  6026. local obj1 = script.chring2:Clone()
  6027. obj1.Parent = char
  6028. obj1.Transparency = 1
  6029. obj1.Size = vt(1,1,1)
  6030. obj1.Color = BrickColor.new("Pink").Color
  6031. local obj2 = script.spball:Clone()
  6032. obj2.Parent = char
  6033. obj2.Transparency = 1
  6034. obj2.Size = vt(1,1,1)
  6035. obj2.Color = MAINRUINCOLOR.Color
  6036. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6037. cfor.Anchored = true
  6038. cfor.CFrame = obj2.CFrame
  6039. local cef = Instance.new("ParticleEmitter",cfor)
  6040. cef.Texture = "rbxassetid://2344870656"
  6041. cef.LightEmission = 1
  6042. cef.Color = ColorSequence.new(obj2.Color)
  6043. cef.Rate = 150
  6044. cef.Lifetime = NumberRange.new(0.25)
  6045. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6046. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6047. cef.Speed = NumberRange.new(0)
  6048. local rval = 0
  6049. local eval = 1
  6050. for i = 0,7,0.1 do
  6051. swait()
  6052. rval = rval + math.random(30,40)
  6053. eval = eval + 0.45
  6054. obj1.Transparency = obj1.Transparency - 0.005
  6055. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  6056. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  6057. obj2.Transparency = obj2.Transparency - 0.007
  6058. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  6059. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  6060. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6061. cfor.CFrame = obj2.CFrame
  6062. 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)
  6063. 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)
  6064. 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)
  6065. 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)
  6066. 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)
  6067. 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)
  6068. 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)
  6069. 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)
  6070. end
  6071. cef.Enabled = false
  6072. coroutine.resume(coroutine.create(function()
  6073. for i = 0,49 do
  6074. swait()
  6075. rval = rval + 100
  6076. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6077. obj2.Transparency = obj2.Transparency + 0.02
  6078. obj2.Size = obj2.Size + vt(5,5,5)
  6079. obj1.Transparency = obj1.Transparency + 0.02
  6080. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  6081. end
  6082. obj1:Destroy()
  6083. obj2:Destroy()
  6084. cfor:Destroy()
  6085. end))
  6086. local lva = 1
  6087. local ica = 0
  6088. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6089. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  6090. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  6091. 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)
  6092. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  6093.  
  6094. local a = Instance.new("Part",workspace)
  6095. a.Name = "Direction"
  6096. a.Anchored = true
  6097. a.BrickColor = bc("Bright red")
  6098. a.Material = "Neon"
  6099. a.Transparency = 1
  6100. a.CanCollide = false
  6101. local ray = Ray.new(
  6102. cent.CFrame.p, -- origin
  6103. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  6104. )
  6105. local ignore = cent
  6106. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6107. a.BottomSurface = 10
  6108. a.TopSurface = 10
  6109. local distance = (cent.CFrame.p - position).magnitude
  6110. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6111. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  6112. cent.CFrame = a.CFrame
  6113. a:Destroy()
  6114. local bv = Instance.new("BodyVelocity")
  6115. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6116. bv.velocity = cent.CFrame.lookVector*0
  6117. bv.Parent = cent
  6118. game:GetService("Debris"):AddItem(cent, 20)
  6119. local hitted = false
  6120. coroutine.resume(coroutine.create(function()
  6121. while true do
  6122. swait(1)
  6123. if hitted == false and cent.Parent ~= nil then
  6124. ica = ica + 4*lva
  6125. lva = lva + 0.1
  6126. bv.velocity = cent.CFrame.lookVector*ica
  6127. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  6128. 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"))
  6129. 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"))
  6130. elseif hitted == true or cent.Parent == nil then
  6131. break
  6132. end
  6133. end
  6134. end))
  6135. coroutine.resume(coroutine.create(function()
  6136. cent.Touched:connect(function(hit)
  6137. if hitted == false and hit.Parent ~= char then
  6138. hitted = true
  6139. cent.Anchored = true
  6140. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  6141. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  6142. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  6143. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  6144. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  6145. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  6146. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  6147. for i = 0, 19 do
  6148. 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"))
  6149. 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"))
  6150. end
  6151. coroutine.resume(coroutine.create(function()
  6152. local eff = Instance.new("ParticleEmitter",cent)
  6153. eff.Texture = "rbxassetid://2344870656"
  6154. eff.LightEmission = 1
  6155. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  6156. eff.Rate = 10000000
  6157. eff.Enabled = true
  6158. --eff.EmissionDirection = "Front"
  6159. eff.Lifetime = NumberRange.new(5)
  6160. 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)})
  6161. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6162. eff.Speed = NumberRange.new(350)
  6163. eff.Drag = 5
  6164. eff.Rotation = NumberRange.new(-500,500)
  6165. eff.SpreadAngle = Vector2.new(0,900)
  6166. eff.RotSpeed = NumberRange.new(-500,500)
  6167. local eff2 = eff:Clone()
  6168. eff2.Parent = cent
  6169. eff2.Speed = NumberRange.new(250)
  6170. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  6171. wait(0.2)
  6172. eff.Enabled = false
  6173. eff2.Enabled = false
  6174. end))
  6175. end
  6176. end)
  6177. end))
  6178. attack = false
  6179. hum.WalkSpeed = storehumanoidWS
  6180. end
  6181.  
  6182. function CardStorm()
  6183. attack = true
  6184. hum.WalkSpeed = 0
  6185. local keptcolor = MAINRUINCOLOR
  6186. for i = 0,2,0.1 do
  6187. swait()
  6188. sphere2(8,"Add",LeftArm.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("White"),BrickColor.new("Deep orange").Color)
  6189. 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(0),math.rad(0),math.rad(40)),0.3)
  6190. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  6191. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  6192. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  6193. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 51))),.1)
  6194. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 7 * math.cos(sine / 44))),.1)
  6195. end
  6196. local RCARD = {83485107,83486447,83485303,83483451,83486567,83484022,83486756}
  6197.  
  6198. local orb = Instance.new("Part", char)
  6199. orb.BrickColor = keptcolor
  6200. orb.CanCollide = false
  6201. orb.FormFactor = 3
  6202. orb.Name = "Ring"
  6203. orb.Material = "Neon"
  6204. orb.Size = Vector3.new(1, 0.75, 1.25)
  6205. orb.Transparency = 0
  6206. orb.TopSurface = 0
  6207. orb.BottomSurface = 0
  6208. local orbm = Instance.new("SpecialMesh", orb)
  6209. orbm.MeshType = "Brick"
  6210. orbm.Name = "SizeMesh"
  6211. orbm.Scale = vt(4,4,4)
  6212. orb.CFrame = root.CFrame*CFrame.new(0,2,-3) + root.CFrame.lookVector*3
  6213. local eff = Instance.new("ParticleEmitter",orb)
  6214. coroutine.resume(coroutine.create(function()
  6215. while true do
  6216. swait()
  6217. eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  6218. end
  6219. end))
  6220. eff.LightEmission = 0.95
  6221. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  6222. eff.Rate = 10000
  6223. eff.Lifetime = NumberRange.new(1.5)
  6224. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.75,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6225. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.75,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6226. eff.Speed = NumberRange.new(20,85)
  6227. eff.Drag = 5
  6228. eff.Rotation = NumberRange.new(-250,250)
  6229. eff.VelocitySpread = 9000
  6230. eff.RotSpeed = NumberRange.new(-50,50)
  6231. local a = Instance.new("Part",workspace)
  6232. a.Name = "Direction"
  6233. a.Anchored = true
  6234. a.BrickColor = bc("Bright red")
  6235. a.Material = "Neon"
  6236. a.Transparency = 1
  6237. a.CanCollide = false
  6238. local ray = Ray.new(
  6239. orb.CFrame.p, -- origin
  6240. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6241. )
  6242. local ignore = orb
  6243. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6244. a.BottomSurface = 10
  6245. a.TopSurface = 10
  6246. local distance = (orb.CFrame.p - position).magnitude
  6247. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6248. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6249. orb.CFrame = a.CFrame
  6250. a:Destroy()
  6251. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  6252. local bv = Instance.new("BodyVelocity")
  6253. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6254. bv.velocity = orb.CFrame.lookVector*300
  6255. bv.Parent = orb
  6256. game:GetService("Debris"):AddItem(orb, 10)
  6257. local hitted = false
  6258. coroutine.resume(coroutine.create(function()
  6259. while true do
  6260. swait()
  6261. if orb.Parent ~= nil and hitted == false then
  6262. 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)
  6263. elseif orb.Parent == nil and hitted == true then
  6264. break
  6265. end
  6266. end
  6267. end))
  6268. local hit =orb.Touched:connect(function(hit)
  6269. if hitted == false and hit.Parent ~= char then
  6270. hitted = true
  6271. eff.Enabled = false
  6272. CameraEnshaking(4,4)
  6273. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  6274. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  6275. MagniDamage(orb, 25*2, 20,30, 0, "Normal")
  6276. sphere2(4,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  6277. sphere2(3,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  6278. sphere2(2,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  6279. for i = 0, 9 do
  6280. 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)
  6281. end
  6282. for i = 0, 49 do
  6283. local rsiz = math.random(10,30)
  6284. 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)
  6285. end
  6286. local eff = Instance.new("ParticleEmitter",orb)
  6287. coroutine.resume(coroutine.create(function()
  6288. while true do
  6289. swait()
  6290. eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  6291. end
  6292. end))
  6293. eff.LightEmission = 0.95
  6294. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  6295. eff.Rate = 10000
  6296. eff.Lifetime = NumberRange.new(1.5)
  6297. 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)})
  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(150,350)
  6300. eff.Drag = 5
  6301. eff.Rotation = NumberRange.new(-500,500)
  6302. eff.VelocitySpread = 9000
  6303. eff.RotSpeed = NumberRange.new(-500,500)
  6304. coroutine.resume(coroutine.create(function()
  6305. wait(0.25)
  6306. eff.Enabled = false
  6307. end))
  6308. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  6309. orb.Anchored = true
  6310. orb.Transparency = 1
  6311. coroutine.resume(coroutine.create(function()
  6312. if hfr ~= nil then
  6313. orb.Size = vt(50,1,50)
  6314. orb.Orientation = vt(0,0,0)
  6315. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  6316. orbm:Destroy()
  6317. local firef = eff:Clone()
  6318. coroutine.resume(coroutine.create(function()
  6319. while true do
  6320. swait()
  6321. firef.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  6322. end
  6323. end))
  6324. firef.Parent = orb
  6325. firef.VelocitySpread = 50
  6326. firef.Rate = 500
  6327. firef.Drag = 3
  6328. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6329. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.05,2.5,0),NumberSequenceKeypoint.new(0.4,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6330. firef.Speed = NumberRange.new(10,30)
  6331. for i = 0, 24 do
  6332. wait(0.25)
  6333. MagniDamage(orb, 25, 3,6, 0, "Normal")
  6334. end
  6335. firef.Enabled = false
  6336. end
  6337. end))
  6338. wait(10)
  6339. orb:Destroy()
  6340. end
  6341. end)
  6342. for i = 0,1,0.1 do
  6343. swait()
  6344. sphere2(8,"Add",LeftArm.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("White"),BrickColor.new("Deep orange").Color)
  6345. 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(-15),math.rad(0),math.rad(-50)),0.5)
  6346. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6347. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  6348. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  6349. 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)
  6350. 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)
  6351. end
  6352. hum.WalkSpeed = storehumanoidWS
  6353. attack = false
  6354. end
  6355.  
  6356. local ast = {187744332,1426044282}
  6357. local CardT = {"LET'S PLAY SOME CARD SHALL WE?","WANNA SEE SOME MAGIC?","YOU'RE GETTING TRICKY!!","NOW MY TURN.."}
  6358. -------------------------------------
  6359.  
  6360. Humanoid.Animator.Parent = nil
  6361.  
  6362. -------------------------------------
  6363.  
  6364.  
  6365. local NewInstance = function(instance,parent,properties)
  6366. local inst = Instance.new(instance,parent)
  6367. if(properties)then
  6368. for i,v in next, properties do
  6369. pcall(function() inst[i] = v end)
  6370. end
  6371. end
  6372. return inst;
  6373. end
  6374.  
  6375.  
  6376.  
  6377. if script.MeshValue.Value == "true" then
  6378.  
  6379. local Core = script.CoreForTcOnly
  6380. Core.Parent = Character
  6381. coroutine.resume(coroutine.create(function()
  6382. while true do
  6383. swait()
  6384. for i,v in pairs(Core:GetChildren())do
  6385. if v.Name ~= "Part" then
  6386. v.BrickColor = MAINRUINCOLOR
  6387. end
  6388. end
  6389. end
  6390. end))
  6391. for i,v in pairs(Core:GetChildren())do
  6392. if v.Name ~= "Weld" then
  6393. v.Transparency = 0
  6394. end
  6395. end
  6396. local HWz = NewInstance('Weld',Character,{Part0 = tors, Part1 = Core.Weld, C0 = CFrame.new(0,0,-0.05) * CFrame.Angles(0,0,0)})
  6397. end
  6398.  
  6399. function TailPart(CframePart,Color)
  6400. coroutine.resume(coroutine.create(function()
  6401. swait()
  6402. s = Instance.new("Part",Character)
  6403. s.Name = "TRAILPART"
  6404. s.Size = Vector3.new(4, 0.05, 4)
  6405. s.BottomSurface = Enum.SurfaceType.Smooth
  6406. s.CanCollide = false
  6407. s.Material = Enum.Material.Neon
  6408. s.TopSurface = Enum.SurfaceType.Smooth
  6409. SpecialMesh1 = Instance.new("SpecialMesh",s)
  6410. SpecialMesh1.Parent = s
  6411. SpecialMesh1.MeshType = Enum.MeshType.Sphere
  6412. s.Parent = Character
  6413. s.Color = Color
  6414. s.CFrame = CframePart.CFrame + Vector3.new(0,-2.95,0)
  6415. s.Anchored = true
  6416. s.Transparency = 0
  6417. scriptClone = script.EffectScript:Clone()
  6418. scriptClone.Parent = s
  6419. scriptClone.Disabled = false
  6420. end))
  6421. end
  6422.  
  6423. local attacktype = 1
  6424. mouse.Button1Down:connect(function()
  6425. if attack == false and attacktype == 1 then
  6426. attacktype = 2
  6427. attackone()
  6428. elseif attack == false and attacktype == 2 then
  6429. attacktype = 3
  6430. attacktwo()
  6431. elseif attack == false and attacktype == 3 then
  6432. attacktype = 1
  6433. attackthree()
  6434. elseif attack == false and attacktype == 4 then
  6435. attacktype = 1
  6436. --attackfour()
  6437. end
  6438. end)
  6439. mouse.KeyDown:connect(function(k)
  6440. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  6441. normalmog() ---Disabled due to crashing... only in VSB
  6442. ModeOfGlitch = 1
  6443. storehumanoidWS = 16
  6444. hum.WalkSpeed = 16
  6445. rainbowmode = false
  6446. chaosmode = false
  6447. CRAZED = false
  6448. newTheme("rbxassetid://614032233",48.6,1,1.25)
  6449. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6450. MAINRUINCOLOR = BrickColor.new("Really red")
  6451. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  6452. end
  6453. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  6454. ModeOfGlitch = 2
  6455. storehumanoidWS = 16
  6456. hum.WalkSpeed = 16
  6457. rainbowmode = false
  6458. chaosmode = false
  6459. CRAZED = false
  6460. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  6461. newTheme("rbxassetid://1539245059",0,1,1.25)
  6462. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  6463. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6464. end
  6465. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  6466. ModeOfGlitch = 3
  6467. storehumanoidWS = 16
  6468. hum.WalkSpeed = 16
  6469. rainbowmode = false
  6470. chaosmode = false
  6471. CRAZED = false
  6472. RecolorTextAndRename("Corruptional Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  6473. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  6474. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6475. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6476. end
  6477. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  6478. ModeOfGlitch = 4
  6479. storehumanoidWS = 16
  6480. hum.WalkSpeed = 16
  6481. rainbowmode = false
  6482. chaosmode = true
  6483. CRAZED = false
  6484. RecolorTextAndRename("FALLEN GUEST",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  6485. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  6486. MAINRUINCOLOR = BrickColor.new("Black")
  6487. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6488. end
  6489. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  6490. ModeOfGlitch = 5
  6491. storehumanoidWS = 16
  6492. hum.WalkSpeed = 16
  6493. rainbowmode = false
  6494. chaosmode = false
  6495. CRAZED = false
  6496. RecolorTextAndRename("DIVINE GUEST",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  6497. newTheme("rbxassetid://661079869",0,1.02,1.25)
  6498. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6499. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6500. end
  6501. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  6502. ModeOfGlitch = 6
  6503. storehumanoidWS = 100
  6504. hum.WalkSpeed = 100
  6505. rainbowmode = false
  6506. chaosmode = false
  6507. CRAZED = false
  6508. RecolorTextAndRename("JUSTICE GUEST",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  6509. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  6510. MAINRUINCOLOR = BrickColor.new("White")
  6511. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6512. end
  6513. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  6514. ModeOfGlitch = 8
  6515. storehumanoidWS = 140
  6516. hum.WalkSpeed = 140
  6517. rainbowmode = false
  6518. chaosmode = false
  6519. CRAZED = false
  6520. RecolorTextAndRename("DESTINAL GUEST",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  6521. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  6522. MAINRUINCOLOR = BrickColor.new("Alder")
  6523. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6524. end
  6525. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  6526. ModeOfGlitch = 9
  6527. storehumanoidWS = 150
  6528. hum.WalkSpeed = 150
  6529. rainbowmode = false
  6530. chaosmode = false
  6531. CRAZED = false
  6532. RecolorTextAndRename("Nuclear Guest",Color3.new(0,1,0),Color3.new(0,0.7,0),"Bodoni")
  6533. newTheme("rbxassetid://798163149",0,1.01,1.25)
  6534. MAINRUINCOLOR = BrickColor.new("Camo")
  6535. RecolorThing(MAINRUINCOLOR,BrickColor.new("Camo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6536. end
  6537. if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 01010101000001 then
  6538. ModeOfGlitch = 01010101000001
  6539. storehumanoidWS = 16
  6540. hum.WalkSpeed = 16
  6541. rainbowmode = false
  6542. chaosmode = false
  6543. RecolorTextAndRename("Radioactive Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  6544. newTheme("rbxassetid://798163149",0,1.01,1.25)
  6545. MAINRUINCOLOR = BrickColor.new("Forest green")
  6546. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  6547. end
  6548. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 103 then
  6549. ModeOfGlitch = 103
  6550. storehumanoidWS = 200
  6551. hum.WalkSpeed = 200
  6552. rainbowmode = false
  6553. chaosmode = false
  6554. CRAZED = false
  6555. blush.Transparency = 0
  6556. RecolorTextAndRename("THE-ASCENDED-GUEST",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi")
  6557. newTheme("rbxassetid://1986375341",0,1.02,1.2)
  6558. MAINRUINCOLOR = BrickColor.new("New Yeller")
  6559. disably = false
  6560. warnedpeople(CardT[math.random(1,4)],"SciFi",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color)
  6561. disably = true
  6562. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),0,BrickColor.new("White"),true,true)
  6563. end
  6564. if k == "m" and attack == false and ModeOfGlitch == 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  6565. ModeOfGlitch = 808080808080808080808080
  6566. storehumanoidWS = 250
  6567. hum.WalkSpeed = 250
  6568. rainbowmode = false
  6569. chaosmode = false
  6570. CRAZED = false
  6571. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  6572. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  6573. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  6574. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
  6575. RecolorTextAndRename("The True Guest",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  6576. newThemeCust("rbxassetid://398455752",0,1.01,2)
  6577. MAINRUINCOLOR = BrickColor.new("Really blue")
  6578. bosschatfunc("Are you gonna stop now or what?",MAINRUINCOLOR.Color,1)
  6579. disably = false
  6580. warnedpeople("ULTIMATE!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
  6581. disably = true
  6582. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Alder"),0,BrickColor.new("Pastel light blue"),true,true)
  6583. end
  6584. if k == "m" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 88893333388 then
  6585. ModeOfGlitch = 88893333388
  6586. storehumanoidWS = 200
  6587. hum.WalkSpeed = 200
  6588. rainbowmode = false
  6589. chaosmode = false
  6590. CRAZED = false
  6591. RecolorTextAndRename("No Limit Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  6592. newThemeCust("rbxassetid://1504604335",0,1.01,1.5)
  6593. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6594. bosschatfunc("Evenly with your rejections.",MAINRUINCOLOR.Color,1)
  6595. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6596. end
  6597. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  6598. ModeOfGlitch = 8889
  6599. storehumanoidWS = 180
  6600. hum.WalkSpeed = 180
  6601. rainbowmode = false
  6602. chaosmode = false
  6603. CRAZED = false
  6604. RecolorTextAndRename("Universal Guest",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  6605. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  6606. MAINRUINCOLOR = BrickColor.new("Lilac")
  6607. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6608. end
  6609. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 664663666 then
  6610. ModeOfGlitch = 664663666
  6611. storehumanoidWS = 175
  6612. hum.WalkSpeed = 175
  6613. rainbowmode = false
  6614. chaosmode = false
  6615. CRAZED = false
  6616. RecolorTextAndRename("STRESSFUL GUEST",Color3.new(0.1,0,0),Color3.new(0.25,0,0),"Antique")
  6617. disably = false
  6618. warnedpeople("AHHHHHHHHHH!!!!!!!","Antique",Color3.new(0.1,0,0),Color3.new(0.25,0,0))
  6619. disably = true
  6620. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  6621. MAINRUINCOLOR = BrickColor.new("Maroon")
  6622. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6623. end
  6624. if k == "m" and attack == false and ModeOfGlitch == 6 then
  6625. ModeOfGlitch = 3444
  6626. storehumanoidWS = 100
  6627. hum.WalkSpeed = 100
  6628. rainbowmode = false
  6629. chaosmode = false
  6630. CRAZED = false
  6631. RecolorTextAndRename("INSANE GUEST",Color3.new(1,1,1),BrickColor.new("Storm blue").Color,"Code")
  6632. newTheme("rbxassetid://919231299",0,1,1)
  6633. MAINRUINCOLOR = BrickColor.new("Storm blue")
  6634. RecolorThing(MAINRUINCOLOR,BrickColor.new("Storm blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6635. end
  6636. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 765688533321 then
  6637. ModeOfGlitch = 765688533321
  6638. storehumanoidWS = 260
  6639. hum.WalkSpeed = 260
  6640. rainbowmode = false
  6641. chaosmode = false
  6642. CRAZED = false
  6643. RecolorTextAndRename("UNCONTROLLABLE GUEST",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade")
  6644. disably = false
  6645. warnedpeople("UNSTABLE POWER!!","Arcade",BrickColor.new("Really red").Color,BrickColor.new("White").Color)
  6646. disably = true
  6647. newTheme("rbxassetid://899090278",0,1.005,1.75)
  6648. MAINRUINCOLOR = BrickColor.new("Really black")
  6649. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Really black"),true,true)
  6650. end
  6651. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  6652. ModeOfGlitch = 55469696922
  6653. storehumanoidWS = 275
  6654. hum.WalkSpeed = 275
  6655. rainbowmode = false
  6656. chaosmode = false
  6657. CRAZED = false
  6658. RecolorTextAndRename("Peaceful Guest",Color3.new(1,1,1),BrickColor.new("Forest green").Color,"Code")
  6659. newTheme("rbxassetid://181761264",0,1,1)
  6660. MAINRUINCOLOR = BrickColor.new("Forest green")
  6661. RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6662. end
  6663. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  6664. ModeOfGlitch = 4367677813
  6665. storehumanoidWS = 225
  6666. hum.WalkSpeed = 225
  6667. rainbowmode = false
  6668. chaosmode = false
  6669. CRAZED = false
  6670. RecolorTextAndRename("TimeControlled Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  6671. newTheme("rbxassetid://363284685",0,1.01,1.25)
  6672. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6673. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6674. end
  6675. if k == "n" and attack == false and ModeOfGlitch == 9999999921111 and ModeOfGlitch ~= 101 then
  6676. ModeOfGlitch = 101
  6677. storehumanoidWS = 350
  6678. hum.WalkSpeed = 350
  6679. rainbowmode = false
  6680. chaosmode = false
  6681. CRAZED = false
  6682. RecolorTextAndRename("Ultimate Guest",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color,"SciFi")
  6683. disably = false
  6684. warnedpeople("U L T I M A T E .","Arcade",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color)
  6685. disably = true
  6686. newTheme("rbxassetid://401710836",0,1.01,1.8)
  6687. MAINRUINCOLOR = BrickColor.new("Storm blue")
  6688. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Bright bluish green"),0,BrickColor.new("Really black"),true,true)
  6689. end
  6690. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  6691. ModeOfGlitch = 9999999921111
  6692. storehumanoidWS = 300
  6693. hum.WalkSpeed = 300
  6694. rainbowmode = false
  6695. chaosmode = false
  6696. CRAZED = false
  6697. RecolorTextAndRename("Extreme Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  6698. newTheme("rbxassetid://643309199",0,1.01,1.5)
  6699. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6700. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6701. end
  6702. if k == "h" and attack == false and ModeOfGlitch ~= 102 then
  6703. ModeOfGlitch = 102
  6704. storehumanoidWS = 18
  6705. hum.WalkSpeed = 18
  6706. rainbowmode = false
  6707. chaosmode = false
  6708. CRAZED = false
  6709. RecolorTextAndRename("Love Guest",BrickColor.new("White").Color,BrickColor.new("Deep orange").Color,"Code")
  6710. newTheme("rbxassetid://1426044282",0,1,1.15)
  6711. MAINRUINCOLOR = BrickColor.new("Deep orange")
  6712. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pastel orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  6713. end
  6714. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  6715. ModeOfGlitch = 999999999556
  6716. storehumanoidWS = 500
  6717. hum.WalkSpeed = 500
  6718. rainbowmode = false
  6719. chaosmode = false
  6720. CRAZED = true
  6721. RecolorTextAndRename("BROKEN GUEST",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  6722. disably = false
  6723. warnedpeople("HAHAHAHAHA.","Code",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color)
  6724. disably = true
  6725. newTheme("rbxassetid://719008519",0,1.02,1.25)
  6726. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6727. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Navy blue"),0,BrickColor.new("Really blue"),true,true)
  6728. end
  6729. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  6730. ModeOfGlitch = 1264532489
  6731. storehumanoidWS = 250
  6732. hum.WalkSpeed = 250
  6733. rainbowmode = false
  6734. chaosmode = false
  6735. CRAZED = false
  6736. RecolorTextAndRename("Catastrophic Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  6737. disably = false
  6738. warnedpeople("WHO DARE TO CHALLENGE ME?!","Antique",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color)
  6739. disably = true
  6740. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  6741. MAINRUINCOLOR = BrickColor.new("Pastel green")
  6742. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),true,true)
  6743. end
  6744. if k == "l" and mutedtog == false then
  6745. mutedtog = true
  6746. kan.Volume = 0
  6747. elseif k == "l" and mutedtog == true then
  6748. mutedtog = false
  6749. kan.Volume = 1.25
  6750. end
  6751. if k == "p" and toggleTag == false then
  6752. toggleTag = true
  6753. modet.TextTransparency = 0
  6754. modet.TextStrokeTransparency = 0
  6755. elseif k == "p" and toggleTag == true then
  6756. toggleTag = false
  6757. modet.TextTransparency = 1
  6758. modet.TextStrokeTransparency = 1
  6759. end
  6760. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6761. ExtinctiveHeartbreak()
  6762. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6763. HeavenlyDisk()
  6764. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6765. CorruptionEvent()
  6766. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6767. RapidBurst()
  6768. elseif k == "z" and attack == false and ModeOfGlitch == 103 then
  6769. CardStorm()
  6770. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6771. --DivineLights()
  6772. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6773. EquinoxOrbs()
  6774. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  6775. FallenOrbs()
  6776. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  6777. SHDTwist()
  6778. end
  6779. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  6780. FallenDEMISE()
  6781. end
  6782. if k == "x" and attack == false and ModeOfGlitch == 1 then
  6783. EndGROUND()
  6784. end
  6785. end)
  6786.  
  6787. coroutine.resume(coroutine.create(function()
  6788. while true do
  6789. swait()
  6790. if ModeOfGlitch ~= 102 then
  6791. blush.Parent = nil
  6792. blush.Transparency = 1
  6793. elseif ModeOfGlitch == 102 then
  6794. blush.Parent = hed
  6795. blush.Transparency = 0
  6796. end
  6797. end
  6798. end))
  6799.  
  6800. coroutine.resume(coroutine.create(function()
  6801. while true do
  6802. swait()
  6803. if ModeOfGlitch == 102 then
  6804. 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("Deep orange"),0)
  6805. end
  6806. end
  6807. end))
  6808.  
  6809. coroutine.resume(coroutine.create(function()
  6810. while true do
  6811. swait()
  6812. if ModeOfGlitch == 6 or ModeOfGlitch == 3444 or ModeOfGlitch == 103 or ModeOfGlitch == 101 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  6813. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  6814. if ModeOfGlitch == 765688533321 then
  6815. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really red"),0)
  6816. elseif ModeOfGlitch == 88893333388 then
  6817. 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)
  6818. elseif ModeOfGlitch == 101 then
  6819. 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("Black"),0)
  6820. elseif ModeOfGlitch == 103 then
  6821. 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("Deep orange"),0)
  6822. elseif ModeOfGlitch == 808080808080808080808080 then
  6823. 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)
  6824. end
  6825. end
  6826. end
  6827. end))
  6828. --[[coroutine.resume(coroutine.create(function()
  6829. while true do
  6830. swait(2)
  6831. if chaosmode == true then
  6832. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6833. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6834. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6835. RecolorTextAndRename("FALLEN GUEST",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  6836. for i, v in pairs(mw1:GetChildren()) do
  6837. if v:IsA("Part") then
  6838. v.Transparency = 0.75
  6839. v.BrickColor = BrickColor.random()
  6840. v.Material = "Neon"
  6841. end
  6842. end
  6843. for i, v in pairs(m2:GetChildren()) do
  6844. if v:IsA("Part") then
  6845. v.BrickColor = BrickColor.random()
  6846. v.Material = "Neon"
  6847. end
  6848. end
  6849. end
  6850. end
  6851. end))]]--
  6852. Humanoid.Name = "STARGLITCHER"
  6853. Humanoid.MaxHealth = math.huge
  6854. Humanoid.Health = math.huge
  6855. Instance.new("ForceField",char).Visible = false
  6856.  
  6857. local bguis = Instance.new("BillboardGui",tors)
  6858. bguis.Size = UDim2.new(25, 0, 25, 0)
  6859. local imgca = Instance.new("ImageLabel",bguis)
  6860. imgca.BackgroundTransparency = 1
  6861. imgca.ImageTransparency = 1
  6862. imgca.Size = UDim2.new(1,0,1,0)
  6863. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  6864. imgca.ImageColor3 = Color3.new(0,0,0)
  6865.  
  6866. idleanim=.4
  6867. while true do
  6868. if mutedtog == false then
  6869. kan.Volume = currentVol
  6870. elseif mutedtog == true then
  6871. kan.Volume = 0
  6872. end
  6873. kan.PlaybackSpeed = currentPitch
  6874. kan.Pitch = currentPitch
  6875. kan.SoundId = currentThemePlaying
  6876. kan.Looped = true
  6877. kan.Parent = char
  6878. kan:Resume()
  6879. 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
  6880. imgca.ImageTransparency = 1
  6881. 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
  6882. imgca.ImageColor3 = MAINRUINCOLOR.Color
  6883. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  6884. end
  6885. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/100
  6886. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  6887. coroutine.resume(coroutine.create(function()
  6888. if CRAZED == true then
  6889. RecolorTextAndRename("BROKEN GUEST",Color3.new(0,0,math.random(0,0.25)),Color3.new(0,0,math.random(0.2,1)),"Code")
  6890. end
  6891. end))
  6892. coroutine.resume(coroutine.create(function()
  6893. if chaosmode == true then
  6894. for i, v in pairs(mw1:GetChildren()) do
  6895. if v:IsA("Part") then
  6896. v.Transparency = 0
  6897. v.BrickColor = BrickColor.random()
  6898. v.Material = "Neon"
  6899. end
  6900. end
  6901. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6902. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6903. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6904. RecolorTextAndRename("FALLEN GUEST",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  6905. end
  6906. end))
  6907. if chaosmode == false then
  6908. modet.Position = UDim2.new(0,0,0,0)
  6909. modet.Rotation = -5 * math.cos(sine / 32)
  6910. techc.Rotation = techc.Rotation + 1
  6911. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/100 - 1
  6912. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/75 + 1
  6913. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/75 + 1
  6914. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/50 - 1
  6915. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  6916. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  6917. else
  6918. techc.Rotation = techc.Rotation + 1
  6919. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  6920. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  6921. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  6922. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  6923. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  6924. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  6925. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  6926. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  6927. end
  6928. CameraManager()
  6929.  
  6930. swait()
  6931. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 102 and ModeOfGlitch ~= 101 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
  6932. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6933. 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)
  6934. 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)
  6935. 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)
  6936. 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)
  6937. 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)
  6938. 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)
  6939. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 then
  6940. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6941. 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)
  6942. 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)
  6943. 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)
  6944. 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)
  6945. 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)
  6946. 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)
  6947. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then
  6948. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6949. 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)
  6950. 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)
  6951. 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)
  6952. 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)
  6953. 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)
  6954. 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)
  6955. elseif ModeOfGlitch == 3444 then
  6956. handleweld.C0=clerp(handleweld.C0,cf(0,0,0.25)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6957. 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.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6958. 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.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6959. 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.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6960. 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.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6961. 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.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6962. 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.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6963. elseif ModeOfGlitch == 102 then
  6964. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6965. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  6966. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  6967. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  6968. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  6969. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  6970. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  6971. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  6972. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  6973. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  6974. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  6975. elseif ModeOfGlitch == 103 then
  6976. handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  6977. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  6978. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  6979. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  6980. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  6981. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  6982. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  6983. 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)
  6984. 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)
  6985. 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)
  6986. 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)
  6987. 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)
  6988. 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)
  6989. elseif ModeOfGlitch == 101 then
  6990. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6991. 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)
  6992. 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)
  6993. 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)
  6994. 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)
  6995. 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)
  6996. 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)
  6997. 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)
  6998. 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)
  6999. 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)
  7000. 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)
  7001. 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)
  7002. 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)
  7003. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 999999999556 then
  7004. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  7005. 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)
  7006. 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)
  7007. 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)
  7008. 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)
  7009. 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)
  7010. 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)
  7011. 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)
  7012. 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)
  7013. 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)
  7014. 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)
  7015. 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)
  7016. 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)
  7017. end
  7018. sine = sine + change
  7019. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7020. local velderp=RootPart.Velocity.y
  7021. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7022. coroutine.resume(coroutine.create(function()
  7023. if ModeOfGlitch == 6 or ModeOfGlitch == 103 or ModeOfGlitch == 3444 or ModeOfGlitch == 101 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
  7024. if hitfloor ~= nil then
  7025. effar.Enabled = true
  7026. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7027. 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"))
  7028. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 103 or ModeOfGlitch == 101 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  7029. 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)
  7030. end
  7031. if ModeOfGlitch == 808080808080808080808080 then
  7032. 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"))
  7033. elseif ModeOfGlitch == 765688533321 then
  7034. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really red"))
  7035. elseif ModeOfGlitch == 103 then
  7036. 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 black"))
  7037. elseif ModeOfGlitch == 1264532489 then
  7038. 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"))
  7039. elseif ModeOfGlitch == 999999999556 then
  7040. 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"))
  7041. end
  7042. elseif hitfloor == nil then
  7043. effar.Enabled = false
  7044. end
  7045. elseif ModeOfGlitch ~= 6 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 101 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
  7046. effar.Enabled = false
  7047. end
  7048. end))
  7049. if equipped==true or equipped==false then
  7050. if attack==false then
  7051. idle=idle+1
  7052. else
  7053. idle=0
  7054. end
  7055. if idle>=500 then
  7056. if attack==false then
  7057. --Sheath()
  7058. end
  7059. end
  7060. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7061. Anim="Jump"
  7062. if attack==false then
  7063. 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)
  7064. 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)
  7065. 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)
  7066. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7067. 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)
  7068. 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)
  7069. end
  7070. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7071. Anim="Fall"
  7072. if attack==false then
  7073. 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)
  7074. 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)
  7075. 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)
  7076. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7077. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  7078. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  7079. end
  7080. elseif torvel<1 and hitfloor~=nil then
  7081. Anim="Idle"
  7082. if attack==false then
  7083. if ModeOfGlitch == 1 then
  7084. local snap = math.random(1,10)
  7085. if snap == 1 then
  7086. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  7087. end
  7088. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  7089. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7090. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  7091. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  7092. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  7093. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  7094. elseif ModeOfGlitch == 2 then
  7095. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7096. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7097. 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)
  7098. 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)
  7099. 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)
  7100. 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)
  7101. elseif ModeOfGlitch == 3 then
  7102. local snap = math.random(1,32)
  7103. if snap == 1 then
  7104. 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)
  7105. end
  7106. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7107. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7108. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  7109. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7110. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  7111. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  7112. elseif ModeOfGlitch == 102 then
  7113. 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(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7114. LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7115. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  7116. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 7 * math.cos(sine / 53))),.1)
  7117. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  7118. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  7119. elseif ModeOfGlitch == 4 then
  7120. local snap = math.random(1,5)
  7121. if snap == 1 then
  7122. 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)
  7123. 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)
  7124. 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)
  7125. end
  7126. 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)
  7127. 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)
  7128. 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)
  7129. 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)
  7130. 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)
  7131. 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)
  7132. elseif ModeOfGlitch == 5 then
  7133. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  7134. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  7135. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  7136. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  7137. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  7138. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  7139. elseif ModeOfGlitch == 3444 then
  7140. 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) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(-18 - 5 * math.cos(sine / 32) - 5 * math.cos(sine / 1))),.1)
  7141. 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) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(31 + 8 * math.cos(sine / 38) - 5 * math.cos(sine / 1))),.1)
  7142. 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) - 5 * math.cos(sine / 1)),math.rad(8 - 5 * math.cos(sine / 1)),math.rad(0 - 5 * math.cos(sine / 1))),.1)
  7143. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(15 - 2.5 * math.cos(sine / 30) - 5 * math.cos(sine / 1)), math.rad(20 - 5 * math.cos(sine / 1)), math.rad(0 - 5 * math.cos(sine / 1))), 0.08)
  7144. 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) - 5 * math.cos(sine / 1)),math.rad(1 - 3 * math.cos(sine / 53) - 5 * math.cos(sine / 1)),math.rad(33 + 10 * math.cos(sine / 73) - 5 * math.cos(sine / 1))),.1)
  7145. 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) - 5 * math.cos(sine / 1)),math.rad(2 - 1 * math.cos(sine / 55) - 5 * math.cos(sine / 1)),math.rad(-27 - 6 * math.cos(sine / 33) - 5 * math.cos(sine / 1))),.1)
  7146. elseif ModeOfGlitch == 664663666 then --verybio
  7147. local snap = math.random(1,5)
  7148. if snap == 1 then
  7149. 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)
  7150. 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)
  7151. end
  7152. 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)
  7153. 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)
  7154. 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)
  7155. 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)
  7156. 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)
  7157. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  7158. elseif ModeOfGlitch == 6 then
  7159. 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)
  7160. 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)
  7161. 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)
  7162. 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)
  7163. 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)
  7164. 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)
  7165. elseif ModeOfGlitch == 8 then
  7166. 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)
  7167. 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)
  7168. 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)
  7169. 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)
  7170. 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)
  7171. 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)
  7172. elseif ModeOfGlitch == 9 then
  7173. 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)
  7174. 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))
  7175. 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)
  7176. 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)
  7177. 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)
  7178. 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)
  7179. 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)
  7180. 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)
  7181. elseif ModeOfGlitch == 8889 then
  7182. 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)
  7183. 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)
  7184. 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)
  7185. 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)
  7186. 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)
  7187. 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)
  7188. elseif ModeOfGlitch == 88893333388 then
  7189. 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)
  7190. 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)
  7191. 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)
  7192. 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)
  7193. 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)
  7194. 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)
  7195. elseif ModeOfGlitch == 103 then
  7196. sphere2(8,"Add",LeftArm.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("Deep orange").Color)
  7197. 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)
  7198. 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)
  7199. 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)
  7200. 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)
  7201. 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)
  7202. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(149 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-17 - 4 * math.cos(sine / 45))),.1)
  7203. elseif ModeOfGlitch == 808080808080808080808080 then
  7204. 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)
  7205. 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)
  7206. 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)
  7207. 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)
  7208. 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)
  7209. 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)
  7210. 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)
  7211. 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)
  7212. elseif ModeOfGlitch == 1264532489 then
  7213. 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)
  7214. 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)
  7215. 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)
  7216. 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)
  7217. 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)
  7218. 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)
  7219. 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)
  7220. 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)
  7221. 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)
  7222. elseif ModeOfGlitch == 101 then
  7223. 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("Bright bluish green"),BrickColor.new("Bright bluish green").Color)
  7224. 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("Black").Color)
  7225. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Black"),BrickColor.new("Black").Color)
  7226. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7227. 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)
  7228. 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)
  7229. 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)
  7230. 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)
  7231. 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)
  7232. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-23 - 4 * math.cos(sine / 45))),.1)
  7233. elseif ModeOfGlitch == 9999999921111 then
  7234. 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)
  7235. 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)
  7236. 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)
  7237. 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)
  7238. 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)
  7239. 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)
  7240. elseif ModeOfGlitch == 4367677813 then
  7241. 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)
  7242. 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)
  7243. 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)
  7244. 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)
  7245. 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)
  7246. 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)
  7247. elseif ModeOfGlitch == 765688533321 then
  7248. local snap = math.random(1,32)
  7249. if snap == 1 then
  7250. 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)
  7251. end
  7252. 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)
  7253. 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)
  7254. 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)
  7255. 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)
  7256. 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)
  7257. 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)
  7258. 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)
  7259. 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)
  7260. elseif ModeOfGlitch == 55469696922 then
  7261. 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)
  7262. 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)
  7263. 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)
  7264. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7265. 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)
  7266. 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)
  7267. elseif ModeOfGlitch == 664663666 then
  7268. local snap = math.random(1,32)
  7269. if snap == 1 then
  7270. 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)
  7271. end
  7272. 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)
  7273. 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)
  7274. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7275. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7276. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(14 + 1 * math.cos(sine / 45))),.1)
  7277. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(-9 - 3 * math.cos(sine / 45))),.1)
  7278. elseif ModeOfGlitch == 999999999556 then
  7279. 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)
  7280. 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)
  7281. 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)
  7282. 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)
  7283. 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)
  7284. 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)
  7285. 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)
  7286. 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)
  7287. elseif ModeOfGlitch == 01010101000001 then
  7288. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("Forest green"),0)
  7289. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("Lime green"),0)
  7290. TailPart(RootPart, Color3.fromRGB(31 + math.random(-20,20), 128 + math.random(-20,20), 29 + math.random(-20,20)))
  7291. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  7292. Torso.Neck.C0 = clerp(Torso.Neck.C0,Torso.Neck.C0 * CFrame.Angles(math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))) , 0.5)
  7293. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(20 - 5 * math.cos(sine / 20)), math.rad(0), math.rad(3 - 3 * math.cos(sine / 16))), 0.1)
  7294. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.05 * math.cos(sine / 20), 0) * angles(math.rad(130), math.rad(0 + 2 * math.cos(sine/16)), math.rad(-40)), 0.1)
  7295. RW.C0 = clerp(RW.C0,RW.C0 * CFrame.Angles(math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))) , 0.5)
  7296. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.05 * math.cos(sine / 20), 0) * angles(math.rad(20), math.rad(0 - 2* math.cos(sine/16)), math.rad(0)), 0.1)
  7297. LW.C0 = clerp(LW.C0,LW.C0 * CFrame.Angles(math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))) , 0.5)
  7298. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7299. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7300. end
  7301. end
  7302. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7303. Anim="Walk"
  7304. if attack==false then
  7305. if ModeOfGlitch ~= 102 then
  7306. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  7307. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  7308. 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)
  7309. 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)
  7310. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  7311. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  7312. elseif ModeOfGlitch == 102 then
  7313. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  7314. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  7315. 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)
  7316. 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)
  7317. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  7318. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  7319. end
  7320. end
  7321. elseif torvel>=22 and hitfloor~=nil then
  7322. Anim="Run"
  7323. if attack==false then
  7324. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  7325. 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)
  7326. 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)
  7327. 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)
  7328. 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)
  7329. 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)
  7330. 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)
  7331. if ModeOfGlitch == 9 then
  7332. 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)
  7333. 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))
  7334. 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)
  7335. end
  7336. elseif ModeOfGlitch == 6 or ModeOfGlitch == 3444 or ModeOfGlitch == 8 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then
  7337. 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)
  7338. 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)
  7339. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  7340. 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)
  7341. 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)
  7342. 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)
  7343. elseif ModeOfGlitch == 103 then
  7344. 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)
  7345. 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)
  7346. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * math.cos(sine / 28))*angles(math.rad(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  7347. 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)
  7348. 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)
  7349. 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)
  7350. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 808080808080808080808080 then
  7351. 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)
  7352. 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)
  7353. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  7354. 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)
  7355. 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)
  7356. 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)
  7357. if ModeOfGlitch == 765688533321 or ModeOfGlitch == 101 then
  7358. 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)
  7359. end
  7360. end
  7361. end
  7362. end
  7363. end
  7364. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement