Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What is causing this text to not filter?

So I've made a 'Roleplay name' overhead GUI that shows information about a player. Players can input anything into this, so I made a script on the server to filter it. But for some reason, it's not working and seems to be showing the unfiltered text either way. I've only tested this in studio (Since I'm working on a friend's place who is offline and can't make it active atm) So not sure if that's why, but this is the code I used:

local success,message = pcall(function()
	local text = game.Chat:FilterStringForBroadcast(baseText, player)
	roleplayBase[player.Name]=text
	changeRoleplayName(player,text)
	end)
	if not success then
		return;

1 comment

0

Theres a lot of programming missing, could I see the whole Script?

1 answer

It doesn't work in Studio, try it out in-game.

1 comment

0

This isn't even an answer...

This discussion is preserved as it was. New answers, comments, and votes are closed.