What am I trying to do I'm trying to make a key press in same key press out. I've used :byte() but that hasn't worked (I think its a problem with pressing the same key because using other keys work). Here's my script
elseif string.lower(Key) == "q" then
if Humanoid.WalkSpeed < 8 then
AimIn()
elseif Humanoid.WalkSpeed > 8 or GunReload == true then
AimStop()
end
end
elseif Key:byte() == 48 and Equipped == true then
AimStop()
elseif Key:byte() == 48 and Equipped == nil then
AimStop()
end

2 comments
why not use UserInputService instead?
Because I dont want to.