How do I make a UI Slider for FOV, time etc

Never done this before, I wanna ask how can I make a slider that works for FOV and lighting settings etc.

1 Like

A slider which adjust with where it goes? Like if the slider is at 0.5 then the lighting is at 50%?

no like, lets say theres this slider
if the slider is at the number0.5 then brightness is 0.5

for field of view, in local script,

  1. detect the slider amount
  2. change values accordingly
    example: (local, in a loop)
local camera = workspace.Camera
local lighting = workspace.Lighting
lighting.Brightness = scrollingframe.CanvasPosition.X -- or Y
Camera.FieldOfView = scrollingframe.CanvasPosition.X -- or Y
-- scrollingframe is prob in your player.playergui.screengui unless you didnt create it

ok, so just make a slider with the bar being at the max size of the fov
make a script to detect the movement then when the position is changed then the fov changes

yeah 50%, same thing at the same, just another number

yeah thats basically what im looking for

There are some good slider on toolbox. You will need to modify it a bit to work with lighting and other things to be modified but it can work