We’re going to have a wait so that people can’t really spam this button.Whatever you rename that part to, we’re going to reference it in this function. I renamed that blue part that we created in the beginning to teleport part. We have a d-bounce and a function where anytime if we click on this button, then we’ll get teleported to our teleport part. We’re going to go ahead and write down our variable. We’re going to add one more thing inside of our text button.I’m gonna go ahead and add a UI corner to have a rounded corner. Once the text button is in your desired area (for me it’s just going to be in the middle of this part), go ahead and resize or scale the text font and color. It takes a while to get to the area that you want, so take your time. Change the face of that the frame and go ahead and resize/position it to however you want.Inside of our surface GUI let’s go ahead and adornee our part so that the surface GUI is going to be inside of this gray part that we want to have the frame on. Inside of our frame let’s add a text button, not a label. Inside of our surface GUI, let’s go ahead and add a frame. Inside of our starter GUI, go ahead and add a surface GUI. Our button is going to be inside of this part so grab a part, resize it, reshape it to however you want. You can change the transparency of it to 1. Go ahead and untick can collide so that when we teleport on it, we won’t get stuck inside of the part.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |