Can this get me banned?

If anyone is asking, the plate is made of 6 TextLabels, each one got a Script inside it.

1 Like

Use

if string.match(INAPPROPRIATE TEXT) then
    Text = -- your code goes here
end

i think it should work like this.

3 Likes

Where should it go to?:
Snímka obrazovky 2023-08-27 164603

1 Like

I would say in the frame or the GUI itself. It does not matter too much really.

2 Likes

Oh, i thout you were using 1 Text Label but, i have a solution!
You can do a check if Let1, Let2, and Let3 is matching into inappropriate text then you can refresh scripts(turn off and turn on)

2 Likes

@SSJ_Lemonade , @Mihaqwest5
I did it like this:

script.Parent.Let1.Changed:Connect(function()
	if script.Parent.Let1.Text == "S" and script.Parent.Let2.Text == "E" and script.Parent.Let3.Text == "X" then
		script.Parent.Let1.Text = "D"
		script.Parent.Let2.Text = "A"
		script.Parent.Let3.Text = "F"
		elseif script.Parent.Let1.Text == "F" and script.Parent.Let2.Text == "A" and script.Parent.Let3.Text == "K" then
			script.Parent.Let1.Text = "D"
			script.Parent.Let2.Text = "A"
		script.Parent.Let3.Text = "F"
	elseif script.Parent.Let1.Text == "F" and script.Parent.Let2.Text == "U" and script.Parent.Let3.Text == "K" then
		script.Parent.Let1.Text = "D"
		script.Parent.Let2.Text = "A"
		script.Parent.Let3.Text = "F"
	elseif script.Parent.Let1.Text == "F" and script.Parent.Let2.Text == "U" and script.Parent.Let3.Text == "C" then
		script.Parent.Let1.Text = "D"
		script.Parent.Let2.Text = "A"
		script.Parent.Let3.Text = "F"
		--Numbers
	elseif script.Parent.Num1.Text == "4" and script.Parent.Num2.Text == "2" and script.Parent.Num3.Text == "0" then
		script.Parent.Num1.Text = "5"
		script.Parent.Num2.Text = "1"
		script.Parent.Num3.Text = "0"
	elseif script.Parent.Num1.Text == "0" and script.Parent.Num2.Text == "6" and script.Parent.Num3.Text == "9" then
		script.Parent.Num1.Text = "5"
		script.Parent.Num2.Text = "1"
		script.Parent.Num3.Text = "0"

	end
end)

Tell me, If I missed something…

HttpService:GenerateGUID will never return something like that.

1 Like

why does the license plate for the vehicle was turned backwards?

1 Like

What do you mean by backwards?

2 Likes

Are you sure it connects the function? try to use print() to know

2 Likes

hmm, can you try don’t make a custom changed numbers/letter but just make other script that detects inappropriate text/number then reloads the script which generates number?

2 Likes

get all the text (non numbers) from the plate and use robloxs filter system to check if its fine

1 Like

Anyway, if it works for you then just let it be.

1 Like

studio: FAK
test: DAF

i hate the character limit -_-

there is an example of filter system.

1 Like

Search DAF in google
Its a truck company

1 Like

The system is so strict, you cannot make a plate…

1 Like

ohhh

-_- character limit again?

local Filter = {
    "Inappropriate",
    "Inappropriate2"
}

local function RandomString()
    local Return = ""
    
    for Index = 1, 3 do
        Return = Return .. string.char(65, 98)
    end

    return Return
end

local TextLabel = ...

TextLabel:GetPropertyChangedSignal("Text"):Connect(function()
    local Text = TextLabel.Text
    
    for _, String in pairs(Filter) do
        if string.match(string.lower(Text), String) then
            TextLabel.Text = RandomString()
        end
    end
end)
2 Likes

then i suggest doing what empereans said and make ur own filter system as there arent many bad things within the range of 6 letters