Help for my game

i need a way to get the team score and put it on a text lablel

Screenshot_9
Screenshot_2
Screenshot_1
Screenshot_18

so if someone could help me and give me the script i would really appreciate it

How are you storing the score?

make a values and then fire all clients to set this score

what do you mean? Like in a string value or number value?
or sometihng else

You would put the score in a numbervalue and use something like this

NumberValue.Changed:Connect(function()
 TextLabel.Text = NumberValue.Value
end)

Put this in a LocalScript in the textlabels and put the numbervalues inside somewhere where it replicates to the client (like ReplicatedStorage)

i do know that but i need to know how i can get the score of a team

Teams don’t have a score by default, you need to make it yourself. Store the score as a NumberValue and add to or subtract from it to count towards or against the score.

1 Like