Advertisement
PersonsadminTeam

Utilty Gui

Feb 21st, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 8.54 KB | None | 0 0
  1. -- Utility Gui. V1 ok
  2. --For Raindrop: loadstring(Raindrop:DownloadString('http://pastebin.com/raw/rJDXJp02'))()--
  3. local UtilityGui = Instance.new("ScreenGui")
  4. local MainMenu = Instance.new("Frame")
  5. local Skybtn = Instance.new("ImageButton")
  6. local Musicbtn = Instance.new("ImageButton")
  7. local Close = Instance.new("TextButton")
  8. local MusicGui = Instance.new("Frame")
  9. local MID = Instance.new("TextBox")
  10. local MPH = Instance.new("TextBox")
  11. local MVOL = Instance.new("TextBox")
  12. local PlayM = Instance.new("TextButton")
  13. local Close1 = Instance.new("TextButton")
  14. local SkyboxGui = Instance.new("Frame")
  15. local SBID = Instance.new("TextBox")
  16. local SetSB = Instance.new("TextButton")
  17. local RemoveSB = Instance.new("TextButton")
  18. local Close2 = Instance.new("TextButton")
  19. local Opener = Instance.new("Frame")
  20. local Open = Instance.new("TextButton")
  21. local RemoveAD = Instance.new("TextButton")
  22. local s = Instance.new("Sound")
  23.  
  24. UtilityGui.Name = "UtilityGui"
  25. UtilityGui.Parent = game.CoreGui
  26.  
  27. MainMenu.Name = "MainMenu"
  28. MainMenu.Parent = UtilityGui
  29. MainMenu.BackgroundColor3 = Color3.new(0, 0, 0)
  30. MainMenu.BackgroundTransparency = 0.5
  31. MainMenu.Draggable = true
  32. MainMenu.Position = UDim2.new(0, 719, 0, 287)
  33. MainMenu.Size = UDim2.new(0, 434, 0, 272)
  34. MainMenu.Visible = false
  35.  
  36. Skybtn.Name = "Skybtn"
  37. Skybtn.Parent = MainMenu
  38. Skybtn.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Skybtn.Position = UDim2.new(0, 29, 0, 58)
  40. Skybtn.Size = UDim2.new(0, 163, 0, 156)
  41. Skybtn.Image = "rbxassetid://105004232"
  42.  
  43. Musicbtn.Name = "Musicbtn"
  44. Musicbtn.Parent = MainMenu
  45. Musicbtn.BackgroundColor3 = Color3.new(0, 0, 0)
  46. Musicbtn.BackgroundTransparency = 0.5
  47. Musicbtn.Position = UDim2.new(0, 235, 0, 59)
  48. Musicbtn.Size = UDim2.new(0, 163, 0, 155)
  49. Musicbtn.Image = "rbxassetid://299432407"
  50. Musicbtn.ImageColor3 = Color3.new(1, 0, 0)
  51.  
  52. Close.Name = "Close"
  53. Close.Parent = MainMenu
  54. Close.BackgroundColor3 = Color3.new(1, 0, 0)
  55. Close.Position = UDim2.new(0, 405, 0, 0)
  56. Close.Size = UDim2.new(0, 29, 0, 29)
  57. Close.Font = Enum.Font.SciFi
  58. Close.FontSize = Enum.FontSize.Size32
  59. Close.Text = "X"
  60. Close.TextColor3 = Color3.new(1, 1, 1)
  61. Close.TextSize = 32
  62.  
  63. MusicGui.Name = "MusicGui"
  64. MusicGui.Parent = UtilityGui
  65. MusicGui.BackgroundColor3 = Color3.new(0, 0, 0)
  66. MusicGui.BackgroundTransparency = 0.5
  67. MusicGui.Draggable = true
  68. MusicGui.Position = UDim2.new(0, 720, 0, 288)
  69. MusicGui.Size = UDim2.new(0, 429, 0, 269)
  70. MusicGui.Visible = false
  71.  
  72. MID.Name = "MID"
  73. MID.Parent = MusicGui
  74. MID.BackgroundColor3 = Color3.new(0, 0, 0)
  75. MID.BackgroundTransparency = 0.5
  76. MID.Position = UDim2.new(0, 115, 0, 39)
  77. MID.Size = UDim2.new(0, 200, 0, 50)
  78. MID.Font = Enum.Font.SciFi
  79. MID.FontSize = Enum.FontSize.Size32
  80. MID.Text = "Music ID"
  81. MID.TextColor3 = Color3.new(0.333333, 1, 1)
  82. MID.TextSize = 32
  83.  
  84. MPH.Name = "MPH"
  85. MPH.Parent = MusicGui
  86. MPH.BackgroundColor3 = Color3.new(0, 0, 0)
  87. MPH.BackgroundTransparency = 0.5
  88. MPH.Position = UDim2.new(0, 15, 0, 109)
  89. MPH.Size = UDim2.new(0, 200, 0, 50)
  90. MPH.Font = Enum.Font.SciFi
  91. MPH.FontSize = Enum.FontSize.Size32
  92. MPH.Text = "Pitch (1 - 10) "
  93. MPH.TextColor3 = Color3.new(0.333333, 1, 1)
  94. MPH.TextSize = 32
  95.  
  96. MVOL.Name = "MVOL"
  97. MVOL.Parent = MusicGui
  98. MVOL.BackgroundColor3 = Color3.new(0, 0, 0)
  99. MVOL.BackgroundTransparency = 0.5
  100. MVOL.Position = UDim2.new(0, 229, 0, 109)
  101. MVOL.Size = UDim2.new(0, 200, 0, 50)
  102. MVOL.Font = Enum.Font.SciFi
  103. MVOL.FontSize = Enum.FontSize.Size32
  104. MVOL.Text = "Volume (1-10)"
  105. MVOL.TextColor3 = Color3.new(0.333333, 1, 1)
  106. MVOL.TextSize = 32
  107.  
  108. PlayM.Name = "PlayM"
  109. PlayM.Parent = MusicGui
  110. PlayM.BackgroundColor3 = Color3.new(0, 0, 0)
  111. PlayM.BackgroundTransparency = 0.5
  112. PlayM.Position = UDim2.new(0, 14, 0, 184)
  113. PlayM.Size = UDim2.new(0, 200, 0, 50)
  114. PlayM.Font = Enum.Font.SciFi
  115. PlayM.FontSize = Enum.FontSize.Size60
  116. PlayM.Text = "Play"
  117. PlayM.TextColor3 = Color3.new(0, 1, 1)
  118. PlayM.TextSize = 60
  119.  
  120. Close1.Name = "Close1"
  121. Close1.Parent = MusicGui
  122. Close1.BackgroundColor3 = Color3.new(1, 0, 0)
  123. Close1.Position = UDim2.new(0, 400, 0, 0)
  124. Close1.Size = UDim2.new(0, 29, 0, 29)
  125. Close1.Font = Enum.Font.SciFi
  126. Close1.FontSize = Enum.FontSize.Size32
  127. Close1.Text = "X"
  128. Close1.TextColor3 = Color3.new(1, 1, 1)
  129. Close1.TextSize = 32
  130.  
  131. RemoveAD.Name = "RemoveAD"
  132. RemoveAD.Parent = MusicGui
  133. RemoveAD.BackgroundColor3 = Color3.new(0, 0, 0)
  134. RemoveAD.BackgroundTransparency = 0.5
  135. RemoveAD.Position = UDim2.new(0, 229, 0, 181)
  136. RemoveAD.Size = UDim2.new(0, 200, 0, 50)
  137. RemoveAD.Font = Enum.Font.SciFi
  138. RemoveAD.FontSize = Enum.FontSize.Size32
  139. RemoveAD.Text = "Remove Audio"
  140. RemoveAD.TextColor3 = Color3.new(0, 1, 1)
  141. RemoveAD.TextSize = 32
  142.  
  143. SkyboxGui.Name = "SkyboxGui"
  144. SkyboxGui.Parent = UtilityGui
  145. SkyboxGui.BackgroundColor3 = Color3.new(0, 0, 0)
  146. SkyboxGui.BackgroundTransparency = 0.30000001192093
  147. SkyboxGui.Draggable = true
  148. SkyboxGui.Position = UDim2.new(0, 783, 0, 348)
  149. SkyboxGui.Size = UDim2.new(0, 319, 0, 214)
  150. SkyboxGui.Visible = false
  151.  
  152. SBID.Name = "SBID"
  153. SBID.Parent = SkyboxGui
  154. SBID.BackgroundColor3 = Color3.new(0, 0, 0)
  155. SBID.BackgroundTransparency = 0.5
  156. SBID.Position = UDim2.new(0, 59, 0, 29)
  157. SBID.Size = UDim2.new(0, 200, 0, 50)
  158. SBID.Font = Enum.Font.SciFi
  159. SBID.FontSize = Enum.FontSize.Size32
  160. SBID.Text = "Skybox ID"
  161. SBID.TextColor3 = Color3.new(0.333333, 1, 1)
  162. SBID.TextSize = 32
  163.  
  164. SetSB.Name = "SetSB"
  165. SetSB.Parent = SkyboxGui
  166. SetSB.BackgroundColor3 = Color3.new(0, 0, 0)
  167. SetSB.BackgroundTransparency = 0.5
  168. SetSB.Position = UDim2.new(0, 59, 0, 107)
  169. SetSB.Size = UDim2.new(0, 200, 0, 50)
  170. SetSB.Font = Enum.Font.SciFi
  171. SetSB.FontSize = Enum.FontSize.Size42
  172. SetSB.Text = "Set Skybox"
  173. SetSB.TextColor3 = Color3.new(0, 1, 1)
  174. SetSB.TextSize = 42
  175.  
  176. RemoveSB.Name = "RemoveSB"
  177. RemoveSB.Parent = SkyboxGui
  178. RemoveSB.BackgroundColor3 = Color3.new(0, 0, 0)
  179. RemoveSB.BackgroundTransparency = 0.5
  180. RemoveSB.Position = UDim2.new(0, 59, 0, 164)
  181. RemoveSB.Size = UDim2.new(0, 200, 0, 50)
  182. RemoveSB.Font = Enum.Font.SciFi
  183. RemoveSB.FontSize = Enum.FontSize.Size28
  184. RemoveSB.Text = "Remove Skybox"
  185. RemoveSB.TextColor3 = Color3.new(0, 1, 1)
  186. RemoveSB.TextSize = 28
  187.  
  188. Close2.Name = "Close2"
  189. Close2.Parent = SkyboxGui
  190. Close2.BackgroundColor3 = Color3.new(1, 0, 0)
  191. Close2.Position = UDim2.new(0, 289, 0, 0)
  192. Close2.Size = UDim2.new(0, 29, 0, 29)
  193. Close2.Font = Enum.Font.SciFi
  194. Close2.FontSize = Enum.FontSize.Size32
  195. Close2.Text = "X"
  196. Close2.TextColor3 = Color3.new(1, 1, 1)
  197. Close2.TextSize = 32
  198.  
  199. Opener.Name = "Opener"
  200. Opener.Parent = UtilityGui
  201. Opener.BackgroundColor3 = Color3.new(0, 0, 0)
  202. Opener.Position = UDim2.new(0, 0, 0, 518)
  203. Opener.Size = UDim2.new(0, 132, 0, 38)
  204.  
  205. Open.Name = "Open"
  206. Open.Parent = Opener
  207. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  208. Open.BackgroundTransparency = 0.5
  209. Open.Size = UDim2.new(0, 132, 0, 38)
  210. Open.Font = Enum.Font.SciFi
  211. Open.FontSize = Enum.FontSize.Size28
  212. Open.Text = "Open"
  213. Open.TextColor3 = Color3.new(0, 1, 1)
  214. Open.TextSize = 28
  215.  
  216. Open.MouseButton1Down:connect(function()
  217.     game.CoreGui.UtilityGui.MainMenu.Visible = true
  218.     game.CoreGui.UtilityGui.Opener.Visible = false
  219. end)
  220.  
  221. Musicbtn.MouseButton1Down:connect(function()
  222.     game.CoreGui.UtilityGui.MainMenu.Visible = false
  223.     game.CoreGui.UtilityGui.MusicGui.Visible = true
  224. end)
  225.  
  226. Skybtn.MouseButton1Down:connect(function()
  227.     game.CoreGui.UtilityGui.MainMenu.Visible = false
  228.     game.CoreGui.UtilityGui.SkyboxGui.Visible = true
  229. end)
  230.  
  231. Close.MouseButton1Down:connect(function()
  232.     game.CoreGui.UtilityGui.MainMenu.Visible = false
  233.     game.CoreGui.UtilityGui.Opener.Visible = true
  234. end)
  235.  
  236. Close1.MouseButton1Down:connect(function()
  237.     game.CoreGui.UtilityGui.MainMenu.Visible = true
  238.     game.CoreGui.UtilityGui.MusicGui.Visible = false
  239. end)
  240.  
  241. Close2.MouseButton1Down:connect(function()
  242.     game.CoreGui.UtilityGui.MainMenu.Visible = true
  243.     game.CoreGui.UtilityGui.SkyboxGui.Visible = false
  244. end)
  245.  
  246. RemoveAD.MouseButton1Down:connect(function()
  247.     game.Lighting.Music:Remove()
  248. end)
  249.  
  250. SetSB.MouseButton1Down:connect(function()
  251.     local a=Instance.new("Sky",game.Lighting)
  252.  local b={"Bk","Dn","Ft","Lf","Rt","Up"}
  253.  for i,v in pairs(b) do
  254.  a["Skybox"..v]="rbxassetid://"..SBID.Text
  255.  end
  256. end)
  257.  
  258. RemoveSB.MouseButton1Down:connect(function()
  259.     game.Lighting.Sky:Remove()
  260. end)
  261.  
  262. PlayM.MouseButton1Down:connect(function()
  263. s.Name = "Music"
  264. s.SoundId = 'rbxassetid://'..MID.Text
  265. s.Looped = false
  266. s.Pitch = MPH.Text
  267. s.Volume = MVOL.Text
  268. s.archivable = false
  269.  
  270. s.Parent = game.Lighting
  271.  
  272. wait(1)
  273.  
  274. s:play()
  275. end)
  276.  
  277. game.ReplicatedStorage.RobloxLocked = true -- FUCK EISS xddddddddddddddddddddddddd
  278.  
  279. --Enjoy! Gui made by 345678 (Talha). ʰᶦ ᵗʸᵖᶦᶜᵃᶫᵐᵒᵈᵈᵉʳˢ
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300. -- hi xd u just saw my 300 char line didn't you ;). You just had to xd.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement