Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can i make a CREDIT GUI. that pop's up a new frame?

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.

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.