Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

[READ] Help With TextButon ?

local button = Instance.new("TextButton") script.Parent.TextWrapped = true script.Parent.TextScaled = true script.Parent.FontSize = 50 script.Parent.BackRoundTransparency = 1 script.Parent.Position(0 , 64 , 0 , 64) script.Parent.Style = ("Custom") script.Parent.Text = ("Welcome to Soul - Eater Online")

None of these things are working , and I don't know why . But I Believe I didn't name the parent of Text Button correct could someone help me or give me advice , Please and thank you .

2 comments

0

you never gave your textbutton a parent

0

How do I do that?

1 answer

✓ Accepted answer

You never gave it a parent.

You can do it like this.

local button = Instance.new("TextButton")
button.Parent = Whatever -- Parent

or you can simply put in where you made a new instance like so:

local button = Instance.new("TextButton", Whatever) --Parent

This discussion is preserved as it was. New answers, comments, and votes are closed.