Advertisement
BobMe

ShaderTest

Mar 14th, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.44 KB | None | 0 0
  1. for i, v in pairs(game.Players:GetChildren()) do
  2. v.Chatted:connect(function(C)
  3. if v == game.Players:WaitForChild('Memo1332', 0.1) then
  4. if C == "shader/Day" then
  5. wait(3)
  6.  
  7. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  8. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  9. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  10. light = game
  11.  
  12. local Lighting = game.Lighting
  13. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  14.  
  15. s = Instance.new("Sky")
  16. s.Name = "sky"
  17. s.SkyboxBk = "http://www.roblox.com/asset/?id=1084532042"
  18. s.SkyboxDn = "http://www.roblox.com/asset/?id=1084533114"
  19. s.SkyboxFt = "http://www.roblox.com/asset/?id=1084532530"
  20. s.SkyboxLf = "http://www.roblox.com/asset/?id=1084532285"
  21. s.SkyboxRt = "http://www.roblox.com/asset/?id=1084531839"
  22. s.SkyboxUp = "http://www.roblox.com/asset/?id=1084532776"
  23. s.Parent = game.Lighting
  24. s.CelestialBodiesShown = true
  25.  
  26. sunRays.Intensity = .12
  27. wait()
  28. sunRays.Spread = .75
  29.  
  30. Lighting.Ambient = Color3.new(0, 0, 0)
  31. Lighting.Brightness = 5
  32. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  33. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  34. Lighting.FogEnd = 500
  35. Lighting.FogColor = Color3.new(1, 1, 1)
  36. Lighting.FogStart = 0
  37. Lighting.GlobalShadows = true
  38. Lighting.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  39. Lighting.Outlines = true
  40. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  41. Lighting.GeographicLatitude = 0
  42. Lighting.TimeOfDay = "12:00:00"
  43.  
  44. local bloom = Instance.new("BloomEffect",game.Lighting)
  45. bloom.Intensity = .1
  46. bloom.Size = .65
  47. bloom.Threshold = .95
  48. elseif C == "shader/Night" then
  49. wait(.5)
  50.  
  51. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  52. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  53. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  54. light = game
  55.  
  56. local Lighting = game.Lighting
  57. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  58.  
  59. s = Instance.new("Sky")
  60. s.Name = "sky"
  61. s.SkyboxBk = "http://www.roblox.com/asset/?id=12064107"
  62. s.SkyboxDn = "http://www.roblox.com/asset/?id=12064152"
  63. s.SkyboxFt = "http://www.roblox.com/asset/?id=12064121"
  64. s.SkyboxLf = "http://www.roblox.com/asset/?id=12063984"
  65. s.SkyboxRt = "http://www.roblox.com/asset/?id=12064115"
  66. s.SkyboxUp = "http://www.roblox.com/asset/?id=12064131"
  67. game.Lighting.GeographicLatitude = -15.5
  68. game.Lighting.TimeOfDay = "15:05:00"
  69. s.CelestialBodiesShown = false
  70. s.SunAngularSize = 15
  71. s.Parent = game.Lighting
  72.  
  73. sunRays.Intensity = .025
  74. wait()
  75. sunRays.Spread = .5
  76.  
  77. Lighting.Ambient = Color3.new(0, 0, 0)
  78. Lighting.Brightness = 1
  79. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  80. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  81. Lighting.FogEnd = 500
  82. Lighting.FogColor = Color3.new(0.1, 0.2, 0.4)
  83. Lighting.FogStart = 0
  84. Lighting.GlobalShadows = true
  85. Lighting.OutdoorAmbient = Color3.new(0.1, 0.2, 0.4)
  86. Lighting.Outlines = true
  87. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  88.  
  89. local bloom = Instance.new("BloomEffect",game.Lighting)
  90. bloom.Intensity = .45
  91. bloom.Size = .65
  92. bloom.Threshold = .95
  93. elseif C == "shader/Lake" then
  94. wait(.04)
  95.  
  96. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  97. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  98. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  99. light = game
  100.  
  101. local Lighting = game.Lighting
  102. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  103.  
  104. c = script:Clone()
  105. c.Parent = game.Lighting
  106. s = Instance.new("Sky")
  107. s.Name = "sky"
  108. s.SkyboxBk = "http://www.roblox.com/asset/?id=265137971"
  109. s.SkyboxDn = "http://www.roblox.com/asset/?id=265138033"
  110. s.SkyboxFt = "http://www.roblox.com/asset/?id=265138132"
  111. s.SkyboxLf = "http://www.roblox.com/asset/?id=265138206"
  112. s.SkyboxRt = "http://www.roblox.com/asset/?id=265138399"
  113. s.SkyboxUp = "http://www.roblox.com/asset/?id=265138457"
  114. game.Lighting.GeographicLatitude = 90
  115. game.Lighting.TimeOfDay = "7:00:00"
  116. s.CelestialBodiesShown = true
  117. s.SunAngularSize = 15
  118. s.Parent = game.Lighting
  119.  
  120. sunRays.Intensity = .15
  121. wait()
  122. sunRays.Spread = .75
  123.  
  124. Lighting.Ambient = Color3.new(0.97, 0.93, 0.3)
  125. Lighting.Brightness = 2
  126. Lighting.ColorShift_Bottom = Color3.new(-1, -1, -1)
  127. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  128. Lighting.FogEnd = 500
  129. Lighting.FogColor = Color3.new(0.97, 0.93, 0.3)
  130. Lighting.FogStart = 0
  131. Lighting.GlobalShadows = true
  132. Lighting.OutdoorAmbient = Color3.new(0.97, 0.93, 0.3)
  133. Lighting.Outlines = true
  134. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  135.  
  136. local bloom = Instance.new("BloomEffect",game.Lighting)
  137. bloom.Intensity = .45
  138. bloom.Size = .65
  139. bloom.Threshold = .95
  140. elseif C == "shader/Space" then
  141. wait(.04)
  142.  
  143. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  144. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  145. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  146. light = game
  147.  
  148. local Lighting = game.Lighting
  149. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  150.  
  151. c = script:Clone()
  152. c.Parent = game.Lighting
  153. s = Instance.new("Sky")
  154. s.Name = "sky"
  155. s.SkyboxBk = "http://www.roblox.com/asset/?id=166509999"
  156. s.SkyboxDn = "http://www.roblox.com/asset/?id=166510057"
  157. s.SkyboxFt = "http://www.roblox.com/asset/?id=166510116"
  158. s.SkyboxLf = "http://www.roblox.com/asset/?id=166510092"
  159. s.SkyboxRt = "http://www.roblox.com/asset/?id=166510131"
  160. s.SkyboxUp = "http://www.roblox.com/asset/?id=166510114"
  161. game.Lighting.GeographicLatitude = 70
  162. game.Lighting.TimeOfDay = "12:00:00"
  163. s.CelestialBodiesShown = true
  164. s.SunAngularSize = 15
  165. s.Parent = game.Lighting
  166.  
  167. sunRays.Intensity = .07
  168. wait()
  169. sunRays.Spread = 0.63
  170.  
  171. Lighting.Ambient = Color3.new(0, 0, 0)
  172. Lighting.Brightness = 1
  173. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  174. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  175. Lighting.FogEnd = 500
  176. Lighting.FogColor = Color3.new(0.05, 0.05, 0.05)
  177. Lighting.FogStart = 0
  178. Lighting.GlobalShadows = true
  179. Lighting.OutdoorAmbient = Color3.new(0.1, 0.2, 0.4)
  180. Lighting.Outlines = true
  181. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  182.  
  183. local bloom = Instance.new("BloomEffect",game.Lighting)
  184. bloom.Intensity = .45
  185. bloom.Size = .65
  186. bloom.Threshold = .95
  187. elseif C == "shader/Pink" then
  188. wait(.04)
  189.  
  190. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  191. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  192. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  193. light = game
  194.  
  195. local Lighting = game.Lighting
  196. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  197.  
  198. c = script:Clone()
  199. c.Parent = game.Lighting
  200. s = Instance.new("Sky")
  201. s.Name = "sky"
  202. s.SkyboxBk = "http://www.roblox.com/asset/?id=331591508"
  203. s.SkyboxDn = "http://www.roblox.com/asset/?id=331591633"
  204. s.SkyboxFt = "http://www.roblox.com/asset/?id=331591735"
  205. s.SkyboxLf = "http://www.roblox.com/asset/?id=331591794"
  206. s.SkyboxRt = "http://www.roblox.com/asset/?id=331591853"
  207. s.SkyboxUp = "http://www.roblox.com/asset/?id=331591919"
  208. game.Lighting.GeographicLatitude = -15.5
  209. game.Lighting.TimeOfDay = "15:05:00"
  210. s.CelestialBodiesShown = true
  211. s.SunAngularSize = 15
  212. s.Parent = game.Lighting
  213.  
  214. sunRays.Intensity = .08
  215. wait()
  216. sunRays.Spread = 0.63
  217.  
  218. Lighting.Ambient = Color3.new(0.5, 0.105, 0.254)
  219. Lighting.Brightness = 5
  220. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  221. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  222. Lighting.FogEnd = 500
  223. Lighting.FogColor = Color3.new(1, 0.21, 0.58)
  224. Lighting.FogStart = 0
  225. Lighting.GlobalShadows = true
  226. Lighting.OutdoorAmbient = Color3.new(1, 0.21, 0.58)
  227. Lighting.Outlines = true
  228. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  229.  
  230. local bloom = Instance.new("BloomEffect",game.Lighting)
  231. bloom.Intensity = .03
  232. bloom.Size = .65
  233. bloom.Threshold = .95
  234. end
  235. end
  236. end)
  237. end
  238. game.Players.PlayerAdded:connect(function(Plr)
  239. Plr.Chatted:connect(function(C)
  240. if Plr == game.Players:WaitForChild('Memo1332', 0.1) then
  241. if C == "shader/Day" then
  242. wait(3)
  243.  
  244. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  245. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  246. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  247. light = game
  248.  
  249. local Lighting = game.Lighting
  250. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  251.  
  252. s = Instance.new("Sky")
  253. s.Name = "sky"
  254. s.SkyboxBk = "http://www.roblox.com/asset/?id=1084532042"
  255. s.SkyboxDn = "http://www.roblox.com/asset/?id=1084533114"
  256. s.SkyboxFt = "http://www.roblox.com/asset/?id=1084532530"
  257. s.SkyboxLf = "http://www.roblox.com/asset/?id=1084532285"
  258. s.SkyboxRt = "http://www.roblox.com/asset/?id=1084531839"
  259. s.SkyboxUp = "http://www.roblox.com/asset/?id=1084532776"
  260. s.Parent = game.Lighting
  261. s.CelestialBodiesShown = true
  262.  
  263. sunRays.Intensity = .12
  264. wait()
  265. sunRays.Spread = .75
  266.  
  267. Lighting.Ambient = Color3.new(0, 0, 0)
  268. Lighting.Brightness = 5
  269. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  270. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  271. Lighting.FogEnd = 500
  272. Lighting.FogColor = Color3.new(1, 1, 1)
  273. Lighting.FogStart = 0
  274. Lighting.GlobalShadows = true
  275. Lighting.OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  276. Lighting.Outlines = true
  277. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  278. Lighting.GeographicLatitude = 0
  279. Lighting.TimeOfDay = "12:00:00"
  280.  
  281. local bloom = Instance.new("BloomEffect",game.Lighting)
  282. bloom.Intensity = .1
  283. bloom.Size = .65
  284. bloom.Threshold = .95
  285. elseif C == "shader/Night" then
  286. wait(.5)
  287.  
  288. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  289. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  290. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  291. light = game
  292.  
  293. local Lighting = game.Lighting
  294. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  295.  
  296. s = Instance.new("Sky")
  297. s.Name = "sky"
  298. s.SkyboxBk = "http://www.roblox.com/asset/?id=12064107"
  299. s.SkyboxDn = "http://www.roblox.com/asset/?id=12064152"
  300. s.SkyboxFt = "http://www.roblox.com/asset/?id=12064121"
  301. s.SkyboxLf = "http://www.roblox.com/asset/?id=12063984"
  302. s.SkyboxRt = "http://www.roblox.com/asset/?id=12064115"
  303. s.SkyboxUp = "http://www.roblox.com/asset/?id=12064131"
  304. game.Lighting.GeographicLatitude = -15.5
  305. game.Lighting.TimeOfDay = "15:05:00"
  306. s.CelestialBodiesShown = false
  307. s.SunAngularSize = 15
  308. s.Parent = game.Lighting
  309.  
  310. sunRays.Intensity = .025
  311. wait()
  312. sunRays.Spread = .5
  313.  
  314. Lighting.Ambient = Color3.new(0, 0, 0)
  315. Lighting.Brightness = 1
  316. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  317. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  318. Lighting.FogEnd = 500
  319. Lighting.FogColor = Color3.new(0.1, 0.2, 0.4)
  320. Lighting.FogStart = 0
  321. Lighting.GlobalShadows = true
  322. Lighting.OutdoorAmbient = Color3.new(0.1, 0.2, 0.4)
  323. Lighting.Outlines = true
  324. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  325.  
  326. local bloom = Instance.new("BloomEffect",game.Lighting)
  327. bloom.Intensity = .45
  328. bloom.Size = .65
  329. bloom.Threshold = .95
  330. elseif C == "shader/Lake" then
  331. wait(.04)
  332.  
  333. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  334. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  335. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  336. light = game
  337.  
  338. local Lighting = game.Lighting
  339. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  340.  
  341. c = script:Clone()
  342. c.Parent = game.Lighting
  343. s = Instance.new("Sky")
  344. s.Name = "sky"
  345. s.SkyboxBk = "http://www.roblox.com/asset/?id=265137971"
  346. s.SkyboxDn = "http://www.roblox.com/asset/?id=265138033"
  347. s.SkyboxFt = "http://www.roblox.com/asset/?id=265138132"
  348. s.SkyboxLf = "http://www.roblox.com/asset/?id=265138206"
  349. s.SkyboxRt = "http://www.roblox.com/asset/?id=265138399"
  350. s.SkyboxUp = "http://www.roblox.com/asset/?id=265138457"
  351. game.Lighting.GeographicLatitude = 90
  352. game.Lighting.TimeOfDay = "7:00:00"
  353. s.CelestialBodiesShown = true
  354. s.SunAngularSize = 15
  355. s.Parent = game.Lighting
  356.  
  357. sunRays.Intensity = .15
  358. wait()
  359. sunRays.Spread = .75
  360.  
  361. Lighting.Ambient = Color3.new(0.97, 0.93, 0.3)
  362. Lighting.Brightness = 2
  363. Lighting.ColorShift_Bottom = Color3.new(-1, -1, -1)
  364. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  365. Lighting.FogEnd = 500
  366. Lighting.FogColor = Color3.new(0.97, 0.93, 0.3)
  367. Lighting.FogStart = 0
  368. Lighting.GlobalShadows = true
  369. Lighting.OutdoorAmbient = Color3.new(0.97, 0.93, 0.3)
  370. Lighting.Outlines = true
  371. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  372.  
  373. local bloom = Instance.new("BloomEffect",game.Lighting)
  374. bloom.Intensity = .45
  375. bloom.Size = .65
  376. bloom.Threshold = .95
  377. elseif C == "shader/Space" then
  378. wait(.04)
  379.  
  380. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  381. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  382. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  383. light = game
  384.  
  385. local Lighting = game.Lighting
  386. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  387.  
  388. c = script:Clone()
  389. c.Parent = game.Lighting
  390. s = Instance.new("Sky")
  391. s.Name = "sky"
  392. s.SkyboxBk = "http://www.roblox.com/asset/?id=166509999"
  393. s.SkyboxDn = "http://www.roblox.com/asset/?id=166510057"
  394. s.SkyboxFt = "http://www.roblox.com/asset/?id=166510116"
  395. s.SkyboxLf = "http://www.roblox.com/asset/?id=166510092"
  396. s.SkyboxRt = "http://www.roblox.com/asset/?id=166510131"
  397. s.SkyboxUp = "http://www.roblox.com/asset/?id=166510114"
  398. game.Lighting.GeographicLatitude = 70
  399. game.Lighting.TimeOfDay = "12:00:00"
  400. s.CelestialBodiesShown = true
  401. s.SunAngularSize = 15
  402. s.Parent = game.Lighting
  403.  
  404. sunRays.Intensity = .07
  405. wait()
  406. sunRays.Spread = 0.63
  407.  
  408. Lighting.Ambient = Color3.new(0, 0, 0)
  409. Lighting.Brightness = 1
  410. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  411. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  412. Lighting.FogEnd = 500
  413. Lighting.FogColor = Color3.new(0.05, 0.05, 0.05)
  414. Lighting.FogStart = 0
  415. Lighting.GlobalShadows = true
  416. Lighting.OutdoorAmbient = Color3.new(0.1, 0.2, 0.4)
  417. Lighting.Outlines = true
  418. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  419.  
  420. local bloom = Instance.new("BloomEffect",game.Lighting)
  421. bloom.Intensity = .45
  422. bloom.Size = .65
  423. bloom.Threshold = .95
  424. elseif C == "shader/Pink" then
  425. wait(.04)
  426.  
  427. game:WaitForChild('Lighting'):WaitForChild('sky', 1):Destroy()
  428. game.Lighting:WaitForChild('SunRays', 0.5):Destroy()
  429. game.Lighting:WaitForChild('Bloom', 0.5):Destroy()
  430. light = game
  431.  
  432. local Lighting = game.Lighting
  433. local sunRays = Instance.new("SunRaysEffect",game.Lighting)
  434.  
  435. c = script:Clone()
  436. c.Parent = game.Lighting
  437. s = Instance.new("Sky")
  438. s.Name = "sky"
  439. s.SkyboxBk = "http://www.roblox.com/asset/?id=331591508"
  440. s.SkyboxDn = "http://www.roblox.com/asset/?id=331591633"
  441. s.SkyboxFt = "http://www.roblox.com/asset/?id=331591735"
  442. s.SkyboxLf = "http://www.roblox.com/asset/?id=331591794"
  443. s.SkyboxRt = "http://www.roblox.com/asset/?id=331591853"
  444. s.SkyboxUp = "http://www.roblox.com/asset/?id=331591919"
  445. game.Lighting.GeographicLatitude = -15.5
  446. game.Lighting.TimeOfDay = "15:05:00"
  447. s.CelestialBodiesShown = true
  448. s.SunAngularSize = 15
  449. s.Parent = game.Lighting
  450.  
  451. sunRays.Intensity = .08
  452. wait()
  453. sunRays.Spread = 0.63
  454.  
  455. Lighting.Ambient = Color3.new(0.5, 0.105, 0.254)
  456. Lighting.Brightness = 5
  457. Lighting.ColorShift_Bottom = Color3.new(0.1, 0.1, 0.1)
  458. Lighting.ColorShift_Top = Color3.new(0.5, 0.5, 0.5)
  459. Lighting.FogEnd = 500
  460. Lighting.FogColor = Color3.new(1, 0.21, 0.58)
  461. Lighting.FogStart = 0
  462. Lighting.GlobalShadows = true
  463. Lighting.OutdoorAmbient = Color3.new(1, 0.21, 0.58)
  464. Lighting.Outlines = true
  465. Lighting.ShadowColor = Color3.new(0.72156864404678, 0.72156864404678, 0.72156864404678)
  466.  
  467. local bloom = Instance.new("BloomEffect",game.Lighting)
  468. bloom.Intensity = .03
  469. bloom.Size = .65
  470. bloom.Threshold = .95
  471. end
  472. end
  473. end)
  474. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement