
Finish pad
Models · by Brixborg
A sparkling gold pad: touch it and everyone is told you finished. Has a script inside.
Use it in your games: in the studio, open View > Archive, go to the Models shelf and pick "Finish pad".
The script
-- Touching the finish pad wins the game.
local finish = script.Parent
local winners = {} -- players who have already been congratulated
finish.Touched:connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if not player or winners[player] then return end
winners[player] = true
local sound = Instance.new("Sound", finish)
sound.SoundId = "brixborg:coin"
sound:Play()
local message = Instance.new("Message", workspace)
message.Text = player.Name .. " finished the obby!"
wait(4)
message:Destroy()
end)