I've been coding a message gui for a little while, and i've gotten an issue at this point. it's claiming that TEXT isn't a valid member of a TextBox. Remote code:
CreateMessage = function(text, color, font, size)
game.StarterGui:SetCore("ChatMakeSystemMessage", {
Text = text;
Color = color;
Font = font;
FontSize = size;
})
end
script.Parent.RemoteEvent.OnServerEvent:Connect(function(route1)
CreateMessage("["..script.Parent.Name.Text.."]:"..tostring(script.Parent:FindFirstChild("TextBox").Text),Color3.fromRGB(255,255,255),"Arcade",25)
end)
Button code:
script.Parent.TextBox.FocusLost:Connect(function(enter)
if enter then
script.Parent.RemoteEvent:FireServer()
end
end)

1 comment
What is your error exactly?