#scale bar (r6)

1 messages · Page 1 of 1 (latest)

barren scroll
#

I need help making a bar that can be moved on the y axis (ui drag bar) and based on the position of the bar it will change the players height (r6) so they get small if they go all the way to the left and normal height on the right.

worldly granite
barren scroll
zenith burrow
#

Get size of the slider on the x axis or y axis depending on which direction the sliding will move along. Get the y or x position of the mouse and convert to percentage based on where the mouse position is in terms of the bar size along that specific axis. Then you can multiply whatever the value is that when added onto the minimum height will produce the max height if the percentage is 1 by that percentage then add that value to the minimum height the character can be

#

Grab the mouse position in a loop when the mouse button 1 down event is activated, make sure the gui state is in the press state otherwise cancel the loop

worldly granite
barren scroll
#

also do they have to have the noob skin or?

worldly granite
worldly granite
#

but from what i tested

#

when you havea acceseroies

#

or whatever it is called

#

it takes a little more for the size to be updated

#

like half a second longer

worldly granite
#

where in this one you see the change while scrolling instantly

#

i mean you get biggen in real time

#

but the acceserioes take a lil longer

barren scroll
#

yeah but also some people might not like their avatar as that

barren scroll
worldly granite
#

let me show u 1 sec

quiet crestBOT
#

studio** You are now Level 4! **studio

barren scroll
worldly granite
barren scroll
#

i think the problem is that

#

the head loads

#

then once you let go

#

the body loads

#

(accessory)

worldly granite
#

you dont gotta let go

#

for it to load

#

in the vid i sometimes hold

#

it still loads

barren scroll
quiet crestBOT
#

studio** You are now Level 8! **studio