Help with Slider GUI

I am trying to make a transparency slider to set the transparency of something, I want the value to go up by 0.05 but am not sure how to do so. Here is what I currently have.


local min = 0
local start = 0
local max = 1

local absolute_position = background.AbsolutePosition.X
	local absolute_size = background.AbsoluteSize.X

	local clamp = math.clamp((input.Position.X - absolute_position), 0, absolute_size) 
	local new_value = math.floor((max - min) * (clamp / absolute_size) + min) 
	
	-- Update UI Elements
	_tick.Position = UDim2.new(0, clamp, .5, 0) 
	progress.Size = UDim2.new(0, clamp, 0, 15)
	output.Text = new_value