← Back to Football Scripts

Goal Recording Script

Customize your variables, then fill in the blanks!

Your Custom Settings

Team that scores when ball enters this goal

Script (inside Goal Trigger part)

This script detects when the ball enters the goal, adds a point, and resets the ball position.

script..:Connect(function(hit)
    if hit. == "Ball" then
        game..Reds.Goals. += 1
        wait(2)
        hit. = workspace.CentreCircle.
    end
end)