Today I will be making an announcement system where users can input text that will be shown to the whole server. This would act like an announcement. Hope you enjoy!
Model: https://www.roblox.com/library/599430...
Scripts:
LocalScript:
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(player, text)
print('y')
script.Parent.Text = text
end)
Script:
script.Parent.MouseButton1Click:Connect(function()
local textbo = script.Parent.Parent.Text
game.ReplicatedStorage.RemoteEvent:FireServer(textbo)
end)