I don't know scripting much at all, and the idea I'm working on basically revolves around this script so it has to be solid lol
This is what I have right now
local part = script.Parent
part.Touched:connect(function(hit)
local plr = game.Players:GetPlayerFromCharacter(hit.parent)
if plr then
print(plr.Name)
script.Parent.BrickColor = BrickColor.new(plr.TeamColor.Color)
end
end)
What I need help with, is making the script add points per second to the team that owns the part overall score.
Any help?

1 comment
Do you have leaderstats?