Currently I'm trying to edit the text inside of the Player's PlayerGui, and the only error that APPEARS to be connected to this script is "TextBounds is not a member" or something like that. The thing is nothing in my script messes with TextBounds. The hierarchical structure of my variables are correct. Here's my script:
wait(1)
A = script.Parent.Parent.Parent.PlayerGui.ChooseFoot.CFF.CF
function ChangeFeet(CF)
if CF == Enum.KeyCode.LeftAlt then
if A.Text == ("R") then
A.Text = ("L")
elseif A.Text == ("L") then
A.Text = ("R")
end
end
end
game:GetService("UserInputService").InputBegan:connect(ChangeFeet)

1 comment
Thanks, it worked when I added the CF.KeyCode part of the script.