Have you ever played the game PSYCHOCATS in roblox? I somewhat noticed that the I and O keys weren't working and the K and L keys replaced it. Does anyone else know how to change the zoom in/zoom out keys? Part of the script:
--Define UserInputService local uis = game:GetService('UserInputService')
--Define UserInputService
local uis = game:GetService('UserInputService')
--InputBegan
uis.InputBegan:connect(function(input,process)
--Make sure it's not a game process
if not process then
--Check key 'E'
if input.KeyCode == Enum.KeyCode.I and Player.CameraMaxZoomDistance = 400 Player.CameraMaxZoomDistance = 0.5 then
local CameraSetting
local Player = game.Players.LocalPlayer
Player.CameraMaxZoomDistance = 15
Player.CameraMinZoomDistance = 5
end
end
end)

2 comments
We know how to.. But theres a difference between asking for code and making an attempt and then asking for help.
@MessorAdmin: there's a difference between asking for help and asking for code. Saying "How do you do X" is not the same as "Give me a script to do X". In this case, the answer need only refer to the correct function/service/concept to satisfy the question. @MacFan2006: you should edit your original question with your script and remove your answer (since it isn't an answer).