Why isn't this script working? Everything seems correct. This is a local script in startergui.
local debounce = false
local plyr = game.Players.LocalPlayer
local mouse = plyr:GetMouse()
mouse.KeyDown:connect(function(key)
if not debounce then
debounce = true
if string.lower(key) == "r" then
plyr:LoadCharacter()
wait(3)
debounce = false
elseif key:byte() == 63 then
game.Lighting.HELP:Clone().Parent = plyr.PlayerGui
wait(3)
debounce = false
end
end
end)

2 comments
Are you getting any Output?
Nope.