sooooooooo I haven't done lua in a year so I'm a bit rusty and I'm curious why this doesn't work
local button = script.Parent local function onButtonActivated() if script.Parent.Text = "Back" then script.Parent.text = "Credits" else script.Parent.Text = "Back" end end button.Activated:Connect(onButtonActivated)
use this:
local button = script.Parent button.MouseButton1Click:Connect(function() if script.Parent.Text == "Back" then script.Parent.Text = "Credits" else script.Parent.Text = "Back" end end)