btw there is a value inside of the GUI so that i know if its Visible so i can spend less time lol
local UIS = game:GetService("UserInputService")
UIS.InputBegan:Connect(function(key)
if key == Enum.KeyCode.RightShift then
if script.Parent.Visible.Value == true then
script.Parent.BottomFrame.Visible = false
script.Parent.Frame.Visible = false
else
script.Parent.BottomFrame.Visible = true
script.Parent.Frame.Visible = true
end
else
return
end
end)

2 comments
and yes the Value is a Bool
boolValues can be changed locally and globally that why its not working because for the server the value still appears as false. Replace that boolValue with a simple local Value = false and tell me if it works