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

How can I make it so that decals are visible to only one team?

1 answer

Using a LocalScript somewhere where LocalScripts run, do something like:

while true do
	if game.players.LocalPlayer.Team == "lobby" then
		--insert code to make the decal's transparency 1
	elseif game.players.LocalPlayer.Team == "ingame" then
		--insert code to make the decal's transparency 0
	wait(0.1)

1 comment

0

add a pcall and if it was succesfull then break from the loop, and restart it when the game starts so that it wont lag the game. or make it in a different thread

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