I've tried everything in making this script work and nothing fixes it. I've tried changing the text in the TextLabel, when that didn't work I did what I do now in having two separate TextLabels and just setting the visibility boolean to true/false. I've made sure the "file" paths check out as well. This is getting extremely frustrating
local CFR = game.StarterGui.ChooseFoot.Frame.R
local CFL = game.StarterGui.ChooseFoot.Frame.L
function Pressed(key)
if key == Enum.KeyCode.LeftAlt then
if CFR.Visible == true then
CFR.Visible = false
CFL.Visible = true
elseif CFR.Visible == false then
CFR.Visible = true
CFL.Visible = false
end
end
end
game:GetService("UserInputService").InputBegan:connect(Pressed)
