Advertisement
Lucas111222

The Normal Elevator Gui

Nov 5th, 2017
15,041
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.61 KB | None | 0 0
  1.  
  2.     --Use the find and replace tool to replace all of each of the following with what you want:
  3.  
  4. --The Normal Elevator Gui
  5. --Lucas111222
  6. --TheNormalElevatorGui(NoSpaces)
  7. --Cookie(NoSpaces)
  8. --Jawbreaker(NoSpaces)
  9. --KandyBar(NoSpaces)
  10. --KrabbyPatty(NoSpaces)
  11. --Spinach(NoSpaces)
  12. --SecretElevator(NoSpaces)
  13. --Cookie
  14. --Jawbreaker
  15. --Kandy Bar
  16. --Krabby Patty
  17. --Spinach
  18. --Secret Elevator
  19.  
  20.     --Go down to the bottom of the script and replace the areas labled 'Enter(ButtonName)FunctionHere' with the script you want to run for each of the buttons
  21.  
  22. if game.CoreGui:findFirstChild("TheNormalElevatorGui") then
  23. game.CoreGui["TheNormalElevatorGui"]:remove()
  24. end
  25.  
  26. wait(0.1)
  27. TheNormalElevatorGui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  28. TheNormalElevatorGui.Name = ("TheNormalElevatorGui")
  29. tab = Instance.new("Frame",TheNormalElevatorGui)
  30. frame = Instance.new("Frame",tab)
  31. close = Instance.new("TextButton",tab)
  32. min = Instance.new("TextButton",tab)
  33. blabel = Instance.new("TextLabel",tab)
  34. local CG = game.CoreGui
  35. Cookie = Instance.new("TextButton",frame)--
  36. Jawbreaker = Instance.new("TextButton",frame)--
  37. KandyBar = Instance.new("TextButton",frame)--
  38. KrabbyPatty = Instance.new("TextButton",frame)--
  39. Spinach = Instance.new("TextButton",frame)--
  40. SecretElevator = Instance.new("TextButton",frame)--
  41.  
  42.     --Appearance
  43.  
  44. TheNormalElevatorGui.Parent = CG
  45. local CGG = CG["TheNormalElevatorGui"]
  46.  
  47. tab.AnchorPoint = Vector2.new(0.5,0.5)
  48. tab.Position = UDim2.new(0.5,0,0.5,0)
  49. tab.Size = UDim2.new(0,400,0,25)
  50. tab.BorderSizePixel = 0
  51. tab.BackgroundColor3 = Color3.new(1,1,1)
  52. tab.Draggable = true
  53. tab.Active = true
  54.  
  55. frame.Position = UDim2.new(0,0,0,25)
  56. frame.Size = UDim2.new(0,400,0,178.5)
  57. frame.BorderSizePixel = 0
  58. frame.BackgroundColor3 = Color3.new(150/255,150/255,150/255)
  59.  
  60. close.Position = UDim2.new(1,-20,0,0)
  61. close.Size = UDim2.new(0,20,0,20)
  62. close.BorderSizePixel = 0
  63. close.BackgroundColor3 = Color3.new(1,1,1)
  64. close.Text = ("X")
  65. close.Font = ("Arial")
  66. close.TextSize = 15
  67. close.TextColor3 = Color3.new(26/255,26/255,26/255)
  68.  
  69. min.Position = UDim2.new(1,-40,0,0)
  70. min.Size = UDim2.new(0,20,0,20)
  71. min.BorderSizePixel = 0
  72. min.BackgroundColor3 = Color3.new(1,1,1)
  73. min.Text = ("_")
  74. min.Font = ("Arial")
  75. min.TextSize = 15
  76. min.TextColor3 = Color3.new(26/255,26/255,26/255)
  77.  
  78. blabel.Position = UDim2.new(0,135,0,8)
  79. blabel.BackgroundTransparency = 1
  80. blabel.Text = ("The Normal Elevator Gui by Lucas111222")
  81. blabel.TextSize = 10
  82. blabel.TextColor3 = Color3.new(0,0,0)
  83.  
  84. Cookie.Position = UDim2.new(0,5,0,5)
  85. Cookie.Size = UDim2.new(0,126,0,80)
  86. Cookie.BorderSizePixel = 0
  87. Cookie.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  88. Cookie.Text = ("Cookie")
  89. Cookie.Font = ("Arial")
  90. Cookie.TextSize = 20
  91. Cookie.TextColor3 = Color3.new(0,0,0)
  92.  
  93. Jawbreaker.Position = UDim2.new(0,136,0,5)
  94. Jawbreaker.Size = UDim2.new(0,126,0,80)
  95. Jawbreaker.BorderSizePixel = 0
  96. Jawbreaker.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  97. Jawbreaker.Text = ("Jawbreaker")
  98. Jawbreaker.Font = ("Arial")
  99. Jawbreaker.TextSize = 20
  100. Jawbreaker.TextColor3 = Color3.new(0,0,0)
  101.  
  102. KandyBar.Position = UDim2.new(0,267,0,5)
  103. KandyBar.Size = UDim2.new(0,128,0,80)
  104. KandyBar.BorderSizePixel = 0
  105. KandyBar.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  106. KandyBar.Text = ("Kandy Bar")
  107. KandyBar.Font = ("Arial")
  108. KandyBar.TextSize = 20
  109. KandyBar.TextColor3 = Color3.new(0,0,0)
  110.  
  111. KrabbyPatty.Position = UDim2.new(0,5,0,93)
  112. KrabbyPatty.Size = UDim2.new(0,126,0,80)
  113. KrabbyPatty.BorderSizePixel = 0
  114. KrabbyPatty.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  115. KrabbyPatty.Text = ("Krabby Patty")
  116. KrabbyPatty.Font = ("Arial")
  117. KrabbyPatty.TextSize = 20
  118. KrabbyPatty.TextColor3 = Color3.new(0,0,0)
  119.  
  120. Spinach.Position = UDim2.new(0,136,0,93)
  121. Spinach.Size = UDim2.new(0,126,0,80)
  122. Spinach.BorderSizePixel = 0
  123. Spinach.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  124. Spinach.Text = ("Spinach")
  125. Spinach.Font = ("Arial")
  126. Spinach.TextSize = 20
  127. Spinach.TextColor3 = Color3.new(0,0,0)
  128.  
  129. SecretElevator.Position = UDim2.new(0,267,0,93)
  130. SecretElevator.Size = UDim2.new(0,128,0,80)
  131. SecretElevator.BorderSizePixel = 0
  132. SecretElevator.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  133. SecretElevator.Text = ("Secret Elevator")
  134. SecretElevator.Font = ("Arial")
  135. SecretElevator.TextSize = 20
  136. SecretElevator.TextColor3 = Color3.new(0,0,0)
  137.  
  138.     --Buttons / functions
  139.  
  140. close.MouseEnter:connect(function()
  141.     close.BackgroundColor3 = Color3.new(1,0,0)
  142. end)
  143. close.MouseLeave:connect(function()
  144.     close.BackgroundColor3 = Color3.new(1,1,1)
  145. end)
  146. close.MouseButton1Up:connect(function()
  147.     game.CoreGui["TheNormalElevatorGui"]:remove()
  148. end)
  149.  
  150. minid = false
  151. min.MouseButton1Up:connect(function()
  152.     if minid == false then
  153.         frame.Position = UDim2.new(2000,0,0,0)
  154.         minid = true
  155.     else
  156.         frame.Position = UDim2.new(0,0,0,25)
  157.         minid = false
  158.     end
  159.    
  160. end)
  161.  
  162.  
  163. Cookie.MouseEnter:connect(function()
  164.     Cookie.TextColor3 = Color3.new(1,1,1)
  165.     Cookie.BackgroundColor3 = Color3.new(135/255, 135/255, 135/255)
  166. end)
  167. Cookie.MouseLeave:connect(function()
  168.     Cookie.TextColor3 = Color3.new(0,0,0)
  169.     Cookie.BackgroundColor3 = Color3.new(100/255, 100/255, 100/255)  
  170. end)
  171. Cookie.MouseButton1Down:connect(function()
  172. game.ReplicatedStorage.Purchase:InvokeServer("Cookie")
  173. end)
  174.  
  175. Jawbreaker.MouseEnter:connect(function()
  176.     Jawbreaker.TextColor3 = Color3.new(1,1,1)
  177.     Jawbreaker.BackgroundColor3 = Color3.new(135/255, 135/255, 135/255)
  178. end)
  179. Jawbreaker.MouseLeave:connect(function()
  180.     Jawbreaker.TextColor3 = Color3.new(0,0,0)
  181.     Jawbreaker.BackgroundColor3 = Color3.new(100/255, 100/255, 100/255)  
  182. end)
  183. Jawbreaker.MouseButton1Down:connect(function()
  184. game.ReplicatedStorage.Purchase:InvokeServer("Jawbreaker")
  185. end)
  186.  
  187. KandyBar.MouseEnter:connect(function()
  188.     KandyBar.TextColor3 = Color3.new(1,1,1)
  189.     KandyBar.BackgroundColor3 = Color3.new(135/255, 135/255, 135/255)
  190. end)
  191. KandyBar.MouseLeave:connect(function()
  192.     KandyBar.TextColor3 = Color3.new(0,0,0)
  193.     KandyBar.BackgroundColor3 = Color3.new(100/255, 100/255, 100/255)  
  194. end)
  195. KandyBar.MouseButton1Down:connect(function()
  196. game.ReplicatedStorage.Purchase:InvokeServer("Kandy Bar")
  197. end)
  198.  
  199. KrabbyPatty.MouseEnter:connect(function()
  200.     KrabbyPatty.TextColor3 = Color3.new(1,1,1)
  201.     KrabbyPatty.BackgroundColor3 = Color3.new(135/255, 135/255, 135/255)
  202. end)
  203. KrabbyPatty.MouseLeave:connect(function()
  204.     KrabbyPatty.TextColor3 = Color3.new(0,0,0)
  205.     KrabbyPatty.BackgroundColor3 = Color3.new(100/255, 100/255, 100/255)  
  206. end)
  207. KrabbyPatty.MouseButton1Down:connect(function()
  208. game.ReplicatedStorage.Purchase:InvokeServer("Krabby Patty")
  209. end)
  210.  
  211. Spinach.MouseEnter:connect(function()
  212.     Spinach.TextColor3 = Color3.new(1,1,1)
  213.     Spinach.BackgroundColor3 = Color3.new(135/255, 135/255, 135/255)
  214. end)
  215. Spinach.MouseLeave:connect(function()
  216.     Spinach.TextColor3 = Color3.new(0,0,0)
  217.     Spinach.BackgroundColor3 = Color3.new(100/255, 100/255, 100/255)  
  218. end)
  219. Spinach.MouseButton1Down:connect(function()
  220. game.ReplicatedStorage.Purchase:InvokeServer("Spinach")
  221. end)
  222.  
  223. SecretElevator.MouseEnter:connect(function()
  224.     SecretElevator.TextColor3 = Color3.new(1,1,1)
  225.     SecretElevator.BackgroundColor3 = Color3.new(135/255, 135/255, 135/255)
  226. end)
  227. SecretElevator.MouseLeave:connect(function()
  228.     SecretElevator.TextColor3 = Color3.new(0,0,0)
  229.     SecretElevator.BackgroundColor3 = Color3.new(100/255, 100/255, 100/255)  
  230. end)
  231. SecretElevator.MouseButton1Down:connect(function()
  232. game.Workspace.Lobby.Keypad.Click:FireServer("Enter")
  233. wait(1.1)
  234. game.Workspace.Lobby.Keypad.Click:FireServer("3792")
  235. game.Workspace.Lobby.Keypad.Click:FireServer("Enter")
  236. end)
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement