Advertisement
zephpsian

vv

Feb 2nd, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 306.54 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Ipixter | Translated to FE by Saidmiranda")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. warn'Star Glitcher Loaded.'
  88. warn'All purpose switcher...'
  89. warn'Created by Noobygames12'
  90. warn'Edited by Neubla_Zorua'
  91. warn([[Icons:
  92. ! = New
  93. ? = Spoilers
  94. * = Exclusivity]])
  95. print([[V 3.21 (ON PROGRESS) Update Log:
  96. ! - Changed Judgement back to Justice
  97. ! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
  98. ! - Replaced Corruption with Glitchy
  99. ! - Fixed some bugs, too
  100. ! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
  101. ]])
  102.  
  103.  
  104. --Converted with ttyyuu12345's model to script plugin v4
  105. function sandbox(var,func)
  106. local env = getfenv(func)
  107. local newenv = setmetatable({},{
  108. __index = function(self,k)
  109. if k=="script" then
  110. return var
  111. else
  112. return env[k]
  113. end
  114. end,
  115. })
  116. setfenv(func,newenv)
  117. return func
  118. end
  119. cors = {}
  120. mas = Instance.new("Model",game:GetService("Workspace"))
  121. Model0 = Instance.new("Model")
  122. Part1 = Instance.new("Part")
  123. Part2 = Instance.new("Part")
  124. Part3 = Instance.new("Part")
  125. Part4 = Instance.new("Part")
  126. Part5 = Instance.new("Part")
  127. Part6 = Instance.new("Part")
  128. Part7 = Instance.new("Part")
  129. Part8 = Instance.new("Part")
  130. Part9 = Instance.new("Part")
  131. Part10 = Instance.new("Part")
  132. Part11 = Instance.new("Part")
  133. Part12 = Instance.new("Part")
  134. Part13 = Instance.new("Part")
  135. Part14 = Instance.new("Part")
  136. Part15 = Instance.new("Part")
  137. Part16 = Instance.new("Part")
  138. Part17 = Instance.new("Part")
  139. Part18 = Instance.new("Part")
  140. Part19 = Instance.new("Part")
  141. Part20 = Instance.new("Part")
  142. Part21 = Instance.new("Part")
  143. Part22 = Instance.new("Part")
  144. Part23 = Instance.new("Part")
  145. Part24 = Instance.new("Part")
  146. UnionOperation25 = Instance.new("UnionOperation")
  147. UnionOperation26 = Instance.new("UnionOperation")
  148. Model0.Parent = mas
  149. Part1.Parent = Model0
  150. Part1.CFrame = CFrame.new(-18.7652969, 4.10327482, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  151. Part1.Orientation = Vector3.new(0, 0, 90)
  152. Part1.Position = Vector3.new(-18.7652969, 4.10327482, 0.87580502)
  153. Part1.Rotation = Vector3.new(0, 0, 90)
  154. Part1.Color = Color3.new(0.694118, 0.898039, 0.65098)
  155. Part1.Size = Vector3.new(0.37166205, 1.23887289, 0.396439403)
  156. Part1.BottomSurface = Enum.SurfaceType.Smooth
  157. Part1.BrickColor = BrickColor.new("Mint")
  158. Part1.Material = Enum.Material.SmoothPlastic
  159. Part1.TopSurface = Enum.SurfaceType.Smooth
  160. Part1.brickColor = BrickColor.new("Mint")
  161. Part2.Parent = Model0
  162. Part2.CFrame = CFrame.new(-20.7696552, 4.10563898, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  163. Part2.Orientation = Vector3.new(0, 0, 90)
  164. Part2.Position = Vector3.new(-20.7696552, 4.10563898, 0.87580502)
  165. Part2.Rotation = Vector3.new(0, 0, 90)
  166. Part2.Color = Color3.new(0.541176, 0.670588, 0.521569)
  167. Part2.Size = Vector3.new(0.123887286, 0.495549083, 0.430797487)
  168. Part2.BottomSurface = Enum.SurfaceType.Smooth
  169. Part2.BrickColor = BrickColor.new("Artichoke")
  170. Part2.Material = Enum.Material.Neon
  171. Part2.TopSurface = Enum.SurfaceType.Smooth
  172. Part2.brickColor = BrickColor.new("Artichoke")
  173. Part3.Parent = Model0
  174. Part3.CFrame = CFrame.new(-18.7658291, 0.500050008, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  175. Part3.Position = Vector3.new(-18.7658291, 0.500050008, 0.87580502)
  176. Part3.Color = Color3.new(0.541176, 0.670588, 0.521569)
  177. Part3.Size = Vector3.new(0.149999991, 0.599999905, 0.521600127)
  178. Part3.BottomSurface = Enum.SurfaceType.Smooth
  179. Part3.BrickColor = BrickColor.new("Artichoke")
  180. Part3.Material = Enum.Material.Neon
  181. Part3.TopSurface = Enum.SurfaceType.Smooth
  182. Part3.brickColor = BrickColor.new("Artichoke")
  183. Part4.Parent = Model0
  184. Part4.CFrame = CFrame.new(-18.7686901, 0.750050008, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  185. Part4.Position = Vector3.new(-18.7686901, 0.750050008, 0.87580502)
  186. Part4.Color = Color3.new(0.541176, 0.670588, 0.521569)
  187. Part4.Size = Vector3.new(0.489000261, 0.100000001, 0.521600127)
  188. Part4.BottomSurface = Enum.SurfaceType.Smooth
  189. Part4.BrickColor = BrickColor.new("Artichoke")
  190. Part4.Material = Enum.Material.Neon
  191. Part4.TopSurface = Enum.SurfaceType.Smooth
  192. Part4.brickColor = BrickColor.new("Artichoke")
  193. Part5.Parent = Model0
  194. Part5.CFrame = CFrame.new(-16.8533707, 4.10327196, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  195. Part5.Orientation = Vector3.new(0, 0, 90)
  196. Part5.Position = Vector3.new(-16.8533707, 4.10327196, 0.87580502)
  197. Part5.Rotation = Vector3.new(0, 0, 90)
  198. Part5.Color = Color3.new(0.8, 1, 0.8)
  199. Part5.Size = Vector3.new(0.37166205, 1.23887289, 0.396439403)
  200. Part5.BottomSurface = Enum.SurfaceType.Smooth
  201. Part5.BrickColor = BrickColor.new("Pastel green")
  202. Part5.Material = Enum.Material.SmoothPlastic
  203. Part5.TopSurface = Enum.SurfaceType.Smooth
  204. Part5.brickColor = BrickColor.new("Pastel green")
  205. Part6.Parent = Model0
  206. Part6.CFrame = CFrame.new(-20.9761295, 4.10327721, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  207. Part6.Orientation = Vector3.new(0, 0, 90)
  208. Part6.Position = Vector3.new(-20.9761295, 4.10327721, 0.87580502)
  209. Part6.Rotation = Vector3.new(0, 0, 90)
  210. Part6.Color = Color3.new(0.541176, 0.670588, 0.521569)
  211. Part6.Size = Vector3.new(0.403872758, 0.0825915262, 0.430797487)
  212. Part6.BottomSurface = Enum.SurfaceType.Smooth
  213. Part6.BrickColor = BrickColor.new("Artichoke")
  214. Part6.Material = Enum.Material.Neon
  215. Part6.TopSurface = Enum.SurfaceType.Smooth
  216. Part6.brickColor = BrickColor.new("Artichoke")
  217. Part7.Parent = Model0
  218. Part7.CFrame = CFrame.new(-16.8014202, 4.1056428, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  219. Part7.Orientation = Vector3.new(0, 0, 90)
  220. Part7.Position = Vector3.new(-16.8014202, 4.1056428, 0.87580502)
  221. Part7.Rotation = Vector3.new(0, 0, 90)
  222. Part7.Color = Color3.new(0.541176, 0.670588, 0.521569)
  223. Part7.Size = Vector3.new(0.123887286, 0.495549083, 0.430797487)
  224. Part7.BottomSurface = Enum.SurfaceType.Smooth
  225. Part7.BrickColor = BrickColor.new("Artichoke")
  226. Part7.Material = Enum.Material.Neon
  227. Part7.TopSurface = Enum.SurfaceType.Smooth
  228. Part7.brickColor = BrickColor.new("Artichoke")
  229. Part8.Parent = Model0
  230. Part8.CFrame = CFrame.new(-16.5235844, 4.10327101, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  231. Part8.Orientation = Vector3.new(0, 0, 90)
  232. Part8.Position = Vector3.new(-16.5235844, 4.10327101, 0.87580502)
  233. Part8.Rotation = Vector3.new(0, 0, 90)
  234. Part8.Color = Color3.new(0.541176, 0.670588, 0.521569)
  235. Part8.Size = Vector3.new(0.403872758, 0.0825915262, 0.430797487)
  236. Part8.BottomSurface = Enum.SurfaceType.Smooth
  237. Part8.BrickColor = BrickColor.new("Artichoke")
  238. Part8.Material = Enum.Material.Neon
  239. Part8.TopSurface = Enum.SurfaceType.Smooth
  240. Part8.brickColor = BrickColor.new("Artichoke")
  241. Part9.Parent = Model0
  242. Part9.CFrame = CFrame.new(-17.0079041, 4.10327291, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  243. Part9.Orientation = Vector3.new(0, 0, 90)
  244. Part9.Position = Vector3.new(-17.0079041, 4.10327291, 0.87580502)
  245. Part9.Rotation = Vector3.new(0, 0, 90)
  246. Part9.Color = Color3.new(0.541176, 0.670588, 0.521569)
  247. Part9.Size = Vector3.new(0.403872758, 0.0825915262, 0.430797487)
  248. Part9.BottomSurface = Enum.SurfaceType.Smooth
  249. Part9.BrickColor = BrickColor.new("Artichoke")
  250. Part9.Material = Enum.Material.Neon
  251. Part9.TopSurface = Enum.SurfaceType.Smooth
  252. Part9.brickColor = BrickColor.new("Artichoke")
  253. Part10.Parent = Model0
  254. Part10.CFrame = CFrame.new(-16.8014202, 4.1056428, 0.87580502, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  255. Part10.Orientation = Vector3.new(90, -90, 0)
  256. Part10.Position = Vector3.new(-16.8014202, 4.1056428, 0.87580502)
  257. Part10.Rotation = Vector3.new(90, 0, 90)
  258. Part10.Color = Color3.new(0.541176, 0.670588, 0.521569)
  259. Part10.Size = Vector3.new(0.123887286, 0.495549083, 0.430797487)
  260. Part10.BottomSurface = Enum.SurfaceType.Smooth
  261. Part10.BrickColor = BrickColor.new("Artichoke")
  262. Part10.Material = Enum.Material.Neon
  263. Part10.TopSurface = Enum.SurfaceType.Smooth
  264. Part10.brickColor = BrickColor.new("Artichoke")
  265. Part11.Parent = Model0
  266. Part11.CFrame = CFrame.new(-18.7686977, 0.163655996, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  267. Part11.Position = Vector3.new(-18.7686977, 0.163655996, 0.87580502)
  268. Part11.Color = Color3.new(0.541176, 0.670588, 0.521569)
  269. Part11.Size = Vector3.new(0.489000261, 0.100000001, 0.521600127)
  270. Part11.BottomSurface = Enum.SurfaceType.Smooth
  271. Part11.BrickColor = BrickColor.new("Artichoke")
  272. Part11.Material = Enum.Material.Neon
  273. Part11.TopSurface = Enum.SurfaceType.Smooth
  274. Part11.brickColor = BrickColor.new("Artichoke")
  275. Part12.Parent = Model0
  276. Part12.CFrame = CFrame.new(-20.7696552, 4.10563898, 0.87580502, 0, -1, 0, 0, 0, -1, 1, 0, 0)
  277. Part12.Orientation = Vector3.new(90, -90, 0)
  278. Part12.Position = Vector3.new(-20.7696552, 4.10563898, 0.87580502)
  279. Part12.Rotation = Vector3.new(90, 0, 90)
  280. Part12.Color = Color3.new(0.541176, 0.670588, 0.521569)
  281. Part12.Size = Vector3.new(0.123887286, 0.495549083, 0.430797487)
  282. Part12.BottomSurface = Enum.SurfaceType.Smooth
  283. Part12.BrickColor = BrickColor.new("Artichoke")
  284. Part12.Material = Enum.Material.Neon
  285. Part12.TopSurface = Enum.SurfaceType.Smooth
  286. Part12.brickColor = BrickColor.new("Artichoke")
  287. Part13.Parent = Model0
  288. Part13.CFrame = CFrame.new(-20.4918232, 4.10327196, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  289. Part13.Orientation = Vector3.new(0, 0, 90)
  290. Part13.Position = Vector3.new(-20.4918232, 4.10327196, 0.87580502)
  291. Part13.Rotation = Vector3.new(0, 0, 90)
  292. Part13.Color = Color3.new(0.541176, 0.670588, 0.521569)
  293. Part13.Size = Vector3.new(0.403872758, 0.0825915262, 0.430797487)
  294. Part13.BottomSurface = Enum.SurfaceType.Smooth
  295. Part13.BrickColor = BrickColor.new("Artichoke")
  296. Part13.Material = Enum.Material.Neon
  297. Part13.TopSurface = Enum.SurfaceType.Smooth
  298. Part13.brickColor = BrickColor.new("Artichoke")
  299. Part14.Parent = Model0
  300. Part14.CFrame = CFrame.new(-18.7658291, 0.500050008, 0.87580502, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  301. Part14.Orientation = Vector3.new(0, -90, 0)
  302. Part14.Position = Vector3.new(-18.7658291, 0.500050008, 0.87580502)
  303. Part14.Rotation = Vector3.new(0, -90, 0)
  304. Part14.Color = Color3.new(0.631373, 0.768628, 0.54902)
  305. Part14.Size = Vector3.new(0.149999991, 0.599999905, 0.521600127)
  306. Part14.BottomSurface = Enum.SurfaceType.Smooth
  307. Part14.BrickColor = BrickColor.new("Medium green")
  308. Part14.Material = Enum.Material.Neon
  309. Part14.TopSurface = Enum.SurfaceType.Smooth
  310. Part14.brickColor = BrickColor.new("Medium green")
  311. Part15.Parent = Model0
  312. Part15.CFrame = CFrame.new(-18.7686844, 3.40406203, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  313. Part15.Position = Vector3.new(-18.7686844, 3.40406203, 0.87580502)
  314. Part15.Color = Color3.new(0.541176, 0.670588, 0.521569)
  315. Part15.Size = Vector3.new(0.348000199, 4.44000244, 0.371200114)
  316. Part15.BottomSurface = Enum.SurfaceType.Smooth
  317. Part15.BrickColor = BrickColor.new("Artichoke")
  318. Part15.Material = Enum.Material.Neon
  319. Part15.TopSurface = Enum.SurfaceType.Smooth
  320. Part15.brickColor = BrickColor.new("Artichoke")
  321. Part16.Parent = Model0
  322. Part16.CFrame = CFrame.new(-20.6865406, 4.10327816, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  323. Part16.Orientation = Vector3.new(0, 0, 90)
  324. Part16.Position = Vector3.new(-20.6865406, 4.10327816, 0.87580502)
  325. Part16.Rotation = Vector3.new(0, 0, 90)
  326. Part16.Color = Color3.new(0.631373, 0.768628, 0.54902)
  327. Part16.Size = Vector3.new(0.37166205, 1.22235537, 0.396439403)
  328. Part16.BottomSurface = Enum.SurfaceType.Smooth
  329. Part16.BrickColor = BrickColor.new("Medium green")
  330. Part16.Material = Enum.Material.SmoothPlastic
  331. Part16.TopSurface = Enum.SurfaceType.Smooth
  332. Part16.brickColor = BrickColor.new("Medium green")
  333. Part17.Parent = Model0
  334. Part17.CFrame = CFrame.new(-18.7686939, 0.562951982, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  335. Part17.Position = Vector3.new(-18.7686939, 0.562951982, 0.87580502)
  336. Part17.Color = Color3.new(0.8, 1, 0.8)
  337. Part17.Size = Vector3.new(0.450000226, 1.5, 0.480000108)
  338. Part17.BottomSurface = Enum.SurfaceType.Smooth
  339. Part17.BrickColor = BrickColor.new("Pastel green")
  340. Part17.Material = Enum.Material.SmoothPlastic
  341. Part17.TopSurface = Enum.SurfaceType.Smooth
  342. Part17.brickColor = BrickColor.new("Pastel green")
  343. Part18.Parent = Model0
  344. Part18.CFrame = CFrame.new(-18.7658253, 5.30469608, 0.87580502, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  345. Part18.Orientation = Vector3.new(0, -90, 0)
  346. Part18.Position = Vector3.new(-18.7658253, 5.30469608, 0.87580502)
  347. Part18.Rotation = Vector3.new(0, -90, 0)
  348. Part18.Color = Color3.new(0.631373, 0.768628, 0.54902)
  349. Part18.Size = Vector3.new(0.149999991, 0.599999905, 0.521600127)
  350. Part18.BottomSurface = Enum.SurfaceType.Smooth
  351. Part18.BrickColor = BrickColor.new("Medium green")
  352. Part18.Material = Enum.Material.Neon
  353. Part18.TopSurface = Enum.SurfaceType.Smooth
  354. Part18.brickColor = BrickColor.new("Medium green")
  355. Part19.Parent = Model0
  356. Part19.CFrame = CFrame.new(-18.7686882, 5.20407009, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  357. Part19.Position = Vector3.new(-18.7686882, 5.20407009, 0.87580502)
  358. Part19.Color = Color3.new(0.631373, 0.768628, 0.54902)
  359. Part19.Size = Vector3.new(0.450000226, 1.48000097, 0.480000108)
  360. Part19.BottomSurface = Enum.SurfaceType.Smooth
  361. Part19.BrickColor = BrickColor.new("Medium green")
  362. Part19.Material = Enum.Material.SmoothPlastic
  363. Part19.TopSurface = Enum.SurfaceType.Smooth
  364. Part19.brickColor = BrickColor.new("Medium green")
  365. Part20.Parent = Model0
  366. Part20.CFrame = CFrame.new(-18.7658253, 5.30469608, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  367. Part20.Position = Vector3.new(-18.7658253, 5.30469608, 0.87580502)
  368. Part20.Color = Color3.new(0.541176, 0.670588, 0.521569)
  369. Part20.Size = Vector3.new(0.149999991, 0.599999905, 0.521600127)
  370. Part20.BottomSurface = Enum.SurfaceType.Smooth
  371. Part20.BrickColor = BrickColor.new("Artichoke")
  372. Part20.Material = Enum.Material.Neon
  373. Part20.TopSurface = Enum.SurfaceType.Smooth
  374. Part20.brickColor = BrickColor.new("Artichoke")
  375. Part21.Parent = Model0
  376. Part21.CFrame = CFrame.new(-18.7686882, 4.96829987, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  377. Part21.Position = Vector3.new(-18.7686882, 4.96829987, 0.87580502)
  378. Part21.Color = Color3.new(0.541176, 0.670588, 0.521569)
  379. Part21.Size = Vector3.new(0.489000261, 0.100000001, 0.521600127)
  380. Part21.BottomSurface = Enum.SurfaceType.Smooth
  381. Part21.BrickColor = BrickColor.new("Artichoke")
  382. Part21.Material = Enum.Material.Neon
  383. Part21.TopSurface = Enum.SurfaceType.Smooth
  384. Part21.brickColor = BrickColor.new("Artichoke")
  385. Part22.Parent = Model0
  386. Part22.CFrame = CFrame.new(-18.7686901, 2.87786698, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  387. Part22.Position = Vector3.new(-18.7686901, 2.87786698, 0.87580502)
  388. Part22.Color = Color3.new(0.694118, 0.898039, 0.65098)
  389. Part22.Size = Vector3.new(0.450000226, 1.5, 0.480000108)
  390. Part22.BottomSurface = Enum.SurfaceType.Smooth
  391. Part22.BrickColor = BrickColor.new("Mint")
  392. Part22.Material = Enum.Material.SmoothPlastic
  393. Part22.TopSurface = Enum.SurfaceType.Smooth
  394. Part22.brickColor = BrickColor.new("Mint")
  395. Part23.Parent = Model0
  396. Part23.CFrame = CFrame.new(-18.7686882, 5.55469894, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  397. Part23.Position = Vector3.new(-18.7686882, 5.55469894, 0.87580502)
  398. Part23.Color = Color3.new(0.541176, 0.670588, 0.521569)
  399. Part23.Size = Vector3.new(0.489000261, 0.100000001, 0.521600127)
  400. Part23.BottomSurface = Enum.SurfaceType.Smooth
  401. Part23.BrickColor = BrickColor.new("Artichoke")
  402. Part23.Material = Enum.Material.Neon
  403. Part23.TopSurface = Enum.SurfaceType.Smooth
  404. Part23.brickColor = BrickColor.new("Artichoke")
  405. Part24.Parent = Model0
  406. Part24.CFrame = CFrame.new(-19.1998901, 4.10327578, 0.87580502, 0, -1, 0, 1, 0, -0, 0, 0, 1)
  407. Part24.Orientation = Vector3.new(0, 0, 90)
  408. Part24.Position = Vector3.new(-19.1998901, 4.10327578, 0.87580502)
  409. Part24.Rotation = Vector3.new(0, 0, 90)
  410. Part24.Color = Color3.new(0.541176, 0.670588, 0.521569)
  411. Part24.Size = Vector3.new(0.287418664, 3.66706562, 0.306579828)
  412. Part24.BottomSurface = Enum.SurfaceType.Smooth
  413. Part24.BrickColor = BrickColor.new("Artichoke")
  414. Part24.Material = Enum.Material.Neon
  415. Part24.TopSurface = Enum.SurfaceType.Smooth
  416. Part24.brickColor = BrickColor.new("Artichoke")
  417. UnionOperation25.Parent = Model0
  418. UnionOperation25.CFrame = CFrame.new(-18.7626266, 3.05964804, 0.87580502, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  419. UnionOperation25.Position = Vector3.new(-18.7626266, 3.05964804, 0.87580502)
  420. UnionOperation25.Color = Color3.new(0.541176, 0.670588, 0.521569)
  421. UnionOperation25.Size = Vector3.new(0.323740005, 0.323752165, 0.521600425)
  422. UnionOperation25.BrickColor = BrickColor.new("Artichoke")
  423. UnionOperation25.Material = Enum.Material.Neon
  424. UnionOperation25.brickColor = BrickColor.new("Artichoke")
  425. UnionOperation26.Parent = Model0
  426. UnionOperation26.CFrame = CFrame.new(-18.7626266, 3.05964804, 0.875796437, 0, 0, -1, 0.573578, 0.819150984, 0, 0.819150984, -0.573578, 0)
  427. UnionOperation26.Orientation = Vector3.new(0, -90, 35)
  428. UnionOperation26.Position = Vector3.new(-18.7626266, 3.05964804, 0.875796437)
  429. UnionOperation26.Rotation = Vector3.new(-35, -90, 0)
  430. UnionOperation26.Color = Color3.new(0.541176, 0.670588, 0.521569)
  431. UnionOperation26.Size = Vector3.new(0.323730707, 0.323753357, 0.521617889)
  432. UnionOperation26.BrickColor = BrickColor.new("Artichoke")
  433. UnionOperation26.Material = Enum.Material.Neon
  434. UnionOperation26.brickColor = BrickColor.new("Artichoke")
  435. for i,v in pairs(mas:GetChildren()) do
  436. v.Parent = workspace
  437. pcall(function() v:MakeJoints() end)
  438. end
  439. mas:Destroy()
  440. for i,v in pairs(cors) do
  441. spawn(function()
  442. pcall(v)
  443. end)
  444. end
  445.  
  446.  
  447. --- its obs smooth af do not touch
  448. ---- Sources and functions might be taken from others
  449. plr = owner
  450. char = plr.Character
  451. hum = char:FindFirstChildOfClass'Humanoid'
  452. local cam = game.Workspace.CurrentCamera
  453. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  454. Camera = cam
  455. local CamInterrupt = false
  456. local TwoD = false
  457. local TargetInfo = {nil, nil}
  458. cam.CameraType = "Custom"
  459. t = char.Torso
  460. h = char.Head
  461. ra = char["Right Arm"]
  462. la = char["Left Arm"]
  463. rl = char["Right Leg"]
  464. ll = char["Left Leg"]
  465. tors = char.Torso
  466. lleg = char["Left Leg"]
  467. root = char.HumanoidRootPart
  468. hed = char.Head
  469. rleg = char["Right Leg"]
  470. rarm = char["Right Arm"]
  471. larm = char["Left Arm"]
  472. radian = math.rad
  473. random = math.random
  474. Vec3 = Vector3.new
  475. Inst = Instance.new
  476. cFrame = CFrame.new
  477. Euler = CFrame.fromEulerAnglesXYZ
  478. vt = Vector3.new
  479. bc = BrickColor.new
  480. br = BrickColor.random
  481. it = Instance.new
  482. cf = CFrame.new
  483.  
  484. local ODers = {}
  485.  
  486. local AllowRape = false;
  487. local AllowCata = false;
  488.  
  489. local Booleans = {
  490. CamFollow = true,
  491. GyroUse = true
  492. }
  493.  
  494. function lerp(object, newCFrame, alpha)
  495. return object:lerp(newCFrame, alpha)
  496. end
  497.  
  498. local Directer = Inst("BodyGyro", root)
  499. Directer.MaxTorque = Vec3(0, 0, 0)
  500. Directer.P = 600000
  501. local CPart = Inst("Part")
  502. CPart.Anchored = true
  503. CPart.CanCollide = false
  504. CPart.Locked = true
  505. CPart.Transparency = 1
  506.  
  507. local rainbowmode = false
  508. local chaosmode = false
  509. local glitchymode = false
  510. kan = Instance.new("Sound",char)
  511. kan.Volume = 1.25
  512. kan.TimePosition = 0
  513. kan.PlaybackSpeed = 1
  514. kan.Pitch = 1
  515. kan.SoundId = "rbxassetid://1564523997"
  516. kan.Name = "wrecked"
  517. kan.Looped = true
  518. kan:Play()
  519.  
  520. local MID = "rbxassetid://1564523997";
  521. local Pitch = 1;
  522.  
  523. function newTheme(ID,timepos,pitch,vol)
  524. local kanz = kan
  525. --kanz:Stop()
  526. --kanz.Volume = vol
  527. --kanz.TimePosition = timepos
  528. kanz.PlaybackSpeed = pitch
  529. kanz.Pitch = pitch
  530. kanz.SoundId = ID
  531. kanz.Name = "wrecked"
  532. kanz.Looped = true
  533. Pitch = pitch
  534. MID = ID
  535. --kanz:Play()
  536. --coroutine.resume(coroutine.create(function()
  537. --wait(0.05)
  538. --end))
  539. end
  540.  
  541. function newThemeCust(ID,timepos,pitch,vol)
  542. local kanz = kan
  543. kanz:Stop()
  544. kanz.Volume = vol
  545. kanz.TimePosition = timepos
  546. kanz.PlaybackSpeed = pitch
  547. kanz.Pitch = pitch
  548. MID = ID
  549. kanz.SoundId = ID
  550. kanz.Name = "wrecked"
  551. kanz.Looped = true
  552. kanz:Play()
  553. coroutine.resume(coroutine.create(function()
  554. wait(0.05)
  555. end))
  556. end
  557.  
  558.  
  559.  
  560. function CameraShake(Times, Power, PlayerTarget)
  561. coroutine.resume(coroutine.create(function()
  562. FV = Instance.new("BoolValue", PlayerTarget)
  563. FV.Name = "CameraShake"
  564. for ShakeNum=1,Times do
  565. swait()
  566. local ef=Power
  567. if ef>=1 then
  568. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  569. else
  570. ef=Power*10
  571. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  572. end
  573. end
  574. Humanoid.CameraOffset = Vector3.new(0,0,0)
  575. FV:Destroy()
  576. end))
  577. end
  578.  
  579. function CameraEnshaking(Length,Intensity)
  580. coroutine.resume(coroutine.create(function()
  581. local intensity = 1*Intensity
  582. local rotM = 0.01*Intensity
  583. for i = 0, Length, 0.1 do
  584. swait()
  585. intensity = intensity - 0.05*Intensity/Length
  586. rotM = rotM - 0.0005*Intensity/Length
  587. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  588. 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)
  589. end
  590. Humanoid.CameraOffset = Vec3(0, 0, 0)
  591. end))
  592. end
  593. CamShake=function(Part,Distan,Power,Times)
  594. local de=Part.Position
  595. for i,v in pairs(workspace:children()) do
  596. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  597. for _,c in pairs(v:children()) do
  598. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  599. local Noob=vFindFirstChildOfClass'Humanoid'
  600. if Noob~=nil then
  601. coroutine.resume(coroutine.create(function()
  602. FV = Instance.new("BoolValue", Noob)
  603. FV.Name = "CameraShake"
  604. for ShakeNum=1,Times do
  605. swait()
  606. local ef=Power
  607. if ef>=1 then
  608. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  609. else
  610. ef=Power*10
  611. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  612. end
  613. end
  614. Humanoid.CameraOffset = Vector3.new(0,0,0)
  615. FV:Destroy()
  616. end))
  617. CameraShake(Times, Power, Noob)
  618. end
  619. end
  620. end
  621. end
  622. end
  623. end
  624.  
  625. function chatfunc(text,color)
  626. local chat = coroutine.wrap(function()
  627. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  628. Character:FindFirstChild("TalkingBillBoard"):destroy()
  629. end
  630. local naeeym2 = Instance.new("BillboardGui",Character)
  631. naeeym2.Size = UDim2.new(0,100,0,40)
  632. naeeym2.StudsOffset = Vector3.new(0,3,0)
  633. naeeym2.Adornee = Character.Head
  634. naeeym2.Name = "TalkingBillBoard"
  635. local tecks2 = Instance.new("TextLabel",naeeym2)
  636. tecks2.BackgroundTransparency = 1
  637. tecks2.BorderSizePixel = 0
  638. tecks2.Text = ""
  639. tecks2.Font = "SciFi"
  640. tecks2.TextSize = 30
  641. tecks2.TextStrokeTransparency = 0
  642. tecks2.TextColor3 = color
  643. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  644. tecks2.Size = UDim2.new(1,0,0.5,0)
  645. local tecks3 = Instance.new("TextLabel",naeeym2)
  646. tecks3.BackgroundTransparency = 1
  647. tecks3.BorderSizePixel = 0
  648. tecks3.Text = ""
  649. tecks3.Font = "SciFi"
  650. tecks3.TextSize = 30
  651. tecks3.TextStrokeTransparency = 0
  652. tecks3.TextColor3 = Color3.new(0,0,0)
  653. tecks3.TextStrokeColor3 = color
  654. tecks3.Size = UDim2.new(1,0,0.5,0)
  655. coroutine.resume(coroutine.create(function()
  656. while true do
  657. swait(1)
  658. if chaosmode == true then
  659. tecks2.TextColor3 = BrickColor.random().Color
  660. tecks3.TextStrokeColor3 = BrickColor.random().Color
  661. end
  662. if(glitchymode)then
  663. local val = math.random(1,255)
  664. local color = Color3.fromRGB(val,val,val)
  665. tecks2.TextColor3 = color
  666. tecks3.TextStrokeColor3 = color
  667. end
  668. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  669. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  670. tecks2.Rotation = math.random(-5,5)
  671. tecks3.Rotation = math.random(-5,5)
  672. end
  673. end))
  674. for i = 1,string.len(text),1 do
  675. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  676. tecks2.Text = string.sub(text,1,i)
  677. tecks3.Text = string.sub(text,1,i)
  678. swait(1)
  679. end
  680. wait(1)
  681. local randomrot = math.random(1,2)
  682. if randomrot == 1 then
  683. for i = 1, 50 do
  684. swait()
  685. tecks2.Rotation = tecks2.Rotation - .75
  686. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  687. tecks2.TextTransparency = tecks2.TextTransparency + .04
  688. tecks3.Rotation = tecks2.Rotation + .75
  689. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  690. tecks3.TextTransparency = tecks2.TextTransparency + .04
  691. end
  692. elseif randomrot == 2 then
  693. for i = 1, 50 do
  694. swait()
  695. tecks2.Rotation = tecks2.Rotation + .75
  696. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  697. tecks2.TextTransparency = tecks2.TextTransparency + .04
  698. tecks3.Rotation = tecks2.Rotation - .75
  699. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  700. tecks3.TextTransparency = tecks2.TextTransparency + .04
  701. end
  702. end
  703. naeeym2:Destroy()
  704. end)
  705. chat()
  706. end
  707.  
  708.  
  709. local Create = LoadLibrary("RbxUtility").Create
  710.  
  711. CFuncs = {
  712. ["Part"] = {
  713. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  714. local Part = Create("Part"){
  715. Parent = Parent,
  716. Reflectance = Reflectance,
  717. Transparency = Transparency,
  718. CanCollide = false,
  719. Locked = true,
  720. BrickColor = BrickColor.new(tostring(BColor)),
  721. Name = Name,
  722. Size = Size,
  723. Material = Material,
  724. }
  725. RemoveOutlines(Part)
  726. return Part
  727. end;
  728. };
  729.  
  730. ["Mesh"] = {
  731. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  732. local Msh = Create(Mesh){
  733. Parent = Part,
  734. Offset = OffSet,
  735. Scale = Scale,
  736. }
  737. if Mesh == "SpecialMesh" then
  738. Msh.MeshType = MeshType
  739. Msh.MeshId = MeshId
  740. end
  741. return Msh
  742. end;
  743. };
  744.  
  745. ["Mesh"] = {
  746. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  747. local Msh = Create(Mesh){
  748. Parent = Part,
  749. Offset = OffSet,
  750. Scale = Scale,
  751. }
  752. if Mesh == "SpecialMesh" then
  753. Msh.MeshType = MeshType
  754. Msh.MeshId = MeshId
  755. end
  756. return Msh
  757. end;
  758. };
  759.  
  760. ["Weld"] = {
  761. Create = function(Parent, Part0, Part1, C0, C1)
  762. local Weld = Create("Weld"){
  763. Parent = Parent,
  764. Part0 = Part0,
  765. Part1 = Part1,
  766. C0 = C0,
  767. C1 = C1,
  768. }
  769. return Weld
  770. end;
  771. };
  772.  
  773. ["Sound"] = {
  774. Create = function(id, par, vol, pit)
  775. return coroutine.wrap(function()
  776. local S = Create("Sound"){
  777. Volume = vol,
  778. Name = "EffectSoundo",
  779. Pitch = pit or 1,
  780. SoundId = id,
  781. Parent = par or workspace,
  782. }
  783. S:Play()
  784. S.Ended:connect(function()
  785. S:Destroy()
  786. end)
  787. return S;
  788. end)()
  789. end;
  790. };
  791.  
  792. ["LongSound"] = {
  793. Create = function(id, par, vol, pit)
  794. coroutine.resume(coroutine.create(function()
  795. local S = Create("Sound"){
  796. Volume = vol,
  797. Pitch = pit or 1,
  798. SoundId = id,
  799. Parent = par or workspace,
  800. }
  801. wait()
  802. S:play()
  803. game:GetService("Debris"):AddItem(S, 30)
  804. end))
  805. end;
  806. };
  807.  
  808. ["ParticleEmitter"] = {
  809. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  810. local fp = Create("ParticleEmitter"){
  811. Parent = Parent,
  812. Color = ColorSequence.new(Color1, Color2),
  813. LightEmission = LightEmission,
  814. Size = Size,
  815. Texture = Texture,
  816. Transparency = Transparency,
  817. ZOffset = ZOffset,
  818. Acceleration = Accel,
  819. Drag = Drag,
  820. LockedToPart = LockedToPart,
  821. VelocityInheritance = VelocityInheritance,
  822. EmissionDirection = EmissionDirection,
  823. Enabled = Enabled,
  824. Lifetime = LifeTime,
  825. Rate = Rate,
  826. Rotation = Rotation,
  827. RotSpeed = RotSpeed,
  828. Speed = Speed,
  829. VelocitySpread = VelocitySpread,
  830. }
  831. return fp
  832. end;
  833. };
  834.  
  835. CreateTemplate = {
  836.  
  837. };
  838. }
  839.  
  840.  
  841.  
  842. New = function(Object, Parent, Name, Data)
  843. local Object = Instance.new(Object)
  844. for Index, Value in pairs(Data or {}) do
  845. Object[Index] = Value
  846. end
  847. Object.Parent = Parent
  848. Object.Name = Name
  849. return Object
  850. end
  851. local halocolor = BrickColor.new("Pastel light blue")
  852. local halocolor2 = BrickColor.new("Cool yellow")
  853. local starcolor = BrickColor.new("Bright yellow")
  854. local lunacolor = BrickColor.new("Navy blue")
  855. local lunacolor2 = BrickColor.new("Bright blue")
  856. local wepcolor = BrickColor.new("Really black")
  857. local maincolor = BrickColor.new("Really black")
  858. local m = Instance.new("Model",char)
  859. local m2 = Instance.new("Model",char)
  860. local m3 = Instance.new("Model",char)
  861. local mw1 = Instance.new("Model",char)
  862. local mw2 = Instance.new("Model",char)
  863.  
  864. local extrawingmod1 = Instance.new("Model",char)
  865. local extrawingmod2 = Instance.new("Model",char)
  866.  
  867. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  868. local p = Instance.new("Part")
  869. p.TopSurface = 0
  870. p.BottomSurface = 0
  871. p.Parent = parent
  872. p.Size = Vector3.new(0.1,0.1,0.1)
  873. p.Transparency = transparency
  874. p.Reflectance = reflectance
  875. p.CanCollide = false
  876. p.Locked = true
  877. p.BrickColor = brickcolor
  878. p.Material = material
  879. return p
  880. end
  881.  
  882. function CreateMesh(parent,meshtype,x1,y1,z1)
  883. local mesh = Instance.new("SpecialMesh",parent)
  884. mesh.MeshType = meshtype
  885. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  886. return mesh
  887. end
  888.  
  889. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  890. local mesh = Instance.new("SpecialMesh",parent)
  891. mesh.MeshType = "FileMesh"
  892. mesh.MeshId = meshid
  893. mesh.Scale = Vector3.new(x1,y1,z1)
  894. return mesh
  895. end
  896.  
  897.  
  898. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  899. local mesh = Instance.new("SpecialMesh",parent)
  900. mesh.MeshType = "FileMesh"
  901. mesh.MeshId = meshid
  902. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  903. mesh.Scale = Vector3.new(x1,y1,z1)
  904. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  905. return mesh
  906. end
  907.  
  908. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  909. local weld = Instance.new("Weld")
  910. weld.Parent = parent
  911. weld.Part0 = part0
  912. weld.Part1 = part1
  913. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  914. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  915. return weld
  916. end
  917.  
  918. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  919. 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))
  920. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  921. 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))
  922.  
  923. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  924. CreateMesh(handle,"Brick",0,0,0)
  925. 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))
  926. local valuaring = 10
  927. for i = 0, 49 do
  928. valuaring = valuaring + 10
  929. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  930. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  931. 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))
  932. end
  933.  
  934. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  935. CreateMesh(handle,"Brick",0,0,0)
  936. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  937. local valuaring = 10
  938. for i = 0, 49 do
  939. valuaring = valuaring + 10
  940. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  941. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  942. 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))
  943. end
  944.  
  945.  
  946. local handle = CreateParta(m,1,1,"Neon",maincolor)
  947. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  948. 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))
  949.  
  950. --- Left wing.
  951.  
  952. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  953. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  954. 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))
  955.  
  956. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  957. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  958. 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))
  959. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  960. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  961. 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))
  962. A0 = Instance.new('Attachment',wed)
  963. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  964. CreateMesh(wed,"Wedge",0.05,0.5,3)
  965. 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))
  966. A1 = Instance.new('Attachment',wed)
  967. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,3,0.5)
  969. 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))
  970.  
  971. tl1 = Instance.new('Trail',wed)
  972. tl1.Attachment0 = A0
  973. tl1.Attachment1 = A1
  974. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  975. tl1.LightEmission = 1
  976. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  977. tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  978. tl1.Lifetime = 0.6
  979.  
  980.  
  981. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  982. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  983. 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))
  984.  
  985. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  986. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  987. 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))
  988. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  989. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  990. 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))
  991. A0 = Instance.new('Attachment',wed)
  992. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,3)
  994. 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))
  995. A1 = Instance.new('Attachment',wed)
  996. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05,3,0.5)
  998. 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))
  999.  
  1000. tl2 = Instance.new('Trail',wed)
  1001. tl2.Attachment0 = A0
  1002. tl2.Attachment1 = A1
  1003. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1004. tl2.LightEmission = 1
  1005. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1006. tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1007. tl2.Lifetime = 0.6
  1008.  
  1009. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1010. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1011. 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))
  1012.  
  1013. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1014. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1015. 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))
  1016. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1017. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1018. 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))
  1019. A0 = Instance.new('Attachment',wed)
  1020. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1022. 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))
  1023. A1 = Instance.new('Attachment',wed)
  1024. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1025. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1026. 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))
  1027.  
  1028. tl3 = Instance.new('Trail',wed)
  1029. tl3.Attachment0 = A0
  1030. tl3.Attachment1 = A1
  1031. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1032. tl3.LightEmission = 1
  1033. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1034. tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1035. tl3.Lifetime = 0.6
  1036.  
  1037. tl1.Enabled = false
  1038. tl2.Enabled = false
  1039. tl3.Enabled = false
  1040. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1041. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1042. 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))
  1043.  
  1044. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1045. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1046. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1047. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1048. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1049. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1050. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1051. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1052. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1054. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1055. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1056.  
  1057. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1058. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1059. 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))
  1060.  
  1061. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1062. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1063. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1064. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1065. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1066. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1067. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1068. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1069. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1071. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1072. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1073.  
  1074. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1075. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1076. 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))
  1077.  
  1078. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1079. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1080. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1081. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1082. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1083. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1084. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1085. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1086. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1088. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1089. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1090.  
  1091. -- Right wing.
  1092.  
  1093. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1094. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1095. 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))
  1096.  
  1097. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1098. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1099. 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))
  1100. A0 = Instance.new('Attachment',wed)
  1101. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1102. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1103. 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))
  1104. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1105. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1106. 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))
  1107. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1108. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1109. 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))
  1110. A1 = Instance.new('Attachment',wed)
  1111.  
  1112. tr1 = Instance.new('Trail',wed)
  1113. tr1.Attachment0 = A0
  1114. tr1.Attachment1 = A1
  1115. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1116. tr1.LightEmission = 1
  1117. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1118. tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1119. tr1.Lifetime = 0.6
  1120.  
  1121. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1122. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1123. 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))
  1124.  
  1125. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1127. 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))
  1128. A0 = Instance.new('Attachment',wed)
  1129. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1130. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1131. 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))
  1132. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1133. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1134. 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))
  1135. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1136. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1137. 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))
  1138. A1 = Instance.new('Attachment',wed)
  1139.  
  1140. tr2 = Instance.new('Trail',wed)
  1141. tr2.Attachment0 = A0
  1142. tr2.Attachment1 = A1
  1143. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1144. tr2.LightEmission = 1
  1145. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1146. tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1147. tr2.Lifetime = 0.6
  1148.  
  1149. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1150. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1151. 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))
  1152.  
  1153. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1154. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1155. 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))
  1156. A0 = Instance.new('Attachment',wed)
  1157. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1158. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1159. 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))
  1160. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1161. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1162. 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))
  1163. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1164. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1165. 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))
  1166. A1 = Instance.new('Attachment',wed)
  1167.  
  1168. tr3 = Instance.new('Trail',wed)
  1169. tr3.Attachment0 = A0
  1170. tr3.Attachment1 = A1
  1171. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1172. tr3.LightEmission = 1
  1173. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1174. tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
  1175. tr3.Lifetime = 0.6
  1176.  
  1177.  
  1178. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1179. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1180. 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))
  1181.  
  1182. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1183. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1184. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1185. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1186. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1187. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1188. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1189. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1190. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1191. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1192. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1193. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1194.  
  1195. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1196. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1197. 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))
  1198.  
  1199. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1201. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1202. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1203. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1204. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1205. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1206. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1207. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1208. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1209. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1210. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1211.  
  1212. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1213. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1214. 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))
  1215.  
  1216. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1217. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1218. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1219. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1220. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1221. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1222. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1223. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1224. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1225. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1226. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1227. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1228.  
  1229. ---- HERES THE RING
  1230.  
  1231.  
  1232. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1233. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1234. 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))
  1235. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1236. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1237. 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))
  1238. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1239. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1240. 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))
  1241.  
  1242.  
  1243. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1244. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1245. 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))
  1246.  
  1247. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1248. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1249. 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))
  1250.  
  1251.  
  1252.  
  1253. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1254. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1255. 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))
  1256.  
  1257. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1258. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1259. 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))
  1260.  
  1261. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1262. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1263. 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))
  1264.  
  1265. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1266. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1267. 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))
  1268. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1269. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1270. 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))
  1271.  
  1272. -- S section A
  1273.  
  1274. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1275. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1276. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1277. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1278. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1279. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1280. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1281. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1282. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1283.  
  1284. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1285. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1286. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1287. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1288. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1289. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1290. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1291. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1292. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1293.  
  1294. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1295. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1296. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1297. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1298. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1299. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1300. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1301. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1302. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1303.  
  1304. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1305. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1306. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1307. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1308. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1309. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1310. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1311. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1312. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1313.  
  1314. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1315. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1316. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1317. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1318. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1319. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1320. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1321. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1322. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1323.  
  1324. -- S section B
  1325.  
  1326. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1327. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1328. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1329. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1330. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1331. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1332. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1333. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1334. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1335.  
  1336. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1337. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1338. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1339. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1340. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1341. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1342. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1343. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1344. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1345.  
  1346. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1347. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1348. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1349. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1350. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1351. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1352. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1353. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1354. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1355.  
  1356. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1357. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1358. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1359. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1360. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1361. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1362. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1363. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1364. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1365.  
  1366. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1367. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1368. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1369. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1370. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1371. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1372. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1373. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1374. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1375.  
  1376. --- second ring
  1377.  
  1378. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1379. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1380. 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))
  1381. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1382. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1383. 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))
  1384. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1385. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1386. 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))
  1387.  
  1388. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1389. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1390. 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))
  1391.  
  1392. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1393. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1394. 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))
  1395.  
  1396.  
  1397.  
  1398. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1399. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1400. 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))
  1401.  
  1402. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1403. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1404. 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))
  1405.  
  1406. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1407. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1408. 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))
  1409.  
  1410. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1411. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1412. 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))
  1413. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1414. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1415. 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))
  1416.  
  1417. -- S section A
  1418.  
  1419. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1420. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1421. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1422. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1423. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1424. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1425. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1426. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1427. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1428.  
  1429. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1430. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1431. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1432. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1433. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1434. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1435. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1436. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1437. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1438.  
  1439. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1440. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1441. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1442. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1443. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1444. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1445. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1446. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1447. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1448.  
  1449. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1450. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1451. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1452. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1453. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1454. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1455. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1456. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1457. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1458.  
  1459. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1460. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1461. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1462. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1463. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1464. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1465. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1466. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1467. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1468.  
  1469. -- S section B
  1470.  
  1471. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1472. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1473. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1474. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1475. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1476. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1477. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1478. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1479. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1480.  
  1481. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1482. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1483. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1484. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1485. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1486. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1487. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1488. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1489. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1490.  
  1491. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1492. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1493. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1494. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1495. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1496. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1497. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1498. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1499. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1500.  
  1501. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1502. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1503. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1504. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1505. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1506. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1507. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1508. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1509. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1510.  
  1511. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1512. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1513. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1514. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1515. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1516. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1517. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1518. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1519. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1520.  
  1521.  
  1522. for i, v in pairs(m:GetChildren()) do
  1523. if v:IsA("Part") then
  1524. v.BrickColor = BrickColor.new("Really black")
  1525. v.Material = "Glass"
  1526. end
  1527. end
  1528. for i, v in pairs(m2:GetChildren()) do
  1529. if v:IsA("Part") then
  1530. v.BrickColor = BrickColor.new("Dark stone grey")
  1531. v.Material = "Granite"
  1532. end
  1533. end
  1534. for i, v in pairs(m3:GetChildren()) do
  1535. if v:IsA("Part") then
  1536. v.BrickColor = BrickColor.new("Really black")
  1537. v.Material = "Neon"
  1538. end
  1539. end
  1540. for i, v in pairs(mw2:GetChildren()) do
  1541. if v:IsA("Part") then
  1542. v.BrickColor = BrickColor.new("Really black")
  1543. v.Material = "Neon"
  1544. end
  1545. end
  1546. for i, v in pairs(mw1:GetChildren()) do
  1547. if v:IsA("Part") then
  1548. v.Transparency = 1
  1549. v.BrickColor = BrickColor.new("Really black")
  1550. v.Material = "Neon"
  1551. end
  1552. end
  1553. for i, v in pairs(extrawingmod1:GetChildren()) do
  1554. if v:IsA("Part") then
  1555. v.Transparency = 1
  1556. v.BrickColor = BrickColor.new("White")
  1557. v.Material = "Neon"
  1558. end
  1559. end
  1560. for i, v in pairs(extrawingmod2:GetChildren()) do
  1561. if v:IsA("Part") then
  1562. v.Transparency = 1
  1563. v.BrickColor = BrickColor.new("White")
  1564. v.Material = "Neon"
  1565. end
  1566. end
  1567. local MAINRUINCOLOR = BrickColor.new("Really black")
  1568. ------
  1569.  
  1570.  
  1571. function RemoveOutlines(part)
  1572. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1573. end
  1574. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1575. local Part = Create("Part")({
  1576. Parent = Parent,
  1577. Reflectance = Reflectance,
  1578. Transparency = Transparency,
  1579. CanCollide = false,
  1580. Locked = true,
  1581. BrickColor = BrickColor.new(tostring(BColor)),
  1582. Name = Name,
  1583. Size = Size,
  1584. Material = Material
  1585. })
  1586. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1587. RemoveOutlines(Part)
  1588. return Part
  1589. end
  1590. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1591. local Msh = Create(Mesh)({
  1592. Parent = Part,
  1593. Offset = OffSet,
  1594. Scale = Scale
  1595. })
  1596. if Mesh == "SpecialMesh" then
  1597. Msh.MeshType = MeshType
  1598. Msh.MeshId = MeshId
  1599. end
  1600. return Msh
  1601. end
  1602. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1603. local Weld = Create("Weld")({
  1604. Parent = Parent,
  1605. Part0 = Part0,
  1606. Part1 = Part1,
  1607. C0 = C0,
  1608. C1 = C1
  1609. })
  1610. return Weld
  1611. end
  1612.  
  1613. Player=owner
  1614. Character=Player.Character
  1615. PlayerGui=Player.PlayerGui
  1616. Backpack=Player.Backpack
  1617. Torso=Character.Torso
  1618. Head=Character.Head
  1619. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1620. m=Instance.new('Model',Character)
  1621. LeftArm=Character["Left Arm"]
  1622. LeftLeg=Character["Left Leg"]
  1623. RightArm=Character["Right Arm"]
  1624. RightLeg=Character["Right Leg"]
  1625. LS=Torso["Left Shoulder"]
  1626. LH=Torso["Left Hip"]
  1627. RS=Torso["Right Shoulder"]
  1628. RH=Torso["Right Hip"]
  1629. Face = Head.face
  1630. Neck=Torso.Neck
  1631. it=Instance.new
  1632. attacktype=1
  1633. vt=Vector3.new
  1634. cf=CFrame.new
  1635. euler=CFrame.fromEulerAnglesXYZ
  1636. angles=CFrame.Angles
  1637. cloaked=false
  1638. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1639. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1640. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1641. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1642. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1643. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1644. RootPart=Character.HumanoidRootPart
  1645. RootJoint=RootPart.RootJoint
  1646. RootCF=euler(-1.57,0,3.14)
  1647. attack = false
  1648. attackdebounce = false
  1649. deb=false
  1650. equipped=true
  1651. hand=false
  1652. MMouse=nil
  1653. combo=0
  1654. mana=0
  1655. trispeed=.2
  1656. attackmode='none'
  1657. local idle=0
  1658. local Anim="Idle"
  1659. local Effects={}
  1660. local gun=false
  1661. local shoot=false
  1662. local sine = 0
  1663. local change = 1
  1664. player=nil
  1665. pcall(function()char.LeftWing:destroy()end)
  1666. pcall(function()char.Halo:destroy()end)
  1667. local toggleTag = true
  1668. local txt = Instance.new("BillboardGui", Head)
  1669. txt.Adornee = nil
  1670. txt.Name = "NameDetect"
  1671. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1672. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1673. local text = Instance.new("TextLabel", txt)
  1674. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1675. text.FontSize = "Size8"
  1676. text.TextScaled = true
  1677. text.TextTransparency = 0
  1678. text.BackgroundTransparency = 1
  1679. text.TextTransparency = 0
  1680. text.TextStrokeTransparency = 0
  1681. text.Font = "Fantasy"
  1682. text.TextStrokeColor3 = Color3.new(1,1,1)
  1683. text.TextColor3 = Color3.new(0,0,0)
  1684. text.Text = "Solitude"
  1685.  
  1686. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1687. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1688.  
  1689. function RecolorTextAndRename(name,col1,col2)
  1690. text.TextStrokeColor3 = col2
  1691. text.TextColor3 = col1
  1692. text.Text = name
  1693. end
  1694. --save shoulders
  1695. RSH, LSH=nil, nil
  1696. --welds
  1697. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1698. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1699. LH=Torso["Left Hip"]
  1700. RH=Torso["Right Hip"]
  1701. TorsoColor=Torso.BrickColor
  1702. function NoOutline(Part)
  1703. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1704. end
  1705. player=Player
  1706. ch=Character
  1707. RSH=ch.Torso["Right Shoulder"]
  1708. LSH=ch.Torso["Left Shoulder"]
  1709. --
  1710. RSH.Parent=nil
  1711. LSH.Parent=nil
  1712. --
  1713. RW.Name="Right Shoulder"
  1714. RW.Part0=ch.Torso
  1715. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1716. RW.C1=cf(0, 0.5, 0)
  1717. RW.Part1=ch["Right Arm"]
  1718. RW.Parent=ch.Torso
  1719. --
  1720. LW.Name="Left Shoulder"
  1721. LW.Part0=ch.Torso
  1722. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1723. LW.C1=cf(0, 0.5, 0)
  1724. LW.Part1=ch["Left Arm"]
  1725. LW.Parent=ch.Torso
  1726.  
  1727. local Stats=Instance.new("BoolValue")
  1728. Stats.Name="Stats"
  1729. Stats.Parent=Character
  1730. local Atk=Instance.new("NumberValue")
  1731. Atk.Name="Damage"
  1732. Atk.Parent=Stats
  1733. Atk.Value=1
  1734. local Def=Instance.new("NumberValue")
  1735. Def.Name="Defense"
  1736. Def.Parent=Stats
  1737. Def.Value=1
  1738. local Speed=Instance.new("NumberValue")
  1739. Speed.Name="Speed"
  1740. Speed.Parent=Stats
  1741. Speed.Value=1
  1742. local Mvmt=Instance.new("NumberValue")
  1743. Mvmt.Name="Movement"
  1744. Mvmt.Parent=Stats
  1745. Mvmt.Value=1
  1746.  
  1747. local donum=0
  1748.  
  1749.  
  1750. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1751. local fp=it("Part")
  1752. fp.formFactor=formfactor
  1753. fp.Parent=parent
  1754. fp.Reflectance=reflectance
  1755. fp.Transparency=transparency
  1756. fp.CanCollide=false
  1757. fp.Locked=true
  1758. fp.BrickColor=brickcolor
  1759. fp.Name=name
  1760. fp.Size=size
  1761. fp.Position=Torso.Position
  1762. NoOutline(fp)
  1763. fp.Material="SmoothPlastic"
  1764. fp:BreakJoints()
  1765. return fp
  1766. end
  1767.  
  1768. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1769. local mesh=it(Mesh)
  1770. mesh.Parent=part
  1771. if Mesh=="SpecialMesh" then
  1772. mesh.MeshType=meshtype
  1773. if meshid~="nil" then
  1774. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1775. end
  1776. end
  1777. mesh.Offset=offset
  1778. mesh.Scale=scale
  1779. return mesh
  1780. end
  1781.  
  1782. function weld(parent,part0,part1,c0)
  1783. local weld=it("Weld")
  1784. weld.Parent=parent
  1785. weld.Part0=part0
  1786. weld.Part1=part1
  1787. weld.C0=c0
  1788. return weld
  1789. end
  1790.  
  1791. local Color1=Torso.BrickColor
  1792.  
  1793. local bodvel=Instance.new("BodyVelocity")
  1794. local bg=Instance.new("BodyGyro")
  1795.  
  1796. --// Artificial HB \\--
  1797.  
  1798. local ArtificialHB = Instance.new("BindableEvent", script)
  1799. ArtificialHB.Name = "Heartbeat"
  1800.  
  1801. script:WaitForChild("Heartbeat")
  1802.  
  1803. local tf = 0
  1804. local allowframeloss = false
  1805. local tossremainder = false
  1806. local lastframe = tick()
  1807. local frame = 1/60
  1808. ArtificialHB:Fire()
  1809.  
  1810. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1811. tf = tf + s
  1812. if tf >= frame then
  1813. if allowframeloss then
  1814. script.Heartbeat:Fire()
  1815. lastframe = tick()
  1816. else
  1817. for i = 1, math.floor(tf / frame) do
  1818. ArtificialHB:Fire()
  1819. end
  1820. lastframe = tick()
  1821. end
  1822. if tossremainder then
  1823. tf = 0
  1824. else
  1825. tf = tf - frame * math.floor(tf / frame)
  1826. end
  1827. end
  1828. end)
  1829.  
  1830. function swait(num)
  1831. if num == 0 or num == nil then
  1832. ArtificialHB.Event:wait()
  1833. else
  1834. for i = 0, num do
  1835. ArtificialHB.Event:wait()
  1836. end
  1837. end
  1838. end
  1839.  
  1840. -------- RAINBOW LEAVE IT TO ME
  1841. local r = 255
  1842. local g = 0
  1843. local b = 0
  1844. coroutine.resume(coroutine.create(function()
  1845. while wait() do
  1846. for i = 0, 254/5 do
  1847. swait()
  1848. g = g + 5
  1849. end
  1850. for i = 0, 254/5 do
  1851. swait()
  1852. r = r - 5
  1853. end
  1854. for i = 0, 254/5 do
  1855. swait()
  1856. b = b + 5
  1857. end
  1858. for i = 0, 254/5 do
  1859. swait()
  1860. g = g - 5
  1861. end
  1862. for i = 0, 254/5 do
  1863. swait()
  1864. r = r + 5
  1865. end
  1866. for i = 0, 254/5 do
  1867. swait()
  1868. b = b - 5
  1869. end
  1870. end
  1871. end))
  1872.  
  1873.  
  1874. so = function(id,par,vol,pit)
  1875. coroutine.resume(coroutine.create(function()
  1876. local sou = Instance.new("Sound",par or workspace)
  1877. sou.Volume=vol
  1878. sou.Pitch=pit or 1
  1879. sou.SoundId=id
  1880. swait()
  1881. sou:play()
  1882. game:GetService("Debris"):AddItem(sou,6)
  1883. end))
  1884. end
  1885.  
  1886. function clerp(a,b,t)
  1887. return a:lerp(b,t)
  1888. end
  1889.  
  1890. local function CFrameFromTopBack(at, top, back)
  1891. local right = top:Cross(back)
  1892. return CFrame.new(at.x, at.y, at.z,
  1893. right.x, top.x, back.x,
  1894. right.y, top.y, back.y,
  1895. right.z, top.z, back.z)
  1896. end
  1897.  
  1898. function Triangle(a, b, c)
  1899. local edg1 = (c-a):Dot((b-a).unit)
  1900. local edg2 = (a-b):Dot((c-b).unit)
  1901. local edg3 = (b-c):Dot((a-c).unit)
  1902. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1903. a, b, c = a, b, c
  1904. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1905. a, b, c = b, c, a
  1906. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1907. a, b, c = c, a, b
  1908. else
  1909. assert(false, "unreachable")
  1910. end
  1911.  
  1912. local len1 = (c-a):Dot((b-a).unit)
  1913. local len2 = (b-a).magnitude - len1
  1914. local width = (a + (b-a).unit*len1 - c).magnitude
  1915.  
  1916. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1917.  
  1918. local list = {}
  1919.  
  1920. if len1 > 0.01 then
  1921. local w1 = Instance.new('WedgePart', m)
  1922. game:GetService("Debris"):AddItem(w1,5)
  1923. w1.Material = "SmoothPlastic"
  1924. w1.FormFactor = 'Custom'
  1925. w1.BrickColor = BrickColor.new("Really black")
  1926. w1.Transparency = 0
  1927. w1.Reflectance = 0
  1928. w1.Material = "SmoothPlastic"
  1929. w1.CanCollide = false
  1930. local l1 = Instance.new("PointLight",w1)
  1931. l1.Color = Color3.new(170,0,0)
  1932. NoOutline(w1)
  1933. local sz = Vector3.new(0.2, width, len1)
  1934. w1.Size = sz
  1935. local sp = Instance.new("SpecialMesh",w1)
  1936. sp.MeshType = "Wedge"
  1937. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1938. w1:BreakJoints()
  1939. w1.Anchored = true
  1940. w1.Parent = workspace
  1941. w1.Transparency = 0.7
  1942. table.insert(Effects,{w1,"Disappear",.01})
  1943. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1944. table.insert(list,w1)
  1945. end
  1946.  
  1947. if len2 > 0.01 then
  1948. local w2 = Instance.new('WedgePart', m)
  1949. game:GetService("Debris"):AddItem(w2,5)
  1950. w2.Material = "SmoothPlastic"
  1951. w2.FormFactor = 'Custom'
  1952. w2.BrickColor = BrickColor.new("Really black")
  1953. w2.Transparency = 0
  1954. w2.Reflectance = 0
  1955. w2.Material = "SmoothPlastic"
  1956. w2.CanCollide = false
  1957. local l2 = Instance.new("PointLight",w2)
  1958. l2.Color = Color3.new(170,0,0)
  1959. NoOutline(w2)
  1960. local sz = Vector3.new(0.2, width, len2)
  1961. w2.Size = sz
  1962. local sp = Instance.new("SpecialMesh",w2)
  1963. sp.MeshType = "Wedge"
  1964. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1965. w2:BreakJoints()
  1966. w2.Anchored = true
  1967. w2.Parent = workspace
  1968. w2.Transparency = 0.7
  1969. table.insert(Effects,{w2,"Disappear",.01})
  1970. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1971. table.insert(list,w2)
  1972. end
  1973. return unpack(list)
  1974. end
  1975.  
  1976.  
  1977. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1978. if hit.Parent == nil then
  1979. return
  1980. end
  1981. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1982. for _, v in pairs(hit.Parent:children()) do
  1983. if v:IsA("Humanoid") then
  1984. h = v
  1985. end
  1986. end
  1987. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1988. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1989. return
  1990. end
  1991. local c = Create("ObjectValue")({
  1992. Name = "creator",
  1993. Value = owner,
  1994. Parent = h
  1995. })
  1996. game:GetService("Debris"):AddItem(c, 0.5)
  1997. if HitSound ~= nil and HitPitch ~= nil then
  1998. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1999. end
  2000. local Damage = math.random(minim, maxim)
  2001. local blocked = false
  2002. local block = hit.Parent:findFirstChild("Block")
  2003. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2004. blocked = true
  2005. block.Value = block.Value - 1
  2006. print(block.Value)
  2007. end
  2008. if blocked == false then
  2009. HitHealth = h.Health
  2010. h.Health = h.Health - Damage
  2011. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2012. print("gained kill")
  2013. end
  2014. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2015. else
  2016. h.Health = h.Health - Damage / 2
  2017. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2018. end
  2019. if Type == "Knockdown" then
  2020. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  2021. hum.PlatformStand = true
  2022. coroutine.resume(coroutine.create(function(HHumanoid)
  2023. swait(1)
  2024. HHumanoid.PlatformStand = false
  2025. end), hum)
  2026. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2027. local bodvol = Create("BodyVelocity")({
  2028. velocity = angle * knockback,
  2029. P = 5000,
  2030. maxForce = Vector3.new(8000, 8000, 8000),
  2031. Parent = hit
  2032. })
  2033. local rl = Create("BodyAngularVelocity")({
  2034. P = 3000,
  2035. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2036. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2037. Parent = hit
  2038. })
  2039. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2040. game:GetService("Debris"):AddItem(rl, 0.5)
  2041. elseif Type == "Normal" then
  2042. local vp = Create("BodyVelocity")({
  2043. P = 500,
  2044. maxForce = Vector3.new(math.huge, 0, math.huge),
  2045. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2046. })
  2047. if knockback > 0 then
  2048. vp.Parent = hit.Parent.Head
  2049. end
  2050. game:GetService("Debris"):AddItem(vp, 0.5)
  2051. elseif Type == "Up" then
  2052. local bodyVelocity = Create("BodyVelocity")({
  2053. velocity = Vector3.new(0, 20, 0),
  2054. P = 5000,
  2055. maxForce = Vector3.new(8000, 8000, 8000),
  2056. Parent = hit
  2057. })
  2058. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2059. local bodyVelocity = Create("BodyVelocity")({
  2060. velocity = Vector3.new(0, 20, 0),
  2061. P = 5000,
  2062. maxForce = Vector3.new(8000, 8000, 8000),
  2063. Parent = hit
  2064. })
  2065. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2066. elseif Type == "Leech" then
  2067. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  2068. if hum ~= nil then
  2069. for i = 0, 2 do
  2070. 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)
  2071. end
  2072. Humanoid.Health = Humanoid.Health + 10
  2073. end
  2074. elseif Type == "UpKnock" then
  2075. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  2076. hum.PlatformStand = true
  2077. if hum ~= nil then
  2078. hitr = true
  2079. end
  2080. coroutine.resume(coroutine.create(function(HHumanoid)
  2081. swait(5)
  2082. HHumanoid.PlatformStand = false
  2083. hitr = false
  2084. end), hum)
  2085. local bodyVelocity = Create("BodyVelocity")({
  2086. velocity = Vector3.new(0, 20, 0),
  2087. P = 5000,
  2088. maxForce = Vector3.new(8000, 8000, 8000),
  2089. Parent = hit
  2090. })
  2091. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2092. local bodyVelocity = Create("BodyVelocity")({
  2093. velocity = Vector3.new(0, 20, 0),
  2094. P = 5000,
  2095. maxForce = Vector3.new(8000, 8000, 8000),
  2096. Parent = hit
  2097. })
  2098. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2099. elseif Type == "Snare" then
  2100. local bp = Create("BodyPosition")({
  2101. P = 2000,
  2102. D = 100,
  2103. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2104. position = hit.Parent.Torso.Position,
  2105. Parent = hit.Parent.Torso
  2106. })
  2107. game:GetService("Debris"):AddItem(bp, 1)
  2108. elseif Type == "Slashnare" then
  2109. 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)
  2110. for i = 1, math.random(4, 5) do
  2111. 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)
  2112. end
  2113. local bp = Create("BodyPosition")({
  2114. P = 2000,
  2115. D = 100,
  2116. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2117. position = hit.Parent.Torso.Position,
  2118. Parent = hit.Parent.Torso
  2119. })
  2120. game:GetService("Debris"):AddItem(bp, 1)
  2121. elseif Type == "Spike" then
  2122. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2123. local bp = Create("BodyPosition")({
  2124. P = 2000,
  2125. D = 100,
  2126. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2127. position = hit.Parent.Torso.Position,
  2128. Parent = hit.Parent.Torso
  2129. })
  2130. game:GetService("Debris"):AddItem(bp, 1)
  2131. elseif Type == "Freeze" then
  2132. local BodPos = Create("BodyPosition")({
  2133. P = 50000,
  2134. D = 1000,
  2135. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2136. position = hit.Parent.Torso.Position,
  2137. Parent = hit.Parent.Torso
  2138. })
  2139. local BodGy = Create("BodyGyro")({
  2140. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2141. P = 20000,
  2142. Parent = hit.Parent.Torso,
  2143. cframe = hit.Parent.Torso.CFrame
  2144. })
  2145. hit.Parent.Torso.Anchored = true
  2146. coroutine.resume(coroutine.create(function(Part)
  2147. swait(1.5)
  2148. Part.Anchored = false
  2149. end), hit.Parent.Torso)
  2150. game:GetService("Debris"):AddItem(BodPos, 3)
  2151. game:GetService("Debris"):AddItem(BodGy, 3)
  2152. end
  2153. local debounce = Create("BoolValue")({
  2154. Name = "DebounceHit",
  2155. Parent = hit.Parent,
  2156. Value = true
  2157. })
  2158. game:GetService("Debris"):AddItem(debounce, Delay)
  2159. c = Instance.new("ObjectValue")
  2160. c.Name = "creator"
  2161. c.Value = Player
  2162. c.Parent = h
  2163. game:GetService("Debris"):AddItem(c, 0.5)
  2164. end
  2165. end
  2166. function ShowDamage(Pos, Text, Time, Color)
  2167. local Rate = 0.03333333333333333
  2168. local Pos = Pos or Vector3.new(0, 0, 0)
  2169. local Text = Text or ""
  2170. local Time = Time or 2
  2171. local Color = Color or Color3.new(1, 0, 1)
  2172. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2173. EffectPart.Anchored = true
  2174. local BillboardGui = Create("BillboardGui")({
  2175. Size = UDim2.new(3, 0, 3, 0),
  2176. Adornee = EffectPart,
  2177. Parent = EffectPart
  2178. })
  2179. local TextLabel = Create("TextLabel")({
  2180. BackgroundTransparency = 1,
  2181. Size = UDim2.new(1, 0, 1, 0),
  2182. Text = Text,
  2183. TextColor3 = Color,
  2184. TextScaled = true,
  2185. Font = Enum.Font.ArialBold,
  2186. Parent = BillboardGui
  2187. })
  2188. game.Debris:AddItem(EffectPart, Time + 0.1)
  2189. EffectPart.Parent = game:GetService("Workspace")
  2190. delay(0, function()
  2191. local Frames = Time / Rate
  2192. for Frame = 1, Frames do
  2193. wait(Rate)
  2194. local Percent = Frame / Frames
  2195. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2196. TextLabel.TextTransparency = Percent
  2197. end
  2198. if EffectPart and EffectPart.Parent then
  2199. EffectPart:Destroy()
  2200. end
  2201. end)
  2202. end
  2203. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2204. for _, c in pairs(workspace:children()) do
  2205. local hum = c:findFirstChildOfClass("Humanoid")
  2206. if hum ~= nil then
  2207. local head = c:findFirstChild("Head")
  2208. if head ~= nil then
  2209. local targ = head.Position - Part.Position
  2210. local mag = targ.magnitude
  2211. if magni >= mag and c.Name ~= Player.Name then
  2212. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2213. end
  2214. end
  2215. end
  2216. end
  2217. end
  2218.  
  2219. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2220. for _, c in pairs(workspace:children()) do
  2221. local hum = c:findFirstChild("Humanoid")
  2222. if hum ~= nil then
  2223. local head = c:findFirstChild("Torso")
  2224. if head ~= nil then
  2225. local targ = head.Position - Part.Position
  2226. local mag = targ.magnitude
  2227. if magni >= mag and c.Name ~= Player.Name then
  2228. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2229. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2230. end
  2231. end
  2232. end
  2233. end
  2234. end
  2235.  
  2236. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2237. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2238. end
  2239.  
  2240. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2241. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2242. prt.Anchored=true
  2243. prt.CFrame=cframe
  2244. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2245. --http://www.roblox.com/asset/?id=4770560
  2246. game:GetService("Debris"):AddItem(prt,2)
  2247. CF=prt.CFrame
  2248. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2249. for i=0,1,0.2 do
  2250. wait()
  2251. Part.CFrame=CF*cf(0,0,-0.4)
  2252. end
  2253. for i=0,1,delay do
  2254. wait()
  2255. --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)
  2256. Mesh.Scale=Mesh.Scale
  2257. end
  2258. for i=0,1,0.1 do
  2259. wait()
  2260. Part.Transparency=i
  2261. end
  2262. Part.Parent=nil
  2263. end),prt,msh,CF)
  2264. end
  2265.  
  2266. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2267. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2268. prt.Anchored=true
  2269. prt.Material = "Neon"
  2270. prt.CFrame=cframe
  2271. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2272. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2273. game:GetService("Debris"):AddItem(prt,5)
  2274. coroutine.resume(coroutine.create(function(Part,Mesh)
  2275. for i=0,1,delay do
  2276. swait()
  2277. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2278. Part.Transparency=i
  2279. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2280. end
  2281. Part.Parent=nil
  2282. end),prt,msh)
  2283. end
  2284.  
  2285. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2286. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2287. prt.Anchored=true
  2288. prt.Material = "Neon"
  2289. prt.CFrame=cframe
  2290. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2291. game:GetService("Debris"):AddItem(prt,5)
  2292. coroutine.resume(coroutine.create(function(Part,Mesh)
  2293. local rtype = rottype
  2294. for i=0,1,delay do
  2295. swait()
  2296. if rtype == 1 then
  2297. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2298. elseif rtype == 2 then
  2299. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2300. end
  2301. Part.Transparency=i
  2302. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2303. end
  2304. Part.Parent=nil
  2305. end),prt,msh)
  2306. end
  2307.  
  2308. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2309. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2310. prt.Anchored=true
  2311. prt.CFrame=cframe
  2312. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2313. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2314. game:GetService("Debris"):AddItem(prt,5)
  2315. coroutine.resume(coroutine.create(function(Part,Mesh)
  2316. for i=0,1,delay do
  2317. wait()
  2318. Part.Transparency=i
  2319. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2320. end
  2321. Part.Parent=nil
  2322. end),prt,msh)
  2323. end
  2324.  
  2325. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2326. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2327. prt.Anchored=true
  2328. prt.Material = "Neon"
  2329. prt.CFrame=cframe
  2330. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2331. game:GetService("Debris"):AddItem(prt,5)
  2332. coroutine.resume(coroutine.create(function(Part,Mesh)
  2333. local rtype = rottype
  2334. for i=0,1,delay do
  2335. swait()
  2336. if rtype == 1 then
  2337. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2338. elseif rtype == 2 then
  2339. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2340. end
  2341. Part.Transparency=i
  2342. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2343. end
  2344. Part.Parent=nil
  2345. end),prt,msh)
  2346. end
  2347.  
  2348. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2349. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2350. prt.Anchored=true
  2351. prt.Material = "Neon"
  2352. prt.CFrame=cframe
  2353. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2354. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2355. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2356. game:GetService("Debris"):AddItem(prt,5)
  2357. coroutine.resume(coroutine.create(function(Part,Mesh)
  2358. local rtype = rottype
  2359. for i=0,1,delay do
  2360. swait()
  2361. if rtype == 1 then
  2362. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2363. elseif rtype == 2 then
  2364. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2365. end
  2366. dec.Transparency=i
  2367. dec2.Transparency=i
  2368. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2369. end
  2370. Part.Parent=nil
  2371. end),prt,msh)
  2372. end
  2373.  
  2374. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2375. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2376. prt.Anchored=true
  2377. prt.Material = "Neon"
  2378. prt.CFrame=cframe
  2379. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2380. game:GetService("Debris"):AddItem(prt,5)
  2381. coroutine.resume(coroutine.create(function(Part,Mesh)
  2382. local rtype = rottype
  2383. for i=0,1,delay do
  2384. swait()
  2385. if rtype == 1 then
  2386. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2387. elseif rtype == 2 then
  2388. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2389. end
  2390. prt.Transparency=i
  2391. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2392. end
  2393. Part.Parent=nil
  2394. end),prt,msh)
  2395. end
  2396.  
  2397. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2398. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2399. prt.Anchored=true
  2400. prt.Material = "Neon"
  2401. prt.CFrame=cframe
  2402. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2403. game:GetService("Debris"):AddItem(prt,5)
  2404. coroutine.resume(coroutine.create(function(Part,Mesh)
  2405. local rtype = rottype
  2406. for i=0,1,delay do
  2407. swait()
  2408. if rtype == 1 then
  2409. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2410. elseif rtype == 2 then
  2411. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2412. end
  2413. prt.Transparency=i
  2414. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2415. end
  2416. Part.Parent=nil
  2417. end),prt,msh)
  2418. end
  2419.  
  2420. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2421. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2422. prt.Anchored=true
  2423. prt.Material = "Neon"
  2424. prt.CFrame=cframe
  2425. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2426. game:GetService("Debris"):AddItem(prt,5)
  2427. coroutine.resume(coroutine.create(function(Part,Mesh)
  2428. local rtype = rottype
  2429. for i=0,1,delay do
  2430. swait()
  2431. if rtype == 1 then
  2432. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2433. elseif rtype == 2 then
  2434. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2435. end
  2436. prt.Transparency=i
  2437. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2438. end
  2439. Part.Parent=nil
  2440. end),prt,msh)
  2441. end
  2442.  
  2443. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2444. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2445. prt.Anchored=true
  2446. prt.Material = "Neon"
  2447. prt.CFrame=cframe
  2448. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2449. game:GetService("Debris"):AddItem(prt,5)
  2450. coroutine.resume(coroutine.create(function(Part,Mesh)
  2451. local rtype = rottype
  2452. for i=0,1,delay do
  2453. swait()
  2454. if rtype == 1 then
  2455. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2456. elseif rtype == 2 then
  2457. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2458. end
  2459. prt.Transparency=i
  2460. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2461. end
  2462. Part.Parent=nil
  2463. end),prt,msh)
  2464. end
  2465.  
  2466. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2467. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2468. prt.Anchored=false
  2469. prt.CFrame=cframe
  2470. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2471. local wld=weld(prt,prt,Parent,cframe)
  2472. game:GetService("Debris"):AddItem(prt,5)
  2473. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2474. for i=0,1,delay do
  2475. wait()
  2476. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2477. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2478. Part.Transparency=i
  2479. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2480. end
  2481. Part.Parent=nil
  2482. end),prt,msh,wld)
  2483. end
  2484.  
  2485. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2486. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2487. prt.Anchored=false
  2488. prt.CFrame=cframe
  2489. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2490. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2491. game:GetService("Debris"):AddItem(prt,5)
  2492. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2493. for i=0,1,delay do
  2494. wait()
  2495. Weld.C0=euler(i*20,0,0)
  2496. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2497. Part.Transparency=i
  2498. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2499. end
  2500. Part.Parent=nil
  2501. end),prt,msh,wld)
  2502. end
  2503.  
  2504. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2505. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2506. prt.Anchored=true
  2507. prt.CFrame=cframe
  2508. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2509. game:GetService("Debris"):AddItem(prt,2)
  2510. coroutine.resume(coroutine.create(function(Part,Mesh)
  2511. for i=0,1,delay do
  2512. wait()
  2513. Part.CFrame=Part.CFrame
  2514. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2515. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2516. prt2.Anchored=true
  2517. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2518. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2519. game:GetService("Debris"):AddItem(prt2,2)
  2520. coroutine.resume(coroutine.create(function(Part,Mesh)
  2521. for i=0,1,0.1 do
  2522. wait()
  2523. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2524. end
  2525. Part.Parent=nil
  2526. end),prt2,msh2)
  2527. end
  2528. for i=0,1,delay*2 do
  2529. wait()
  2530. Part.CFrame=Part.CFrame
  2531. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2532. end
  2533. Part.Parent=nil
  2534. end),prt,msh)
  2535. end
  2536.  
  2537. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2538. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2539. prt.Anchored=true
  2540. prt.CFrame=cframe
  2541. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2542. game:GetService("Debris"):AddItem(prt,2)
  2543. coroutine.resume(coroutine.create(function(Part,Mesh)
  2544. for i=0,1,delay do
  2545. wait()
  2546. Part.CFrame=Part.CFrame
  2547. Part.Transparency=i
  2548. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2549. end
  2550. Part.Parent=nil
  2551. end),prt,msh)
  2552. end
  2553.  
  2554. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2555. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2556. prt.Anchored=true
  2557. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2558. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2559. game:GetService("Debris"):AddItem(prt,2)
  2560. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2561. CF=Part.CFrame
  2562. Numbb=0
  2563. randnumb=math.random()/10
  2564. rand1=math.random()/10
  2565. for i=0,1,rand1 do
  2566. wait()
  2567. CF=CF*cf(0,math.random()/2,0)
  2568. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2569. Part.CFrame=CF*euler(Numbb,0,0)
  2570. Part.Transparency=i
  2571. Numbb=Numbb+randnumb
  2572. end
  2573. Part.Parent=nil
  2574. end),prt,CF,Numbb,randnumb)
  2575. end
  2576.  
  2577. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2578. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2579. prt.Anchored=true
  2580. prt.CFrame=cframe
  2581. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2582. game:GetService("Debris"):AddItem(prt,5)
  2583. coroutine.resume(coroutine.create(function(Part,Mesh)
  2584. for i=0,1,delay do
  2585. wait()
  2586. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2587. Part.Transparency=i
  2588. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2589. end
  2590. Part.Parent=nil
  2591. end),prt,msh)
  2592. end
  2593.  
  2594. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2595. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2596. prt.Anchored=true
  2597. prt.CFrame=cframe
  2598. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2599. game:GetService("Debris"):AddItem(prt,2)
  2600. coroutine.resume(coroutine.create(function(Part,Mesh)
  2601. for i=0,1,delay do
  2602. wait()
  2603. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2604. Part.Transparency=i
  2605. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2606. end
  2607. Part.Parent=nil
  2608. end),prt,msh)
  2609. end
  2610.  
  2611. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2612. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2613. prt.Anchored=true
  2614. prt.CFrame=cframe*cf(x,y,z)
  2615. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2616. game:GetService("Debris"):AddItem(prt,5)
  2617. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2618. local num=math.random()
  2619. local num2=math.random(-3,2)+math.random()
  2620. local numm=0
  2621. for i=0,1,delay*2 do
  2622. swait()
  2623. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2624. Part.Transparency=i
  2625. numm=numm+0.01
  2626. end
  2627. Part.Parent=nil
  2628. Mesh.Parent=nil
  2629. end),prt,msh,x,y,z)
  2630. end
  2631.  
  2632. function dmgstart(dmg,what)
  2633. hitcon = what.Touched:connect(function(hit)
  2634. local hum = hit.Parent:FindFirstChild("Humanoid")
  2635. if hum and not hum:IsDescendantOf(Character) then
  2636. hum:TakeDamage(dmg)
  2637. end
  2638. end)
  2639. end
  2640.  
  2641. function dmgstop()
  2642. hitcon:disconnect()
  2643. end
  2644.  
  2645. function Cloak()
  2646. Face.Parent=nil
  2647. cloaked=true
  2648. for _,v in pairs(Torso.Parent:children()) do
  2649. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2650. coroutine.resume(coroutine.create(function()
  2651. for i=0,1,0.2 do
  2652. wait()
  2653. v.Transparency=i
  2654. end
  2655. v.Transparency=1
  2656. end))
  2657. end
  2658. if v.className=="Hat" then
  2659. hatp=v.Handle
  2660. coroutine.resume(coroutine.create(function(derp)
  2661. for i=0,1,0.2 do
  2662. wait()
  2663. derp.Transparency=i
  2664. end
  2665. derp.Transparency=1
  2666. end),hatp)
  2667. end
  2668. end
  2669. for _,v in pairs(m:children()) do
  2670. if v.className=="Part" then
  2671. coroutine.resume(coroutine.create(function()
  2672. for i=0,1,0.2 do
  2673. wait()
  2674. v.Transparency=i
  2675. end
  2676. v.Transparency=1
  2677. end))
  2678. end
  2679. end
  2680. end
  2681.  
  2682. function UnCloak()
  2683. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2684. Face.Parent=Head
  2685. cloaked=false
  2686. for _,v in pairs(Torso.Parent:children()) do
  2687. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2688. coroutine.resume(coroutine.create(function()
  2689. for i=0,1,0.1 do
  2690. wait()
  2691. v.Transparency=v.Transparency-0.1
  2692. end
  2693. v.Transparency=0
  2694. end))
  2695. end
  2696. if v.className=="Hat" then
  2697. hatp=v.Handle
  2698. coroutine.resume(coroutine.create(function(derp)
  2699. for i=0,1,0.1 do
  2700. wait()
  2701. derp.Transparency=derp.Transparency-0.1
  2702. end
  2703. derp.Transparency=0
  2704. end),hatp)
  2705. end
  2706. end
  2707. for _,v in pairs(m:children()) do
  2708. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2709. coroutine.resume(coroutine.create(function()
  2710. for i=0,1,0.1 do
  2711. wait()
  2712. v.Transparency=v.Transparency-0.1
  2713. end
  2714. v.Transparency=0
  2715. end))
  2716. v.Transparency=0
  2717. end
  2718. end
  2719. end
  2720.  
  2721. local origcolor = BrickColor.new("Pastel light blue")
  2722. ---- This section of explosions.
  2723. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2724. local expart = Instance.new("Part",char)
  2725. local expart2 = Instance.new("Part",char)
  2726. local rin = Instance.new("Part",char)
  2727. local rin2 = Instance.new("Part",char)
  2728. local partMesh = Instance.new("SpecialMesh",expart)
  2729. partMesh.MeshType = "Sphere"
  2730. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2731. partMesh2.MeshType = "Sphere"
  2732. local partMesh3 = Instance.new("SpecialMesh",rin)
  2733. partMesh3.MeshType = "Brick"
  2734. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2735. partMesh4.MeshType = "Brick"
  2736. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2737. partMesh.Scale = vt(rad,rad,rad)
  2738. expart.Size = vt(1,1,1)
  2739. expart.Transparency = 0
  2740. expart.Anchored = true
  2741. expart.Material = "Neon"
  2742. expart.BrickColor = bc("White")
  2743. expart.CFrame = par.CFrame
  2744. partMesh2.Scale = vt(rad,rad,rad)
  2745. expart2.Size = vt(1.15,1.15,1.15)
  2746. expart2.Transparency = 0.5
  2747. expart2.Anchored = true
  2748. expart2.Material = "Neon"
  2749. expart2.BrickColor = par.BrickColor
  2750. expart2.CFrame = par.CFrame
  2751. rin.Size = vt(1.15,1.15,1.15)
  2752. rin.Transparency = 1
  2753. rin.Anchored = true
  2754. rin.Material = "Neon"
  2755. rin.BrickColor = par.BrickColor
  2756. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2757. rin2.Size = vt(1.15,1.15,1.15)
  2758. rin2.Transparency = 1
  2759. rin2.Anchored = true
  2760. rin2.Material = "Neon"
  2761. rin2.BrickColor = par.BrickColor
  2762. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2763. partMesh3.Scale = vt(0,1,0)
  2764. partMesh4.Scale = vt(0,1,0)
  2765. local dec2 = Instance.new("Decal", rin)
  2766. dec2.Face = "Top"
  2767. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2768. dec2.Parent = rin
  2769. local dec2b = dec2:Clone()
  2770. dec2b.Face = "Bottom"
  2771. dec2b.Parent = rin
  2772.  
  2773. local dec2a = Instance.new("Decal", rin2)
  2774. dec2a.Face = "Top"
  2775. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2776. dec2a.Parent = rin2
  2777. local dec2ab = dec2a:Clone()
  2778. dec2ab.Face = "Bottom"
  2779. dec2ab.Parent = rin2
  2780. expart.CanCollide = false
  2781. expart2.CanCollide = false
  2782. rin.CanCollide = false
  2783. rin2.CanCollide = false
  2784. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2785. local value = 1*rad/6.5
  2786. for i = 0, 199 do
  2787. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2788. expart.CFrame = expart.CFrame
  2789. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2790. expart2.CFrame = expart.CFrame
  2791. value = value - 0.035*rad/30
  2792. if value < 7.5 then
  2793. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2794. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2795. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2796. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2797. end
  2798. if value < 0 then
  2799. dec2.Transparency = dec2.Transparency + 0.025
  2800. dec2a.Transparency = dec2a.Transparency + 0.025
  2801. dec2b.Transparency = dec2b.Transparency + 0.025
  2802. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2803. expart.Transparency = expart.Transparency + 0.025
  2804. expart2.Transparency = expart2.Transparency + 0.025
  2805. rin.Transparency = rin.Transparency + 0.025
  2806. rin2.Transparency = rin2.Transparency + 0.025
  2807. end
  2808. swait()
  2809. end
  2810. game:GetService("Debris"):AddItem(expart, 1)
  2811. game:GetService("Debris"):AddItem(expart2, 1)
  2812. game:GetService("Debris"):AddItem(rin, 1)
  2813. game:GetService("Debris"):AddItem(rin2, 1)
  2814. end
  2815.  
  2816. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2817. local expart = Instance.new("Part",char)
  2818. local expart2 = Instance.new("Part",char)
  2819. local partMesh = Instance.new("SpecialMesh",expart)
  2820. partMesh.MeshType = "Sphere"
  2821. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2822. partMesh2.MeshType = "Sphere"
  2823. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2824. partMesh.Scale = vt(rad,rad,rad)
  2825. expart.Size = vt(1,1,1)
  2826. expart.Transparency = 0
  2827. expart.Anchored = true
  2828. expart.Material = "Neon"
  2829. expart.BrickColor = bc("White")
  2830. expart.CFrame = par.CFrame
  2831. partMesh2.Scale = vt(rad,rad,rad)
  2832. expart2.Size = vt(1.15,1.15,1.15)
  2833. expart2.Transparency = 0.5
  2834. expart2.Anchored = true
  2835. expart2.Material = "Neon"
  2836. expart2.BrickColor = par.BrickColor
  2837. expart2.CFrame = par.CFrame
  2838. expart.CanCollide = false
  2839. expart2.CanCollide = false
  2840. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2841. local value = 1*rad/6.5
  2842. for i = 0, 75 do
  2843. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2844. expart.CFrame = expart.CFrame
  2845. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2846. expart2.CFrame = expart.CFrame
  2847. value = value - 0.035*rad/5
  2848. if value < 0 then
  2849. value = 0
  2850. expart.Transparency = expart.Transparency + 0.05
  2851. expart2.Transparency = expart2.Transparency + 0.05
  2852. end
  2853. swait()
  2854. end
  2855. game:GetService("Debris"):AddItem(expart, 1)
  2856. game:GetService("Debris"):AddItem(expart2, 1)
  2857. end
  2858.  
  2859. function AreaDanger(rad,par,mindam,maxdam)
  2860. local expart = Instance.new("Part",char)
  2861. local partMesh = Instance.new("SpecialMesh",expart)
  2862. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2863. partMesh.MeshType = "Sphere"
  2864. partMesh.Scale = vt(rad,rad,rad)
  2865. expart.Size = vt(1,1,1)
  2866. expart.Transparency = 0.5
  2867. expart.Anchored = true
  2868. expart.Material = "Neon"
  2869. expart.CanCollide = false
  2870. expart.BrickColor = par.BrickColor
  2871. expart.CFrame = par.CFrame
  2872. local value = 1*rad/5
  2873. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2874. for i = 0, 14 do
  2875. wait()
  2876. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2877. expart.CFrame = expart.CFrame
  2878. value = value - 0.035*rad
  2879. if value < 0 then
  2880. value = 0
  2881. end
  2882. end
  2883. wait(0.25)
  2884. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2885. wait(0.5)
  2886. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2887. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2888. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2889. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2890. for i = 0, 14 do
  2891. wait()
  2892. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2893. expart.CFrame = expart.CFrame
  2894. value = value - 0.035*rad/2
  2895. end
  2896. expart.Transparency = 1
  2897. game:GetService("Debris"):AddItem(expart, 5)
  2898. end
  2899.  
  2900. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2901. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2902. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2903. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2904. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2905. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2906. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2907. for i = 0, 24 do
  2908. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2909. end
  2910. for i = 0, 24 do
  2911. local expart = Instance.new("Part",char)
  2912. expart.Transparency = 1
  2913. expart.Anchored = true
  2914. expart.CanCollide = false
  2915. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2916. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2917. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2918. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2919. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2920. for i = 0, 9 do
  2921. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2922. end
  2923. game:GetService("Debris"):AddItem(expart, 2)
  2924. wait(0.1)
  2925. end
  2926. end
  2927.  
  2928. function EXterPlosion(par)
  2929. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2930. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2931. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2932. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2933. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2934. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2935. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2936. for i = 0, 24 do
  2937. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2938. end
  2939. for i = 0, 24 do
  2940. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2941. end
  2942. end
  2943. ----
  2944.  
  2945.  
  2946. function ring(type,pos,scale,value)
  2947. local type = type
  2948. local rng = Instance.new("Part", char)
  2949. rng.Anchored = true
  2950. rng.BrickColor = origcolor
  2951. rng.CanCollide = false
  2952. rng.FormFactor = 3
  2953. rng.Name = "Ring"
  2954. rng.Size = Vector3.new(1, 1, 1)
  2955. rng.Transparency = 0
  2956. rng.TopSurface = 0
  2957. rng.BottomSurface = 0
  2958. rng.CFrame = pos
  2959. local rngm = Instance.new("SpecialMesh", rng)
  2960. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2961. rngm.Scale = scale
  2962. local scaler2 = 1
  2963. if type == "Add" then
  2964. scaler2 = 1*value
  2965. elseif type == "Divide" then
  2966. scaler2 = 1/value
  2967. end
  2968. coroutine.resume(coroutine.create(function()
  2969. for i = 0,10,0.1 do
  2970. swait()
  2971. if type == "Add" then
  2972. scaler2 = scaler2 - 0.01*value
  2973. elseif type == "Divide" then
  2974. scaler2 = scaler2 - 0.01/value
  2975. end
  2976. rng.Transparency = rng.Transparency + 0.01
  2977. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2978. end
  2979. rng:Destroy()
  2980. end))
  2981. end
  2982.  
  2983.  
  2984. function wave(type,pos,scale,value)
  2985. local type = type
  2986. local rng = Instance.new("Part", char)
  2987. rng.Anchored = true
  2988. rng.BrickColor = origcolor
  2989. rng.CanCollide = false
  2990. rng.FormFactor = 3
  2991. rng.Name = "Ring"
  2992. rng.Size = Vector3.new(1, 1, 1)
  2993. rng.Transparency = 0
  2994. rng.TopSurface = 0
  2995. rng.BottomSurface = 0
  2996. rng.CFrame = pos
  2997. local rngm = Instance.new("SpecialMesh", rng)
  2998. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2999. rngm.Scale = scale
  3000. local scaler2 = 1
  3001. if type == "Add" then
  3002. scaler2 = 1*value
  3003. elseif type == "Divide" then
  3004. scaler2 = 1/value
  3005. end
  3006. coroutine.resume(coroutine.create(function()
  3007. for i = 0,10,0.1 do
  3008. swait()
  3009. if type == "Add" then
  3010. scaler2 = scaler2 - 0.01*value
  3011. elseif type == "Divide" then
  3012. scaler2 = scaler2 - 0.01/value
  3013. end
  3014. rng.Transparency = rng.Transparency + 0.01
  3015. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3016. end
  3017. rng:Destroy()
  3018. end))
  3019. end
  3020.  
  3021. function wind(type,pos,scale,value,speed)
  3022. local type = type
  3023. local rng = Instance.new("Part", char)
  3024. rng.Anchored = true
  3025. rng.BrickColor = origcolor
  3026. rng.CanCollide = false
  3027. rng.FormFactor = 3
  3028. rng.Name = "Ring"
  3029. rng.Size = Vector3.new(1, 1, 1)
  3030. rng.Transparency = 0
  3031. rng.TopSurface = 0
  3032. rng.BottomSurface = 0
  3033. rng.CFrame = pos
  3034. local rngm = Instance.new("SpecialMesh", rng)
  3035. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3036. rngm.Scale = scale
  3037. local scaler2 = 1
  3038. if type == "Add" then
  3039. scaler2 = 1*value
  3040. elseif type == "Divide" then
  3041. scaler2 = 1/value
  3042. end
  3043. coroutine.resume(coroutine.create(function()
  3044. for i = 0,10,0.1 do
  3045. swait()
  3046. if type == "Add" then
  3047. scaler2 = scaler2 - 0.01*value
  3048. elseif type == "Divide" then
  3049. scaler2 = scaler2 - 0.01/value
  3050. end
  3051. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3052. rng.Transparency = rng.Transparency + 0.01
  3053. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3054. end
  3055. rng:Destroy()
  3056. end))
  3057. end
  3058.  
  3059. function groundwind(type,pos,scale,value,speed)
  3060. local type = type
  3061. local rng = Instance.new("Part", char)
  3062. rng.Anchored = true
  3063. rng.BrickColor = origcolor
  3064. rng.CanCollide = false
  3065. rng.FormFactor = 3
  3066. rng.Name = "Ring"
  3067. rng.Size = Vector3.new(1, 1, 1)
  3068. rng.Transparency = 0
  3069. rng.TopSurface = 0
  3070. rng.BottomSurface = 0
  3071. rng.CFrame = pos
  3072. local rngm = Instance.new("SpecialMesh", rng)
  3073. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3074. rngm.Scale = scale
  3075. local scaler2 = 1
  3076. if type == "Add" then
  3077. scaler2 = 1*value
  3078. elseif type == "Divide" then
  3079. scaler2 = 1/value
  3080. end
  3081. coroutine.resume(coroutine.create(function()
  3082. for i = 0,10,0.1 do
  3083. swait()
  3084. if type == "Add" then
  3085. scaler2 = scaler2 - 0.01*value
  3086. elseif type == "Divide" then
  3087. scaler2 = scaler2 - 0.01/value
  3088. end
  3089. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3090. rng.Transparency = rng.Transparency + 0.01
  3091. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3092. end
  3093. rng:Destroy()
  3094. end))
  3095. end
  3096.  
  3097. function CameraManager()
  3098. if TwoD and not CamInterrupt then
  3099. if Humanoid.Health > 0 then
  3100. Camera.CameraSubject = Humanoid
  3101. Camera.CameraType = "Scriptable"
  3102. Humanoid.AutoRotate = false
  3103. if Booleans.GyroUse then
  3104. Directer.MaxTorque = Vec3(0, huge, 0)
  3105. else
  3106. Directer.MaxTorque = Vec3(0, 0, 0)
  3107. end
  3108. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3109. if Booleans.CamFollow then
  3110. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3111. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3112. else
  3113. CPart.Position = RootPart.Position
  3114. end
  3115. else
  3116. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  3117. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  3118. end
  3119. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  3120. else
  3121. Camera.CameraSubject = Humanoid
  3122. Camera.CameraType = "Custom"
  3123. Controller.Disabled = false
  3124. end
  3125. end
  3126. end
  3127.  
  3128. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  3129. local type = type
  3130. local rng = Instance.new("Part", char)
  3131. rng.Anchored = true
  3132. rng.BrickColor = color
  3133. rng.CanCollide = false
  3134. rng.FormFactor = 3
  3135. rng.Name = "Ring"
  3136. rng.Material = "Neon"
  3137. rng.Size = Vector3.new(1, 1, 1)
  3138. rng.Transparency = 0
  3139. rng.TopSurface = 0
  3140. rng.BottomSurface = 0
  3141. rng.CFrame = pos
  3142. local rngm = Instance.new("SpecialMesh", rng)
  3143. rngm.MeshType = "Sphere"
  3144.  
  3145.  
  3146. if(heart)then
  3147. rngm.MeshType = Enum.MeshType.FileMesh
  3148. rngm.MeshId = "rbxassetid://105992239"
  3149. rngm.Offset = Vector3.new(0,0,-.25)
  3150. end
  3151. rngm.Scale = scale
  3152. if rainbowmode == true and not notaffectbychaosrainbow then
  3153. rng.Color = Color3.new(r/255,g/255,b/255)
  3154. end
  3155. local scaler2 = 1
  3156. if type == "Add" then
  3157. scaler2 = 1*value
  3158. elseif type == "Divide" then
  3159. scaler2 = 1/value
  3160. end
  3161. coroutine.resume(coroutine.create(function()
  3162. for i = 0,10/bonuspeed,0.1 do
  3163. swait()
  3164. if rainbowmode == true and not notaffectbychaosrainbow then
  3165. rng.Color = Color3.new(r/255,g/255,b/255)
  3166. end
  3167. if type == "Add" then
  3168. scaler2 = scaler2 - 0.01*value/bonuspeed
  3169. elseif type == "Divide" then
  3170. scaler2 = scaler2 - 0.01/value*bonuspeed
  3171. end
  3172. if chaosmode == true and not notaffectbychaosrainbow then
  3173. rng.BrickColor = BrickColor.random()
  3174. end
  3175. if glitchymode then
  3176. local val = math.random(1,255)
  3177. local color = Color3.fromRGB(val,val,val)
  3178. rng.Color = color
  3179. end
  3180. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3181. if(invert)then
  3182. if(heart)then
  3183. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3184. else
  3185. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3186. end
  3187. else
  3188. if(heart)then
  3189. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3190. else
  3191. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3192. end
  3193. end
  3194. rng.CFrame = pos
  3195. end
  3196. rng:Destroy()
  3197. end))
  3198. end
  3199.  
  3200. function newBezier(startpos, pos2, pos3, endpos, t)
  3201. local A = clerp(startpos, pos2, t)
  3202. local B = clerp(pos2, pos3, t)
  3203. local C = clerp(pos3, endpos, t)
  3204. local lerp1 = clerp(A, B, t)
  3205. local lerp2 = clerp(B, C, t)
  3206. local cubic = clerp(lerp1, lerp2, t)
  3207. return cubic
  3208. end
  3209.  
  3210.  
  3211. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  3212. local type = type
  3213. local rng = Instance.new("Part", char)
  3214. rng.Anchored = true
  3215. rng.BrickColor = color
  3216. rng.CanCollide = false
  3217. rng.FormFactor = 3
  3218. rng.Name = "Ring"
  3219. rng.Material = "Neon"
  3220. rng.Size = Vector3.new(1, 1, 1)
  3221. rng.Transparency = 0
  3222. rng.TopSurface = 0
  3223. rng.BottomSurface = 0
  3224. rng.CFrame = pos
  3225. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3226. local rngm = Instance.new("SpecialMesh", rng)
  3227. rngm.MeshType = "Brick"
  3228. if(heart)then
  3229. rngm.MeshType = Enum.MeshType.FileMesh
  3230. rngm.MeshId = "rbxassetid://105992239"
  3231. rngm.Offset = Vector3.new(0,0,-.25)
  3232. end
  3233. rngm.Scale = vt(x1,y1,z1)
  3234. if rainbowmode == true then
  3235. rng.Color = Color3.new(r/255,g/255,b/255)
  3236. end
  3237. local scaler2 = 1
  3238. local speeder = FastSpeed/10
  3239. if type == "Add" then
  3240. scaler2 = 1*value
  3241. elseif type == "Divide" then
  3242. scaler2 = 1/value
  3243. end
  3244. coroutine.resume(coroutine.create(function()
  3245. for i = 0,10/bonuspeed,0.1 do
  3246. swait()
  3247. if rainbowmode == true then
  3248. rng.Color = Color3.new(r/255,g/255,b/255)
  3249. end
  3250. if type == "Add" then
  3251. scaler2 = scaler2 - 0.01*value/bonuspeed
  3252. elseif type == "Divide" then
  3253. scaler2 = scaler2 - 0.01/value*bonuspeed
  3254. end
  3255. if chaosmode == true then
  3256. rng.BrickColor = BrickColor.random()
  3257. end
  3258. if glitchymode then
  3259. local val = math.random(1,255)
  3260. local color = Color3.fromRGB(val,val,val)
  3261. rng.Color = color
  3262. end
  3263. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3264. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3265. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3266. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3267. end
  3268. rng:Destroy()
  3269. end))
  3270. end
  3271.  
  3272.  
  3273. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  3274. local type = type
  3275. local rng = Instance.new("Part", char)
  3276. rng.Anchored = true
  3277. rng.BrickColor = color
  3278. rng.CanCollide = false
  3279. rng.FormFactor = 3
  3280. rng.Name = "Ring"
  3281. rng.Material = "Neon"
  3282. rng.Size = Vector3.new(1, 1, 1)
  3283. rng.Transparency = 0
  3284. rng.TopSurface = 0
  3285. rng.BottomSurface = 0
  3286. rng.CFrame = pos
  3287. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3288. local rngm = Instance.new("SpecialMesh", rng)
  3289. rngm.MeshType = "Brick"
  3290. if(heart)then
  3291. rngm.MeshType = Enum.MeshType.FileMesh
  3292. rngm.MeshId = "rbxassetid://105992239"
  3293. rngm.Offset = Vector3.new(0,0,-.25)
  3294. end
  3295. rngm.Scale = vt(x1,y1,z1)
  3296. if rainbowmode == true then
  3297. rng.Color = Color3.new(r/255,g/255,b/255)
  3298. end
  3299. local scaler2 = 0
  3300. local speeder = FastSpeed/10
  3301. if type == "Add" then
  3302. scaler2 = 1*value
  3303. elseif type == "Divide" then
  3304. scaler2 = 1/value
  3305. end
  3306. coroutine.resume(coroutine.create(function()
  3307. for i = 0,10/bonuspeed,0.1 do
  3308. swait()
  3309. if rainbowmode == true then
  3310. rng.Color = Color3.new(r/255,g/255,b/255)
  3311. end
  3312. if type == "Add" then
  3313. scaler2 = scaler2 - 0.01*value/bonuspeed
  3314. elseif type == "Divide" then
  3315. scaler2 = scaler2 - 0.01/value*bonuspeed
  3316. end
  3317. if chaosmode == true then
  3318. rng.BrickColor = BrickColor.random()
  3319. end
  3320. if glitchymode then
  3321. local val = math.random(1,255)
  3322. local color = Color3.fromRGB(val,val,val)
  3323. rng.Color = color
  3324. end
  3325. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3326. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3327. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3328. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3329. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3330. end
  3331. rng:Destroy()
  3332. end))
  3333. end
  3334.  
  3335. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3336. local type = type
  3337. local rng = Instance.new("Part", char)
  3338. rng.Anchored = true
  3339. rng.BrickColor = color
  3340. rng.CanCollide = false
  3341. rng.FormFactor = 3
  3342. rng.Name = "Ring"
  3343. rng.Material = "Neon"
  3344. rng.Size = Vector3.new(1, 1, 1)
  3345. rng.Transparency = 0
  3346. rng.TopSurface = 0
  3347. rng.BottomSurface = 0
  3348. rng.CFrame = pos
  3349. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3350. local rngm = Instance.new("SpecialMesh", rng)
  3351. rngm.MeshType = "Sphere"
  3352. rngm.Scale = vt(x1,y1,z1)
  3353. if rainbowmode == true then
  3354. rng.Color = Color3.new(r/255,g/255,b/255)
  3355. end
  3356. local scaler2 = 1
  3357. local speeder = FastSpeed
  3358. if type == "Add" then
  3359. scaler2 = 1*value
  3360. elseif type == "Divide" then
  3361. scaler2 = 1/value
  3362. end
  3363. coroutine.resume(coroutine.create(function()
  3364. for i = 0,10/bonuspeed,0.1 do
  3365. swait()
  3366. if rainbowmode == true then
  3367. rng.Color = Color3.new(r/255,g/255,b/255)
  3368. end
  3369. if type == "Add" then
  3370. scaler2 = scaler2 - 0.01*value/bonuspeed
  3371. elseif type == "Divide" then
  3372. scaler2 = scaler2 - 0.01/value*bonuspeed
  3373. end
  3374. if chaosmode == true then
  3375. rng.BrickColor = BrickColor.random()
  3376. end
  3377. if glitchymode then
  3378. local val = math.random(1,255)
  3379. local color = Color3.fromRGB(val,val,val)
  3380. rng.Color = color
  3381. end
  3382. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3383. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3384. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3385. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3386. end
  3387. rng:Destroy()
  3388. end))
  3389. end
  3390.  
  3391.  
  3392. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3393. local type = type
  3394. local rng = Instance.new("Part", char)
  3395. rng.Anchored = true
  3396. rng.BrickColor = color
  3397. rng.CanCollide = false
  3398. rng.FormFactor = 3
  3399. rng.Name = "Ring"
  3400. rng.Material = "Neon"
  3401. rng.Size = Vector3.new(1, 1, 1)
  3402. rng.Transparency = 1
  3403. rng.TopSurface = 0
  3404. rng.BottomSurface = 0
  3405. rng.CFrame = pos
  3406. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3407. local rngm = Instance.new("SpecialMesh", rng)
  3408. rngm.MeshType = "Sphere"
  3409. rngm.Scale = vt(x1,y1,z1)
  3410. if rainbowmode == true then
  3411. rng.Color = Color3.new(r/255,g/255,b/255)
  3412. end
  3413. local scaler2 = 1
  3414. local speeder = FastSpeed
  3415. if type == "Add" then
  3416. scaler2 = 1*value
  3417. elseif type == "Divide" then
  3418. scaler2 = 1/value
  3419. end
  3420. coroutine.resume(coroutine.create(function()
  3421. for i = 0,10/bonuspeed,0.1 do
  3422. swait()
  3423. if rainbowmode == true then
  3424. rng.Color = Color3.new(r/255,g/255,b/255)
  3425. end
  3426. if type == "Add" then
  3427. scaler2 = scaler2 - 0.01*value/bonuspeed
  3428. elseif type == "Divide" then
  3429. scaler2 = scaler2 - 0.01/value*bonuspeed
  3430. end
  3431. if chaosmode == true then
  3432. rng.BrickColor = BrickColor.random()
  3433. end
  3434. if glitchymode then
  3435. local val = math.random(1,255)
  3436. local color = Color3.fromRGB(val,val,val)
  3437. rng.Color = color
  3438. end
  3439. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3440. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3441. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3442. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3443. end
  3444. rng:Destroy()
  3445. end))
  3446. end
  3447.  
  3448. function dmg(dude)
  3449. if dude.Name ~= Character then
  3450. local bgf = Instance.new("BodyGyro",dude.Head)
  3451. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3452. local val = Instance.new("BoolValue",dude)
  3453. val.Name = "IsHit"
  3454. local ds = coroutine.wrap(function()
  3455. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3456. for i = 1, 10 do
  3457. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3458. end
  3459. dude:WaitForChild("Head"):BreakJoints()
  3460. wait(0.5)
  3461. targetted = nil
  3462. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3463.  
  3464. coroutine.resume(coroutine.create(function()
  3465. for i, v in pairs(dude:GetChildren()) do
  3466. if v:IsA("Accessory") then
  3467. v:Destroy()
  3468. end
  3469. if v:IsA("Humanoid") then
  3470. v:Destroy()
  3471. end
  3472. if v:IsA("CharacterMesh") then
  3473. v:Destroy()
  3474. end
  3475. if v:IsA("Model") then
  3476. v:Destroy()
  3477. end
  3478. if v:IsA("Part") or v:IsA("MeshPart") then
  3479. for x, o in pairs(v:GetChildren()) do
  3480. if o:IsA("Decal") then
  3481. o:Destroy()
  3482. end
  3483. end
  3484. coroutine.resume(coroutine.create(function()
  3485. v.Material = "Neon"
  3486. v.CanCollide = false
  3487. local bld = Instance.new("ParticleEmitter",v)
  3488. bld.LightEmission = 1
  3489. bld.Texture = "rbxassetid://284205403"
  3490. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3491. bld.Rate = 50
  3492. bld.Lifetime = NumberRange.new(1)
  3493. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3494. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3495. bld.Speed = NumberRange.new(0,0)
  3496. bld.VelocitySpread = 50000
  3497. bld.Rotation = NumberRange.new(-500,500)
  3498. bld.RotSpeed = NumberRange.new(-500,500)
  3499. local sbs = Instance.new("BodyPosition", v)
  3500. sbs.P = 3000
  3501. sbs.D = 1000
  3502. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3503. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3504. v.Color = Color3.new(1,1,1)
  3505. coroutine.resume(coroutine.create(function()
  3506. for i = 0, 49 do
  3507. swait(1)
  3508. v.Transparency = v.Transparency + 0.02
  3509. end
  3510. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3511. bld.Speed = NumberRange.new(1,5)
  3512. bld.Acceleration = vt(0,10,0)
  3513. wait(0.5)
  3514. bld.Enabled = false
  3515. wait(3)
  3516. v:Destroy()
  3517. dude:Destroy()
  3518. end))
  3519. end))
  3520. end
  3521. end
  3522. end))
  3523. end)
  3524. ds()
  3525. end
  3526. end
  3527.  
  3528.  
  3529. function FindNearestHead(Position, Distance, SinglePlayer)
  3530. if SinglePlayer then
  3531. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3532. end
  3533. local List = {}
  3534. for i, v in pairs(workspace:GetChildren()) do
  3535. if v:IsA("Model") then
  3536. if v:findFirstChild("Head") then
  3537. if v ~= Character then
  3538. if (v.Head.Position - Position).magnitude <= Distance then
  3539. table.insert(List, v)
  3540. end
  3541. end
  3542. end
  3543. end
  3544. end
  3545. return List
  3546. end
  3547.  
  3548. function FaceMouse()
  3549. Cam = workspace.CurrentCamera
  3550. return {
  3551. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3552. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3553. }
  3554. end
  3555.  
  3556. function FaceMouse2()
  3557. Cam = workspace.CurrentCamera
  3558. return {
  3559. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3560. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3561. }
  3562. end
  3563.  
  3564. local ModeOfGlitch = 1
  3565. -- Functions are ready.
  3566. local storehumanoidWS = 16
  3567.  
  3568. function CorruptBlink()
  3569. for i = 0, 14 do
  3570. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3571. end
  3572. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3573. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3574. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3575. CameraEnshaking(2,10)
  3576. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3577. if v:FindFirstChild('Head') then
  3578. dmg(v)
  3579. end
  3580. end end
  3581. for i = 0, 14 do
  3582. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  3583. end
  3584. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3585. end
  3586.  
  3587. function ExtinctiveHeartbreak()
  3588. local targetted = nil
  3589. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3590. targetted = mouse.Target.Parent
  3591. end
  3592. if targetted ~= nil then
  3593. attack = true
  3594. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3595. for i = 0, 9 do
  3596. 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 black"),0)
  3597. end
  3598. for i = 0, 24 do
  3599. 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 black"),0)
  3600. end
  3601. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3602. local originalpos = root.CFrame
  3603. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3604. for i = 0, 9 do
  3605. 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 black"),0)
  3606. end
  3607. for i = 0, 24 do
  3608. 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 black"),0)
  3609. end
  3610. hum.WalkSpeed = 0
  3611. targetted.Head.Anchored = true
  3612. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3613. for i = 0,2,0.1 do
  3614. swait()
  3615. 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)),.4)
  3616. 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)
  3617. 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)
  3618. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3619. 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)
  3620. 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)
  3621. end
  3622. coroutine.resume(coroutine.create(function()
  3623. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3624. bld.LightEmission = 0.1
  3625. bld.Texture = "rbxassetid://284205403"
  3626. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3627. bld.Rate = 500
  3628. bld.Lifetime = NumberRange.new(1)
  3629. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3630. bld.Acceleration = vt(0,-25,0)
  3631. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3632. bld.Speed = NumberRange.new(10,50)
  3633. bld.EmissionDirection = "Front"
  3634. bld.VelocitySpread = 25
  3635. bld.Rotation = NumberRange.new(-500,500)
  3636. bld.RotSpeed = NumberRange.new(-500,500)
  3637. end))
  3638. coroutine.resume(coroutine.create(function()
  3639. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3640. bld.LightEmission = 0.1
  3641. bld.Texture = "rbxassetid://284205403"
  3642. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3643. bld.Rate = 500
  3644. bld.Lifetime = NumberRange.new(1)
  3645. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3646. bld.Acceleration = vt(0,-25,0)
  3647. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3648. bld.Speed = NumberRange.new(10,50)
  3649. bld.EmissionDirection = "Front"
  3650. bld.VelocitySpread = 25
  3651. bld.Rotation = NumberRange.new(-500,500)
  3652. bld.RotSpeed = NumberRange.new(-500,500)
  3653. end))
  3654. CameraEnshaking(5,5)
  3655. game:GetService("Debris"):AddItem(bld,3)
  3656. dmg(targetted)
  3657. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3658. for i = 0,1,0.1 do
  3659. swait()
  3660. 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)
  3661. 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)),.8)
  3662. 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)
  3663. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3664. 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)
  3665. 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)
  3666. end
  3667. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3668. for i = 0, 9 do
  3669. 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 black"),0)
  3670. end
  3671. for i = 0, 24 do
  3672. 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 black"),0)
  3673. end
  3674. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3675. root.CFrame = originalpos
  3676. for i = 0, 9 do
  3677. 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 black"),0)
  3678. end
  3679. for i = 0, 24 do
  3680. 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 black"),0)
  3681. end
  3682. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  3683. bld.Enabled = false
  3684. attack = false
  3685. hum.WalkSpeed = storehumanoidWS
  3686. end
  3687. end
  3688. function PureBomb()
  3689. attack = true
  3690.  
  3691. local orb = Instance.new("Part", char)
  3692. orb.Anchored = true
  3693. orb.BrickColor = BrickColor.new("Toothpaste")
  3694. orb.CanCollide = false
  3695. orb.FormFactor = 3
  3696. orb.Name = "Ring"
  3697. orb.Material = "Neon"
  3698. orb.Size = Vector3.new(1, 1, 1)
  3699. orb.Transparency = 0
  3700. orb.TopSurface = 0
  3701. orb.BottomSurface = 0
  3702. local orbm = Instance.new("SpecialMesh", orb)
  3703. orbm.MeshType = "Sphere"
  3704. orbm.Name = "SizeMesh"
  3705. orbm.Scale = vt(0,0,0)
  3706. local scaled = 0.1
  3707. local posid = 0
  3708. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3709. for i = 0, 5, 0.1 do
  3710. swait()
  3711. scaled = scaled - 0.001
  3712. posid = posid - scaled
  3713. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3714. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3715. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3716. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3717. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3718. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3719. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3720. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3721. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3722. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3723. end
  3724. for i = 0, 2, 0.1 do
  3725. swait()
  3726. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3727. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3728. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3729. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3730. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3731. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3732. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3733. end
  3734. coroutine.resume(coroutine.create(function()
  3735. orb.Anchored = false
  3736. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3737. local a = Instance.new("Part",workspace)
  3738. a.Name = "Direction"
  3739. a.Anchored = true
  3740. a.BrickColor = bc("Bright red")
  3741. a.Material = "Neon"
  3742. a.Transparency = 1
  3743. a.CanCollide = false
  3744. local ray = Ray.new(
  3745. orb.CFrame.p, -- origin
  3746. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3747. )
  3748. local ignore = orb
  3749. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3750. a.BottomSurface = 10
  3751. a.TopSurface = 10
  3752. local distance = (orb.CFrame.p - position).magnitude
  3753. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3754. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3755. orb.CFrame = a.CFrame
  3756. a:Destroy()
  3757. local bv = Instance.new("BodyVelocity")
  3758. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3759. bv.velocity = orb.CFrame.lookVector*125
  3760. bv.Parent = orb
  3761. local hitted = false
  3762. game:GetService("Debris"):AddItem(orb, 15)
  3763. wait()
  3764. local hit =orb.Touched:connect(function(hit)
  3765. if hitted == false then
  3766. hitted = true
  3767. CameraEnshaking(10,2.5)
  3768. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3769. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3770. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3771. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3772. for i = 0, 49 do
  3773. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3774. end
  3775. for i = 0, 9 do
  3776. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3777. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3778. end
  3779. orb.Anchored = true
  3780. orb.Transparency = 1
  3781. wait(8)
  3782. orb:Destroy()
  3783. end
  3784. end)
  3785. end))
  3786. for i = 0, 1, 0.1 do
  3787. swait()
  3788. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3789. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3790. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3791. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3792. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3793. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3794. end
  3795. attack = false
  3796. end
  3797.  
  3798. function ChaosGroundStrike()
  3799. attack = true
  3800. for i = 0, 2, 0.1 do
  3801. swait()
  3802. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3803. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3804. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3805. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3806. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3807. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3808. end
  3809. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3810. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3811. CameraEnshaking(4,12)
  3812. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3813. if v:FindFirstChild('Head') then
  3814. dmg(v)
  3815. end
  3816. end
  3817. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3818. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3819. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3820. for i = 0, 2, 0.1 do
  3821. swait()
  3822. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3823. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3824. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3825. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3826. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3828. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3829. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3830. end
  3831. attack = false
  3832. end
  3833.  
  3834. function InsaneGroundStrike()
  3835. attack = true
  3836. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3837. for i = 0, 8, 0.1 do
  3838. swait()
  3839. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3840.  
  3841. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3842. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  3843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3845. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3846. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3847. end
  3848. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3849. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3850. CameraEnshaking(8,24)
  3851. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3852. if v:FindFirstChild('Head') then
  3853. dmg(v)
  3854. end
  3855. end
  3856. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3857. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3858. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3859. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3860. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3861. for i = 0, 2, 0.1 do
  3862. swait()
  3863. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3864. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  3865. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3866. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  3867. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3868. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3869. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3870. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3871. end
  3872. attack = false
  3873. end
  3874.  
  3875. function Starfall()
  3876. attack = true
  3877. hum.WalkSpeed = 0
  3878. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3879. for i = 0, 5, 0.1 do
  3880. swait()
  3881. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3882. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3883. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3884. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3885. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3886. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3887. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3888. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3889. end
  3890. local Overed = false
  3891. CameraEnshaking(2,20)
  3892. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3893. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3894. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3895. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3896. local orb = Instance.new("Part", char)
  3897. orb.Anchored = true
  3898. orb.BrickColor = BrickColor.new("Toothpaste")
  3899. orb.CanCollide = false
  3900. orb.FormFactor = 3
  3901. orb.Name = "Remenant"
  3902. orb.Material = "Neon"
  3903. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3904. orb.Size = Vector3.new(1, 1, 1)
  3905. orb.Transparency = 1
  3906. orb.TopSurface = 0
  3907. orb.BottomSurface = 0
  3908. hum.WalkSpeed = storehumanoidWS
  3909. coroutine.resume(coroutine.create(function()
  3910. for i = 0, 9 do
  3911. swait(10)
  3912. local lb = Instance.new("Part")
  3913. lb.Color = MAINRUINCOLOR.Color
  3914. lb.CanCollide = false
  3915. lb.Material = "Neon"
  3916. lb.Anchored = true
  3917. lb.TopSurface = 0
  3918. lb.BottomSurface = 0
  3919. lb.Transparency = 0
  3920. lb.Size = vt(1,1,1)
  3921. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3922. lb.Anchored = false
  3923. lb.Parent = char
  3924. local thingery = Instance.new("SpecialMesh",lb)
  3925. thingery.MeshType = "Sphere"
  3926. thingery.Scale = vt(20,20,20)
  3927. game:GetService("Debris"):AddItem(lb, 10)
  3928. local bv = Instance.new("BodyVelocity")
  3929. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3930. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3931. bv.Parent = lb
  3932. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3933. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3934. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3935. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3936. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3937. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3938. local hitted = false
  3939. coroutine.resume(coroutine.create(function()
  3940. while true do
  3941. swait(1)
  3942. if lb.Parent ~= nil and hitted == false then
  3943. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3944. elseif lb.Parent == nil then
  3945. break
  3946. end
  3947. end
  3948. end))
  3949.  
  3950. game:GetService("Debris"):AddItem(a, 0.1)
  3951.  
  3952. coroutine.resume(coroutine.create(function()
  3953. swait(1)
  3954. lb.Touched:connect(function(hit)
  3955. if hitted == false then
  3956. hitted = true
  3957. lb.Transparency = 1
  3958. lb.Anchored = true
  3959. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3960. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3961. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3962. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3963. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3964. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3965. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3966. CameraEnshaking(1,5)
  3967. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3968. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3969. for i = 0, 9 do
  3970. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3971. end
  3972. for i = 0, 49 do
  3973. swait()
  3974. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3975. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3976. end
  3977. end
  3978. end)
  3979. end))
  3980. end
  3981. Overed = true
  3982. orb:Destroy()
  3983. end))
  3984.  
  3985. attack = false
  3986. end
  3987.  
  3988. function StarfallEX()
  3989. attack = true
  3990. hum.WalkSpeed = 0
  3991. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3992. for i = 0, 5, 0.1 do
  3993. swait()
  3994. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3995. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3996. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3997. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  4000. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  4001. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  4002. end
  4003. local Overed = false
  4004. CameraEnshaking(2,20)
  4005. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4006. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4007. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  4008. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  4009. local orb = Instance.new("Part", char)
  4010. orb.Anchored = true
  4011. orb.BrickColor = BrickColor.new("Toothpaste")
  4012. orb.CanCollide = false
  4013. orb.FormFactor = 3
  4014. orb.Name = "Remenant"
  4015. orb.Material = "Neon"
  4016. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  4017. orb.Size = Vector3.new(1, 1, 1)
  4018. orb.Transparency = 1
  4019. orb.TopSurface = 0
  4020. orb.BottomSurface = 0
  4021. hum.WalkSpeed = storehumanoidWS
  4022. coroutine.resume(coroutine.create(function()
  4023. for i = 1, 5 do
  4024. swait(10)
  4025. local lb = Instance.new("Part")
  4026. lb.Color = MAINRUINCOLOR.Color
  4027. lb.CanCollide = false
  4028. lb.Material = "Neon"
  4029. lb.Anchored = true
  4030. lb.TopSurface = 0
  4031. lb.BottomSurface = 0
  4032. lb.Transparency = 0
  4033. lb.Size = vt(1,1,1)
  4034. lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  4035. lb.Anchored = false
  4036. lb.Parent = char
  4037. local thingery = Instance.new("SpecialMesh",lb)
  4038. thingery.MeshType = "Sphere"
  4039. thingery.Scale = vt(20,20,20)
  4040. game:GetService("Debris"):AddItem(lb, 10)
  4041. local bv = Instance.new("BodyVelocity")
  4042. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4043. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  4044. bv.Parent = lb
  4045. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  4046. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  4047. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  4048. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  4049. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  4050. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  4051. local hitted = false
  4052. coroutine.resume(coroutine.create(function()
  4053. while true do
  4054. swait(1)
  4055. if lb.Parent ~= nil and hitted == false then
  4056. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  4057. elseif lb.Parent == nil then
  4058. break
  4059. end
  4060. end
  4061. end))
  4062.  
  4063. game:GetService("Debris"):AddItem(a, 0.1)
  4064.  
  4065. coroutine.resume(coroutine.create(function()
  4066. swait(5)
  4067. lb.Touched:connect(function(hit)
  4068. if hitted == false and not hit:IsDescendantOf(Character) then
  4069. hitted = true
  4070. lb.Transparency = 1
  4071. lb.Anchored = true
  4072. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  4073. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  4074. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  4075. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  4076. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  4077. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  4078. MagniDamage(lb, 45, 90,170, 0, "Normal")
  4079. CameraEnshaking(1,5)
  4080. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  4081. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  4082. for i = 0, 9 do
  4083. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  4084. end
  4085. for i = 0, 49 do
  4086. swait()
  4087. MagniDamage(lb, 60, 20,40, 0, "Normal")
  4088. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  4089. end
  4090. end
  4091. end)
  4092. end))
  4093. end
  4094. Overed = true
  4095. orb:Destroy()
  4096. end))
  4097.  
  4098. attack = false
  4099. end
  4100.  
  4101.  
  4102. function StarDivision()
  4103. attack = true
  4104. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4105. for i = 0, 2, 0.1 do
  4106. swait()
  4107. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  4108. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  4109. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  4110. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  4111. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  4112. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4113. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  4114. end
  4115. local orb = Instance.new("Part", char)
  4116. orb.BrickColor = MAINRUINCOLOR
  4117. orb.CanCollide = false
  4118. orb.FormFactor = 3
  4119. orb.Name = "Ring"
  4120. orb.Material = "Neon"
  4121. orb.Size = Vector3.new(1, 1, 1)
  4122. orb.Transparency = 0
  4123. orb.TopSurface = 0
  4124. orb.BottomSurface = 0
  4125. local orbm = Instance.new("SpecialMesh", orb)
  4126. orbm.MeshType = "Sphere"
  4127. orbm.Name = "SizeMesh"
  4128. orbm.Scale = vt(2,2,2)
  4129. local a = Instance.new("Part",workspace)
  4130. a.Name = "Direction"
  4131. a.Anchored = true
  4132. a.BrickColor = bc("Bright red")
  4133. a.Material = "Neon"
  4134. a.Transparency = 1
  4135. a.CanCollide = false
  4136. local ray = Ray.new(
  4137. sorb.CFrame.p, -- origin
  4138. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4139. )
  4140. local ignore = sorb
  4141. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4142. a.BottomSurface = 10
  4143. a.TopSurface = 10
  4144. local distance = (sorb.CFrame.p - position).magnitude
  4145. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4146. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4147. orb.CFrame = a.CFrame
  4148. a:Destroy()
  4149. local bv = Instance.new("BodyVelocity")
  4150. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4151. bv.velocity = orb.CFrame.lookVector*100
  4152. bv.Parent = orb
  4153. local hitted = false
  4154. game:GetService("Debris"):AddItem(orb, 10)
  4155. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4156. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4157. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4158. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4159. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4160. coroutine.resume(coroutine.create(function()
  4161. while true do
  4162. swait(1)
  4163. if orb.Parent ~= nil and hitted == false then
  4164. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  4165. elseif orb.Parent == nil then
  4166. break
  4167. end
  4168. end
  4169. end))
  4170. coroutine.resume(coroutine.create(function()
  4171. swait(1)
  4172. orb.Touched:connect(function(hit)
  4173. if hitted == false then
  4174. hitted = true
  4175. game:GetService("Debris"):AddItem(orb, 5)
  4176. orb.Transparency = 1
  4177. orb.Anchored = true
  4178. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4179. elocacenter.Anchored = true
  4180. elocacenter.CFrame = orb.CFrame
  4181. elocacenter.Orientation = vt(0,0,0)
  4182. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4183. eloca1.Anchored = true
  4184. eloca1.CFrame = elocacenter.CFrame
  4185. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4186. eloca2.Anchored = true
  4187. eloca2.CFrame = elocacenter.CFrame
  4188. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4189. eloca3.Anchored = true
  4190. eloca3.CFrame = elocacenter.CFrame
  4191. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4192. eloca4.Anchored = true
  4193. eloca4.CFrame = elocacenter.CFrame
  4194. local lookavec = 0
  4195. local speeds = 0
  4196. CameraEnshaking(1,1)
  4197. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4198. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4199. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4200. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4201. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4202. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4203. for i = 0, 99 do
  4204. swait()
  4205. lookavec = lookavec + 1
  4206. speeds = speeds + 0.1
  4207. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4208. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4209. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4210.  
  4211. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4212. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4213.  
  4214. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4215. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4216.  
  4217. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4218. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4219. end
  4220.  
  4221. for i = 0, 149 do
  4222. swait()
  4223. speeds = speeds + 0.1
  4224. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4225. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4226. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4227.  
  4228. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4229. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4230.  
  4231. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4232. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4233.  
  4234. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4235. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4236. end
  4237. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4238. if v:FindFirstChild('Head') then
  4239. dmg(v)
  4240. end
  4241. end
  4242. CameraEnshaking(7,30)
  4243. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4244. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4245. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4246. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4247. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4248. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4249. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4250. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4251. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4252. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4253. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4254. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4255. for i = 0, 24 do
  4256. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4257. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4258. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4259. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4260. end
  4261. coroutine.resume(coroutine.create(function()
  4262. for i = 0, 499 do
  4263. swait(1)
  4264. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4265. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4266. end
  4267. elocacenter:Destroy()
  4268. eloca1:Destroy()
  4269. eloca2:Destroy()
  4270. eloca3:Destroy()
  4271. eloca4:Destroy()
  4272. end))
  4273. end
  4274. end)
  4275. end))
  4276. attack = false
  4277. end
  4278.  
  4279.  
  4280. function UniversalCollapse()
  4281. attack = true
  4282. local speedearn = 0
  4283. hum.WalkSpeed = 0
  4284. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4285. for i = 0, 10, 0.1 do
  4286. swait()
  4287. speedearn = speedearn + 0.1
  4288. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4289. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4290. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4291. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4292. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4293. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4294. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4295. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4296. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4297. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4298. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4299. end
  4300. CameraEnshaking(5,45)
  4301. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4302. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4303. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4304. if v:FindFirstChild('Head') then
  4305. dmg(v)
  4306. end
  4307. end
  4308. hum.WalkSpeed = storehumanoidWS
  4309. attack = false
  4310. end
  4311. function ChaosBegone()
  4312. attack = true
  4313. local speedearn = 0
  4314. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4315. for i = 0, 10, 0.1 do
  4316. swait()
  4317. speedearn = speedearn + 0.1
  4318. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4319. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4320. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4321. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4322. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4323. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4324. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4325. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4326. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4327. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4328. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4329. end
  4330. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4331. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4332. CameraEnshaking(5,25)
  4333. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4334. if v:FindFirstChild('Head') then
  4335. dmg(v)
  4336. end
  4337. end
  4338. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4339. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4340. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4341. for i = 0, 3, 0.1 do
  4342. swait()
  4343. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4344. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4345. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4346. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  4347. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4348. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4349. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4350. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4351. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4352. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4353. end
  4354. attack = false
  4355. end
  4356.  
  4357. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4358. local orb = Instance.new("Part", char)
  4359. orb.Anchored = true
  4360. orb.BrickColor = color
  4361. orb.CanCollide = false
  4362. orb.FormFactor = 3
  4363. orb.Name = "Ring"
  4364. orb.Material = "Neon"
  4365. orb.Size = Vector3.new(1, 1, 1)
  4366. orb.Transparency = 0
  4367. orb.TopSurface = 0
  4368. orb.BottomSurface = 0
  4369. local orbm = Instance.new("SpecialMesh", orb)
  4370. orbm.MeshType = "Sphere"
  4371. orb.CFrame = positted
  4372. orbm.Name = "SizeMesh"
  4373. orbm.Scale = vt(1,1,1)
  4374. coroutine.wrap(function()
  4375. while orb and orb.Parent do
  4376. if glitchymode then
  4377. local val = math.random(1,255)
  4378. local color = Color3.fromRGB(val,val,val)
  4379. orb.Color = color
  4380. end
  4381. swait()
  4382. end
  4383. end)()
  4384. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4385. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4386. --[[for i = 0, 2 do
  4387. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4388. end]]--
  4389. coroutine.resume(coroutine.create(function()
  4390. wait(timer)
  4391. CameraEnshaking(3,ShakePower)
  4392. orb.Transparency = 1
  4393. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4394. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4395. --[[for i = 0, 4 do
  4396. sphereMK(5,0.15*MagniBoost,"Add",orb.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,15,-0.025,orb.BrickColor,0)
  4397. end]]--
  4398. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4399. wait(3)
  4400. orb:Destroy()
  4401. end))
  4402. end
  4403.  
  4404. function orb_spawn(positted,timer)
  4405. local orb = Instance.new("Part", char)
  4406. orb.Anchored = true
  4407. orb.BrickColor = BrickColor.new("White")
  4408.  
  4409. orb.CanCollide = false
  4410. orb.FormFactor = 3
  4411. orb.Name = "Ring"
  4412. orb.Material = "Neon"
  4413. orb.Size = Vector3.new(1, 1, 1)
  4414. orb.Transparency = 0
  4415. orb.TopSurface = 0
  4416. orb.BottomSurface = 0
  4417. local orbm = Instance.new("SpecialMesh", orb)
  4418. orbm.MeshType = "Sphere"
  4419. orb.CFrame = positted
  4420. orbm.Name = "SizeMesh"
  4421. orbm.Scale = vt(1,1,1)
  4422. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4423. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4424. coroutine.wrap(function()
  4425. while orb and orb.Parent do
  4426. if glitchymode then
  4427. local val = math.random(1,255)
  4428. local color = Color3.fromRGB(val,val,val)
  4429. orb.Color = color
  4430. end
  4431. swait()
  4432. end
  4433. end)()
  4434. for i = 0, 2 do
  4435. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4436. end
  4437.  
  4438. coroutine.resume(coroutine.create(function()
  4439. wait(timer)
  4440. CameraEnshaking(3,2)
  4441. orb.Transparency = 1
  4442. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4443. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4444. for i = 0, 4 do
  4445. sphereMK(5,0.65,"Add",orb.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,15,-0.025,orb.BrickColor,0)
  4446. end
  4447. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4448. wait(3)
  4449. orb:Destroy()
  4450. end))
  4451. end
  4452.  
  4453. function scattercorrupt()
  4454. attack = true
  4455. local rot = 0
  4456. local randomrotations = math.random(1,2)
  4457. local lookv = 2.5
  4458. local power = 5
  4459. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4460. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4461. for i = 0, 9 do
  4462. sphereMK(1,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))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  4463. end
  4464. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4465. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4466. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4467. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4468. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4469. local hite = Instance.new("Part", char)
  4470. hite.Anchored = true
  4471. hite.CanCollide = false
  4472. hite.FormFactor = 3
  4473. hite.Name = "Ring"
  4474. hite.Material = "Neon"
  4475. hite.Size = Vector3.new(1, 1, 1)
  4476. hite.Transparency = 1
  4477. hite.TopSurface = 0
  4478. hite.BottomSurface = 0
  4479. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4480. local rem = Instance.new("Part", char)
  4481. rem.Anchored = true
  4482. rem.CanCollide = false
  4483. rem.FormFactor = 3
  4484. rem.Name = "Ring"
  4485. rem.Material = "Neon"
  4486. rem.Size = Vector3.new(1, 1, 1)
  4487. rem.Transparency = 1
  4488. rem.TopSurface = 0
  4489. rem.BottomSurface = 0
  4490. rem.CFrame = hite.CFrame
  4491. local rem2 = rem:Clone()
  4492. rem2.Parent = char
  4493. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4494. local rem3 = rem:Clone()
  4495. rem3.Parent = char
  4496. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4497. local rem4 = rem:Clone()
  4498. rem4.Parent = char
  4499. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4500. hite:Destroy()
  4501. coroutine.resume(coroutine.create(function()
  4502. for i = 0, 24 do
  4503. swait(1)
  4504. if randomrotations == 1 then
  4505. rot = rot + 1
  4506. elseif randomrotations == 2 then
  4507. rot = rot - 1
  4508. end
  4509. power = power + 0.5
  4510. lookv = lookv + 7.5
  4511. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4512. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4513. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4514. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4515. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4516. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4517. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4518. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4519. end
  4520. end))
  4521. attack = false
  4522. end
  4523. function yinyangi()
  4524. attack = true
  4525. for i = 0, 2, 0.1 do
  4526. swait()
  4527. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4528. 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(20)),.2)
  4529. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4530. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4531. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4532. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4533. end
  4534. local bv = Instance.new("BodyVelocity")
  4535. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4536. bv.velocity = root.CFrame.lookVector*175
  4537. bv.Parent = root
  4538. for Rotations = 0, 9 do
  4539.  
  4540. for i = 0, 1, 0.5 do
  4541. swait()
  4542. bv.velocity = root.CFrame.lookVector*175
  4543. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4544. 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(20)),.5)
  4545. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4547. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4548. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4549. end
  4550.  
  4551. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4552. for i = 0, 1, 0.5 do
  4553. swait()
  4554. bv.velocity = root.CFrame.lookVector*175
  4555. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4556. 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(20)),.5)
  4557. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4558. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4559. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4560. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4561. end
  4562.  
  4563. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4564. for i = 0, 1, 0.5 do
  4565. swait()
  4566. bv.velocity = root.CFrame.lookVector*175
  4567. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4568. 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(20)),.5)
  4569. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4570. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4571. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4572. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4573. end
  4574.  
  4575. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4576. for i = 0, 1, 0.5 do
  4577. swait()
  4578. bv.velocity = root.CFrame.lookVector*175
  4579. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4580. 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(20)),.5)
  4581. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4582. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4583. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4584. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4585. end
  4586.  
  4587. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4588. end
  4589. bv:Destroy()
  4590. attack = false
  4591. end
  4592.  
  4593. function JusticeBeam()
  4594. attack = true
  4595.  
  4596. local rngb = Instance.new("Part", char)
  4597. rngb.Anchored = true
  4598. rngb.BrickColor = origcolor
  4599. rngb.CanCollide = false
  4600. rngb.FormFactor = 3
  4601. rngb.Name = "Ring"
  4602. rngb.Material = "Neon"
  4603. rngb.Size = Vector3.new(1, 0.05, 1)
  4604. rngb.Transparency = 1
  4605. rngb.TopSurface = 0
  4606. rngb.BottomSurface = 0
  4607. local rngmb = Instance.new("SpecialMesh", rngb)
  4608. rngmb.MeshType = "Brick"
  4609. rngmb.Name = "SizeMesh"
  4610. rngmb.Scale = vt(0,1,0)
  4611.  
  4612. local orb = rngb:Clone()
  4613. orb.Parent = char
  4614. orb.Transparency = 0
  4615. orb.BrickColor = BrickColor.new("White")
  4616. orb.Size = vt(1,1,1)
  4617. local orbmish = orb.SizeMesh
  4618. orbmish.Scale = vt(0,0,0)
  4619. orbmish.MeshType = "Sphere"
  4620.  
  4621. local orbe = rngb:Clone()
  4622. orbe.Parent = char
  4623. orbe.Transparency = 0.5
  4624. orbe.BrickColor = BrickColor.new("New Yeller")
  4625. orbe.Size = vt(1,1,1)
  4626. local orbmish2 = orbe.SizeMesh
  4627. orbmish2.Scale = vt(0,0,0)
  4628. orbmish2.MeshType = "Sphere"
  4629. orbe.Color = Color3.new(1,1,1)
  4630.  
  4631. rngb:Destroy()
  4632. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4633. local scaled = 1
  4634. for i = 0,5,0.1 do
  4635. swait()
  4636. scaled = scaled - 0.02
  4637. if rainbowmode == true then
  4638. orbe.Color = Color3.new(r/255,g/255,b/255)
  4639. end
  4640. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4641. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4642. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4643. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4644. sphereMKCharge(2.5,-0.5,"Add",orb.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,15,-0.025,MAINRUINCOLOR,25)
  4645. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4646. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4647. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4648. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4649. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4650. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4651. RootPart.CFrame = FaceMouse()[1]
  4652. end]]--
  4653. for i = 0,5,0.1 do
  4654. swait()
  4655. if rainbowmode == true then
  4656. orbe.Color = Color3.new(r/255,g/255,b/255)
  4657. end
  4658. if glitchymode then
  4659. local val = math.random(1,255)
  4660. local color = Color3.fromRGB(val,val,val)
  4661. orbe.Color = color
  4662. end
  4663. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4664. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4665. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4666. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4667. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4668. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4669. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4670. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4671. end
  4672. orbe.Transparency = 1
  4673. orb.Transparency = 1
  4674. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4675. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4676. local a2 = Instance.new("Part",Character)
  4677. a2.Name = "Direction"
  4678. a2.Anchored = true
  4679. a2.BrickColor = bc("New Yeller")
  4680. a2.Color = Color3.new(1,1,1)
  4681. a2.Material = "Neon"
  4682. a2.Transparency = 0.5
  4683. a2.Shape = "Cylinder"
  4684. a2.CanCollide = false
  4685. local ba = Instance.new("Part",Character)
  4686. ba.Name = "HitDirect"
  4687. ba.Anchored = true
  4688. ba.BrickColor = bc("Cool yellow")
  4689. ba.Material = "Neon"
  4690. ba.Transparency = 1
  4691. ba.CanCollide = false
  4692. local ray = Ray.new(
  4693. orb.CFrame.p, -- origin
  4694. root.CFrame.lookVector.unit * 1000 -- direction
  4695. )
  4696. local ignore = Character
  4697. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4698. a2.Transparency = .75
  4699. a2.BottomSurface = 10
  4700. a2.TopSurface = 10
  4701. local distance = (orb.CFrame.p - position).magnitude
  4702. a2.Size = Vector3.new(distance, 1, 1)
  4703. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4704. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4705. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4706. game:GetService("Debris"):AddItem(a2, 20)
  4707. game:GetService("Debris"):AddItem(ba, 20)
  4708. local msh2 = Instance.new("SpecialMesh",a2)
  4709. msh2.MeshType = "Cylinder"
  4710. msh2.Scale = vt(1,6*5,6*5)
  4711.  
  4712. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4713. for i = 1, 80*2 do
  4714. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4715. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4716. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4717. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4718. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4719. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4720. swait()
  4721. CameraEnshaking(1,5)
  4722. a2.Color = Color3.new(1,1,1)
  4723. a2.Transparency = .25
  4724. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4725. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4726. ray = Ray.new(
  4727. orb.CFrame.p, -- origin
  4728. root.CFrame.lookVector.unit * 1000 -- direction
  4729. )
  4730. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4731. distance = (orb.CFrame.p - position).magnitude
  4732. if typrot == 1 then
  4733. rotation = rotation + 2.5
  4734. elseif typrot == 2 then
  4735. rotation = rotation - 2.5
  4736. end
  4737. a2.Size = Vector3.new(distance, 1, 1)
  4738. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4739. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4740. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4741. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4742. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4743. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4744. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4745. end
  4746. a2:Destroy()
  4747. ba:Destroy()
  4748. orb:Destroy()
  4749. orbe:Destroy()
  4750. attack = false
  4751. end
  4752.  
  4753. function Wip()
  4754. attack = true
  4755.  
  4756. local rngb = Instance.new("Part", char)
  4757. rngb.Anchored = true
  4758. rngb.BrickColor = origcolor
  4759. rngb.CanCollide = false
  4760. rngb.FormFactor = 3
  4761. rngb.Name = "Ring"
  4762. rngb.Material = "Neon"
  4763. rngb.Size = Vector3.new(1, 0.05, 1)
  4764. rngb.Transparency = 1
  4765. rngb.TopSurface = 0
  4766. rngb.BottomSurface = 0
  4767. local rngmb = Instance.new("SpecialMesh", rngb)
  4768. rngmb.MeshType = "Brick"
  4769. rngmb.Name = "SizeMesh"
  4770. rngmb.Scale = vt(0,1,0)
  4771.  
  4772. local orb = rngb:Clone()
  4773. orb.Parent = char
  4774. orb.Transparency = 0
  4775. orb.BrickColor = BrickColor.new("White")
  4776. orb.Size = vt(1,1,1)
  4777. local orbmish = orb.SizeMesh
  4778. orbmish.Scale = vt(0,0,0)
  4779. orbmish.MeshType = "Sphere"
  4780.  
  4781. local orbe = rngb:Clone()
  4782. orbe.Parent = char
  4783. orbe.Transparency = 0.5
  4784. orbe.BrickColor = BrickColor.new("New Yeller")
  4785. orbe.Size = vt(1,1,1)
  4786. local orbmish2 = orbe.SizeMesh
  4787. orbmish2.Scale = vt(0,0,0)
  4788. orbmish2.MeshType = "Sphere"
  4789. orbe.Color = Color3.new(r/255,g/255,b/255)
  4790.  
  4791. hum.AutoRotate = false
  4792. rngb:Destroy()
  4793. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4794. local scaled = 1
  4795. for i = 0,5,0.1 do
  4796. swait()
  4797. scaled = scaled - 0.02
  4798. if rainbowmode == true then
  4799. orbe.Color = Color3.new(r/255,g/255,b/255)
  4800. end
  4801. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4802. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4803. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4804. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4805. sphereMKCharge(2.5,-0.5,"Add",orb.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,15,-0.025,MAINRUINCOLOR,25)
  4806. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4807. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4808. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4809. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4810. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4811. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4812. RootPart.CFrame = FaceMouse()[1]
  4813. end]]--
  4814. for i = 0,5,0.1 do
  4815. swait()
  4816. if rainbowmode == true then
  4817. orbe.Color = Color3.new(r/255,g/255,b/255)
  4818. end
  4819. if glitchymode then
  4820. local val = math.random(1,255)
  4821. local color = Color3.fromRGB(val,val,val)
  4822. orbe.Color = color
  4823. end
  4824. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4825. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4826. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4827. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4828. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4829. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4830. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4831. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4832. RootPart.CFrame = FaceMouse()[1]
  4833. end
  4834. orbe.Transparency = 1
  4835. orb.Transparency = 1
  4836. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4837. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4838. local a = Instance.new("Part",Character)
  4839. a.Name = "Direction"
  4840. a.Anchored = true
  4841. a.BrickColor = bc("White")
  4842. a.Material = "Neon"
  4843. a.Transparency = 0
  4844. a.Shape = "Cylinder"
  4845. a.CanCollide = false
  4846. local a2 = Instance.new("Part",Character)
  4847. a2.Name = "Direction"
  4848. a2.Anchored = true
  4849. a2.BrickColor = bc("New Yeller")
  4850. a2.Color = Color3.new(r/255,g/255,b/255)
  4851. a2.Material = "Neon"
  4852. a2.Transparency = 0.5
  4853. a2.Shape = "Cylinder"
  4854. a2.CanCollide = false
  4855. local ba = Instance.new("Part",Character)
  4856. ba.Name = "HitDirect"
  4857. ba.Anchored = true
  4858. ba.BrickColor = bc("Cool yellow")
  4859. ba.Material = "Neon"
  4860. ba.Transparency = 1
  4861. ba.CanCollide = false
  4862. local ray = Ray.new(
  4863. orb.CFrame.p, -- origin
  4864. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4865. )
  4866. local ignore = Character
  4867. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4868. a.BottomSurface = 10
  4869. a.TopSurface = 10
  4870. a2.BottomSurface = 10
  4871. a2.TopSurface = 10
  4872. local distance = (orb.CFrame.p - position).magnitude
  4873. a.Size = Vector3.new(distance, 1, 1)
  4874. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4875. a2.Size = Vector3.new(distance, 1, 1)
  4876. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4877. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4878. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4879. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4880. game:GetService("Debris"):AddItem(a, 20)
  4881. game:GetService("Debris"):AddItem(a2, 20)
  4882. game:GetService("Debris"):AddItem(ba, 20)
  4883. local msh = Instance.new("SpecialMesh",a)
  4884. msh.MeshType = "Cylinder"
  4885. msh.Scale = vt(1,5*5,5*5)
  4886. local msh2 = Instance.new("SpecialMesh",a2)
  4887. msh2.MeshType = "Cylinder"
  4888. msh2.Scale = vt(1,6*5,6*5)
  4889.  
  4890. for i = 0,10,0.1 do
  4891. swait()
  4892. CameraEnshaking(1,5)
  4893. a2.Color = Color3.new(r/255,g/255,b/255)
  4894. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4895. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4896. ray = Ray.new(
  4897. orb.CFrame.p, -- origin
  4898. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4899. )
  4900. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4901. distance = (orb.CFrame.p - position).magnitude
  4902. if typrot == 1 then
  4903. rotation = rotation + 2.5
  4904. elseif typrot == 2 then
  4905. rotation = rotation - 2.5
  4906. end
  4907. RootPart.CFrame = FaceMouse()[1]
  4908. a.Size = Vector3.new(distance, 1, 1)
  4909. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4910. a2.Size = Vector3.new(distance, 1, 1)
  4911. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4912. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4913. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4914. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4915. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4916. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4917. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4918. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4919. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4920. end
  4921. a:Destroy()
  4922. a2:Destroy()
  4923. ba:Destroy()
  4924. orb:Destroy()
  4925. orbe:Destroy()
  4926. hum.AutoRotate = true
  4927. attack = false
  4928. end
  4929.  
  4930.  
  4931. function UniversalSpark()
  4932. attack = true
  4933.  
  4934. local rngb = Instance.new("Part", char)
  4935. rngb.Anchored = true
  4936. rngb.BrickColor = origcolor
  4937. rngb.CanCollide = false
  4938. rngb.FormFactor = 3
  4939. rngb.Name = "Ring"
  4940. rngb.Material = "Neon"
  4941. rngb.Size = Vector3.new(1, 0.05, 1)
  4942. rngb.Transparency = 1
  4943. rngb.TopSurface = 0
  4944. rngb.BottomSurface = 0
  4945. local rngmb = Instance.new("SpecialMesh", rngb)
  4946. rngmb.MeshType = "Brick"
  4947. rngmb.Name = "SizeMesh"
  4948. rngmb.Scale = vt(0,1,0)
  4949.  
  4950. local orb = rngb:Clone()
  4951. orb.Parent = char
  4952. orb.Transparency = 0
  4953. orb.BrickColor = BrickColor.new("White")
  4954. orb.Size = vt(1,1,1)
  4955. local orbmish = orb.SizeMesh
  4956. orbmish.Scale = vt(0,0,0)
  4957. orbmish.MeshType = "Sphere"
  4958.  
  4959. local orbe = rngb:Clone()
  4960. orbe.Parent = char
  4961. orbe.Transparency = 0.5
  4962. orbe.BrickColor = BrickColor.new("New Yeller")
  4963. orbe.Size = vt(1,1,1)
  4964. local orbmish2 = orbe.SizeMesh
  4965. orbmish2.Scale = vt(0,0,0)
  4966. orbmish2.MeshType = "Sphere"
  4967. orbe.Color = Color3.new(r/255,g/255,b/255)
  4968.  
  4969. rngb:Destroy()
  4970. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4971. local scaled = 1
  4972. for i = 0,5,0.1 do
  4973. swait()
  4974. scaled = scaled - 0.02
  4975. if rainbowmode == true then
  4976. orbe.Color = Color3.new(r/255,g/255,b/255)
  4977. end
  4978. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4979. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4980. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4981. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4982. sphereMKCharge(2.5,-0.5,"Add",orb.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,15,-0.025,MAINRUINCOLOR,25)
  4983. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4984. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4985. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4986. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4987. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4988. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4989. RootPart.CFrame = FaceMouse()[1]
  4990. end]]--
  4991. for i = 0,5,0.1 do
  4992. swait()
  4993. if rainbowmode == true then
  4994. orbe.Color = Color3.new(r/255,g/255,b/255)
  4995. end
  4996. if glitchymode then
  4997. local val = math.random(1,255)
  4998. local color = Color3.fromRGB(val,val,val)
  4999. orbe.Color = color
  5000. end
  5001. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5002. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  5003. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  5004. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  5005. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5006. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5007. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5008. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5009. RootPart.CFrame = FaceMouse()[1]
  5010. end
  5011. orbe.Transparency = 1
  5012. orb.Transparency = 1
  5013. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  5014. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  5015. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  5016. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5017.  
  5018. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  5019. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  5020. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  5021. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  5022. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  5023. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  5024. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  5025. local xd= Instance.new("Sound",char)
  5026. xd.SoundId = "rbxassetid://445796828"
  5027. xd.Pitch = 0.75
  5028. xd.Looped = true
  5029. xd.Volume = 1.25
  5030. xd:Play()
  5031. local a = Instance.new("Part",Character)
  5032. a.Name = "Direction"
  5033. a.Anchored = true
  5034. a.BrickColor = bc("Alder")
  5035. a.Color = MAINRUINCOLOR.Color
  5036. a.Material = "Neon"
  5037. a.Transparency = 0.5
  5038. a.Shape = "Cylinder"
  5039. a.CanCollide = false
  5040. local a2 = Instance.new("Part",Character)
  5041. a2.Name = "Direction"
  5042. a2.Anchored = true
  5043. a2.BrickColor = bc("New Yeller")
  5044. a2.Color = MAINRUINCOLOR.Color
  5045. a2.Material = "Neon"
  5046. a2.Transparency = 0.5
  5047. a2.Shape = "Cylinder"
  5048. a2.CanCollide = false
  5049. local ba = Instance.new("Part",Character)
  5050. ba.Name = "HitDirect"
  5051. ba.Anchored = true
  5052. ba.BrickColor = bc("Cool yellow")
  5053. ba.Material = "Neon"
  5054. ba.Transparency = 1
  5055. ba.CanCollide = false
  5056. local ray = Ray.new(
  5057. orb.CFrame.p, -- origin
  5058. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5059. )
  5060. local ignore = Character
  5061. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5062. a.BottomSurface = 10
  5063. a.TopSurface = 10
  5064. a2.BottomSurface = 10
  5065. a2.TopSurface = 10
  5066. local distance = (orb.CFrame.p - position).magnitude
  5067. a.Size = Vector3.new(distance, 1, 1)
  5068. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5069. a2.Size = Vector3.new(distance, 1, 1)
  5070. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5071. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5072. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5073. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5074. game:GetService("Debris"):AddItem(a, 60)
  5075. game:GetService("Debris"):AddItem(a2, 60)
  5076. game:GetService("Debris"):AddItem(ba, 60)
  5077. local outerscale = 0
  5078. local msh = Instance.new("SpecialMesh",a)
  5079. msh.MeshType = "Cylinder"
  5080. msh.Scale = vt(1,0,0)
  5081. local msh2 = Instance.new("SpecialMesh",a2)
  5082. msh2.MeshType = "Cylinder"
  5083. msh2.Scale = vt(1,0,0)
  5084. for i = 0,2,0.1 do
  5085. swait()
  5086. CameraEnshaking(1,1)
  5087. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  5088. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  5089. outerscale = outerscale - 0.015
  5090. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5091. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5092. ray = Ray.new(
  5093. orb.CFrame.p, -- origin
  5094. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5095. )
  5096. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5097. distance = (orb.CFrame.p - position).magnitude
  5098. if typrot == 1 then
  5099. rotation = rotation + 2.5
  5100. elseif typrot == 2 then
  5101. rotation = rotation - 2.5
  5102. end
  5103. RootPart.CFrame = FaceMouse()[1]
  5104. a.Size = Vector3.new(distance, 1, 1)
  5105. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5106. a2.Size = Vector3.new(distance, 1, 1)
  5107. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5108. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5109. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5110. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5111. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5112. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5113. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5114. end
  5115. for z = 0, 2 do
  5116. for i = 0,4,0.1 do
  5117. swait()
  5118. CameraEnshaking(1,1)
  5119. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5120. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5121. outerscale = outerscale + 0.015
  5122. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5123. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5124. ray = Ray.new(
  5125. orb.CFrame.p, -- origin
  5126. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5127. )
  5128. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5129. distance = (orb.CFrame.p - position).magnitude
  5130. if typrot == 1 then
  5131. rotation = rotation + 2.5
  5132. elseif typrot == 2 then
  5133. rotation = rotation - 2.5
  5134. end
  5135. RootPart.CFrame = FaceMouse()[1]
  5136. a.Size = Vector3.new(distance, 1, 1)
  5137. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5138. a2.Size = Vector3.new(distance, 1, 1)
  5139. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5140. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5141. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5142. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5143. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5144. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5145. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5146. end
  5147. for i = 0,4,0.1 do
  5148. swait()
  5149. CameraEnshaking(1,1)
  5150. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5151. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5152. outerscale = outerscale - 0.015
  5153. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5154. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5155. ray = Ray.new(
  5156. orb.CFrame.p, -- origin
  5157. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5158. )
  5159. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5160. distance = (orb.CFrame.p - position).magnitude
  5161. if typrot == 1 then
  5162. rotation = rotation + 2.5
  5163. elseif typrot == 2 then
  5164. rotation = rotation - 2.5
  5165. end
  5166. RootPart.CFrame = FaceMouse()[1]
  5167. a.Size = Vector3.new(distance, 1, 1)
  5168. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5169. a2.Size = Vector3.new(distance, 1, 1)
  5170. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5171. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5172. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5173. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5174. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5175. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5176. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5177. end
  5178. end
  5179. for i = 0,4,0.1 do
  5180. swait()
  5181. CameraEnshaking(1,1)
  5182. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  5183. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  5184. xd.Volume = xd.Volume - 0.025
  5185. a.Transparency = a.Transparency + 0.025
  5186. a2.Transparency = a2.Transparency + 0.025
  5187. outerscale = outerscale - 0.015
  5188. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5189. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  5190. ray = Ray.new(
  5191. orb.CFrame.p, -- origin
  5192. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  5193. )
  5194. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5195. distance = (orb.CFrame.p - position).magnitude
  5196. if typrot == 1 then
  5197. rotation = rotation + 2.5
  5198. elseif typrot == 2 then
  5199. rotation = rotation - 2.5
  5200. end
  5201. RootPart.CFrame = FaceMouse()[1]
  5202. a.Size = Vector3.new(distance, 1, 1)
  5203. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5204. a2.Size = Vector3.new(distance, 1, 1)
  5205. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5206. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5207. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5208. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5209. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5210. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  5211. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  5212. end
  5213. xd:Destroy()
  5214. a:Destroy()
  5215. a2:Destroy()
  5216. ba:Destroy()
  5217. orb:Destroy()
  5218. orbe:Destroy()
  5219. attack = false
  5220. end
  5221.  
  5222.  
  5223.  
  5224. function attackone()
  5225. attack = true
  5226. for i = 0,1,0.1 do
  5227. swait()
  5228. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  5229. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  5230. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5231. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5232. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  5233. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  5234. end
  5235. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  5236.  
  5237. local hitb = Instance.new("Part", char)
  5238. hitb.Anchored = true
  5239. hitb.CanCollide = false
  5240. hitb.FormFactor = 3
  5241. hitb.Name = "Ring"
  5242. hitb.Material = "Neon"
  5243. hitb.Size = Vector3.new(1, 1, 1)
  5244. hitb.Transparency = 1
  5245. hitb.TopSurface = 0
  5246. hitb.BottomSurface = 0
  5247. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5248. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5249. hitb:Destroy()
  5250. for i = 0,1,0.1 do
  5251. swait()
  5252. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  5253. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  5254. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  5255. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5256. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  5257. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  5258. end
  5259.  
  5260. attack = false
  5261. end
  5262.  
  5263. function attacktwo()
  5264. attack = true
  5265. for i = 0,1,0.1 do
  5266. swait()
  5267. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5268. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5269. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5270. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5271. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
  5272. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
  5273. end
  5274. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5275. local hitb = Instance.new("Part", char)
  5276. hitb.Anchored = true
  5277. hitb.CanCollide = false
  5278. hitb.FormFactor = 3
  5279. hitb.Name = "Ring"
  5280. hitb.Material = "Neon"
  5281. hitb.Size = Vector3.new(1, 1, 1)
  5282. hitb.Transparency = 1
  5283. hitb.TopSurface = 0
  5284. hitb.BottomSurface = 0
  5285. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5286. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5287. hitb:Destroy()
  5288. for i = 0,1,0.1 do
  5289. swait()
  5290. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5291. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5292. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5293. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5294. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
  5295. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
  5296. end
  5297. attack = false
  5298. end
  5299.  
  5300. function attackthree()
  5301. attack = true
  5302. for i = 0,1,0.1 do
  5303. swait()
  5304. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5305. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5306. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5307. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5308. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  5309. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  5310. end
  5311. local distlook = 5
  5312. for i = 0, 4 do
  5313. swait(2)
  5314. CameraEnshaking(2,3)
  5315. local hite = Instance.new("Part", char)
  5316. hite.Anchored = true
  5317. hite.CanCollide = false
  5318. hite.FormFactor = 3
  5319. hite.Name = "Ring"
  5320. hite.Material = "Neon"
  5321. hite.Size = Vector3.new(1, 1, 1)
  5322. hite.Transparency = 1
  5323. hite.TopSurface = 0
  5324. hite.BottomSurface = 0
  5325. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5326. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5327. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5328. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5329. for i = 0, 2 do
  5330. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5331. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5332. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5333. end
  5334. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5335. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5336. game:GetService("Debris"):AddItem(hite, 5)
  5337. distlook = distlook + 10
  5338. end
  5339. attack = false
  5340. end
  5341.  
  5342. function FinalCalamity()
  5343. end
  5344.  
  5345. function resetmode()
  5346. rainbowmode = false
  5347. chaosmode = false
  5348. glitchymode = false
  5349. tl1.Enabled = false
  5350. tl2.Enabled = false
  5351. tl3.Enabled = false
  5352. local lust = ModeOfGlitch == 69
  5353. ModeOfGlitch = 1
  5354. storehumanoidWS = 16
  5355. if(not lust)then
  5356. newTheme("rbxassetid://1564523997",48.6,1,1)
  5357. end
  5358. coroutine.resume(coroutine.create(function()
  5359. attack = true
  5360. hum.WalkSpeed = 0
  5361. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5362. for i = 0,4,0.1 do
  5363. swait()
  5364. 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)
  5365. 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)
  5366. 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)
  5367. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5368. 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)
  5369. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5370. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5371. end
  5372. if(lust)then
  5373. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5374. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5375. for i = 0, 49 do
  5376. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
  5377. end
  5378.  
  5379. for i = 0,4,0.05 do
  5380. swait()
  5381. Pitch = 1-i/4
  5382. 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)
  5383. 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)
  5384. 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)
  5385. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5386. 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)
  5387. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5388. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5389. end
  5390. for i = 0,3,0.1 do
  5391. swait()
  5392. 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)
  5393. 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)
  5394. 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)
  5395. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5396. 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)
  5397. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5398. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5399. end
  5400. newTheme("rbxassetid://1564523997",48.6,1,1)
  5401. end
  5402. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5403. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5404. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5405. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5406. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5407. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5408. RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
  5409. CameraEnshaking(5,2.5)
  5410. MAINRUINCOLOR = BrickColor.new("Really black")
  5411. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5412. for i = 0, 49 do
  5413. 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)
  5414. end
  5415. for i = 0,3,0.1 do
  5416. 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)
  5417. end
  5418. for i, v in pairs(mw2:GetChildren()) do
  5419. if v:IsA("Part") then
  5420. v.BrickColor = BrickColor.new("Really black")
  5421. v.Material = "Neon"
  5422. end
  5423. end
  5424. for i, v in pairs(mw1:GetChildren()) do
  5425. if v:IsA("Part") then
  5426. v.Transparency = 1
  5427. v.BrickColor = BrickColor.new("Really black")
  5428. v.Material = "Neon"
  5429. end
  5430. end
  5431. for i, v in pairs(m:GetChildren()) do
  5432. if v:IsA("Part") then
  5433. v.BrickColor = BrickColor.new("Really black")
  5434. v.Material = "Glass"
  5435. end
  5436. end
  5437. for i, v in pairs(m2:GetChildren()) do
  5438. if v:IsA("Part") then
  5439. v.BrickColor = BrickColor.new("Dark stone grey")
  5440. v.Material = "Granite"
  5441. end
  5442. end
  5443. for i, v in pairs(m3:GetChildren()) do
  5444. if v:IsA("Part") then
  5445. v.BrickColor = BrickColor.new("Really black")
  5446. v.Material = "Neon"
  5447. end
  5448. end
  5449. for i, v in pairs(extrawingmod1:GetChildren()) do
  5450. if v:IsA("Part") then
  5451. v.Transparency = 1
  5452. v.BrickColor = BrickColor.new("White")
  5453. v.Material = "Neon"
  5454. end
  5455. end
  5456. for i, v in pairs(extrawingmod2:GetChildren()) do
  5457. if v:IsA("Part") then
  5458. v.Transparency = 1
  5459. v.BrickColor = BrickColor.new("White")
  5460. v.Material = "Neon"
  5461. end
  5462. end
  5463. for i = 0,2,0.1 do
  5464. swait()
  5465. 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)
  5466. 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)
  5467. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5468. 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))),.2)
  5469. 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))),.2)
  5470. 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))),.2)
  5471. end
  5472. hum.WalkSpeed = storehumanoidWS
  5473. attack = false
  5474. end))
  5475. end
  5476.  
  5477. function lustmode()
  5478.  
  5479. ModeOfGlitch = 69
  5480. storehumanoidWS = 16
  5481. rainbowmode = false
  5482. chaosmode = false
  5483. glitchymode = false
  5484. tl1.Enabled = false
  5485. tl2.Enabled = false
  5486. tl3.Enabled = false
  5487. newTheme("rbxassetid://1203355187",0,1,1)
  5488. coroutine.wrap(function()
  5489. attack = true
  5490. hum.WalkSpeed = 0
  5491. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5492. for i = 0,4,0.1 do
  5493. swait()
  5494. 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)
  5495. 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)
  5496. 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)
  5497. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5498. 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)
  5499. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5500. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5501. end
  5502. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5503. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5504.  
  5505. for i = 0,4,0.1 do
  5506. swait()
  5507. 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)
  5508. 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)
  5509. 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)
  5510. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5511. 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)
  5512. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5513. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5514. end
  5515. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5516. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5517. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5518. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5519. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5520. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5521. CameraEnshaking(5,2.5)
  5522. MAINRUINCOLOR = BrickColor.new("Pink")
  5523. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5524. for i = 0, 49 do
  5525. 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))),6,6,6,0.12,MAINRUINCOLOR,0,true)
  5526. end
  5527. for i = 0,3,0.1 do
  5528. 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,true)
  5529. end
  5530. RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5531. for i, v in pairs(mw2:GetChildren()) do
  5532. if v:IsA("Part") then
  5533. v.BrickColor = MAINRUINCOLOR
  5534. v.Material = "Neon"
  5535. end
  5536. end
  5537. for i, v in pairs(mw1:GetChildren()) do
  5538. if v:IsA("Part") then
  5539. v.Transparency = 1
  5540. v.BrickColor = MAINRUINCOLOR
  5541. v.Material = "Neon"
  5542. end
  5543. end
  5544. for i, v in pairs(m:GetChildren()) do
  5545. if v:IsA("Part") then
  5546. v.BrickColor = BrickColor.new("Pink")
  5547. v.Material = "Ice"
  5548. end
  5549. end
  5550. for i, v in pairs(m2:GetChildren()) do
  5551. if v:IsA("Part") then
  5552. v.BrickColor = BrickColor.new("Pink")
  5553. v.Material = "Glass"
  5554. end
  5555. end
  5556. for i, v in pairs(m3:GetChildren()) do
  5557. if v:IsA("Part") then
  5558. v.BrickColor = BrickColor.new("Pink")
  5559. v.Material = "Neon"
  5560. end
  5561. end
  5562. for i, v in pairs(extrawingmod1:GetChildren()) do
  5563. if v:IsA("Part") then
  5564. v.Transparency = 1
  5565. v.BrickColor = BrickColor.new("Pink")
  5566. v.Material = "Neon"
  5567. end
  5568. end
  5569. for i, v in pairs(extrawingmod2:GetChildren()) do
  5570. if v:IsA("Part") then
  5571. v.Transparency = 1
  5572. v.BrickColor = BrickColor.new("Pink")
  5573. v.Material = "Neon"
  5574. end
  5575. end
  5576. for i = 0,2,0.1 do
  5577. swait()
  5578. 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)
  5579. 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)
  5580. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5581. 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))),.2)
  5582. 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))),.2)
  5583. 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))),.2)
  5584. end
  5585. hum.WalkSpeed = storehumanoidWS
  5586. attack = false
  5587. end)()
  5588. end
  5589.  
  5590. function insanitymode()
  5591. storehumanoidWS = 16
  5592. hum.WalkSpeed = 0
  5593. rainbowmode = false
  5594. glitchymode = false
  5595. chaosmode = true
  5596. tl1.Enabled = true
  5597. tl2.Enabled = true
  5598. tl3.Enabled = true
  5599. local lust = ModeOfGlitch == 69
  5600. newTheme("rbxassetid://919231299",0,1,1)
  5601. coroutine.resume(coroutine.create(function()
  5602. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5603. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5604. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5605. attack = true
  5606. hum.WalkSpeed = 0
  5607. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5608. for i = 0,4,0.1 do
  5609. swait()
  5610. 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)
  5611. 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)
  5612. 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)
  5613. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5614. 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)
  5615. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5616. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5617. end
  5618. for i = 0,8,0.1 do
  5619. swait()
  5620. 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)
  5621. 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,.035,MAINRUINCOLOR,0)
  5622. 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)
  5623. 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)
  5624. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5625. 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)
  5626. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5627. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5628. end
  5629.  
  5630. for i = 0,3,0.1 do
  5631. swait()
  5632. 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)
  5633. 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)
  5634. 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)
  5635. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5636. 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)
  5637. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5638. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5639. end
  5640. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5641. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5642. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5643. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5644. CameraEnshaking(5,2.5)
  5645. MAINRUINCOLOR = BrickColor.new("Black")
  5646. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5647. for i = 0, 49 do
  5648. 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)
  5649. end
  5650. for i = 0,3,0.1 do
  5651. 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)
  5652. end
  5653. ModeOfGlitch = 666666
  5654. for i, v in pairs(mw2:GetChildren()) do
  5655. if v:IsA("Part") then
  5656. v.BrickColor = MAINRUINCOLOR
  5657. v.Material = "Neon"
  5658. end
  5659. end
  5660. for i, v in pairs(mw1:GetChildren()) do
  5661. if v:IsA("Part") then
  5662. v.Transparency = 0.75
  5663. v.BrickColor = BrickColor.random()
  5664. v.Material = "Neon"
  5665. end
  5666. end
  5667. for i, v in pairs(m:GetChildren()) do
  5668. if v:IsA("Part") then
  5669. v.BrickColor = BrickColor.new("Black")
  5670. v.Material = "Neon"
  5671. end
  5672. end
  5673. for i, v in pairs(m2:GetChildren()) do
  5674. if v:IsA("Part") then
  5675. v.BrickColor = BrickColor.random()
  5676. v.Material = "Neon"
  5677. end
  5678. end
  5679. for i, v in pairs(m3:GetChildren()) do
  5680. if v:IsA("Part") then
  5681. v.BrickColor = BrickColor.new("Black")
  5682. v.Material = "Neon"
  5683. end
  5684. end
  5685. for i, v in pairs(extrawingmod1:GetChildren()) do
  5686. if v:IsA("Part") then
  5687. v.Transparency = .75
  5688. v.BrickColor = BrickColor.Random()
  5689. v.Material = "Neon"
  5690. end
  5691. end
  5692. for i, v in pairs(extrawingmod2:GetChildren()) do
  5693. if v:IsA("Part") then
  5694. v.Transparency = 0
  5695. v.BrickColor = BrickColor.new("Black")
  5696. v.Material = "Neon"
  5697. end
  5698. end
  5699. for i = 0,2,0.1 do
  5700. swait()
  5701. 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)
  5702. 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)
  5703. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5704. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5705. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5706. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5707. end
  5708. hum.WalkSpeed = storehumanoidWS
  5709. attack = false
  5710. end))
  5711. end
  5712.  
  5713. local attacktype = 1
  5714. mouse.Button1Down:connect(function()
  5715. if attack == false and attacktype == 1 then
  5716. attacktype = 2
  5717. attackone()
  5718. elseif attack == false and attacktype == 2 then
  5719. attacktype = 3
  5720. attacktwo()
  5721. elseif attack == false and attacktype == 3 then
  5722. attacktype = 1
  5723. attackthree()
  5724. elseif attack == false and attacktype == 4 then
  5725. attacktype = 1
  5726. --attackfour()
  5727. end
  5728. end)
  5729.  
  5730. function Judgement()
  5731. attack = true
  5732. hum.WalkSpeed = 0
  5733. local p = Instance.new("Part",root)
  5734. p.Anchored = true
  5735. p.CanCollide = false
  5736. p.BrickColor = MAINRUINCOLOR
  5737. p.Material = Enum.Material.Neon
  5738. p.Size = Vector3.new(1,1,1)
  5739. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5740. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5741. local m = Instance.new("SpecialMesh",p)
  5742. m.MeshType = "Cylinder"
  5743. m.Scale = Vector3.new(2000,2,2)
  5744. local targ = Instance.new("Part",root)
  5745. targ.Transparency = 1
  5746. targ.CanCollide = false
  5747. targ.Size = Vector3.new(1,1,1)
  5748. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5749. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5750. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5751. for i = 1,15 do
  5752. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5753. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5754. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5755. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5756. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5757. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
  5758. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  5759. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5760. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  5761. m.Scale = m.Scale+Vector3.new(0,1,1)
  5762. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5763. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5764. swait()
  5765. end
  5766. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5767. for i = 1,200 do
  5768. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5769. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5770. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5771. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5772. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5773. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5774. swait()
  5775. end
  5776. for i =1,15 do
  5777. m.Scale = m.Scale-Vector3.new(1,1,1)
  5778. p.Transparency = i / 15
  5779. swait()
  5780. end
  5781. p:Destroy()
  5782. hum.WalkSpeed = storehumanoidWS
  5783. attack = false
  5784. end
  5785.  
  5786. local ODerDB = false
  5787. function ChooseODer()
  5788. if(not ODerDB)then
  5789. coroutine.wrap(function()
  5790.  
  5791. local allowOD = true
  5792. local whom = (mouse.Target and mouse.Target.Parent)
  5793. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5794. ODerDB = true
  5795. for _,v in next, ODers do
  5796. if(v == whom)then
  5797. print'nO OD SELF'
  5798. allowOD = false
  5799. end
  5800. end
  5801. if(allowOD)then
  5802. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  5803. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5804.  
  5805. ref.CFrame = Torso.CFrame
  5806. ref.Anchored = true
  5807. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5808. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5809. local MPos = whom.Head.CFrame*cf(0,4,0)
  5810. for i = 0, 1, .05 do
  5811. swait()
  5812. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5813.  
  5814. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5815. if whom:FindFirstChild'Head' == nil then
  5816. break
  5817. end
  5818. end
  5819. ref:destroy()
  5820. if whom:FindFirstChild'Head' then
  5821. table.insert(ODers,whom)
  5822. if(#ODers > 2)then
  5823. table.remove(ODers,1)
  5824. end
  5825. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5826. end
  5827. end
  5828. ODerDB = false
  5829. end
  5830. end)()
  5831. end
  5832. end
  5833.  
  5834. function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5835. attack = true
  5836. hum.WalkSpeed = 0
  5837. storehumanoidWS = 75
  5838. hum.JumpPower = 0
  5839. newThemeCust("rbxassetid://1420353940",0,1,1)
  5840. kan.TimePosition = 0
  5841. ModeOfGlitch = 8376532578634534
  5842. repeat swait() until kan.IsLoaded
  5843. chatfunc("Riddle me this..",text.TextStrokeColor3)
  5844. for i = 0, 14, .1 do
  5845. swait()
  5846. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5847. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5848. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5849. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5850. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5851. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5852. end
  5853. chatfunc("Riddle me that..",text.TextStrokeColor3)
  5854. for i = 0, 12, .1 do
  5855. swait()
  5856. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5857. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5858. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5860. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5861. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5862. end
  5863. chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
  5864. for i = 0, 16, .1 do
  5865. swait()
  5866. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5867. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5868. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5869. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5870. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5871. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5872. end
  5873. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5874. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5875. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5876. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5877. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  5878. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  5879. RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
  5880. CameraEnshaking(5,2.5)
  5881. MAINRUINCOLOR = BrickColor.new("Really black")
  5882. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5883. tl1.Enabled = true
  5884. tl2.Enabled = true
  5885. tl3.Enabled = true
  5886. for i = 0, 49 do
  5887. 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)
  5888. end
  5889. for i = 0,3,0.1 do
  5890. 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)
  5891. end
  5892. for i, v in pairs(mw2:GetChildren()) do
  5893. if v:IsA("Part") then
  5894. v.BrickColor = BrickColor.new("Really black")
  5895. v.Material = "Glass"
  5896. end
  5897. end
  5898. for i, v in pairs(mw1:GetChildren()) do
  5899. if v:IsA("Part") then
  5900. v.Transparency = 0
  5901. v.BrickColor = BrickColor.new("Really black")
  5902. v.Material = "Glass"
  5903. end
  5904. end
  5905. for i, v in pairs(m:GetChildren()) do
  5906. if v:IsA("Part") then
  5907. v.BrickColor = BrickColor.new("Really black")
  5908. v.Material = "Glass"
  5909. end
  5910. end
  5911. for i, v in pairs(m2:GetChildren()) do
  5912. if v:IsA("Part") then
  5913. v.BrickColor = BrickColor.new("Dark stone grey")
  5914. v.Material = "Granite"
  5915. end
  5916. end
  5917. for i, v in pairs(m3:GetChildren()) do
  5918. if v:IsA("Part") then
  5919. v.BrickColor = BrickColor.new("Really black")
  5920. v.Material = "Glass"
  5921. end
  5922. end
  5923. for i, v in pairs(extrawingmod1:GetChildren()) do
  5924. if v:IsA("Part") then
  5925. v.Transparency = 0
  5926. v.BrickColor = BrickColor.new("Dark stone grey")
  5927. v.Material = "Glass"
  5928. end
  5929. end
  5930. for i, v in pairs(extrawingmod2:GetChildren()) do
  5931. if v:IsA("Part") then
  5932. v.Transparency = 0
  5933. v.BrickColor = BrickColor.new("Dark stone grey")
  5934. v.Material = "Glass"
  5935. end
  5936. end
  5937. for i = 0,2,0.1 do
  5938. swait()
  5939. 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)
  5940. 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)
  5941. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  5942. 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))),.2)
  5943. 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))),.2)
  5944. 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))),.2)
  5945. end
  5946. hum.JumpPower = 50
  5947. hum.WalkSpeed = storehumanoidWS
  5948. attack = false
  5949. end
  5950.  
  5951. function FuckMeSidewaysAndCallMeGay()
  5952. local whom = (mouse.Target and mouse.Target.Parent)
  5953. --[[local fuckThisBoi = false
  5954. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5955. for _,v in next, ODers do
  5956. if(v == whom)then
  5957. fuckThisBoi = false
  5958. end
  5959. end
  5960. end
  5961. if(not fuckThisBoi)then
  5962. attack = false
  5963. warn'to fuck that boi you need to target them with z'
  5964. else]]
  5965. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5966. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5967. local hum = whom:FindFirstChildOfClass'Humanoid'
  5968. local ocf = RootPart.CFrame
  5969. hum.WalkSpeed = 0
  5970. hum.JumpPower = 0
  5971. hed.Anchored = true
  5972. RootPart.Anchored = true
  5973. Humanoid.WalkSpeed = 0
  5974. Humanoid.JumpPower = 0
  5975. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5976. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5977. for i = 0, 9 do
  5978. 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("Pink"),0)
  5979. end
  5980. for i = 0, 24 do
  5981. 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("Pink"),0)
  5982. end
  5983. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5984. attack = true
  5985. local speed = 1
  5986. local heck;
  5987. local stopitlol = false;
  5988. heck = mouse.KeyUp:connect(function(k)
  5989. if(k:lower() == 'm')then
  5990. stopitlol = true
  5991. heck:disconnect()
  5992. end
  5993. end)
  5994. local times = 0
  5995. repeat swait()
  5996. speed = speed - .01
  5997. times = times + 1
  5998. if(speed < .1)then
  5999. speed = .1
  6000. end
  6001. for i = 0, speed, .05 do
  6002. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6003. swait()
  6004. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6005. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6006. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6007. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6008. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6009. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6010. end
  6011. CameraEnshaking(5,5)
  6012.  
  6013. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  6014.  
  6015. for i = 0, speed, .05 do
  6016. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6017. swait()
  6018. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6019. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6020. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6021. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6022. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6023. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6024. end
  6025. until stopitlol and times >= 3
  6026. for i = 1, 3 do
  6027. for i = 0, 1.5, .05 do
  6028. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6029. swait()
  6030. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  6031. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6032. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  6033. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6035. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  6036. end
  6037. CameraEnshaking(5,25)
  6038.  
  6039. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6040.  
  6041.  
  6042. coroutine.resume(coroutine.create(function()
  6043. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6044. bld.LightEmission = 0.1
  6045. bld.Texture = "rbxassetid://284205403"
  6046. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6047. bld.Rate = 500
  6048. bld.Lifetime = NumberRange.new(1)
  6049. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6050. bld.Acceleration = vt(0,-25,0)
  6051. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6052. bld.Speed = NumberRange.new(10,50)
  6053. bld.EmissionDirection = "Back"
  6054. bld.VelocitySpread = 25
  6055. bld.Rotation = NumberRange.new(-500,500)
  6056. bld.RotSpeed = NumberRange.new(-500,500)
  6057. bld.Enabled = false
  6058. bld:Emit(250)
  6059. end))
  6060. coroutine.resume(coroutine.create(function()
  6061. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6062. bld.LightEmission = 0.1
  6063. bld.Texture = "rbxassetid://284205403"
  6064. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6065. bld.Rate = 500
  6066. bld.Lifetime = NumberRange.new(1)
  6067. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6068. bld.Acceleration = vt(0,-25,0)
  6069. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6070. bld.Speed = NumberRange.new(10,50)
  6071. bld.EmissionDirection = "Back"
  6072. bld.VelocitySpread = 25
  6073. bld.Rotation = NumberRange.new(-500,500)
  6074. bld.RotSpeed = NumberRange.new(-500,500)
  6075. bld.Enabled = false
  6076. bld:Emit(250)
  6077. end))
  6078. for i = 0, 1.5, .05 do
  6079. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6080. swait()
  6081. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  6082. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6083. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  6084. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6085. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6086. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6087. end
  6088. end
  6089. for i = 0, 4, .05 do
  6090. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6091. swait()
  6092. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  6093. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6094. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  6095. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  6096. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6097. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  6098. end
  6099. CameraEnshaking(5,25)
  6100. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  6101. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  6102.  
  6103. dmg(whom)
  6104. coroutine.resume(coroutine.create(function()
  6105. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  6106. bld.LightEmission = 0.1
  6107. bld.Texture = "rbxassetid://284205403"
  6108. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6109. bld.Rate = 500
  6110. bld.Lifetime = NumberRange.new(1)
  6111. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6112. bld.Acceleration = vt(0,-25,0)
  6113. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6114. bld.Speed = NumberRange.new(10,50)
  6115. bld.EmissionDirection = "Back"
  6116. bld.VelocitySpread = 25
  6117. bld.Rotation = NumberRange.new(-500,500)
  6118. bld.RotSpeed = NumberRange.new(-500,500)
  6119. bld.Enabled = true
  6120. end))
  6121. coroutine.resume(coroutine.create(function()
  6122. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  6123. bld.LightEmission = 0.1
  6124. bld.Texture = "rbxassetid://284205403"
  6125. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  6126. bld.Rate = 500
  6127. bld.Lifetime = NumberRange.new(1)
  6128. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6129. bld.Acceleration = vt(0,-25,0)
  6130. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  6131. bld.Speed = NumberRange.new(10,50)
  6132. bld.EmissionDirection = "Back"
  6133. bld.VelocitySpread = 25
  6134. bld.Rotation = NumberRange.new(-500,500)
  6135. bld.RotSpeed = NumberRange.new(-500,500)
  6136. bld.Enabled = true
  6137. end))
  6138. for i = 0, 3, .05 do
  6139. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  6140. swait()
  6141. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  6142. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  6143. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  6144. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  6145. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6146. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  6147. end
  6148.  
  6149. RootPart.CFrame = ocf
  6150. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6151. for i = 0, 9 do
  6152. 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("Pink"),0)
  6153. end
  6154. for i = 0, 24 do
  6155. 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("Pink"),0)
  6156. end
  6157. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  6158. RootPart.Anchored = false
  6159. Humanoid.WalkSpeed = storehumanoidWS
  6160. Humanoid.JumpPower = 50
  6161. attack = false
  6162. end
  6163. end
  6164.  
  6165. local input = ""
  6166.  
  6167. mouse.KeyDown:connect(function(k)
  6168. if(k == "w" or k == "a" or k == "s" or k == "d")then
  6169. input = input .. k
  6170. local newInput = input
  6171. coroutine.wrap(function()
  6172. for i = 1, 25 do
  6173. if(newInput ~= input)then break end
  6174. swait()
  6175. end
  6176. if(newInput == input)then input = "" end
  6177. end)()
  6178. if(input == "wwssadad" and not AllowRape)then
  6179. AllowRape = true
  6180. warn("Rape unlocked! Have fun ;)")
  6181. elseif(input == "wwaassdd" and not AllowCata)then
  6182. AllowCata = true
  6183. warn("You unlocked CATASTROPHE.")
  6184. elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  6185. ChaosBegone()
  6186. end
  6187. end
  6188. end)
  6189.  
  6190. mouse.KeyDown:connect(function(k)
  6191. if k == "h" then
  6192.  
  6193. end
  6194.  
  6195. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  6196. ModeOfGlitch = 2
  6197. storehumanoidWS = 16
  6198. hum.WalkSpeed = 16
  6199. rainbowmode = false
  6200. chaosmode = false
  6201. glitchymode = false
  6202. tl1.Enabled = false
  6203. tl2.Enabled = false
  6204. tl3.Enabled = false
  6205. RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
  6206. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  6207. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  6208. newTheme("rbxassetid://1539245059",0,1,1)
  6209. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  6210. for i, v in pairs(mw2:GetChildren()) do
  6211. if v:IsA("Part") then
  6212. v.BrickColor = MAINRUINCOLOR
  6213. v.Material = "Neon"
  6214. end
  6215. end
  6216. for i, v in pairs(mw1:GetChildren()) do
  6217. if v:IsA("Part") then
  6218. v.Transparency = 1
  6219. v.BrickColor = MAINRUINCOLOR
  6220. v.Material = "Neon"
  6221. end
  6222. end
  6223. for i, v in pairs(m:GetChildren()) do
  6224. if v:IsA("Part") then
  6225. v.BrickColor = BrickColor.new("White")
  6226. v.Material = "Ice"
  6227. end
  6228. end
  6229. for i, v in pairs(m2:GetChildren()) do
  6230. if v:IsA("Part") then
  6231. v.BrickColor = BrickColor.new("Pastel light blue")
  6232. v.Material = "Glass"
  6233. end
  6234. end
  6235. for i, v in pairs(m3:GetChildren()) do
  6236. if v:IsA("Part") then
  6237. v.BrickColor = BrickColor.new("Toothpaste")
  6238. v.Material = "Neon"
  6239. end
  6240. end
  6241. for i, v in pairs(extrawingmod1:GetChildren()) do
  6242. if v:IsA("Part") then
  6243. v.Transparency = 1
  6244. v.BrickColor = BrickColor.new("White")
  6245. v.Material = "Neon"
  6246. end
  6247. end
  6248. for i, v in pairs(extrawingmod2:GetChildren()) do
  6249. if v:IsA("Part") then
  6250. v.Transparency = 1
  6251. v.BrickColor = BrickColor.new("White")
  6252. v.Material = "Neon"
  6253. end
  6254. end
  6255. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  6256. resetmode()
  6257. end
  6258. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  6259. lustmode()
  6260. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  6261. resetmode()
  6262. end
  6263. if k == "m" and attack == false and ModeOfGlitch == 1 then
  6264. RiddleMeThisRiddleMeThat()
  6265. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  6266. resetmode()
  6267. end
  6268. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  6269. ModeOfGlitch = 3
  6270. storehumanoidWS = 16
  6271. hum.WalkSpeed = 16
  6272. rainbowmode = false
  6273. chaosmode = false
  6274. glitchymode = true
  6275. tl1.Enabled = true
  6276. tl2.Enabled = true
  6277. tl3.Enabled = true
  6278. RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
  6279. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  6280. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6281. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6282. MAINRUINCOLOR = BrickColor.new("White")
  6283. for i, v in pairs(mw2:GetChildren()) do
  6284. if v:IsA("Part") then
  6285. v.BrickColor = MAINRUINCOLOR
  6286. v.Material = "Neon"
  6287. end
  6288. end
  6289. for i, v in pairs(mw1:GetChildren()) do
  6290. if v:IsA("Part") then
  6291. v.Transparency = 0
  6292. v.BrickColor = MAINRUINCOLOR
  6293. v.Material = "Neon"
  6294. end
  6295. end
  6296. for i, v in pairs(m:GetChildren()) do
  6297. if v:IsA("Part") then
  6298. v.BrickColor = BrickColor.new("Really black")
  6299. v.Material = "Ice"
  6300. end
  6301. end
  6302. for i, v in pairs(m2:GetChildren()) do
  6303. if v:IsA("Part") then
  6304. v.BrickColor = BrickColor.new("Dark indigo")
  6305. v.Material = "Glass"
  6306. end
  6307. end
  6308. for i, v in pairs(m3:GetChildren()) do
  6309. if v:IsA("Part") then
  6310. v.Transparency = 1
  6311. v.BrickColor = BrickColor.new("Royal purple")
  6312. v.Material = "Neon"
  6313. end
  6314. end
  6315. for i, v in pairs(extrawingmod1:GetChildren()) do
  6316. if v:IsA("Part") then
  6317. v.Transparency = 1
  6318. v.BrickColor = BrickColor.new("White")
  6319. v.Material = "Neon"
  6320. end
  6321. end
  6322. for i, v in pairs(extrawingmod2:GetChildren()) do
  6323. if v:IsA("Part") then
  6324. v.Transparency = 1
  6325. v.BrickColor = BrickColor.new("White")
  6326. v.Material = "Neon"
  6327. end
  6328. end
  6329. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  6330. resetmode()
  6331. end
  6332. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  6333. ModeOfGlitch = 4
  6334. storehumanoidWS = 16
  6335. hum.WalkSpeed = 16
  6336. rainbowmode = false
  6337. glitchymode = false
  6338. chaosmode = true
  6339. tl1.Enabled = true
  6340. tl2.Enabled = true
  6341. tl3.Enabled = true
  6342. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
  6343. newTheme("rbxassetid://1369263130",0,1,1)
  6344. MAINRUINCOLOR = BrickColor.new("Black")
  6345. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6346. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6347. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6348. for i, v in pairs(mw2:GetChildren()) do
  6349. if v:IsA("Part") then
  6350. v.BrickColor = MAINRUINCOLOR
  6351. v.Material = "Neon"
  6352. end
  6353. end
  6354. for i, v in pairs(mw1:GetChildren()) do
  6355. if v:IsA("Part") then
  6356. v.Transparency = 0.75
  6357. v.BrickColor = BrickColor.random()
  6358. v.Material = "Neon"
  6359. end
  6360. end
  6361. for i, v in pairs(m:GetChildren()) do
  6362. if v:IsA("Part") then
  6363. v.BrickColor = BrickColor.new("Black")
  6364. v.Material = "Neon"
  6365. end
  6366. end
  6367. for i, v in pairs(m2:GetChildren()) do
  6368. if v:IsA("Part") then
  6369. v.BrickColor = BrickColor.random()
  6370. v.Material = "Neon"
  6371. end
  6372. end
  6373. for i, v in pairs(m3:GetChildren()) do
  6374. if v:IsA("Part") then
  6375. v.BrickColor = BrickColor.new("Black")
  6376. v.Material = "Neon"
  6377. end
  6378. end
  6379. for i, v in pairs(extrawingmod1:GetChildren()) do
  6380. if v:IsA("Part") then
  6381. v.Transparency = 1
  6382. v.BrickColor = BrickColor.new("White")
  6383. v.Material = "Neon"
  6384. end
  6385. end
  6386. for i, v in pairs(extrawingmod2:GetChildren()) do
  6387. if v:IsA("Part") then
  6388. v.Transparency = 1
  6389. v.BrickColor = BrickColor.new("White")
  6390. v.Material = "Neon"
  6391. end
  6392. end
  6393. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6394. resetmode()
  6395. end
  6396.  
  6397. if k == "m" and attack == false and ModeOfGlitch == 4 then
  6398. insanitymode()
  6399. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  6400. resetmode()
  6401. end
  6402. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  6403. ModeOfGlitch = 5
  6404. storehumanoidWS = 16
  6405. hum.WalkSpeed = 16
  6406. rainbowmode = false
  6407. chaosmode = false
  6408. glitchymode = false
  6409. tl1.Enabled = true
  6410. tl2.Enabled = true
  6411. tl3.Enabled = true
  6412. RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6413. newTheme("rbxassetid://661079869",0,1.02,1)
  6414. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6415. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6416. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6417. for i, v in pairs(mw2:GetChildren()) do
  6418. if v:IsA("Part") then
  6419. v.BrickColor = MAINRUINCOLOR
  6420. v.Material = "Neon"
  6421. end
  6422. end
  6423. for i, v in pairs(mw1:GetChildren()) do
  6424. if v:IsA("Part") then
  6425. v.Transparency = 0
  6426. v.BrickColor = MAINRUINCOLOR
  6427. v.Material = "Neon"
  6428. end
  6429. end
  6430. for i, v in pairs(m:GetChildren()) do
  6431. if v:IsA("Part") then
  6432. v.BrickColor = BrickColor.new("Cool yellow")
  6433. v.Material = "Ice"
  6434. end
  6435. end
  6436. for i, v in pairs(m2:GetChildren()) do
  6437. if v:IsA("Part") then
  6438. v.BrickColor = BrickColor.new("Bright yellow")
  6439. v.Material = "Ice"
  6440. end
  6441. end
  6442. for i, v in pairs(m3:GetChildren()) do
  6443. if v:IsA("Part") then
  6444. v.BrickColor = BrickColor.new("Bright yellow")
  6445. v.Material = "Neon"
  6446. end
  6447. end
  6448. for i, v in pairs(extrawingmod1:GetChildren()) do
  6449. if v:IsA("Part") then
  6450. v.Transparency = 1
  6451. v.BrickColor = BrickColor.new("White")
  6452. v.Material = "Neon"
  6453. end
  6454. end
  6455. for i, v in pairs(extrawingmod2:GetChildren()) do
  6456. if v:IsA("Part") then
  6457. v.Transparency = 1
  6458. v.BrickColor = BrickColor.new("White")
  6459. v.Material = "Neon"
  6460. end
  6461. end
  6462. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6463. resetmode()
  6464. end
  6465. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6466. ModeOfGlitch = 6
  6467. storehumanoidWS = 75
  6468. hum.WalkSpeed = 75
  6469. rainbowmode = false
  6470. chaosmode = false
  6471. glitchymode = false
  6472. tl1.Enabled = true
  6473. tl2.Enabled = true
  6474. tl3.Enabled = true
  6475. RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
  6476. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6477. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6478. newTheme("rbxassetid://1102271169",0,1,1)
  6479. MAINRUINCOLOR = BrickColor.new("White")
  6480. for i, v in pairs(mw2:GetChildren()) do
  6481. if v:IsA("Part") then
  6482. v.BrickColor = MAINRUINCOLOR
  6483. v.Material = "Neon"
  6484. end
  6485. end
  6486. for i, v in pairs(mw1:GetChildren()) do
  6487. if v:IsA("Part") then
  6488. v.Transparency = 0
  6489. v.BrickColor = MAINRUINCOLOR
  6490. v.Material = "Neon"
  6491. end
  6492. end
  6493. for i, v in pairs(m:GetChildren()) do
  6494. if v:IsA("Part") then
  6495. v.BrickColor = BrickColor.new("White")
  6496. v.Material = "Ice"
  6497. end
  6498. end
  6499. for i, v in pairs(m2:GetChildren()) do
  6500. if v:IsA("Part") then
  6501. v.BrickColor = BrickColor.new("White")
  6502. v.Material = "Ice"
  6503. end
  6504. end
  6505. for i, v in pairs(m3:GetChildren()) do
  6506. if v:IsA("Part") then
  6507. v.BrickColor = BrickColor.new("White")
  6508. v.Material = "Neon"
  6509. end
  6510. end
  6511. for i, v in pairs(extrawingmod1:GetChildren()) do
  6512. if v:IsA("Part") then
  6513. v.Transparency = 1
  6514. v.BrickColor = BrickColor.new("White")
  6515. v.Material = "Neon"
  6516. end
  6517. end
  6518. for i, v in pairs(extrawingmod2:GetChildren()) do
  6519. if v:IsA("Part") then
  6520. v.Transparency = 1
  6521. v.BrickColor = BrickColor.new("White")
  6522. v.Material = "Neon"
  6523. end
  6524. end
  6525. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6526. resetmode()
  6527. end
  6528. if k == "u" and attack == false then
  6529.  
  6530. storehumanoidWS = 50
  6531. hum.WalkSpeed = 50
  6532. rainbowmode = true
  6533. chaosmode = false
  6534. glitchymode = false
  6535. tl1.Enabled = true
  6536. tl2.Enabled = true
  6537. tl3.Enabled = true
  6538.  
  6539. if(ModeOfGlitch == 6127843)then
  6540. vaporwave = not vaporwave
  6541. end
  6542.  
  6543. if(not vaporwave)then
  6544. RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
  6545. newTheme("rbxassetid://147930134",0,1,1)
  6546. else
  6547. RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
  6548. newTheme("rbxassetid://1308711379",0,1,1)
  6549. end
  6550.  
  6551.  
  6552. ModeOfGlitch = 6127843
  6553. MAINRUINCOLOR = BrickColor.new("White")
  6554. for i, v in pairs(mw2:GetChildren()) do
  6555. if v:IsA("Part") then
  6556. v.BrickColor = MAINRUINCOLOR
  6557. v.Material = "Neon"
  6558. end
  6559. end
  6560. for i, v in pairs(mw1:GetChildren()) do
  6561. if v:IsA("Part") then
  6562. v.Transparency = 0
  6563. v.BrickColor = MAINRUINCOLOR
  6564. v.Material = "Neon"
  6565. end
  6566. end
  6567. for i, v in pairs(m:GetChildren()) do
  6568. if v:IsA("Part") then
  6569. v.BrickColor = BrickColor.new("White")
  6570. v.Material = "Neon"
  6571. end
  6572. end
  6573. for i, v in pairs(m2:GetChildren()) do
  6574. if v:IsA("Part") then
  6575. v.BrickColor = BrickColor.new("White")
  6576. v.Material = "Neon"
  6577. end
  6578. end
  6579. for i, v in pairs(m3:GetChildren()) do
  6580. if v:IsA("Part") then
  6581. v.BrickColor = BrickColor.new("White")
  6582. v.Material = "Neon"
  6583. end
  6584. end
  6585. for i, v in pairs(extrawingmod1:GetChildren()) do
  6586. if v:IsA("Part") then
  6587. v.Transparency = 1
  6588. v.BrickColor = BrickColor.new("White")
  6589. v.Material = "Neon"
  6590. end
  6591. end
  6592. for i, v in pairs(extrawingmod2:GetChildren()) do
  6593. if v:IsA("Part") then
  6594. v.Transparency = 1
  6595. v.BrickColor = BrickColor.new("White")
  6596. v.Material = "Neon"
  6597. end
  6598. end
  6599. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6600. resetmode()
  6601. end
  6602. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6603. ModeOfGlitch = 1000000
  6604. storehumanoidWS = 100
  6605. hum.WalkSpeed = 100
  6606. rainbowmode = false
  6607. chaosmode = false
  6608. glitchymode = false
  6609. tl1.Enabled = true
  6610. tl2.Enabled = true
  6611. tl3.Enabled = true
  6612. RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6613. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
  6614. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
  6615. newTheme("rbxassetid://1359036559",0,1,1)
  6616. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6617. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6618. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6619. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6620. for i, v in pairs(mw2:GetChildren()) do
  6621. if v:IsA("Part") then
  6622. v.BrickColor = MAINRUINCOLOR
  6623. v.Material = "Neon"
  6624. end
  6625. end
  6626. for i, v in pairs(mw1:GetChildren()) do
  6627. if v:IsA("Part") then
  6628. v.Transparency = 0
  6629. v.BrickColor = MAINRUINCOLOR
  6630. v.Material = "Neon"
  6631. end
  6632. end
  6633. for i, v in pairs(m:GetChildren()) do
  6634. if v:IsA("Part") then
  6635. v.Color = Color3.new(0.5,0,1)
  6636. v.Material = "Neon"
  6637. end
  6638. end
  6639. for i, v in pairs(m2:GetChildren()) do
  6640. if v:IsA("Part") then
  6641. v.Color = Color3.new(0.25,0,1)
  6642. v.Material = "Neon"
  6643. end
  6644. end
  6645. for i, v in pairs(m3:GetChildren()) do
  6646. if v:IsA("Part") then
  6647. v.Color = Color3.new(0.45,0,1)
  6648. v.Material = "Neon"
  6649. end
  6650. end
  6651. for i, v in pairs(extrawingmod1:GetChildren()) do
  6652. if v:IsA("Part") then
  6653. v.Transparency = 0.75
  6654. v.Color = Color3.new(0.25,0,1)
  6655. v.Material = "Neon"
  6656. end
  6657. end
  6658. for i, v in pairs(extrawingmod2:GetChildren()) do
  6659. if v:IsA("Part") then
  6660. v.Transparency = 0.75
  6661. v.Color = Color3.new(0.5,0,1)
  6662. v.Material = "Neon"
  6663. end
  6664. end
  6665. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6666. resetmode()
  6667. end
  6668. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  6669. newThemeCust("rbxassetid://1504604335",0,1,1)
  6670. attack = true
  6671. hum.WalkSpeed = 0
  6672. MAINRUINCOLOR = BrickColor.new("Royal purple")
  6673. for i = 0, 24, 0.1 do
  6674. swait()
  6675. sphereMK(1,-2,"Add",tors.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,15,-0.025,MAINRUINCOLOR,100)
  6676. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  6677. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  6678. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6679. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6680. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6681. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6682. end
  6683. CameraEnshaking(1,1)
  6684. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6685. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6686. wait(0.55)
  6687. CameraEnshaking(1,2)
  6688. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6689. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6690. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6691. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6692. wait(0.55)
  6693. CameraEnshaking(1,3)
  6694. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6695. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6696. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6697. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6698. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6699. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6700. wait(0.55)
  6701. CameraEnshaking(10,5)
  6702. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6703. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6704. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6705. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6706. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6707. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6708. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6709. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6710. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6711. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6712. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6713. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6714. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6715. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6716. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6717. for i = 0, 49 do
  6718. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  6719. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  6720. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6721. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6722. end
  6723. ModeOfGlitch = 12345678987654321
  6724. storehumanoidWS = 200
  6725. hum.WalkSpeed = 200
  6726. rainbowmode = false
  6727. chaosmode = false
  6728. glitchymode = false
  6729. tl1.Enabled = true
  6730. tl2.Enabled = true
  6731. tl3.Enabled = true
  6732. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
  6733. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
  6734. RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
  6735. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6736. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6737. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6738. for i, v in pairs(mw2:GetChildren()) do
  6739. if v:IsA("Part") then
  6740. v.BrickColor = MAINRUINCOLOR
  6741. v.Material = "Neon"
  6742. end
  6743. end
  6744. for i, v in pairs(mw1:GetChildren()) do
  6745. if v:IsA("Part") then
  6746. v.Transparency = 0
  6747. v.BrickColor = MAINRUINCOLOR
  6748. v.Material = "Neon"
  6749. end
  6750. end
  6751. for i, v in pairs(m:GetChildren()) do
  6752. if v:IsA("Part") then
  6753. v.Color = Color3.new(0.5,0,1)
  6754. v.Material = "Neon"
  6755. end
  6756. end
  6757. for i, v in pairs(m2:GetChildren()) do
  6758. if v:IsA("Part") then
  6759. v.Color = Color3.new(0.5,0,1)
  6760. v.Material = "Neon"
  6761. end
  6762. end
  6763. for i, v in pairs(m3:GetChildren()) do
  6764. if v:IsA("Part") then
  6765. v.Color = Color3.new(0.5,0,1)
  6766. v.Material = "Neon"
  6767. end
  6768. end
  6769. for i, v in pairs(extrawingmod1:GetChildren()) do
  6770. if v:IsA("Part") then
  6771. v.Transparency = 0
  6772. v.Color = Color3.new(0.5,0,1)
  6773. v.Material = "Neon"
  6774. end
  6775. end
  6776. for i, v in pairs(extrawingmod2:GetChildren()) do
  6777. if v:IsA("Part") then
  6778. v.Transparency = 0
  6779. v.Color = Color3.new(0.5,0,1)
  6780. v.Material = "Neon"
  6781. end
  6782. attack = false
  6783. end
  6784. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6785. resetmode()
  6786. end
  6787. if k == "l" and toggleTag == false then
  6788. toggleTag = true
  6789. text.TextTransparency = 0
  6790. text.TextStrokeTransparency = 0
  6791. elseif k == "l" and toggleTag == true then
  6792. toggleTag = false
  6793. text.TextTransparency = 1
  6794. text.TextStrokeTransparency = 1
  6795. end
  6796. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  6797. ExtinctiveHeartbreak()
  6798. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6799. PureBomb()
  6800. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6801. scattercorrupt()
  6802. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6803. Judgement()
  6804. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6805. ChaosGroundStrike()
  6806. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6807. InsaneGroundStrike()
  6808.  
  6809. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6810. ChooseODer()
  6811. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6812. Starfall()
  6813. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6814. yinyangi()
  6815. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6816. Wip()
  6817. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6818. StarfallEX()
  6819. end
  6820. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6821. StarDivision()
  6822. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6823. JusticeBeam()
  6824. end
  6825. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6826. UniversalCollapse()
  6827. end
  6828. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6829.  
  6830. end
  6831. if k == "n" and attack == false then
  6832. CorruptBlink()
  6833. end
  6834. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  6835. FuckMeSidewaysAndCallMeGay()
  6836. end
  6837. end)
  6838. coroutine.resume(coroutine.create(function()
  6839. while true do
  6840. swait(2)
  6841. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  6842. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  6843. end
  6844.  
  6845. end
  6846. end))
  6847.  
  6848.  
  6849. coroutine.resume(coroutine.create(function()
  6850. while true do
  6851. if ModeOfGlitch == 1000000 then
  6852. swait(0.5)
  6853. end
  6854. swait()
  6855. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  6856. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  6857. end
  6858. if ModeOfGlitch == 12345678987654321 then
  6859. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  6860. end
  6861. end
  6862. end))
  6863.  
  6864.  
  6865. function RandomMaterial()
  6866. local getRandom;
  6867. local material;
  6868. local function IsTerrainMaterial(mat)
  6869. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  6870. return isMaterial
  6871. end
  6872. getRandom = function()
  6873. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  6874. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  6875. end
  6876. getRandom()
  6877. repeat wait() until material
  6878. return material
  6879. end
  6880. function RandomCaps(str)
  6881. local new = ""
  6882. for i = 1, #str do
  6883. if(math.random(1,2) == 1)then
  6884. new = new .. (str:sub(i,i):upper())
  6885. else
  6886. new = new .. str:sub(i,i)
  6887. end
  6888. end
  6889. return new
  6890. end
  6891.  
  6892. coroutine.resume(coroutine.create(function()
  6893. while true do
  6894. for i = 1, #ODers do
  6895. local ODer = ODers[i]
  6896. if(ODer)then
  6897. local hed = ODer:FindFirstChild'Head'
  6898. if(ODer.Parent and hed)then
  6899. sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  6900. else
  6901. table.remove(ODers,i)
  6902. end
  6903. else
  6904. table.remove(ODers,i)
  6905. end
  6906. end
  6907. if(not kan)then
  6908. kan = Instance.new("Sound",char)
  6909. end
  6910. kan.Parent = char
  6911. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  6912. kan.Pitch = Pitch
  6913. kan.SoundId = MID
  6914. kan.Name = "wrecked"
  6915. kan.Looped = true
  6916. kan:Resume()
  6917. swait()
  6918. if glitchymode == true then
  6919. local val = math.random(1,255)
  6920. local color = Color3.fromRGB(val,val,val)
  6921. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  6922. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  6923. tl1.Color = ColorSequence.new(color)
  6924. tl2.Color = ColorSequence.new(color)
  6925. tl3.Color = ColorSequence.new(color)
  6926. tr1.Color = ColorSequence.new(color)
  6927. tr2.Color = ColorSequence.new(color)
  6928. tr3.Color = ColorSequence.new(color)
  6929. for i, v in pairs(mw1:GetChildren()) do
  6930. if v:IsA("Part") then
  6931. v.Transparency = 0
  6932. v.Color = color
  6933. v.Material = "Neon"
  6934. end
  6935. end
  6936. for i, v in pairs(mw2:GetChildren()) do
  6937. if v:IsA("Part") then
  6938. v.Color = color
  6939. v.Material = "Neon"
  6940. end
  6941. end
  6942. for i, v in pairs(m2:GetChildren()) do
  6943. if v:IsA("Part") then
  6944. v.Color = color
  6945. v.Material = "Neon"
  6946. end
  6947. end
  6948. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
  6949. end
  6950. if chaosmode or glitchymode then
  6951. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6952. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6953. else
  6954. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  6955. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  6956. end
  6957. if chaosmode == true then
  6958. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6959. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6960. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6961. RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
  6962. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  6963. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  6964. for i, v in pairs(mw1:GetChildren()) do
  6965. if v:IsA("Part") then
  6966. v.Transparency = 0.75
  6967. v.BrickColor = BrickColor.random()
  6968. v.Material = "Neon"
  6969. end
  6970. end
  6971. for i, v in pairs(extrawingmod1:GetChildren()) do
  6972. if v:IsA("Part") and ModeOfGlitch == 666666 then
  6973. v.Transparency = 0.75
  6974. v.BrickColor = BrickColor.random()
  6975. v.Material = "Neon"
  6976. elseif v:IsA("Part") then
  6977. v.Transparency = 1
  6978. end
  6979. end
  6980. for i, v in pairs(m2:GetChildren()) do
  6981. if v:IsA("Part") then
  6982. v.BrickColor = BrickColor.random()
  6983. v.Material = "Neon"
  6984. end
  6985. end
  6986. end
  6987. end
  6988. end))
  6989. Humanoid.Name = "STARGLITCHER"
  6990. Humanoid.MaxHealth = math.huge
  6991. Humanoid.Health = math.huge
  6992. Instance.new("ForceField",char).Visible = false
  6993. Humanoid.Animator.Parent = nil
  6994. idleanim=.4
  6995. while true do
  6996. if rainbowmode == false and chaosmode == false and glitchymode == false then
  6997. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6998. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6999. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7000. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7001. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7002. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7003. end
  7004. if rainbowmode == true then
  7005. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  7006. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  7007. if(not vaporwave)then
  7008. RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  7009. else
  7010. RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  7011. end
  7012. MAINRUINCOLOR = BrickColor.new("White")
  7013. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7014. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7015. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7016. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7017. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7018. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  7019. for i, v in pairs(m:GetChildren()) do
  7020. if v:IsA("Part") then
  7021. v.Color = Color3.new(r/255,g/255,b/255)
  7022. end
  7023. end
  7024. for i, v in pairs(m2:GetChildren()) do
  7025. if v:IsA("Part") then
  7026. v.Color = Color3.new(r/255,g/255,b/255)
  7027. end
  7028. end
  7029. for i, v in pairs(m3:GetChildren()) do
  7030. if v:IsA("Part") then
  7031. v.Color = Color3.new(r/255,g/255,b/255)
  7032. end
  7033. end
  7034. for i, v in pairs(mw1:GetChildren()) do
  7035. if v:IsA("Part") then
  7036. v.Color = Color3.new(r/255,g/255,b/255)
  7037. v.Material = "Neon"
  7038. end
  7039. end
  7040. for i, v in pairs(mw2:GetChildren()) do
  7041. if v:IsA("Part") then
  7042. v.Color = Color3.new(r/255,g/255,b/255)
  7043. v.Material = "Neon"
  7044. end
  7045. end
  7046. end
  7047. CameraManager()
  7048. swait()
  7049. 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)
  7050. 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)
  7051. 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)
  7052. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  7053. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  7054. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  7055.  
  7056. 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)
  7057. 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)
  7058. 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)
  7059. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  7060. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  7061. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  7062. sine = sine + change
  7063. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7064. local velderp=RootPart.Velocity.y
  7065. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7066. if equipped==true or equipped==false then
  7067. if attack==false then
  7068. idle=idle+1
  7069. else
  7070. idle=0
  7071. end
  7072. if idle>=500 then
  7073. if attack==false then
  7074. --Sheath()
  7075. end
  7076. end
  7077. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7078. Anim="Jump"
  7079. if attack==false then
  7080. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  7081. 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)
  7082. 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)
  7083. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7084. 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)
  7085. 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)
  7086. end
  7087. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7088. Anim="Fall"
  7089. if attack==false then
  7090. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  7091. 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)
  7092. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7093. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7094. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  7095. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  7096. end
  7097. elseif torvel<1 and hitfloor~=nil then
  7098. Anim="Idle"
  7099. if attack==false then
  7100. if ModeOfGlitch == 1 then
  7101. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  7102. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  7103. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  7104. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  7105. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  7106. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  7107.  
  7108. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  7109. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7110. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7111. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7112. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  7113. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7114. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7115.  
  7116. elseif ModeOfGlitch == 3 then
  7117. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  7118. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7119. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  7120. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  7121. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  7122. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  7123. elseif ModeOfGlitch == 4 then
  7124. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  7125. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  7126. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7127. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  7128. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  7129. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  7130. elseif ModeOfGlitch == 69 then
  7131. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  7132. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  7133. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  7134. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  7135. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  7136. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  7137. elseif ModeOfGlitch == 8376532578634534 then
  7138. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  7139. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  7140. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  7141. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  7142. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  7143. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  7144.  
  7145. elseif ModeOfGlitch == 666666 then
  7146. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
  7147. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
  7148. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7149. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7150. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7151. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7152.  
  7153. elseif ModeOfGlitch == 5 then
  7154. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7155. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  7156. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7157. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  7158. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  7159. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  7160.  
  7161. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  7162. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7163. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7164. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7165. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7166. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  7167. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  7168.  
  7169. elseif ModeOfGlitch == 12345678987654321 then
  7170. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7171. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7172. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  7173. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  7174. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  7175. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7176. end
  7177. end
  7178. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7179. Anim="Walk"
  7180. if attack==false then
  7181. if ModeOfGlitch == 1 then
  7182. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  7183. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  7184. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  7185. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7186. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  7187. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  7188. elseif ModeOfGlitch == 4 then
  7189. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
  7190. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
  7191. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  7192. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  7193. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  7194. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  7195. elseif ModeOfGlitch == 666666 then
  7196. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  7197. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  7198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  7199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7200. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7201. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7202.  
  7203. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  7204. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  7205. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  7206. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  7207. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  7208. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  7209. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  7210. end
  7211. end
  7212. elseif torvel>=22 and hitfloor~=nil then
  7213. Anim="Run"
  7214. if attack==false then
  7215. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  7216. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  7217. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  7218. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  7219. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  7220. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  7221. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  7222. elseif ModeOfGlitch == 666666 then
  7223. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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)
  7224. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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)
  7225. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  7226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7227. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7228. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  7229.  
  7230. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  7231. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  7232. 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(20)),.2)
  7233. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  7234. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7235. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  7236. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  7237. end
  7238. end
  7239. end
  7240. end
  7241. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement