Advertisement
mjv2023

doors item gui

Aug 21st, 2023 (edited)
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. -- Create a ScreenGui to hold the GUI
  2. local gui = Instance.new("ScreenGui")
  3. gui.Name = "DoorsItemGUI"
  4. gui.Parent = game.Players.LocalPlayer.PlayerGui
  5.  
  6. -- Create the main frame for the GUI
  7. local frame = Instance.new("Frame")
  8. frame.Size = UDim2.new(0, 300, 0, 400)
  9. frame.Position = UDim2.new(0.5, -150, 0.5, -200)
  10. frame.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)
  11. frame.Parent = gui
  12.  
  13. -- Create buttons with corresponding code
  14. local buttons = {
  15. {"subspace tripmine gui", "loadstring(game:HttpGet('https://pastebin.com/raw/6R5vUuDK'))()"},
  16. {"Lazer gun", "loadstring(game:HttpGet('https://raw.githubusercontent.com/K0t1n/Public/main/Laser%20Gun.lua'))()"},
  17. {"GRENADE", "loadstring(game:HttpGet('https://pastebin.com/raw/zeFBYYy9', true))()"},
  18. {"FLAMETHROWER", "loadstring(game:HttpGet('https://raw.githubusercontent.com/K0t1n/Public/main/Flamethrower'))()"},
  19. {"Chocolate", "loadstring(game:HttpGet('https://raw.githubusercontent.com/K0t1n/Public/main/Chocolate%20Bar.lua'))()"},
  20. {"PURPLE GUMMY FLASHLIGHT", "loadstring(game:HttpGet('https://raw.githubusercontent.com/K0t1n/Public/main/Purple%20Flashlight%20Script.lua'))()"},
  21. {"debug stick", "loadstring(game:HttpGet('https://raw.githubusercontent.com/K0t1n/Public/main/Debug%20Stick'))()"},
  22. {"Harry potter wandπŸ’€", [[
  23. local Functions = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Functions.lua"))()
  24. local CustomShop = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors/Custom%20Shop%20Items/Source.lua"))()
  25. local UIS = game:GetService("UserInputService")
  26. -- Rest of the code
  27. ]]},
  28. {"GUN", "loadstring(game:HttpGet('https://pastebin.com/raw/cJWSByci'))()"}
  29. }
  30.  
  31. local yPosition = 10
  32.  
  33. for _, buttonInfo in ipairs(buttons) do
  34. local button = Instance.new("TextButton")
  35. button.Size = UDim2.new(0.8, 0, 0, 30)
  36. button.Position = UDim2.new(0.1, 0, 0, yPosition)
  37. button.Text = buttonInfo[1]
  38. button.Parent = frame
  39.  
  40. local code = buttonInfo[2]
  41.  
  42. button.MouseButton1Click:Connect(function()
  43. loadstring(code)()
  44. end)
  45.  
  46. yPosition = yPosition + 40
  47. end
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement