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

Delete if false?

I'm trying to make so if the person changes the text inside the script the board will disable its self (to prevent copier's)

if 
	local msg = "Made by NotSoNorm"
	then script.Parent.Parent.Enabled = true
elseif
	local msg = "???" --Help??
	then script.Parent.Parent:Remove()
end

I need it so if it is anything but "Made by NotSoNorm" it will remove the board. Help?

2 comments

0

This doesn't really prevent copiers. Someone can easily go into the script and remove that. Just saying to let you know, it's not a bad idea to do this though.

0

its going to be hidden :)

1 answer

+1 me. -_-

if 
    local msg = "Made by NotSoNorm"
    then script.Parent.Parent.Enabled = true
elseif
    local msg ~= "Made by NotSoNorm" 
    then script.Parent.Parent:Remove()
end

1 comment

0

-_-

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