when you move your mouse while right clicking, you can move the camera! but i would like to change it to the scroll wheel instead of the mouse’s right button. Whats the code for that?
3 Likes
dude pls i newed help------------------
By default, there are a bunch of core scripts in PlayerScripts
in Players.LocalPlayer
when the character loads normally. You’ll want to open that up, look for the module script CameraInput
search & replace Enum.UserInputType.MouseButton2
with Enum.UserInputType.MouseButton3
and copy the entire PlayerModule
script (and the the descendants) and store it in StarterPlayerScripts
This will work, but I don’t recommend messing around with those scripts, and instead making your own camera system.
1 Like