Advertisement
kevinbuitendyk

Forbidden GUI

Mar 30th, 2018
2,909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.47 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ForbiddenGUI = Instance.new("ScreenGui")
  4. local MainBoi = Instance.new("ImageLabel")
  5. local Frame = Instance.new("Frame")
  6. local Header = Instance.new("TextLabel")
  7. local ImageLabel = Instance.new("ImageLabel")
  8. local ImageLabel_2 = Instance.new("ImageLabel")
  9. local CreditsButton = Instance.new("TextButton")
  10. local ChangeButton = Instance.new("TextButton")
  11. local Scroller = Instance.new("ScrollingFrame")
  12. local ScrollerOrg = Instance.new("UIListLayout")
  13. local Credits = Instance.new("ScrollingFrame")
  14. local CreditsOrg = Instance.new("UIListLayout")
  15. local Changelog = Instance.new("ScrollingFrame")
  16. local ChangeOrg = Instance.new("UIListLayout")
  17.  
  18. -- Properties
  19.  
  20. ForbiddenGUI.Name = "ForbiddenGUI"
  21. ForbiddenGUI.Parent = game.Players.LocalPlayer.PlayerGui
  22. ForbiddenGUI.ResetOnSpawn = false
  23.  
  24. MainBoi.Name = "MainBoi"
  25. MainBoi.Parent = ForbiddenGUI
  26. MainBoi.AnchorPoint = Vector2.new(0.5, 0.5)
  27. MainBoi.BackgroundColor3 = Color3.new(1, 1, 1)
  28. MainBoi.BackgroundTransparency = 1
  29. MainBoi.BorderSizePixel = 0
  30. MainBoi.Position = UDim2.new(0.487272739, 0, 0.514326632, 0)
  31. MainBoi.Size = UDim2.new(0, 322, 0, 220)
  32. MainBoi.Image = "rbxassetid://1574744380"
  33. MainBoi.Active = true
  34. MainBoi.Draggable = true
  35.  
  36. Frame.Parent = MainBoi
  37. Frame.AnchorPoint = Vector2.new(0.5, 0.5)
  38. Frame.BackgroundColor3 = Color3.new(1, 0, 0.498039)
  39. Frame.BorderSizePixel = 0
  40. Frame.Position = UDim2.new(0.49999997, 0, 0.5, 0)
  41. Frame.Size = UDim2.new(0, 300, 0, 200)
  42. Frame.ZIndex = 2
  43.  
  44. Header.Name = "Header"
  45. Header.Parent = Frame
  46. Header.BackgroundColor3 = Color3.new(1, 1, 1)
  47. Header.BackgroundTransparency = 1
  48. Header.BorderSizePixel = 0
  49. Header.Size = UDim2.new(0, 300, 0, 27)
  50. Header.ZIndex = 3
  51. Header.Font = Enum.Font.SourceSansSemibold
  52. Header.Text = "Forbidden GUI"
  53. Header.TextColor3 = Color3.new(1, 1, 1)
  54. Header.TextScaled = true
  55. Header.TextSize = 14
  56. Header.TextWrapped = true
  57.  
  58. ImageLabel.Parent = Frame
  59. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  60. ImageLabel.BackgroundTransparency = 1
  61. ImageLabel.Position = UDim2.new(0.173333347, 0, 0.0249999762, 0)
  62. ImageLabel.Size = UDim2.new(0, 23, 0, 22)
  63. ImageLabel.ZIndex = 3
  64. ImageLabel.Image = "rbxassetid://1574636543"
  65.  
  66. ImageLabel_2.Parent = Frame
  67. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  68. ImageLabel_2.BackgroundTransparency = 1
  69. ImageLabel_2.Position = UDim2.new(0.75999999, 0, 0.0249999762, 0)
  70. ImageLabel_2.Rotation = 45345
  71. ImageLabel_2.Size = UDim2.new(0, 23, 0, 22)
  72. ImageLabel_2.ZIndex = 3
  73. ImageLabel_2.Image = "rbxassetid://1574636543"
  74.  
  75. CreditsButton.Name = "CreditsButton"
  76. CreditsButton.Parent = Frame
  77. CreditsButton.AnchorPoint = Vector2.new(0, 1)
  78. CreditsButton.BackgroundColor3 = Color3.new(1, 1, 1)
  79. CreditsButton.BorderSizePixel = 0
  80. CreditsButton.Position = UDim2.new(0.5, 0, 1, 0)
  81. CreditsButton.Size = UDim2.new(0.5, 0, 0.0399999991, 20)
  82. CreditsButton.ZIndex = 3
  83. CreditsButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  84. CreditsButton.Font = Enum.Font.SourceSansSemibold
  85. CreditsButton.Text = "Credits"
  86. CreditsButton.TextColor3 = Color3.new(1, 0, 0.498039)
  87. CreditsButton.TextSize = 14
  88.  
  89. ChangeButton.Name = "ChangeButton"
  90. ChangeButton.Parent = Frame
  91. ChangeButton.AnchorPoint = Vector2.new(0, 1)
  92. ChangeButton.BackgroundColor3 = Color3.new(1, 1, 1)
  93. ChangeButton.BorderSizePixel = 0
  94. ChangeButton.Position = UDim2.new(0, 0, 1, 0)
  95. ChangeButton.Size = UDim2.new(0.5, 0, 0.0399999991, 20)
  96. ChangeButton.ZIndex = 3
  97. ChangeButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  98. ChangeButton.Font = Enum.Font.SourceSansSemibold
  99. ChangeButton.Text = "Changelog"
  100. ChangeButton.TextColor3 = Color3.new(1, 0, 0.498039)
  101. ChangeButton.TextSize = 14
  102.  
  103. Scroller.Name = "Scroller"
  104. Scroller.Parent = Frame
  105. Scroller.BackgroundColor3 = Color3.new(1, 1, 1)
  106. Scroller.BackgroundTransparency = 1
  107. Scroller.BorderSizePixel = 0
  108. Scroller.Position = UDim2.new(0, 0, 0.135000005, 0)
  109. Scroller.Size = UDim2.new(0, 300, 0, 145)
  110. Scroller.ZIndex = 3
  111. Scroller.CanvasSize = UDim2.new(0, 0, 0, 0)
  112.  
  113. ScrollerOrg.Name = "ScrollerOrg"
  114. ScrollerOrg.Parent = Scroller
  115. ScrollerOrg.HorizontalAlignment = Enum.HorizontalAlignment.Center
  116. ScrollerOrg.Padding = UDim.new(0, 5)
  117.  
  118. Credits.Name = "Credits"
  119. Credits.Parent = Frame
  120. Credits.BackgroundColor3 = Color3.new(1, 0, 0.498039)
  121. Credits.BorderSizePixel = 0
  122. Credits.Position = UDim2.new(0.5, 0, 0, 0)
  123. Credits.Size = UDim2.new(0.5, 0, 1, 0)
  124.  
  125. CreditsOrg.Name = "CreditsOrg"
  126. CreditsOrg.Parent = Credits
  127. CreditsOrg.HorizontalAlignment = Enum.HorizontalAlignment.Center
  128. CreditsOrg.Padding = UDim.new(0, 5)
  129.  
  130. Changelog.Name = "Changelog"
  131. Changelog.Parent = Frame
  132. Changelog.AnchorPoint = Vector2.new(1, 0)
  133. Changelog.BackgroundColor3 = Color3.new(1, 0, 0.498039)
  134. Changelog.BorderSizePixel = 0
  135. Changelog.Position = UDim2.new(0.5, 0, 0, 0)
  136. Changelog.Size = UDim2.new(0.5, 0, 1, 0)
  137. Changelog.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  138.  
  139. ChangeOrg.Name = "ChangeOrg"
  140. ChangeOrg.Parent = Changelog
  141. ChangeOrg.HorizontalAlignment = Enum.HorizontalAlignment.Center
  142. ChangeOrg.Padding = UDim.new(0, 5)
  143.  
  144. local scripts = {["Cuisine Treasure Egg"] = "https://pastebin.com/raw/xkCfbUjc",
  145. ["Agility+"] = "https://pastebin.com/raw/CfcihgGn",
  146. ["Sugar Crystal Egg"] = "https://pastebin.com/raw/JPGwWgjH",
  147. ["Freebie"] = "https://pastebin.com/raw/sJceLaQd",
  148. ["Free Gold"] = "https://pastebin.com/raw/iuLr3Sth",
  149. ["Wonderland Egg"] = "https://pastebin.com/raw/5rG4a5pK",
  150. ["Egg of wishes"] = "https://pastebin.com/raw/SBSgejqt",
  151. ["Flower Power Badge"] = "https://pastebin.com/raw/8rKc1VVZ",
  152. ["Hardboiled treasure egg"] = "https://pastebin.com/raw/NUcyQsz3",
  153. ["Idol Egg"] = "https://pastebin.com/raw/P9sMRjjP",
  154. ["Tickets Script"] = "https://pastebin.com/raw/w8TsyA84",
  155. ["Wake up bird"] = "https://pastebin.com/raw/85n43ghe",
  156. ["Defeat bird First Phase"] = "https://pastebin.com/raw/xLUQ6kRE",
  157. ["Defeat bird second phase"] = "https://pastebin.com/raw/c3riYyiN",
  158. ["Become Titan"] = "https://pastebin.com/raw/DiySVjDG",
  159. ["Useful teleport GUI"] = "https://pastebin.com/raw/6JUt5GMH",
  160. ["Wookong Treasure key"] = "https://pastebin.com/raw/mZVXVbdz",
  161.  
  162. }
  163.  
  164. local desc = {["Cuisine Treasure Egg"] = "Run this code and wait for it to finish, then proceed to talk to the mayor.This code should be used while at: Easterbury Canals",
  165. ["Agility+"] = "Makes you more agile while in-game",
  166. ["Sugar Crystal Egg"] = "Run on Easterbury Canals",
  167. ["Freebie"] = "Gets you the freebie egg",
  168. ["Free Gold"] = "Teleports you to all the gold in game",
  169. ["Wonderland Egg"] = "Gets you the wonderland egg in the wonderlands",
  170. ["Egg of wishes"] = "found in wonderland grove",
  171. ["Flower Power Badge"] = "Gets you the flower power badge",
  172. ["Hardboiled treasure egg"] = "Use in hardboiled city then talk to the commissioner",
  173. ["Idol Egg"] = "Found in ruins of wookong",
  174. ["Tickets Script"] = "Gets you tickets for something",
  175. ["Wake up bird"] = "Wake up the bird",
  176. ["Defeat bird First Phase"] = "part one to defeat the bird",
  177. ["Defeat bird second phase"] = "part 2 to defeat the bird",
  178. ["Become Titan"] = "Only works in wonderlands",
  179. ["Useful teleport GUI"] = "A GUI of my creation that can load up click teleport and all the players to teleport to",
  180. ["Wookong Treasure key"] = "USe in ruins of wookong",
  181.  
  182. }
  183.  
  184. local credits = {"Trippie Bluee: Creator","Raccoon: Helped me find scripts and gave me the idea","Iroh: Made some of the scripts", "Aaron: Made some of the scripts", "Stellar: Made some of the scripts", "BlackHatHelper: Made some of the scripts"}
  185.  
  186. local changelog = {"Uh I made the GUI :P"}
  187.  
  188. local num = 0
  189.  
  190. function newScript(n, s)
  191. local TextButton = Instance.new("TextButton")
  192. TextButton.Parent = Scroller
  193. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  194. TextButton.BorderSizePixel = 0
  195. TextButton.Size = UDim2.new(0.899999976, 0, 0, 45)
  196. TextButton.ZIndex = 4
  197. TextButton.Font = Enum.Font.SourceSansItalic
  198. TextButton.Text = n
  199. TextButton.TextColor3 = Color3.new(1, 0, 0.498039)
  200. TextButton.TextScaled = true
  201. TextButton.TextSize = 14
  202. TextButton.TextWrapped = true
  203. num = num + 50
  204. Scroller.CanvasSize = UDim2.new(0,0,0,num)
  205. TextButton.MouseButton1Click:connect(function()
  206.     local success = pcall(function()
  207.         loadstring(game:HttpGet(s, true))()
  208.     end)
  209.     if not success then
  210.         warn("Error executing '"..n.."'")
  211.     end
  212. end)
  213. TextButton.MouseEnter:connect(function()
  214.     TextButton.Text = desc[n]
  215. end)
  216. TextButton.MouseLeave:connect(function()
  217.     TextButton.Text = n
  218. end)
  219. end
  220.  
  221. for i,v in pairs(scripts) do
  222.     newScript(i,v)
  223. end
  224.  
  225. local cnum = 0
  226.  
  227. function newCredit(t)
  228. local Label = Instance.new("TextLabel")
  229. Label.Name = "Label"
  230. Label.Parent = Credits
  231. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  232. Label.BackgroundTransparency = 1
  233. Label.BorderSizePixel = 0
  234. Label.Size = UDim2.new(0.800000012, 0, 0, 100)
  235. Label.Font = Enum.Font.SourceSansItalic
  236. Label.Text = t
  237. Label.TextColor3 = Color3.new(1, 1, 1)
  238. Label.TextScaled = true
  239. Label.TextSize = 14
  240. Label.TextWrapped = true
  241. cnum = cnum + 105
  242. Credits.CanvasSize = UDim2.new(0,0,0,cnum)
  243. end
  244.  
  245. for _,v in pairs(credits) do
  246.     newCredit(v)
  247. end
  248.  
  249. local chnum = 0
  250.  
  251. function newLog(t)
  252. local Label = Instance.new("TextLabel")
  253. Label.Name = "Label"
  254. Label.Parent = Changelog
  255. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  256. Label.BackgroundTransparency = 1
  257. Label.BorderSizePixel = 0
  258. Label.Size = UDim2.new(0.800000012, 0, 0, 100)
  259. Label.Font = Enum.Font.SourceSansItalic
  260. Label.Text = t
  261. Label.TextColor3 = Color3.new(1, 1, 1)
  262. Label.TextScaled = true
  263. Label.TextSize = 14
  264. Label.TextWrapped = true
  265. chnum = chnum + 105
  266. Changelog.CanvasSize = UDim2.new(0,0,0,chnum)
  267. end
  268.  
  269. for _,v in pairs(changelog) do
  270.     newLog(v)
  271. end
  272.  
  273. local c = false
  274.  
  275. CreditsButton.MouseButton1Click:connect(function()
  276.     if not c then
  277.         Credits:TweenPosition(UDim2.new(1,0,0,0))
  278.         c = true
  279.     else
  280.         Credits:TweenPosition(UDim2.new(0.5,0,0,0))
  281.         c = false
  282.     end
  283. end)
  284.  
  285. local ch = false
  286.  
  287. ChangeButton.MouseButton1Click:connect(function()
  288.     if not ch then
  289.         Changelog:TweenPosition(UDim2.new(0,0,0,0))
  290.         ch = true
  291.     else
  292.         Changelog:TweenPosition(UDim2.new(0.5,0,0,0))
  293.         ch = false
  294.     end
  295. end)
  296.  
  297. game.Players.LocalPlayer.Chatted:connect(function(msg)
  298.     if msg == "/e open" then
  299.         MainBoi.Visible = true
  300.     elseif msg == "/e close" then
  301.         MainBoi.Visible = false
  302.     end
  303. end)
  304.  
  305. local glob = Instance.new("Sound")
  306. glob.Parent = game.Players.LocalPlayer
  307. glob.Volume = 10
  308. glob.Looped = true
  309. glob.SoundId = "rbxassetid://1533159133"
  310. local d = Instance.new("DistortionSoundEffect")
  311. d.Parent = glob
  312. d.Level = 1
  313.  
  314. math.randomseed(tick())
  315.  
  316. while wait(3) do
  317.     local mafs = math.random(1,100)
  318.     if mafs == 69 then
  319.         warn("Beanboozled")
  320.         glob:Play()
  321.         wait(5)
  322.         glob:Stop()
  323.     end
  324. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement