bad argument #3 to 'Text' (string expected, got Object) ? issue is in server script
Local Script :
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.msg:FireServer(script.Parent.Parent.TextBox.Text)
end)
script.Parent.Parent.TextBox.FocusLost:Connect(function(enterPressed)
game.ReplicatedStorage.msg:FireServer(script.Parent.Parent.TextBox.Text)
end)
Server Script :
wait(3)
game.Lighting.Msg:Clone().Parent =script.Parent.Head
function fs1(text)
script.Parent.Head.Msg.Image.Texter.Text = text
end
game.ReplicatedStorage.msg.OnServerEvent:Connect(fs1)

1 comment
You need to filter text created by a user before showing it to other players in the game!!!