can anyone tell me what to put if someone touched that part in else if. Also staus is intentional
if #remainingBlue == 0 then
staus.Value = "Red team has won!"
break
elseif (i want like if someone touched this part) then
staus.Value = "Blue Has Won"
break --so it removes the round and doesnt overlap
end
end
wait(6)
end
end
game.Workspace.Win.Touched:Connect(function(hit) --so it puts them back to lobby
if hit.Parent:FindFirstChild(“HumanoidRootPart”) then
hit.Parent.HumanoidRootPart.CFrame = location.CFrame + Vector3.new(0,0,0)
end
end)
spawn(round)