I've made this script but can't find where the problem is. This script will basically add points to the player's NumberValue in a ScreenGui once the Brick with script in it has been touched. And will the "local points" add points to just the player who touched it?
part = script.Parent
part.OnTouched:connect(function(Touched)
local points = script.Parent.Parent.Parent.StarterGui.Points.PointLabel.PointValue
points.Value = points.Value + 10
end)
(Don't know if the script showed up correctly)
