I'm experimenting with FilteringEnabled and I have a textbox in which the user can write something, press a button and it prints the message in output:
local button = script.Parent
local gui = button.Parent.Parent
local player = gui.Parent.Parent
local text = gui.Main.EnterText
local DataStoreService = game:GetService("DataStoreService")
local message = DataStoreService:GetDataStore("id")
button.MouseButton1Down:Connect(function()
wait()
print(player.Name)
userPost:SetAsync(player.UserId , text.Text..)
print(userPost:GetAsync(player.UserId))
end)
Without FilteringEnabled, this posts the user's name and then what the wrote. But with FE on, it doesn't work? How do I fix this? |