It only works in studio, and won't give me an error.
GUs = 0 Level = 1 TKills = 0 Menu = script.Parent MenuB = script.Parent.Parent.Menu GUsT = script.Parent.GUs LevelT = script.Parent.Level TKillsT = script.Parent.TKills Open = false MenuB.MouseButton1Down:connect(function(open) if Open == false then Menu.Visible = false MenuB.Text = "Open Menu" Open = true GUsT.Text = "Galactic Units: " ..GUs LevelT.Text = "Level: " ..Level TKillsT.Text = "Total Kills: " ..TKills elseif Open == true then Menu.Visible = true MenuB.Text = "Close Menu" Open = false end end)