So i managed to make a gui but i can't get it to open another that will have buttons to give you certain tools when you have the right stats.
here is my code i use for my gui.
-- In a LocalScript in StarterGui:
-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = script.Parent
-- Create TextButton
local textButton = Instance.new("TextButton")
textButton.Parent = screenGui
textButton.Position = UDim2.new(0, 25, 0, 300)
textButton.Size = UDim2.new(0, 50, 0, 50)
textButton.BackgroundColor3 = BrickColor.Red().Color
textButton.Text = "Skills"
script.Parent.MouseButton1Click:connect(function()
game.Players.LocalPlayer.PlayerGui.GUI3.Visible=true
end) |