Hey! I’m currently creating a system where the text you type in a textbox in a GUI becomes the text of a certain text label.
It does work, however there are no remote events or any other scripts involved other than this one. I want to use filtering service to filter the text in the textlabel because I know that could get me banned.
Here’s my script:
local textBox = script.Parent
local function updateText()
-- Check if TextName and TextLabel exist
local textName = game.Workspace:WaitForChild("Booth1"):WaitForChild("NameSign"):FindFirstChild("TextName")
if textName and textName:FindFirstChild("SurfaceGui") and textName.SurfaceGui:FindFirstChild("TextLabel") then
local textLabel = textName.SurfaceGui.TextLabel
textLabel.Text = textBox.Text
end
end
textBox.Changed:Connect(updateText)