I have a script where if you hold down ctrl and move the scroll wheel, it changes the volume. The only problem when i use it in roblox it zooms in and out. Is there a way to block it from happening in roblox when its affecting the volume?
CODE:
^ & WheelUp::Volume_Up
return
Help make roblox not detect scroll wheel while its being used to activate a script.
-
- Posts: 3
- Joined: 02 Feb 2022, 18:36
Re: Help make roblox not detect scroll wheel while its being used to activate a script.
Code: Select all
#IfWinNotActive Roblox
^WheelUp::Volume_Up
^WheelDown::Volume_Down
#IfWinNotActive
-
- Posts: 3
- Joined: 02 Feb 2022, 18:36
Re: Help make roblox not detect scroll wheel while its being used to activate a script.
My bad i worded this badly, I meant like when the script activates then it doesnt affect roblox.
So, during the roblox game, if i use the script then volume will change but nothing will happen in the roblox game, but if i scroll normally then itll zoom in and out.
My bad
So, during the roblox game, if i use the script then volume will change but nothing will happen in the roblox game, but if i scroll normally then itll zoom in and out.
My bad
Re: Help make roblox not detect scroll wheel while its being used to activate a script.
Your own script shouldn't work as you said, because CTRL+WheelUp would be as I showed without &. Perhaps that is the issue? As a hotkey by itself, ^ represents the ^ key rather than Ctrl as a key modifier.
It looks like you might not have posted your complete script here.
Some scripts used in games will require running as admin.
It looks like you might not have posted your complete script here.
Code: Select all
^WheelUp::Volume_Up
^WheelDown::Volume_Down