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

How would I add filtering to this RP name script so it filters your name if its bad?

script.Parent.FocusLost:connect(function(enter)
	if enter then
		v = game.Players.LocalPlayer
		for a, mod in pairs(v.Character:children()) do
			if mod:findFirstChild("NameTag") then
				v.Character.Head.Transparency = 0 mod:Destroy()
			end
		end

		local char = v.Character
		local mod = Instance.new("Model", char)
		mod.Name = script.Parent.Text
		local cl = char.Head:Clone()
		cl.Parent = mod

		local hum = Instance.new("Humanoid", mod)
		hum.Name = "NameTag"
		hum.MaxHealth = 0
		hum.Health = 0

		local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
		char.Head.Transparency = 1
	end
end)


ROBLOX took down my game because this wasn't filtered. How would I add filtering to it??

1 comment

0

Ah, all the deprecated stuff you can ever find.

1 answer

u want a nametag script?

3 comments

0

btw u need to add thing in lighting

0

Yes please! as long as it filters the name!

0

Is there a sorta way to put notes on questions like "If you are not posting an explanation, please use a comment."

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