I updated my script that I made but it still doesn't work. It is very very frustrating. All I want to do is make a txt label show the score of a team's kills. For example, If a player from one team killed another player from a different team, they would have 1 point added to the textlabel. Someone please help me make this work. I also am trying to make the points start at 0. For this it starts at 1 for some reason.
Script:
--Local Script
function FR()
workspace.Player.Humanoid.Died:connect()
if game.Players.LocalPlayer.TeamColor == BrickColor.new("Camo") then
game.Teams.Sentinel.Score = game.Teams.Sentinel.Score +1
script.Parent.Text = game.Teams.Sentinel.Score
end --close the if statement with an end.
end
FR()

1 comment
xD advanced warfare for roblox