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

How to make so that only one team gets Money when killing other players?

how do i make a script so that only one team gets Money when killing other players?

i mean so that if other players gets cash on kill this wont work bc its only one team that should get the cash on kill

please help me!

1 answer

✓ Accepted answer

Assuming you already have the code that awards the money when a Player has vanquished another, you can add a check.

local Teams = game:GetService("Teams")
if player.Team == Teams.YourTeamHere then
	--award the player
end

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