How can i make a CREDIT GUI. that pop's up a new frame. So when i click the CREDIT button i see a frame That shows the credits.
✓ ANSWER ACCEPTED
How can i make a CREDIT GUI. that pop's up a new frame?
1 answer
✓ Accepted answer
Hello, this is really basic to script it, so you should understand the following code:
local button = script.Parent.TextButton
local creditFrame = script.Parent.Frame
function changingValueVisiblity()
creditFrame.Visible = not creditFrame.Visible
end
button.MouseButton1Down:Connect(changingValueVisiblity)
Also, you may change the orientation both of those values and store the local script in "ScreenGui". Have a good day!
This discussion is preserved as it was. New answers, comments, and votes are closed.
