generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Sliding Bar GUI?

Previous Thread :: Next Thread 
AxFx is not online. AxFx
Joined: 14 Aug 2009
Total Posts: 518
03 Aug 2016 06:59 PM
I've been messing around with making a slide bar selector. Had no idea where to start, and since the draggable property doesn't seem to do anything I took to free models for draggable gui scripts, and just deleted the following on the Y axis.

It worked, but if the mouse left the button it stopped moving with it. I tried some weird stuff with just mouse.Button1Down with some variables and just couldn't get it to work.


Is this even possible?


Report Abuse
j1sh is not online. j1sh
Joined: 31 Jul 2016
Total Posts: 289
03 Aug 2016 07:00 PM
Yes, it's possible. Did it once a while ago, let me see if I can find the code.
Report Abuse
AxFx is not online. AxFx
Joined: 14 Aug 2009
Total Posts: 518
03 Aug 2016 07:03 PM
Sweet that'd be awesome.


Report Abuse
j1sh is not online. j1sh
Joined: 31 Jul 2016
Total Posts: 289
03 Aug 2016 07:19 PM
Here it is, some of the math is stolen, forgot the original creator.

https://www.roblox.com/item.aspx?id=471860369
Report Abuse
Real_Edgy is not online. Real_Edgy
Joined: 23 Oct 2013
Total Posts: 1212
03 Aug 2016 07:21 PM
Slider is already part of the RbxGui library, IIRC.
Report Abuse
j1sh is not online. j1sh
Joined: 31 Jul 2016
Total Posts: 289
03 Aug 2016 07:21 PM
There's a GUI lib? Sweet.
Report Abuse
AxFx is not online. AxFx
Joined: 14 Aug 2009
Total Posts: 518
03 Aug 2016 08:20 PM
Oh yea GUI lib looks kinda cool. Never knew about that.

Tried it out though, and it gives you a very small amount of customization, and will not let me set the width in scale, only offset.

Thanks guys, I'll be using j1sh's slider thing, setting the max val to 32 and then dividing by 8 to get a range of 4, and increments of .25 so it will work to lower/raise the vehicle suspension I've made!


Report Abuse
Mokuteki is online. Mokuteki
Joined: 31 Aug 2010
Total Posts: 906
03 Aug 2016 08:51 PM
XD sliding is the easiest thing to scripting, haven't you ever read wiki? Ever see something called UDim2? ye that's what that does mate. Not really that hard, idk why you post on something you can search on wiki.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image