So I Have Sent A Event Through The Client To The Server To Filter A Text But When Is Sent Through Text It Prints "Instance"? And I Have No Clue Why
This Is My Server Script
game.ReplicatedStorage.Law.Law1.OnServerEvent:Connect(function(Plr,Law)
local filteredTextResult
local success, errorMessage = pcall(function()
filteredTextResult = game.TextService:FilterStringAsync(Law, Plr.UserId)
end)
print(filteredTextResult)
end)
Client Script
script.Parent.Law1.InputEnded:Connect(function()
game.ReplicatedStorage.Law.Law1:FireServer(script.Parent.Law1.Text)
end)
