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

How do I make a person on one team appear differently/Transparent?

I'm trying to make a game like darkness but I want the characters on Team 1 (Beast) to be black and half transparent how would that look?

1 answer

Add a team. Name it "Beast", and make its TeamColor "Really black".

game.Players.PlayerAdded:connect(function(newPlayer)
newPlayer.CharacterAdded:connect(function(Character)
	wait(1)
	if newPlayer.TeamColor == game.Teams.Beast.TeamColor then
		Character.Head.Transparency = 0.5
		Character.Head.BrickColor = game.Teams.Beast.TeamColor
		Character.Torso.Transparency = 0.5
		Character.Torso.BrickColor = game.Teams.Beast.TeamColor
		Character["Left Arm"].Transparency = 0.5
		Character["Left Arm"].BrickColor = game.Teams.Beast.TeamColor
		Character["Right Arm"].Transparency = 0.5
		Character["Right Arm"].BrickColor = game.Teams.Beast.TeamColor
		Character["Left Leg"].Transparency = 0.5
		Character["Left Leg"].BrickColor = game.Teams.Beast.TeamColor
		Character["Right Leg"].Transparency = 0.5
		Character["Right Leg"].BrickColor = game.Teams.Beast.TeamColor
		Character["Shirt"]:Destroy()
		Character["Pants"]:Destroy()
	end
end)
end)

2 comments

0

alright thank you

0

No problem. :)

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