Advertisement
yanbrz21_

oi josuke

Nov 24th, 2020 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local r4kgui = Instance.new("ScreenGui")
  7. local maingui = Instance.new("Frame")
  8. local Close = Instance.new("TextButton")
  9. local Day = Instance.new("TextButton")
  10. local Night = Instance.new("TextButton")
  11. local Title = Instance.new("TextLabel")
  12.  
  13. --Properties:
  14.  
  15. r4kgui.Name = "r4kgui"
  16. r4kgui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. r4kgui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. maingui.Name = "maingui"
  20. maingui.Parent = r4kgui
  21. maingui.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  22. maingui.BorderSizePixel = 0
  23. maingui.Position = UDim2.new(0.723163843, 0, 0.732937694, 0)
  24. maingui.Size = UDim2.new(0, 296, 0, 121)
  25. maingui.Active = true
  26. maingui.Draggable = true
  27.  
  28. Close.Name = "Close"
  29. Close.Parent = maingui
  30. Close.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  31. Close.BorderSizePixel = 0
  32. Close.Position = UDim2.new(0.399181783, 0, 0.78001076, 0)
  33. Close.Size = UDim2.new(0, 64, 0, 26)
  34. Close.Font = Enum.Font.Cartoon
  35. Close.Text = "Close"
  36. Close.TextColor3 = Color3.fromRGB(255, 0, 0)
  37. Close.TextSize = 20.000
  38. Close.MouseButton1Down:connect(function()
  39. maingui.Visible = false
  40. end)
  41.  
  42. Day.Name = "Day"
  43. Day.Parent = maingui
  44. Day.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  45. Day.BorderSizePixel = 0
  46. Day.Position = UDim2.new(0.0452761874, 0, 0.510238647, 0)
  47. Day.Size = UDim2.new(0, 90, 0, 37)
  48. Day.Font = Enum.Font.Cartoon
  49. Day.Text = "Day"
  50. Day.TextColor3 = Color3.fromRGB(255, 255, 255)
  51. Day.TextSize = 19.000
  52. Day.MouseButton1Down:connect(function()
  53. getgenv().mode = "Autumn" -- Choose from Summer and Autumn (Summer looks bad ngl)
  54.  
  55.  
  56.  
  57.  
  58. local a = game.Lighting
  59. a.Ambient = Color3.fromRGB(33, 33, 33)
  60. a.Brightness = 6.67
  61. a.ColorShift_Bottom = Color3.fromRGB(0, 0, 0)
  62. a.ColorShift_Top = Color3.fromRGB(255, 247, 237)
  63. a.EnvironmentDiffuseScale = 0.105
  64. a.EnvironmentSpecularScale = 0.522
  65. a.GlobalShadows = true
  66. a.OutdoorAmbient = Color3.fromRGB(51, 54, 67)
  67. a.ShadowSoftness = 0.04
  68. a.GeographicLatitude = -15.525
  69. a.ExposureCompensation = 0.75
  70. local b = Instance.new("BloomEffect", a)
  71. b.Enabled = true
  72. b.Intensity = 0.04
  73. b.Size = 1900
  74. b.Threshold = 0.915
  75. local c = Instance.new("ColorCorrectionEffect", a)
  76. c.Brightness = 0.176
  77. c.Contrast = 0.39
  78. c.Enabled = true
  79. c.Saturation = 0.2
  80. c.TintColor = Color3.fromRGB(217, 145, 57)
  81. if getgenv().mode == "Summer" then
  82. c.TintColor = Color3.fromRGB(255, 220, 148)
  83. elseif getgenv().mode == "Autumn" then
  84. c.TintColor = Color3.fromRGB(217, 145, 57)
  85. else
  86. warn("No mode selected!")
  87. print("Please select a mode")
  88. b:Destroy()
  89. c:Destroy()
  90. end
  91. local d = Instance.new("DepthOfFieldEffect", a)
  92. d.Enabled = true
  93. d.FarIntensity = 0.077
  94. d.FocusDistance = 21.54
  95. d.InFocusRadius = 20.77
  96. d.NearIntensity = 0.277
  97. local e = Instance.new("ColorCorrectionEffect", a)
  98. e.Brightness = 0
  99. e.Contrast = -0.07
  100. e.Saturation = 0
  101. e.Enabled = true
  102. e.TintColor = Color3.fromRGB(255, 247, 239)
  103. local e2 = Instance.new("ColorCorrectionEffect", a)
  104. e2.Brightness = 0.2
  105. e2.Contrast = 0.45
  106. e2.Saturation = -0.1
  107. e2.Enabled = true
  108. e2.TintColor = Color3.fromRGB(255, 255, 255)
  109. local s = Instance.new("SunRaysEffect", a)
  110. s.Enabled = true
  111. s.Intensity = 0.01
  112. s.Spread = 0.146
  113.  
  114. print("RTX Graphics loaded \n created by Rawget#0001")
  115. wait(0.1)
  116. maingui:Destroy()
  117. end)
  118.  
  119. Night.Name = "Night"
  120. Night.Parent = maingui
  121. Night.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  122. Night.BorderSizePixel = 0
  123. Night.Position = UDim2.new(0.675582767, 0, 0.510238647, 0)
  124. Night.Size = UDim2.new(0, 90, 0, 37)
  125. Night.Font = Enum.Font.Cartoon
  126. Night.Text = "Night (Beta)"
  127. Night.TextColor3 = Color3.fromRGB(255, 255, 255)
  128. Night.TextSize = 17.000
  129. Night.MouseButton1Down:connect(function()
  130. getgenv().mode = "Winter1" -- Choose from Summer and Autumn (Summer looks bad ngl)
  131.  
  132.  
  133.  
  134.  
  135. local a = game.Lighting
  136. a.Ambient = Color3.fromRGB(70, 70, 70)
  137. a.Brightness = 4.32
  138. a.ColorShift_Bottom = Color3.fromRGB(220, 220, 220)
  139. a.ColorShift_Top = Color3.fromRGB(255, 247, 237)
  140. a.EnvironmentDiffuseScale = 0.105
  141. a.EnvironmentSpecularScale = 0.522
  142. a.GlobalShadows = true
  143. a.OutdoorAmbient = Color3.fromRGB(10, 10, 10)
  144. a.ShadowSoftness = 0.16
  145. a.GeographicLatitude = -15.525
  146. a.ExposureCompensation = 0.75
  147. local b = Instance.new("BloomEffect", a)
  148. b.Enabled = true
  149. b.Intensity = 0.07
  150. b.Size = 2000
  151. b.Threshold = 0.915
  152. local c = Instance.new("ColorCorrectionEffect", a)
  153. c.Brightness = 0.353
  154. c.Contrast = 0.43
  155. c.Enabled = true
  156. c.Saturation = 0.4
  157. c.TintColor = Color3.fromRGB(65, 105, 225)
  158. if getgenv().mode == "Winter1" then
  159. c.TintColor = Color3.fromRGB(173, 216, 230)
  160. elseif getgenv().mode == "Winter2" then
  161. c.TintColor = Color3.fromRGB(33, 0, 255)
  162. else
  163. warn("No mode selected!")
  164. print("Please select a mode")
  165. b:Destroy()
  166. c:Destroy()
  167. end
  168. local d = Instance.new("DepthOfFieldEffect", a)
  169. d.Enabled = true
  170. d.FarIntensity = 0.077
  171. d.FocusDistance = 21.54
  172. d.InFocusRadius = 20.77
  173. d.NearIntensity = 0.277
  174. local e = Instance.new("ColorCorrectionEffect", a)
  175. e.Brightness = 0
  176. e.Contrast = 0.07
  177. e.Saturation = 0
  178. e.Enabled = true
  179. e.TintColor = Color3.fromRGB(5, 79, 119)
  180. local e2 = Instance.new("ColorCorrectionEffect", a)
  181. e2.Brightness = 0.2
  182. e2.Contrast = 0.45
  183. e2.Saturation = -0.1
  184. e2.Enabled = true
  185. e2.TintColor = Color3.fromRGB(5, 79, 119)
  186. local s = Instance.new("SunRaysEffect", a)
  187. s.Enabled = true
  188. s.Intensity = 0.07
  189. s.Spread = 0.146
  190.  
  191. print("RTX Graphics loaded \n created by Rawget#0001")
  192. wait(0.1)
  193. maingui:Destroy()
  194. wait(0.3)
  195. game.Lighting.TimeOfDay = "24:00:00:"
  196. end)
  197.  
  198. Title.Name = "Title"
  199. Title.Parent = maingui
  200. Title.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  201. Title.BorderSizePixel = 0
  202. Title.Position = UDim2.new(-0.000412399706, 0, -0.00556680979, 0)
  203. Title.Size = UDim2.new(0, 296, 0, 46)
  204. Title.Font = Enum.Font.Cartoon
  205. Title.Text = "Rtx Gui V1.0"
  206. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  207. Title.TextSize = 50.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement