Changing Sky Ui

Hello Devs i wanted to make a UI that whenever u click on it changes to different skies for everyclick but the problem is i got multiple skies is it works on one button or i need to make a list for it ??

2 Likes

four letters, one word, everything needed

what?

so i can’t make all the skies change in one Ui ??

i. need. more. context.

what are you trying to do, assemble a random skybox upon the button being clicked?

well im trying to do hangout game and i wanted to be everything being customizable so thats why im doing this

I think what you want to do is change the sky box? Yes it’d be possible within a gui. What I’d do is store multiple sky objects (the object you use to create skyboxes), and within a script store them in an array, so you can just swap them out for the Sky object in lighting. You can see how to create skyboxes here. I assume you know how to use arrays to make the rest of the ui work?

2 Likes

if you want custom skies, you’re gonna have to get every skybox there is in the asset browser (or was it marketplace?), this is because roblox does not allow clients to load music and skyboxes locally (why? i don’t know)

2 Likes

Because back in the day exploiters used to go crazy. Pre forced FilteringEnabled roblox was a different place

3 Likes

were skyboxes (and sounds) able to be played globally??

1 Like

so if the client can’t load skies that means i can’t make sky change only for only the player client and that means i need to make a server script but it will change the sky for everyone

1 Like

no, people cannot load skies into your game that are not in your inventory

1 Like

so that means publishing skies to my inventory and making it Public will fix the problem ig

no, you can just get random skyboxes from the marketplace

1 Like

anyways thx for trying to help i will try to figure out how i will do it : D

@Wallmartbag9112

what do you think? do you want this? i have it in the creator store! click here

1 Like

add any skybox inside the skyboxes folder