SliderService - Create easy and functional Sliders!

How do I use this module? How would I set up a working slider?

I’m currently rewriting this API due to V2 being released. It should only be a few minutes.

1 Like

Yeah, I am working on a project and I need those slider APIs :joy:, thanks!

EDIT: I see the API, but where’s the example?

1 Like

Slider V2
The second version of this module is out!
With this version comes a lot of improvements, the majority of them being internal, however, the API for this module has also changed!

:notebook: Changes :notebook:

  • Different Slider.new() constructor (see API)
  • Completely updated and neatened internal scripts
  • New API (a lot neater and more readable).
1 Like

If you read the Slider.new() constructor, there’s an example!

1 Like

This is the best documented module I’ve seen in a while, good job

Thank you haha, if you have any issues let me know!

V2.0.1
Quick update for this version!

:notebook_with_decorative_cover: Additions :notebook_with_decorative_cover:

  • A new parameter in the configuration table for Slider.new() has been added. This new parameter is called MoveType and controls if the slider tweens or instantly moves! Read more in the API.
1 Like

I thought it was Deprecated but Oh well.
@Krystaltinan
Cool module though will help me with my new plugin features!

1 Like

That’s good to hear, hope you like it!

@Krystaltinan I’m having issues with your Module, the Slider button disappears.
I need to fix it right now Because, I’m working on my new Plugin!

Code

local Slider = require(EZPluginFolder.Slider)

local FOVSlider = Slider.new(FovFrame.Holder, {
	SliderData = {Start = 60, End = 65, Increment = 5},
	MoveInfo = TweenInfo.new(0.1, Enum.EasingStyle.Quad)
})

FOVSlider.Changed:Connect(function(NewFov:number)
game.Workspace.Camera.FieldOfView = NewFov
end)

FOVSlider:Track()

Picture of the Frame
image

Ok, it looks like the Module doesn’t work in plugins.

It should work in a plugin? If not I can attempt to add it

1 Like

It doesn’t My button disappears as you can see here.

(Also, I added a print statement in the changed event and it did print but the Button just goes away from it, Once I deleted the module from the game it was there…)

As you can see here it Printed (I didn’t even open it, it changes on it’s own)
Please fix it asap!!
image

1 Like

Mind sending a video? Might be a way the button is positioned

It’s not, When I deleted the Module script, the Position worked.

Here is a Picture when I Remove the module (I think it’s from the Slider data)
image

Hm, I’ll try fix this when I’m home as I’m on the train rn

1 Like

Any updates? Or you can’t fix it If so I’ll make a custom one?