#I'm trying to make it so when you press a text button then a frame shows...

58 messages · Page 1 of 1 (latest)

willow pebble
#

im new to scripting, ive done this before and idk what the problem is

soft phoenix
#

errors?

willow pebble
lament ember
#

check the transparency

willow pebble
#

transparency for?

soft phoenix
#

frames

little cypressBOT
#

studio** You are now Level 5! **studio

lament ember
#

the frame

willow pebble
#

i set visible to false

lament ember
#

go into the frames properties

willow pebble
#

k

lament ember
#

make sure the transparency is set to 0

#

and make sure the button is set to active which can also be found in the properties

willow pebble
#

background trans? theres no transparency on its own

lament ember
#

yeah

willow pebble
#

its set to 0

#

it already was

lament ember
#

go to the button and check if the active is set to true

willow pebble
#

its true

#

my goodness its so weird

#

is there something wrong with the code? i sent it above

lament ember
#

no the code is fine

#

do you know how to make a copy of the game?

willow pebble
#

yes

lament ember
#

send me the file to it and ill check for any issues

lament ember
#

kk give me a sec to check everything

#

I got it to work but im not sure why

willow pebble
#

uhh

lament ember
#

I just created a different frame and put the buttons into the new frame

willow pebble
#

i will do that then..

#

thats so strange

#

what

lament ember
#

also instead of doing offset use scale

#

if you want the frame to be the size of the screen you set it to 1:1

willow pebble
#

whats the difference between offset and scale sir

lament ember
#

offset is a fixed size of pixels that doesnt change no matter what device its on for example if its on a phone vs computer it would look a lot bigger on the phone since it has less pixels. scaled uses percentages of the devices screen to it changes depending on the screen

willow pebble
lament ember
#

its under size, there are 4 numbers you can change xScale xOffset yScale yOffset

willow pebble
#

i see

lament ember
#

if you just type 1 into the textbox it makes the scales to 1 and offset to 0

willow pebble
#

was i using offset?

lament ember
#

yes

willow pebble
#

i set size to 1,1 to use scale and be the size of the screen?

lament ember
#

yup

willow pebble
#

oh yea

lament ember
#

its whatever number you use x 100

#

so 0.5 would be 50% of the screen

willow pebble
#

also when i press play the text button moves down the screen a bit

little cypressBOT
#

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

willow pebble
#

why is this

lament ember
#

its because roblox's menu at the top has a dedicated space so it moves everything down, im not really sure how to fix it perfectly

willow pebble
#

oh i see

#

i will just move it up a notch then

lament ember
willow pebble
void pebble
#

and connect a func and make the frame visible = true