Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do I make a textlabel button? [closed]

Asked by 4 years ago

This question already has an answer here:

How do i make a text label button?

How do I make it to when the textlabel is clicked it open up a frame I have no script but could someone pls help

0
What do you mean open up a frame? Benbebop 1049 — 4y
0
Like a menu when clicked it goes to a character customization menu Firewolf0z -59 — 4y

Marked as Duplicate by programmerHere, cmgtotalyawesome, WideSteal321, and TheRealPotatoChips

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
Benbebop 1049 Moderation Voter
4 years ago
Edited 4 years ago

There isn't much to go off here but ill try my best.

local TextBox = -- Location of textbox --
local Frame = -- Location of frame --

local function onPressed()
    Frame.Visible = true
end

TextBox.MouseButton1Down:Connect(onPressed)

You should at least try and make a script, use something like the developer hub for information about coding.

Ad