Hey there, I don’t do much scripting and I’m currently working with a script a friend wrote for me. To activate the frame, I have to hold Tab, since the frame is only visible while Tab is being held down. Could someone fix this?
local plr = game.Players.LocalPlayer
local input = game:GetService("UserInputService")
local board = script.Parent.Board
input.InputBegan:connect(function(key,processed)
if processed then return end
if key.KeyCode == Enum.KeyCode.Tab then
board.Visible = true
end
end)
input.InputEnded:connect(function(key,processed)
if processed then return end
if key.KeyCode == Enum.KeyCode.Tab then
board.Visible = false
end
end)