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 a different teams spawn with different guns?

How do you make it so certain teams automatically spawn with certain guns.

For example: Everyone gets things Cop gets pistol and the things Robber gets knife and the things visitor gets DS and the things

1 answer

✓ Accepted answer
game.Players.PlayerAdded:connect(function(player)
	player.CharacterAdded:connect(function(character)
		--All you have to do is copy from here,
		if player.TeamColor == BrickColor.new("New Yeller") then --Change New Yeller to the cop team color.
			repeat wait() until player:FindFirstChild("Backpack")
			game.ServerStorage["GUNNAMEHERE"]:Clone().Parent = player.Backpack --Change the gun name of course.
		end
		--To here if you want to make multiple teams have different weapons.
	end)
end)

1 comment

0

Thanks =D

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