ive made a roleplay name script for a challenge that me and my friend are doing, but i need a way to filter the names if they contain words that roblox doesnt want, but i dont really know how to do this. thanks
script:
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(player, head)
local label = game.ReplicatedStorage.HeadName:Clone()
local character = player.Character
label.Parent = head
while task.wait(0.01) do
local idealheadpos = head.Position + Vector3.new(0,2,0)
label.Position = idealheadpos
end
end)