So, I just found out that Textboxes are Client sided whatever you type in them only you see it, the server don’t, is there any way to make it not client sided?
You would probably have to script something that whenever the textbox gets written it will update for each client, thus typing it out for everyone.
add a bindable event in repstorage
inside the textbox add a localscript
local event = game:GetService("ReplicatedStorage") local textChangedByEvent = false script.Parent:GetPropertyChangedSignal("Text"):Connect(function() if textChangedByEvent then return end event:Fire(script.Parent.Text) end) event.Event:Connect(function(text) textChangedByEvent = true script.Parent.Text = text task.wait() textChangedByEvent = false end)
you should just simply make a remote event that fires to the server the text . like this
local Event = game.ReplicatedStorage.RemoteEvent script.Parent:GetPropertyChangedSignal("Text"):Connect(function() Event:FireServer(script.Parent.Text) end)
local Event = game.ReplicatedStorage.RemoteEvent Event.OnServerEvent:Connect(function(Plr, TEXT) print(TEXT, "Server") end)
this will fire every time a letter has been added
Hope this helps!
Sorry I haven’t replied I fell asleep, but it worked, thank you!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.