script.Parent.Touched:connect(function()
for _,Player in pairs(game.Players:GetPlayers()) do
if Player:FindFirstChild("leaderstats") then
Player.leaderstats.Wins.Value = Player.leaderstats.Wins.Value +1
end
end
end)
What it will do is when you touch it, it will add 1 to the Player who touches its Wins. But it adds about 3
Also, I want to have it when you touch it to ALSO teleport the player to the lobby... problem being how? I know you have to CFrame their BodyRootPart but how would I find the player who touched it and CFrametheir BodyRootPart?

2 comments
Updated it when I read about it adding more than 1 win. It now has a 10 second delay before it can be used again!
Thanks!