Can anybody help me with my play button screen in roblox studio

Nothing, just change the variable.

uuuhhhhhhhhhhhhhhhhhhhhhhhhhhh?
variable?

Nevermind, just do this

script.Parent.MouseButton1Down:Connect(function()
local playergui = game.Players.LocalPlayer.PlayerGui
playergui["Donate 100 Robux"].Enabled = true
playergui["Donate 1000 Robux"].Enabled = true
playergui["robux 20"].Enabled = true
-- Add other GUIs here
script.Parent.Parent.Enabled = false

Same thing happened as before, play button does nothing still : /

Sorry weve been here so long, ill just make like an intro cutscene thing

1 Like

Thanks for helping, goodbye…!

I have no idea why it isn’t working, maybe because it’s night for me lol, my brain isn’t working

Okay lol, anyways goodbyee, ;;;

local Button = script.Parent.PLAY.PLAY

local ScreenGuiA = script.Parent:GetDescendants

for i, v in pairs(ScreenGuiA) do
 if v:IsA("TextButton") then
   if v.Name == "PLAY" then
    v.Visible = true
else
      v.Visible = false
   end
 end 
end


if Button:IsA("TextButton") then
 Button.MouseButton1Up:Connect(function()

  for i, v in pairs(ScreenGuiA) do
    if v:IsA("TextButton") then
      if v.Name == "PLAY" then
         v.Visible = false
      else
         v.Visible = true
      end
    end 
end

 end)

else
end

Put this script in StarterGui as a local script

1 Like

Thanks for the help but I decided to not have a play button after all.

Np it’s fine but if you want to make a play button later then you can use my script.

Of course, If I want to make a play button I’ll try yours. :slightly_smiling_face: