Advertisement
Guest User

Untitled

a guest
May 27th, 2024
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. --Paste Into A local script inside of starter Gui
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local open = Instance.new("TextButton")
  5. local UICorner = Instance.new("UICorner")
  6. local Close = Instance.new("TextButton")
  7. local UICorner_2 = Instance.new("UICorner")
  8. local Shop = Instance.new("Frame")
  9. local UICorner_3 = Instance.new("UICorner")
  10. local Title = Instance.new("TextLabel")
  11. local Shop_2 = Instance.new("Frame")
  12. local ImageButton = Instance.new("ImageButton")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. open.Name = "open"
  20. open.Parent = ScreenGui
  21. open.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  22. open.BorderColor3 = Color3.fromRGB(0, 0, 0)
  23. open.BorderSizePixel = 0
  24. open.Position = UDim2.new(0, 0, 0.475034684, 0)
  25. open.Size = UDim2.new(0, 79, 0, 28)
  26. open.Font = Enum.Font.SourceSans
  27. open.Text = "Open"
  28. open.TextColor3 = Color3.fromRGB(255, 255, 255)
  29. open.TextSize = 26.000
  30. open.TextWrapped = true
  31.  
  32. UICorner.Parent = open
  33.  
  34. Close.Name = "Close"
  35. Close.Parent = ScreenGui
  36. Close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  37. Close.BorderColor3 = Color3.fromRGB(0, 0, 0)
  38. Close.BorderSizePixel = 0
  39. Close.Position = UDim2.new(0, 0, 0.475034684, 0)
  40. Close.Size = UDim2.new(0, 79, 0, 28)
  41. Close.Visible = false
  42. Close.Font = Enum.Font.SourceSans
  43. Close.Text = "Close"
  44. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  45. Close.TextSize = 26.000
  46. Close.TextWrapped = true
  47.  
  48. UICorner_2.Parent = Close
  49.  
  50. Shop.Name = "Shop"
  51. Shop.Parent = ScreenGui
  52. Shop.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  53. Shop.BorderColor3 = Color3.fromRGB(0, 0, 0)
  54. Shop.BorderSizePixel = 0
  55. Shop.Position = UDim2.new(0.288149357, 0, 0.211511791, 0)
  56. Shop.Size = UDim2.new(0, 569, 0, 354)
  57. Shop.Visible = false
  58.  
  59. UICorner_3.Parent = Shop
  60.  
  61. Title.Name = "Title"
  62. Title.Parent = Shop
  63. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64. Title.BackgroundTransparency = 1.000
  65. Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
  66. Title.BorderSizePixel = 0
  67. Title.Position = UDim2.new(0.323374331, 0, 0, 0)
  68. Title.Size = UDim2.new(0, 200, 0, 50)
  69. Title.Font = Enum.Font.SourceSans
  70. Title.Text = "Shop"
  71. Title.TextColor3 = Color3.fromRGB(0, 0, 0)
  72. Title.TextSize = 14.000
  73.  
  74. Shop_2.Name = "Shop"
  75. Shop_2.Parent = Shop
  76. Shop_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  77. Shop_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  78. Shop_2.BorderSizePixel = 0
  79. Shop_2.Position = UDim2.new(-7.5623524e-05, 0, 0.143920988, 0)
  80. Shop_2.Size = UDim2.new(0, 569, 0, -2)
  81.  
  82. ImageButton.Parent = Shop_2
  83. ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. ImageButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  85. ImageButton.BorderSizePixel = 0
  86. ImageButton.Position = UDim2.new(0, 0, 1.5, 0)
  87. ImageButton.Size = UDim2.new(0, 100, 0, 100)
  88. ImageButton.Image = "http://www.roblox.com/asset/?id=5381454270"
  89.  
  90. -- Scripts:
  91.  
  92. local function ONTJFN_fake_script() -- open.LocalScript
  93. local script = Instance.new('LocalScript', open)
  94.  
  95. local Open = script.Parent
  96. local Close = script.Parent.Parent.Close
  97. local Shop = script.Parent.Parent.Shop
  98.  
  99. Open.MouseButton1Down:Connect(function()
  100. Open.Visible = false
  101. Close.Visible = true
  102. Shop.Visible = true
  103. end)
  104. end
  105. coroutine.wrap(ONTJFN_fake_script)()
  106. local function GMKJSG_fake_script() -- Close.LocalScript
  107. local script = Instance.new('LocalScript', Close)
  108.  
  109. local close = script.Parent
  110. local open = script.Parent.Parent.open
  111. local Shop = script.Parent.Parent.Shop
  112. close.MouseButton1Down:Connect(function()
  113. open.Visible = true
  114. close.Visible = false
  115. Shop.Visible = false
  116. end)
  117. end
  118. coroutine.wrap(GMKJSG_fake_script)()
  119.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement